/* shopify Himax */
/** 响应式基本样式, 从小屏开始写 */
.custom-primery-button {
    min-width: 180px;
    min-height: 48px;
    max-width: 280px;
    border-radius: 60px;
    display: flex;
    background: #FEDB1E;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin: 0px auto !important;
    cursor: pointer;
    width: 100%;
    padding: 13px 40px;
}

.custom-primery-button2 {
    min-width: 180px;
    min-height: 48px;
    max-width: 280px;
    border-radius: 60px;
    display: flex;
    background: #fff;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    margin: 0px auto !important;
    cursor: pointer;
    width: 100%;
    padding: 13px 40px;
}

.button-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.yb-section-container {
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
    padding: 0 16px;
}

.yb-section-title {
    text-align: center;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
    color: #02060B;
}

.yb-section-title+.yb-section-description,
.yb-section-text-container:has(.yb-section-title)>.yb-single-video-btn,
.yb-section-text-container:has(.yb-section-description)>.yb-single-video-btn {
    margin-top: 16px;
}

.yb-section-title+.yb-section-description {
    font-size: 18px;
    line-height: 1.4;
        text-align: center;
}

.yb-single-video-btn {
    cursor: pointer;
    display: inline-block;
    background-color: #FEDB1E;
    padding: 13px 37px;
    border-radius: 30px;
    font-size: 16px;
    border-width: 0;
    font-family: NunitoSans, "ui-sans-serif", "system-ui", "sans-serif";
}

.yb-section-text-container {
    padding-bottom: 32px;
}

/* 标题文本共用样式 */
.yb-h1,
.yb-h2,
.yb-h3,
.yb-h4 {
    margin-top: 0;
    line-height: 1.2;
    color: #02060B;
}

.yb-h1,
.yb-h2 {
    font-weight: 800;
    /* ExtraBold */
}

.yb-h3,
.yb-h4 {
    font-weight: 700;
    /* Bold */
}

.text-center {
    text-align: center;
}

.yb-section-button {
    text-align: center;
}

/* 正文文本共用样式 */
.yb-body-1,
.yb-body-2,
.yb-body-3,
.yb-body-4 {
    margin-top: 0;
    margin-bottom: 16px;
    font-weight: 400;
    /* Regular */
    line-height: 1.5;
    color: #676A6D;
}

.yb-block-title {
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.yb-block-description {
    font-size: 14px;
    line-height: 1.5;
    color: #02060B;
}

.yb-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 64px;
    height: 64px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.yb-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.yb-video-container {
    position: relative;
}

.yb-close-button {
    position: absolute;
    top: 40px;
    right: 16px;
    width: 48px;
    height: 48px;
    font-size: 30px;
    border-radius: 50%;
    background: #000;
    justify-content: center;
    align-items: center;
    display: flex;
    color: white;
    cursor: pointer;
}

.yb-video-frame {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border: none;
}

.yb-h5 {
    color: #02060B;
}
/* General CSS */

.desktop_hide {
    display: none;
}
@media (max-width: 680px){
    .mobile_hide {
        display: none;
    }
    .desktop_hide {
        display: block;
    }
}

/* Custom Featured Collection */

.bz-head-4 {
    margin-bottom: 4px;
}

.custom_swiper-pagination {
    position: unset;
    margin-top: 32px;
}
#quantity {
    visibility: hidden;
    height: 0;
    width: 0;
    position: absolute;
}
.swiper-pagination-bullet {
    width: 16px;
    border-radius: 6px;
    height: 4px;
    transition: all .3s ease;
}
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 64px;
    background: #A9A9A9;
}
.custom_product_form {
    display: flex;
    justify-content: center;
    margin-top: 5px;
}
.custom_product-card-wrapper .product-card-wrapper {
    background:white;
    border-radius: 16px;
}
.custom_product-card-wrapper .price-item, .custom_product-card-wrapper .price-item--regular {
    font-weight: 400 !important;
}
.custom_featured_collection_wrapper .quick-add {
    display: none !important;
} 
.card__content-bottom .price__sale {
    flex-direction: column;
    text-align: center;
}
.card .card__content .product__title {
    margin-bottom: 8px;
}
.swiper-slide.custom_product-card-wrapper {
    height: auto;
}
.section_header {
    text-align: center;
    margin-bottom: 64px;
}
.custom_product_form .button {
    padding-left: 30px;
    padding-right: 30px;
}
.custom_product-card-wrapper img {
  width: 100%;
  height: auto;
}
.custom-buttons .button {
    width: auto;
    margin: auto;
    margin-top: 16px;
    padding-left: 25px;
    padding-right: 30px;
}
.custom-buttons .button {
    display: flex;
    align-items: center;
    width: max-content;
    padding: 0 40px;
    min-width: 180px;
    height: 48px;
}
.custom_product-card-wrapper .card .card__content {
    margin-top: 12px;
}
@media(max-width: 679px){
    .yb-section-button {
            margin-top: 16px;
        }
    .custom_swiper-pagination {
        position: unset;
        margin-top: 32px;
    }
    .body5.bz-body-3 .fw-bold.price-item--regular {
        font-size: 14px;
    }
}


/* Custom Richtext CSS */


.custom_grid_richtext_wrapper {
    column-gap: 10px;
    row-gap: 10px;
    grid-auto-flow: dense;
    display: grid;
}
.custom_grid_richtext_item {
    background: white;
    padding: 40px;
    text-align: center;
    border-radius: 16px;
    position: relative; 
    overflow: hidden;
}
.custom_richtext_img_wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    object-fit: cover;
}
.custom_grid_richtext_item_inner {
    height: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}
.custom_image_overlay {
    position: absolute;
    height: 100%;
    width: 100%;
    background: black;
    opacity: .1;
}
.custom_grid_text_wrapper {
    position: relative;
    z-index: 1;
}
/* .custom_grid_text_wrapper * {
    color: white;
} */
.custom_richtext_img_wrapper {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 0;
    height: 100%;
    width: 100%;

}
.custom_grid_richtext-text {
    margin-top: 12px;
    line-height: 1.4;
    font-weight: 400;
}
.product__title.bz-body-2 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 700;
}
@media (max-width: 680px) {
    .custom_grid_richtext_item {
        background: white;
        padding: 30px 20px;
        text-align: center;
        border-radius: 16px;
    }
    .custom_richtext_img_wrapper {
        height: auto;
    }
}

.yb-section-container {
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
}
.custom_product-card-wrapper .card .card__content {
    margin-top: 7px;
}
.custom_grid_richtext_wrapper {
    grid-template-columns: repeat(4, 1fr);
    column-gap: 16px;
    row-gap: 16px;
    grid-auto-flow: dense;
    display: grid;
}

@media (min-width: 680px) {
    .yb-single-video-btn {
        display: inline-block;
        background-color: #FEDB1E;
        text-align: center;
        font-size: 16px;
        border-radius: 30px;
        padding: 0px 40px !important;
        font-weight: 600;
        min-width: 180px;
        height: 48px;
        line-height: 48px;
    }
}

@media (max-width: 680px) {
    .yb-single-video-btn {
        display: inline-block;
        background-color: #FEDB1E;
        text-align: center;
        font-size: 16px;
        border-radius: 30px;
        padding: 0px 40px !important;
        height: 48px;
        line-height: 48px;
        font-weight: 600;
        /* line-height: 30px; */
        max-width: 327px;
        min-width: 180px;
        width: max-content;
    }
}

/* 375-679px */
@media (max-width: 679px) {
    .yb-section-header {
            max-width: 327px;
            margin: 0px auto 32px;
    }
    .custom_grid_richtext_item{
        padding: 16px;
    }
    .section_header {
            margin-bottom: 32px;
        }
    .custom_product-card-wrapper .card .card__content {
        margin-top: 12px;
      }
    .custom_product-card-wrapper .product-card-wrapper {
        padding: 16px;
        padding-bottom: 24px;
    }
    .bz-head-4 {
        font-size: 20px;
    }

    .bz-body-2 {
        font-size: 18px;
        padding: 0 8px;
    }

    .bz-body-3 {
        font-size: 12px;
    }

    .bz-btn-1 {
        font-size: 16px;
    }
    .custom_grid_richtext-heading.yb-h3 {
        font-size: 18px;
    }
    .custom_grid_richtext_item {
        padding-top: 32.5px;
    }
    .custom_grid_richtext-text {
        margin-top: 12px;
    }
    .custom_grid_richtext_wrapper {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 8px;
        row-gap: 8px;
        --grid-cell-size: calc((100vw - 40px) / 2);
        grid-auto-rows: var(--grid-cell-size);
    }
    .yb-section-title {
        font-weight: 700;
        font-size: 24px;
    }
    .custom_product-card-wrapper .product-card-wrapper {
        border-radius: 14.7px;
    }
          .yb-section-title+.yb-section-description {
              font-size: 14px;
              margin-top: 12px;
          }
    
          .yb-single-video-btn {
              text-align: center;
              padding: 13px 0;
          }
    
          .yb-h1 {
              font-size: 30px;
          }
    
          .yb-h2 {
              font-size: 24px;
          }
    
          .yb-h3 {
              font-size: 20px;
          }
    
          .yb-h4 {
              font-size: 18px;
          }
    
          .yb-h5 {
              font-size: 12px;
              font-weight: 700;
              line-height: 100%;
          }
    
          .yb-body-1 {
              font-size: 20px;
          }
    
          .yb-body-2 {
              font-size: 16px;
          }
    
          .yb-body-3 {
              font-size: 14px;
          }
    
          .yb-body-4 {
              font-size: 12px;
          }
}

/* 680-959px */
@media (min-width: 680px) and (max-width: 959px) {
        .yb-section-button {
                margin-top: 24px;
            }
    .custom_grid_richtext_item{
        padding: 32px;
    }
    .yb-section-header{
        max-width: 600px;
        margin: 0px auto 56px;
    }
    .custom_grid_richtext_wrapper {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 8px;
        row-gap: 8px;
        --grid-cell-size: calc((100vw - 56px) / 2);
        grid-auto-rows: var(--grid-cell-size);
    }
    .section_header {
        margin-bottom: 48px;
    }
    .custom_product-card-wrapper .card .card__content {
        margin-top: 12px;
    }
    .yb-section-container {
        padding: 0 24px;
    }   
    .custom_product-card-wrapper .product-card-wrapper {
        padding: 16px;
        padding-bottom: 24px;
    }
    .bz-head-4 {
        font-size: 20px;
    }
    
    .bz-body-2 {
        font-size: 18px;
    }
    
    .bz-body-3 {
        font-size: 14px;
    }
    
    .bz-btn-1 {
        font-size: 16px;
    }
    .custom_grid_richtext-heading.yb-h3 {
        font-size: 32px;
    }
    .custom_grid_richtext-text {
        margin-top: 8px;
    }
    .custom_product-card-wrapper .product-card-wrapper {
        border-radius: 14.7px;
    }
    .custom_grid_richtext_item {
        padding-top: 48px;
    }
  .yb-section-container {
      padding: 0 24px;
  }

  .yb-section-title {
    font-size: 32px;
  }

  .yb-section-title+.yb-section-description {
      font-size: 16px;
  }

  .yb-block-title {
      font-size: 24px;
      line-height: 1.3;
      margin-bottom: 16px;
  }

  .yb-block-description {
      font-size: 16px;
      line-height: 1.5;
  }

  .yb-play-button {
      width: 80px;
      height: 80px;
      font-size: 29px;
  }

  .yb-close-button {
      top: 56px;
      right: 30px;
      width: 56px;
      height: 56px;
      font-size: 38px;
  }

  .yb-h1 {
      font-size: 36px;
  }

  .yb-h2 {
      font-size: 32px;
  }

  .yb-h3 {
      font-size: 24px;
  }

  .yb-h4 {
      font-size: 20px;
  }

  .yb-body-1 {
      font-size: 18px;
  }

  .yb-body-2 {
      font-size: 16px;
  }

  .yb-body-3 {
      font-size: 14px;
  }

  .yb-h5 {
      font-size: 16px;
      font-weight: 700;
      line-height: 140%;
  }
}

/* 960-1439px */
@media (min-width: 960px) and (max-width: 1439px) {
        .yb-section-button {
                margin-top: 24px;
            }
    .yb-section-header {
            max-width: 728px;
            margin: 0px auto 48px;
    }
    .custom_grid_richtext_item{
        padding: 24px;
    }
    .section_header {
        margin-bottom: 48px;
    }
    .custom_product-card-wrapper .card .card__content {
        margin-top: 7px;
    }
    .yb-section-container {
        width: 900px;
        padding: 0;
    }   
    .custom_product-card-wrapper .product-card-wrapper {
        padding: 12px;
        padding-bottom: 17px;
    }
    .custom-buttons .button {
        margin-top: 12px;
    }

    .bz-head-4 {
        font-size: 16px;
    }

    .bz-body-2 {
        font-size: 14px;
    }

    .bz-body-3 {
        font-size: 14px;
    }

    .bz-btn-1 {
        font-size: 14px;
    }
    .custom_grid_richtext-text {
        margin-top: 8px;
    }
    .custom_grid_richtext_item {
        padding-top: 32px;
    }
    .custom_grid_richtext_wrapper {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 213px);
        grid-auto-rows: 213px;
    }

    .custom_product-card-wrapper .product-card-wrapper {
        border-radius: 8px;
    }
          .yb-section-container {
              width: 900px;
              padding: 0;
          }
    
          .yb-section-title {
              font-size: 28px;
          }
    
          .yb-section-title+.yb-section-description {
              font-size: 16px;
          }
    
          .yb-section-text-container {
              padding-bottom: 48px;
          }
    
          .yb-block-title {
              font-size: 24px;
              line-height: 1.3;
              margin-bottom: 24px;
          }
    
          .yb-block-description {
              font-size: 14px;
              line-height: 1.5;
          }
    
          .yb-play-button {
              width: 80px;
              height: 80px;
              font-size: 29px;
          }
    
          .yb-video-container {
              width: 564px;
              height: 317px;
          }
    
          .yb-close-button {
              top: 48px;
              right: 48px;
              width: 48px;
              height: 48px;
              font-size: 30px;
          }
    
          .yb-h1 {
              font-size: 30px;
          }
    
          .yb-h2 {
              font-size: 28px;
          }
    
          .yb-h3 {
              font-size: 24px;
          }
    
          .yb-h4 {
              font-size: 20px;
          }
    
          .yb-h5 {
              font-size: 12px;
              font-weight: 700;
              line-height: 100%;
          }
    
          .yb-body-1 {
              font-size: 18px;
          }
    
          .yb-body-2 {
              font-size: 16px;
          }
    
          .yb-body-3 {
              font-size: 14px;
          }
}

/* 1440-1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
        .yb-section-button {
                margin-top: 32px;
            }
    .yb-section-header {
            max-width: 924px;
            margin: 0px auto 56px;
    }
    .custom_grid_richtext_item{
        padding: 32px;
    }
    .section_header {
        margin-bottom: 56px;
    }
    .custom_product-card-wrapper .card .card__content {
        margin-top: 8px;
    }
    .yb-section-container {
        width: 1200px;
        padding: 0;
    }   
    .custom_product-card-wrapper .product-card-wrapper {
        padding: 16px;
        padding-bottom: 24px;
    }
    .bz-head-4 {

        font-size: 20px;
    }
    
    .bz-body-2 {
        font-size: 16px;
    }
    
    .bz-body-3 {
        font-size: 14px;
    }

    .bz-btn-1 {
        font-size: 16px;
    }
    .custom_grid_richtext-text {
        margin-top: 12px;
    }
    .custom_grid_richtext_item {
        padding-top: 40px;
    }
    .custom_grid_richtext_wrapper {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 288px);
        grid-auto-rows: 288px;
    }
  .yb-section-container {
      width: 1200px;
      padding: 0;
  }

  .yb-section-title {
      font-size: 36px;
  }

  .yb-section-title+.yb-section-description {
      font-size: 18px;
  }

  .yb-section-text-container {
      padding-bottom: 56px;
  }

  .yb-block-title {
      font-size: 28px;
      line-height: 1.3;
      margin-bottom: 24px;
  }

  .yb-block-description {
      font-size: 16px;
      line-height: 1.6;
  }

  .yb-play-button {
      width: 88px;
      height: 88px;
      font-size: 32px;
  }

  .yb-video-container {
      width: 856px;
      height: 481px;
  }

  .yb-h1 {
      font-size: 40px;
  }

  .yb-h2 {
      font-size: 36px;
  }

  .yb-h3 {
      font-size: 28px;
  }

  .yb-h4 {
      font-size: 22px;
  }

  .yb-h5 {
      font-size: 14px;
      font-weight: 700;
      line-height: 120%;
  }

  .yb-body-1 {
      font-size: 18px;
  }

  .yb-body-2 {
      font-size: 16px;
  }

  .yb-body-3 {
      font-size: 14px;
  }
}

/* 1920px+ */
@media (min-width: 1920px) {
        .yb-section-button {
                margin-top: 40px;
            }
    .yb-section-header {
            max-width: 1000px;
            margin: 0px auto 64px;
    }
    .section_header {
        margin-bottom: 64px;
    }
    .custom_product-card-wrapper .card .card__content{
        margin-top: 8px;
    }
    .yb-section-container {
        width: 1400px;
        padding: 0;
    }   
    .custom_product-card-wrapper .product-card-wrapper {
        padding: 16px;
        padding-bottom: 24px;
    }
    .bz-head-4 {
        font-size: 24px;
    }
    .bz-body-2 {
        font-size: 18px;
    }
    .bz-body-3 {
        font-size: 16px;
    }
    .bz-btn-1 {
        font-size: 16px;
    }
    .custom_grid_richtext-text{
        margin-top: 24px;
    }
    .custom_grid_richtext_wrapper {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(1, 338px);
        grid-auto-rows: 338px;
        column-gap: 16px;
    }
    .custom_grid_richtext_item {
        padding-top: 48px;
    }
          .yb-section-container {
              width: 1400px;
              padding: 0;
          }
    
          .yb-section-title {
              font-size: 40px;
          }
    
          .yb-section-title+.yb-section-description {
              font-size: 18px;
          }
    
          .yb-section-text-container {
              padding-bottom: 64px;
          }
    
          .yb-block-title {
              font-size: 32px;
              line-height: 1.3;
              margin-bottom: 24px;
          }
    
          .yb-block-description {
              font-size: 18px;
              line-height: 1.6;
          }
    
          .yb-play-button {
              width: 88px;
              height: 88px;
              font-size: 32px;
          }
    
          .yb-video-container {
              width: 1200px;
              height: 675px;
          }
    
          .yb-h1 {
              font-size: 48px;
          }
    
          .yb-h2 {
              font-size: 40px;
          }
    
          .yb-h3 {
              font-size: 32px;
          }
    
          .yb-h4 {
              font-size: 24px;
          }
    
          .yb-h5 {
              font-size: 16px;
              font-weight: 700;
              line-height: 140%;
          }
    
          .yb-body-1 {
              font-size: 20px;
          }
    
          .yb-body-2 {
              font-size: 18px;
          }
    
          .yb-body-3 {
              font-size: 16px;
          }
    
          .yb-body-4 {
              font-size: 14px;
          }
          
}

/* Default (before any media query) */
.mobile-hidden {
    display: none !important;
}

.pc-hidden {
    display: none !important;
}

/* Mobile (max-width: 959px) */
@media screen and (max-width: 959px) {
    .mobile-hidden {
        display: block !important;
    }

    .pc-hidden {
        display: none !important;
    }

    .yb-video-container {
        width: 100%;
    }
}

/* Desktop (min-width: 960px) */
@media screen and (min-width: 960px) {
    .mobile-hidden {
        display: none !important;
    }

    .pc-hidden {
        display: block !important;
    }
}

@media screen and (min-width: 1440px) {
    .yb-close-button {
        top: 56px;
        right: 56px;
        width: 56px;
        height: 56px;
        font-size: 38px;
    }
}

