/** Shopify CDN: Minification failed

Line 532:0 Unexpected "}"

**/
/* ============================================
   Scenario Product Categories Section Styles
   ============================================ */

.scenario-section {
  padding: 80px 5%;
  overflow-x: hidden; /* 防止横向溢出 */
}

.scenario-section .container {
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: hidden; /* 防止横向溢出 */
}

/* Desktop Layout: Header Left, Cards Right */
.section-wrapper {
  display: flex;
  gap: 40px; /* 减小间距 */
  align-items: center;
  width: 100%; /* 确保不超出 */
  max-width: 100%;
  overflow: hidden; /* 防止溢出 */
}

/* Section Header */
.section-header {
  flex: 0 0 300px; /* 稍微减小宽度 */
  text-align: left;
  min-width: 250px;
}

.section-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #2B2D42;
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-description {
  font-size: 1.1rem;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 30px;
}

.primary-cta {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-button, #EA5B24);
  color: var(--color-button-text, white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(234, 91, 36, 0.3);
}

.primary-cta:hover {
  background: var(--color-button-hover, #D64E1D);
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(234, 91, 36, 0.4);
}

/* Carousel - Hidden by default, shown on mobile */
.carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  display: none;
}

.carousel-container {
  display: flex;
  transition: transform 0.3s ease-out;
  touch-action: pan-y pinch-zoom;
}

.carousel-slide {
  min-width: 100%;
  padding: 0 15px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background: #E63946;
  width: 24px;
  border-radius: 4px;
}

.swipe-hint {
  display: none;
  text-align: center;
  margin-top: 20px;
  color: #6B7280;
  font-size: 0.85rem;
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scenario Cards Grid - Horizontal Single Row Layout */
.scenarios-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* 调整最小宽度 */
  gap: 20px;
  width: 100%; /* 确保不超出容器 */
}

.scenario-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4; /* 3:4比例 */
  max-width: 100%; /* 防止溢出 */
}

.scenario-card:hover {
  transform: none; /* 移除卡片上浮 */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); /* 保持阴影不变 */
}

/* Card Background */
.card-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: contain; /* 等比例缩放,完整显示图片 */
  background-position: center; /* 居中显示 */
  background-repeat: no-repeat; /* 不重复 */
  transition: transform 0.6s ease;
}

.scenario-card:hover .card-background {
  transform: none; /* 移除图片放大 */
}

/* Overlay */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0) 0%, 
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.45) 100%
  ); /* 只在底部轻微遮罩 */
  z-index: 1;
  transition: opacity 0.3s ease;
}

.scenario-card:hover .card-overlay {
  background: linear-gradient(180deg, 
    rgba(0, 0, 0, 0) 0%, 
    rgba(0, 0, 0, 0) 70%,
    rgba(0, 0, 0, 0.45) 100%
  ); /* 保持不变 */
}

/* Icon */
.scenario-icon-wrapper {
  position: absolute;
  top: 25px;
  left: 25px;
  z-index: 2;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.scenario-card:hover .scenario-icon-wrapper {
  background: rgba(255, 255, 255, 0.15); /* 保持不变 */
  transform: none; /* 移除缩放 */
  border-color: rgba(255, 255, 255, 0.2);
}

.scenario-icon {
  width: 34px;
  height: 34px;
  stroke: white;
  stroke-width: 2;
  fill: none;
}

/* Card Content */
.scenario-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 25px; /* 从40px 35px缩小 */
  z-index: 2;
  color: white;
}

.scenario-title {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem); /* 从1.3-2rem缩小 */
  font-weight: 700;
  margin-bottom: 10px; /* 从12px缩小 */
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.scenario-subtitle {
  font-size: clamp(0.75rem, 1.2vw, 0.85rem); /* 从0.8-0.95rem缩小 */
  opacity: 0.95;
  margin-bottom: 20px; /* 从25px缩小 */
  line-height: 1.5; /* 从1.6缩小 */
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Button */
.explore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  color: white;
  font-size: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

.scenario-card:hover .explore-button {
  background: var(--color-button, #EA5B24);
  border-color: var(--color-button, #EA5B24);
  transform: scale(1.1);
}

.explore-button svg {
  margin-left: 0;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.3s ease;
}

.scenario-card:hover .explore-button svg {
  transform: translate(2px, -2px); /* 斜向右上移动 */
}

/* Product Count Badge */
.product-count {
  position: absolute;
  top: 25px; /* 从40px缩小 */
  right: 25px;
  z-index: 2;
  padding: 6px 14px; /* 从8px 16px缩小 */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px; /* 从20px缩小 */
  color: white;
  font-size: 0.8rem; /* 从0.85rem缩小 */
  font-weight: 600;
  letter-spacing: 0.3px; /* 从0.5px缩小 */
}

/* Feature Tags */
.feature-tags {
  position: absolute;
  bottom: 120px;
  left: 35px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease 0.1s;
}

.scenario-card:hover .feature-tags {
  opacity: 1;
  transform: translateY(0);
}

.feature-tag {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Responsive Styles */
@media (max-width: 1400px) {
  .scenarios-grid {
    grid-template-columns: repeat(3, 1fr); /* 大屏3列 */
  }
}

@media (max-width: 1024px) {
  .section-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .section-header {
    flex: none;
    position: static;
    max-width: 600px;
    margin-bottom: 20px;
    width: 100%;
  }

  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr); /* 平板2列 */
    width: 100%;
    gap: 20px;
  }
  
  .scenario-card {
    aspect-ratio: 3 / 4;
  }
  
  /* 平板端字体调整 */
  .scenario-title {
    font-size: 1.2rem; /* 从1.4rem缩小 */
  }
  
  .scenario-subtitle {
    font-size: 0.8rem; /* 从0.85rem缩小 */
    margin-bottom: 16px;
  }
  
  .explore-button {
    width: 44px;
    height: 44px;
  }
  
  .explore-button svg {
    width: 18px;
    height: 18px;
  }
  
  .product-count {
    font-size: 0.75rem; /* 缩小产品数量标签 */
    padding: 6px 12px;
  }
  
  .scenario-icon-wrapper {
    width: 55px; /* 缩小图标容器 */
    height: 55px;
  }
  
  .scenario-icon {
    width: 30px; /* 缩小图标 */
    height: 30px;
  }
}

@media (max-width: 768px) {
  /* Hide grid, show carousel on mobile */
  .scenarios-grid {
    display: none;
  }

  .carousel-wrapper {
    display: block;
  }

  .swipe-hint {
    display: block;
  }

  .carousel-slide .scenario-card {
    aspect-ratio: 3 / 4;
    height: auto;
    width: 100%;
    max-width: 100%;
  }
  
  /* 移动端字体调整 */
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-description {
    font-size: 0.95rem;
  }
  
  .scenario-title {
    font-size: 1.15rem; /* 从1.3rem缩小 */
    margin-bottom: 8px;
  }

  .scenario-subtitle {
    font-size: 0.75rem; /* 从0.8rem缩小 */
    margin-bottom: 16px;
  }

  .scenario-content {
    padding: 22px 18px; /* 从25px 20px缩小 */
  }
  
  .explore-button {
    width: 42px;
    height: 42px;
  }
  
  .explore-button svg {
    width: 16px;
    height: 16px;
  }
  
  .product-count {
    font-size: 0.7rem;
    padding: 5px 10px;
    top: 20px;
    right: 20px;
  }
  
  .scenario-icon-wrapper {
    width: 50px;
    height: 50px;
    top: 20px;
    left: 20px;
  }
  
  .scenario-icon {
    width: 28px;
    height: 28px;
  }
}

  .section-title {
    font-size: 2rem;
  }

  .scenario-title {
    font-size: 1.7rem;
  }

  .scenario-icon-wrapper {
    width: 60px;
    height: 60px;
    top: 30px;
    left: 30px;
  }

  .scenario-icon {
    width: 35px;
    height: 35px;
  }

  .product-count {
    top: 30px;
    right: 30px;
    font-size: 0.8rem;
    padding: 6px 12px;
  }

  .scenario-content {
    padding: 30px 25px;
  }

  /* Disable hover effects on mobile */
  .scenario-card:hover {
    transform: none;
  }

  .scenario-card:hover .card-background {
    transform: none;
  }

  .scenario-card:hover .explore-button {
    transform: none;
  }

  .scenario-card:hover .feature-tags {
    opacity: 0;
  }
}