/* 整个滚动条 */
::-webkit-scrollbar {
  width: 4px;          /* 垂直滚动条宽度 */
  height: 4px;         /* 水平滚动条高度 */
}

/* 滚动条轨道（背景） */
::-webkit-scrollbar-track {
  background: #f1f1f1; /* 轨道颜色 */
  border-radius: 2px;  /* 圆角 */
}

/* 滚动条滑块（可拖动部分） */
::-webkit-scrollbar-thumb {
  background: #888;    /* 滑块颜色 */
  border-radius: 2px;  /* 圆角 */
}

/* 鼠标悬停时滑块样式 */
::-webkit-scrollbar-thumb:hover {
  background: #555;    /* 悬停颜色 */
}

  html, body {
    overflow-x: hidden; /* 禁用横向滚动 */
    margin: 0;  /* 关键：清除默认 margin */
    padding: 0; /* 可选：清除默认 padding */
  }

.TopBanner {
    position:fixed;
    width:100%;
    background:#f5f5f5;
    height:150px;
    top:0px;
    left: 0; /* 显式贴紧左侧 */
    margin: 0; /* 清除 margin */
    padding: 0; /* 清除 padding */
    z-index:200;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.TopBannerCenter {
    position:absolute;
    width:1000px;
    top:0px;
    left:50%;
    transform: translateX(-50%);
    height:100%;
    background: url("/img/banner_guyana.png") center no-repeat;
    background-size: 100% 100%;
    overflow: hidden;
}

.TopBannerLogo {
    position:absolute;
    width:100px;
    height:100px;
    top:20px;
    left:20px;
    background:transparent;
}

.TopBannerMenuBar {
    position:absolute;
    width:80%;
    height:30px;
    left:10%;
    bottom:0px;
    background:transparent;
    display: flex;
    justify-content: space-between; /* 关键属性：两端对齐 */
}

.TopBannerMenuBarItem {
    width: 150px;
    height: 25px;
    background: #E5E5E5;
    text-align: center;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    vertical-align: middle;
    cursor: pointer;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    transform: translateY(5px);
    overflow: hidden;
}

.MenuActive {
    font-weight: bold;
    background: white;
    height: 30px;
    transform: translateY(0px);
    padding-top: 3px;
    box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.3);
}

.MenuInactive {
    font-weight: normal;
    background: #E5E5E5;
}

.TopBannerActTabIndSpan{
    position: absolute;
    top: 0px;
    height: 3px;
    width: 100%;
    background: #049889;
    display: block;
}

.TopBannerAccountArea {
    position:absolute;
    width:300px;
    height:50px;
    right:10px;
    top:20px;
    display:flex;
    flex-wrap: wrap;
    gap:20px; 
    align-items: flex-start;
    justify-content: flex-end;
}

.ProductListWindow {
    position:absolute;
    width:850px;
    top:0px;
    right: 0px;
    padding-top:10px;
    padding-left:20px;
    bottom:0px;
    background:white;
    overflow: auto;
    z-index: 150;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start; /* 关键修改：取消行间均匀分布，紧凑排列 */
    gap: 10px;
  }

  .ProductShowDiv {
    width: 200px;       /* 子 div 最小宽度 */
    height:280px;
    padding: 0px; 
    margin-bottom: 10px;
    transition: transform 0.2s ease;
    text-align: center;
    overflow: hidden;
    border-radius: 5px;
    cursor: pointer;
    border: 1px solid #f5f5f5;
  }
  .ProductShowDiv:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.2);
  }

  .ProductShowImageDiv {
    top:0px;
    width:200px;
    height:200px;
    border-radius:5px;
    background-size: 100% 100%;  /* 高度撑满，宽度自适应 */
    background-position: center; /* 横向居中 */
    background-repeat: no-repeat;
    overflow: hidden;
    margin-bottom: 5px;
  }


  .CategoryBar {
    position:fixed;
    height:400px;
    width:200px;
    top:160px;
    left:calc(50% - 500px);
    background:#fafafa;
  }

  .MainContent{
    position:absolute;
    height:calc(100% - 150px);
    overflow:visible;
    background: white;
    left:calc(50% - 500px);
    bottom:0px;
    width:1000px;
  }

  .ProductListContainer{
    position:absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: auto;
  }

  .ProductListContainer::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    display: none !important;
  }
  
  /* 悬停时显示滚动条 */
  .ProductListContainer:hover::-webkit-scrollbar {
    display: flex !important;
    width: 4px !important;
    height: 4px !important;
  }
  
  .ProductListContainer:hover::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 2px;
  }

  .ProductBriefSpan {
    display: inline-block; /* 关键属性 */
    width: calc(100% - 10px);
    height: 46px;
    overflow: hidden;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 5px;
  }

  .ProductBriefSpanByline{
    display: inline-block; /* 关键属性 */
    width: calc(100% - 10px);
    height: 20px;
    overflow: hidden;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
    vertical-align: middle;
    padding-left: 5px;
    padding-right: 5px;
  }

  .image-slider-container {
    position: absolute;
    width: 100%;
    margin: 0 auto;
    overflow: hidden; /* 隐藏溢出的图片 */
    height:100px;
    bottom:0px;
  }
  
  .image-wrapper {
    display: flex;       /* 横向排列 */
    gap: 5px;           /* 图片间距 */
    transition: transform 0.3s ease; /* 滑动动画 */
    padding: 5px 5px;     /* 避免箭头遮挡图片 */
    overflow-x: hidden;
    white-space: norwap;
  }
  
  .image-wrapper img {
    width: 85px;        /* 固定图片宽度 */
    height: 85px;        /* 固定图片高度 */
    object-fit: cover;   /* 保持比例填充 */
    cursor: pointer;
    border:1px solid #f0f0f0;
    border-radius: 5px;
  }

  .focused_image {
    border:1px solid #0F9ED5;
    box-shadow: 0 0 5px 2px rgba(15, 158, 213, 0.9);
  }
  
  /* 半透明箭头 */
  .arrow {
    position: absolute;
    top: 29px;
    width: 30px;
    height: 40px;
    background: rgba(0, 0, 0, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;          /* 初始隐藏 */
    transition: opacity 0.3s;
  }
  
  .left-arrow { left: 0; border-top-right-radius: 20px;border-bottom-right-radius: 20px;}
  .right-arrow { right: 0; border-top-left-radius: 20px;border-bottom-left-radius: 20px;}
  
  /* 鼠标悬停时显示箭头 */
  .image-slider-container:hover .arrow {
    opacity: 1;
  }


  .ProductImageShowContainer{
    position:absolute;
    width:100%;
    aspect-ratio: 1 / 1;
  }

  .ProductImageContainer{
    position:absolute;
    width:400px;
    height: 500px; 
    top:10px;
  }

  .ShowImage{
    width:100%;
    height: 100%;
    cursor: pointer;
  }

  .ProductBriefContainer{
     position:absolute;
     width:580px;
     top: 10px;
     right:0px;
     height:500px;
     background: white;
  }

  .ProductDetailContainer{
    position:absolute;
    top: 520px;
    left:0px;
    right:0px;
  }

  .p_model_span {
    border:1px solid #EEEEEE;
    border-radius: 5px;
    background: #F7F8FC;
    font-family: Arial;
    font-size: 18px;
    height: 22px;
    padding-left: 10px;
    padding-right: 10px;
    white-space: nowrap; /* 禁止<span>内文字换行 */
    display: inline-block; /* 或使用 inline-flex */
  }

  .p_model_span:hover{
    border: 1px solid #0F9ED5;
    background: #C1E5F5;
  }

  .active_span {
    border: 1px solid #0F9ED5;
    background: #C1E5F5;
}

  .ProductBriefName {
    position:absolute;
    top:5px;
    width:100%;
    height:50px;
    display:block;
    font-family: 'Arial Rounded MT Bold', Arial;
    font-size: 28px;
  }

  .ProductBriefNameFull {
    position:absolute;
    top:60px;
    width:100%;
    height:50px;
    display:block;
    font-family: 'Arial Rounded MT Bold', Arial;;
    font-size:22px;
    overflow:hidden;
  }

  .CertContainer{
    position:absolute;
    display:flex;
    align-items:center;
    gap:15px;
    top:300px;
    width:100%;
    height:40px;
  }

  #model_list_div{
    position:absolute;
    top:120px;
    left:70px;
    right:0px;
    max-height:170px;
    display:flex;
    flex-wrap: wrap;
    gap:4px; 
    align-items: flex-start;
    overflow-y: auto;
  }

  #model_cap{
    position:absolute;
    top:120px;
    width:70px;
    max-height:170px;
    vertical-align: top;
  }

  #sku{ 
    position:absolute;
    top:350px; 
    height:30px;
    left:0px;
    width:50%;
  }

  #moq{
    position:absolute;
    top:350px;
    height:30px;
    left:50%;
    right:0px;
  }

  #selected_model_div {
    position:absolute;
    top:400px;
    height:30px;
    left:0px;
    right:100px;
  }

  #quantity_div{
    position:absolute;
    top:440px;
    height:40px;
    left:0px;
    width: 200px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .Normal_Btn{
    position:relative;
    min-width: 150px;
    height:38px;
    line-height: 38px;
    background: #C1E5F5;
    border: 2px solid #0F9ED5;
    cursor:pointer;
    border-radius: 5px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    vertical-align: middle;
    display: inline-block;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    /*display: flex;
    align-items: center;
    justify-content: center;*/
  }

  .Normal_Btn:hover{
    background:#9bd4ec;
  }


  .Qty_Changer {
    display: inline-block;
    width: 38px;
    height: 38px;
    text-align: center;
    vertical-align: middle;
    font-family: 'Cascadia Code';
    font-size:34px;
    background: #F7F8FC;
    border:1px solid #a0a0a0;
    border-radius: 5px;
    color: black;
    cursor: pointer;
    user-select: none;
  }

  .Disabled {
    color: #a0a0a0;
    cursor: not-allowed;
  }

  .Qty_Number{
    display: inline-block;
    font-size: 22px;
    text-align: center;
    width: 100px;
    height: 40px;
    border:none;
    outline: none;
  }

  #LoginUser{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    max-width: 150px;
    height: 20px;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    background: #C1E5F5;
    border: 1px solid #0F9ED5;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
  }

  #Logoff{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    color: rgb(148, 6, 6);
    width: 60px;
    height: 20px;
    overflow: hidden;
    padding-top: 5px;
    background: #FFCCCC;
    border: 1px solid #FF7C80;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;

  }

  #Login{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    width: 100px;
    height: 20px;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    background: #C1E5F5;
    border: 1px solid #0F9ED5;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
  }

  #Register{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    width: 100px;
    height: 20px;
    overflow: hidden;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 5px;
    background: #C1E5F5;
    border: 1px solid #0F9ED5;
    border-radius: 5px;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
  }

  .kmc_select{
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 5px;
    outline:none;
    font-size: 16px;
  }

  #RegisteNewAccount{
    text-align:
    left;width: 80%;
  }

  #RegisteNewAccount td{
    padding-top:20px;
    vertical-align:top;
  }

  .Normal_Input {
    font-size: 18px;
    border:none;
    border-bottom:1px solid #e0e0e0;
    width:100%;
    outline:none;
  }

  .Mandatory {
    border-bottom:2px solid #505050;
  }

  .MessageContainerDiv{
    position: fixed; /* 关键！确保覆盖整个视口 */
    top: 0;
    left: 0;
    display: flex;
    height: 100vh;
    width: 100vw;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.2);
  }
  .SystemMessageWindowDiv{
    background: white;
    width: 600px;
    height: 300px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateY(-20px);
    display: flex;          /* 启用 flex 布局 */
    flex-direction: column; /* 垂直排列 */
  }

  .SystemMessageTableContainer {
    height:100%;
    flex: 1;               /* 占据剩余空间 */
    min-height: 0;         /* 防止内容溢出 */
    font-size: 20px;
  }

  .SystemMessageBodyTd{
    padding:30px;
    text-align:left;
    max-height:400px;
    vertical-align:top;
    font-family:Arial, Helvetica, sans-serif;
    font-size:18px;
  }

  .SystemMessageBodyIconTd{
    padding:10px;
    text-align:center;
    vertical-align:top;
    width:100px;
  }

  .SidebarTab{
    position: relative; /* 或 static（默认） */
    right:0px;
    border-radius: 5px 0px 0px 5px;
    width:115px;
    height:40px;
    line-height: 35px;
    vertical-align:middle;
    padding-left:20px;
    cursor:pointer;
    background: #F0F0F0;
    display: flex;
    align-items: center;
    overflow: hidden;
  }

  .SidebarActive {
    width:120px;
    background:#FFFFFF;
    box-shadow: -5px 0px 6px 1px rgba(0, 0, 0, 0.3);
    z-index:100;
    font-weight: bold;
  }
  .SidebarTab:hover{
    background: #E8E8E8;
  }
  .SidebarActive:hover{
    background: #F8f8f8;
  }

  .SideBar{
    position:absolute;
    width:150px;
    top:0px;
    bottom:0px;
    padding-top:10px;
    background:#FAFAFA;
    display:flex;
    flex-direction: column;
    gap:2px;
    align-items: flex-end;
  }

  .SidebarTabInd {
    position:absolute;
    height:3px;
    bottom:0px;
    left:0px;
    right:0px;
    border:none;
    background:#049889;
  }

  .ProfileUIDiv {
    position: absolute; 
    top: 24px; 
    left: 50px; 
    width: 90%; 
    display: flex; 
    justify-content: center;
    border:1px solid #f0f0f0;
    border-radius: 10px; 
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  }

  .favorite_div{
    position: absolute;
    top:440px;
    right:20px;
    width:40px;
    height:40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .CartContainer {
    position:absolute;
    width:CALC(100% - 20px);
    top:0px;
    right: 0px;
    padding-top:10px;
    padding-left:10px;
    padding-right: 10px;
    bottom:0px;
    background:white;
    overflow: auto;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start; /* 关键修改：取消行间均匀分布，紧凑排列 */
  }

  .CartProductDiv{
    width: 100%;       /* 子 div 最小宽度 */
    height:150px;
    margin-bottom: 5px;
    transition: transform 0.2s ease;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #f5f5f5;
  }
  .CartProductDiv:hover {
    background: #fafafa;
    transform: translateY(-2px);
    box-shadow: 3px 3px 5px 1px rgba(0,0,0,0.2);
  }

  .CartProductImage{
    top:0px;
    width:150px;
    height:150px;
    border-radius:5px;
    background-size: 100% 100%;  /* 高度撑满，宽度自适应 */
    background-position: center; /* 横向居中 */
    background-repeat: no-repeat;
    overflow: hidden;
  }

  .CartProductName{
    position:relative;
    top:-150px;
    left:160px;
    width: 400px;
    height: 40px;
    font-size: 26px;
    overflow: hidden;
  }

  .CartProductDescription{
    position:relative;
    top:-150px;
    left:160px;
    width: 400px;
    height: 70px;
    font-size: 18px;
    overflow: hidden;
  }
  

  .CartProductCert{
    position:relative;
    top: -150px;
    left: 160px;
    width: 200px;
    height: 30px;
    overflow: hidden;
    display: flex;
    flex-wrap: nowrap;
    align-content: flex-start;
    gap: 10px;
    padding-top: 5px;
  }

  .CartProductCert img{
    height: 20px;
  }

  .CartProductStatus{
    position:relative;
    top: -185px;
    left: 400px;
    width: 100px;
    height: 30px;
    overflow: hidden;
    padding-top: 5px;
  }

  .CartProductCode{
    position:relative;
    top: -290px;
    left: 560px;
    width: 200px;
    height: 25px;
    overflow: hidden;
    font-size:16px;
  }

  .CartProductSKUMOQ{
    position:relative;
    top: -290px;
    left: 560px;
    width: 200px;
    padding-top:5px;
    height: 25px;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    font-size:16px;
    vertical-align: top;
  }

  .CartProductDatetime{
    position:relative;
    top: -290px;
    left: 560px;
    width: 200px;
    height: 25px;
    overflow: hidden;
    font-family: Arial, Helvetica, sans-serif;
    font-size:16px;
    vertical-align: top;
  }

  .CartProductModel{
    position:relative;
    top: -290px;
    left: 560px;
    max-width: 200px;
    height: 30px;
    overflow: hidden;
    vertical-align: top;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
  }
  .CartProductQty{
    position:relative;
    top: -430px;
    left: 760px;
    width: 220px;
    height: 50px;
    overflow: hidden;
    vertical-align: top;
    font-size: 30px;
  }

  /*
  .CartProduct_Btn{
    position:relative;
    top: -400px;
    left: 770px;
    background: #C1E5F5;
    border: 2px solid #0F9ED5;
    cursor:pointer;
    border-radius: 5px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 5px;
    display: inline-block;
    margin-right: 10px;
  }
  .CartProduct_Btn:hover{
    background:#9bd4ec;
  }*/
  .CartProduct_Btn {
    position:relative;
    top: -380px;
    left: 850px;
    cursor:pointer;
    padding: 0px;
    display: inline-block;
    margin-right: 10px;
    border:0px;
  }

  .OrderProductStatus{
    position:relative;
    top: -480px;
    left: 560px;
    width: 220px;
    height: 50px;
    overflow: hidden;
    vertical-align: top;
  }

  .OrderProductQty{
    position:relative;
    top: -430px;
    left: 760px;
    width: 220px;
    height: 50px;
    overflow: hidden;
    vertical-align: top;
    font-size: 18px;
  }

  .OrderProductPrice{
    position:relative;
    top: -495px;
    left: 760px;
    width: 220px;
    height: 50px;
    overflow: hidden;
    vertical-align: top;
  }


  .OrderProduct_Btn{
    position:relative;
    top: -490px;
    left: 760px;
    background: #C1E5F5;
    border: 2px solid #0F9ED5;
    cursor:pointer;
    border-radius: 5px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: inline-block;
  }

  #ImageShowContainer{
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: rgba(0, 0, 0, 0.5);
    z-index: 300;
    display: none; 
    justify-content: center; 
    align-items: center;
  }