/* =====================================================================
   DIAMORA SCENTS — Fine Fragrance House
   Master CSS Stylesheet  ·  v3.0 — Luxury Redesign
   Aesthetic: Apple · Aesop · Nothing — Minimal Luxury · Premium
   Architecture: tokens → reset → layout → components → pages
                 → overlays → footer → loader → animations → responsive
   ===================================================================== */

/* ─── 1. DESIGN TOKENS (Dark Mode Default) ───────────────────────────── */
:root {
  /* ── Core Backgrounds ── */
  --bg:             #2C2C2C;   /* Main background */
  --bg-section:     #242424;   /* Alternate section backgrounds */
  --bg-card:        #3A3A3A;   /* Card surfaces */
  --bg-glass:       rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.10);

  /* ── Borders ── */
  --border:         #555555;
  --border-subtle:  rgba(85, 85, 85, 0.5);

  /* ── Text ── */
  --text-primary:   #F8F8F8;
  --text-secondary: #C9C9C9;
  --text-muted:     #9A9A9A;

  /* ── Gold (logo, premium accents only) ── */
  --gold:           #d4af37;
  --gold-light:     #f3e5ab;
  --gold-border:    rgba(212, 175, 55, 0.30);

  /* ── Primary Accent: Turquoise ── */
  --accent:         #2EC4B6;
  --accent-hover:   #43D9CA;
  --accent-glow:    rgba(46, 196, 182, 0.25);
  --accent-subtle:  rgba(46, 196, 182, 0.10);
  --accent-border:  rgba(46, 196, 182, 0.35);

  /* ── Semantic Colors ── */
  --color-success:  #22c55e;
  --color-error:    #ef4444;
  --color-heart:    #f472b6;

  /* ── Typography ── */
  --font-display:   'Cormorant Garamond', Georgia, serif;
  --font-body:      'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* ── Spacing Scale ── */
  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.5rem;    /* 24px */
  --space-6:  2rem;      /* 32px */
  --space-8:  3rem;      /* 48px */
  --space-10: 4rem;      /* 64px */
  --space-12: 6rem;      /* 96px */

  /* Legacy spacing aliases (kept for backwards compat with JS-rendered HTML) */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* ── Border Radii ── */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-sm:   0 1px 4px rgba(0, 0, 0, 0.25),
                 0 4px 12px rgba(0, 0, 0, 0.18);
  --shadow-md:   0 4px 20px rgba(0, 0, 0, 0.35),
                 0 10px 40px rgba(0, 0, 0, 0.25);
  --shadow-lg:   0 8px 32px rgba(0, 0, 0, 0.45),
                 0 24px 64px rgba(0, 0, 0, 0.30);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.20);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.40);
  --shadow-glow: 0 0 32px var(--accent-glow),
                 0 4px 16px rgba(46, 196, 182, 0.12);

  /* ── Transitions ── */
  --transition-fast:   0.16s ease;
  --transition-normal: 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow:   0.56s cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Glass ── */
  --glass-blur: blur(14px);
  --glass-blur-heavy: blur(24px);
}

/* ─── 2. LIGHT MODE OVERRIDES ────────────────────────────────────────── */
html[data-theme="light"] {
  --bg:             #FFFFFF;
  --bg-section:     #F5EFE6;
  --bg-card:        #FFF9F2;
  --bg-glass:       rgba(245, 239, 230, 0.65);
  --bg-glass-hover: rgba(245, 239, 230, 0.92);

  --border:         #DDD2C3;
  --border-subtle:  rgba(221, 210, 195, 0.6);

  --text-primary:   #2F2F2F;
  --text-secondary: #6B6B6B;
  --text-muted:     #9A8F84;

  /* Gold deepened for light bg contrast */
  --gold:           #b88a1d;
  --gold-light:     #c9961f;
  --gold-border:    rgba(184, 138, 29, 0.28);

  /* Shadows are much lighter on white */
  --shadow-sm:   0 1px 3px rgba(0, 0, 0, 0.06),
                 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md:   0 4px 16px rgba(0, 0, 0, 0.08),
                 0 10px 32px rgba(0, 0, 0, 0.06);
  --shadow-lg:   0 8px 24px rgba(0, 0, 0, 0.10),
                 0 24px 56px rgba(0, 0, 0, 0.08);
  --shadow-card: 0 1px 4px rgba(0, 0, 0, 0.06),
                 0 4px 16px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.12),
                       0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 32px rgba(46, 196, 182, 0.20),
                 0 4px 16px rgba(46, 196, 182, 0.10);
}

/* ─── 3. RESET ───────────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Smooth theme transitions on key elements */
html,
body,
header,
.header,
.card,
.filters,
.footer,
.drawer,
.modal,
.loader,
.auth-card,
.quick-view,
.cart-drawer,
.mobile-menu {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.no-scroll,
body.menu-open { overflow: hidden; }

main { flex: 1; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg { max-width: 100%; display: block; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button { cursor: pointer; }
ul { list-style: none; }

/* Logo fallback text */
.logo-fallback {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}

/* ─── 4. LAYOUT & CONTAINERS ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--spacing-xl) 0;
}

.section-dark {
  background: var(--bg-section);
}

/* Section header with eyebrow + title */
.section-header {
  margin-bottom: var(--space-8);
}

.section-header.center {
  text-align: center;
}

/* Grid utilities */
.grid   { display: grid; gap: var(--space-6); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }

/* Products grid */
.products-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-6);
}

/* Flex utilities */
.flex        { display: flex; gap: var(--space-4); }
.flex-center { display: flex; align-items: center; justify-content: center; }
.align-center { align-items: center; }
.center      { text-align: center; }
.mx-auto     { margin-left: auto; margin-right: auto; }
.mt-auto     { margin-top: auto; }
.gap-1       { gap: 1rem; }

/* ─── 5. SCROLL PROGRESS BAR ─────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--accent), var(--accent-hover));
  z-index: 999;
  transition: width 0.1s linear;
  border-radius: 0 var(--radius-full) var(--radius-full) 0;
}

/* ─── 6. HEADER & NAVBAR ──────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.1rem 0;
  background: transparent;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid transparent;
  transition:
    background var(--transition-normal),
    border-color var(--transition-normal),
    padding var(--transition-normal),
    box-shadow var(--transition-normal),
    backdrop-filter var(--transition-normal);
}

.header.scrolled {
  padding: 0.7rem 0;
  background: rgba(44, 44, 44, 0.88);
  border-bottom-color: var(--border-subtle);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
}

html[data-theme="light"] .header.scrolled {
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — supports both PNG and SVG */
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img,
.logo svg {
  height: 36px;
  width: auto;
}

.nav-menu { display: flex; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  border-radius: var(--radius-full);
  transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active { color: var(--text-primary); }

/* Homepage hero navbar — top of page only */

/* Light mode: white links only while at the top of homepage */
html[data-theme="light"] body[data-page="home"] .header:not(.scrolled) .nav-link {
  color: #ffffff;
}
/* Admin Panel — white only at the top of homepage */
/* Admin Panel — same text color as the navbar in light mode */
html[data-theme="light"] #adminPanelLink {
    color: var(--text-secondary);
}

/* Keep underline working in ALL navbar states */
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header action icon buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    color var(--transition-fast),
    box-shadow var(--transition-fast);
  text-decoration: none;
  flex-shrink: 0;
}

.icon-btn:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border);
  color: var(--text-primary);
}

.icon-btn.active {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* Icon images — dark mode: white */
.icon-btn img,
.icon-btn svg {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(0.82);
  transition: filter var(--transition-fast);
}

.icon-btn:hover img,
.icon-btn:hover svg {
  filter: brightness(0) invert(1);
}

/* Light mode: turquoise-tinted icons */
html[data-theme="light"] .icon-btn img,
html[data-theme="light"] .icon-btn svg {
  filter: brightness(0) saturate(100%) invert(60%) sepia(60%)
          saturate(500%) hue-rotate(145deg) brightness(90%);
}

html[data-theme="light"] .icon-btn:hover img,
html[data-theme="light"] .icon-btn:hover svg {
  filter: brightness(0) saturate(100%) invert(55%) sepia(80%)
          saturate(500%) hue-rotate(150deg) brightness(85%);
}

html[data-theme="light"] .icon-btn.active img,
html[data-theme="light"] .icon-btn.active svg {
  filter: brightness(0) saturate(100%) invert(55%) sepia(80%)
          saturate(500%) hue-rotate(150deg) brightness(85%);
}

/* Notification badges */
.count-badge,
.badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: 2px solid var(--bg);
}

/* Hamburger — hidden on desktop */
.menu-btn { display: none; }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(360px, 85vw);
  height: 100vh;
  z-index: 180;
  background: var(--bg-card);
  border-right: 1px solid var(--border);
  padding: 6rem var(--space-6) var(--space-6);
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  box-shadow: var(--shadow-lg);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu a {
  display: block;
  font-size: 1.4rem;
  font-family: var(--font-display);
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-menu a:hover {
  color: var(--accent);
  padding-left: 0.5rem;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

/* ─── 7. BUTTONS & TAGS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}

/* Primary — solid turquoise */
.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(46, 196, 182, 0.28);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  box-shadow: 0 4px 24px rgba(46, 196, 182, 0.40), 0 2px 8px rgba(46, 196, 182, 0.24);
  transform: translateY(-1px);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(46, 196, 182, 0.28);
}

/* Secondary / Ghost */
.btn-secondary,
.btn-ghost {
  background: transparent;
  color: white;
  border-color: var(--border);
}

.btn-secondary:hover,
.btn-ghost:hover {
  background: var(--bg-glass-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.btn-block { width: 100%; }

.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.72rem;
}

/* Ripple effect (added by animations.js) */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  animation: rippleExpand 0.55s linear;
  pointer-events: none;
}

@keyframes rippleExpand {
  from { transform: scale(0); opacity: 1; }
  to   { transform: scale(2.5); opacity: 0; }
}

/* Bounce animation for cart icon */
@keyframes cartBounce {
  0%, 100% { transform: scale(1); }
  40%       { transform: scale(1.25); }
  60%       { transform: scale(0.9); }
}
.bounce { animation: cartBounce 0.45s ease; }

/* Heart pulse for wishlist */
@keyframes heartPulse {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.35); }
}
.pulse { animation: heartPulse 0.35s ease; }

/* Tags / badges */
.tag {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.24rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-body);
}

/* Best-seller tag — keeps gold (luxury accent) */
.tag-best {
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold);
  border: 1px solid var(--gold-border);
}

html[data-theme="light"] .tag-best {
  background: rgba(184, 138, 29, 0.10);
}

/* New tag — turquoise */
.tag-new {
  background: var(--accent-subtle);
  color: var(--accent);
  border: 1px solid var(--accent-border);
}

/* Eyebrow label */
.eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
  font-family: var(--font-body);
  font-weight: 500;
}

/* ─── 8. HERO SECTION ────────────────────────────────────────────────── */
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    max-height: 800px;

    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.28);

    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;

    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
}

/* Airy background gradient — adapts to both themes */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 30%, var(--accent-subtle) 0%, transparent 65%),
    radial-gradient(ellipse 50% 70% at 20% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

#particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 70%);
  pointer-events: none;
  right: 5%;
  top: 10%;
  will-change: transform;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-10);
}

.hero-content { max-width: 580px; }

.hero-subtitle {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
  font-family: var(--font-body);
  font-weight: 500;
}

.hero-title {
  margin-bottom: var(--space-5);
  color: white;
}

.hero-description {
  font-size: 1.05rem;
  margin-bottom: var(--space-6);
  color: rgb(172, 167, 167);
  max-width: 500px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-bottle {
  will-change: transform;
  filter: drop-shadow(0 24px 48px rgba(46, 196, 182, 0.18))
          drop-shadow(0 8px 24px rgba(0, 0, 0, 0.15));
}

/* Page hero (inner pages) */
.page-header {
  padding: 9rem 0 4rem;
  text-align: center;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 0%, var(--accent-subtle) 0%, transparent 65%);
  pointer-events: none;
}

.page-header .container { position: relative; z-index: 1; }

.page-sub {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

/* ─── 9. FEATURE CARDS ───────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: var(--space-6) var(--space-5);
  border-radius: var(--radius-md);
  text-align: center;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto var(--space-5);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-md);
  color: var(--accent);
}

.feature-icon img,
.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
  stroke: var(--accent);
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ─── 10. PRODUCT CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-card);
  /* Card tilt support */
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
             translateY(var(--tilt-lift, 0px));
  will-change: transform;
}

.card:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card-hover);
  transform: perspective(1000px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
             translateY(calc(var(--tilt-lift, 0px) - 4px));
}

.card-media {
  position: relative;
  aspect-ratio: 1;
  background: radial-gradient(ellipse at center, var(--bg-glass-hover) 0%, transparent 70%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  overflow: hidden;
}

html[data-theme="light"] .card-media {
  background: radial-gradient(ellipse at center, var(--bg-section) 0%, transparent 70%);
}

.card-badges {
  position: absolute;
  top: var(--space-2);
  left: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.card-wish {
  position: absolute;
  top: var(--space-2);
  right: var(--space-2);
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--bg-glass);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition:
    color var(--transition-fast),
    background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.card-wish:hover {
  color: var(--color-heart);
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.35);
  transform: scale(1.1);
}

.card-wish.active {
  color: var(--color-heart);
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.35);
}

/* Brand label — keeps gold as luxury marker */
.card-brand {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-1);
  font-family: var(--font-body);
}

.card-name {
  font-size: 1.2rem;
  margin-bottom: var(--space-2);
  cursor: pointer;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.card-name:hover { color: var(--accent); }

.card-tagline {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2);
  font-style: italic;
}

.card-rating {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.card-rating .stars { color: var(--gold); }

.card-price {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--space-4);
}

.card-actions {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
}

.card-actions .btn-primary {
  flex: 1;
  padding: 0.6rem 0.8rem;
  font-size: 0.72rem;
}

/* Skeleton loader */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-glass) 25%,
    var(--bg-glass-hover) 50%,
    var(--bg-glass) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.6s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* ─── 11. SVG BOTTLE ─────────────────────────────────────────────────── */
.bottle-svg {
  width: 100%;
  height: auto;
  max-height: 180px;
  display: block;
}

/* ─── 12. CATEGORIES ─────────────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.category-card,
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: var(--space-8) var(--space-6);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.category-card:hover,
.cat-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card-hover), var(--shadow-glow);
}

.cat-card h3 {
  font-size: 1.6rem;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.cat-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* ─── 13. SHOP PAGE ───────────────────────────────────────────────────── */
.shop-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--space-8);
  align-items: start;
}

.filters {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: sticky;
  top: 90px;
}

.filters h3 {
  font-size: 0.72rem;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  font-family: var(--font-body);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

/* First filter h3 needs more room at top */
.filters h3:not(:first-child) {
  margin-top: var(--space-5);
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: var(--space-2);
}

.filter-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.3rem 0;
  transition: color var(--transition-fast);
}

.filter-chip:hover { color: var(--text-primary); }

.filter-chip input[type="checkbox"] {
  accent-color: var(--accent);
  width: 15px;
  height: 15px;
  cursor: pointer;
  border-radius: 4px;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
  padding: 0.8rem var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.shop-toolbar span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.shop-toolbar select {
  background: var(--bg-section);
  border: 1px solid var(--border);
  padding: 0.4rem var(--space-4);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 0.85rem;
  transition: border-color var(--transition-fast);
}

.shop-toolbar select:focus {
  border-color: var(--accent);
  outline: none;
}

/* ─── 14. PRODUCT DETAIL PAGE ────────────────────────────────────────── */
#productDetail,
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-10);
  align-items: start;
}

.pd-media {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  align-items: center;
  justify-content: center;
  position: sticky;
  top: 90px;
}

.pd-info { display: flex; flex-direction: column; }

.pd-price {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--accent);
  margin: var(--space-4) 0;
}

.pd-desc {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: var(--space-6);
  color: var(--text-secondary);
}

.pd-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  background: var(--bg-glass);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  margin-bottom: var(--space-6);
}

/* Notes headings keep gold — luxury element */
.pd-notes h4 {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: var(--space-1);
  font-family: var(--font-body);
}

.pd-notes p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.pd-qty-row {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  margin-bottom: var(--space-6);
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: hidden;
}

.qty-control button {
  padding: 0.55rem var(--space-4);
  color: var(--text-primary);
  font-size: 1.1rem;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.qty-control button:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}

.qty-control span {
  padding: 0.55rem var(--space-3);
  font-size: 0.95rem;
  min-width: 2.5rem;
  text-align: center;
  color: var(--text-primary);
}

.pd-actions {
  display: flex;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.pd-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: var(--space-5);
}

/* ─── 15. CART & CHECKOUT & ACCOUNT ──────────────────────────────────── */
.cart-page-layout,
.checkout-layout,
.account-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-8);
  align-items: start;
}

.cart-summary,
.checkout-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  position: sticky;
  top: 90px;
}

.cart-summary h3,
.checkout-section h2 {
  font-size: 1.3rem;
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}

.cart-item,
.checkout-line {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item:last-child,
.checkout-line:last-child { border-bottom: none; }

.cart-item-media,
.checkout-line-media { flex-shrink: 0; }

.cart-item-info,
.checkout-line-info { flex: 1; }

.cart-item-info h4,
.checkout-line-info h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.cart-item-price {
  text-align: right;
  flex-shrink: 0;
  color: var(--text-primary);
  font-weight: 500;
}

.remove-btn {
  font-size: 0.75rem;
  color: var(--color-error);
  transition: opacity var(--transition-fast);
}

.remove-btn:hover { opacity: 0.7; }

.drawer-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-4);
  font-size: 1rem;
  color: var(--text-secondary);
}

.empty-state {
  text-align: center;
  padding: var(--space-8) var(--space-4);
  grid-column: 1 / -1;
  color: var(--text-muted);
}

/* ─── 16. FORMS ───────────────────────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.contact-form label,
form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: var(--space-5);
  letter-spacing: 0.02em;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
form input:not([type="checkbox"]),
form select,
form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem var(--space-4);
  color: var(--text-primary);
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  font-size: 0.95rem;
}

.contact-form input:focus,
form input:not([type="checkbox"]):focus,
form select:focus,
form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}

.contact-form input::placeholder,
form input::placeholder,
form textarea::placeholder {
  color: var(--text-muted);
}

form select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

/* Auth pages */
.auth-layout {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem var(--space-4) var(--space-10);
  min-height: 80vh;
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  width: 100%;
  max-width: 460px;
  box-shadow: var(--shadow-md);
}

.auth-footer-link {
  margin-top: var(--space-5);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.auth-footer-link a {
  color: var(--accent);
  font-weight: 500;
}

.auth-footer-link a:hover {
  color: var(--accent-hover);
}

/* Account nav sidebar */
.account-nav {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
}

.account-nav a {
  display: block;
  padding: 0.75rem var(--space-4);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.account-nav a.active,
.account-nav a:hover {
  background: var(--accent-subtle);
  color: var(--accent);
}

/* ─── 17. SEARCH OVERLAY ─────────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(44, 44, 44, 0.96);
  backdrop-filter: var(--glass-blur-heavy);
  -webkit-backdrop-filter: var(--glass-blur-heavy);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

html[data-theme="light"] .search-overlay {
  background: rgba(255, 255, 255, 0.96);
}

.search-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.search-container {
  width: 100%;
  max-width: 700px;
  padding: var(--space-8) var(--space-6) var(--space-6);
  position: relative;
}

.search-close {
  position: absolute;
  top: 0;
  right: var(--space-6);
  font-size: 1.6rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  background: none;
  border: none;
}

.search-close:hover { color: var(--text-primary); }

.search-form {
  display: flex;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.5rem;
  margin-bottom: var(--space-5);
}

.search-form input {
  flex: 1;
  font-size: 1.5rem;
  font-family: var(--font-display);
  color: var(--text-primary);
  background: none;
  border: none;
  outline: none;
}

.search-form input::placeholder { color: var(--text-muted); }

.search-results {
  max-height: 60vh;
  overflow-y: auto;
}

/* ─── 18. CART DRAWER ────────────────────────────────────────────────── */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  z-index: 200;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open { transform: translateX(0); }

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

html[data-theme="light"] .drawer-backdrop,
html[data-theme="light"] .modal-backdrop {
  background: rgba(0, 0, 0, 0.30);
}

.drawer-backdrop.open,
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-head {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.drawer-head h3 {
  font-size: 1.15rem;
  color: var(--text-primary);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-5);
  overscroll-behavior: contain;
}

.drawer-foot {
  padding: var(--space-5);
  border-top: 1px solid var(--border);
  background: var(--bg-section);
  flex-shrink: 0;
}

/* ─── 19. QUICK VIEW MODAL ───────────────────────────────────────────── */
.modal-backdrop {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
}

.quick-view {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  max-width: 860px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.qv-close {
  position: absolute;
  top: var(--space-5);
  right: var(--space-5);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--bg-glass-hover);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qv-close:hover {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: var(--accent);
}

.qv-media {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-section);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  border: 1px solid var(--border);
}

.qv-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* ─── 20. TOAST ──────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 400;
  background: var(--bg-card);
  border: 1px solid var(--accent-border);
  color: var(--text-primary);
  padding: var(--space-4) var(--space-6);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md), var(--shadow-glow);
  transform: translateY(120px);
  opacity: 0;
  transition: all var(--transition-normal);
  font-size: 0.9rem;
  max-width: 320px;
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ─── 21. SCROLL REVEAL ──────────────────────────────────────────────── */
.reveal,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--stagger, 0) * 80ms);
}

.reveal         { transform: translateY(28px); }
.reveal-left    { transform: translateX(-36px); }
.reveal-right   { transform: translateX(36px); }

.reveal.in,
.reveal-left.in,
.reveal-right.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── 22. STATS / COUNTERS ───────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  text-align: center;
}

.stat-num {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-family: var(--font-display);
  color: var(--text-primary);
  display: block;
  line-height: 1;
}

.stat-suffix {
  color: var(--accent);
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ─── 23. NEWSLETTER BAND ────────────────────────────────────────────── */
.newsletter-band {
  position: relative;
  padding: var(--spacing-lg) 0;
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

/* Subtle teal accent line at bottom */
.newsletter-band::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.floating-diamonds {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-diamonds i {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent);
  transform: rotate(45deg);
  opacity: 0.15;
  animation: diamondFloat linear infinite;
}

@keyframes diamondFloat {
  from { transform: rotate(45deg) translateY(0); opacity: 0.15; }
  to   { transform: rotate(45deg) translateY(-100vh); opacity: 0; }
}

.newsletter-form {
  display: flex;
  gap: var(--space-3);
  max-width: 460px;
  margin: var(--space-5) auto 0;
}

.newsletter-form input {
  flex: 1;
  padding: 0.85rem var(--space-5);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.newsletter-form input::placeholder { color: var(--text-muted); }

.newsletter-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}

/* ─── 24. CURSOR GLOW ────────────────────────────────────────────────── */
#cursorGlow {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-subtle) 0%, transparent 65%);
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#cursorGlow.on { opacity: 1; }
#cursorGlow.active {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(46, 196, 182, 0.15) 0%, transparent 65%);
}

/* ─── 25. FOOTER ─────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--accent);
  padding: var(--space-10) 0 var(--space-6);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-8);
  margin-bottom: var(--space-8);
}

/* Brand name — keeps gold */
.footer-grid h2 {
  font-size: 1.8rem;
  margin-bottom: var(--space-3);
  letter-spacing: 0.10em;
  color: var(--gold);
}

/* Section headings — muted uppercase */
.footer-grid h3 {
  font-size: 0.70rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  font-family: var(--font-body);
  font-weight: 500;
}

.footer-grid p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

.footer-grid ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-grid a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}

.footer-grid a:hover { color: var(--accent); }

.footer hr {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: var(--space-5);
}

.footer-bottom {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ─── 26. PAGE LOADER ────────────────────────────────────────────────── */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-wrapper { text-align: center; }

.loader-logo img,
.loader-logo svg {
  height: 44px;
  width: auto;
  margin: 0 auto;
}

.loader-title {
  letter-spacing: 0.38em;
  font-size: 1.1rem;
  margin-top: var(--space-4);
  color: var(--text-primary);
  font-family: var(--font-body);
}

/* Loader line — keeps gold→teal gradient (decorative luxury element) */
.loader-line {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--accent));
  margin: var(--space-4) auto 0;
  animation: loaderPulse 1.6s ease-in-out infinite;
  border-radius: var(--radius-full);
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; transform: scaleX(0.5); }
  50%       { opacity: 1; transform: scaleX(1.2); }
}

/* ─── 27. MISC UTILITIES ─────────────────────────────────────────────── */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
  gap: var(--space-4);
}

.link-more {
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: opacity var(--transition-fast);
  text-decoration: none;
}

.link-more:hover { opacity: 0.75; }

.timeline-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.timeline-item:hover {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-card);
}

/* Hide on mobile */
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
}

/* ─── 28. RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .features-grid    { grid-template-columns: repeat(2, 1fr); }
  .grid-4           { grid-template-columns: repeat(2, 1fr); }
  .grid-3           { grid-template-columns: repeat(2, 1fr); }
  .shop-layout      { grid-template-columns: 1fr; }
  .filters          { position: static; }
  #productDetail,
  .product-detail   { grid-template-columns: 1fr; gap: var(--space-6); }
  .pd-media         { position: static; }
  .cart-page-layout,
  .checkout-layout,
  .account-layout   { grid-template-columns: 1fr; }
  .cart-summary,
  .checkout-section { position: static; }
  .quick-view       { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --spacing-xl: 3.5rem; }

  .nav-menu { display: none; }
  .menu-btn { display: flex; }

  .hero           { padding-top: 7rem; min-height: auto; }
  .hero-inner     { grid-template-columns: 1fr; text-align: center; gap: var(--space-6); }
  .hero-image     { display: none; }
  .hero-content   { max-width: 100%; }
  .hero-buttons   { justify-content: center; }

  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }

  .features-grid   { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr; }
  .stats-grid      { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }

  .newsletter-form { flex-direction: column; }

  .quick-view { padding: var(--space-6) var(--space-5); }

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

  .page-header { padding: 7rem 0 2.5rem; }
}

@media (max-width: 480px) {
  .container   { padding: 0 var(--space-4); }
  .btn         { padding: 0.75rem 1.5rem; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .pd-notes    { grid-template-columns: 1fr; }
  .cart-page-layout { gap: var(--space-5); }
}

/* ─── 29. BADGE FOUC PREVENTION ──────────────────────────────────────── */
.count-badge:empty,
.count-badge[hidden] { display: none !important; }

/* ─── 30. ICON-BTN ACTIVE STATE ──────────────────────────────────────── */
.icon-btn.active {
  background: var(--accent-subtle);
  border-color: var(--accent-border);
  color: var(--accent);
}

/* ─── 31. CARD TAGLINE ───────────────────────────────────────────────── */
/* (already defined above inside product cards section) */

/* ─── 32. WISHLIST PAGE ──────────────────────────────────────────────── */

/* Toolbar */
.wishlist-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
  margin-bottom: var(--space-6);
  padding: var(--space-4) var(--space-5);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.wishlist-toolbar[hidden] { display: none; }

.wishlist-count {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0;
}

.wishlist-toolbar-actions {
  display: flex;
  gap: 0.6rem;
}

/* Wishlist card overrides */
.wishlist-card {
  /* Inherits all .card styles */
}

/* active heart on wishlist page */
.wishlist-card .card-wish.active {
  color: var(--color-heart);
  background: rgba(244, 114, 182, 0.12);
  border-color: rgba(244, 114, 182, 0.35);
}

.wishlist-card .card-wish.active svg {
  fill: currentColor;
}

/* Wishlist card action row */
.wishlist-card-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: auto;
}

.wishlist-card-actions .btn-primary {
  flex: 1;
  font-size: 0.72rem;
  padding: 0.6rem 0.8rem;
}

.wishlist-card-actions .btn-ghost {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

/* Wishlist empty state */
.wishlist-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem var(--space-6);
  gap: var(--space-4);
}

.wishlist-empty[hidden] { display: none; }

.wishlist-empty-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.wishlist-empty h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
}

.wishlist-empty p {
  color: var(--text-muted);
  max-width: 380px;
  line-height: 1.7;
}

/* Recommended section */
#recommendedSection[hidden] { display: none; }

/* ─── 33. 404 PAGE ───────────────────────────────────────────────────── */
.page-404 {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72vh;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
}

.page-404 .num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 18vw, 12rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--accent-border);
  display: block;
  margin-bottom: 0.2rem;
}

/* ─── 34. FOCUS VISIBLE STYLES ───────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ─── 35. LOADING STATE FOR BUTTONS ──────────────────────────────────── */
.btn.is-loading {
  pointer-events: none;
  opacity: 0.65;
  position: relative;
}

.btn.is-loading span {
  visibility: hidden;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  inset: 0;
  margin: auto;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── 36. SECTION DESCRIPTION ────────────────────────────────────────── */
.section-description {
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.75;
}

/* ─── 37. LUXURY DIVIDER ─────────────────────────────────────────────── */
.luxury-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
  color: var(--text-muted);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.luxury-divider::before,
.luxury-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ─── 38. ACCOUNT PANEL CARDS ────────────────────────────────────────── */
.account-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  margin-bottom: var(--space-5);
}

.account-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
}
/* ========================================
   Payment Receipt Upload
======================================== */

.upload-group{
    margin-top:1.5rem;
}

.upload-label{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    padding:2rem;
    border:2px dashed var(--primary-color);
    border-radius:18px;

    background:var(--surface-color);

    cursor:pointer;

    transition:all .3s ease;
    text-align:center;
    gap:.5rem;

    position:relative;
    overflow:hidden;
}

.upload-label:hover{
    border-color:var(--accent-color);
    transform:translateY(-2px);
}

.upload-label input{
    display:none;
}

.upload-icon{
    font-size:2.5rem;
}

.upload-title{
    font-size:1.05rem;
    font-weight:600;
    color:var(--text-color);
}

.upload-subtitle{
    font-size:.9rem;
    opacity:.7;
}

.upload-note{
    display:block;
    margin-top:.8rem;
    text-align:center;
    opacity:.7;
    font-size:.85rem;
}
/* ==========================================================
   Profile - Account
   ========================================================== */

.account-card{
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.8rem;
    margin-bottom: 1.5rem;
}

.account-row{
    display: flex;
    flex-direction: column;
    gap: .6rem;
    margin-bottom: 1.4rem;
}

.account-row:last-child{
    margin-bottom: 0;
}

.account-row label{
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
}

.account-row input{
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    color: var(--text);
    font-size: 1rem;
    outline: none;
}

.account-row input:focus{
    border-color: var(--accent);
}

.account-row input[readonly]{
    cursor: default;
    opacity: 1;
}
/* ==========================================================
   PROFILE - ACCOUNT
   ========================================================== */

.account-card{
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: all .3s ease;
}

.account-card:hover{
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0,0,0,.18);
}

.account-card-header{
    display:flex;
    align-items:center;
    gap:14px;
    margin-bottom:2rem;
    padding-bottom:1rem;
    border-bottom:1px solid var(--border);
}

.account-card-header i{
    font-size:1.35rem;
    color:var(--accent);
}

.account-card-header h3{
    margin:0;
    font-size:1.35rem;
    font-weight:600;
    color:var(--text);
}

.account-row{
    display:flex;
    flex-direction:column;
    gap:.65rem;
    margin-bottom:1.5rem;
}

.account-row:last-of-type{
    margin-bottom:0;
}

.account-row label{
    display:flex;
    align-items:center;
    gap:.6rem;
    font-size:.95rem;
    font-weight:600;
    color:var(--text);
}

.account-row label i{
    color:var(--accent);
    width:18px;
    text-align:center;
}

.account-row input{
    width:100%;
    height:54px;
    padding:0 18px;
    border:1px solid var(--border);
    border-radius:14px;
    background:rgba(255,255,255,.04);
    color:var(--text);
    font-size:1rem;
    transition:.25s;
}

.account-row input:hover{
    border-color:var(--accent);
}

.account-row input:focus{
    border-color:var(--accent);
    outline:none;
}

.account-row input[readonly]{
    cursor:default;
    opacity:1;
}

.account-actions{
    margin-top:2rem;
    display:flex;
}

.btn-edit-profile{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.65rem;

    padding:.9rem 1.5rem;

    background:var(--accent);
    color:#fff;

    border:none;
    border-radius:14px;

    font-weight:600;
    font-size:.95rem;

    cursor:pointer;

    transition:all .25s ease;
}

.btn-edit-profile:hover{
    transform:translateY(-2px);
    opacity:.92;
}
/* ==========================================================
   Profile Drawer
   ========================================================== */

.profile-toggle{

    font-size:1.25rem;

}

.profile-sidebar{

    position:fixed;

    top:0;

    left:-320px;

    width:300px;

    height:100vh;

    padding:120px 30px 30px;

    background:var(--bg-primary);

    border-right:1px solid var(--border);

    z-index:2000;

    transition:left .35s ease;

}

.profile-sidebar.open{

    left:0;

}
/* ==========================================================
   Profile Header
   ========================================================== */

.account-panel h2{
    margin-bottom: 14px;
    padding-left: 40px;
}

.account-panel .page-sub{
    margin-bottom: 2rem;
    padding-left: 40px;
    color: var(--text-muted);
}
/* ==========================================================
   PROFILE ACCOUNT (NEW LAYOUT)
   ========================================================== */

body[data-page="account"] .account-panel{

    max-width:1000px;

    margin:0 auto;

}

body[data-page="account"] .account-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:24px;

    margin:25px 0;

}

body[data-page="account"] .quick-card{

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    min-height:220px;

}

body[data-page="account"] .quick-card h3{

    margin-bottom:12px;

    font-size:1.25rem;

}

body[data-page="account"] .quick-card p{

    color:var(--text-muted);

    line-height:1.8;

    margin-bottom:28px;

}

body[data-page="account"] .btn-edit-profile{

    align-self:flex-start;

    text-decoration:none;

}

body[data-page="account"] .account-actions{

    margin-top:30px;

}

@media (max-width:768px){

    body[data-page="account"] .account-grid{

        grid-template-columns:1fr;

    }

}
.rating-widget{

display:flex;

gap:8px;

margin-top:10px;

}

.rating-widget i{

font-size:28px;

cursor:pointer;

color:#555;

transition:.25s;

}

.rating-widget i:hover{

transform:scale(1.2);

}

.rating-widget i.active{

color:#FFD54A;

}
/* ==========================================================
   PRODUCT RATING SYSTEM
   ========================================================== */

.product-rating-box {
    margin: 1rem 0;
}


/* Rating Input Box */

.rating-input {
    margin-top: 1.2rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
}


.rating-input p {
    font-size: .9rem;
    color: var(--text-muted);
    margin-bottom: .6rem;
}


/* Stars Container */

.rating-stars {
    display: flex;
    gap: .35rem;
    align-items: center;
}


/* Individual Star */

.rating-star {

    border: none;
    background: transparent;

    cursor: pointer;

    font-size: 2rem;

    color: #777;

    padding: 0;

    line-height: 1;

    transition:
        transform .2s ease,
        color .2s ease;

}


/* Hover Preview */

.rating-star.hover-active {

    color: #d4af37;

    transform: scale(1.15);

}


/* Selected Rating */

.rating-star.active {

    color: #d4af37;

    transform: scale(1.15);

}


/* Mouse hover on single star */

.rating-star:hover {

    transform: scale(1.15);

}


/* Keyboard Accessibility */

.rating-star:focus-visible {

    outline: 2px solid var(--accent);

    border-radius: 50%;

}


/* Rating Message */

.rating-message {

    margin-top: .8rem;

    font-size: .85rem;

    color: var(--accent);

}
/* ==========================================================
   PRODUCT IMAGES
   ========================================================== */

/* Product cards */

.card-media > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.card-media .product-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-sm);
    transition:
        transform 0.35s ease,
        opacity 0.35s ease;
}

/* Slight luxury hover effect */

.card:hover .product-image {
    transform: scale(1.035);
}


/* ==========================================================
   PRODUCT DETAILS IMAGE
   ========================================================== */

.pd-media {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pd-media .product-detail-image {
    display: block;
    width: 100%;
    max-width: 420px;
    height: 520px;
    object-fit: contain;
    object-position: center;
    border-radius: var(--radius-sm);
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 768px) {

    .pd-media .product-detail-image {
        max-width: 320px;
        height: 420px;
    }

}
.pd-description-box {
    width: 100%;
    padding: 1.6rem 1.8rem;
    margin: 1.5rem 0;

    background:
        linear-gradient(
            135deg,
            rgba(196, 154, 61, 0.16),
            rgba(196, 154, 61, 0.05)
        );

    border: 1px solid rgba(196, 154, 61, 0.35);
    border-radius: var(--radius-sm);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pd-description-box::before {
    content: "DESCRIPTION";

    display: block;

    margin-bottom: 0.7rem;

    color: var(--gold);

    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.pd-description {
    margin: 0;

    color: var(--text-primary);

    font-size: 0.95rem;
    line-height: 1.85;
}
/* ==========================================================
   FOOTER
   ========================================================== */

.footer {
    width: 100%;
    margin-top: auto;
}

.footer .container {
    width: 100%;
}


/* ==========================================================
   FOOTER GRID
   ========================================================== */

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding: 70px 0 50px;
}

.footer-brand h2 {
    margin: 0 0 16px;
    font-size: 1.8rem;
    letter-spacing: 0.12em;
}

.footer-brand p,
.footer-column p {
    margin: 0;
    line-height: 1.7;
    opacity: 0.7;
    max-width: 300px;
}


/* ==========================================================
   FOOTER COLUMNS
   ========================================================== */

.footer-column h3 {
    margin: 0 0 18px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    text-decoration: none;
    opacity: 0.7;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.footer-column a:hover {
    opacity: 1;
}


/* ==========================================================
   DIVIDER
   ========================================================== */

.footer hr {
    border: 0;
    border-top: 1px solid currentColor;
    opacity: 0.12;
    margin: 0;
}


/* ==========================================================
   FOOTER BOTTOM
   ========================================================== */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 28px 0 32px;
}


/* ==========================================================
   COPYRIGHT
   ========================================================== */

.footer-copyright {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.footer-copyright .copyright {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.footer-legal {
    max-width: 650px;
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.6;
    opacity: 0.5;
}


/* ==========================================================
   DEVELOPER CREDIT
   ========================================================== */

.footer-developer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-shrink: 0;
}

.developed-label {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.7;
    white-space: nowrap;

    transform: translateX(10px);
}


/* ==========================================================
   WASM LOGO
   ========================================================== */

.wasm-agency-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 0;

    transform: translateY(8px);
}

.wasm-logo {
    width: 250px;
    height: auto;
    max-height: 150px;
    object-fit: contain;
    display: block;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.wasm-agency-link:hover .wasm-logo {
    opacity: 0.85;
    transform: translateY(-2px);
}


/* ==========================================================
   THEME LOGO SWITCH
   ========================================================== */

/*
   LIGHT MODE
   → Dark Wasm logo
*/

.wasm-logo-dark {
    display: block;
}

.wasm-logo-light {
    display: none;
}


/*
   DARK MODE
   → Light Wasm logo
*/

[data-theme="dark"] .wasm-logo-dark {
    display: none;
}

[data-theme="dark"] .wasm-logo-light {
    display: block;
}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 900px) {

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 30px;
        padding: 55px 0 40px;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .footer-developer {
        justify-content: flex-start;
    }

    .footer-legal {
        max-width: 100%;
    }

}


@media (max-width: 600px) {

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 45px 0 35px;
    }

    .footer-bottom {
        padding: 24px 0 28px;
    }

    .footer-developer {
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
        flex-wrap: wrap;
    }

    .developed-label {
        font-size: 0.85rem;
    }

    .wasm-logo {
        width: 155px;
        max-height: 55px;
    }

}
.wasm-hint {

    margin-top: 12px;

    font-size: 0.85rem;

    opacity: 0.65;

    text-align: center;

    max-width: 220px;

    line-height: 1.5;

}


.wasm-agency-link {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    text-decoration: none;

}



.wasm-logo {

    width: 250px;

    height: auto;

    object-fit: contain;

    transition: .3s ease;

}



.wasm-agency-link:hover .wasm-logo {

    transform: translateY(-4px);

    opacity: .85;

}
/* =========================================
   DIAMORA NAVBAR WORDMARK
========================================= */

.header .logo {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 150px;
    height: 58px;

    flex-shrink: 0;
}

.header .logo img {
    display: block;

    width: 150px;
    height: auto;

    max-width: 100%;
    max-height: 52px;

    object-fit: contain;
}

/* Dark logo hidden by default */
.header .logo .logo-dark {
    display: none;
}

/* Dark mode */
[data-theme="dark"] .header .logo .logo-light {
    display: none;
}

[data-theme="dark"] .header .logo .logo-dark {
    display: block;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .header .logo {
        width: 120px;
        height: 50px;
    }

    .header .logo img {
        width: 120px;
        max-height: 44px;
    }
}
/* =========================================
   LOADING SCREEN - LOGO SIZE
========================================= */

.loader-logo {
    width: 220px;
    height: auto;
}

.loader-logo img {
    width: 100%;
    height: auto;
    display: block;
}

.loader-logo-dark {
    display: none !important;
}

[data-theme="dark"] .loader-logo-light {
    display: none !important;
}

[data-theme="dark"] .loader-logo-dark {
    display: block !important;
}
.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.hero-video {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.28);

    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 2;
}
/* =========================================
   HERO THEME VIDEO TRANSITION
========================================= */

.hero-video {
    opacity: 1;
    transition: opacity 0.6s ease;
}

.hero-video.is-changing {
    opacity: 0;
}

.hero-overlay {
    transition:
        background-color 0.6s ease,
        opacity 0.6s ease;
}
.hero-video {
    transition: opacity 0.6s ease;
}

.hero-video.is-replaying {
    opacity: 0;
}
/* =========================================
   Diamora Logo
========================================= */
#Diamora {
  border-radius: 100px;
}
#logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

#logos a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon {
    font-size: 24px;
    color: #2EC4B6;
    transition: color 0.25s ease, transform 0.25s ease;
}

/* Light mode hover */
.social-icon:hover {
    color: #249F94;
    transform: translateY(-2px);
}

/* Dark mode */
body.dark-mode .social-icon {
    color: #2EC4B6;
}

/* Dark mode hover */
body.dark-mode .social-icon:hover {
    color: #00FFFF;
}
/* ==========================================================
   QUICK VIEW PRODUCT IMAGE
   ========================================================== */

.qv-media .quick-view-product-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 320px;
    max-height: 320px;
    object-fit: contain;
    object-position: center;
    margin: 0 auto;
}


/* ==========================================================
   QUICK VIEW - FULL DETAILS BUTTON
   ========================================================== */

html[data-theme="light"] .qv-details-btn {
    color: var(--text-secondary);
}

html[data-theme="light"] .qv-details-btn:hover {
    color: var(--text-primary);
}
/* ==========================================================
   PRODUCT CARD - QUICK VIEW EYE BUTTON
   ========================================================== */

html[data-theme="light"] .card-actions .btn[data-quickview],
html[data-theme="light"] .card-actions .btn[data-quickview] svg {
    color: var(--text-secondary);
    stroke: var(--text-secondary);
}

html[data-theme="light"] .card-actions .btn[data-quickview]:hover,
html[data-theme="light"] .card-actions .btn[data-quickview]:hover svg {
    color: var(--text-primary);
    stroke: var(--text-primary);
}
/* ==========================================================
   WISHLIST BUTTONS - LIGHT MODE
   ========================================================== */

/* Add All to Bag */
html[data-theme="light"] #addAllToCart {
    color: var(--text-secondary);
}

/* Clear All */
html[data-theme="light"] #clearWishlist {
    color: var(--text-secondary);
}

/* Confirm Clear */
html[data-theme="light"] #confirmClearWishlist {
    color: var(--text-secondary);
}

/* Hover */
html[data-theme="light"] #addAllToCart:hover,
html[data-theme="light"] #clearWishlist:hover,
html[data-theme="light"] #confirmClearWishlist:hover {
    color: var(--text-primary);
}
/* ==========================================================
   CART DRAWER - CONTINUE SHOPPING - LIGHT MODE
   ========================================================== */

html[data-theme="light"] .cart-drawer .empty-state .btn.btn-ghost,
html[data-theme="light"] .cart-drawer .empty-state .btn.btn-ghost span {
    color: var(--text-secondary);
}

html[data-theme="light"] .cart-drawer .empty-state .btn.btn-ghost:hover,
html[data-theme="light"] .cart-drawer .empty-state .btn.btn-ghost:hover span {
    color: var(--text-primary);
}