/* ============================================================
   NUELX JEWELS — Complete Design System
   Inspired by CaratLane color palette & layout
   ============================================================ */

/* ── Google Fonts (loaded in HTML) ─────────────────────────── */
/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --primary: #4F3267;
  --primary-dark: #231535;
  --primary-light: #F6F3F9;
  --primary-mid: #6B3F8A;
  --accent: #8863FB;
  --accent-pink: #DE57E5;
  --accent-light: #EDE0FF;
  --text-primary: #33363E;
  --text-secondary: #5A5D6B;
  --text-muted: #9E9FA5;
  --text-light: #BBBCC4;
  --bg-primary: #FFFFFF;
  --bg-secondary: #F9F9FA;
  --bg-card: #FFFFFF;
  --bg-input: #F6F3F9;
  --border: #E8E0F0;
  --border-light: #F0EAF8;
  --shadow-sm: 0 2px 8px rgba(79,50,103,0.08);
  --shadow-md: 0 4px 24px rgba(79,50,103,0.12);
  --shadow-lg: 0 8px 40px rgba(79,50,103,0.16);
  --shadow-card: 0 2px 16px rgba(79,50,103,0.1);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-heading: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Montserrat', 'Segoe UI', sans-serif;
  --nav-bg: #231535;
  --nav-text: rgba(255,255,255,0.85);
  --header-height: 70px;
  --nav-height: 48px;
  --transition: all 0.25s ease;
  --star-color: #FFC107;
}

[data-theme="dark"] {
  --primary: #8863FB;
  --primary-dark: #100919;
  --primary-light: #231535;
  --primary-mid: #A87EFF;
  --accent: #DE57E5;
  --accent-pink: #FF7AFF;
  --accent-light: #2D1A4F;
  --text-primary: #F0EBF8;
  --text-secondary: #C4B4D8;
  --text-muted: #8A7EA0;
  --text-light: #5D5370;
  --bg-primary: #0F0818;
  --bg-secondary: #1A1025;
  --bg-card: #231535;
  --bg-input: #2D1A4F;
  --border: #3D2B5A;
  --border-light: #2D1A4F;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-card: 0 2px 16px rgba(0,0,0,0.3);
  --nav-bg: #100919;
  --nav-text: rgba(255,255,255,0.8);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, select, textarea { font-family: var(--font-body); font-size: 0.9375rem; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--primary); outline-offset: 2px; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
#app { display: flex; flex-direction: column; min-height: 100vh; }
#page-content { flex: 1; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; color: var(--text-primary); }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem; border-radius: var(--radius-full);
  font-size: 0.9375rem; font-weight: 600; font-family: var(--font-body);
  transition: var(--transition); cursor: pointer; border: 2px solid transparent;
  letter-spacing: 0.02em;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-mid); border-color: var(--primary-mid); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: white; }
.btn-outline-white { background: transparent; color: white; border-color: white; }
.btn-outline-white:hover { background: white; color: var(--primary); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.0625rem; }
.btn-full { width: 100%; display: flex; }

/* ── Badges ─────────────────────────────────────────────────── */
.badge { display: inline-block; padding: 2px 8px; border-radius: var(--radius-full); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-new { background: #231535; color: white; }
.badge-best { background: var(--primary); color: white; }
.badge-sale { background: #EF4444; color: white; }
.badge-oos { background: #6b7280; color: white; }
.product-oos .product-img { opacity: 0.5; }
.product-oos .product-price { color: var(--text-muted); }
.badge-count { background: var(--primary-light); color: var(--primary); border-radius: var(--radius-sm); padding: 0.2rem 0.6rem; font-size: 0.875rem; font-family: var(--font-body); }
.action-count { position: absolute; top: -6px; right: -8px; background: var(--accent-pink); color: white; font-size: 0.625rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* ── ─────────────────────────────────────────────────────────── */
/* ── HEADER ─────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--bg-primary); box-shadow: var(--shadow-sm); transition: var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-top { padding: 0.75rem 0; border-bottom: 1px solid var(--border-light); }
.header-top-inner { display: flex; align-items: center; gap: 1.5rem; }

.header-logo { flex-shrink: 0; display: flex; align-items: center; }
.logo-link { display: flex; flex-direction: column; text-decoration: none; }
.logo-text { font-family: var(--font-heading); font-size: 1.75rem; font-weight: 700; color: var(--primary); letter-spacing: 0.03em; line-height: 1; }
.logo-tagline { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.12em; text-transform: uppercase; }
.logo-img { height: 44px; width: auto; object-fit: contain; display: block; }
.logo-light { display: block; }
.logo-dark  { display: none; }
[data-theme="dark"] .logo-light { display: none; }
[data-theme="dark"] .logo-dark  { display: block; }
/* Footer is always dark — always show light (white) logo */
.footer-logo-img .logo-light { display: none !important; }
.footer-logo-img .logo-dark  { display: block !important; }
/* Text fallback when logo images fail to load */
.logo-text-fallback { display: none; }
.logo-text-fallback.show-fallback { display: block; }
.footer-logo-img .logo-text-fallback { color: white; }
.footer-logo-img .logo-text-fallback.show-fallback { display: block; }
/* Mobile header — logo left, actions right */
@media (max-width: 768px) {
  .header-top-inner { position: static; justify-content: space-between; gap: 0.5rem; }
  .header-logo { position: static; transform: none; flex-shrink: 0; }
  .header-logo .logo-img { height: 34px; }
  .header-actions { margin-left: 0; gap: 0; }
  .action-label { display: none; }
  .action-btn { min-width: 36px; padding: 0.4rem; }
}

.header-search { flex: 1; max-width: 600px; }
.search-form { display: flex; background: var(--bg-input); border: 1.5px solid var(--border); border-radius: var(--radius-full); overflow: hidden; transition: var(--transition); }
.search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,50,103,0.1); }
.search-input { flex: 1; padding: 0.65rem 1.25rem; background: none; border: none; outline: none; font-size: 0.9375rem; color: var(--text-primary); }
.search-input::placeholder { color: var(--text-muted); }
.search-btn { padding: 0.5rem 1.25rem; background: var(--primary); color: white; border-radius: 0; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.search-btn:hover { background: var(--primary-mid); }

.header-actions { display: flex; align-items: center; gap: 0.25rem; flex-shrink: 0; }
.action-btn { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0.5rem; border-radius: var(--radius-md); color: var(--text-secondary); transition: var(--transition); position: relative; min-width: 44px; background: none; border: none; cursor: pointer; }
.action-btn:hover { background: var(--primary-light); color: var(--primary); }
.action-label { font-size: 0.625rem; font-weight: 600; white-space: nowrap; }
#theme-icon { display: inline-flex; align-items: center; justify-content: center; color: var(--text-secondary); }
.theme-toggle { font-size: 1.1rem; }

/* ── NAVIGATION ─────────────────────────────────────────────── */
.site-nav { background: var(--nav-bg); }
.nav-list { display: flex; align-items: center; gap: 0; }
.nav-item { position: relative; }
.nav-link { display: block; padding: 0.8rem 1.1rem; color: var(--nav-text); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.02em; transition: var(--transition); white-space: nowrap; }
.nav-link:hover { color: white; }
.nav-item.has-dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  min-width: 200px; z-index: 100; padding: 0.5rem 0;
  animation: dropIn 0.2s ease;
}
@keyframes dropIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-link { display: block; padding: 0.625rem 1.25rem; color: var(--text-primary); font-size: 0.875rem; transition: var(--transition); }
.dropdown-link:hover { background: var(--primary-light); color: var(--primary); padding-left: 1.5rem; }

/* ── MOBILE MENU ────────────────────────────────────────────── */
.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.mobile-menu-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; }
.mobile-menu-overlay.show { display: block; }
.mobile-menu {
  position: fixed; top: 0; right: -100%; width: 300px; height: 100vh;
  background: var(--bg-card); z-index: 1002; overflow-y: auto;
  transition: right 0.3s ease; box-shadow: var(--shadow-lg);
}
.mobile-menu.open { right: 0; }
.mobile-menu-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border); background: var(--primary-dark); }
.mobile-menu-header .logo-text { color: white; }
.mobile-menu-header .close-btn { color: white; font-size: 1.25rem; background: none; border: none; cursor: pointer; }
.mobile-nav-list { padding: 0.5rem 0; }
.mobile-nav-link { display: block; padding: 1rem 1.5rem; color: var(--text-primary); font-weight: 500; border-bottom: 1px solid var(--border-light); }
.mobile-sub-list { padding-left: 1rem; background: var(--bg-secondary); }
.mobile-sub-list a { display: block; padding: 0.75rem 1.5rem; font-size: 0.875rem; color: var(--text-secondary); }

/* ── ─────────────────────────────────────────────────────────── */
/* ── HERO SECTION ───────────────────────────────────────────── */
.hero-section { position: relative; overflow: hidden; }
.hero-carousel { position: relative; height: 520px; }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: stretch; opacity: 0; transition: opacity 0.7s ease; overflow: hidden; }
.hero-slide.active { opacity: 1; z-index: 1; }
/* Full-image overlay for text readability */
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 60%, transparent 100%); z-index: 1; pointer-events: none; }
.hero-inner { display: flex; align-items: center; height: 100%; gap: 2rem; position: relative; z-index: 2; width: 100%; }
.hero-text { max-width: 600px; padding: 3rem 0; z-index: 2; }
.hero-tag { display: inline-block; background: rgba(255,255,255,0.2); color: white; padding: 0.3rem 1rem; border-radius: var(--radius-full); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 1rem; border: 1px solid rgba(255,255,255,0.3); }
.hero-title { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; color: white; line-height: 1.1; margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-subtitle { font-size: 1.1rem; color: rgba(255,255,255,0.92); margin-bottom: 2rem; text-shadow: 0 1px 4px rgba(0,0,0,0.3); }
.hero-cta { background: white; color: var(--primary); border-color: white; font-weight: 700; }
.hero-cta:hover { background: transparent; color: white; border-color: white; }
.hero-dots { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 3; }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: var(--transition); padding: 0; }
.hero-dot.active { background: white; width: 24px; border-radius: var(--radius-full); }
.hero-prev, .hero-next { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; background: rgba(255,255,255,0.2); color: white; border-radius: 50%; width: 44px; height: 44px; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); transition: var(--transition); border: 1px solid rgba(255,255,255,0.3); }
.hero-prev { left: 1.5rem; }
.hero-next { right: 1.5rem; }
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,0.35); transform: translateY(-50%) scale(1.05); }

/* ── FEATURES STRIP ─────────────────────────────────────────── */
.features-strip { background: var(--bg-secondary); padding: 1.25rem 0; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature-item { display: flex; align-items: center; gap: 0.75rem; }
.feature-icon { flex-shrink: 0; color: var(--primary); display: flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 28px; height: 28px; }
.feature-item strong { font-size: 0.875rem; font-weight: 700; display: block; color: var(--text-primary); }
.feature-item p { font-size: 0.75rem; color: var(--text-muted); }

/* ── SECTIONS ───────────────────────────────────────────────── */
.section { padding: 3.5rem 0; }
.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 2rem; }
.section-header h2 { color: var(--text-primary); }
.view-all { color: var(--primary); font-size: 0.875rem; font-weight: 600; transition: var(--transition); }
.view-all:hover { color: var(--accent); }

/* ── CATEGORY CARDS ─────────────────────────────────────────── */
.categories-scroll { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 0.75rem; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.categories-scroll::-webkit-scrollbar { height: 4px; }
.categories-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.category-card { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; flex-shrink: 0; width: 120px; text-align: center; transition: var(--transition); text-decoration: none; }
.category-card:hover { transform: translateY(-4px); }
.category-img-wrap { width: 100px; height: 100px; border-radius: 50%; overflow: hidden; border: 3px solid var(--border); transition: var(--transition); background: var(--primary-light); }
.category-card:hover .category-img-wrap { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(79,50,103,0.2); }
.category-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.category-name { font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); }
.category-count { font-size: 0.6875rem; color: var(--text-muted); }

/* ── COLLECTIONS GRID ───────────────────────────────────────── */
.collections-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.collection-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-card); box-shadow: var(--shadow-card); transition: var(--transition); text-decoration: none; display: block; }
.collection-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.collection-img-wrap { height: 220px; overflow: hidden; }
.collection-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.collection-card:hover .collection-img-wrap img { transform: scale(1.06); }
.collection-info { padding: 1.25rem; }
.collection-badge { display: inline-block; background: var(--accent-pink); color: white; padding: 2px 10px; border-radius: var(--radius-full); font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem; }
.collection-info h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.collection-info p { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.collection-cta { font-size: 0.875rem; color: var(--primary); font-weight: 600; }

/* ── PRODUCT CARDS ──────────────────────────────────────────── */
.products-scroll { display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: 0.75rem; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.products-scroll::-webkit-scrollbar { height: 4px; }
.products-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.5rem; }

.product-card { background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: var(--transition); flex-shrink: 0; width: 240px; border: 1px solid var(--border-light); position: relative; }
.products-grid .product-card { width: 100%; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
/* Full-card tap target for mobile — sits above card, below buttons */
.product-card-link { position: absolute; inset: 0; z-index: 1; }
.product-card .wishlist-btn { position: relative; z-index: 2; }
.product-card .quick-add-btn { position: absolute; z-index: 2; }
.product-card-image-wrap { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--primary-light); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; display: block; }
.product-img-hover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s ease; }
.product-card:hover .product-img { transform: scale(1.05); }
.product-card:hover .product-img-hover { opacity: 1; }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 4px; z-index: 2; }
.wishlist-btn { position: absolute; top: 10px; right: 10px; background: white; border-radius: 50%; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: var(--shadow-sm); transition: var(--transition); z-index: 2; border: none; cursor: pointer; }
.wishlist-btn:hover { transform: scale(1.1); }
.quick-add-btn { position: absolute; bottom: 0; left: 0; right: 0; background: var(--primary); color: white; padding: 0.6rem; font-size: 0.8125rem; font-weight: 600; text-align: center; opacity: 0; transform: translateY(100%); transition: var(--transition); border: none; cursor: pointer; }
.product-card:hover .quick-add-btn { opacity: 1; transform: translateY(0); }
.product-card-info { padding: 0.875rem 1rem 1rem; }
/* ── Touch devices: tap card → go to product page (no hover overlay) ── */
@media (hover: none) {
  .product-card:hover { box-shadow: var(--shadow-card); transform: none; }
  .product-card:hover .product-img { transform: none; }
  .product-card:hover .product-img-hover { opacity: 0; }
  .quick-add-btn { display: none; }
}

.product-category-tag { font-size: 0.6875rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem; }
.product-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); margin-bottom: 0.3rem; line-height: 1.3; transition: color 0.2s; min-height: 2.6em; }
.product-name:hover { color: var(--primary); }
.product-rating { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.5rem; }
.stars { color: var(--star-color); font-size: 0.8125rem; letter-spacing: 1px; }
.rating-count { font-size: 0.75rem; color: var(--text-muted); }
.product-price-row { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.product-price { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); }
.product-mrp { font-size: 0.8125rem; color: var(--text-muted); text-decoration: line-through; }
.product-disc { font-size: 0.75rem; color: #22c55e; font-weight: 600; }

/* ── PROMO BANNER ───────────────────────────────────────────── */
.promo-banner { border-radius: var(--radius-lg); padding: 3rem; display: flex; align-items: center; justify-content: space-between; overflow: hidden; }
.promo-text h2 { color: white; font-size: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 0.5rem; }
.promo-text p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; font-size: 1.0625rem; }
.promo-image img { height: 220px; border-radius: var(--radius-md); }

/* ── TESTIMONIALS MARQUEE ───────────────────────────────────── */
.testimonials-marquee-outer { overflow: hidden; width: 100%; mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%); }
.testimonials-marquee-track { display: flex; gap: 1.25rem; width: max-content; animation: testimonial-scroll 32s linear infinite; }
.testimonials-marquee-outer:hover .testimonials-marquee-track { animation-play-state: paused; }
@keyframes testimonial-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.testimonial-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--transition); flex: 0 0 300px; width: 300px; }
.testimonial-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.testimonial-stars { color: var(--star-color); font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.875rem; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 0.9375rem; }
.testimonial-author span { font-size: 0.8125rem; color: var(--text-muted); }

/* ── ─────────────────────────────────────────────────────────── */
/* ── PRODUCT LISTING PAGE ───────────────────────────────────── */
.products-page { padding: 2rem 0 4rem; }
.breadcrumb { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { text-decoration: underline; }
.products-page-header { margin-bottom: 1.5rem; }
.products-page-header h1 { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.product-count { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); font-family: var(--font-body); }
.products-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }

.filters-sidebar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; position: sticky; top: calc(var(--header-height) + var(--nav-height) + 1rem); }
.filters-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.filters-header h3 { font-size: 1rem; font-weight: 700; }
.clear-btn { font-size: 0.8125rem; color: var(--primary); font-weight: 600; cursor: pointer; background: none; border: none; }
.filter-group { margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-light); padding-bottom: 1.5rem; }
.filter-group:last-child { border-bottom: none; margin-bottom: 0; }
.filter-group h4 { font-size: 0.9375rem; font-weight: 700; margin-bottom: 0.75rem; }
.filter-list li { margin-bottom: 0.25rem; }
.filter-list a { font-size: 0.875rem; color: var(--text-secondary); padding: 0.3rem 0; display: flex; justify-content: space-between; transition: color 0.2s; }
.filter-list a:hover, .filter-list a.active { color: var(--primary); font-weight: 600; }
.filter-list a span { color: var(--text-muted); }

.products-toolbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.filter-mobile-btn { display: none; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.875rem; font-weight: 600; background: var(--bg-card); color: var(--text-primary); }
.showing-text { font-size: 0.875rem; color: var(--text-muted); flex: 1; }
.sort-wrap { display: flex; align-items: center; gap: 0.5rem; }
.sort-wrap label { font-size: 0.875rem; color: var(--text-secondary); font-weight: 500; }
.sort-select { padding: 0.4rem 0.75rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-card); color: var(--text-primary); font-size: 0.875rem; cursor: pointer; }

.empty-state { text-align: center; padding: 5rem 0; }
.empty-state h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.empty-state p { color: var(--text-muted); }
.empty-state a { color: var(--primary); font-weight: 600; }

/* ── ─────────────────────────────────────────────────────────── */
/* ── PRODUCT DETAIL PAGE ────────────────────────────────────── */
.product-detail-page { padding: 2rem 0 4rem; }
.product-detail-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; margin-bottom: 4rem; }
.product-gallery { display: flex; gap: 1rem; }
.gallery-thumbnails { display: flex; flex-direction: column; gap: 0.75rem; }
.gallery-thumb { width: 72px; height: 72px; object-fit: cover; border-radius: var(--radius-sm); cursor: pointer; border: 2px solid var(--border); transition: var(--transition); }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--primary); }
.gallery-main { flex: 1; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--primary-light); aspect-ratio: 1; max-height: 520px; cursor: crosshair; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-zoom-box { display: none; position: fixed; width: 560px; height: 560px; border: 1.5px solid var(--border); border-radius: var(--radius-lg); background-repeat: no-repeat; background-color: var(--bg-card); z-index: 999; box-shadow: 0 16px 56px rgba(0,0,0,0.22); pointer-events: none; }
@media (max-width: 900px) { .img-zoom-box { display: none !important; } }

/* ── Instagram Auto-Scroll Feed ─────────────────────────────── */
.instagram-section { padding: 2.5rem 0; }
.ig-scroll-outer { overflow: hidden; width: 100%; mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%); }
.ig-scroll-track { display: flex; gap: 1rem; width: max-content; animation: ig-scroll-left linear infinite; }
.ig-scroll-outer:hover .ig-scroll-track { animation-play-state: paused; }
@keyframes ig-scroll-left { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.ig-scroll-item { flex: 0 0 340px; width: 340px; border-radius: var(--radius-md); box-shadow: var(--shadow-card); background: #fff; overflow: visible; }
.ig-scroll-item blockquote.instagram-media { margin: 0 !important; width: 338px !important; max-width: 338px !important; min-width: 0 !important; border-radius: var(--radius-md) !important; }
.ig-scroll-track { gap: 1.25rem; }
@media (max-width: 600px) { .ig-scroll-item { flex: 0 0 300px; width: 300px; } .ig-scroll-item blockquote.instagram-media { width: 298px !important; max-width: 298px !important; } }
.gallery-badges { position: absolute; top: 1rem; left: 1rem; display: flex; gap: 0.5rem; }

.product-info { display: flex; flex-direction: column; gap: 1.25rem; }
.detail-category { font-size: 0.8125rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.detail-name { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; line-height: 1.2; }
.detail-rating { display: flex; align-items: center; gap: 0.75rem; }
.stars-lg { color: var(--star-color); font-size: 1.1rem; letter-spacing: 1px; }
.rating-val { font-weight: 700; font-size: 1rem; }
.detail-price-row { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.detail-price { font-size: 2rem; font-weight: 800; color: var(--text-primary); }
.detail-mrp { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }
.detail-disc { font-size: 0.9rem; color: #22c55e; font-weight: 700; background: #dcfce7; padding: 0.2rem 0.6rem; border-radius: var(--radius-full); }
.tax-note { font-size: 0.75rem; color: var(--text-muted); }

.detail-specs { background: var(--bg-secondary); border-radius: var(--radius-md); padding: 1rem 1.25rem; }
.spec-row { display: flex; justify-content: space-between; padding: 0.4rem 0; font-size: 0.9375rem; border-bottom: 1px solid var(--border-light); }
.spec-row:last-child { border-bottom: none; }
.spec-row span:first-child { color: var(--text-muted); }
.spec-row span:last-child { font-weight: 600; }

.detail-actions { display: flex; gap: 1rem; }
.add-cart-btn { flex: 1; }
.wishlist-detail-btn { min-width: 130px; }

.delivery-info { display: flex; flex-direction: column; gap: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.25rem; }
.delivery-item { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.9rem; }
.delivery-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: var(--primary-light); color: var(--primary); }
[data-theme="dark"] .delivery-icon { background: rgba(255,255,255,0.08); color: var(--accent); }
.delivery-item strong { display: block; font-size: 0.9375rem; margin-bottom: 0.1rem; }
.delivery-item p { font-size: 0.8125rem; color: var(--text-muted); }

.detail-description h3 { margin-bottom: 0.5rem; }
.detail-description p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag { display: inline-block; background: var(--primary-light); color: var(--primary); padding: 0.25rem 0.75rem; border-radius: var(--radius-full); font-size: 0.8125rem; font-weight: 500; }

/* ── ─────────────────────────────────────────────────────────── */
/* ── CART PAGE ──────────────────────────────────────────────── */
.cart-page { padding: 3rem 0 5rem; }
.page-title { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 2rem; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-item { display: flex; gap: 1.25rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.25rem; align-items: center; }
.cart-item-img-wrap img { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-md); flex-shrink: 0; background: var(--primary-light); }
.cart-item-details { flex: 1; }
.cart-item-name { font-size: 1rem; font-weight: 600; margin-bottom: 0.4rem; display: block; color: var(--text-primary); }
.cart-item-name:hover { color: var(--primary); }
.cart-item-price { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); }
.cart-item-mrp { font-size: 0.875rem; color: var(--text-muted); text-decoration: line-through; margin-left: 0.5rem; }
.cart-item-controls { display: flex; align-items: center; gap: 1rem; margin-top: 0.75rem; }
.qty-control { display: flex; align-items: center; gap: 0.75rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-control button { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; font-weight: 700; background: var(--bg-secondary); transition: var(--transition); border: none; cursor: pointer; color: var(--text-primary); }
.qty-control button:hover { background: var(--primary-light); color: var(--primary); }
.qty-control span { font-weight: 600; padding: 0 0.25rem; min-width: 24px; text-align: center; }
.remove-btn { font-size: 0.8125rem; color: #EF4444; font-weight: 600; background: none; border: none; cursor: pointer; }
.remove-btn:hover { text-decoration: underline; }
.cart-item-total { font-size: 1.1rem; font-weight: 800; white-space: nowrap; }

.cart-summary, .checkout-summary { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; position: sticky; top: calc(var(--header-height) + var(--nav-height) + 1rem); }
.cart-summary h3, .checkout-summary h3 { font-size: 1.2rem; margin-bottom: 1.5rem; }
.summary-row { display: flex; justify-content: space-between; font-size: 0.9375rem; padding: 0.5rem 0; color: var(--text-secondary); }
.total-row { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); padding-top: 0.75rem; }
.summary-divider { height: 1px; background: var(--border); margin: 0.5rem 0; }
.free-text { color: #22c55e; font-weight: 700; }
.free-shipping-note { font-size: 0.8125rem; color: var(--primary); margin-top: 0.25rem; }
.checkout-btn { margin-top: 1.25rem; }

/* ── ─────────────────────────────────────────────────────────── */
/* ── CHECKOUT PAGE ──────────────────────────────────────────── */
.checkout-page { padding: 3rem 0 5rem; }
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; }
.checkout-form-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.checkout-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; }
.checkout-section h3 { font-size: 1.1rem; margin-bottom: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full-width { grid-column: 1 / -1; }
.form-group label { font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); }
.form-group input, .form-group select { padding: 0.7rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-input); color: var(--text-primary); font-size: 0.9375rem; transition: var(--transition); }
.form-group input:focus, .form-group select:focus { border-color: var(--primary); background: var(--bg-card); }

.payment-options { display: flex; flex-direction: column; gap: 0.75rem; }
.payment-option { display: flex; align-items: flex-start; gap: 0.75rem; padding: 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); }
.payment-option:has(input:checked) { border-color: var(--primary); background: var(--primary-light); }
.payment-option input { margin-top: 3px; accent-color: var(--primary); }
.payment-option-content strong { display: block; font-size: 0.9375rem; margin-bottom: 0.2rem; }
.payment-option-content span { font-size: 0.8125rem; color: var(--text-muted); }
.place-order-btn { margin-top: 1.5rem; }

.checkout-items { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; max-height: 300px; overflow-y: auto; }
.checkout-item { display: flex; align-items: center; gap: 0.75rem; }
.checkout-item img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: var(--primary-light); }
.checkout-item div { flex: 1; }
.checkout-item div p { font-size: 0.875rem; font-weight: 500; }
.checkout-item div span { font-size: 0.75rem; color: var(--text-muted); }
.checkout-item strong { font-size: 0.9375rem; white-space: nowrap; }

/* ── ─────────────────────────────────────────────────────────── */
/* ── ORDER SUCCESS ──────────────────────────────────────────── */
.success-animation { font-size: 5rem; margin-bottom: 1rem; animation: popIn 0.5s ease; }
@keyframes popIn { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.order-success-card { background: var(--bg-secondary); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin: 1.5rem 0; text-align: left; }
.order-id-display { display: flex; flex-direction: column; margin-bottom: 1rem; }
.order-id-display span { font-size: 0.8125rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.order-id-display strong { font-size: 1.25rem; color: var(--primary); font-family: var(--font-body); letter-spacing: 0.03em; }

/* ── ─────────────────────────────────────────────────────────── */
/* ── AUTH PAGES ─────────────────────────────────────────────── */
.auth-page { display: flex; align-items: center; justify-content: center; padding: 4rem 1.5rem; min-height: 70vh; }
.auth-card { width: 100%; max-width: 440px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-md); }
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-card h2 { text-align: center; margin-bottom: 0.4rem; }
.auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 2rem; }
.auth-card .form-group { margin-bottom: 1.25rem; }
.auth-card .form-group input { width: 100%; padding: 0.8rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-input); color: var(--text-primary); }
.auth-switch { text-align: center; margin-top: 1.25rem; font-size: 0.9375rem; color: var(--text-secondary); }
.auth-switch a { color: var(--primary); font-weight: 600; }
.auth-divider { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-divider span { font-size: 0.8125rem; color: var(--text-muted); white-space: nowrap; }
.demo-creds { background: var(--bg-secondary); border-radius: var(--radius-sm); padding: 0.75rem 1rem; font-size: 0.875rem; }
.demo-creds p { margin-bottom: 0.25rem; color: var(--text-secondary); }
.demo-creds code { background: var(--primary-light); color: var(--primary); padding: 0.1rem 0.4rem; border-radius: 4px; font-family: monospace; }

/* ── ─────────────────────────────────────────────────────────── */
/* ── PROFILE PAGE ───────────────────────────────────────────── */
.profile-card { display: flex; align-items: center; gap: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.75rem; margin-bottom: 1.5rem; }
.profile-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; font-weight: 700; flex-shrink: 0; }
.profile-details h2 { font-size: 1.4rem; }
.profile-details p { color: var(--text-muted); font-size: 0.9rem; }
.profile-menu { display: flex; flex-direction: column; gap: 0.75rem; }
.profile-menu-item { display: flex; align-items: center; gap: 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 1.25rem; transition: var(--transition); }
.profile-menu-item:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); background: var(--primary-light); }
.profile-menu-item span:first-child { font-size: 1.5rem; flex-shrink: 0; }
.profile-menu-item div { flex: 1; }
.profile-menu-item strong { display: block; font-size: 1rem; }
.profile-menu-item p { font-size: 0.8125rem; color: var(--text-muted); }
.profile-menu-item span:last-child { color: var(--text-muted); font-size: 1.1rem; }

/* ── ORDERS PAGE ────────────────────────────────────────────── */
.orders-list { display: flex; flex-direction: column; gap: 1.25rem; }
.order-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.order-card-header { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--border-light); }
.order-id { display: block; font-size: 1rem; font-weight: 700; }
.order-date { font-size: 0.8125rem; color: var(--text-muted); display: block; }
.order-status-badge { padding: 0.3rem 0.875rem; border-radius: var(--radius-full); font-size: 0.8125rem; font-weight: 700; }
.order-items-preview { padding: 1rem 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.order-item-mini { display: flex; align-items: center; gap: 0.75rem; }
.order-item-mini img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; background: var(--primary-light); }
.order-item-mini p { font-size: 0.9375rem; font-weight: 500; }
.order-item-mini span { font-size: 0.8125rem; color: var(--text-muted); }
.order-card-footer { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; background: var(--bg-secondary); border-top: 1px solid var(--border-light); font-size: 0.9375rem; }
.tracking-id { color: var(--primary); font-weight: 600; }
.tracking-pending { color: var(--text-muted); font-size: 0.875rem; }

/* ── COLLECTION PAGE ────────────────────────────────────────── */
.collection-banner { padding: 4rem 0; background: var(--primary-light); }
.collection-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.collection-banner-text h1 { font-size: clamp(2rem, 4vw, 3rem); }
.collection-banner-text p { font-size: 1.1rem; color: var(--text-secondary); margin-top: 0.5rem; }
.collection-banner-img { height: 280px; border-radius: var(--radius-lg); object-fit: cover; }

/* ── ─────────────────────────────────────────────────────────── */
/* ── FOOTER ─────────────────────────────────────────────────── */
.footer-newsletter { background: var(--primary); padding: 2.5rem 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.footer-newsletter h3 { color: white; font-size: 1.3rem; }
.footer-newsletter p { color: rgba(255,255,255,0.8); margin-top: 0.25rem; }
.newsletter-form { display: flex; gap: 0; background: white; border-radius: var(--radius-full); overflow: hidden; flex-shrink: 0; }
.newsletter-form input { padding: 0.75rem 1.25rem; border: none; outline: none; font-size: 0.9375rem; width: 280px; background: none; }
.newsletter-form button { padding: 0.75rem 1.5rem; background: var(--accent-pink); color: white; font-weight: 700; border: none; cursor: pointer; transition: var(--transition); }
.newsletter-form button:hover { background: var(--primary-dark); }

.footer-main { background: var(--primary-dark); padding: 3rem 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .logo-text { color: white; }
.footer-desc { color: rgba(255,255,255,0.6); font-size: 0.875rem; line-height: 1.7; margin-top: 0.75rem; margin-bottom: 1.25rem; }
.footer-social { display: flex; flex-direction: row; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.85); transition: background 0.2s, color 0.2s, transform 0.2s; text-decoration: none; }
.social-link:hover { background: var(--accent); color: white; transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.footer-links h4 { color: white; font-size: 0.9375rem; margin-bottom: 1rem; font-family: var(--font-body); font-weight: 700; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: white; }

.footer-bottom { background: #100919; padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8125rem; }
.payment-icons { display: flex; gap: 0.5rem; }
.pay-icon { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); padding: 0.25rem 0.6rem; border-radius: 4px; font-size: 0.75rem; font-weight: 600; }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeOut { from { opacity: 1; } to { opacity: 0; } }
@keyframes shimmer { 0% { background-position: -1000px 0; } 100% { background-position: 1000px 0; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

#page-content > * { animation: fadeIn 0.25s ease; }

/* ── ─────────────────────────────────────────────────────────── */
/* ── RESPONSIVE — Tablet ────────────────────────────────────── */
@media (max-width: 1024px) {
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-marquee-track { animation-duration: 24s; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .products-layout { grid-template-columns: 220px 1fr; }
  .hero-carousel { height: 420px; }
}

/* ── Responsive — Mobile ────────────────────────────────────── */
@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  .site-nav { display: none; }
  .header-search { display: none; }

  .hero-carousel { height: 380px; }
  .hero-inner { flex-direction: column; padding: 2rem 0; justify-content: center; }
  .hero-text { flex: none; padding: 1.5rem 0 0.5rem; text-align: center; max-width: 100%; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.5rem); }
  .hero-slide-overlay { background: rgba(0,0,0,0.45); }

  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .feature-item { flex-direction: column; text-align: center; gap: 0.4rem; align-items: center; }
  .feature-icon { color: var(--primary); }

  .collections-grid { grid-template-columns: 1fr; }
  .collection-img-wrap { height: 180px; }

  .testimonials-grid { grid-template-columns: 1fr 1fr; }

  .products-layout { grid-template-columns: 1fr; }
  .filters-sidebar { display: none; position: fixed; inset: 0; z-index: 1000; border-radius: 0; overflow-y: auto; background: var(--bg-card); }
  .filters-sidebar.open { display: block; }
  .filter-mobile-btn { display: flex; }

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }

  .product-detail-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-gallery { flex-direction: column-reverse; }
  .gallery-thumbnails { flex-direction: row; justify-content: center; }
  .gallery-thumb { width: 56px; height: 56px; }
  .detail-actions { flex-direction: column; }

  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .cart-summary, .checkout-summary { position: static; }
  .cart-item { flex-wrap: wrap; }
  .cart-item-img-wrap img { width: 80px; height: 80px; }

  .form-grid { grid-template-columns: 1fr; }

  .promo-banner { flex-direction: column; padding: 2rem; }
  .promo-image { display: none; }

  .newsletter-inner { flex-direction: column; text-align: center; }
  .newsletter-form { width: 100%; max-width: 400px; }
  .newsletter-form input { width: 100%; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }

  .footer-bottom-inner { flex-direction: column; text-align: center; }

  .collection-banner-inner { flex-direction: column; }
  .collection-banner-img { height: 200px; width: 100%; }

  .auth-card { padding: 1.75rem 1.25rem; }

  /* Fix banner gap on right side on mobile */
  .hero-section, .hero-carousel { overflow: hidden; width: 100%; }
  .hero-slide { width: 100%; left: 0; right: 0; }
}

@media (max-width: 480px) {
  .policy-table-row { grid-template-columns: 1.5fr 1fr; }
  .policy-table-row > span:last-child { display: none; }
  .policy-table-row.header > span:last-child { display: none; }
  .policy-step { flex-direction: row; }
}

/* ── Order Review Button ─────────────────────────────────────── */
.order-item-mini-info { display: flex; flex-direction: column; gap: 0.2rem; }
.btn-review { display: inline-flex; align-items: center; gap: 0.35rem; margin-top: 0.4rem; padding: 0.3rem 0.75rem; background: var(--primary-light); color: var(--primary); border: 1.5px solid var(--primary); border-radius: var(--radius-full); font-size: 0.75rem; font-weight: 600; cursor: pointer; transition: var(--transition); width: fit-content; }
.btn-review:hover { background: var(--primary); color: white; }
[data-theme="dark"] .btn-review { background: rgba(255,255,255,0.06); color: var(--accent); border-color: var(--accent); }
[data-theme="dark"] .btn-review:hover { background: var(--accent); color: var(--primary-dark); }

/* ── Review Modal slide-up animation ────────────────────────── */
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* ── Policy Pages (Shipping / Returns / FAQ) ─────────────────── */
.policy-page { padding: 3rem 0 5rem; }
.policy-hero { text-align: center; padding: 2.5rem 1rem 3rem; }
.policy-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.25rem; }
[data-theme="dark"] .policy-icon { background: rgba(255,255,255,0.08); color: var(--accent); }
.policy-hero h1 { font-family: var(--font-heading); font-size: clamp(1.8rem, 5vw, 2.5rem); color: var(--primary); margin-bottom: 0.75rem; }
.policy-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

.policy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; margin-bottom: 3rem; }
.policy-card { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); padding: 1.5rem; }
.policy-card h3 { font-size: 1.0625rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.6rem; }
.policy-card p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.65; }

.policy-section { margin-bottom: 3rem; }
.policy-section h2 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--text-primary); margin-bottom: 1.25rem; padding-bottom: 0.6rem; border-bottom: 2px solid var(--primary-light); }

.policy-table { border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; }
.policy-table-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 1rem; padding: 0.875rem 1.25rem; font-size: 0.9375rem; border-bottom: 1px solid var(--border-light); }
.policy-table-row:last-child { border-bottom: none; }
.policy-table-row.header { background: var(--primary); color: white; font-weight: 700; font-size: 0.875rem; }
.policy-table-row:not(.header):nth-child(even) { background: var(--bg-input); }

.policy-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.policy-list li { padding: 0.75rem 1rem 0.75rem 3rem; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; position: relative; }
.policy-list li::before { content: '✓'; position: absolute; left: 1rem; color: var(--primary); font-weight: 700; }

.policy-steps { display: flex; flex-direction: column; gap: 1rem; }
.policy-step { display: flex; gap: 1.25rem; align-items: flex-start; padding: 1.25rem; background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-lg); }
.step-number { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: white; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.125rem; }
.policy-step strong { display: block; font-size: 1rem; color: var(--text-primary); margin-bottom: 0.3rem; }
.policy-step p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.6; margin: 0; }

.policy-contact-box { background: var(--primary-light); border: 1.5px solid var(--primary); border-radius: var(--radius-lg); padding: 2rem; text-align: center; margin-top: 2rem; }
.policy-contact-box p { font-size: 1.0625rem; color: var(--text-primary); }
[data-theme="dark"] .policy-contact-box { background: rgba(255,255,255,0.04); border-color: var(--accent); }

/* FAQ */
.faq-section { margin-bottom: 2.5rem; }
.faq-category { font-family: var(--font-heading); font-size: 1.25rem; color: var(--primary); margin-bottom: 1rem; padding-left: 0.75rem; border-left: 4px solid var(--primary); }
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border-light); border-radius: var(--radius-md); overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: none; border: none; cursor: pointer; font-size: 0.9375rem; font-weight: 600; color: var(--text-primary); text-align: left; font-family: var(--font-body); }
.faq-question:hover { background: var(--bg-input); }
.faq-chevron { flex-shrink: 0; transition: transform 0.25s; color: var(--text-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); color: var(--primary); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 1.25rem 1.1rem; font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

@media (max-width: 768px) {
  .policy-table-row { grid-template-columns: 1.5fr 1fr; }
  .policy-table-row > span:last-child { display: none; }
  .policy-table-row.header > span:last-child { display: none; }
  .policy-step { flex-direction: row; }
}

/* ── Checkout OTP Modal ──────────────────────────────────────── */
@keyframes fadeInUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
#checkout-otp-overlay { backdrop-filter: blur(4px); }
#otp-boxes input:focus { border-color: var(--primary) !important; box-shadow: 0 0 0 3px var(--primary-light); }
@keyframes shake {
  0%,100% { transform: translateX(0); }
  25%      { transform: translateX(-4px); }
  75%      { transform: translateX(4px); }
}
@media (max-width: 480px) {
  #otp-boxes input { width: 40px; height: 48px; font-size: 1.25rem; }
}

/* ── Privacy Policy Page ─────────────────────────────────────── */
.policy-header { padding: 2.5rem 0 2rem; border-bottom: 1px solid var(--border-light); margin-bottom: 2.5rem; }
.policy-header h1 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); color: var(--primary); margin-bottom: 0.4rem; }
.policy-header p { color: var(--text-muted); font-size: 0.9rem; }
.policy-content section { margin-bottom: 2.25rem; }
.policy-content h2 { font-family: var(--font-heading); font-size: 1.35rem; color: var(--text-primary); margin-bottom: 0.75rem; padding-bottom: 0.4rem; border-bottom: 1px solid var(--border-light); }
.policy-content p { color: var(--text-secondary); line-height: 1.75; margin-bottom: 0.75rem; font-size: 0.9375rem; }
.policy-content a { color: var(--primary); }

/* ── Cookie Consent Banner ───────────────────────────────────── */
#cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999; background: var(--primary-dark); color: #fff; transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.22,1,0.36,1); }
#cookie-banner.cookie-banner-visible { transform: translateY(0); }
.cookie-banner-inner { display: flex; align-items: center; gap: 1.5rem; padding: 1rem 1.5rem; max-width: 1280px; margin: 0 auto; flex-wrap: wrap; }
.cookie-text { display: flex; align-items: flex-start; gap: 0.6rem; flex: 1; font-size: 0.875rem; line-height: 1.55; color: rgba(255,255,255,0.88); }
.cookie-actions { display: flex; gap: 0.6rem; flex-shrink: 0; }
.cookie-btn { padding: 0.5rem 1.2rem; border-radius: var(--radius-full); font-size: 0.85rem; font-weight: 600; cursor: pointer; border: none; transition: var(--transition); }
.cookie-accept { background: var(--accent); color: #fff; }
.cookie-accept:hover { background: var(--primary-mid); }
.cookie-decline { background: rgba(255,255,255,0.15); color: #fff; }
.cookie-decline:hover { background: rgba(255,255,255,0.25); }
@media (max-width: 600px) { .cookie-banner-inner { flex-direction: column; gap: 0.75rem; } .cookie-actions { width: 100%; } .cookie-btn { flex: 1; text-align: center; } }
