/* 自定义Css部分 */
@media screen and (min-width: 1000px) {
  .prose {
    --prose-default-spacing: 1.2rem;
  }
}
#template--18835983499309__multi_column_gXdzPw-carousel {
  gap: 12px;
  column-gap: 12px;
  row-gap: 12px;
}

#shopify-section-template--18835983499309__media_blocks_fRzKHm .media-blocks,
#shopify-section-template--18835983499309__media_blocks_fRzKHm .media-blocks {
  gap: 12px;
}

.product-list {
  --product-list-row-gap: 12px;
  --product-list-column-gap: 12px;
  /* column-gap: 12px;
    row-gap: 12px; */
}
.product-list .product-title {
  font-size: 6vw;
  margin: 10vw 5vw 0.5rem 5vw;
}
.product-list .product-sub-title {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
}
.product-list .price-list {
  font-size: 1rem;
}

@media screen and (min-width: 769px) {
  .product-list .product-title {
    font-size: 1.9vw;
    margin: 3vw 2.5vw 0.5rem 2.5vw;
  }
}

/* 标题样式恢复与优化 */
.related-content h1 {
  font-size: 2.2em;
  font-weight: bold;
  margin: 1em 0 0.67em 0;
  line-height: 1.3;
}

.related-content h2 {
  font-size: 1.8em;
  font-weight: bold;
  margin: 1em 0 0.83em 0;
}

.related-content h3 {
  font-size: 1.5em;
  font-weight: bold;
  margin: 1.6em 0 1em 0;
}

.related-content h4 {
  font-size: 1.3em;
  font-weight: bold;
  margin: 1.5em 0 1.2em 0;
}

.related-content h5 {
  font-size: 1.1em;
  font-weight: bold;
  margin: 1.5em 0;
}

.related-content h6 {
  font-size: 1em;
  font-weight: bold;
  margin: 2em 0;
}

/* 段落样式恢复与优化 */
.related-content p {
  font-size: 1em;
  line-height: 1.7;
  margin: 0 0 1.5em 0;
  text-align: justify;
}

/* 图片样式恢复与优化 */
.related-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

/* 视频样式恢复与优化 */
.related-content video {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 25px auto;
  border-radius: 4px;
}

/* 列表样式恢复与优化 */
.related-content ul,
ol {
  margin: 1em 0;
  padding-left: 2em;
}

.related-content li {
  margin: 0.5em 0;
  line-height: 1.6;
}

.related-content ul li {
  list-style-type: disc;
}

.related-content ol li {
  list-style-type: decimal;
}

/* 链接样式恢复与优化 */
.related-content a {
  color: #1a73e8;
  text-decoration: underline;
}

.related-content a:hover {
  color: #0d47a1;
  text-decoration: none;
}

/* 引用样式恢复与优化 */
.related-content blockquote {
  border-left: 4px solid #4a90e2;
  padding: 0 1em;
  margin: 1.5em 0;
  color: #555;
  background-color: #f9f9f9;
  padding: 15px 20px;
  border-radius: 0 4px 4px 0;
}

/* 水平线样式 */
.related-content hr {
  height: 1px;
  background-color: #eaeaea;
  border: none;
  margin: 2em 0;
}

/* 代码样式 */
.related-content code {
  font-family: monospace;
  background-color: #f5f5f5;
  padding: 0.2em 0.4em;
  border-radius: 3px;
  font-size: 0.9em;
}

.related-content pre {
  background-color: #f5f5f5;
  padding: 1em;
  border-radius: 4px;
  overflow: auto;
  font-family: monospace;
  line-height: 1.5;
}

.related-content pre code {
  background: none;
  padding: 0;
}

/* 菜单 */
.menu-drawer__panel > div > div > div > ul {
  font-size: var(--text-h5) !important;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .related-content h1 {
    font-size: 1.8em;
  }
  .related-content h2 {
    font-size: 1.5em;
  }
  .related-content h3 {
    font-size: 1.3em;
  }
}

/* 文章元信息 */
.related-content .article-meta {
  color: #666;
  font-size: 0.9em;
  margin-bottom: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* 图片说明文字 */
.related-content .caption {
  text-align: center;
  font-style: italic;
  color: #666;
  margin-top: -20px;
  margin-bottom: 30px;
  font-size: 0.95em;
}

/* 修改间距 */
.prose {
  --prose-default-spacing: 0.8rem;
  --prose-adjacent-heading-spacing: 0.6em;
}
@media screen and (min-width: 1000px) {
  .prose {
    --prose-default-spacing: 0.8rem;
    --prose-adjacent-heading-spacing: 0.3em;
    --prose-heading-spacing: 0.8rem;
  }
}

.heading,
.display-xl,
.display-l,
.display-m,
.h5,
.h6,
.h7,
.prose :where(h5, h6, p) {
  line-height: 1.5;
}

/* 血槽 */
@container content-box (width < 1200px) {
  .content-box {
    --content-box-spacing: 3.5rem;
  }
}
@container content-box (width < 750px) {
  .content-box {
    --content-box-spacing: 2.5rem;
  }
}
@container content-box (width < 450px) {
  .content-box {
    --content-box-spacing: 2rem;
  }
}

/* 控制栏 */
.scroll-marker-group--lines .scroll-marker {
  --scroll-marker-width: 1rem;
  --scroll-marker-height: 3px;
}
.scroll-marker-group--lines .scroll-marker[aria-current='true'] {
  --scroll-marker-width: 1.5rem;
  --scroll-marker-height: 3px;
}

@media screen and (min-width: 768px) {
  .scroll-marker-group--lines .scroll-marker {
    --scroll-marker-width: 3rem;
    --scroll-marker-height: 6px;
  }
  .scroll-marker-group--lines .scroll-marker[aria-current='true'] {
    --scroll-marker-width: 4rem;
    --scroll-marker-height: 6px;
  }
  .scroll-marker-group--lines {
    height: 6px;
  }
  .slideshow__autoplay-button .icon {
    width: 1rem;
  }
}

.slideshow__controls {
  margin-inline-end: 50%;
  transform: translate(50%, 0);
}

/* 字号定义 */
.shopify-section--rich-text {
  .prose p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
    font-size: 19px;
    line-height: 1.7;
    /* text-align: justify; */
    /* margin-top: 0.8em; */
    text-align: initial;
  }
  .prose :where(h1, h2, h3, h4) {
    margin-top: 0.8em;
  }
  .prose :where(h1, h2, h3, h4, h5, h6) {
    line-height: 1.4;
  }
  a.button + a.button {
    margin-left: 1rem;
  }
}
.shopify-section--text-with-media {
  ul,
  .prose p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
    font-size: 1.125rem;
  }
  ul li + li {
    margin-top: 0.25em;
  }
}
.shopify-section--rich-text .prose.prose-justify-center {
  /* text-align: initial; */
  ul,
  li {
    text-align: initial;
  }
}
@media screen and (min-width: 769px) {
  .shopify-section--rich-text {
    .prose p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
      font-size: 21px;
      line-height: 1.9;
    }
  }
  .shopify-section--text-with-media {
    ul,
    .prose p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
      font-size: 1.125rem;
    }
  }
}

/* 文本样式自定义 */
.shopify-section--rich-text .prose {
  img,
  iframe,
  video,
  p > img {
    margin: 0 auto;
  }

  :where(blockquote) {
    margin-top: 0.3rem;
    font-size: 0.8rem;
    color: #888889;
    p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
      font-size: 0.8rem;
    }
  }

  :where(blockquote):before {
    content: none;
  }
}

/* 文章字号 */
.shopify-section--main-page .prose,
.article-main .prose {
  padding-bottom: 2rem;

  p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
    font-size: 18px;
    line-height: 1.7;
    margin-top: 1em;
    text-align: initial;
  }

  :where(h1, h2, h3, h4) {
    margin-top: 0.5em;
    /* line-height:1.4; */
  }
}

/* 图像、视频标注 */
.shopify-section--rich-text .prose,
.shopify-section--main-page .prose,
.article-main .prose {
  img,
  iframe,
  video,
  p > img {
    margin: 0 auto;
  }

  :where(video, iframe, img) + p:has(em):not(.h1, .h2, .h3, .h4, .h5, .h6),
  p:has(img, iframe, video) + p:has(em):not(.h1, .h2, .h3, .h4, .h5, .h6) {
    margin-top: 0.3rem;
    font-size: 0.875rem;
    color: #888889;

    em {
      font-style: normal;
    }
  }

  ul,
  ol {
    padding-left: 0;
    font-size: 1rem;
    line-height: 1.6;
  }
  ul li,
  ol li {
    margin-block: 0.5rem;
    line-height: 1.6;
  }
  table thead {
    background: #333;
    color: #fff;
  }
  table th {
    font-weight: 600;
  }
}

/* 响应式设计 */
@media (max-width: 768px) {
  .shopify-section--rich-text .section-spacing {
    margin-left: 1.6rem;
    margin-right: 1.6rem;
  }

  .shopify-section--rich-text .prose,
  .article-main .prose {
    >img,
    iframe,
    video,
    p > img {
      margin-left: -1.25rem !important;
      margin-right: -1.25rem !important;
      max-width: calc(100% + 2.5rem);
    }
  }

  .table-scroller {
    overflow-x: auto;
  }
}

/* 修改首页图像显示比例 */
#template-index {
  .product-card .product-card__image {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
  }
}
#shopify-section-template--18835983499309__featured_collections_9VaPkQ {
  .product-card:hover .product-card__info {
    display: none;
  }
}

/* 产品嵌入page修正 */
#shopify-section-template--19083062575149__rich_text_qxWriV,
#shopify-section-template--19017272229933__rich_text_qxWriV,
#shopify-section-template--18835983695917__rich_text_qxWriV {
  @media (max-width: 768px) {
    .section-spacing {
      padding-top: 0;
    }
  }
  @media (min-width: 769px) {
    .section-spacing {
      padding-top: 0;
    }
    .prose {
      img,
      iframe,
      video,
      p > img {
        margin-left: calc(-1 * var(--container-gutter-context)) !important;
        margin-right: calc(-1 * var(--container-gutter-context)) !important;
        max-width: calc(100% + var(--container-gutter-context) * 2);
      }
    }
  }
}
/* 黑色模版 */
#template-product-tea-moodscape-dark,
#template-product-default-dark {
  #main {
    background: #1a1a1a;
  }
  .pswp__bg {
    background: #1a1a1a;
  }
}

.shopify-section--main-product {
  .container {
    /* margin: 0; */
    --container-gutter: 0;
    --section-vertical-spacing: 0;
  }
  .product-info {
    padding: 2rem;
  }
  .variant-picker__option-info {
    display: none;
  }
}
.shopify-section--featured-product-info {
  display: none;

  .variant-picker__option-info {
    display: none;
  }
}

/* 修改产品信息 价格信息样式 */
.product-info .product-info__block-item .prose {
  font-size: 1rem;
}
/* 自定义标题 */
.product-custom-title {
  display: none;
}
/* 自定义相册 */
.shopify-section--featured-product-gallery {
  .product {
    grid: auto / auto-flow 100%;
  }
}
.product-info__block-item .price-list {
  display: block;
}
.product-info__block-item .price-list.not-money,
.price-list.not-money{
  display:none;
}
.product-sub-title {
  margin-top: 0.75rem;
}
/* 定制周期 */
.product-delivery-cycle {
  font-size: 1.125rem;
  margin-top: 0.75rem;
}

@media screen and (max-width: 768px) {
  .shopify-section--main-product {
    .product {
      position: relative;
      gap: 0;
    }

    .product-info {
      /* position:relative; */
      text-align: center;
      position: absolute;
      padding: 3rem 20px 20px 20px;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;

      .product-info__block-item[data-block-type='image'] {
        margin-left: -2rem;
        margin-right: -2rem;
        margin-top: -2rem;
      }
      .product-info__block-item[data-block-type='title'] {
        text-align: center;
        padding-top: 1rem;
      }

      .product-info__block-item[data-block-type='buy-buttons'] {
        position: absolute;
        bottom: 32px;
        left: 25px;
        text-align: center;
        margin-block-end: 0;

        /* .h-stack{justify-content: center;} */

        .button.w-full {
          width: auto;
          min-width: 10rem;
        }
      }

      .product-info__block-item:has(.price-list) {
        position: absolute;
        left: 25px;
        bottom: 80px;
      }
      .product-title {
        font-size: 6vw;
      }
      .product-sub-title {
        font-size: 1rem;
        margin-top: 0.5rem;
      }
      /* 定制周期 */
      .product-delivery-cycle {
        display: none;
      }
    }

    /* PC版封面图 */
    .product-cover-fullwidth {
      display: none;
    }

    .product-gallery {
      width: 100%;

      .product-gallery__carousel {
        grid: auto / auto-flow 100%;
        grid-auto-flow: row;
      }
      /* 图像放大按钮 */
      open-lightbox-button {
        display: none;
      }

      .product-gallery__media {
        display: none;
      }
      .product-gallery__media:nth-of-type(1) {
        display: block;
      }
      .product-gallery__media > img {
        /* aspect-ratio: 1;
        object-fit: cover;
        object-position: bottom; */
      }
    }
  }

  /* 产品信息单独设置 */
  .product-info {
    .product-info__block-item:has(.price-list) {
      margin-top: 1rem;
      margin-bottom: 0;
      sale-price {
        font-size: 1.5rem;
        color: #ff8000;
      }
    }

    /* 选项单 */
    .product-info__block-item:has(.variant-picker) {
      margin-top: 0.5rem;
      margin-bottom: 2rem;
    }
    .product-info__block-item .variant-picker {
      gap: 0.75rem;
    }
    .product-info__block-item .block-swatch {
      --swatch-padding: 0.5rem 1.125rem;
    }
  }

  :where(#template-product, #template-product-default-dark, #template-product-tea-moodscape-light, #template-product-tea-moodscape-dark) {
    .shopify-section--main-product .product {
      .product-info {
        position: initial;
        height: auto;
        text-align: left;
        padding: 20px;

        .product-info__block-item[data-block-type='title'] {
          position: absolute;
          padding: 3rem 2rem 20px 2rem;
          left: 0;
          top: 0;
          width: 100%;
          text-align: center;
        }
        .product-info__block-item:has(.price-list) {
          position: initial;
          margin-top: 0.25rem;
        }
        .product-info__block-item[data-block-type='buy-buttons'] {
          position: initial;
          height: auto;
          text-align: left;
          margin-top: 1.25rem;
        }
        .product-info__block-item[data-block-type='buy-buttons'] .h-stack {
          justify-content: flex-start;
        }
      }
    }
  }

  /* 茶的价格 */
  .product-collection--chinas-ich-tea .product-info .product-info__block-item:has(.price-list) sale-price {
    color: #fff;
  }
  .shopify-section--featured-product-gallery {
    .product-gallery__carousel {
      grid: auto / auto-flow 100%;
      grid-auto-flow: row;
    }
    .product-gallery__media:nth-of-type(1) {
      display: none;
    }
  }
  .shopify-section--featured-product-info + .shopify-section--rich-text {
    display: block;

    .section-spacing {
      padding-top: 2rem;
      padding-bottom: 2rem;
    }
  }
}

@media screen and (min-width: 769px) {
  .product-info sale-price {
    font-size: 2rem;
    color: #ff8000;
  }

  .shopify-section--main-product .product-gallery .product-gallery__media {
    display: none;
  }

  .shopify-section--main-product .product-gallery .product-gallery__media:nth-of-type(1),
  .shopify-section--main-product .product-gallery .product-gallery__media:nth-of-type(2) {
    display: block;
  }

  .shopify-section--main-product .product-gallery .product-gallery__media:nth-of-type(1)>img,
  .shopify-section--main-product .product-gallery .product-gallery__media:nth-of-type(2)>img {
    display: block;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: bottom;
  }

  .shopify-section--main-product .container {
    --container-gutter: 0;
    --section-vertical-spacing: 0;
  }

  .shopify-section--main-product .product-info {
    padding: 3rem 3rem 3rem 0;
  }

  .shopify-section--main-product .product-sticky-add-to-cart {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #fff;
    backdrop-filter: blur(4px);
  }

  .shopify-section--main-product .product-sticky-add-to-cart .price-list sale-price {
    font-size: 1.2rem;
  }

  .shopify-section--main-product .product-info .product-info__block-item[data-block-type='price'] {
    margin-top: 2rem;
    margin-bottom: 0;
  }

  .shopify-section--main-product .product-info .product-info__block-item[data-block-type='variant-picker'] {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
  }

  .shopify-section--main-product .product-rerender-has-cover {
    display: block;
    position: relative;
  }

  .shopify-section--main-product .product-rerender-has-cover-fixed {
    overflow: hidden;
    clip-path: inset(0);
    height: 31.25vw;
    min-height: 30rem;
  }

  .shopify-section--main-product .product-cover-fullwidth {}

  .shopify-section--main-product .product-cover-fullwidth.cover-background-fixed:after {
    content: '';
    background: rgb(var(--overlay, 0 0 0 / 0.2));
    pointer-events: none;
    border-radius: inherit;
    position: absolute;
    inset: 0;
  }

  .shopify-section--main-product .product-cover-fullwidth.cover-background-fixed>img {
    position: fixed;
    top: 0;
    max-width: 100%;
    height: 100vh !important;
    object-fit: cover;
    object-position: center;
    width: 100%;
  }

  .shopify-section--main-product .product-has-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    bottom: 0;
    grid: auto / auto-flow 100%;
  }

  .shopify-section--main-product .product-has-cover .product-gallery {
    display: none;
  }

  .shopify-section--main-product .product-has-cover .product-info {
    max-width: 96%;
    padding: 5rem;
    height: 100%;
  }

  .shopify-section--main-product .product-has-cover .product-info .product-custom-title {
    display: block;
  }

  .shopify-section--main-product .product-has-cover .product-info .product-custom-title+.product-title {
    display: none;
  }

  .shopify-section--main-product .product-has-cover .product-info sale-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.25;
  }

  .shopify-section--main-product .product-has-cover .product-info .product-sub-title {
    display: none;
  }

  /* 定制周期 */
  .shopify-section--main-product .product-has-cover .product-info .product-delivery-cycle {
    display: none;
  }

  .product-has-cover .product-info.text-center .buy-buttons .h-stack {
    justify-content: center;
  }

  .product-has-cover .product-info.text-end .buy-buttons .h-stack {
    justify-content: flex-end;
  }

  .product-has-cover .product-info {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
  }

  .product-has-cover .product-info.top-left,
  .product-has-cover .product-info.zuoshang {
    justify-content: flex-start;
    align-items: flex-start;
  }

  .product-has-cover .product-info.top-center,
  .product-has-cover .product-info.zhongshang {
    justify-content: center;
    align-items: flex-start;
  }

  .product-has-cover .product-info.top-right,
  .product-has-cover .product-info.youshang {
    justify-content: flex-end;
    align-items: flex-start;
  }

  .product-has-cover .product-info.middle-left,
  .product-has-cover .product-info.zuozhong {
    justify-content: flex-start;
    align-items: center;
  }

  .product-has-cover .product-info.middle-center,
  .product-has-cover .product-info.zhongzhong {
    justify-content: center;
    align-items: center;
  }

  .product-has-cover .product-info.middle-right,
  .product-has-cover .product-info.youzhong {
    justify-content: flex-end;
    align-items: center;
  }

  .product-has-cover .product-info.bottom-left,
  .product-has-cover .product-info.zuoxia {
    justify-content: flex-start;
    align-items: flex-end;
  }

  .product-has-cover .product-info.bottom-center,
  .product-has-cover .product-info.zhongxia {
    justify-content: center;
    align-items: flex-end;
  }

  .product-has-cover .product-info.bottom-right,
  .product-has-cover .product-info.youxia {
    justify-content: flex-end;
    align-items: flex-end;
  }

  .product-info .product-info__block-item[data-block-type='buy-buttons'] .button.w-full {
    width: auto;
    min-width: 10rem;
  }

  /* 默认产品 */
  :where(#template-product, #template-product-default-dark, #template-product-tea-moodscape-light, #template-product-tea-moodscape-dark) {
    .shopify-section--main-product~.shopify-section:not(.shopify-section--featured-product-info) {
      width: calc(66% - 2rem);
    }

    .shopify-section--main-product .product-info {
      display: none;
    }

    .shopify-section--featured-product-gallery {
      margin-top: var(--product-gallery-carousel-gap, 0.25rem);
    }
  }

  #main {
    position: relative;
  }

  .shopify-section--featured-product-info {
    display: block;
    position: sticky;
    top: 6rem;
    float: right;
    width: 33%;
    right: 1%;
    margin-top: -37vw;
  }

  .shopify-section--featured-product-info .section-spacing {
    padding: 1.5rem;
  }

  .shopify-section--featured-product-info .product-sub-title {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  /* 定制周期 */
  .shopify-section--featured-product-info .product-delivery-cycle {
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  .shopify-section--featured-product-gallery .product-gallery__media:nth-of-type(1),
  .shopify-section--featured-product-gallery .product-gallery__media:nth-of-type(2) {
    display: none;
  }

  .shopify-section--featured-product-info+.shopify-section--rich-text {
    display: none;
  }

  .section-navigator+.shopify-section {
    display: block;
  }
}

/* 产品列表 */
@media screen and (max-width: 768px) {
  #shopify-section-template--19017272229933__rich_text_TY4qBA .prose,
  #shopify-section-template--18835983695917__rich_text_3bhRAY .prose {
    font-size: 1rem;

    p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
      font-size: 1rem;
    }
  }

  .product-list[mobile-items-per-row='2'] {
    .product-card__info {
      display: none;
    }
  }
}

/* 锁死列表图片高宽比 */
:where(#template-collection-china-ich-tea-ware, #template-collection-tea-moodscape) {
  .shopify-section--main-collection .product-card__media > img {
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: bottom;
  }
}

/* text-with-media最大宽度解除 */
.shopify-section--text-with-media .max-w-sm {
  max-width: initial;
}

/* 列表副导航 */
.shopify-section--banner .color-scheme {
  /* box-shadow: 0 1px 2px rgba(var(--text-color)/ .05); */
  border-bottom: 1px solid rgba(var(--text-color) / 0.05);
}
.shopify-section--banner .color-scheme .section-spacing--tight {
    padding-block-start: 0.75rem;
    padding-block-end: 1.25rem;
    max-height: 120px;
}

@media screen and (max-width: 768px) {
    .collection-quick-navigation .collection-quick-navigation__item {
        min-width: 90px;
    }
}
.collection-quick-navigation .collection-quick-navigation__item.is-selected > .rounded-full {
    outline: none;
}
.collection-quick-navigation .subheading {
    margin-top: -1.8rem;
    padding-bottom: 5px;
    position: relative;
}
.collection-quick-navigation .collection-quick-navigation__item.is-selected .subheading:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 5em;
    height: 1px;
    background: rgb(var(--text-color));
    transform: translate(-50%, 0);
}


/* 高亮偏移修正 */
.highlighted-heading:where([effect='marker'], [effect='tilted-marker']) em {
  margin-inline: 0;
}
/* 隐藏对比价标签 */
compare-at-price {
  display: none;
}

/* 快速购物弹窗 */
.shopify-section--main-product  .quick-buy-box .product-quick-buy-btn {
    width: auto;
  }

.shopify-section--main-product  .quick-buy-box .button__content {
    --button-padding-block: 0.65rem;
    --button-padding-inline: 1.5rem;
  }
.shopify-section--main-product  .quick-buy-box + .buy-buttons {
    display: none;
  }
.shopify-section--main-product  .from-price {
    font-size: 0.65em;
    font-weight: 400;
  }

.shopify-section--main-product  .product-info .product-info__block-item[data-block-type='price'],
.shopify-section--main-product  .product-info .product-info__block-item[data-block-type='variant-picker'] {
    display: none;
  }

@media screen and (max-width: 768px) {
  .shopify-section--main-product {
    .quick-buy-box .product-quick-buy-btn {
      min-width: 40vw;
    }

    .buy-buttons .quantity-selector {
      display: none;
    }

    .product-sticky-add-to-cart product-rerender {
      display: flex;
      justify-content: center;
    }
    .product-sticky-add-to-cart product-rerender > button {
      width: 50%;
    }

    .product-sticky-add-to-cart.product-collection--white-tea button,
    .product-sticky-add-to-cart.product-collection--green-tea button {
      background: #8cad19;
    }
  }
}
@media screen and (min-width: 769px) {
  .shopify-section--main-product {
    .product-sticky-add-to-cart.product-collection--white-tea button,
    .product-sticky-add-to-cart.product-collection--green-tea button {
      background: #8cad19;
    }
  }
}
quick-buy-modal {
  .quick-buy-box {
    display: none;
  }
  .product-add-buy-btn {
    display: block;
  }
  .product-gallery__media > img {
    aspect-ratio: 9 / 10;
    object-fit: cover;
    object-position: bottom;
  }
  .quick-buy__info .variant-picker__option-info {
    display: none;
  }
  .quick-buy__info .product-info__block-item[data-block-type='price'] {
    margin-top: 2rem;
    margin-bottom: 0;
  }
  .quick-buy__info .product-info__block-item[data-block-type='variant-picker'] {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
  }

  @media screen and (max-width: 768px) {
    .product-sub-title {
      /* font-size:1rem;margin-top:0.5rem; */
    }
    /* 定制周期 */
    .product-delivery-cycle {
      margin-top: 0;
      font-size: 1rem;
    }
    .price-list {
      font-size: 1.5rem;
    }
  }
  @media screen and (min-width: 769px) {
    .product-sub-title {
      font-size: 1rem;
      margin-top: 0.5rem;
    }
    /* 定制周期 */
    .product-delivery-cycle {
      font-size: 1rem;
      margin-top: 0.5rem;
    }
    .price-list {
      /* font-size: 1.5rem; */
    }
  }
}

/* 自定义视频 */
.custom-video-media {
  display: block;
  position: relative;
}

.collection .collection__toolbar {
  display: none;
}

/* 手机版头图样式 */
@media screen and (min-width: 769px) {
.shopify-section--featured-product-header {display: none;}
}
@media screen and (max-width: 768px) {
  .shopify-section--featured-product-header {
    position: relative;
    display: block;

    .product-gallery__carousel {
      grid: auto / auto-flow 100%;
      grid-auto-flow: row;
      gap: 0;
    }

    .product-gallery__media {
      display: none;
    }
    .product-gallery__media:nth-of-type(1) {
      display: block;
    }

    .product-info {
      position: absolute;
      top: 5vw;
      left: 0;
      width: 100%;
      padding: 1.75rem 2rem 0.25rem;
    }
  }
}

.shopify-section--multi-column .prose h2{
    margin-bottom: 0.6em;
}

/* 茶器 */
#template-collection-tea-ware-excerpt  #main{
    background: #1a1a1a;
}

/* 首页手机版字号 */
#template-index  .shopify-section--slideshow {
    margin-top: 12px;
}
#template-index .shopify-section--slideshow:nth-of-type(1){
    margin-top: 0;
}

#template-index {
  @media screen and (max-width: 768px) {
    .slideshow__slide .prose h3,
    .slideshow__slide .prose h4 {
      /* font-size: 24px; */
      font-size: 7.25vw;
    }
    .slideshow__slide .prose h5,
    .slideshow__slide .prose h6 {
      font-size: 18px;
    }
    .slideshow__slide .prose p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
      font-size: 14px;
    }

    #slideshow-template--18835983499309__slideshow_f8XcLd {
      .prose h2,
      .prose h3 {
        font-size: 9vw;
      }
      .slideshow__slide:nth-of-type(5) .prose h3 {
        font-size: 7.25vw;
      }
    }
    .multi-column__item h5 {
      font-size: 7.25vw;
    }
    #shopify-section-template--18835983499309__multi_column_gXdzPw {
      .multi-column__item .prose .max-w-md {
        top: 12.5%;
      }
      .prose h3 {
        font-size: 7.25vw;
      }
    }
  }
}

#slideshow-template--18835983499309__slideshow_rwmxqG{
  em{font-style: normal;}
  @media screen and (max-width: 768px) {
    .slideshow__slide:nth-of-type(1) .prose{ 
      h3 { font-size: 9vw; }
      h3 > strong {font-weight: 400; display:inline-block;}
      h3 > em { display:block; font-size: 6.5vw;  }
      h4 { font-size: 6.5vw; margin-top:0; }
      h5 { font-size: 18px; }
    }
    .slideshow__slide:nth-of-type(2) .prose h4 {
      font-size: 18px;
    }
     .slideshow__slide:nth-of-type(3) .prose{ 
      color:#000;
      h3{ font-size: 8vw; }
      h2 { font-size: 9.5vw; }
      .max-w-md > p{ font-size:15px; }
    }
  }
}
html[lang="en"] #slideshow-template--18835983499309__slideshow_rwmxqG{
  @media screen and (max-width: 768px) {
    .slideshow__slide:nth-of-type(1) .prose{ 
      h3 { font-size: 7vw; }
      h3 > strong {font-style:normal;font-weight: 400; display:inline-block;}
      h3 > em { display:block; font-size: 6.5vw;  }
      h4 { font-size: 6vw; margin-top:0; }
      h4 > em { display:block; font-size: 5.6vw;}
      h5 { font-size: 18px; }
      p{
        font-size:13px;
      }
    }
  }
} 


#template-index product-card badge-list {
  display: none;
}
@media screen and (max-width: 768px) {
  #template-index .shopify-section--image-with-text-overlay .prose .button-group,
  #template-index .shopify-section--slideshow .slideshow__slide .prose .button-group {
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 10%;
  }

  #slideshow-template--18835983499309__slideshow_rwmxqG .slideshow__slide .prose .button-group {
    position: relative;
    bottom: initial;
    left: 0;
    right: 0;
  }
}

.shopify-section--testimonials-custom {
  .testimonials__content {
    gap: 1.5rem;
  }
  .testimonials__content .prose {
    font-size: 1rem;
  }
  .circle-button:not([disabled]):hover,
  .circle-button .group\:circle-button:hover {
    color: #fff;
  }
  :is(.circle-button:not([disabled]):hover, .circle-button .group\:circle-button:hover):before {
    background: rgb(var(--button-background-primary));
  }
}
@media screen and (min-width: 769px) {
  .shopify-section--testimonials-custom {
  }
}

#shopify-section-template--19151869771821__featured_links_bMxa7t,
#shopify-section-template--19144611692589__featured_links_bMxa7t {
  .big-link {
    width: 100%;
    padding: 1.25rem 2rem;
  }
  .big-link p:not(.h4, .h5) {
    color: #888;
  }
  .big-link--colors:hover {
    background: none;
    color: #fff;
  }
  .subheading-badge {
    font-size: 3rem;
    color: #fff;
    padding-left: 2.5rem;
    margin-bottom: 2rem;
    margin-top: 0.5rem;
  }
  .container {
    margin: 0 auto;
    padding: 2rem 0;
  }
  .border-t {
    border: none;
  }

  .big-link--opacity:hover ~ .big-link--opacity > * {
    opacity: 1;
  }
  .big-link--opacity:has(~ .big-link--opacity:hover) > * {
    opacity: 1;
  }

  @media screen and (min-width: 700px) {
    .big-link {
      width: 36%;
      padding: 1.25rem 0.5rem 1.25rem 0;
    }
    .big-link:nth-of-type(3n) {
      width: 28%;
    }
    .big-link:nth-of-type(2),
    .big-link:nth-of-type(3) {
      border-top: none;
    }
    .container {
      margin: 0 auto;
      max-width: 1360px;
      padding: 3.2rem 2rem;
    }
    .subheading-badge {
      font-size: 4rem;
      padding-left: 0;
    }
    .big-link__image {
      width: 6.5rem;
    }
    p.h5 {
      font-size: 27px;
      line-height: 1.4;
    }
  }
  @media screen and (max-width: 700px) {
    .big-link {
      padding-left: 2.5rem;
    }
  }
  .section-stack {
    gap: 0;
  }
  .border-b {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0;
  }
  .big-link__image {
    border-radius: 6px;
  }
}

/* 二级菜单动画 */
.menu-drawer__panel-body {
  .faded-linklist > li:nth-child(1) {
    animation: fadeInMenu 0.5s 0.24s both;
  }

  .faded-linklist > li:nth-child(2) {
    animation: fadeInMenu 0.5s 0.3s both;
  }

  .faded-linklist > li:nth-child(3) {
    animation: fadeInMenu 0.5s 0.38s both;
  }

  .faded-linklist > li:nth-child(4) {
    animation: fadeInMenu 0.5s 0.46s both;
  }

  .faded-linklist > li:nth-child(5) {
    animation: fadeInMenu 0.5s 0.54s both;
  }
}
#shopify-section-template--19144611692589__featured_links_bMxa7t {
  .divide-y > a:nth-child(1) {
    animation: fadeInMenu 0.3s 0.2s both;
  }
  .divide-y > a:nth-child(2) {
    animation: fadeInMenu 0.3s 0.25s both;
  }
  .divide-y > a:nth-child(3) {
    animation: fadeInMenu 0.3s 0.3s both;
  }
  .divide-y > a:nth-child(4) {
    animation: fadeInMenu 0.35s 0.35s both;
  }
  .divide-y > a:nth-child(5) {
    animation: fadeInMenu 0.3s 0.4s both;
  }
  .divide-y > a:nth-child(6) {
    animation: fadeInMenu 0.3s 0.44s both;
  }
  .divide-y > a:nth-child(7) {
    animation: fadeInMenu 0.3s 0.48s both;
  }
  .divide-y > a:nth-child(8) {
    animation: fadeInMenu 0.3s 0.52s both;
  }
  .divide-y > a:nth-child(9) {
    animation: fadeInMenu 0.3s 0.56s both;
  }
  .divide-y > a:nth-child(10) {
    animation: fadeInMenu 0.3s 0.6s both;
  }
  .divide-y > a:nth-child(11) {
    animation: fadeInMenu 0.3s 0.65s both;
  }
  .divide-y > a:nth-child(12) {
    animation: fadeInMenu 0.3s 0.7s both;
  }
  .divide-y > a:nth-child(13) {
    animation: fadeInMenu 0.3s 0.75s both;
  }
  .divide-y > a:nth-child(14) {
    animation: fadeInMenu 0.3s 0.8s both;
  }
  .divide-y > a:nth-child(15) {
    animation: fadeInMenu 0.4s 0.84s both;
  }
}

@keyframes fadeInMenu {
  from {
    opacity: 0;
    transform: translate3d(0, -16px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* 自定义文章显示节点 */
.id-node:not(:empty) {
  border-left: 4px solid #ff8000;
  padding: 2px 8px;
  background: #fff;
  font-size: 12px;
}

/* 弹窗滚动条样式 */
.modal::part(body)::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
.modal::part(body)::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.15);
}
/* 滚动条滑块 */
.modal::part(body)::-webkit-scrollbar-thumb {
  background: #aaaaaa;
}
/* 滑块在鼠标悬停时的颜色 */
.modal::part(body)::-webkit-scrollbar-thumb:hover {
  background: #888899;
}

/* 图片加载 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* .product-gallery__media{
  > img[srcset]:not(.product-card__image){
    opacity: 0;
  }
  > img[srcset]:not(.product-card__image).c-loaded {
    animation: fadeInUp 0.5s ease forwards;
  }
}  */

#cart-drawer {
  .product-title {
    font-size: 0.875rem;
  }
  .line-item__line-price {
    font-size: 0.875rem;
  }
  .medium {
    font-size: 1rem;
  }
  .text-subdued {
    margin-top: 0.25rem;
  }
}

/* 定义全局变量 */
:root {
  --product-gallery-carousel-gap: 12px;
}

#shopify-chat {
  display: none;
}

.shopify-section--main-search {
  .product-list {
    --product-list-row-gap: 6px;
    --product-list-column-gap: 6px;
  }
  .product-card__image {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
  }
  .product-list .price-list {
    display: none;
  }

  @media screen and (max-width: 768px) {
    .product-list .product-title {
      font-size: 3.5vw;
      margin: 2vw 0 0 0;
    }
    .product-list .product-sub-title {
      font-size: 2.5vw;
      margin-top: 0.5vw;
    }
  }
  @media screen and (min-width: 769px) {
    .product-list .product-title {
      font-size: 1.5vw;
      margin: 2vw 0.5rem 0.25rem 0.5rem;
    }
    .product-list .product-sub-title {
      margin-top: 0.5vw;
    }
  }
}
.predictive-search__products {
  .product-card__image {
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center;
  }
  .price-list {
    display: none;
  }
  .line-clamp {
    font-size: 18px;
    margin-top: 12px;
  }
  .product-sub-title {
    font-size: 14px;
    margin-top: 4px;
  }

  @media screen and (max-width: 768px) {
    .line-clamp {
      font-size: 14px;
      margin-top: 2vw;
    }
    .product-sub-title {
      font-size: 12px;
    }
  }
}

.storage-icons {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: row;
  justify-content: space-evenly;
  gap: 0.5rem;
  margin: 1.75rem auto;
  font-size: 1rem;

  .icon-storage {
    text-align: center;
  }
  .icon-storage > svg {
    width: 4rem;
    height: 4rem;
    margin: 0.25rem auto;
  }

  @media screen and (max-width: 768px) {
    font-size: 0.875rem;
    .icon-storage > svg {
      width: 3rem;
      height: 3rem;
    }
  }
}

.storage-icons.storage-icons-white {
  .icon-storage > svg path {
    stroke: #fff !important;
  }
  .icon-storage > svg .fish {
    fill: #fff !important;
  }
}

/* 语言覆盖 */
html[lang='en'] {
  --text-heading-size-factor: 0.85;

  .shopify-section--main-product .product-info .product-title,
  .product-list .product-title {
    font-size: 4.75vw;
  }
  @media screen and (min-width: 769px) {
    .product-list .product-title {
      font-size: 1.5vw;
    }
  }

  /* 字号定义 */
  .shopify-section--rich-text {
    .prose p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
      font-size: 18px;
    }
  }
  @media screen and (min-width: 769px) {
    .shopify-section--rich-text {
      .prose p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
        font-size: 20px;
        line-height: 1.9;
      }
    }
    .shopify-section--text-with-media {
      ul,
      .prose p:not(.h1, .h2, .h3, .h4, .h5, .h6) {
        font-size: 1.125rem;
      }
    }
  }
}
