@font-face {
    font-family: InterRegular;
    src: url(/build/fonts/Inter_18pt-Regular.37dcabff.ttf);
}

@font-face {
    font-family: InterMeduim;
    src: url(/build/fonts/Inter_18pt-Medium.8540f35b.ttf);
}

@font-face {
    font-family: InterBold;
    src: url(/build/fonts/Inter_18pt-Bold.7ef6f6d6.ttf);
}

@font-face {
    font-family: InterSemiBold;
    src: url(/build/fonts/Inter_18pt-SemiBold.e5532d99.ttf);
}

@font-face {
    font-family: InterLight;
    src: url(/build/fonts/Inter_18pt-Light.dfaec8b8.ttf);
}

@font-face {
    font-family: RubikBold;
    src: url(/build/fonts/Rubik-Bold.627d0e53.ttf);
}

@font-face {
    font-family: RubikMediun;
    src: url(/build/fonts/Rubik-Medium.e785acbf.ttf);
}

@font-face {
    font-family: RubikSemiBold;
    src: url(/build/fonts/Rubik-SemiBold.742cf1e6.ttf);
}

@font-face {
    font-family: RubikLight;
    src: url(/build/fonts/Rubik-Light.86699cab.ttf);
}

@font-face {
    font-family: RubikRegular;
    src: url(/build/fonts/Rubik-Regular.46df2880.ttf);
}

body{
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #F1F1F1;
    overflow-x: hidden;
    margin:0px;
    padding: 0px;
    cursor: default;

}

.mainArea{
    width: 88vw;
    display: flex;
    flex-direction: row;
    height: auto;
    margin-top: 50px;
    
    @media (max-width: 1190px) {

    }
  
    @media (max-width: 750px) {
      width: 90vw;
      flex-direction: column;
      
    }
}

.GMSection{
  display: flex;
  flex-direction: row;
    @media (max-width: 1190px) {
      flex-direction: column-reverse;
      width: 400px;
      height: min-content;
      margin-right: 1vw;
    }
  
    @media (max-width: 750px) {
      width: 90vw;
    }
}

.mainArea::before{
    content: "";
    position: absolute;
    top: 46%;
    right: -12%;
    transform: translateY(-50%);
    width: 700px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(
      circle at center,
      rgba(7, 48, 167, 0.7) 0%,
      rgba(58, 123, 213, 0) 80%
    );
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    @media (max-width: 1190px) {
      width: 400px;
      height: 360px;
      right: 0;
    }
  
    @media (max-width: 750px) {

    }
    
}

.Gallery{
    width: 128px;
    height: 800px;
    display: flex;
    flex-direction: column;
    align-items:center;

    @media (max-width: 750px) {
      height: 90vw !important;
      
    }
}

.GlleryGoUp,
.GlleryGoDown{
    width: 100%;
    height: 40px; 
    display: flex;
    justify-content: center;
    align-items: start;
}

#GlleryGoUpIcon{
    transform: rotate(90deg);
    width: 16px;
    @media (max-width: 1190px) {
      width: 10px;
    }
}
#GlleryGoDownIcon{
    transform: rotate(270deg);
    width: 16px;
    @media (max-width: 1190px) {
      width: 10px;
    }
}

.GallyerInner{
    overflow: hidden;
    height: 740px;
}

.GalleryMain {
    transition: transform 300ms ; 
    display:flex;
    flex-direction: column;
    align-items: center;
}

/* 父级包裹容器，负责抖动动画 */
.GalleryMainWrapper {
    overflow: hidden;
    height: 700px;
    position: relative;
}
  
/* 抖动动画的关键帧示例（水平轻微抖动） */
/* @keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%, 80% { transform: translateX(-5px); }
  40%, 60% { transform: translateX(5px); }
}
 */
@keyframes shake {
  0% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  50% { transform: translateY(6px); }
  70% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
  
/* 给父容器加 .shake 类时触发动画 */
.GalleryMainWrapper.shake {
  animation: shake 0.3s ease;
}

.product_Images {
  display: inline-block;
  margin: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border 0.3s;
}

.product_Images.selected {
  outline: 2px solid black;
}

.MainImage img,
.MainImage .main-image-img {
  width: 100%;
  height: auto;
  display: block;
  
}

.product_Images{
    width: 126px;
    height: 126px;
    margin-bottom: 10px;
}
.PImages{
    width: 126px;
}
.productVideos{
    width: 126px;
    height: 126px;
}

/* 产品的主视大图 */
.MainImage{
    max-width: 700px;
    min-width: 34vw;
    margin-left: 1.8vw;
    margin-top: 40px;

    @media (max-width: 1190px) {
      margin-left: 0vw;
      margin-top: 10px;
    }
  
    @media (max-width: 750px) {
        margin-left: 3vw;
        margin-right: 3vw;
        margin-top: 0px;
    }
}

  *{
      border: none !important;
  }

.Details{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 1.3vw;
    margin-top: 40px;
    box-sizing: border-box;
    min-width: none;
    @media (max-width: 1190px) {

    }
  
    @media (max-width: 750px) {
      margin-top: 40px;
    }
}

.tagArea{
    width: 100%;
    height: 30px;
    margin-top: 60px;
    
    @media (max-width: 1190px) {

  }

  @media (max-width: 750px) {

  }
}

.ProductTitle{
    width: 100%;
    height: auto;
    font-family: InterBold;
    font-size: 54px;
    line-height: 100%;
    @media (max-width: 1190px) {
      font-size: 38px;
      height: auto;
    }
  
    @media (max-width: 750px) {
      font-size: 28px;
      margin-top: 0px;
    }
}

.ProductCategory{
    width: 100%;
    height: 30px;
    font-family: InterBold;
    font-size: 20px;
    color: #484848;
    @media (max-width: 1190px) {
      font-size: 18px;
      height: auto;
    }
  
    @media (max-width: 750px) {
      font-size: 18px;
    }
}

.ProductPrice{
    width: 100%;
    height: 20px;
    font-family: InterBold;
    font-size: 20px;
    margin-top: 30px;
    @media (max-width: 1190px) {

    }
  
    @media (max-width: 750px) {
      margin-top: 18px;
    }
}

.ProductShippingRemind{
    width: 100%;
    height: 20px;
    font-family: InterRegular;
    font-size: 14px;
    margin-top: 5px;
}

/* MP selection css */
.MP {
    margin-top: 40px;
    width: 100%;
    font-family: InterRegular;
}

.Model {
    width: 100%;
    height: 18px;
    font-size: 16px;
    font-weight: bold;
}

.ModelOptions,
.BaseStyleOptions,
.DesignOptions {
    width: 100%;
    font-size: 16px;
    margin-top: 14px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
}

.ModelOptionItem {
    border: 1px solid black !important;
    background-color: #ffffff00;
    color: rgb(0, 0, 0);
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
    height: 36px;
}

.ModelOptionItem.active {
    background-color: #000000;
    border: none;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
    transform: scale(1.03);
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 10px rgba(109, 109, 109, 0.3);
}

.ModelOptionItem.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
    position: relative;
}

/* ===== Base Style Panel ===== */
.BS{
    margin-top:40px;
    width:100%;
    font-family:InterRegular;
}
.BaseStyle{
  width:100%;
  height:18px;
  font-size:16px;
  font-weight:bold;
}
.BaseStyleOptionItem{
  border:1px solid black!important;
  background:transparent;
  color:#000;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  cursor:pointer;
  height:36px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.BaseStyleOptionItem.active{
  background:#000;
  border:none;
  color:#fff;
  transform:scale(1.03);
  transition:transform .3s ease;
  box-shadow:0 0 10px rgba(109,109,109,.3);
}
.BaseStyleOptionItem.disabled{opacity:.3;cursor:not-allowed;text-decoration:line-through;position:relative}

/* ===== Design Elements Panel ===== */
.DE{
  margin-top:40px;
  width:100%;
  font-family:InterRegular;
}
.Design{
  width:100%;
  height:18px;
  font-size:16px;
  font-weight:bold;
}
.DesignOptionItem{
  border:1px solid black!important;
  background:transparent;
  color:#000;
  padding:0 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  cursor:pointer;
  height:36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.DesignOptionItem.active{
  background:#000;
  border:none;
  color:#fff;
  transform:scale(1.03);
  transition:transform .3s ease;
  box-shadow:0 0 10px rgba(109,109,109,.3);
}
.DesignOptionItem.disabled{opacity:.3;cursor:not-allowed;text-decoration:line-through;position:relative}

/* 三组用于用户选择商品信息的结构 */
.CP{
    margin-top: 40px;
    width: 100%;
    font-family: InterRegular;
    @media (max-width: 1190px) {

    }
    @media (max-width: 768px) {
      margin-top: 20px;
    }
}
.Color{
    width: 100%;
    height: 18px;
    font-size: 16px;
    font-weight: bold;
}
.ColorOptions{
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}
.ColorOptionItem{
  border: 1px solid black !important;
  background-color: #ffffff00;
  color:rgb(0, 0, 0);
  padding-left:20px;
  padding-right:20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 60px;
  height: 100%;
  cursor: pointer;
  min-width: 60px;
  display:flex;
  align-items: center;
  min-height: 36px;
      /* —— Flex 设置 —— */
      display: inline-flex;
      flex: 0 1 auto;
      min-width: 30px;
      min-height: 36px;
  @media (max-width: 1190px) {
    text-align: center;
  }
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.ColorOptionItem.active{
    background-color: #000000;
    border: none;
    color:white;
    padding-left:20px;
    padding-right:20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
    transform: scale(1.03); 
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 10px rgba(109, 109, 109, 0.3);
}
.ColorOptionItem.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
    position: relative; 
}

/* === Component Panel === */
.CMP {
    margin-top: 40px;
    max-width: 600px;
    font-family: InterRegular;
}
.Component {
    width: 100%;
    height: 18px;
    font-size: 16px;
    font-weight: bold;
}
.ComponentOptions {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.ComponentOptionItem {
    box-sizing: border-box;          
    border: 1px solid #000 !important;  
    background-color: transparent;
    color: #000;
    padding: 4px 26px;
    border-radius: 60px;
    cursor: pointer;
    display: inline-flex;
    flex: 0 1 auto;
    min-width: 0;
    min-height: 36px;
    max-width: 400px;
    width: auto;
    align-items: center;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
    text-align: center;
    line-height: 1.4;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.ComponentOptionItem.active {
    background-color: #000000;
    min-height: 36px;
    border: none;
    color:white;
    padding-left:20px;
    padding-right:20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    cursor: pointer;
    transform-origin: left center;
    transform: scale(1.03);
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 10px rgba(109, 109, 109, 0.3);
}
.ComponentOptionItem.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    text-decoration: line-through;
    position: relative;
}

.SP{
    width: 100%;
    margin-top: 20px;
    font-family: InterRegular;
    @media (max-width: 750px) {
      margin-top: 30px;
    }
}
.Size{
    font-size: 16px;
    font-weight: bold;
}
.SizeOptions{
    width: 100%;
    display: flex;
    flex-direction: row;
    height: 36px;
    align-items: center;
    margin-top: 10px;
}
.SizeOptionItem{
    border: 1px solid black !important;
    background-color: #ffffff00;
    color:rgb(0, 0, 0);
    padding-left:10px;
    padding-right:10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 23px;
    margin-right: 10px;
    height: 100%;
    cursor: pointer;
    min-width: 60px;
    display:flex;
    align-items: center;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.SizeOptionItem.active{
    background-color: #000000;
    border: none;
    color:white;
    padding-left:10px;
    padding-right:10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    margin-right: 10px;
    cursor: pointer;
    transform: scale(1.06); 
    transition: transform 0.3s ease;
    box-shadow: 0px 0px 10px rgba(109, 109, 109, 0.3);
}

.QP {
    width: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
    font-size: 16px;
    font-weight: bold;
    font-family: InterRegular;

    @media (max-width: 768px) {
      margin-top: 30px;
    }
}

.Quantity {
    font-size: 16px;
    font-family: InterRegular;
    color: #000000;
    background: transparent;
}

.QuantityOptions {
    height: 46px;
    width: 180px;
    display: flex;
    align-items: center;
    background: transparent;
    margin-top: 10px;
    border: 1px solid black !important;
    display: flex;
    justify-content: space-between;
    border-radius: 4px;
}

.quantity-button {
    background: transparent;
    height: 46px;
    width: 40px;
    font-size: 22px;
    cursor: pointer;
    transition: background-color 0.3s, border-color 0.3s;
}


#quantityInput {
    width: 60px;
    text-align: center; 
    font-size: 18px;
    margin: 0 5px;
    border: none;
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: textfield;
}

#quantityInput::-webkit-inner-spin-button,
#quantityInput::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ActionDiv{
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-top: 30px;
    @media (max-width: 1190px) {
      flex-direction: column;
      gap: 10px;
    }
  
    @media (max-width: 750px) {
      font-size: 28px;
    }
}

.DATitle{
    width: 100%;
    display: flex;
    font-size: 16px;
    font-family: InterBold;
    color: #000000;
}

.DescriptionArea{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}

.InstallationLink{
    width: 100%;
    display: flex;
    font-size: 16px;
    font-family: InterSemiBold;
    color: #898989;
    text-decoration: underline;
}
.DescriptionContent{
    font-family: InterRegular;
    color: #484848;
    margin-top: 10px;
    max-width: 70%;
    @media (max-width: 1190px) {
      max-width: 100%;
    }
  
    @media (max-width: 750px) {
  
    }
}
.AddToCart{
    background-color: #000000;
    color: white;
    width: 220px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: InterRegular;
    font-size: 18px;
    border-radius: 70px;
    @media (max-width: 750px) {
      max-width: 400px;
      width: auto;
      height: 48px;
      font-size: 18px;
    }
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

  
.PayDirectly{
    margin-left: 16px;
    background-color: #FFC439;
    color: #003087;
    border-radius: 70px;
    width: 220px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "PayPal Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;

  @media (max-width: 1190px) {
    margin-left: 0px;
    margin-top: 10px;
  }

  @media (max-width: 750px) {
    max-width: 400px;
      height: 48px;
      width: auto;
  }
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

#paypal{
  width:80px;
  @media (max-width: 750px) {
    width:70px;
  }
}

.product { border: 1px solid #ccc; padding: 10px; margin: 10px 0; }
.product img { max-width: 100px; }

/* MacBook 屏幕优化 */
@media (max-width: 1190px) {
  .Gallery{
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height:76px !important;
    gap: 8px;
  }
  .GallyerInner {
    height: 100%;
    width: max-content;
  }

  .product_Images{
    flex: 0 0 auto;
  }

  .product_Images{
    width: 60px;
    height: 60px;
  }

  /* 用于装载GalleryGo的box */
  .GlleryGoUp{
    width: 40px;
    height: 100%; 
    display: flex;
    align-items: center;
  }
  .GlleryGoDown{
    width: 40px;
    height: 100%; 
    display: flex;
    align-items: center;
  }

  /* 把“上/下箭头”旋转为“左/右箭头” */
  #GlleryGoUpIcon   { transform: rotate(0deg); }
  #GlleryGoDownIcon { transform: rotate(180deg); }

  .productVideos{
      width: 60px;
      height: 60px;
  }
      
  .GalleryMain {
    flex-direction: row;
  }
}

/* MacBook 屏幕优化 */
@media (max-width: 750px) {
  .Gallery{
    margin-top: 30px;
    display: flex;
    align-items: center;
    flex-direction: row;
    width: 100%;
    height:76px !important;
    gap: 8px;
  }
  .product_Images{
    flex: 0 0 auto;
  }

  .PImages{
    width: 60px;
  }

  /* 用于装载GalleryGo的box */
  .GlleryGoUp{
    width: 40px;
    display: flex;
    align-items: center;
  }
  .GlleryGoDown{
    width: 40px;
    display: flex;
    align-items: center;
  }

  /* 把“上/下箭头”旋转为“左/右箭头” */
  #GlleryGoUpIcon   { transform: rotate(0deg); }
  #GlleryGoDownIcon { transform: rotate(180deg); }

  .productVideos{
      width: 60px;
      height: 60px;
  }
      
  .GalleryMain {
      flex-direction: row;
  }
}

/* 抖动动画（分别为纵向、横向） */
@keyframes shakeY {
  0%, 100% { transform: translateY(0); }
  25%      { transform: translateY(-6px); }
  75%      { transform: translateY(6px); }
}
@keyframes shakeX {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-6px); }
  75%      { transform: translateX(6px); }
}
.GalleryMainWrapper.shake-y { animation: shakeY .25s; }
.GalleryMainWrapper.shake-x { animation: shakeX .25s; }

/* featured Area Best seller四联装 */

/* Alert 弹窗 */
.custom-alert {
    position: fixed;
    inset: 0;            /* 等价于 top:0; right:0; bottom:0; left:0; */
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}
  
.custom-alert.hidden {
  display: none;
}
  
.alert-content {
  background: #fff;
  border-radius: 10px;
  padding: 24px 32px;
  text-align: center;
  box-shadow: 0 6px 30px rgba(0,0,0,0.2);
  max-width: 400px;
  width: 400px;
  @media (max-width: 1190px) {

  }
  
  @media (max-width: 750px) {
      width: 80vw;
      max-width: none;
      flex-direction: column;
      
  }
}
  
#alert-message {
  font-family: InterSemiBold;
  margin-bottom: 20px;
  font-size: 18px;
  color: #333;
}
  
#alert-ok {
  font-family: InterRegular;
  background-color: #000000;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 14px;
  margin-bottom: 10px;
  width: 100px;
  font-size: 16px;
}

/* 让封面图铺满小方块 */
.thumb-img{
  width:100%;  height:100%;  object-fit:cover;
}
  
/* 给视频缩略条目一个 ▶︎ 覆盖 */
.video-thumb{
  position:relative;
}
.video-thumb .play-icon{
  position:absolute; right:6px; bottom:6px;
  width:20px; height:20px; font-size:14px;
  color:#fff; background:rgba(0,0,0,.5);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
  pointer-events:none;
}

/* 四联装css */
.FourSetArea{
  width:82vw ;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  margin-top: 180px;
  margin-bottom: 150px;
  @media (max-width: 1190px) {
    width:86vw ;
     margin-top: 50px;
    margin-bottom: 50px;
  }
  @media (max-width: 768px) {
    width:86vw ;
     margin-top: 50px;
    margin-bottom: 150px;
  }
}

.FourSetArea-title{
  font-family: InterBold;
  font-size: 20px;
}

.product-grid {
  margin-top: 20px;
  display: grid;
  grid-gap: 60px;
  row-gap: 40px;
  grid-template-columns: repeat(4, 1fr);
  width:82vw;

  @media (max-width: 768px) {
    grid-gap: 0px;
    row-gap: 20px;
    width:86vw;
  }
}

.product-card.animate {
  opacity: 1;
  transform: translateY(0);
}
  
@media (max-width: 1190px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr); 
  }
}
@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  position: relative;
  padding: 10px;
  background-color: #F1F1F1;
  transition: 200ms ease-in;
  border-radius: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 200ms ease-in, transform 200ms ease-in;
}

.thumbnail-img{
  max-width: 360px;
}




.upperArea{
  max-height: 500px;
  width: 100%;
}

/* 当没有内容的时候，使用empty 伪类来隐藏tagbox */
.tagBox:empty {
  display: none;
}

.tagBox{
  width: 110px;
  height: 30px;
  position: absolute;
  border-radius: 15px;
  transform: translateY(-46px);  
  font-family: InterSemiBold;
  font-size: 14px;

  @media (max-width: 1190px) {
    width: 100px;
    height: 25px;
    transform: translateY(-50px);  
  }
  @media (max-width: 768px) {
    margin-top: 10px;
    transform: translateY(-46px);  
  }
}

.Tag {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* New Release 特有样式 */
.tag--new {
  width: 120px;
  height: 30px;
  border-radius: 15px;
  padding: 0px;
  margin: 0px;
  background-color: #5BC3F2;
  color: white;

  @media (max-width: 1190px) {
    width: 100px;
    height: 25px;
    font-size: 13px;
  }
  @media (max-width: 768px) {

  }
}

/* Best Seller 特有样式 */
.tag--bestseller {
  width: 110px;
  height: 30px;
  border-radius: 15px;
  padding: 0px;
  margin: 0px;
  background-color: #5BC3F2;
  color: white;
  @media (max-width: 1190px) {
    width: 100px;
    height: 25px;
    font-size: 13px;
  }

}

.thumbnail-img,
.hover-img {
  max-height: 480px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  filter:drop-shadow(0px 0px 0px #ffffff)
}

.lowerArea{
  margin-top: 6px;
  max-height: 100px;
  width: 100%;
}




.productTitle{
  font-family: InterSemiBold;
  font-size: 18px;
  display:flex; align-items:center;
  min-height:60px;

  @media (max-width: 1190px) {
    font-size: 18px;
  }

  @media (max-width: 768px) {
    font-size: 16px;

    min-height: 40px;
  }
}
.productPrice{
  font-family: InterSemiBold;
  font-size: 1rem;
  margin-top:6px;

  
  @media (max-width: 1190px) {
      font-size: 16px;
  }
  @media (max-width: 768px) {
      font-size: 14px;

  }
}

.largeSloganSlideIn{
  opacity: 0;
  transform: translateY(16px);
  transition: ease-out 500ms;
}
.largeSloganSlideIn.active{
  opacity: 1;
  transform: translateY(0);
  transition: ease-out 500ms;
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}



.ModelOptionItem.disabled:hover::after,
.BaseStyleOptionItem.disabled:hover::after,
.DesignOptionItem.disabled:hover::after,
.ComponentOptionItem.disabled:hover::after,
.ColorOptionItem.disabled:hover::after {
    content: "Sold out";
    position: absolute;
    top: -30px; left: 50%; transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 10;
    font-size: 12px;
}


@media (hover: hover) and (pointer: fine) {
  .BaseStyleOptionItem:hover{
    transform: scale(1.04);
    box-shadow: 0 4px 4px rgba(98, 98, 98, 0.1);
  }

  .DesignOptionItem:hover{
  transform: scale(1.04);
  box-shadow: 0 6px 6px rgba(78, 78, 78, 0.1);
  }

  .quantity-button:hover{
      background: #a2a2a2;
      border-color: #999;
  }
  .AddToCart:hover{  
      transform: scale(1.02);
      box-shadow: 0 4px 4px rgba(98, 98, 98, 0.1);
  }

  .PayDirectly:hover{  
    transform: scale(1.02);
    box-shadow: 0 4px 4px rgba(98, 98, 98, 0.1);
  }
  
  .product-card:hover {
  transform: scale(1.008);
  border-radius: 10px;
}

.product-card:hover::before {
  filter: drop-shadow(0px 0px 6px #d7d7d7);
  border-radius: 10px;
}

/* ====== 合并后的通用 Hover 与 Disabled Tooltip（不改动任何值） ====== */
.ComponentOptionItem:hover,
.ColorOptionItem:hover,
.SizeOptionItem:hover{
    transform: scale(1.04);
    box-shadow: 0 4px 4px rgba(98, 98, 98, 0.1);
}
}

/* 新增移动端滑动css */
/* —— 横向模式：只在 .Gallery.horizontal 下生效 —— */
.Gallery.horizontal {
  width: 100%;
  height: auto;
  flex-direction: row;      /* 让上下按钮排成左右布局 */
  align-items: center;
  gap: 8px;
}

.Gallery.horizontal .GlleryGoUp,
.Gallery.horizontal .GlleryGoDown {
  width: 40px;
  height: 126px;            /* 和缩略图高度一致，像左右箭头 */
  align-items: center;
}

.Gallery.horizontal #GlleryGoUpIcon {
  transform: rotate(180deg); /* 左箭头 */
}
.Gallery.horizontal #GlleryGoDownIcon {
  transform: rotate(0deg);   /* 右箭头 */
}

.Gallery.horizontal .GallyerInner {
  width: calc(100% - 96px);  /* 预留左右 2×(40px + 边距) */
  height: 146px;             /* 126 + margin 近似 */
  overflow: hidden;
  /* 允许横向原生手势；纵向滚动由页面处理 */
  touch-action: pan-x;
}

.Gallery.horizontal .GalleryMainWrapper {
  width: 100%;
  height: auto;
}

/* 横向布局下，缩略图水平排列 */
.Gallery.horizontal .GalleryMain {
  display: inline-flex;
  flex-direction: row;       /* 关键：从 column 切为 row */
  align-items: center;
  transition: transform 300ms;
  will-change: transform;
}

/* 触控模式下：隐藏左右按钮也可以（可选） */
.Gallery.touch-enabled .GlleryGoUp,
.Gallery.touch-enabled .GlleryGoDown {
  display: none;
}

/* 触控 + 横向：给手势更明确的手型 */
.Gallery.touch-enabled.horizontal .GallyerInner {
  cursor: grab;
}
.Gallery.touch-enabled.horizontal .GallyerInner:active {
  cursor: grabbing;
}

/* 纵向模式下，建议阻止横向手势，避免与系统返回手势冲突 */
.Gallery:not(.horizontal) .GallyerInner {
  touch-action: pan-y;
}

/* 你的抖动动画目前只写了纵向；这里补一个水平抖动（可选） */
@keyframes shake-x {
  0% { transform: translateX(0); }
  30% { transform: translateX(-8px); }
  50% { transform: translateX(6px); }
  70% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}
@keyframes shake-y {
  0% { transform: translateY(0); }
  30% { transform: translateY(-8px); }
  50% { transform: translateY(6px); }
  70% { transform: translateY(-4px); }
  100% { transform: translateY(0); }
}
.GalleryMainWrapper.shake-x { animation: shake-x 0.3s ease; }
.GalleryMainWrapper.shake-y { animation: shake-y 0.3s ease; }


/* 拖拽时禁用缓动，防止跟不上手指 */
.GalleryMain.is-dragging {
  transition: none !important;
  cursor: grabbing;
}



/* 为了更丝滑：开启硬件加速 */
.GalleryMain {
  will-change: transform;
}

