/* ══════════════════════════════════════════════════════════════════
   SHRI JEEVANI SAREES — Premium Redesign
   Design Language: "Kashi Luxe"
   ══════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,900;1,400;1,600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Cinzel:wght@400;500;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── DESIGN TOKENS — "Kashi Bloom": light, airy, heritage-rooted ─── */
:root {
  --ivory: #FBF5EC;
  --blush: #F7E9E0;
  --jewel: #E7BFC4;
  --maroon: #7B1F3A;
  --crimson: #A63954;

  --gold-light: #E8C77E;
  --gold: #C6952F;
  --gold-deep: #9C7220;
  --gold-gradient: linear-gradient(135deg, #E8C77E 0%, #C6952F 45%, #9C7220 100%);
  --gold-shimmer: linear-gradient(105deg, #E8C77E 0%, #C6952F 30%, #F0D9A0 55%, #9C7220 80%, #C6952F 100%);

  --surface-00: #FBF5EC;
  --surface-01: #FFFFFF;
  --surface-02: #FBF0E5;
  --surface-03: #F3E1D3;
  --surface-04: #E9CDBA;
  --surface-glass-strong: rgba(123,31,58,0.05);

  --on-accent: #2B1420;
  --text-primary: #2B1420;
  --text-secondary: #6B4552;
  --text-muted: #9C7C86;

  --success: #16A34A;
  --error: #DC2626;

  --border-subtle: rgba(123,31,58,0.13);
  --border-mid: rgba(123,31,58,0.26);

  --shadow-sm: 0 2px 12px rgba(43,20,32,0.07);
  --shadow-md: 0 10px 32px rgba(43,20,32,0.09);
  --shadow-lg: 0 24px 60px rgba(43,20,32,0.12);
  --shadow-xl: 0 40px 100px rgba(43,20,32,0.16);
  --shadow-gold: 0 8px 26px rgba(198,149,47,0.28);
  --shadow-gold-lg: 0 16px 44px rgba(198,149,47,0.38);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 30px;
  --r-pill: 999px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.2s var(--ease-out);
  --t-mid: 0.35s var(--ease-out);
  --t-slow: 0.6s var(--ease-out);

  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-title: 'Cinzel', serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Legacy compat (JS references these) */
  --deep-maroon: #5C1424;
  --flame: #E8C77E;
  --cream: #FBF5EC;
  --dark-cream: #EAD3C4;
  --stone: #2B1420;
  --stone-soft: #9C7C86;
  --light-gold: rgba(198,149,47,0.14);
  --ganga-blue: #0F5C56;
  --shadow: rgba(43,20,32,0.12);
  --burgundy-gradient: linear-gradient(135deg, #7B1F3A 0%, #5C1424 100%);
  --radius-sm: var(--r-sm);
  --radius-md: var(--r-md);
  --radius-lg: var(--r-lg);
  --radius-pill: var(--r-pill);
  --shadow-soft: var(--shadow-md);
  --shadow-lift: var(--shadow-lg);
  --transition: var(--t-mid);
  --font-heading: var(--font-display);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--surface-00);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

p, span, li, label, button { font-family: var(--font-body); }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--surface-01); }
::-webkit-scrollbar-thumb { background: var(--gold-deep); border-radius: 3px; }

/* ─── GHAT DIVIDER ─── */
.ghat-divider {
  width: 100%;
  height: 50px;
  display: block;
  line-height: 0;
}
.ghat-divider svg { width: 100%; height: 100%; display: block; fill: var(--surface-01); }

/* ══════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(251, 245, 236, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 1px 0 rgba(198,149,47,0.12), 0 12px 34px rgba(43,20,32,0.06);
  z-index: 1000;
  animation: navSlideDown 0.8s var(--ease-out);
  transition: background var(--t-mid), box-shadow var(--t-mid);
}

@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  height: 48px;
  transition: transform var(--t-fast), opacity var(--t-fast);
}
.logo:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}
.logo-img {
  height: 40px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: var(--r-pill);
  position: relative;
  transition: color var(--t-fast);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: var(--gold-gradient);
  transition: width var(--t-mid);
}
.nav-links a:hover { color: var(--gold-deep); }
.nav-links a:hover::after { width: 60%; }

/* Nav icons */
.nav-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.icon-btn {
  background: none;
  border: 1px solid transparent;
  font-size: 1.25rem;
  color: var(--text-secondary);
  cursor: pointer;
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-pill);
  transition: all var(--t-fast);
}
.icon-btn:hover {
  color: var(--gold);
  background: rgba(198,149,47,0.08);
  border-color: var(--border-subtle);
}

.account-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--surface-glass-strong);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}
.account-pill:hover {
  background: rgba(198,149,47,0.08);
  border-color: var(--border-mid);
  color: var(--gold-deep);
}

.cart-count {
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--gold-gradient);
  color: var(--on-accent);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(198,149,47,0.5);
}

/* Promo banner */
.promo-banner-strip {
  position: fixed;
  top: 68px;
  left: 0;
  width: 100%;
  z-index: 998;
  background: var(--gold-gradient);
  color: var(--on-accent);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 2rem;
}

/* Mobile drawer */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--surface-glass-strong);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 10px 8px;
}
.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
}
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(43,20,32,0.45);
  z-index: 1400;
}
.mobile-nav-overlay.open { display: block; }
.mobile-nav-drawer {
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(80vw, 340px);
  background: var(--surface-01);
  padding: 5rem 2rem 3rem;
}
.mobile-nav-close {
  position: absolute;
  top: 1.2rem; right: 1.4rem;
  background: var(--surface-glass-strong);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  width: 38px; height: 38px;
  color: var(--text-secondary);
  font-size: 1.4rem;
  cursor: pointer;
}
.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.mobile-nav-links a {
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  display: block;
  padding: 0.9rem 1.2rem;
}

/* ══════════════════════════════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════════════════════════════ */
.hero {
  margin-top: 68px;
  min-height: 95vh;
  position: relative;
  overflow: hidden;
  background: var(--surface-00);
  display: flex;
  align-items: center;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  animation: heroKenBurns 26s ease-in-out infinite alternate;
}
@keyframes heroKenBurns {
  from { transform: scale(1) translateX(0); }
  to   { transform: scale(1.1) translateX(-20px); }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 65% at 50% 42%, rgba(251,245,236,0.92) 0%, rgba(251,245,236,0.8) 45%, rgba(251,245,236,0.55) 70%, rgba(251,245,236,0.3) 100%),
              linear-gradient(0deg, rgba(251,245,236,0.65) 0%, rgba(251,245,236,0.15) 25%, transparent 45%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 6rem 2rem;
  width: 100%;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-text .subtitle {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--gold-gradient);
  color: var(--on-accent);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-gold);
  transition: transform var(--t-fast);
}
.cta-button:hover { transform: translateY(-2px); }

.cta-button-outline {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(43,20,32,0.28);
  border-radius: var(--r-pill);
  margin-left: 1rem;
}

/* ══════════════════════════════════════════════════════════════════
   PAGES & SECTIONS
   ══════════════════════════════════════════════════════════════════ */
.page { display: none; }
.page.active { display: block; }
.page-header {
  padding: 9rem 2rem 4rem;
  text-align: center;
  background: var(--surface-01);
  border-bottom: 1px solid var(--border-subtle);
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--text-primary);
}
.page-header p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-muted);
}

.section { padding: 6rem 2rem; max-width: 1440px; margin: 0 auto; }
.section-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: var(--text-primary);
}
.section-subtitle {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 4rem;
}

/* ══════════════════════════════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════════════════════════════ */
.collections-grid, .products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.collection-card, .product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface-02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform var(--t-mid), border-color var(--t-mid), box-shadow var(--t-mid);
}
.collection-card:hover, .product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-mid);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.collection-image, .product-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  height: auto;
  background: var(--surface-03);
  overflow: hidden;
  position: relative;
  display: block;
}
.collection-image img, .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--t-mid);
}
.collection-card:hover .collection-image img,
.product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-emoji-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* Wishlist toggle button on product card */
.wishlist-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--maroon);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 0;
  line-height: 1;
}
.wishlist-toggle:hover {
  transform: scale(1.12);
  background: #ffffff;
}
.wishlist-toggle.active {
  color: #e53e3e;
  background: #ffffff;
}

/* Product Badge on product card */
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #d4af37, #aa7c11);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  z-index: 10;
  pointer-events: none;
  line-height: 1.2;
}

/* Featured Collections (homepage) - seamless 3:4 portrait framing with no blank spaces */
.featured-collections-grid .collection-image {
  aspect-ratio: 3 / 4;
  height: auto;
  background: var(--surface-03);
}
.featured-collections-grid .collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform var(--t-mid);
}
.featured-collections-grid .collection-card:hover .collection-image img {
  transform: scale(1.04);
}

/* CHANGE: Video container styling for collection cards with video backgrounds */
.collection-video-container {
  position: relative;
  overflow: hidden;
  background: var(--surface-04);
}
.collection-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.5);
  padding: 1rem 1.5rem;
  border-radius: var(--r-md);
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 10;
  display: none;
}

.collection-info, .product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.35rem 1.25rem;
}

.collection-name, .product-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 0.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.collection-description, .product-details {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.collection-price, .product-price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.9rem;
}

.product-card-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.add-to-cart {
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, var(--maroon), var(--deep-maroon));
  color: #FBF5EC;
  border: 1px solid rgba(123,31,58,0.5);
  border-radius: var(--r-md);
  font-weight: 600;
  cursor: pointer;
  margin-top: 0;
  transition: transform var(--t-fast), filter var(--t-fast);
}
.add-to-cart:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════
   FORMS & MODALS
   ══════════════════════════════════════════════════════════════════ */
input, textarea, select {
  background: var(--surface-03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  width: 100%;
  font-family: var(--font-body);
}

.modal {
  display: none; position: fixed; inset: 0;
  background: rgba(43,20,32,0.55); backdrop-filter: blur(8px);
  z-index: 2000; justify-content: center; align-items: center; padding: 1.5rem;
}
.modal.active { display: flex; }
.modal-content {
  background: var(--surface-01);
  width: 100%; max-width: 880px; max-height: 90vh; overflow-y: auto;
  border-radius: var(--r-xl); border: 1px solid var(--border-subtle);
}
.modal-header {
  background: linear-gradient(135deg, var(--surface-02), var(--jewel));
  padding: 1.6rem 2rem; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}
.modal-title { font-family: var(--font-display); font-size: 1.5rem; }
.close-modal { background: none; border: none; color: var(--text-secondary); font-size: 1.5rem; cursor: pointer; transition: color var(--t-fast); }
.close-modal:hover { color: var(--gold-deep); }
.modal-body { padding: 2rem; }

/* CHANGE (UI/UX fix): global "hidden" utility. The auth modal's JS toggles
   this class on the sign-in / sign-up / forgot-password / reset-password
   forms and the signed-in success panel to show only one at a time — but
   the class itself was never defined, so every panel rendered stacked and
   visible simultaneously with no styling. This single rule was the root
   cause of the broken login screen. */
.hidden { display: none !important; }

/* ══════════════════════════════════════════════════════════════════
   AUTH MODAL (Sign In / Create Account / Forgot & Reset Password /
   My Orders / My Profile) — CHANGE (UI/UX fix): this entire section was
   previously missing, so the login modal had zero styling of its own.
   ══════════════════════════════════════════════════════════════════ */
#loginModal .modal-content { max-width: 460px; }

.auth-panel-header {
  position: relative;
  text-align: center;
  padding: 2.4rem 2rem 1.8rem;
  background: linear-gradient(135deg, var(--surface-02), var(--jewel));
  border-bottom: 1px solid var(--border-subtle);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.auth-panel-header .close-modal {
  position: absolute; top: 1.2rem; right: 1.4rem;
}
.auth-panel-header .auth-mark {
  display: inline-block;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 0.6rem;
  background: var(--gold-gradient);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.auth-panel-header h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}
.auth-panel-header p { font-size: 0.88rem; color: var(--text-secondary); }

.auth-tabs {
  display: flex;
  gap: 0.5rem;
  padding: 1.2rem 2rem 0;
}
.auth-tab {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--surface-02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-pill);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all var(--t-fast);
}
.auth-tab:hover { border-color: var(--border-mid); color: var(--text-primary); }
.auth-tab.active {
  background: var(--gold-gradient);
  border-color: transparent;
  color: var(--on-accent);
  box-shadow: var(--shadow-gold);
}

.auth-body { padding: 1.6rem 2rem 2.2rem; }

.auth-error {
  display: none;
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: var(--error);
  border-radius: var(--r-md);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}
.auth-error.show { display: block; }

.auth-form { display: flex; flex-direction: column; gap: 1.1rem; }
.auth-field { display: flex; flex-direction: column; gap: 0.45rem; }
.auth-field label { font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); letter-spacing: 0.3px; }
.auth-field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,149,47,0.12); }

/* CHANGE: Login OTP code input — large, spaced-out digits, centered.
   Safari compatibility: removed inputmode/pattern to avoid keyboard/validation issues. */
.otp-input {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.7rem;
  padding-left: 1.4rem; /* balances the trailing letter-spacing gap */
  font-family: 'Courier New', monospace; /* monospace for better digit alignment on Safari */
}
.otp-input::placeholder {
  letter-spacing: 0.4rem;
}

.auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; }
.auth-row a { color: var(--gold-deep); text-decoration: none; font-weight: 600; }
.auth-row a:hover { text-decoration: underline; }
.auth-checkbox { display: flex; align-items: center; gap: 0.5rem; color: var(--text-secondary); cursor: pointer; }
.auth-checkbox input { width: auto; accent-color: var(--gold); cursor: pointer; }

.auth-submit {
  width: 100%;
  padding: 0.95rem;
  background: var(--gold-gradient);
  color: var(--on-accent);
  border: none;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: var(--shadow-gold);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.auth-submit:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold-lg); }

.auth-divider {
  position: relative;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0.2rem 0;
}
.auth-divider::before, .auth-divider::after {
  content: ''; position: absolute; top: 50%; width: 38%;
  height: 1px; background: var(--border-subtle);
}
.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

.auth-success { text-align: center; }
.auth-success .auth-mark {
  display: inline-block; font-size: 2.4rem; margin-bottom: 0.6rem; color: var(--success);
}
.auth-success h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 0.4rem; }
.auth-success > p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1.4rem; }
.auth-success .auth-submit { margin-bottom: 1.6rem; }

.my-orders-section {
  text-align: left;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border-subtle);
}
.my-orders-section h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.my-orders-section .auth-field { margin-bottom: 1rem; }
.my-orders-list { display: flex; flex-direction: column; gap: 1rem; max-height: 340px; overflow-y: auto; }
.my-orders-empty { color: var(--text-muted); font-size: 0.88rem; text-align: center; padding: 1rem 0; }

.my-order-card {
  background: var(--surface-02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  text-align: left;
}
.my-order-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.4rem; }
.my-order-number { font-weight: 700; color: var(--text-primary); font-size: 0.92rem; }
.my-order-date { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.my-order-items { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.7rem; line-height: 1.5; }
.my-order-total {
  display: flex; justify-content: space-between; font-weight: 700; font-size: 0.9rem;
  color: var(--text-primary); margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px dashed var(--border-subtle);
}

.status-pill {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: var(--r-pill);
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.4px;
}
.status-placed, .status-pending { background: rgba(198,149,47,0.15); color: var(--gold-deep); }
.status-shipped { background: rgba(37,99,235,0.12); color: #2563EB; }
.status-delivered, .status-paid { background: rgba(22,163,74,0.14); color: var(--success); }
.status-cancelled, .status-failed { background: rgba(220,38,38,0.12); color: var(--error); }

.my-order-tracking { display: flex; align-items: center; gap: 0.3rem; margin: 0.8rem 0; }
.tracking-step {
  flex: 1; height: 4px; border-radius: 2px; background: var(--surface-04);
}
.tracking-step.done { background: var(--gold-gradient); }
.tracking-step.cancelled { background: rgba(239,68,68,0.4); }

/* ══════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--surface-01);
  border-top: 1px solid var(--border-subtle);
  padding: 5rem 2rem 2rem;
}
.footer-content {
  max-width: 1440px; margin: 0 auto 4rem; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 3rem;
}
.footer-section h3 {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase;
  background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 1.2rem;
}
.footer-section p, .footer-section a { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; display: block; margin-bottom: 0.5rem; }

/* Miscellaneous fixes for id styles referenced in html */
.checkout-btn {
  width: 100%; padding: 1rem; background: var(--gold-gradient); color: var(--on-accent);
  border: none; border-radius: var(--r-md); font-weight: 700; text-transform: uppercase; margin-top: 1rem;
}
.cart-item { display: flex; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid var(--border-subtle); }
.cart-item-image {
  width: 95px;
  aspect-ratio: 3 / 4;
  height: auto;
  background: var(--surface-03);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  overflow: hidden;
  flex-shrink: 0;
}
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.cart-item-details { flex: 1; }
.cart-summary { background: var(--surface-02); border: 1px solid var(--border-subtle); border-radius: var(--r-xl); padding: 2rem; margin-top: 2rem; }
.remove-item { background: rgba(239,68,68,0.12); color: #EF4444; border: 1px solid rgba(239,68,68,0.25); border-radius: var(--r-pill); padding: 0.4rem 1rem; font-size: 0.82rem; cursor: pointer; }

/* Admin Tabs */
.admin-tabs { display: flex; gap: 0.5rem; margin-bottom: 2rem; }
.admin-tab-btn { padding: 0.6rem 1.2rem; background: var(--surface-02); border: 1px solid var(--border-subtle); color: var(--text-muted); cursor: pointer; }
.admin-tab-btn.active { background: var(--gold-gradient); color: var(--on-accent); }
.admin-tab-panel { display: none; }
.admin-tab-panel.active { display: block; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.admin-stat-card { background: var(--surface-02); border: 1px solid var(--border-subtle); padding: 1.5rem; text-align: center; }
.stat-num { font-size: 2rem; font-weight: 700; color: var(--gold); }

/* Overrides for product modal */
#productModal .modal-body { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
#productModal #modalProductImage {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  margin: 0 auto;
  background: var(--surface-03);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 5rem;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
}

.modal-img-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
}

.modal-img-blur {
  position: absolute;
  inset: -20px;
  width: calc(100% + 40px);
  height: calc(100% + 40px);
  object-fit: cover;
  object-position: center;
  filter: blur(24px) brightness(0.75) saturate(1.4);
  opacity: 0.65;
  transform: scale(1.15);
  pointer-events: none;
  z-index: 1;
}

.modal-img-main {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   PRODUCT DETAIL MULTI-PHOTO GALLERY
   ══════════════════════════════════════════════════════════════════ */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .product-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.product-gallery-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.product-image-large {
  width: 100%;
  aspect-ratio: 3 / 4;
  max-height: 580px;
  background: var(--surface-03);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border-subtle);
}

.product-gallery-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-img-blur {
  position: absolute;
  inset: -25px;
  width: calc(100% + 50px);
  height: calc(100% + 50px);
  object-fit: cover;
  object-position: center;
  filter: blur(28px) brightness(0.75) saturate(1.4);
  opacity: 0.65;
  transform: scale(1.15);
  pointer-events: none;
  z-index: 1;
}

.gallery-img-main {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: opacity 0.25s ease;
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(43, 20, 32, 0.7);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s, transform 0.2s;
  backdrop-filter: blur(4px);
  font-size: 1.2rem;
  padding: 0;
}
.gallery-nav-btn:hover {
  background: var(--maroon);
  transform: translateY(-50%) scale(1.08);
}
.gallery-nav-prev { left: 12px; }
.gallery-nav-next { right: 12px; }

.product-thumbnails-strip {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 4px 2px 8px;
  scrollbar-width: thin;
}

.product-thumbnail-item {
  width: 68px;
  aspect-ratio: 3 / 4;
  height: auto;
  flex-shrink: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
  background: var(--surface-02);
}
.product-thumbnail-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold-light);
}
.product-thumbnail-item.active {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.3);
}
.product-thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Storefront Modal Multi-Photo Upload Preview */
.form-photos-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.form-photo-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 1;
  background: var(--surface-02);
}
.form-photo-card.is-cover {
  border: 2px solid var(--gold);
}
.form-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.form-photo-cover-badge {
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--gold);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}
.form-photo-delete-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(220, 38, 38, 0.85);
  color: #fff;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  cursor: pointer;
}
.form-photo-cover-btn {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  font-size: 8px;
  padding: 2px 0;
  border-radius: 3px;
  cursor: pointer;
  text-align: center;
}

.photo-count-chip {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.75rem;
  padding: 3px 8px;
  border-radius: var(--r-pill);
  backdrop-filter: blur(4px);
  z-index: 2;
  font-weight: 600;
}

.payment-option-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--surface-02);
  padding: 0.85rem 1rem;
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.6rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.payment-option-row:hover {
  border-color: var(--gold-light);
  background: var(--surface-03);
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE — CHANGE: the mobile hamburger/drawer markup already
   existed in the HTML and base CSS, but no breakpoints ever switched
   into that mode, so .nav-links (Home/Collections/About/Contact)
   just overflowed the navbar on phones with no way to open the menu.
   This block wires up the intended mobile behaviour.
   ══════════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .nav-container { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .account-pill .acct-name { display: none; }
  .account-pill { padding: 0.5rem; }

  .hero { min-height: 88vh; }
  .hero-content { padding: 3.5rem 1.5rem; }
  .hero-text h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
  .hero-text .subtitle { font-size: 1.15rem; }
  .cta-button, .cta-button-outline { display: block; width: 100%; text-align: center; margin: 0 0 0.9rem; }
  .cta-button-outline { margin-left: 0; }

  .section { padding: 4rem 1.25rem; }
  .page-header { padding: 7rem 1.25rem 3rem; }
  .footer { padding: 3.5rem 1.25rem 2rem; }
  .footer-content { gap: 2.25rem; margin-bottom: 2.5rem; }

  .collections-grid, .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.1rem; }

  .modal-content { max-width: 100%; }
  .modal-body { padding: 1.5rem; }
  .auth-tabs, .auth-body { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (max-width: 520px) {
  .logo { height: 40px; }
  .logo-img { height: 30px; max-width: 130px; }
  .nav-icons { gap: 0.25rem; }
  .icon-btn { width: 38px; height: 38px; font-size: 1.1rem; }

  .hero-eyebrow { font-size: 0.68rem; letter-spacing: 3px; }
  .hero-text p { font-size: 1rem; }

  .collections-grid, .products-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .collection-image, .product-image { aspect-ratio: 3 / 4; height: auto; font-size: 2.5rem; }
  .featured-collections-grid .collection-image { aspect-ratio: 3 / 4; height: auto; }
  .collection-info, .product-info { padding: 1rem; }
  .collection-name, .product-name { font-size: 1.05rem; }
}

/* ══════════════════════════════════════════════════════════════════
   CUSTOMER REVIEWS & STAR RATINGS
   ══════════════════════════════════════════════════════════════════ */
.reviews-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}
.reviews-section h2 {
  font-family: 'Cinzel', serif;
  color: var(--maroon);
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.2rem 1.5rem;
  background: var(--surface-01);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}
.reviews-avg {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--maroon);
  font-family: 'Cinzel', serif;
}
.reviews-stars {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 2px;
}
.reviews-count {
  color: var(--stone-soft);
  font-size: 0.95rem;
}
.review-form {
  background: var(--surface-02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.star-picker {
  display: flex;
  gap: 6px;
  font-size: 1.8rem;
  color: #ccc;
  cursor: pointer;
  margin-bottom: 1rem;
}
.star-picker span {
  transition: color 0.15s, transform 0.15s;
}
.star-picker span:hover {
  transform: scale(1.15);
}
.star-picker span.selected {
  color: var(--gold);
}
.review-card {
  background: var(--surface-01);
  border: 1px solid var(--border-subtle);
  border-radius: var(--r-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.review-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}
.review-name {
  font-weight: 600;
  color: var(--maroon);
  font-size: 1.05rem;
}
.review-date {
  font-size: 0.82rem;
  color: var(--stone-soft);
}
.review-stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}
.review-comment {
  color: var(--stone);
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}
.reviews-empty {
  text-align: center;
  padding: 2rem;
  color: var(--stone-soft);
}

/* ══════════════════════════════════════════════════════════════════
   RELATED & RECENTLY VIEWED PRODUCTS
   ══════════════════════════════════════════════════════════════════ */
.related-section {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}
.related-section .section-title {
  text-align: left;
  margin-bottom: 1.8rem;
  font-size: 1.5rem;
}

/* ══════════════════════════════════════════════════════════════════
   WISHLIST MODAL
   ══════════════════════════════════════════════════════════════════ */
.wishlist-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--stone-soft);
}
.wishlist-empty-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--maroon-light);
}
.wishlist-modal-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.wishlist-modal-item:last-child {
  border-bottom: none;
}
.wishlist-modal-image {
  width: 70px;
  aspect-ratio: 3 / 4;
  height: auto;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: var(--surface-02);
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wishlist-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.wishlist-modal-details {
  flex: 1;
  min-width: 0;
}
.wishlist-modal-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--maroon);
  margin-bottom: 0.3rem;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wishlist-modal-name:hover {
  color: var(--gold);
}
.wishlist-modal-price {
  font-weight: 700;
  color: var(--maroon);
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
}
.wishlist-modal-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.wishlist-add-cart-btn {
  background: var(--maroon);
  color: #fff;
  border: none;
  padding: 0.4rem 0.9rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}
.wishlist-add-cart-btn:hover {
  background: var(--maroon-dark);
}
.wishlist-remove-btn {
  background: transparent;
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.3);
  padding: 0.4rem 0.8rem;
  border-radius: var(--r-sm);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}
.wishlist-remove-btn:hover {
  background: rgba(192, 57, 43, 0.08);
}

/* ══════════════════════════════════════════════════════════════════
   ORDER SUCCESS & CHECKOUT HELPERS
   ══════════════════════════════════════════════════════════════════ */
.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--border-subtle);
  font-size: 0.95rem;
}
.order-summary-row.total {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--maroon);
  border-top: 1px solid var(--border-mid);
  border-bottom: none;
  margin-top: 0.5rem;
  padding-top: 0.8rem;
}
.coupon-applied-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(14, 122, 47, 0.1);
  border: 1px solid rgba(14, 122, 47, 0.3);
  color: #0e7a2f;
  padding: 0.25rem 0.6rem;
  border-radius: var(--r-full);
  font-size: 0.85rem;
  font-weight: 600;
}
.checkout-error {
  color: #c0392b;
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

/* ══════════════════════════════════════════════════════════════════
   POLICIES & GUIDES PAGE
   ══════════════════════════════════════════════════════════════════ */
.policies-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.5rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}
.policies-nav {
  display: flex;
  flex-direction: column;
  background: var(--surface-01);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.policies-nav a {
  padding: 0.9rem 1.25rem;
  color: var(--stone);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.2s ease;
}
.policies-nav a:last-child {
  border-bottom: none;
}
.policies-nav a:hover {
  background: var(--surface-02);
  color: var(--maroon);
}
.policies-nav a.active {
  background: var(--maroon);
  color: #fff;
  font-weight: 600;
}
.policies-content {
  background: var(--surface-01);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
}
.policy-section {
  display: none;
}
.policy-section.active {
  display: block;
  animation: fadeIn 0.3s ease;
}
.policy-section h2 {
  font-family: 'Cinzel', serif;
  color: var(--maroon);
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border-subtle);
}
.policy-section p {
  color: var(--stone);
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}
@media (max-width: 768px) {
  .policies-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .policies-nav {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    border-radius: var(--r-md);
  }
  .policies-nav a {
    white-space: nowrap;
    border-bottom: none;
    border-right: 1px solid var(--border-subtle);
  }
  .policies-content {
    padding: 1.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════════
   FAQ ACCORDION
   ══════════════════════════════════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--surface-01);
  border-radius: var(--r-md);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.faq-item.open {
  border-color: var(--gold-light);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.faq-question {
  width: 100%;
  padding: 1.2rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--maroon);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.2rem;
  color: var(--stone);
  line-height: 1.7;
  font-size: 0.95rem;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 0.8rem;
}
.faq-item.open .faq-answer {
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   NEWSLETTER BAND
   ══════════════════════════════════════════════════════════════════ */
.newsletter-band {
  background: var(--surface-dark);
  color: #fff;
  padding: 3.5rem 1.5rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-dark);
}
.newsletter-band-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.newsletter-band h2 {
  font-family: 'Cinzel', serif;
  color: var(--gold-light);
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}
.newsletter-band p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin: 0;
}
.newsletter-form {
  display: flex;
  gap: 0.8rem;
  flex: 1;
  max-width: 460px;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.8rem 1.2rem;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 0.95rem;
}
.newsletter-form input[type="email"]::placeholder {
  color: rgba(255,255,255,0.45);
}
.newsletter-msg {
  max-width: 1100px;
  margin: 1rem auto 0;
  font-size: 0.95rem;
}

/* ══════════════════════════════════════════════════════════════════
   WHATSAPP FLOATING ACTION BUTTON (FAB)
   ══════════════════════════════════════════════════════════════════ */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.whatsapp-fab:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
  background: #20BA5A;
}
.whatsapp-fab-icon {
  font-size: 1.2rem;
}
@media (max-width: 600px) {
  .whatsapp-fab span:last-child {
    display: none;
  }
  .whatsapp-fab {
    padding: 12px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
  }
}

/* ══════════════════════════════════════════════════════════════════
   ABOUT PAGE REFINEMENTS
   ══════════════════════════════════════════════════════════════════ */
.about-lead {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--stone);
  text-align: center;
  margin-bottom: 2rem;
}
.about-motif-band {
  text-align: center;
  margin: 2rem 0;
  color: var(--gold);
  font-size: 1.8rem;
  opacity: 0.8;
}

/* ══════════════════════════════════════════════════════════════════
   ANIMATIONS & UI ENHANCEMENTS
   ══════════════════════════════════════════════════════════════════ */
@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.toast-notification {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--maroon);
  color: white;
  padding: 0.9rem 1.6rem;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  z-index: 9999;
  animation: slideIn 0.3s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 600px) {
  .toast-notification {
    left: 20px;
    right: 20px;
    bottom: 80px; /* Above mobile WhatsApp button */
    text-align: center;
    justify-content: center;
  }
}

/* Header Search Bar */
.header-search-bar {
  position: absolute;
  top: calc(100% + 8px);
  right: 1.5rem;
  background: var(--surface-01);
  border: 1px solid var(--border-mid);
  box-shadow: var(--shadow-lg);
  border-radius: var(--r-pill);
  display: flex;
  align-items: center;
  padding: 6px 14px;
  gap: 8px;
  z-index: 1001;
}

.header-search-bar input {
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: var(--font-body);
  width: 250px;
  background: transparent;
  color: var(--text-primary);
}

.header-search-bar button {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-muted);
  line-height: 1;
}

.header-search-bar button:hover {
  color: var(--text-primary);
}

/* Collections Page Search Input */
.filter-search-input {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border-mid);
  border-radius: var(--r-sm);
  background: var(--surface-01);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--t-fast);
}

.filter-search-input:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(123,31,58,0.12);
}

/* Admin link in nav */
.nav-admin-link {
  color: var(--gold) !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px;
}


