/** Shopify CDN: Minification failed

Line 124:2 Unexpected "{"
Line 124:3 Expected identifier but found "%"
Line 124:27 Expected identifier but found "%"
Line 283:20 Unexpected "{"
Line 283:29 Expected ":"
Line 283:36 Unexpected "{"
Line 334:2 Unexpected "{"
Line 334:3 Expected identifier but found "%"
Line 334:43 Unexpected "{"
Line 334:44 Expected identifier but found "%"

**/
.s20d {
    font-family: 'Montserrat', sans-serif;
    padding: clamp(32px, 4vw, 56px) clamp(16px, 4vw, 40px);
    background:#C4EEFF4D;
    box-sizing: border-box;
  }

  .s20d__inner {
    max-width: var(--s20d-max);
    margin: 0 auto;
  }

  .s20d__head {
    text-align: center;
    margin-bottom: clamp(16px, 2.5vw, 28px);
  }

  .s20d__title {
    margin: 0 0 12px;
    font-size: clamp(20px, calc(20px + (40 - 20) * ((100vw - 375px) / 1545)), 40px);
    font-weight: 700;
    color: #000000;
  }

  .s20d__title-accent {
    color: #20B2AA;
    margin-right: 0.2em;
    font-weight: 800;
    font-style: Italic;
    font-size: clamp(30px, calc(30px + (60 - 30) * ((100vw - 375px) / 1545)), 60px);
  }

  .s20d__desc {
    margin: 0;
    color: #333333;
    font-weight: 300;
    font-size: clamp(12px, calc(12px + (20 - 12) * ((100vw - 375px) / 1545)), 20px);
    line-height: 1.45;
  }

  .s20d__tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(30px, 45vw, 50px);
    max-width: none;
    margin: 0 auto clamp(20px, 3vw, 36px);
  }

  .s20d__tab {
    flex: 0 0 auto;
    min-width: 322px;
    padding: clamp(10px, 1.2vw, 14px) clamp(16px, 2vw, 24px);
    border-radius: 4px;
    background: #F5F7FA;
    color: #000000;
    font-size: clamp(12px, calc(12px + (20 - 12) * ((100vw - 375px) / 1545)), 20px);
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
  }
  .s20d__tab:hover {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  }

  .s20d__tab.is-active {
    font-weight: 700;
    min-width: clamp(320px, 22vw, 400px);
    padding-left: clamp(20px, 2.5vw, 32px);
    padding-right: clamp(20px, 2.5vw, 32px);
    background: var(--s20d-accent);
    color: #fff;
  }

  .s20d__panel {
    display: none;
  }

  .s20d__panel.is-active {
    display: block;
  }

  .s20d__grid {
    display: grid;
    gap: clamp(12px, 2vw, 24px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  @media screen and (min-width: 750px) and (max-width: 1199px) {
    .s20d__grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media screen and (min-width: 1200px) {
    .s20d__grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }

  @media screen and (min-width: 750px) {
    .s20d__card[data-mobile-page] {
      display: flex !important;
    }
  }

  {% comment %} 移动端 {% endcomment %}
  @media screen and (max-width: 749px) {
    .s20d__tabs {
      gap: 4px;
      width: 100%;
      max-width: 100%;
      padding: 0 clamp(12px, 3vw, 16px);
      box-sizing: border-box;
    }

    .s20d__tab,
    .s20d__tab.is-active {
      flex: 1 1 0;
      min-width: 161px;
      width: 0;
      height: 38px;
      padding: 10px 6px;
      text-align: center;
      font-size: clamp(11px, 2.8vw, 14px);
      line-height: 1.25;
    }

    .s20d__tab.is-active {
      padding-left: 6px;
      padding-right: 6px;
    }
    .s20d__card-title {
    -webkit-box-orient: vertical;
    -webkit-line-clamp:3!important;
    }

    .s20d__card-price {
    font-weight: 600!important;
    }
    .money{
     font-size:18px;
    }

    .s20d__btn--shop,
     .s20d__btn--cart{
      min-height:29px!important;
      height:29px!important;
      max-height:29px!important;
      font-weight:500!important;
    }
    .s20d__view-more {
     text-decoration: underline!important;
    }

  }

  .s20d__card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: clamp(10px, 1.6vw, 16px);
  box-sizing: border-box;
  min-width: 0;
  border: 1px solid transparent;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease;
  will-change: transform, box-shadow;
  background-clip: padding-box;
  }

  @media screen and (max-width: 749px) {
    .s20d__card {
      display: none;
    }

    .s20d__card.is-page-visible {
      display: flex;
    }
  }

  .s20d__card:hover {
    border-image-slice: 1;
    border-image-source: linear-gradient(180deg, #0099FF 0%,rgba(0, 153, 255, 0.07) 100%);
    box-shadow: 0px 4px 20.8px 4px #1033651A;
  }

  .s20d__card-img {
    display: block;
    margin-bottom: clamp(8px, 1.2vw, 12px);
    line-height: 0;
    display:flex;
    justify-content:center;
  }
  

  .s20d__card-img img {
    width: 90%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
  }
  .s20d__card-img img:hover {
    transform: scale(1.05);
  }

  .s20d__card-title {
    margin: 0 0 clamp(6px, 1vw, 10px);
    font-size: clamp(14px, calc(14px + (18 - 14) * ((100vw - 375px) / 1545)), 18px);
    font-weight: 500;
    line-height: 1.35;
    color: #000000;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-decoration: none;
    transition: text-decoration 0.3s ease;
  }
  .s20d__card-title:hover {
     text-decoration: underline; /* 悬浮时加下划线 */
  }
  .s20d__card:has(.s20d__card-title:hover) .s20d__card-img img {
  transform: scale(1.08); /* 图片放大 8% */
  }

  .s20d__card-price {
    margin: 0 0 clamp(10px, 1.4vw, 14px);
    font-weight: 700;
    font-size: clamp(18px, calc(18px + (28 - 18) * ((100vw - 375px) / 1545)), 28px);
    line-height: 1.2;
    color: #000000;
  }

  .s20d__card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
    width: 100%;
  }

  .s20d__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 42px;
    min-height: 42px;
    max-height: 42px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: clamp(15px, calc(15px + (18 - 15) * ((100vw - 375px) / 1545)), 18px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  }

  #shopify-section-{{ section.id }} {
  --s20d-accent:#0099FF; /* 你的主题色 */
  --s20d-accent-hover: color-mix(in srgb, var(--s20d-accent) 72%, white); /* 悬浮更浅 */
}
  .s20d__btn--shop {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background: var(--s20d-accent);
    color: #fff;
    border: 1px solid var(--s20d-accent);
    transition: all 0.3s ease;
    isolation: isolate;
  }

  .s20d__btn--shop::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 0;
    height: 100%;
    transform: skewX(-20deg);
    transition: all 0.5s ease;
    pointer-events: none;
    z-index: 0;
    background: #FFFFFF33;
  }

  .s20d__btn--shop:hover::before {
    left: -20%;
    width: 150%;
  }
  .s20d__btn--shop__text {
    position: relative;
    z-index: 1; /* 高于伪元素 */
    display: inline-block;
  }
  .s20d__btn--shop:hover .s20d__btn--shop__text {
    color: #fff;
  }


  .s20d__btn--cart {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  background: #fff;
  color: var(--s20d-accent);
  border: 1px solid var(--s20d-accent);
  {% comment %} transition: all 0.3s ease; {% endcomment %}
  transition: background 0.3s ease, border-color 0.3s ease;
}

.s20d__btn--cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 0;
  height: 100%;
  transform: skewX(-20deg);
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: 0;
  background: #0099FF;
}

.s20d__btn--cart:hover::before {
  left: -20%;
  width: 150%;
}

.s20d__btn--cart__text {
  position: relative;
  z-index: 1;
  display: inline-block;
  transition: color 0.05s linear;
}

 .s20d__btn--cart:hover .s20d__btn--cart__text {
    color: #fff;
  }

  .s20d__btn--cart form {
    display: flex;
    align-items: stretch;
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 44px;
  }

  .s20d__btn--cart button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 0 12px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-sizing: border-box;
  }

  .s20d__footer--desktop {
    display: none;
    justify-content: center;
    margin-top: clamp(24px, 3vw, 40px);
  }

  .s20d__footer--mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 4vw, 32px);
    margin-top: clamp(20px, 3vw, 28px);
  }

  @media screen and (min-width: 750px) {
    .s20d__footer--desktop {
      display: flex;
    }

    .s20d__footer--mobile {
      display: none;
    }
  }

  .s20d__view-more {
    color: var(--s20d-accent);
    font-size: clamp(15px, calc(15px + (28 - 15) * ((100vw - 375px) / 1545)), 28px);
    font-weight: 600;
    text-decoration: none;
  }

  .s20d__view-more:hover {
    text-decoration: underline;
  }

  .s20d__pager {
    width: 35px;
    height: 35px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: var(--s20d-accent);
    opacity: 0.35;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
  }

  .s20d__pager.is-active {
    opacity: 1;
    cursor: pointer;
  }

  .s20d__pager-icon {
    display: block;
    width: 14px;
    height: 14px;
    pointer-events: none;
  }

  .s20d__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    padding: 24px;
  }