.h6{
  font-size: 15px !important;
}
.rte p{
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}
.index-template .product-card .f-price {
  display: none;
} 
.index-template .section__header {
  padding-bottom: 20px !important;
}
.product-template .product-card .f-price {
  display: none;
} 
.collection-template .product-card .f-price-item{
  font-weight: 400 !important;
}
.product-template span, .product-template div, .product-template p, .product-template select{
  font-weight: 400;
}

.product-card{
  background-color: transparent !important;
}
.product-card .short-desc{
  color: #a8a8a8;
}
.product-card__image-wrapper{
  background-color: #f6f6f6 !important;
}

.index-template .multicolumn-card__image {
  margin-bottom: 15px;
}

.product-card-style-card .product-card__info{
  padding-left: 0 !important;
  padding-top: 15px !important;
}

quick-view-modal .product__media-gallery{
  display:none !important;
}

.product__block--collapsible_tab h2{
  font-size:15px;
  font-weight: 600;
}

.product-card__info{
  background-color: #ffffff !important;
}
.product__block.product__block--custom_liquid{
  margin-top:10px !important;
  margin-bottom:10px !important;
}
@media (min-width: 768px) and (max-width: 1024px) {
   .index-template .section--media-with-collection .product-card__image-wrapper {
    height: 240px;
  }
    
   .index-template .section--media-with-collection .product-card__image--main {
    margin-top: 20px;
    height: 200px;
  }
   .index-template .section--media-with-collection .product-card-style-card .product-card__info {
    padding: 1.4rem !important;
  }
}

@media (min-width: 1024.1px) and (max-width: 1140px) {
    .index-template .section--media-with-collection .product-card__image-wrapper {
    height: 295px;
  }
    
   .index-template .section--media-with-collection .product-card__image--main {
    margin-top: 30px;
    height: 240px;
  }
   .index-template .section--media-with-collection .product-card-style-card .product-card__info {
    padding: 3.4rem !important;
  }
}

@media (min-width: 1140.1px) and (max-width: 1280px) {
    .index-template .section--media-with-collection .product-card__image-wrapper {
    height: 380px;
  }
    
   .index-template .section--media-with-collection .product-card__image--main {
    margin-top: 25px;
    height: 300px;
  }
   .index-template .section--media-with-collection .product-card-style-card .product-card__info {
    padding: 3.4rem !important;
  }
}


@media (min-width: 1280.1px) {
  .index-template .section--media-with-collection .product-card__image-wrapper {
    height: 500px;
  }
  .index-template .section--media-with-collection .product-card__image--main {
    margin-top: 50px;
    height: 420px;
  }
  .index-template .section--media-with-collection .product-card-style-card .product-card__info {
    padding: 4.4rem;
  }
}
@media (min-width: 768px){
  .index-template .section--media-with-collection .col-products {
    align-content: flex-start;
    flex-wrap: wrap;
  }
  .index-template .section--media-with-collection .media-with-collection-2-cols .col-products {
    max-width: 828px;
  }
  .index-template .section--media-with-collection .media-with-collection__products.swiper {
    width: 800px;
  }
  .index-template .section--media-with-collection .swiper-slide {
    max-width: 394px !important;
  }
  .index-template .section--media-with-collection .col-products {
    justify-content: flex-start !important;
  }
  .index-template .section--media-with-collection .col-products-inner {
    padding-left: 10px !important;
  }

  /* .index-template .section--media-with-collection .product-card__image img{
    object-fit: contain !important;
  } */
  .product--media-has-many.product--grid-mix .product__media-item:nth-child(n+2) img {
      height: 473px;
      object-fit: contain;
  }

  .product--media-has-many.product--grid-mix .product__media-item:nth-child(n+2){
    height: 450px;
  }

  
}


.product-card__main-actions {
    align-items: flex-end !important;
}
.product__block--title{
  margin-bottom:0px !important;
}

.product__block--text:first-child p{
  font-weight: 600 !important;
}

.product__block--text{
  margin-top: 0px !important;
  margin-bottom: -2px !important;
}

.product__block--price{
  margin-top: 20px !important;
}

.footer-block__heading{
  font-size: 15px !important;
  font-weight: 600 !important;
}
  .choices {
    width: 100% !important; /* 默认宽度 */
    z-index: 999;
  }

@media(max-width: 767.9px){
  .swiper-button-prev{
    margin-left: -30px;
  }
  .swiper-button-next{
    margin-right: -30px;
  }
  .product__media-gallery-thumbails{
    max-width: 400px !important;
  }
}

@media (min-width: 768px) {
  .slider-controls{
    display: none;
  }
  select option {
    height: 40px !important;
    line-height: 40px !important;
    padding: 10px !important;
    background-color: #fff !important;
    color: #333 !important;
  }
  .product__media-gallery-thumbails{
    display: none !important;
  }

  .header__logo--image img:first-child{
    display: none !important;
  }
}

  
  /* 设置其他 .product__media-container 的高度为 450px */
/* .product__media-list .product__media-container:not(:first-child) {
  height: 450px;
} */
  /* 设置其他 .product__media-container 的高度为 450px */
/* .product__media-list .product__media-container:not(:first-child) img {
  height: 392px;
}
  */

  /* 设置第一个 .product__media-container 的高度为 700px */
/* .product__media-list .product__media-container:first-child {
  height: 700px;
}

.product__media-list .product__media-container:first-child img{
    height: 680px;
    object-fit: contain;
} */
  .product--media-has-many.product--grid-mix .product__media-item:first-child img{
     height: 680px !important;
     object-fit: contain !important;
  }
  @media( max-width: 767.9px){
    .product--media-has-many.product--grid-mix .product__media-item:first-child img {
      height: auto !important;
      object-fit: contain !important;
    }
  }
  @media (min-width: 768px) {
     
    .product--media-has-many.product--grid-mix .product__media-item:first-child  {
      height: 600px !important;
      width: 100% !important;
    }
}
  .product--media-has-many.product--grid-mix .product__media-item:first-child img{
     width: 100% !important;
  }

/* over-ride section-main-product.css*/
 .product--media-has-many.product--grid-mix .product__media-item:nth-child(3n+1) {
    width: 50%;
  }


  



  /* .product__media-container{
    height: 500px !important; 

  .product__media-container img {
      height: 392px !important;
      object-fit: contain;
  }

  .product__media-container:first-child {
    height: 700px !important;
  }

  .product__media-container:first-child img{
    height: 680px  !important;
    object-fit: contain;
  }
 */
   .md\:hidden {
        display: inline-flex !important;
    }
  .product-card__quickview {
    display: none;
  }
  .product-card__main-actions {
    flex-direction: column;
    align-items: flex-end;
    width: auto;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  .mobile-hide-quick-add .product-card__main-actions {
    display: none;
  }
  .product-card__action-button {
    padding: 0;
    border-radius: 50% !important;
    width: 4.2rem !important;
    height: 4.2rem !important;
    line-height: 1;
  }
  .product-card__action-text {
    position: absolute;
    max-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.25s cubic-bezier(0.104, 0.204, 0.492, 1);
    white-space: nowrap;
  }
  .product-card--list {
    --card-padding: 1rem;
  }
  .product-card--list .product-card__wrapper {
    gap: 0 1.2rem;
  }
  .product-card--list .product-card__image-wrapper {
    width: 6.6rem;
  }
  .product-card-list-on-mobile .product-card__wrapper {
    display: flex;
    align-items: flex-start;
    column-gap: 1.2rem;
    padding: 1rem 0 0;
    padding-inline-end: 5rem;
    margin-top: 1rem;
  }
  .product-card-list-on-mobile .product-card__badge {
    display: none;
  }
  .product-card-list-on-mobile .product-card__actions {
    inset-inline-start: auto;
    inset-inline-end: 0;
    bottom: auto;
    top: 50%;
    transform: translate(0, -50%);
  }
  .product-card-list-on-mobile .product-card__quickview {
    display: none;
  }
  .product-card-list-on-mobile .product-card__image-wrapper {
    position: static;
    width: 7rem;
    flex-shrink: 0;
    border-radius: var(--small-blocks-radius) !important;
  }
  .product-card-list-on-mobile .product-card__info {
    padding: 0 !important;
    flex-grow: 1;
  }
  .product-card-list-on-mobile.product-card-style-card .product-card__wrapper {
    padding: 1rem;
    padding-inline-end: 6rem;
  }
  .product-card-list-on-mobile.product-card-style-card .product-card__actions {
    inset-inline-end: 1rem;
  }
  .f-grid-1-cols .is-metro-item {
    grid-column: span 1;
  }
  .f-grid-1-cols .is-metro-item [style*="--aspect-ratio"]:before {
    padding-top: calc(100% / (0 + var(--aspect-ratio, 1)));
  }
}


@media (max-width: 767.98px) {
    .slideshow-wrapper.slideshow-content-mobile--below:not(.slideshow-layout--split).slideshow-controls-visible--yes {
        padding-bottom: 1rem !important;
       
    }
}


 .related-products {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(var(--color-foreground), 0.08);
  }
  
  .related-products__heading {
    margin-bottom: 1rem;
    text-align: left;
    font-size: calc(var(--foaspect-rationt-heading-scale) * 1.8rem);
  }
  
  @media screen and (min-width: 750px) {
    .related-products__grid {
      column-gap: 3rem;
      row-gap: 4rem;
    }
  }



.sticky-gallery {
  position: fixed !important;
  top: 0;
  width: 100%;
  background: #f6f6f6;
  z-index: 99;
  box-shadow: 0 0 12px rgba(0, 0, 0, .15);
}

/* 移动端响应式 */
@media screen and (max-width: 749px) {
  .sticky-gallery {
    width: 100%;
  }
}

.tab-header{
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media (max-width: 767.98px) {
    .tabs__nav-wrap {
        min-width: 90% !important;
    }
}

.view-all-button{
  text-decoration: underline;
}

.product-card__image {
    position: relative;
  }
.white-text {
    color: #ffffff !important;
}
  .product-grid-title{
     position: absolute;
    font-size: 32px;
    bottom:16%;
    left: 0;
    right: 0;
    text-align: center;
    transition: opacity 0.3s ease;
    line-height: 35px;
  }
  .product-card__view-all {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
   
    transition: opacity 0.3s ease;
  }
 

@media (min-width: 768px) {
    .product-card__view-all .btn {
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 400;
  }
    .product-card-collection {
      aspect-ratio: 3/4.6 !important;
    }

  .f-grid-1-cols #CollectionImage .product-grid-title{
    padding: 0 !important;
  }
  .f-grid-2-cols #CollectionImage .product-grid-title{
    padding: 0 !important;
  }
}

@media (max-width: 767.9px){
   .product-grid-title{
     font-size: 22px;
   }
  .product-card__view-all .btn {
    font-size: 14px;
  }
    .product-card__view-all .btn {
    padding: 0px 14px;
    font-size: 16px;
    font-weight: 400;
      height: 40px !important;
  }
  
}

.f-grid-1-cols #CollectionImage, .f-grid-1-cols #CollectionImage img{
  aspect-ratio: 3/4.6;
  object-fit: contain;
}
/* @media (min-width: 768px) {
.f-grid-2-cols #CollectionImage, .f-grid-2-cols #CollectionImage img{
  aspect-ratio: 3/4.6;
  object-fit: contain;
}
} */

.f-grid-1-cols #CollectionImage .product-grid-title{
   bottom:16%;
    padding: 0 26%;
}

.f-grid-2-cols #CollectionImage .product-grid-title{
   bottom:19%;
    padding: 0;
}

.f-grid-1-cols #CollectionImage .product-card__view-all{
   bottom: 6%;
}

.f-grid-2-cols #CollectionImage .product-card__view-all{
   bottom: 7%;
}

 #CollectionImage .product-card__view-all{
   bottom: 7%;
}


.related-products-splide .splide__arrow--prev{
  left: -10px !important;
}

.related-products-splide .splide__arrow--next{
  right: -10px !important;
}


.product-type-switch{
  min-width: 135px !important;
  min-height: 135px !important;
}


.product-template .product-form__submit{
  width: 100%;
}
.product-template .related-products__header{
  margin-bottom: 1rem;
}

.product-template .related-products__header  b {
  display: flex;
  justify-content: space-between;
}
.product-template .related-products__header b {
  width: 100%;
}
.product-template .main-product-form span{
  font-size: 22px !important;
  font-weight: 600;
}
.quick-view__content .product__block--inventory{
  display: none;
}

@media (max-width: 767.98px) {
  /* .product-form__input--swatch label{
    min-width: 28%;
  } */
  .product-type-switch{
    min-width: 106px !important;
    min-height: 106px !important;
  }
  .product__media-gallery-thumbails{
    width: 400px;
  }
}
.product__blocks .product__block:first-child {
  margin-bottom: 0;
}
.product__blocks .product__block--title{
  margin-top:0;
}

.product__info-container .f-price-item.f-price-item--regular{
  font-size: var(--font-h5-size);
}
.product__tax{
  margin-top: -5px;
  font-size: 14px;
}
.product-form__buttons{
  gap: 0 !important;
}

@media(min-width: 768px){
.product__title{
  font-size: 28px !important;
}
.product__block.rte.product__block--text{
  margin-top: 1px !important;
}
.product__block.rte.product__block--text .product__text{
  font-size: 16px;
}
.product__tax{
  margin-top: -3px;
}
}
@media(max-width: 767.99px){
  .product__title{
    font-size: 21px !important;
  }
  .product-template .f-price-item--sale{
    font-size: 21px !important;
  }

 .product-template .product__info-container .f-price-item.f-price-item--regular{
    font-size: 21px !important;
  }

  .product__block--price{
    margin-top: 16px !important;
  }

  .product__tax{
    font-size: 13px;
  }
}


.f-column-collection-image {
    position: relative;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

.f-column-collection-image .media-wrapper.product-card__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.f-column-collection-image .media-wrapper.product-card__image img {
    width: 100%;
    height: 96.5%;
    object-fit: cover;
    display: block;
}

.BLOY-card.BLOY-page__redeem__item {
  border: none !important;
}
.BLOY-page__item_icon img {
  width: 100% !important;
  height: 100% !important;
  background-color: #f6f6f6 !important;
}
@media (max-width: 767px) {
  .row-bloy {
    display: flex;
    flex-wrap: wrap;
  }

  .row-bloy > div {
    width: 50%;
    max-width: 50%;
  }

  .BLOY-page__item_icon img {
    width: 180px !important;
    height: 200px !important;
   background-color: #f6f6f6 !important;
  }
}
.BLOY-card.BLOY-page__redeem__item {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.BLOY-card.BLOY-page__redeem__item .BLOY-button-page {
  margin-top: auto;
}
.BLOY-page__item_name {
    text-align: left;
    align-items: flex-start !important;
    color: #000000 !important;
     font-size: 15px !important;
    font-family: "Source Sans Pro", sans-serif !important;
}
.BLOY-page__item_description {
  text-align: left;
    align-items: flex-start !important;
    color: #A8A8A8 !important;
      font-size: 15px !important;
    font-family: "Source Sans Pro", sans-serif !important;
  
}
@media (max-width: 767px) {
  .row-bloy > div {
    display: flex;
  }
}
.row-bloy {
  margin-left: -0px;
  margin-right: -0px;
}

.row-bloy > [class*="bloy-col"] {
  padding-left: 0px;
  padding-right: 0px;
}

quick-view-modal .product__block--description{
  display: none;
}

.BLOY-page__introdution_image img {
  max-width: 100% !important;
  height: 100%;
}
@media screen and (max-width: 767px) {
    .BLOY-widget {
      bottom: 10px !important;
      left: 10px !important
    }
}


body.collection-template.header-pinned .sticky-element{
  top:  var(--sticky-offset, 2rem) !important;
}

.related-product-card .design-image{
  padding-bottom: 0 !important;
}


body .rivyoReviewIcon div:not(:first-child) {
   display: none !important;
    width: 18px !important;
}

.shopify-block .rivyoReviewWidget{
   display: none !important;
}

.product__info-wrapper .product__block.product__block--icon-with-text{
  display: flex;
  flex-direction: row;
  justify-content: center;
}

/* 确保抽屉整体高度正确 */
.drawer__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100vh;
}

/* 内容区域用overflow控制，移除原来的v-scrollable相关样式 */
.drawer__body {
  overflow-y: visible;
  flex: 1 1 auto;
}

/* 如果有需要，可以控制商品列表不换行或平铺 */
.cart-drawer__body ul {
  display: block; /* 确保是块级排列，不是flex列，已经是这样 */
}

/* footer固定在最底部 */
.drawer__footer {
  flex-shrink: 0;
  margin-top: auto; /* 确保footer贴在底部 */
  border-top: 1px solid var(--color-border); /* 可选：添加分隔线 */
}


/* 底部固定 */
.cart-drawer .drawer__footer {
  flex-shrink: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1rem;
  margin-top: auto;
}

/* 按钮区域 */
.cart-drawer .drawer__footer-buttons {
  margin-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 1rem;
}
.btns-area{
  padding: 0px 20px 10px 20px;
  box-shadow: 0px -4px 12px 0px rgba(0, 0, 0, 0.16);
}
.free-shipping-goal{
  padding: 10px 20px 0px 20px;
}

.cart-drawer__header{
  padding: 10px !important
}

.cart-drawer__header{
  box-shadow: 0px 4px 12px 0px rgba(0, 0, 0, 0.16);
  display: flex !important;
  flex-direction: row !important;
  justify-content: center;
}

.cart-drawer .drawer__footer-buttons{
  border: none !important;
}

.lb-cpb-free-gift-claim-btn{
  height: 30px;
}

.lb-cpb-progress-text-wrapper{
  text-align: left !important;
  padding-left: 15px !important;
}
.lb-cpb-single-progress-bar-wrapper{
  padding: 0 20px;
  height: 35px !important;
}


/* 总计区域样式 */
cart-totals {
    display: block;
    width: 100%;
  }
  
  .cart-sub-discount {
    color: #666;
    font-size: 15px;
  }
  
  .t-grey {
    color: #666;
  }

  .f-w600{
    font-weight: 600 !important;
  }
  
  .t-grey.f-w400 strike {
    color: #999;
  }
  
  .align-center {
    align-items: center;
  }
  
  /* 保持原有类名功能 */
  .flex.row-wrap {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }
  
  .justify-space {
    justify-content: space-between;
  }
  
  .cell-l, .cell-r {
    padding-left: var(--cell-padding, 1rem);
    padding-right: var(--cell-padding, 1rem);
  }

  /* 支付方式图标样式 */
.payment-methods-container {
  width: 100%;
}

.payment-icon {
  width: auto;
  height: 24px;
  max-width: 40px;
  object-fit: contain;
}

/* 确保图标在移动端也能正常显示 */
@media (max-width: 767px) {
  .payment-icon {
    height: 20px;
  }
}

/* 如果图标太多换行，居中对齐 */
.payment-methods-container .flex {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.gap--d2 {
  gap: 0.5rem;
}

.free-shipping-goal, lb-cart-progress-bar{
  background-color: #dcdcdc !important;
}

.lb-cpb-single-progress-bar-wrapper .lb-cpb-progress-bar{
  background-color: #000000 !important;
  height: 5px !important;
}

.price-area{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cart-item__action{
  min-width: 88px;
}
.cart-quantity{
  width: 8.5rem !important;
}

.quantity__button{
  width: 3rem !important;
}
@media (max-width: 768px) {
  div.BLOY-widget {
    margin-bottom: 50px !important;
  }
}
.BLOY-cart__rewards {
  margin-left: 0px !important;
}
