/** Shopify CDN: Minification failed

Line 20:15 Expected identifier but found whitespace
Line 20:17 Unexpected "{"
Line 20:26 Expected ":"
Line 25:12 Expected identifier but found whitespace
Line 25:14 Unexpected "{"
Line 25:23 Expected ":"
Line 25:63 Expected identifier but found "%"
Line 31:12 Expected identifier but found whitespace
Line 31:14 Unexpected "{"
Line 31:23 Expected ":"
... and 1 more hidden warnings

**/


/* CSS from section stylesheet tags */
.interactive-image {
    text-align: {{ section.settings.image_alignment }};
  }

  @media only screen and (min-width: 750px) {
    .interactive-image img {
      width: {{ section.settings.image_width_percent_desktop }}%;
    }
  }
  
  @media only screen and (max-width: 749px) {
    .interactive-image img {
      width: {{ section.settings.image_width_percent_mobile }}%;
    }
  }

  .hotspot-indicator {
    /* width: 10px;
    height: 10px;
    background-color: red;
    border-radius: 50%; */
    width: 10px;
    height: 10px;
    background-color: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.4);
    z-index: 1;
    transition: transform 0.2s ease-out;
  }
  
  @keyframes advancedPulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
  }
.custom-image-block {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}
.custom-image-item {
  flex: 1 0 20%; /* PC: 4 images per row */
  display: flex;
  justify-content: center;
  padding: 10px;
}
.custom-image-item img {
  display: block;
  margin: auto;
  max-width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .custom-image-item {
    flex: 1 0 50%; /* MB: 2 images per row */
  }
}
.hotspot-image {
  position: relative;
  width: 100%; /* Set the width to 100% of the parent element */
  height: 0; /* Set the height to 0 */
  padding-bottom: 56.25%; /* Set the bottom padding to 75% of the width */
  background-size: cover; /* Make the background image cover the entire element */
  background-position: center; /* Center the background image */
}

.hotspot {
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: red;
  border-radius: 50%;
}
/* 商品滑块Section - 重新设计版 */
:root {
  /* 基础变量 */
  --container-max-width: 1440px;
  --container-padding: 32px;
  --slider-gap: 20px;
  --card-border-radius: 8px;
  --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  --btn-bg-color: #000;
  --btn-text-color: #fff;
  --transition-speed: 0.3s;
  
  /* 响应式断点 */
  --breakpoint-md: 750px;
  --breakpoint-sm: 480px;
}

/* 基础容器样式 */
.product-slider-section {
  padding: 48px 0;
  width: 100%;
  overflow: hidden;
}

.container {
  max-width: var(--container-max-width);
  padding: 0 var(--container-padding);
  margin: 0 auto;
  box-sizing: border-box;
}

/* 标题样式 */
.section-title {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin: 0 0 16px;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 16px;
  color: #666;
  text-align: center;
  margin: 0 0 32px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

/* 滑块容器 */
.slider-outer-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 16px 0;
  margin: 0 40px;
}

/* 产品滑块 */
.products-slider {
  display: flex;
  gap: var(--slider-gap);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
  scroll-snap-type: x mandatory;
  padding: 4px 0 16px; /* 额外的底部padding防止阴影被裁剪 */
}

.products-slider::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* 产品卡片 */
.product-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: calc((100% - (var(--slider-gap) * ({{ section.settings.products_per_row_desktop }} - 1))) / {{ section.settings.products_per_row_desktop }});
  background: #fff;
  border-radius: var(--card-border-radius);
  box-shadow: var(--card-shadow);
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-2px);
}

.product-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  flex: 1;
  width: 100%;
}

/* 产品图片 */
.product-card-image {
  position: relative;
  padding-top: 100%; /* 1:1 宽高比 */
  background: #f8f8f8;
  overflow: hidden;
}

.product-card-image img,
.product-card-image .placeholder-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.05);
}

/* 产品内容 */
.product-card-content {
  padding: 16px;
  flex: 0 0 auto;
}

.product-card-title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

.product-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: 600;
}

.product-card-regular-price {
  color: #000;
}

.product-card-compare-price {
  color: #999;
  font-weight: normal;
  font-size: 14px;
  text-decoration: line-through;
}

.price-label {
  font-size: 12px;
  font-weight: normal;
  color: #666;
}

/* 添加到购物车按钮 */
.product-quick-add-btn {
  margin: 0 16px 16px;
  padding: 10px;
  background: var(--btn-bg-color);
  color: var(--btn-text-color);
  border: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-align: center;
}

.product-quick-add-btn:hover {
  opacity: 0.9;
}

.product-quick-add-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* 滑块箭头 */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.slider-arrow:hover {
  background: #f9f9f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-arrow.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.slider-prev {
  left: 0;
}

.slider-next {
  right: 0;
}

.slider-arrow svg {
  width: 24px;
  height: 24px;
  stroke: #000;
}

/* 无商品信息 */
.no-products-message {
  padding: 24px;
  text-align: center;
  color: #666;
  font-style: italic;
  width: 100%;
}

/* 响应式样式 */
@media (max-width: 750px) {
  :root {
    --container-padding: 16px;
    --slider-gap: 12px;
  }
  
  .product-slider-section {
    padding: 32px 0;
  }
  
  .section-title {
    font-size: 22px;
    margin: 0 0 12px;
  }
  
  .section-subtitle {
    font-size: 14px;
    margin: 0 0 24px;
  }
  
  .slider-wrapper {
    margin: 0 30px;
  }
  
  .product-card {
    width: calc((100% - (var(--slider-gap) * ({{ section.settings.products_per_row_mobile }} - 1))) / {{ section.settings.products_per_row_mobile }});
  }
  
  .product-card-content {
    padding: 12px;
  }
  
  .product-card-title {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  
  .product-card-price {
    font-size: 14px;
  }
  
  .product-quick-add-btn {
    margin: 0 12px 12px;
    padding: 8px;
    font-size: 13px;
  }
  
  .slider-arrow {
    width: 36px;
    height: 36px;
  }
  
  .slider-arrow svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .slider-wrapper {
    margin: 0 24px;
  }
  
  .slider-arrow {
    width: 32px;
    height: 32px;
  }
  
  .slider-arrow svg {
    width: 18px;
    height: 18px;
  }
  
  .product-card-title {
    font-size: 12px;
  }
  
  .product-quick-add-btn {
    font-size: 12px;
    padding: 7px;
  }
}
.text-organizer {
  max-height: 300px;
  overflow: hidden;
  position: relative;
}

.see-more-btn, .see-less-btn {
  display: block;
  margin: 10px auto;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.see-less-btn {
  display: none;
}