/* ============================================
   Gen-y Kids — Premium Kids Clothing Store
   Complete Stylesheet
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --coral: #FF6B6B;
  --coral-dark: #E55A5A;
  --teal: #4ECDC4;
  --teal-dark: #3DBDB5;
  --yellow: #FFE66D;
  --yellow-dark: #F0D45E;
  --purple: #A78BFA;
  --purple-dark: #8B6FE0;
  --sky: #60A5FA;
  --sky-dark: #4A90E2;
  --pink: #FF8FAB;
  --green: #34D399;

  --white: #FFFFFF;
  --bg: #FAFAFA;
  --bg-alt: #F3F4F6;
  --bg-card: #FFFFFF;
  --text: #1F2937;
  --text-light: #6B7280;
  --text-lighter: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --shadow-xl: 0 16px 50px rgba(0,0,0,0.12);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;

  --font-body: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Fredoka One', 'Nunito', sans-serif;

  --header-height: 70px;
  --banner-height: 40px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select { font-family: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Custom Scrollbar ---------- */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-alt); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--coral), var(--teal));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(var(--coral-dark), var(--teal-dark)); }

/* ---------- Loading Screen ---------- */
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}
.loader { text-align: center; }
.loader-icon {
  font-size: 48px;
  animation: loaderBounce 1s ease-in-out infinite;
}
@keyframes loaderBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.loader-text {
  font-family: var(--font-heading);
  font-size: 28px;
  margin: 12px 0;
  background: linear-gradient(135deg, var(--coral), var(--teal), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.loader-bar {
  width: 200px;
  height: 4px;
  background: var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin: 0 auto;
}
.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--coral), var(--teal));
  border-radius: var(--radius-full);
  animation: loaderFill 1.5s ease forwards;
}
@keyframes loaderFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ---------- Top Banner ---------- */
.top-banner {
  background: linear-gradient(90deg, var(--coral), var(--teal), var(--sky), var(--purple));
  background-size: 300% 100%;
  animation: bannerGradient 6s ease infinite;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  padding: 10px 40px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
@keyframes bannerGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.banner-icon { font-size: 16px; }
.banner-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--white);
  opacity: 0.8;
  transition: var(--transition-fast);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.banner-close:hover { opacity: 1; background: rgba(255,255,255,0.2); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
}
.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon { font-size: 28px; }
.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text);
}
.logo-accent {
  background: linear-gradient(135deg, var(--coral), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Search */
.search-wrapper { flex: 1; max-width: 480px; }
.search-bar {
  position: relative;
  display: flex;
  align-items: center;
}
.search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: var(--text-lighter);
  pointer-events: none;
}
.search-bar input {
  width: 100%;
  padding: 10px 16px 10px 42px;
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  transition: var(--transition);
  background: var(--bg);
  outline: none;
}
.search-bar input:focus {
  border-color: var(--teal);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(78, 205, 196, 0.1);
}
.search-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 100;
}
.search-suggestions.active { display: block; }
.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.search-suggestion-item:hover { background: var(--bg-alt); }
.search-suggestion-thumb {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.search-suggestion-info { flex: 1; }
.search-suggestion-name { font-size: 13px; font-weight: 700; }
.search-suggestion-price { font-size: 12px; color: var(--text-light); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.header-action-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}
.header-action-btn:hover { background: var(--bg-alt); }
.header-action-btn svg { width: 22px; height: 22px; color: var(--text); }
.action-count {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--coral);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.action-count.bounce {
  animation: cartBounce 0.5s ease;
}
@keyframes cartBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.4); }
  60% { transform: scale(0.8); }
  100% { transform: scale(1); }
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: var(--transition);
}
.mobile-menu.active {
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}
.mobile-menu-panel {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: var(--white);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
}
.mobile-menu.active .mobile-menu-panel {
  transform: translateX(0);
}
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu-close {
  font-size: 28px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.mobile-menu-close:hover { background: var(--bg-alt); }
.mobile-menu-search {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}
.mobile-menu-search input {
  width: 100%;
  padding: 10px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
}
.mobile-menu-search input:focus { border-color: var(--teal); }
.mobile-menu-nav { padding: 12px 0; }
.mobile-menu-link {
  display: block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition-fast);
}
.mobile-menu-link:hover { background: var(--bg-alt); color: var(--coral); }
.mobile-menu-divider {
  height: 1px;
  background: var(--border-light);
  margin: 8px 20px;
}
.sale-link { color: var(--coral) !important; }
.admin-link { color: var(--purple) !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  border-color: var(--coral);
}
.btn-primary:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--coral);
  color: var(--coral);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--coral);
  border-color: var(--white);
  font-weight: 800;
}
.btn-white:hover {
  background: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-block { width: 100%; }

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(255,255,255,0.8));
}
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}
.shape-1 { width: 200px; height: 200px; background: var(--coral); top: -50px; right: 10%; animation: floatShape 8s ease-in-out infinite; }
.shape-2 { width: 150px; height: 150px; background: var(--teal); bottom: 10%; left: 5%; animation: floatShape 6s ease-in-out infinite reverse; }
.shape-3 { width: 100px; height: 100px; background: var(--yellow); top: 30%; right: 5%; animation: floatShape 7s ease-in-out infinite 1s; border-radius: 30%; }
.shape-4 { width: 80px; height: 80px; background: var(--purple); bottom: 20%; right: 20%; animation: floatShape 9s ease-in-out infinite 0.5s; }
.shape-5 { width: 120px; height: 120px; background: var(--sky); top: 15%; left: 15%; animation: floatShape 10s ease-in-out infinite 2s; }
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(20px, -30px) rotate(5deg); }
  50% { transform: translate(-10px, 20px) rotate(-3deg); }
  75% { transform: translate(15px, 10px) rotate(2deg); }
}
.star {
  position: absolute;
  font-size: 24px;
  animation: twinkle 2s ease-in-out infinite;
}
.star-1 { top: 20%; left: 40%; animation-delay: 0s; }
.star-2 { top: 60%; right: 15%; animation-delay: 0.7s; font-size: 18px; }
.star-3 { bottom: 25%; left: 25%; animation-delay: 1.4s; font-size: 20px; }
@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  padding: 60px 20px;
  margin: 0 auto;
  text-align: center;
}
.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--yellow), var(--coral));
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}
.gradient-text {
  background: linear-gradient(135deg, var(--coral), var(--teal), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
}
.hero-stat strong {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.hero-stat span {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
}

/* ---------- Sections ---------- */
.section {
  padding: 72px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 40px;
}
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  color: var(--text);
  margin-bottom: 8px;
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
}

/* ---------- Category Grid ---------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius-lg);
}
.category-boys { background: linear-gradient(135deg, #EBF5FF, #DBEAFE); }
.category-boys::before { background: linear-gradient(135deg, #60A5FA, #3B82F6); }
.category-girls { background: linear-gradient(135deg, #FFF1F2, #FCE7F3); }
.category-girls::before { background: linear-gradient(135deg, #FF6B6B, #FF8FAB); }
.category-toddlers { background: linear-gradient(135deg, #ECFDF5, #D1FAE5); }
.category-toddlers::before { background: linear-gradient(135deg, #4ECDC4, #34D399); }
.category-baby { background: linear-gradient(135deg, #FEF9C3, #FEF3C7); }
.category-baby::before { background: linear-gradient(135deg, #FFE66D, #F0D45E); }
.category-accessories { background: linear-gradient(135deg, #F3E8FF, #EDE9FE); }
.category-accessories::before { background: linear-gradient(135deg, #A78BFA, #8B5CF6); }

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.category-card:hover::before { opacity: 1; }
.category-card:hover * { position: relative; z-index: 1; }
.category-card:hover .category-icon,
.category-card:hover h3,
.category-card:hover .category-count { color: var(--white); }
.category-icon { font-size: 36px; margin-bottom: 12px; transition: var(--transition); }
.category-card h3 { font-size: 16px; font-weight: 800; color: var(--text); transition: var(--transition); }
.category-card p { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.category-count { font-size: 11px; color: var(--text-lighter); font-weight: 600; transition: var(--transition); }

/* ---------- Filters ---------- */
.filters-bar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  align-items: center;
}
.age-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.age-filters::-webkit-scrollbar { display: none; }
.filter-pill {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
  background: var(--white);
  border: 2px solid var(--border);
  white-space: nowrap;
  transition: var(--transition);
}
.filter-pill:hover { border-color: var(--teal); color: var(--teal); }
.filter-pill.active {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.filters-right {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}
.occasion-filters {
  display: flex;
  gap: 6px;
}
.occasion-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  background: var(--bg-alt);
  transition: var(--transition);
}
.occasion-pill:hover { color: var(--purple); background: rgba(167,139,250,0.1); }
.occasion-pill.active { color: var(--purple); background: rgba(167,139,250,0.15); }
.sort-select select {
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  background: var(--white);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}
.sort-select select:focus { border-color: var(--teal); }

/* ---------- Products Grid ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}
.product-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.product-image {
  position: relative;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
}
.product-placeholder {
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.product-card:hover .product-placeholder {
  transform: scale(1.05);
}
.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-badge-tag {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-sale { background: var(--coral); color: var(--white); }
.badge-new { background: var(--teal); color: var(--white); }
.badge-bestseller { background: var(--purple); color: var(--white); }
.product-actions-overlay {
  position: absolute;
  right: 12px;
  top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.product-card:hover .product-actions-overlay {
  opacity: 1;
  transform: translateX(0);
}
.product-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.product-action-btn:hover { background: var(--coral); }
.product-action-btn:hover svg { stroke: var(--white); }
.product-action-btn svg { width: 16px; height: 16px; }
.product-action-btn.wishlisted { background: var(--coral); }
.product-action-btn.wishlisted svg { fill: var(--white); stroke: var(--white); }
.product-wishlist-btn.animate {
  animation: heartBounce 0.5s ease;
}
@keyframes heartBounce {
  0% { transform: scale(1); }
  30% { transform: scale(1.3); }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); }
}
.quick-view-btn {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  padding: 8px 20px;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  white-space: nowrap;
}
.product-card:hover .quick-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.quick-view-btn:hover { background: var(--coral); color: var(--white); }
.product-info {
  padding: 16px;
}
.product-category-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-lighter);
  margin-bottom: 4px;
}
.product-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.stars { color: #F59E0B; font-size: 13px; letter-spacing: 1px; }
.rating-count { font-size: 12px; color: var(--text-lighter); }
.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.product-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--coral);
}
.product-old-price {
  font-size: 14px;
  color: var(--text-lighter);
  text-decoration: line-through;
}
.product-colors {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}
.product-color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: var(--transition-fast);
}
.product-color-dot:hover { transform: scale(1.2); }
.product-card-footer {
  display: flex;
  gap: 8px;
}
.product-card-footer .btn { flex: 1; font-size: 13px; padding: 8px 12px; }

/* Products Empty */
.products-empty {
  text-align: center;
  padding: 60px 20px;
}
.empty-icon { font-size: 48px; display: block; margin-bottom: 16px; }
.products-empty h3 { font-size: 18px; margin-bottom: 8px; }
.products-empty p { color: var(--text-light); }

/* ---------- Occasion Section ---------- */
.occasion-section { background: var(--bg-alt); }
.occasion-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.occasion-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.occasion-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.occasion-bg {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.occasion-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.1);
}
.occasion-emoji {
  font-size: 48px;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}
.occasion-card:hover .occasion-emoji { transform: scale(1.2) rotate(5deg); }
.occasion-info {
  padding: 16px;
  background: var(--white);
  text-align: center;
}
.occasion-info h3 { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.occasion-info p { font-size: 13px; color: var(--text-light); }

/* ---------- Outfit of the Week ---------- */
.outfit-section { background: var(--white); }
.outfit-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg-alt);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.outfit-image {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}
.outfit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.outfit-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, var(--coral), var(--teal));
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
}
.outfit-details {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.outfit-label {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--teal);
  margin-bottom: 8px;
}
.outfit-details h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--text);
  margin-bottom: 16px;
}
.outfit-details > p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
}
.outfit-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.outfit-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--white);
  border-radius: var(--radius-md);
}
.outfit-item-thumb {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.outfit-item span {
  flex: 1;
  font-size: 13px;
  font-weight: 600;
}
.outfit-item strong {
  font-size: 14px;
  color: var(--coral);
}
.outfit-price {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.outfit-total-label { font-size: 13px; color: var(--text-light); }
.outfit-total-old { font-size: 16px; color: var(--text-lighter); text-decoration: line-through; }
.outfit-total-new { font-size: 24px; font-weight: 800; color: var(--coral); }
.outfit-save {
  background: rgba(52, 211, 153, 0.15);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

/* ---------- Sale Section ---------- */
.sale-section { padding: 48px 0; }
.sale-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
}
.sale-bg {
  position: absolute;
  inset: 0;
}
.sale-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sale-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,107,107,0.85), rgba(78,205,196,0.75));
}
.sale-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 48px 20px;
  width: 100%;
}
.sale-badge {
  display: inline-block;
  background: var(--white);
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.sale-title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  margin-bottom: 8px;
}
.sale-highlight {
  color: var(--yellow);
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
.sale-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 16px;
  margin-bottom: 28px;
}
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.countdown-item {
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 70px;
}
.countdown-value {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  font-family: var(--font-heading);
}
.countdown-label {
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  text-transform: uppercase;
}
.countdown-separator {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-top: -12px;
}

/* ---------- New Arrivals Carousel ---------- */
.arrivals-carousel {
  position: relative;
  overflow: hidden;
}
.arrivals-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding: 4px 0;
}
.arrivals-track::-webkit-scrollbar { display: none; }
.arrival-card {
  flex: 0 0 240px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.arrival-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.arrival-image {
  height: 220px;
  overflow: hidden;
}
.arrival-info {
  padding: 14px;
}
.arrival-info h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.arrival-price { font-size: 16px; font-weight: 800; color: var(--coral); }
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-70%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition);
}
.carousel-btn:hover { background: var(--coral); }
.carousel-btn:hover svg { stroke: var(--white); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-prev { left: -8px; }
.carousel-next { right: -8px; }

/* ---------- Reviews ---------- */
.reviews-section { background: var(--bg-alt); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.review-stars { color: #F59E0B; font-size: 18px; margin-bottom: 12px; }
.star-empty { color: var(--border); }
.review-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 14px;
}
.review-author strong { display: block; font-size: 14px; }
.review-author span { font-size: 12px; color: var(--text-light); }
.review-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 800;
  color: var(--teal);
  background: rgba(78,205,196,0.1);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Newsletter ---------- */
.newsletter-section { padding: 48px 0; }
.newsletter-card {
  background: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 50%, #A78BFA 100%);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.newsletter-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.newsletter-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.ns-1 { width: 200px; height: 200px; top: -50px; right: -50px; }
.ns-2 { width: 150px; height: 150px; bottom: -30px; left: -30px; }
.ns-3 { width: 100px; height: 100px; top: 40%; left: 10%; }
.newsletter-content {
  position: relative;
  z-index: 1;
}
.newsletter-icon { font-size: 40px; display: block; margin-bottom: 16px; }
.newsletter-card h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--white);
  margin-bottom: 12px;
}
.newsletter-card p {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  max-width: 500px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.newsletter-input-group {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto 10px;
}
.newsletter-input-group input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: var(--radius-full);
  font-size: 14px;
  outline: none;
}
.newsletter-input-group .btn {
  background: var(--white);
  color: var(--coral);
  border-color: var(--white);
}
.newsletter-input-group .btn:hover {
  background: var(--bg);
  border-color: var(--bg);
}
.newsletter-note {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
}
.newsletter-success {
  color: var(--white);
  font-size: 16px;
}
.newsletter-success span { font-size: 40px; display: block; margin-bottom: 12px; }

/* ---------- Trust Badges ---------- */
.trust-section { padding: 48px 0; background: var(--white); }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-badge {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg);
  transition: var(--transition);
}
.trust-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.trust-icon { font-size: 32px; margin-bottom: 10px; }
.trust-badge h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.trust-badge p { font-size: 12px; color: var(--text-light); }

/* ---------- Footer ---------- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 20px;
}
.footer-brand .logo-accent {
  background: linear-gradient(135deg, var(--coral), var(--teal));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-link:hover { background: var(--coral); }
.social-link svg { width: 16px; height: 16px; color: var(--white); }
.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col li {
  margin-bottom: 8px;
  font-size: 13px;
}
.footer-col a:hover { color: var(--coral); }
.footer-col ul li { list-style: none; }
.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition-fast);
}
.payment-icons {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.payment-icon {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.1);
  white-space: nowrap;
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a:hover { color: var(--white); }

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--coral);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 900;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--coral-dark);
  transform: translateY(-4px);
}
.back-to-top svg { width: 24px; height: 24px; }

/* ---------- Cart Sidebar ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 90vw;
  background: var(--white);
  z-index: 3001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-xl);
}
.cart-sidebar.active { transform: translateX(0); }
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
}
.cart-header h3 svg { width: 24px; height: 24px; }
.cart-close {
  font-size: 28px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}
.cart-close:hover { background: var(--bg-alt); }
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 12px 20px;
}
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  animation: slideInRight 0.3s ease;
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item-info { flex: 1; }
.cart-item-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cart-item-meta {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cart-item-quantity button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  transition: var(--transition-fast);
  color: var(--text);
}
.cart-item-quantity button:hover { border-color: var(--coral); color: var(--coral); }
.cart-item-quantity span { font-size: 14px; font-weight: 700; min-width: 20px; text-align: center; }
.cart-item-price { font-size: 15px; font-weight: 800; color: var(--coral); }
.cart-item-remove {
  font-size: 12px;
  color: var(--text-lighter);
  transition: var(--transition-fast);
  margin-top: 4px;
  display: inline-block;
}
.cart-item-remove:hover { color: var(--coral); }
.cart-empty {
  text-align: center;
  padding: 60px 20px;
}
.cart-empty-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.cart-empty p { color: var(--text-light); margin-bottom: 16px; }
.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}
.cart-subtotal,
.cart-shipping {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
}
.cart-subtotal strong { font-size: 16px; }
.cart-total {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 2px solid var(--border);
  margin-bottom: 16px;
}
.cart-total strong { font-size: 20px; color: var(--coral); }
.cart-footer .btn { margin-bottom: 8px; }

/* Cart Wiggle */
.cart-wiggle {
  animation: cartWiggle 0.5s ease;
}
@keyframes cartWiggle {
  0% { transform: translateX(100%); }
  20% { transform: translateX(calc(100% - 6px)); }
  40% { transform: translateX(100%); }
  60% { transform: translateX(calc(100% - 3px)); }
  80% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

/* ---------- Modals ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  background: var(--white);
  border-radius: var(--radius-xl);
  z-index: 4001;
  max-width: 900px;
  width: 92vw;
  max-height: 90vh;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--bg);
  z-index: 10;
  transition: var(--transition-fast);
  color: var(--text);
}
.modal-close:hover { background: var(--coral); color: var(--white); }
.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.modal-gallery {
  padding: 24px;
}
.modal-main-image {
  position: relative;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.modal-placeholder {
  width: 100%;
  height: 100%;
  transition: background 0.3s ease;
}
.modal-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.modal-color-options {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.modal-color-option {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: 3px solid transparent;
  transition: var(--transition-fast);
}
.modal-color-option:hover { transform: scale(1.1); }
.modal-color-option.active { border-color: var(--text); }
.modal-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modal-category {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal);
  margin-bottom: 6px;
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--text);
  margin-bottom: 10px;
}
.modal-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.modal-rating .stars { font-size: 16px; }
.modal-rating span { font-size: 13px; color: var(--text-light); }
.modal-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.modal-current-price { font-size: 24px; font-weight: 800; color: var(--coral); }
.modal-old-price { font-size: 16px; color: var(--text-lighter); text-decoration: line-through; }
.modal-discount {
  background: rgba(255,107,107,0.1);
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.modal-description {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}
.modal-option-group { margin-bottom: 16px; }
.modal-option-group label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 8px;
}
.modal-size-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.size-btn {
  padding: 8px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  transition: var(--transition-fast);
  color: var(--text);
}
.size-btn:hover { border-color: var(--teal); color: var(--teal); }
.size-btn.active { background: var(--teal); color: var(--white); border-color: var(--teal); }
.modal-color-swatches {
  display: flex;
  gap: 8px;
}
.color-swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 3px solid transparent;
  transition: var(--transition-fast);
  cursor: pointer;
}
.color-swatch-btn:hover { transform: scale(1.15); }
.color-swatch-btn.active { border-color: var(--text); box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--text); }
.modal-quantity {
  margin-bottom: 20px;
}
.modal-quantity label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text);
  margin-bottom: 8px;
}
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  width: fit-content;
}
.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  transition: var(--transition-fast);
  color: var(--text);
}
.qty-btn:hover { background: var(--bg-alt); }
.quantity-selector input {
  width: 50px;
  height: 40px;
  text-align: center;
  border: none;
  border-left: 2px solid var(--border);
  border-right: 2px solid var(--border);
  font-size: 15px;
  font-weight: 700;
  outline: none;
  -moz-appearance: textfield;
}
.quantity-selector input::-webkit-outer-spin-button,
.quantity-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-wishlist-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
}
.btn-wishlist-modal:hover { border-color: var(--coral); color: var(--coral); }
.btn-wishlist-modal svg { width: 18px; height: 18px; }
.btn-wishlist-modal.wishlisted { background: var(--coral); color: var(--white); border-color: var(--coral); }

/* ---------- Checkout Modal ---------- */
.checkout-modal { max-width: 520px; }
.checkout-body { padding: 32px; }
.checkout-step h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}
.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.checkout-progress-step {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-lighter);
}
.checkout-progress-step.active { color: var(--teal); }
.checkout-progress-step.completed { color: var(--green); }
.checkout-progress-step span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  border: 2px solid var(--border);
}
.checkout-progress-step.active span { border-color: var(--teal); background: var(--teal); color: var(--white); }
.checkout-progress-step.completed span { border-color: var(--green); background: var(--green); color: var(--white); }
.checkout-progress-line {
  width: 40px;
  height: 2px;
  background: var(--border);
}
.checkout-progress-line.active { background: var(--teal); }
.checkout-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.form-group input {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}
.form-group input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(78,205,196,0.1); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkout-items-summary {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 16px;
}
.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.checkout-summary-thumb {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}
.checkout-summary-info { flex: 1; }
.checkout-summary-name { font-size: 13px; font-weight: 700; }
.checkout-summary-meta { font-size: 12px; color: var(--text-light); }
.checkout-summary-price { font-size: 14px; font-weight: 800; }
.checkout-totals { margin-bottom: 16px; }
.checkout-total-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
}
.checkout-grand-total {
  font-size: 18px;
  font-weight: 800;
  border-top: 2px solid var(--border);
  padding-top: 14px;
  margin-top: 4px;
  color: var(--coral);
}
.checkout-info { margin-bottom: 16px; font-size: 13px; color: var(--text-light); }
.order-confirmation { text-align: center; padding: 20px 0; }
.confirmation-icon { font-size: 64px; margin-bottom: 16px; display: block; animation: cartBounce 0.6s ease; }
.order-confirmation h2 { margin-bottom: 12px; }
.order-confirmation p { font-size: 14px; color: var(--text-light); margin-bottom: 8px; line-height: 1.7; }

/* ---------- Cookie Consent ---------- */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  background: var(--text);
  color: var(--white);
  padding: 16px 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.cookie-consent.active { transform: translateY(0); }
.cookie-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-icon { font-size: 24px; flex-shrink: 0; }
.cookie-content p {
  flex: 1;
  font-size: 13px;
  line-height: 1.5;
  min-width: 200px;
}
.cookie-content a { color: var(--teal); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-actions .btn-primary {
  background: var(--coral);
  border-color: var(--coral);
  color: var(--white);
}
.cookie-actions .btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}
.cookie-actions .btn-outline:hover { border-color: var(--white); }

/* ---------- Toast ---------- */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  max-width: 400px;
  animation: toastIn 0.3s ease;
  border-left: 4px solid var(--teal);
}
.toast.toast-error { border-left-color: var(--coral); }
.toast.toast-success { border-left-color: var(--green); }
.toast.removing { animation: toastOut 0.3s ease forwards; }
.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-message { flex: 1; font-size: 13px; font-weight: 600; color: var(--text); }
@keyframes toastIn {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes toastOut {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(40px); }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
  .occasion-grid { grid-template-columns: repeat(2, 1fr); }
  .outfit-card { grid-template-columns: 1fr; }
  .outfit-image { min-height: 280px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid .review-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-main-image { height: 300px; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .search-wrapper { display: none; }
  .header-actions .header-action-btn:first-child { display: none; } /* hide wishlist on mobile header */
  .section { padding: 48px 0; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-image { height: 220px; }
  .product-info { padding: 12px; }
  .product-name { font-size: 13px; }
  .product-price { font-size: 15px; }
  .product-card-footer .btn { font-size: 12px; padding: 6px 8px; }
  .occasion-grid { grid-template-columns: repeat(2, 1fr); }
  .outfit-details { padding: 24px; }
  .outfit-details h3 { font-size: 22px; }
  .sale-banner { min-height: 300px; }
  .countdown-item { padding: 8px 12px; min-width: 56px; }
  .countdown-value { font-size: 22px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .reviews-grid .review-card:last-child { max-width: none; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .newsletter-input-group { flex-direction: column; }
  .filters-right { flex-direction: column; }
  .hero-stats { gap: 20px; }
}

@media (max-width: 480px) {
  .top-banner { font-size: 11px; padding: 8px 30px; }
  .logo-text { font-size: 18px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .category-card { padding: 20px 12px; }
  .category-icon { font-size: 28px; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .product-image { height: 180px; }
  .product-actions-overlay { opacity: 1; transform: none; }
  .quick-view-btn { opacity: 1; transform: translateX(-50%) translateY(0); }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-buttons .btn { width: 100%; max-width: 260px; }
  .hero-title { font-size: 28px; }
  .outfit-details { padding: 20px; }
  .outfit-items { gap: 8px; }
  .outfit-item { padding: 8px; }
  .countdown-item { padding: 6px 8px; min-width: 48px; }
  .countdown-value { font-size: 18px; }
  .countdown-label { font-size: 9px; }
  .arrival-card { flex: 0 0 200px; }
  .arrival-image { height: 180px; }
  .form-row { grid-template-columns: 1fr; }
  .checkout-body { padding: 20px; }
}
