/* Custom styles for Cillago - Embrace Your Curve, Embrace Your Style Design */

/* Banner响应式优化 */
#banner-image {
  transition: transform 0.3s ease-in-out;
}

#banner-image:hover {
  transform: scale(1.02);
}

/* 移动端Banner优化 */
@media (max-width: 768px) {
  #banner-image {
    object-fit: cover;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  #banner-image {
    object-fit: cover;
  }
}

@media (min-width: 1025px) {
  #banner-image {
    object-fit: cover;
  }
}
:root {
  /* 橙色主题配色系统 - 电器电商风格 */
  --primary: #FEBD63; /* 浅橙色 - 主品牌色 */
  --secondary: #FFF7EB; /* 浅橙灰色背景 - 温暖感 */
  --neutralDark: #3f2205; /* 深橙灰 - 文字主色 */
  --neutralLight: #fff9f4; /* 浅橙白 - 背景色 */
  --accent: #FE5F01; /* 鲜橙强调色 - 活力感 */
  --linkText: #D97706; /* 橙色链接 */
  --cardBackground: #ffffff; /* 白色卡片 */
  --borderColor: #ffedd5; /* 浅橙色边框 */
  
  /* 橙色系统 - 主配色 */
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #f97316;
  --orange-500: #ea580c;
  --orange-600: #c2410c;
  --orange-700: #9a3412;
  --orange-800: #7c2d12;
  --orange-900: #7c2d12;
  
  /* 琥珀色系 - 副色 科技感 */
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  
  /* 灰色系统 - 辅助色10% */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Product card styling variables - 确保内容完整显示 */
  --product-card-height: 580px;
  --product-card-gap-mobile: 16px;
  --product-card-gap-tablet: 24px;
  --product-card-gap-desktop: 24px;
  --product-card-border-radius: 28px;
  --product-card-shadow: 0 4px 24px rgba(254, 95, 1, 0.1), 0 2px 8px rgba(254, 189, 99, 0.05);
  --product-card-shadow-hover: 0 12px 48px rgba(254, 95, 1, 0.18), 0 4px 16px rgba(254, 189, 99, 0.12);
}

body {
  font-family: 'Inter', 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #fff9f4 0%, #fff7eb 100%);
  padding-top: 200px; /* 为固定header留出空间 - PC端 */
}

/* 移动端适配 */
@media (max-width: 767px) {
  body {
    padding-top: 160px; /* 移动端header较小 */
  }
}

/* 平板端适配 */
@media (min-width: 768px) and (max-width: 1023px) {
  body {
    padding-top: 170px; /* 平板端header中等 */
  }
}

/* Input styles with Indonesian design */
.input {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  width: 100%;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(254, 189, 99, 0.1);
  transform: translateY(-1px);
}

/* Button styles with Green theme - 全新泰国科技风格 */
.btn-primary {
  background: linear-gradient(145deg, #FEBD63 0%, #FE5F01 100%);
  color: white;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(254, 189, 99, 0.45), 0 2px 10px rgba(254, 95, 1, 0.3);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(145deg, #FEBD63, #D97706);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(254, 189, 99, 0.55), 0 4px 14px rgba(254, 95, 1, 0.4);
  background: linear-gradient(145deg, #FE5F01 0%, #D97706 100%);
}

.btn-primary:active {
  transform: translateY(-1px) scale(1);
}

.btn-secondary {
  background: transparent;
  color: #D97706;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid #FE5F01;
  cursor: pointer;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #FE5F01 0%, #D97706 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(254, 95, 1, 0.3);
  border-color: #D97706;
}

/* Card styles - 全新泰国科技风格 */
.card {
  background: linear-gradient(145deg, #ffffff 0%, #FFF7EB 100%);
  border: 2px solid transparent;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(254, 189, 99, 0.08), 0 1px 4px rgba(254, 95, 1, 0.06);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #FEBD63, #FE5F01, #FEBD63);
  opacity: 0;
  transition: opacity 0.4s;
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  box-shadow: 0 12px 40px rgba(254, 95, 1, 0.15), 0 4px 12px rgba(254, 189, 99, 0.1);
  transform: translateY(-6px);
  border-color: rgba(254, 189, 99, 0.5);
}

/* Navigation styles */
.nav-link {
  color: var(--neutralDark);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {  
  color: var(--accent);
}

.nav-link.active {
  color: var(--accent);
  font-weight: 600;
}

.nav-link.active::after {
  width: 100%;
}

/* Background utilities */
.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.bg-neutral {
  background-color: var(--neutralLight);
}

/* Text utilities */
.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--neutralDark);
}

.text-accent {
  color: var(--accent);
}

/* Border utilities */
.border-primary {
  border-color: var(--primary);
}

.border-neutral {
  border-color: var(--borderColor);
}

/* Swiper styles - Indonesian design */
.swiper-container {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 20px 0;
}

.swiper-wrapper {
  display: flex;
  align-items: stretch;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-shrink: 0;
  height: 100%;
}

/* Product card styling */
.swiper-slide product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.swiper-slide product-card > div {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.swiper-slide product-card .p-4 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Product grid styling - 统一商品卡片风格 */
#new-products-grid product-card,  
.swiper-slide product-card,  
#shop-grid product-card,  
#related-grid product-card,
#featured-scroll product-card {
  min-height: var(--product-card-height);
  height: 100%;
  border-radius: 28px;
  box-shadow: 0 4px 24px rgba(254, 95, 1, 0.1), 0 2px 8px rgba(254, 189, 99, 0.05);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  background: linear-gradient(145deg, #ffffff 0%, #FFF7EB 100%);
  overflow: visible;
  border: 2px solid transparent;
  position: relative;
}

#new-products-grid product-card:hover,
.swiper-slide product-card:hover,
#shop-grid product-card:hover,
#related-grid product-card:hover,
#featured-scroll product-card:hover {
  box-shadow: 0 12px 36px rgba(254, 95, 1, 0.15), 0 6px 16px rgba(254, 189, 99, 0.12);
  transform: translateY(-6px);
  border-color: rgba(254, 189, 99, 0.4);
}

/* 简化的hover效果，移除了可能导致奇怪效果的radial-gradient */
#new-products-grid product-card::before,  
.swiper-slide product-card::before,  
#shop-grid product-card::before,  
#related-grid product-card::before,
#featured-scroll product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(145deg, #FEBD63, #FE5F01);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

#new-products-grid product-card:hover::before,
.swiper-slide product-card:hover::before,
#shop-grid product-card:hover::before,
#related-grid product-card:hover::before,
#featured-scroll product-card:hover::before {
  opacity: 1;
}

/* Mobile product card height adjustment - 确保内容完整 */
@media (max-width: 767px) {
  #new-products-grid product-card,
  .swiper-slide product-card,
  #shop-grid product-card,
  #related-grid product-card,
  #featured-scroll product-card {
    min-height: auto;
    border-radius: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #new-products-grid product-card,
  .swiper-slide product-card,
  #shop-grid product-card,
  #related-grid product-card,
  #featured-scroll product-card {
    min-height: 540px;
  }
}

/* 确保网格布局中卡片等高 */
#new-products-grid,
#shop-grid,
#related-grid,
#featured-scroll {
  display: grid;
  align-items: stretch;
}

#new-products-grid > *,
#shop-grid > *,
#related-grid > *,
#featured-scroll > * {
  display: flex;
  flex-direction: column;
}

/* Product Card Layout - 等高内容分布 */
#new-products-grid product-card .p-4,
.swiper-slide product-card .p-4,
#shop-grid product-card .p-4,
#related-grid product-card .p-4,
#featured-scroll product-card .p-4 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 1.5rem;
  text-align: left;
  min-height: 0;
}

/* 商品卡片内容区域 */
#new-products-grid product-card .category-rating,
.swiper-slide product-card .category-rating,
#shop-grid product-card .category-rating,
#related-grid product-card .category-rating,
#featured-scroll product-card .category-rating {
  margin-bottom: 0.75rem;
}

#new-products-grid product-card h3,
.swiper-slide product-card h3,
#shop-grid product-card h3,
#related-grid product-card h3,
#featured-scroll product-card h3 {
  margin-bottom: 0.75rem;
  flex-grow: 0;
}

#new-products-grid product-card .price-section,
.swiper-slide product-card .price-section,
#shop-grid product-card .price-section,
#related-grid product-card .price-section,
#featured-scroll product-card .price-section {
  margin-top: auto;
  margin-bottom: 0.75rem;
}

#new-products-grid product-card .product-view-btn,
.swiper-slide product-card .product-view-btn,
#shop-grid product-card .product-view-btn,
#related-grid product-card .product-view-btn,
#featured-scroll product-card .product-view-btn {
  margin-top: 0;
}

/* Product Card Content Sections - Fixed Heights */
#new-products-grid product-card .category-rating,
.swiper-slide product-card .category-rating,
#shop-grid product-card .category-rating,
#related-grid product-card .category-rating,
#featured-scroll product-card .category-rating {
  text-align: left;
  margin-bottom: 0.75rem;
  min-height: 3rem;
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

#new-products-grid product-card h4,
.swiper-slide product-card h4,
#shop-grid product-card h4,
#related-grid product-card h4,
#featured-scroll product-card h4 {
  text-align: left;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  font-weight: 600;
  color: #1f2937;
  height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-shrink: 0;
}

#new-products-grid product-card .variants-info,
.swiper-slide product-card .variants-info,
#shop-grid product-card .variants-info,
#related-grid product-card .variants-info,
#featured-scroll product-card .variants-info {
  text-align: left;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 500;
  height: 1.2rem;
  flex-shrink: 0;
}

/* Product Card Price Layout - India Market - Fixed Height */
#new-products-grid product-card .price-section,
.swiper-slide product-card .price-section,
#shop-grid product-card .price-section,
#related-grid product-card .price-section,
#featured-scroll product-card .price-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
  text-align: left;
  height: 3rem;
  flex-shrink: 0;
  justify-content: center;
}

#new-products-grid product-card .price-section .line-through,
.swiper-slide product-card .price-section .line-through,
#shop-grid product-card .price-section .line-through,
#related-grid product-card .price-section .line-through,
#featured-scroll product-card .price-section .line-through {
  order: 2;
  font-size: 0.875rem;
  color: #6b7280;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
  text-align: left;
  height: 1.25rem;
  line-height: 1.25rem;
}

#new-products-grid product-card .price-section .font-bold,
.swiper-slide product-card .price-section .font-bold,
#shop-grid product-card .price-section .font-bold,
#related-grid product-card .price-section .font-bold,
#featured-scroll product-card .price-section .font-bold {
  order: 1;
  font-size: 1.125rem;
  color: var(--green-600);
  font-weight: 700;
  text-align: left;
  height: 1.5rem;
  line-height: 1.5rem;
}

/* Product Card Button Section - Fixed Height */
#new-products-grid product-card .button-section,
.swiper-slide product-card .button-section,
#shop-grid product-card .button-section,
#related-grid product-card .button-section,
#featured-scroll product-card .button-section {
  margin-top: auto;
  padding-top: 0.75rem;
  text-align: left;
  height: 3.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#new-products-grid product-card .product-view-btn,
.swiper-slide product-card .product-view-btn,
#shop-grid product-card .product-view-btn,
#related-grid product-card .product-view-btn,
#featured-scroll product-card .product-view-btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: linear-gradient(145deg, var(--primary) 0%, var(--accent) 100%);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(254, 189, 99, 0.3);
}

#new-products-grid product-card .product-view-btn::before,
.swiper-slide product-card .product-view-btn::before,
#shop-grid product-card .product-view-btn::before,
#related-grid product-card .product-view-btn::before,
#featured-scroll product-card .product-view-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

#new-products-grid product-card .product-view-btn:hover::before,
.swiper-slide product-card .product-view-btn:hover::before,
#shop-grid product-card .product-view-btn:hover::before,
#related-grid product-card .product-view-btn:hover::before,
#featured-scroll product-card .product-view-btn:hover::before {
  width: 300px;
  height: 300px;
}

#new-products-grid product-card .product-view-btn .icon,
.swiper-slide product-card .product-view-btn .icon,
#shop-grid product-card .product-view-btn .icon,
#related-grid product-card .product-view-btn .icon,
#featured-scroll product-card .product-view-btn .icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

#new-products-grid product-card .product-view-btn:hover,
.swiper-slide product-card .product-view-btn:hover,
#shop-grid product-card .product-view-btn:hover,
#related-grid product-card .product-view-btn:hover,
#featured-scroll product-card .product-view-btn:hover {
  background: linear-gradient(145deg, var(--accent) 0%, var(--orange-600) 100%);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 24px rgba(254, 95, 1, 0.4), 0 2px 8px rgba(234, 88, 12, 0.2);
}

#new-products-grid product-card .product-view-btn:hover .icon,
.swiper-slide product-card .product-view-btn:hover .icon,
#shop-grid product-card .product-view-btn:hover .icon,
#related-grid product-card .product-view-btn:hover .icon,
#featured-scroll product-card .product-view-btn:hover .icon {
  transform: scale(1.1);
}

/* Mobile Layout Adjustments - 优化移动端布局 */
@media (max-width: 767px) {
  /* 减少移动端padding */
  #new-products-grid product-card .p-4,
  .swiper-slide product-card .p-4,
  #shop-grid product-card .p-4,
  #related-grid product-card .p-4,
  #featured-scroll product-card .p-4 {
    padding: 0.75rem;
  }

  /* 分类和评分区域优化 */
  #new-products-grid product-card .category-rating,
  .swiper-slide product-card .category-rating,
  #shop-grid product-card .category-rating,
  #related-grid product-card .category-rating,
  #featured-scroll product-card .category-rating {
    min-height: auto;
    margin-bottom: 0.5rem;
    gap: 0.25rem;
  }
  
  /* 标题优化 */
  #new-products-grid product-card h4,
  .swiper-slide product-card h4,
  #shop-grid product-card h4,
  #related-grid product-card h4,
  #featured-scroll product-card h4 {
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
  }
  
  /* 变体信息优化 */
  #new-products-grid product-card .variants-info,
  .swiper-slide product-card .variants-info,
  #shop-grid product-card .variants-info,
  #related-grid product-card .variants-info,
  #featured-scroll product-card .variants-info {
    height: auto;
    margin-bottom: 0.5rem;
    font-size: 0.6875rem;
  }
  
  /* 价格区域优化 */
  #new-products-grid product-card .price-section,
  .swiper-slide product-card .price-section,
  #shop-grid product-card .price-section,
  #related-grid product-card .price-section,
  #featured-scroll product-card .price-section {
    min-height: auto;
    margin-bottom: 0.75rem;
  }
  
  #new-products-grid product-card .price-section .line-through,
  .swiper-slide product-card .price-section .line-through,
  #shop-grid product-card .price-section .line-through,
  #related-grid product-card .price-section .line-through,
  #featured-scroll product-card .price-section .line-through {
    font-size: 0.6875rem;
    height: auto;
    line-height: 1.2;
  }
  
  #new-products-grid product-card .price-section .font-bold,
  .swiper-slide product-card .price-section .font-bold,
  #shop-grid product-card .price-section .font-bold,
  #related-grid product-card .price-section .font-bold,
  #featured-scroll product-card .price-section .font-bold {
    font-size: 0.9375rem;
    height: auto;
    line-height: 1.3;
  }
  
  /* 按钮区域优化 */
  #new-products-grid product-card .button-section,
  .swiper-slide product-card .button-section,
  #shop-grid product-card .button-section,
  #related-grid product-card .button-section,
  #featured-scroll product-card .button-section {
    height: auto;
    margin-top: 0.5rem;
    padding-top: 0;
  }
  
  #new-products-grid product-card .product-view-btn,
  .swiper-slide product-card .product-view-btn,
  #shop-grid product-card .product-view-btn,
  #related-grid product-card .product-view-btn,
  #featured-scroll product-card .product-view-btn {
    padding: 0.75rem 1rem !important;
    font-size: 0.875rem !important;
    white-space: nowrap !important;
    gap: 0 !important;
    border-radius: 16px !important;
    text-transform: none !important;
    height: auto !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 600 !important;
  }

  /* 移动端图标优化 */
  #new-products-grid product-card .category-rating svg,
  .swiper-slide product-card .category-rating svg,
  #shop-grid product-card .category-rating svg,
  #related-grid product-card .category-rating svg,
  #featured-scroll product-card .category-rating svg {
    width: 0.875rem;
    height: 0.875rem;
  }

  /* 分类标签优化 */
  #new-products-grid product-card .category-rating span,
  .swiper-slide product-card .category-rating span,
  #shop-grid product-card .category-rating span,
  #related-grid product-card .category-rating span,
  #featured-scroll product-card .category-rating span {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
  }

  /* 移动端折扣标签和收藏按钮优化 - 防止重合 */
  #new-products-grid product-card [data-wish],
  .swiper-slide product-card [data-wish],
  #shop-grid product-card [data-wish],
  #related-grid product-card [data-wish],
  #featured-scroll product-card [data-wish] {
    top: 0.5rem !important;
    right: 0.5rem !important;
    padding: 0.375rem !important;
  }

  #new-products-grid product-card [data-wish] svg,
  .swiper-slide product-card [data-wish] svg,
  #shop-grid product-card [data-wish] svg,
  #related-grid product-card [data-wish] svg,
  #featured-scroll product-card [data-wish] svg {
    width: 1rem !important;
    height: 1rem !important;
  }

  /* 折扣标签和New标签优化 - 防止与收藏按钮重合 */
  #new-products-grid product-card .absolute.top-4.left-4,
  .swiper-slide product-card .absolute.top-4.left-4,
  #shop-grid product-card .absolute.top-4.left-4,
  #related-grid product-card .absolute.top-4.left-4,
  #featured-scroll product-card .absolute.top-4.left-4 {
    top: 0.5rem !important;
    left: 0.5rem !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.625rem !important;
  }

  #new-products-grid product-card .absolute.top-4.left-4 svg,
  .swiper-slide product-card .absolute.top-4.left-4 svg,
  #shop-grid product-card .absolute.top-4.left-4 svg,
  #related-grid product-card .absolute.top-4.left-4 svg,
  #featured-scroll product-card .absolute.top-4.left-4 svg {
    width: 0.625rem !important;
    height: 0.625rem !important;
  }

  #new-products-grid product-card .absolute.bottom-4.left-4,
  .swiper-slide product-card .absolute.bottom-4.left-4,
  #shop-grid product-card .absolute.bottom-4.left-4,
  #related-grid product-card .absolute.bottom-4.left-4,
  #featured-scroll product-card .absolute.bottom-4.left-4 {
    bottom: 0.5rem !important;
    left: 0.5rem !important;
    padding: 0.25rem 0.5rem !important;
    font-size: 0.625rem !important;
  }

  #new-products-grid product-card .absolute.bottom-4.left-4 svg,
  .swiper-slide product-card .absolute.bottom-4.left-4 svg,
  #shop-grid product-card .absolute.bottom-4.left-4 svg,
  #related-grid product-card .absolute.bottom-4.left-4 svg,
  #featured-scroll product-card .absolute.bottom-4.left-4 svg {
    width: 0.625rem !important;
    height: 0.625rem !important;
  }
}

#new-products-grid product-card:hover,
.swiper-slide product-card:hover,
#shop-grid product-card:hover,
#related-grid product-card:hover,
#featured-scroll product-card:hover {
  box-shadow: 0 12px 48px rgba(34, 197, 94, 0.18), 0 4px 16px rgba(20, 184, 166, 0.12);
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(199, 236, 202, 0.6);
}

/* Product card content styling - removed duplicate */

/* Variant info styling - removed duplicate */

/* Product card content area layout - removed duplicate */

/* Product card top info area alignment - removed duplicate */

/* Product card price area alignment - removed duplicate */

/* Product card button area alignment - removed duplicate */

/* ========================================
   PRODUCT DETAIL PAGE (PDP) STYLES
   ======================================== */

/* PDP Main Container */
#pdp {
  background: linear-gradient(135deg, #f2984621 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.08);
}

/* PDP Image Gallery */
#pdp .space-y-4 > div:first-child {
  background: linear-gradient(135deg, #ffffff 0%, #f2984621 100%);
  border: 2px solid #f2984621;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px #f2984621;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#pdp .space-y-4 > div:first-child:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.15);
}

#pdp img {
  border-radius: 16px;
  transition: transform 0.3s ease;
}

#pdp img:hover {
  transform: scale(1.02);
}

/* PDP Thumbnail Grid */
#pdp .grid.grid-cols-4 {
  gap: 0.75rem;
}

#pdp .grid.grid-cols-4 > div {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

#pdp .grid.grid-cols-4 > div:hover {
  border-color: var(--green-300);
  background: linear-gradient(135deg, #faf5ff 0%, #e9d5ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

/* PDP Product Info Card */
#pdp .lg\\:sticky > div {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  border: 2px solid #f2984621;
  border-radius: 20px;
  box-shadow: 0 8px 32px #f2984621;
  backdrop-filter: blur(10px);
}

/* PDP Category Badge */
#pdp-category {
  /* background: linear-gradient(135deg, var(--green-500) 0%, var(--green-600) 100%) !important; */
  color: white !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  /* box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3); */
}

/* PDP Rating Stars */
#pdp .flex.items-center.gap-1 svg {
  color: var(--teal-400) !important;
  filter: drop-shadow(0 1px 2px rgba(20, 184, 166, 0.3));
}

/* PDP Title */
#pdp-title {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-800) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

/* PDP Price */
#pdp-price {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

/* PDP 原价样式 - 深灰色 */
#pdp-price .line-through {
  color: #555555 !important; /* 深灰色 */
  text-decoration: line-through;
  text-decoration-thickness: 2px; /* 更粗的删除线 */
  text-decoration-color: #555555; /* 删除线颜色与文字一致 */
  font-weight: 500; /* 稍微加粗 */
  opacity: 1; /* 完全不透明，确保可见 */
}

/* PDP Variant Selection */
#pdp-sizes {
  gap: 0.75rem;
}

#pdp-sizes button {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-weight: 600;
  color: #64748b;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

#pdp-sizes button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

#pdp-sizes button:hover {
  border-color: var(--green-300);
  color: var(--green-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

#pdp-sizes button.bg-primary {
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%) !important;
  border-color: var(--green-500) !important;
  color: white !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transform: translateY(-2px);
}

#pdp-sizes button.bg-primary::before {
  left: 0;
}

/* PDP Action Buttons */
#btn-add-cart {
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%) !important;
  /* border: none !important; */
  /* color: white !important; */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
  position: relative;
  overflow: hidden;
}

#btn-add-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-600) 0%, var(--teal-600) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

#btn-add-cart:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4) !important;
}

#btn-add-cart:hover::before {
  left: 0;
}

#btn-add-cart svg,
#btn-add-cart span {
  position: relative;
  z-index: 1;
}

#btn-buy-now {
  border: 2px solid var(--green-500) !important;
  color: var(--green-600) !important;
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

#btn-buy-now::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

#btn-buy-now:hover {
  color: white !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

#btn-buy-now:hover::before {
  left: 0;
}

#btn-buy-now span {
  position: relative;
  z-index: 1;
}

/* PDP Description Section */
#pdp .border-t {
  border-color: #f2984621 !important;
}

#pdp .border-t h3 {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-800) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

#pdp-desc {
  color: #64748b !important;
  line-height: 1.8;
  font-size: 1rem;
}

#pdp-desc li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
}

#pdp-desc li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green-500);
  font-weight: bold;
  font-size: 1.1rem;
}

/* PDP Related Products */
#pdp + div h3 {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-800) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
}

/* PDP Breadcrumbs */
#breadcrumbs {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  border: 1px solid #f2984621;
  margin-bottom: 2rem;
}

#breadcrumbs a {
  color: var(--green-600);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

#breadcrumbs a:hover {
  color: var(--green-800);
}

/* Responsive PDP Adjustments */
@media (max-width: 1023px) {
  #pdp {
    padding: 1.5rem;
  }
  
  #pdp .lg\\:sticky > div {
    padding: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  #pdp {
    padding: 1rem;
  }
  
  #pdp .lg\\:sticky > div {
    padding: 1rem !important;
  }
  
  #pdp-price {
    font-size: 2rem !important;
  }
  
  #pdp-title {
    font-size: 1.75rem !important;
  }
}

/* ========================================
   HEADER FUNCTIONAL ICONS STYLES
   ======================================== */

/* Search Button Styling */
.search-btn {
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.search-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-600) 0%, var(--teal-600) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

.search-btn svg {
  position: relative;
  z-index: 1;
  transition: none; /* 禁用过渡动画 */
}

/* Wishlist Button Styling - 简洁无边框设计 */
#btn-wishlist {
  background: none;
  border: none;
  padding: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

#btn-wishlist:hover {
  color: var(--green-600);
  transform: translateY(-1px);
}

#btn-wishlist svg {
  transition: all 0.3s ease;
}

#btn-wishlist:hover svg {
  transform: scale(1.1);
}

#btn-wishlist span {
  background: var(--green-500) !important;
  border: 2px solid white;
  font-weight: 700;
  /* box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3); */
}

/* Cart Button Styling - 简洁无边框设计 */
#btn-cart {
  background: none;
  border: none;
  padding: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

#btn-cart:hover {
  color: var(--green-600);
  transform: translateY(-1px);
}

#btn-cart svg {
  transition: all 0.3s ease;
}

#btn-cart:hover svg {
  transform: scale(1.1);
}

#btn-cart span {
  background: var(--green-500) !important;
  border: 2px solid white;
  font-weight: 700;
  /* box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3); */
}

/* Account Button Styling - 优化颜色对比 */
#btn-account {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid var(--green-200) !important;
  border-radius: 50px;
  padding: 0.625rem 1.25rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-weight: 600;
  color: var(--green-700);
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.05);
}

#btn-account::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

#btn-account:hover {
  border-color: var(--green-400) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.2);
}

#btn-account:hover::before {
  left: 0;
}

#btn-account svg {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

#btn-account:hover svg {
  color: white !important;
  transform: scale(1.05);
}

#btn-account span {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

#btn-account:hover span {
  color: white !important;
  transform: scale(1.05);
}

/* Mobile Menu Button Styling */
#mobile-menu-btn {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid var(--tropical-200);
  border-radius: 12px;
  padding: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

#mobile-menu-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--tropical-500) 0%, var(--gold-500) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

#mobile-menu-btn:hover {
  border-color: var(--tropical-500);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.3);
}

#mobile-menu-btn:hover::before {
  left: 0;
}

#mobile-menu-btn svg {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

#mobile-menu-btn:hover svg {
  transform: scale(1.1);
}

/* Action Buttons Container */
.action-buttons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  border: 1px solid rgba(220, 38, 38, 0.1);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.05);
}

/* Responsive Header Icons */
@media (max-width: 767px) {
  .action-buttons {
  gap: 0.5rem;
    padding: 0.25rem;
  }
  
  #btn-wishlist,
  #btn-cart {
    padding: 0.5rem;
  }
  
  #btn-account {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }
  
  #mobile-menu-btn {
    padding: 0.5rem;
  }
}

/* Header Overflow Prevention - India Market */
@media (max-width: 1279px) {
  /* Search bar hidden on smaller desktop */
  .hidden.xl\\:flex {
    display: none !important;
  }
}

@media (max-width: 1023px) {
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Header responsive adjustments */
  header .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Action buttons spacing */
  .flex.items-center.gap-1.md\\:gap-2 {
    gap: 0.5rem;
  }
}

@media (max-width: 767px) {
  /* Mobile container adjustments */
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  
  /* Header mobile adjustments */
  header .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* 通用div移动端适配 */
  div {
    box-sizing: border-box;
  }

  /* 移动端卡片和容器优化 */
  .card, 
  .product-card, 
  .grid > div, 
  .flex > div {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* 移动端网格布局优化 */
  .grid {
    gap: 1rem !important;
  }

  /* 移动端flex容器优化 */
  .flex {
    flex-wrap: wrap;
  }

  /* 确保所有div在移动端都有合适的边距 */
  section > div, 
  main > div, 
  header > div, 
  footer > div {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding-right: 0.5rem;
  }

  /* PDP页面移动端网格布局适配 */
  #pdp .grid.grid-cols-4 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* PDP页面内部div适配 */
  #pdp .grid.grid-cols-4 > div {
    width: 100%;
    margin-bottom: 1rem;
  }

  /* 确保移动端div不会溢出屏幕 */
  div {
    max-width: 100%;
    overflow-x: hidden;
  }
  
  /* Action buttons mobile spacing */
  .flex.items-center.gap-1.md\\:gap-2 {
    gap: 0.25rem;
  }
  
  /* Account button text hidden on mobile */
  #btn-account span {
    display: none;
  }
  
  /* Further reduce button sizes on mobile */
  #btn-wishlist,
  #btn-cart {
    padding: 0.5rem;
  }
  
  #btn-wishlist svg,
  #btn-cart svg {
    width: 1.125rem;
    height: 1.125rem;
  }
  
  #btn-account {
    padding: 0.5rem 0.75rem;
  }
  
  #btn-account svg {
    width: 1rem;
    height: 1rem;
  }
  
  /* 移动端完全隐藏搜索框，使用移动端搜索 */
  .search-container {
    display: none !important;
  }
  
  /* 调整action buttons间距 */
  .action-buttons {
    gap: 0.25rem;
  }
  
  .action-buttons button {
    padding: 0.5rem;
  }
}

/* 超小屏幕进一步优化 */
@media (max-width: 480px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  
  /* Header mobile adjustments */
  header .container {
    padding-left: 0.375rem;
    padding-right: 0.375rem;
  }
  
  /* Action buttons mobile spacing */
  .flex.items-center.gap-1.md\\:gap-2 {
    gap: 0.125rem;
  }
  
  .action-buttons {
    gap: 0.125rem;
  }
  
  .action-buttons button {
    padding: 0.375rem;
  }
  
  /* 隐藏账户按钮文字 */
  .action-buttons span {
    display: none !important;
  }
}

/* ========================================
   SEARCH BOX STYLES
   ======================================== */

/* ========================================
   PDP CTA BUTTONS - India Market (参考查看详情按钮样式)
   ======================================== */
/* Base reset for both buttons to ensure consistent rendering over Tailwind utilities */
#btn-add-cart,
#btn-buy-now {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  line-height: 1;
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  width: 100%;
}

/* Add to Cart - primary filled gradient (参考查看详情按钮) */
#btn-add-cart {
  background: linear-gradient(135deg, var(--tropical-500) 0%, var(--gold-500) 100%);
  color:#81421F;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Add to Cart 滑动光效 */
#btn-add-cart::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

#btn-add-cart:hover::before {
  left: 100%;
}

#btn-add-cart:hover {
  background: linear-gradient(135deg, var(--tropical-600) 0%, var(--gold-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
}

#btn-add-cart:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

#btn-add-cart:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.2), 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Add to Cart 图标 - 删除重复图标，只保留一个 */

/* Buy Now - outlined style with red theme */
#btn-buy-now {
  background: #fff;
  color: var(--tropical-600);
  border: 2px solid var(--tropical-600);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.15);
}

/* Buy Now 滑动光效 */
#btn-buy-now::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(220, 38, 38, 0.1), transparent);
  transition: left 0.5s;
}

#btn-buy-now:hover::before {
  left: 100%;
}

#btn-buy-now:hover {
  background: linear-gradient(135deg, var(--tropical-50) 0%, var(--gold-50) 100%);
  transform: translateY(-2px);
  color: var(--tropical-600) !important; /* 保持红色文字和图标不变 */
  border-color: var(--tropical-700);
  box-shadow: 0 8px 25px rgba(185, 28, 28, 0.25);
}

#btn-buy-now:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(185, 28, 28, 0.15);
}

#btn-buy-now:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.20);
}

/* Buy Now 图标 */
#btn-buy-now::after {
  content: "";
  display: inline-block;
  width: 1rem;
  height: 1rem;
  margin-left: 0.5rem;
  vertical-align: -2px;
  background-color: currentColor;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13 2L3 14h7l-1 8 10-12h-7l1-8z"/></svg>') no-repeat center / contain;
          mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path d="M13 2L3 14h7l-1 8 10-12h-7l1-8z"/></svg>') no-repeat center / contain;
}

/* 确保文字和图标在所有状态下都可见 */
#btn-add-cart *,
#btn-buy-now * { 
  color: inherit; 
  transition: transform 0.3s ease;
}

/* 图标hover缩放效果 */
#btn-add-cart:hover *,
#btn-buy-now:hover * {
  transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 767px) {
  #btn-add-cart,
  #btn-buy-now { 
    padding: 0.75rem 1.25rem; 
    font-size: 0.8125rem; 
  }
  
  #btn-add-cart::after,
  #btn-buy-now::after { 
    width: 0.95rem; 
    height: 0.95rem; 
    margin-left: 0.4rem; 
  }
}

@media (min-width: 1024px) {
  #btn-add-cart,
  #btn-buy-now { 
    padding: 1rem 2rem; 
    font-size: 0.9375rem; 
  }
}

/* Desktop Search Box */
.search-container {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.search-container input[type="text"] {
  width: 100%;
  padding: 1rem 4rem 1rem 3rem; /* 右侧留出按钮空间 */
  border: 2px solid #f2984621;
  border-radius: 50px;
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  font-size: 1rem;
  font-weight: 500;
  color: var(--green-800);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.05);
  backdrop-filter: blur(10px);
}

.search-container input[type="text"]:focus {
  outline: none;
  border-color: var(--green-400);
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.15);
  transform: translateY(-2px);
}

.search-container input[type="text"]::placeholder {
  color: var(--green-400);
  font-weight: 500;
  transition: color 0.3s ease;
}

.search-container input[type="text"]:focus::placeholder {
  color: var(--green-500);
}

/* Search Icon in Input */
.search-container::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23DC2626'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.search-container:focus-within::before {
  opacity: 1;
}

/* Search Button 绝对定位在搜索框内部 */
.search-container .search-btn {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

/* Mobile Search Box */
.mobile-search-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.mobile-search-container input[type="text"] {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 2.75rem;
  border: 2px solid rgba(220, 38, 38, 0.1);
  border-radius: 50px;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--tropical-800);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.05);
  backdrop-filter: blur(10px);
}

.mobile-search-container input[type="text"]:focus {
  outline: none;
  border-color: var(--tropical-400);
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
  transform: translateY(-2px);
}

.mobile-search-container input[type="text"]::placeholder {
  color: var(--tropical-400);
  font-weight: 500;
  transition: color 0.3s ease;
}

.mobile-search-container input[type="text"]:focus::placeholder {
  color: var(--tropical-500);
}

/* Mobile Search Icon in Input */
.mobile-search-container::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23DC2626'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.mobile-search-container:focus-within::before {
  opacity: 1;
}

/* Search Suggestions Dropdown */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  border: 2px solid rgba(220, 38, 38, 0.1);
  border-top: none;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.15);
  backdrop-filter: blur(10px);
  z-index: 50;
  max-height: 300px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-suggestions.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-suggestion-item {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(220, 38, 38, 0.05);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-suggestion-item:hover {
  background: linear-gradient(135deg, var(--tropical-50) 0%, var(--gold-50) 100%);
  color: var(--tropical-700);
  transform: translateX(4px);
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item .suggestion-icon {
  width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, var(--tropical-500) 0%, var(--gold-500) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.875rem;
}

.search-suggestion-item .suggestion-text {
  flex: 1;
  font-weight: 500;
  color: var(--tropical-800);
}

.search-suggestion-item .suggestion-price {
  font-weight: 700;
  color: var(--tropical-600);
  font-size: 0.875rem;
}

/* Search Loading State */
.search-loading {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(220, 38, 38, 0.2);
  border-top: 2px solid var(--tropical-500);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-loading.show {
  opacity: 1;
}

@keyframes spin {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

/* Search Results Counter */
.search-results-counter {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--tropical-500) 0%, var(--gold-500) 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.search-results-counter.show {
  opacity: 1;
}

/* Responsive Search Box */
@media (max-width: 1200px) {
  .search-container {
    max-width: 24rem;
  }
}

@media (max-width: 1023px) {
  .search-container {
    max-width: 20rem; /* 进一步缩小 */
  }
  
  .search-container input[type="text"] {
    padding: 0.75rem 3.5rem 0.75rem 2.5rem; /* 右侧留出按钮空间 */
    font-size: 0.875rem;
  }
  
  .search-container::before {
    left: 0.875rem;
    width: 0.875rem;
    height: 0.875rem;
  }
  
  .search-container .search-btn {
    width: 2.25rem;
    height: 2.25rem;
    right: 0.375rem;
  }
}

@media (max-width: 900px) {
  .search-container {
    max-width: 18rem;
  }
  
  .search-container input[type="text"] {
    padding: 0.75rem 3rem 0.75rem 2.25rem;
    font-size: 0.8125rem;
  }
  
  .search-container .search-btn {
    width: 2rem;
    height: 2rem;
    right: 0.25rem;
  }
}

@media (max-width: 767px) {
  .search-container {
    max-width: 100%;
    padding: 0 0.5rem;
  }
  
  .search-container input[type="text"] {
    padding: 0.75rem 3rem 0.75rem 2.25rem;
    font-size: 0.875rem;
  }
  
  .search-container::before {
    left: 0.75rem;
    width: 0.875rem;
    height: 0.875rem;
  }
  
  .search-container .search-btn {
    width: 1.875rem;
    height: 1.875rem;
    right: 0.25rem;
  }
}

@media (max-width: 480px) {
  .search-container {
    padding: 0 0.25rem;
  }
  
  .search-container input[type="text"] {
    padding: 0.625rem 2.75rem 0.625rem 2rem;
    font-size: 0.8125rem;
  }
  
  .search-container::before {
    left: 0.625rem;
    width: 0.75rem;
    height: 0.75rem;
  }
  
  .search-container .search-btn {
    width: 1.75rem;
    height: 1.75rem;
    right: 0.125rem;
  }
}

@media (max-width: 320px) {
  .search-container {
    padding: 0 0.125rem;
  }
  
  .search-container input[type="text"] {
    padding: 0.5rem 2.5rem 0.5rem 1.75rem;
    font-size: 0.75rem;
  }
  
  .search-container::before {
    left: 0.5rem;
    width: 0.625rem;
    height: 0.625rem;
  }
  
  .search-container .search-btn {
    width: 1.5rem;
    height: 1.5rem;
    right: 0.125rem;
  }
}

/* ========================================
   PRODUCT FILTER AREA STYLES
   ======================================== */

/* Shop Page Title */
.shop-page-title {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-800) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  position: relative;
}

.shop-page-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 4rem;
  height: 0.25rem;
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%);
  border-radius: 2px;
}

/* Product Count Badge */
.product-count {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--amber-500) 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
  position: relative;
  overflow: hidden;
}

.product-count::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--orange-600) 0%, var(--amber-600) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

.product-count:hover::before {
  left: 0;
}

.product-count span {
  position: relative;
  z-index: 1;
}

/* Filters Container */
.filters-container {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  border: 2px solid #f2984621;
  border-radius: 20px;
   padding: 2rem;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.08);
  position: relative;
  overflow: hidden;
}

.filters-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%);
}

/* Filter Label */
.filters-container .font-medium {
  color: var(--green-700);
  font-weight: 700;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 1rem;
  position: relative;
}

.filters-container .font-medium::after {
  content: '';
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%);
  border-radius: 1px;
}

/* Filter Buttons */
.filter-btn {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid transparent;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--green-700);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.05);
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

.filter-btn:hover {
  border-color: var(--green-300);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.filter-btn:hover::before {
  left: 0;
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--green-500) 0%, var(--teal-500) 100%) !important;
  border-color: var(--green-500) !important;
  color: white !important;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
  transform: translateY(-2px);
}

.filter-btn.active::before {
  left: 0;
}

.filter-btn span {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.filter-btn:hover span {
  transform: scale(1.05);
}

/* Filter Button Icons */
.filter-btn i {
  margin-right: 0.5rem;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.filter-btn:hover i {
  transform: scale(1.1);
}

/* Advanced Filter Toggle */
.filter-toggle {
  background: linear-gradient(135deg, var(--tropical-500) 0%, var(--gold-500) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.3);
  position: relative;
  overflow: hidden;
}

.filter-toggle::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--tropical-600) 0%, var(--gold-600) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

.filter-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.4);
}

.filter-toggle:hover::before {
  left: 0;
}

.filter-toggle span {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.filter-toggle:hover span {
  transform: scale(1.05);
}

/* Advanced Filter Panel */
.advanced-filters {
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  border: 2px solid rgba(220, 38, 38, 0.1);
  border-radius: 20px;
  padding: 2rem;
  margin-top: 1rem;
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.advanced-filters.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Price Range Slider */
.price-range-container {
  margin-bottom: 2rem;
}

.price-range-label {
  color: var(--tropical-700);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-range-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  position: relative;
}

.price-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tropical-500) 0%, var(--gold-500) 100%);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
}

.price-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.price-range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tropical-500) 0%, var(--gold-500) 100%);
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
  transition: all 0.3s ease;
}

.price-range-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

.price-range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  color: var(--tropical-600);
  font-weight: 600;
  font-size: 0.875rem;
}

/* Sort Options */
.sort-container {
  margin-bottom: 2rem;
}

.sort-label {
  color: var(--tropical-700);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sort-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(220, 38, 38, 0.1);
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #fef2f2 100%);
  color: var(--tropical-700);
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.05);
}

.sort-select:focus {
  outline: none;
  border-color: var(--tropical-400);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.15);
  transform: translateY(-2px);
}

/* Clear Filters Button */
.clear-filters-btn {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
  position: relative;
  overflow: hidden;
}

.clear-filters-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

.clear-filters-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.clear-filters-btn:hover::before {
  left: 0;
}

.clear-filters-btn span {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.clear-filters-btn:hover span {
  transform: scale(1.05);
}

/* Checkout page — mobile optimizations */
@media (max-width: 767px) {
  body[data-page="checkout"] {
    overflow-x: hidden;
  }

  /* tighter page padding on small screens */
  body[data-page="checkout"] main.container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* stack the two-column layout into single column */
  body[data-page="checkout"] .grid.grid-cols-1 {
    gap: 1rem;
  }
  body[data-page="checkout"] .lg\:col-span-7,
  body[data-page="checkout"] .lg\:col-span-5 {
    grid-column: auto !important;
  }

  /* reduce card shadows/padding to avoid overflow and large hit targets */
  body[data-page="checkout"] .bg-white.rounded-2xl {
    box-shadow: none;
    border-radius: 1rem;
  }

  /* form padding and control sizing */
  body[data-page="checkout"] #checkout-form {
    padding: 1rem;
  }
  body[data-page="checkout"] #checkout-form .relative label {
    left: 0.75rem;
    top: -1.25rem;
    padding: 0 0.375rem;
    font-size: 12px;
  }
  body[data-page="checkout"] input,
  body[data-page="checkout"] textarea,
  body[data-page="checkout"] select {
    padding: 0.75rem;
    font-size: 14px;
    border-radius: 0.75rem;
  }

  /* phone input layout: make sure the code and number stack properly */
  body[data-page="checkout"] .flex > .flex-1,
  body[data-page="checkout"] .flex > input {
    min-width: 0;
  }
  body[data-page="checkout"] .flex > .flex {
    min-width: auto;
  }

  /* payment options: compact and use two columns on small screens */
  body[data-page="checkout"] #online-payment-options .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  body[data-page="checkout"] .payment-option {
    padding: 0.75rem;
    min-height: 64px;
  }
  body[data-page="checkout"] .payment-option .w-12 {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.25rem;
  }
  body[data-page="checkout"] .payment-option span {
    font-size: 12px;
  }

  /* payment type radio labels: allow wrapping and reduce padding */
  body[data-page="checkout"] .payment-type-option label {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  body[data-page="checkout"] .payment-type-option label .w-10 {
    width: 2.25rem;
    height: 2.25rem;
  }

  /* compact submit button */
  body[data-page="checkout"] button[type="submit"] {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    font-size: 14px;
  }
  body[data-page="checkout"] button[type="submit"] i {
    margin-right: 0.5rem;
  }

  /* order summary list: reduce max height and ensure smooth scrolling */
  body[data-page="checkout"] #summary-list {
    max-height: 36vh;
    overflow-y: auto;
    padding-right: 0.5rem;
  }
  body[data-page="checkout"] .p-6 {
    padding: 1rem;
  }

  /* reduce heavy shadows which can create visual overflow */
  body[data-page="checkout"] .shadow-orange,
  body[data-page="checkout"] .hover\:shadow-orange-lg {
    box-shadow: none !important;
  }

  /* images and icons must not exceed container */
  body[data-page="checkout"] img {
    max-width: 100%;
    height: auto;
  }
}