/* 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 {
  /* 紫色主题配色系统 - 主配色紫色70%，副色橙色20%，灰色10% */
  --primary: #c88cdc; /* 紫色 - 主品牌色 */
  --secondary: #f2f2f2; /* 浅灰色背景 - 现代感 */
  --neutralDark: #1F2937; /* 深灰 - 文字主色 */
  --neutralLight: #F9FAFB; /* 浅灰 - 背景色 */
  --accent: #ff6700; /* 橙色强调色 - 活力感 */
  --linkText: #c88cdc; /* 紫色链接 */
  --cardBackground: #ffffff; /* 白色卡片 */
  --borderColor: #e9d5ff; /* 浅紫色边框 */
  
  /* 紫色系统 - 主配色70% */
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c88cdc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --purple-800: #6b21a8;
  --purple-900: #581c87;
  
  /* 橙色系统 - 副色20% */
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-300: #fdba74;
  --orange-400: #fb923c;
  --orange-500: #ff6700;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-800: #9a3412;
  --orange-900: #7c2d12;
  
  /* 灰色系统 - 辅助色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: 500px;
  --product-card-gap-mobile: 16px;
  --product-card-gap-tablet: 24px;
  --product-card-gap-desktop: 24px;
  --product-card-border-radius: 20px;
  --product-card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --product-card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
  font-family: 'Inter', 'Roboto', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
}

/* 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(37, 99, 235, 0.1);
  transform: translateY(-1px);
}

/* Button styles with Purple theme */
.btn-primary {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(200, 140, 220, 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.2), transparent);
  transition: left 0.5s;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(200, 140, 220, 0.4);
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--orange-600) 100%);
}

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

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(200, 140, 220, 0.3);
  border-color: var(--purple-600);
}

/* Card styles with Indonesian design */
.card {
  background: var(--cardBackground);
  border: 1px solid var(--borderColor);
  border-radius: var(--product-card-border-radius);
  padding: 2rem;
  box-shadow: var(--product-card-shadow);
  transition: all 0.3s ease;
}

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

/* 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(--primary);
}

.nav-link.active {
  color: var(--primary);
  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 {
  height: var(--product-card-height);
  border-radius: var(--product-card-border-radius);
  box-shadow: var(--product-card-shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  background: white;
  overflow: hidden;
}

/* Mobile product card height adjustment */
@media (max-width: 767px) {
  #new-products-grid product-card,
  .swiper-slide product-card {
    height: 450px;
  }
}

/* Product Card Layout - India Market - Equal Height */
#new-products-grid product-card .p-4,
.swiper-slide product-card .p-4 {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 1.25rem;
  text-align: left;
  min-height: 0;
}

/* Product Card Content Sections - Fixed Heights */
#new-products-grid product-card .category-rating,
.swiper-slide product-card .category-rating {
  text-align: left;
  margin-bottom: 0.75rem;
  height: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

#new-products-grid product-card h4,
.swiper-slide 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 {
  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 {
  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 {
  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 {
  order: 1;
  font-size: 1.125rem;
  color: var(--purple-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 {
  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 {
  width: 100%;
  text-align: center;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%);
  color: white;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

#new-products-grid product-card .product-view-btn:hover,
.swiper-slide product-card .product-view-btn:hover {
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--orange-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 140, 220, 0.3);
}

/* Mobile Layout Adjustments - Equal Height */
@media (max-width: 767px) {
  #new-products-grid product-card .p-4,
  .swiper-slide product-card .p-4 {
  padding: 1rem;
}

#new-products-grid product-card .category-rating,
.swiper-slide product-card .category-rating {
    height: 1.75rem;
    margin-bottom: 0.5rem;
  }
  
  #new-products-grid product-card h4,
  .swiper-slide product-card h4 {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    height: 2.4em;
  }
  
  #new-products-grid product-card .variants-info,
  .swiper-slide product-card .variants-info {
    height: 1rem;
    margin-bottom: 0.5rem;
  }
  
#new-products-grid product-card .price-section,
.swiper-slide product-card .price-section {
    height: 2.5rem;
    margin-bottom: 1rem;
  }
  
  #new-products-grid product-card .price-section .line-through,
  .swiper-slide product-card .price-section .line-through {
    font-size: 0.75rem;
    height: 1rem;
    line-height: 1rem;
  }
  
  #new-products-grid product-card .price-section .font-bold,
  .swiper-slide product-card .price-section .font-bold {
    font-size: 1rem;
    height: 1.25rem;
    line-height: 1.25rem;
  }
  
  #new-products-grid product-card .button-section,
  .swiper-slide product-card .button-section {
    height: 3rem;
  }
  
  #new-products-grid product-card .product-view-btn,
  .swiper-slide product-card .product-view-btn {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
  }
}

#new-products-grid product-card:hover,
.swiper-slide product-card:hover {
  box-shadow: var(--product-card-shadow-hover);
  transform: translateY(-8px);
}

/* 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, #faf5ff 0%, #ffffff 100%);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(200, 140, 220, 0.08);
}

/* PDP Image Gallery */
#pdp .space-y-4 > div:first-child {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  border: 2px solid rgba(200, 140, 220, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(200, 140, 220, 0.1);
  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(200, 140, 220, 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(--purple-300);
  background: linear-gradient(135deg, #faf5ff 0%, #e9d5ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 140, 220, 0.2);
}

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

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

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

/* PDP Title */
#pdp-title {
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-800) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  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(--purple-500) 0%, var(--orange-500) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

#pdp-sizes button:hover {
  border-color: var(--purple-300);
  color: var(--purple-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 140, 220, 0.2);
}

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

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

/* PDP Action Buttons */
#btn-add-cart {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-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(200, 140, 220, 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(--purple-600) 0%, var(--orange-600) 100%);
  transition: left 0.3s ease;
  z-index: 0;
}

#btn-add-cart:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 8px 24px rgba(200, 140, 220, 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(--purple-500) !important;
  color: var(--purple-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(--purple-500) 0%, var(--orange-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(200, 140, 220, 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: rgba(200, 140, 220, 0.1) !important;
}

#pdp .border-t h3 {
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-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(--purple-500);
  font-weight: bold;
  font-size: 1.1rem;
}

/* PDP Related Products */
#pdp + div h3 {
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-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 rgba(200, 140, 220, 0.1);
  margin-bottom: 2rem;
}

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

#breadcrumbs a:hover {
  color: var(--purple-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(--purple-500) 0%, var(--orange-500) 100%) !important;
  border: none !important;
  box-shadow: 0 4px 12px rgba(200, 140, 220, 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(--purple-600) 0%, var(--orange-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(--purple-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(--purple-500) !important;
  border: 2px solid white;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(200, 140, 220, 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(--purple-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(--purple-500) !important;
  border: 2px solid white;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(200, 140, 220, 0.3);
}

/* Account Button Styling - 优化颜色对比 */
#btn-account {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid var(--purple-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(--purple-700);
  box-shadow: 0 2px 8px rgba(200, 140, 220, 0.05);
}

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

#btn-account:hover {
  border-color: var(--purple-400) !important;
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 140, 220, 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;
  }
  
  /* 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: white;
  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 rgba(200, 140, 220, 0.1);
  border-radius: 50px;
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  font-size: 1rem;
  font-weight: 500;
  color: var(--purple-800);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(200, 140, 220, 0.05);
  backdrop-filter: blur(10px);
}

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

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

.search-container input[type="text"]:focus::placeholder {
  color: var(--purple-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(--purple-600) 0%, var(--purple-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(--purple-500) 0%, var(--orange-500) 100%);
  border-radius: 2px;
}

/* Product Count Badge */
.product-count {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(200, 140, 220, 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(--purple-600) 0%, var(--orange-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 rgba(200, 140, 220, 0.1);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(200, 140, 220, 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(--purple-500) 0%, var(--orange-500) 100%);
}

/* Filter Label */
.filters-container .font-medium {
  color: var(--purple-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(--purple-500) 0%, var(--orange-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(--purple-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(200, 140, 220, 0.05);
}

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

.filter-btn:hover {
  border-color: var(--purple-300);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 140, 220, 0.3);
}

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

.filter-btn.active {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%) !important;
  border-color: var(--purple-500) !important;
  color: white !important;
  box-shadow: 0 8px 20px rgba(200, 140, 220, 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);
}

/* Responsive Filter Area */
@media (max-width: 1023px) {
  .filters-container {
    padding: 1.5rem;
  }
  
  .shop-page-title {
    font-size: 2.5rem;
  }
  
  .filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.8125rem;
  }
}

@media (max-width: 767px) {
  .filters-container {
    padding: 1rem;
  }
  
  .shop-page-title {
    font-size: 2rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
  
  .filters-container .flex {
    gap: 0.5rem;
  }
  
  .advanced-filters {
    padding: 1rem;
  }
}

/* Responsive design with Indonesian Tropical theme */
@media (max-width: 767px) {
  #new-products-grid {
    gap: var(--product-card-gap-mobile);
  }

  .swiper-container {
    --swiper-navigation-size: 0;
  }

  #new-products-grid product-card .p-4,
  .swiper-slide product-card .p-4 {
    padding: 1rem;
  }

  #new-products-grid product-card .category-rating,
  .swiper-slide product-card .category-rating {
    height: 2.25rem;
    margin-bottom: 0.75rem;
  }

  #new-products-grid product-card .price-section,
  .swiper-slide product-card .price-section {
    height: 2rem;
    margin-bottom: 1rem;
  }

  #new-products-grid product-card .button-section,
  .swiper-slide product-card .button-section {
    height: 3rem;
  }

  /* Mobile header adaptation with Indonesian Tropical theme */
  header .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  header .logo img {
    width: 40px;
    height: 40px;
  }

  header .logo span {
    font-size: 1.125rem;
    color: var(--tropical-600);
  }

  header .action-buttons {
    gap: 8px;
  }

  /* Mobile navigation with Indonesian Tropical theme */
  .nav-link {
    color: var(--tropical-700);
    font-weight: 600;
  }

  .nav-link:hover {
    color: var(--tropical-600);
    background: var(--tropical-50);
  }

  /* Mobile button adaptations */
  .btn-primary {
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
  }

  .product-view-btn {
    font-size: 0.8125rem;
    padding: 0.75rem 1.25rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #new-products-grid {
    gap: var(--product-card-gap-tablet);
  }
}

@media (min-width: 1024px) {
  #new-products-grid {
    gap: var(--product-card-gap-desktop);
  }
}

/* Mobile styles for Featured Horizontal Scroll */
@media (max-width: 767px) {
  .swiper-slide .group {
    transform-origin: center;
  }

  .swiper-slide .group img {
    aspect-ratio: 4/5;
    object-fit: cover;
  }

  .swiper-slide .group h4 {
    font-size: 0.875rem;
  }

  .swiper-slide .group .text-lg {
    font-size: 1rem;
  }

  .swiper-slide .group .text-sm {
    font-size: 0.75rem;
  }

  .swiper-slide .group button {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Mobile styles for New Products Grid */
@media (max-width: 767px) {
  #new-products-grid .group {
    transform-origin: center;
  }

  #new-products-grid .group img {
    aspect-ratio: 4/5;
    object-fit: cover;
  }

  #new-products-grid .group h4 {
    font-size: 0.875rem;
  }

  #new-products-grid .group .text-lg {
    font-size: 1rem;
  }

  #new-products-grid .group .text-sm {
    font-size: 0.75rem;
  }

  #new-products-grid .group button {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Swiper pagination styling */
.swiper-pagination {
  position: relative;
  margin-top: 20px;
  text-align: center;
}

.swiper-pagination-bullet {
  background: var(--borderColor);
  opacity: 0.5;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: var(--primary);
  opacity: 1;
  transform: scale(1.2);
}

/* Text truncation utilities */
.line-clamp-1 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
}

.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

/* Enhanced shadow utilities with Purple theme */
.shadow-purple {
  box-shadow: 0 4px 14px 0 rgba(200, 140, 220, 0.15);
}

.shadow-purple-lg {
  box-shadow: 0 10px 25px 0 rgba(200, 140, 220, 0.2);
}

.shadow-purple-xl {
  box-shadow: 0 20px 40px 0 rgba(200, 140, 220, 0.25);
}

.shadow-orange {
  box-shadow: 0 4px 14px 0 rgba(255, 103, 0, 0.15);
}

.shadow-orange-lg {
  box-shadow: 0 10px 25px 0 rgba(255, 103, 0, 0.2);
}

.shadow-orange-xl {
  box-shadow: 0 20px 40px 0 rgba(255, 103, 0, 0.25);
}

/* Enhanced hover effects with Purple theme */
.hover\:shadow-purple-lg:hover {
  box-shadow: 0 10px 25px 0 rgba(200, 140, 220, 0.2);
}

.hover\:shadow-purple-xl:hover {
  box-shadow: 0 20px 40px 0 rgba(200, 140, 220, 0.25);
}

.hover\:shadow-orange-lg:hover {
  box-shadow: 0 10px 25px 0 rgba(255, 103, 0, 0.2);
}

.hover\:shadow-orange-xl:hover {
  box-shadow: 0 20px 40px 0 rgba(255, 103, 0, 0.25);
}

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

/* Product view button styling with Purple theme */
.product-view-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%);
  color: white;
  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);
  box-shadow: 0 4px 12px rgba(200, 140, 220, 0.3);
  overflow: hidden;
  width: 100%;
}

.product-view-btn::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;
}

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

.product-view-btn:hover {
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--orange-600) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 140, 220, 0.4);
}

.product-view-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(200, 140, 220, 0.3);
}

.product-view-btn .icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.product-view-btn:hover .icon {
  transform: scale(1.1);
}

/* Shop page title styling with Purple theme */
.shop-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--orange-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.shop-page-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-500), var(--orange-500));
  border-radius: 2px;
}

/* Filter button styling with Purple theme */
.filter-btn {
  position: relative;
  padding: 0.875rem 1.75rem;
  border: 2px solid var(--purple-200);
  border-radius: 2rem;
  background: white;
  color: var(--purple-800);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 1;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

.filter-btn:hover::before {
  width: 100%;
}

.filter-btn:hover {
  color: white;
  border-color: var(--purple-500);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200, 140, 220, 0.3);
}

.filter-btn.active {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%);
  color: white;
  border-color: var(--purple-500);
  box-shadow: 0 4px 15px rgba(200, 140, 220, 0.3);
}

/* Filters container styling with Purple theme */
.filters-container {
  background: linear-gradient(135deg, var(--purple-50) 0%, var(--orange-50) 100%);
  border: 1px solid rgba(200, 140, 220, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(200, 140, 220, 0.08);
  position: relative;
  overflow: hidden;
}

.filters-container::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(200, 140, 220, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* Product count styling with Purple theme */
.product-count {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  font-size: 0.875rem;
  box-shadow: 0 4px 15px rgba(200, 140, 220, 0.3);
}

/* Responsive design for shop elements */
@media (max-width: 767px) {
  .shop-page-title {
    font-size: 2rem;
  }

  .product-view-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
  }

  .filter-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.8125rem;
  }

  .filters-container {
    padding: 1.5rem;
  }

  .product-count {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .shop-page-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .shop-page-title {
    font-size: 2.75rem;
  }

  .product-view-btn {
    padding: 1rem 2rem;
    font-size: 0.9375rem;
  }

  .filter-btn {
    padding: 1rem 2rem;
    font-size: 0.9375rem;
  }
}

/* Animation enhancements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.shop-page-title,
.filters-container,
.product-count {
  animation: fadeInUp 0.6s ease-out;
}

.filters-container {
  animation-delay: 0.2s;
}

.product-count {
  animation-delay: 0.4s;
}

/* Indonesian flag colors accent */
.indonesia-flag-red {
  background: #ff0000;
}

.indonesia-flag-white {
  background: #ffffff;
}

/* Gradient backgrounds for Purple theme */
.bg-purple-gradient {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--purple-700) 50%, var(--purple-800) 100%);
}

.bg-purple-light {
  background: linear-gradient(135deg, var(--purple-50) 0%, var(--purple-100) 100%);
}

.bg-orange-gradient {
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-700) 50%, var(--orange-800) 100%);
}

.bg-orange-light {
  background: linear-gradient(135deg, var(--orange-50) 0%, var(--orange-100) 100%);
}

.bg-purple-orange-gradient {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 50%, var(--purple-700) 100%);
}

/* Policy pages styling for better coordination with header/footer */
.policy-page-header {
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--purple-600) 50%, var(--purple-700) 100%);
  position: relative;
  overflow: hidden;
}

.policy-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 103, 0, 0.1) 0%, rgba(200, 140, 220, 0.1) 100%);
  pointer-events: none;
}

.policy-content-card {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  border: 2px solid rgba(200, 140, 220, 0.1);
  box-shadow: 0 8px 32px rgba(200, 140, 220, 0.08);
  position: relative;
}

.policy-content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%);
  border-radius: 2px 2px 0 0;
}

.policy-section-title {
  background: linear-gradient(135deg, var(--purple-600) 0%, var(--purple-800) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.policy-section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(135deg, var(--purple-500) 0%, var(--orange-500) 100%);
  border-radius: 2px;
}

.policy-highlight-box {
  background: linear-gradient(135deg, var(--purple-50) 0%, var(--orange-50) 100%);
  border: 2px solid rgba(200, 140, 220, 0.2);
  box-shadow: 0 4px 16px rgba(200, 140, 220, 0.1);
}

.policy-contact-box {
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
  border: 2px solid rgba(200, 140, 220, 0.2);
  box-shadow: 0 4px 16px rgba(200, 140, 220, 0.1);
  margin-bottom: 1rem;
}