/** Shopify CDN: Minification failed

Line 10:0 Unexpected "<"
Line 72:0 Unexpected "<"

**/


/* CSS from section stylesheet tags */
<style>
.carousel-container {
  position: relative;
}

/* 横向滚动 carousel (移动端 + 桌面端) */
.carousel-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
}

.product-carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

/* 移动端默认宽度 */
@media screen and (max-width: 767px) {
  .product-carousel-item {
    width: 70%;
  }

  /* 隐藏箭头 */
  .carousel-arrow {
    display: none;
  }
}

/* 桌面端宽度根据 products_per_row 动态计算 */
@media screen and (min-width: 768px) {
  .product-carousel-item {
    width: calc((100% / {{ section.settings.products_per_row }}) - 1rem);
  }

  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    border-radius: 50%;
  }

  .carousel-prev {
    left: -1rem;
  }

  .carousel-next {
    right: -1rem;
  }
}
</style>
/* ---------- New Collection Styles ---------- */

  /* 阴影悬浮 */
  .style-shadow .product-grid-slide {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .style-shadow .product-grid-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
  }

  /* 紧凑网格 */
  .style-compact .product-grid-slide {
    margin: 4px;
  }
  .style-compact .product-grid-slide .product-card {
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #eee;
  }

  /* 图片覆盖文字 + hover 按钮 */
  .style-overlay .product-grid-slide {
    position: relative;
    overflow: hidden;
  }
  .style-overlay .product-grid-slide img {
    transition: transform .3s ease;
  }
  .style-overlay .product-grid-slide:hover img {
    transform: scale(1.05);
  }
  .style-overlay .product-grid-slide .product-card__info {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0));
    color: #fff;
    padding: 12px;
    text-align: center;
  }

  /* ---------- Tabs as text with underline ---------- */
  .section-collection-tabs .tabs {
    gap: 24px; /* tab 间距 */
    justify-content: center;
    margin-top: -12px; /* 向上靠近标题 */
  }

  .section-collection-tabs .tab-link {
    background: none;
    border: none;
    font-size: 18px; /* 字体变大 */
    font-weight: 500;
    color: #333;
    padding: 6px 0;
    position: relative;
    cursor: pointer;
  }

  .section-collection-tabs .tab-link span {
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    transition: border-color .25s ease, color .25s ease;
  }

  /* hover 效果 */
  .section-collection-tabs .tab-link:hover span {
    color: #000;
    border-color: rgba(0,0,0,0.3);
  }

  /* 当前选中的 tab */
  .section-collection-tabs .tab-link.current span {
    color: #000;
    border-color: #000;
    font-weight: 600;
  }