/* ============================================================
   TORIAS GLAM HAVEN – GLOBAL DESIGN SYSTEM (Black, White & Gold Luxe)
   ============================================================ */

/* ── CSS CUSTOM PROPERTIES ───────────────────────────────────── */
:root {
  /* TORIAS GLAM HAVEN – Black, White & Gold Palette */
  --clr-white:     #FFFFFF;
  --clr-black:     #000000;
  --clr-dark:      #080808;   /* Dark Surface */
  --clr-dark-2:    #121212;   /* Slightly lighter dark surface */

  /* Brand Palette (Dark Surfaces – old "blush" mapped to dark equivalents) */
  --clr-blush:          #161616;
  --clr-blush-deep:     #222222;
  --clr-blush-light:    #1A1A1A;
  --clr-nude:           #121212;
  --clr-champagne:      #1E1E1E;

  /* Accent Colors – Gold (Champagne Gold to match logo) */
  --clr-gold:           #DAB258;
  --clr-gold-light:     #E8D092;
  --clr-gold-pale:      rgba(218,178,88,0.15);
  --clr-jewelry-gold:   #DAB258;

  /* Text Colors – WHITE on dark background */
  --clr-text:           #FFFFFF;              /* Pure White – headings */
  --clr-text-body:      rgba(255,255,255,0.80); /* Body text */
  --clr-text-muted:     rgba(255,255,255,0.50); /* Muted / secondary */
  --clr-text-light:     rgba(255,255,255,0.30); /* Very muted / accents */

  /* Gray scale / Neutral borders */
  --clr-gray-200:       rgba(255,255,255,0.08);
  --clr-gray-400:       rgba(255,255,255,0.15);
  --clr-gray-600:       rgba(255,255,255,0.30);

  /* Gradients (Updated for logo match) */
  --gradient-gold: linear-gradient(135deg, #DAB258 0%, #9F7928 100%);
  --gradient-blush: linear-gradient(135deg, #121212 0%, #000000 100%);
  --gradient-hero: linear-gradient(rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);

  /* Typography */
  --font-logo:    'Great Vibes', cursive;
  --font-serif:   'Cormorant Garamond', serif;
  --font-sans:    'Jost', sans-serif;

  /* Font sizes */
  --fs-hero: clamp(3rem, 7vw, 6.5rem);
  --fs-4xl:  clamp(2rem, 4vw, 3rem);
  --fs-3xl:  clamp(1.6rem, 3vw, 2.25rem);
  --fs-2xl:  clamp(1.4rem, 2.5vw, 1.9rem);
  --fs-xl:   clamp(1.1rem, 1.8vw, 1.4rem);
  --fs-lg:   1.15rem;
  --fs-md:   1rem;
  --fs-base: 0.9rem;
  --fs-sm:   0.82rem;
  --fs-xs:   0.72rem;

  /* Spacing */
  --sp-xs:   8px;
  --sp-sm:   16px;
  --sp-md:   32px;
  --sp-lg:   48px;
  --sp-xl:   80px;
  --sp-2xl:  120px;

  /* Layout */
  --container-max: 1320px;
  --container-pad: clamp(24px, 6vw, 100px);
  --header-h: 90px;
  --radius-sm:  40px;   /* pill for buttons */
  --radius-md:  20px;
  --radius-lg:  30px;

  /* Shadows */
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 32px rgba(0,0,0,0.15);
  --shadow-lg:   0 16px 64px rgba(0,0,0,0.25);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.3);
  --shadow-blush:0 8px 32px rgba(0,0,0,0.5);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Performance & Accessibility */
  --focus-outline: 2px solid var(--clr-gold);
  --focus-offset: 4px;

  /* About Page / Dark Section Colors */
  --black:      #0A0A0A;
  --black-soft: #111111;
  --black-card: #1A1A1A;
  --gold:       #C9A84C;
  --gold-light: #E2C97E;
  --gold-dim:   #8B6E2F;
  --white:      #FFFFFF;
  --white-soft: #F5F5F5;
  --white-muted:#B0A898;
}

/* ── ACCESSIBILITY ───────────────────────────────────────────── */
:focus-visible {
  outline: var(--focus-outline);
  outline-offset: var(--focus-offset);
}

:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible {
  outline: var(--focus-outline);
  outline-offset: 3px;
}

.skip-to-content {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--clr-gold);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 9999;
  transition: top 0.3s;
}
.skip-to-content:focus {
  top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* Reduced motion for specific animations */
@media (prefers-reduced-motion: reduce) {
  .animate-up,
  .animate-fade,
  .product-card,
  .category-card,
  .feature-item,
  .trending-card,
  .insta-item,
  .occasion-card,
  .testimonial-card,
  .hero-img,
  .product-img-wrap img,
  .category-img-wrap img,
  .cat-pill-img img,
  .insta-item img,
  .occasion-img img,
  .trending-sm-card img,
  .trending-hero-card img,
  .brand-strip-img img,
  .search-result-item,
  .promo-marquee {
    animation: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

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

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-md);
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  background-color: #0A0A0A;
  overflow-x: hidden;
}

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

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: 0.01em;
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-4xl); }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }

em { font-style: italic; }
strong { font-weight: 600; }

/* ── LAYOUT UTILITIES ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section       { padding: var(--sp-xl) 0; }
.section-sm    { padding: var(--sp-lg) 0; }
.section--blush { background-color: #111111; }

@media (max-width: 480px) {
  .section { padding: var(--sp-lg) 0; }
  .container { padding-inline: 16px; }
  :root {
    --sp-xl: 60px;
    --sp-2xl: 80px;
  }
}

.section--nude {
  background: #111111;
}
/* Dark section = darkest bg */
.section--dark {
  background: #0A0A0A;
}
.section--blush { background: #111111; }

.text-center { text-align: center; }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.full-width { width: 100%; display: block; }
.flex-1 { flex: 1; }

/* ── OVERLINE & SECTION TITLES ──────────────────────────────── */
.overline {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--clr-gold);
  margin-bottom: var(--sp-sm);
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-4xl);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.15;
}
.section-title em {
  font-style: italic;
  color: var(--clr-gold);
}

.section-subtitle {
  color: rgba(255,255,255,0.50);
  font-size: 1rem;
  margin-top: 8px;
  font-weight: 300;
}

.section-header { margin-bottom: var(--sp-xl); }

.section-header-zahabiya {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--sp-xl);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding-bottom: var(--sp-md);
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.section-header-zahabiya .title-wrap {
  flex: 1;
  text-align: left;
}

.section-header-zahabiya h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-3xl);
  margin-bottom: 4px;
}

.section-header-zahabiya p.section-subtitle {
  margin-top: 0;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.section-header-zahabiya .view-all-btn {
  padding: 10px 24px;
  border: 1px solid rgba(201,168,76,0.35);
  text-transform: uppercase;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
  border-radius: var(--radius-sm);
}

.section-header-zahabiya .view-all-btn:hover {
  background: var(--clr-gold);
  color: #0A0A0A;
  border-color: var(--clr-gold);
}

.title-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  margin-top: var(--sp-sm);
  justify-content: center;
}
.title-divider::before,
.title-divider::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--clr-gold-pale));
}
.title-divider span { color: var(--clr-gold); font-size: 0.8rem; }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: var(--radius-sm);   /* pill */
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-gold {
  background: #C9A84C;
  color: #0A0A0A;
  border: 1px solid #C9A84C;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  transition: all 0.3s ease;
}
.btn-gold:hover {
  background: #0A0A0A;
  color: #C9A84C;
  border-color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid #C9A84C;
  color: #C9A84C;
  font-weight: 600;
}
.btn-outline-gold:hover {
  background: #C9A84C;
  color: #0A0A0A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}

.btn-blush {
  background: var(--gradient-blush);
  color: var(--clr-text);
  border-color: var(--clr-blush-deep);
}
.btn-blush:hover { box-shadow: var(--shadow-blush); transform: translateY(-2px); }

.btn-dark {
  background: #1A1A1A;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(201,168,76,0.25);
}
.btn-dark:hover { 
  background: #252525; 
  border-color: rgba(201,168,76,0.5);
  color: #C9A84C;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.8);
}
.btn-outline:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.5); }

/* ── HEADER ─────────────────────────────────────────────────── */
.promo-banner {
  background: #0A0A0A;
  color: #C9A84C;
  padding: 10px 0;
  font-size: 0.65rem;
  font-family: var(--font-sans);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(201,168,76,0.2);
  overflow: hidden;
}
.promo-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 0;
}
.marquee-content {
  display: flex;
  flex-shrink: 0;
  justify-content: space-around;
  min-width: 100%;
  gap: 60px;
  animation: scroll-marquee 25s linear infinite;
}
.marquee-content span {
  padding: 0 30px;
  white-space: nowrap;
}
@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.promo-close {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #C9A84C;
  background: #0A0A0A;
  font-size: 14px;
  padding: 4px 8px;
  z-index: 10;
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: transparent;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition: background 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              backdrop-filter 0.45s ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.6);
  border-bottom-color: rgba(201, 168, 76, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  height: 100%;
}

/* ── LOGO ───────────────────────────────────────────────────── */
.logo, .footer-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.logo-top {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-ornament { 
  color: #C9A84C; 
  font-size: 0.7rem;
  margin-top: 5px;
}
.logo-main {
  font-family: var(--font-logo);
  font-size: 3.2rem;
  color: #ffffff;
  letter-spacing: -0.01em;
  font-weight: 400;
  font-style: normal;
  line-height: 0.8;
}
.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.54rem;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: #C9A84C;
  font-weight: 500;
  margin-top: -2px;
}

/* ── NAV ────────────────────────────────────────────────────── */
.main-nav { display: flex; align-items: center; }
.nav-list  { display: flex; align-items: center; gap: var(--sp-lg); }

.nav-link {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #C9A84C;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-dropdown { position: relative; }
.dropdown-arrow { font-size: 0.6rem; vertical-align: middle; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%);
  background: #111111;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-md);
  padding: var(--sp-sm);
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 100;
}
/* Invisible bridge to prevent closing when moving cursor into the menu gap */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  top: calc(100% + 8px);
}
.dropdown-menu li a {
  display: block;
  padding: 10px 16px;
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  border-radius: 8px;
  transition: var(--transition);
}
.dropdown-menu li a:hover {
  background: rgba(201,168,76,0.1);
  color: #C9A84C;
}

/* ── HEADER ACTIONS ─────────────────────────────────────────── */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  border-radius: 50%;
  transition: var(--transition);
}
.icon-btn:hover {
  color: #C9A84C;
  background: rgba(201,168,76,0.1);
}
.icon-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  background: var(--gradient-gold);
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--clr-text-muted);
  border-radius: 2px;
  transition: var(--transition);
}

.btn-gold.added {
  background: #10B981 !important;
  color: #fff !important;
  border-color: #10B981 !important;
}
/* ── CATEGORY BAR (Zahabiya inspired) ────────────────────────── */
.nav-category-bar {
  background: var(--clr-dark);
  border-top: 1px solid rgba(85,8,22,0.08);
  border-bottom: 1px solid rgba(85,8,22,0.08);
  padding: 12px 0;
  overflow-x: auto;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
.nav-category-bar::-webkit-scrollbar { display: none; } /* Hide scrollbar Chrome/Safari */

.cat-nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--sp-xl);
  list-style: none;
  padding: 0;
  white-space: nowrap;
}

.cat-nav-list a {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-body);
  text-decoration: none;
  transition: var(--transition);
  opacity: 0.85;
}

.cat-nav-list a:hover {
  color: var(--clr-gold);
  opacity: 1;
  letter-spacing: 0.2em; /* subtle breathing effect */
}

@media (max-width: 768px) {
  .cat-nav-list {
    justify-content: flex-start;
    padding: 0 var(--sp-md);
  }
}



/* ── PAGE HEADER ────────────────────────────────────────────── */
.page-header {
  padding: calc(var(--header-h) + var(--sp-2xl)) 0 var(--sp-xl);
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  isolation: isolate;
  border-bottom: 2px solid var(--clr-gold);
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.7));
  z-index: -1;
}
.page-header h1 { 
  font-size: var(--fs-4xl); 
  color: var(--clr-white); 
  text-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.page-header p { color: #ffffff !important; opacity: 0.9; font-size: var(--fs-lg); }
.page-header-ornament {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.4em;
  color: #ffffff;
  margin-bottom: var(--sp-md);
  text-transform: uppercase;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  padding: var(--sp-sm) 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: var(--clr-dark-2);
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}
.breadcrumb-list li { display: flex; align-items: center; gap: var(--sp-sm); font-size: var(--fs-xs); }
.breadcrumb-list li + li::before { content: '›'; color: var(--clr-gold); }
.breadcrumb-list a { color: var(--clr-text-muted); }
.breadcrumb-list a:hover { color: var(--clr-gold); }
.breadcrumb-list span { color: var(--clr-gold); }

/* ── PRODUCT CARDS ──────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--sp-md);
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: var(--sp-sm);
  }
}


.product-card {
  background: #111111;
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(201,168,76,0.2);
  border-color: rgba(201,168,76,0.4);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #1A1A1A;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.07); }

.product-badges {
  position: absolute;
  top: var(--sp-sm);
  left: var(--sp-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.badge--new       { background: #0A0A0A; color: #C9A84C; border: 1px solid rgba(201,168,76,0.3); }
.badge--sale      { background: var(--gradient-gold); color: #0A0A0A; font-weight: 700; }
.badge--bestseller{ background: rgba(201,168,76,0.15); color: #8B6E2F; border: 1px solid rgba(201,168,76,0.3); }
.badge--trending  { width: fit-content; margin-bottom: 8px; }
.badge--trending-sm { width: fit-content; margin-bottom: 6px; }


.product-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  padding: 40px var(--sp-sm) var(--sp-md);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-overlay { 
  opacity: 1; 
  transform: translateY(0);
}

.overlay-btn {
  background: rgba(201,168,76,0.9);
  color: #0A0A0A;
  border: 1px solid #C9A84C;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
}
.overlay-btn:hover {
  background: #C9A84C;
  color: #0A0A0A;
}

/* ── Persistent Wishlist Heart ── */
.wishlist-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0;
}
.product-card:hover .wishlist-toggle,
.wishlist-toggle.active {
  opacity: 1;
}
.wishlist-toggle:hover {
  background: rgba(218,178,88,0.2);
  border-color: #DAB258;
  transform: scale(1.1);
}
.wishlist-toggle.active {
  background: rgba(218,178,88,0.15);
  border-color: #DAB258;
}
.wishlist-toggle svg {
  width: 16px;
  height: 16px;
  color: #fff;
  transition: 0.3s;
}
.wishlist-toggle.active svg {
  fill: #DAB258;
  stroke: #DAB258;
  color: #DAB258;
}

.product-info { padding: var(--sp-md); }
.product-category {
  font-size: var(--fs-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 6px;
  font-weight: 400;
}
.product-name {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-xs);
  font-weight: 400;
  color: #ffffff;
}
.product-name a { color: inherit; transition: var(--transition); }
.product-name a:hover { color: #C9A84C; }

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: var(--sp-sm);
}
.stars { color: #C9A84C; font-size: 0.85rem; letter-spacing: 2px; }
.rating-count { font-size: var(--fs-xs); color: rgba(255,255,255,0.4); }

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: var(--sp-md);
}
.product-price {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  color: #C9A84C;
  font-weight: 600;
}
.product-price-old {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.3);
  text-decoration: line-through;
}

/* ── MODAL ──────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  background: #111111;
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  border: 1px solid rgba(201,168,76,0.2);
}
.modal-close {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition);
}
.modal-close:hover { background: #C9A84C; color: #0A0A0A; }

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.modal-img {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  background: #1A1A1A;
  min-height: 300px;
}
.modal-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-details { padding: var(--sp-xl) var(--sp-lg); background: #111111; }
.modal-details h3 {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-sm);
  color: #ffffff;
  font-weight: 400;
}
.modal-desc {
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: var(--sp-md);
}
.qty-row { display: flex; align-items: center; gap: var(--sp-sm); margin-bottom: var(--sp-md); }
.qty-row label { font-size: var(--fs-xs); letter-spacing: 0.1em; color: rgba(255,255,255,0.5); text-transform: uppercase; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #1A1A1A;
}
.qty-btn {
  width: 36px;
  height: 36px;
  font-size: 1.1rem;
  color: #C9A84C;
  transition: var(--transition);
}
.qty-btn:hover { background: rgba(201,168,76,0.12); }
.qty-control input {
  width: 48px;
  text-align: center;
  border: none;
  outline: none;
  font-size: var(--fs-base);
  color: #ffffff;
  background: transparent;
}
.modal-actions { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }

/* ── CART TOAST ─────────────────────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: var(--sp-lg);
  right: var(--sp-lg);
  background: var(--clr-dark-2);
  color: var(--clr-text);
  border: 1px solid rgba(0,0,0,0.2);
  border-left: 4px solid var(--clr-gold);
  padding: 14px var(--sp-md);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-sm);
  z-index: 5000;
  transform: translateX(140%);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.cart-toast.show { transform: translateX(0); }
.cart-toast svg { color: var(--clr-gold); flex-shrink: 0; }

/* ── FORMS ──────────────────────────────────────────────────── */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-md);
}
.form-row.three { grid-template-columns: 1fr 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label {
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}
.form-control {
  padding: 13px 16px;
  border: 1px solid rgba(0,0,0,0.25);
  border-radius: var(--radius-md);
  background: var(--clr-dark-2);
  color: var(--clr-text);
  font-size: var(--fs-sm);
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
  width: 100%;
}
.form-control::placeholder { color: var(--clr-text-light); }
.form-control:focus {
  border-color: var(--clr-gold);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.1);
}
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 140px; }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: #0A0A0A;
  color: rgba(255,255,255,0.65);
  font-size: var(--fs-sm);
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-top { padding: var(--sp-xl) 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr 1.4fr;
  gap: var(--sp-lg);
}
.footer-brand .footer-logo .logo-main { color: #fff; }
.footer-brand .footer-logo .logo-sub  { color: var(--clr-gold-light); }
.footer-brand .footer-logo .logo-ornament { color: var(--clr-gold-light); }
.footer-tagline {
  margin-top: var(--sp-sm);
  color: rgba(255,255,255,0.5);
  font-size: var(--fs-xs);
  line-height: 1.8;
}
.footer-col-title {
  font-family: var(--font-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-gold-light);
  margin-bottom: var(--sp-md);
}
.footer-links li + li { margin-top: 10px; }
.footer-links a { color: rgba(255,255,255,0.5); transition: var(--transition); font-size: var(--fs-xs); }
.footer-links a:hover { color: var(--clr-gold-light); }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  color: rgba(255,255,255,0.5); font-size: var(--fs-xs); margin-bottom: 10px;
}
.footer-contact-list a { color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-contact-list a:hover { color: var(--clr-gold-light); }
.footer-contact-list svg { flex-shrink: 0; margin-top: 2px; color: var(--clr-gold-light); }
.social-links { display: flex; gap: var(--sp-sm); margin-top: var(--sp-md); }
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.social-link:hover { border-color: var(--clr-gold-light); color: var(--clr-gold-light); }
.footer-bottom {
  background: rgba(0,0,0,0.2);
  padding: var(--sp-md) 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  flex-wrap: wrap;
}
.footer-bottom p { font-size: var(--fs-xs); color: rgba(255,255,255,0.35); }
.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-icon {
  padding: 4px 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
}

/* ── CART & CHECKOUT SPECIFICS ──────────────────────────────── */
.cart-page-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--sp-xl);
  align-items: start;
  padding: var(--sp-xl) 0;
}
.cart-table-header {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: var(--sp-md);
  padding: var(--sp-sm) var(--sp-md);
  font-size: var(--fs-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  border-bottom: 1px solid rgba(0,0,0,0.15);
  margin-bottom: var(--sp-sm);
}
.cart-item {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 40px;
  gap: var(--sp-md);
  align-items: center;
  padding: var(--sp-md);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  background: var(--clr-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-sm);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.cart-item-product { display: flex; align-items: center; gap: var(--sp-md); }
.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #eee;
  background: var(--clr-blush-light);
}
.cart-item-info h4 { font-size: var(--fs-sm); font-family: var(--font-serif); font-weight: 400; color: var(--clr-text); }
.cart-item-info p  { font-size: 0.7rem; color: var(--clr-text-muted); margin-top: 4px; }
.cart-item-price   { font-family: var(--font-serif); color: var(--clr-text); }
.cart-item-subtotal{ font-family: var(--font-serif); color: var(--clr-gold); font-weight: 600; }
.cart-item-remove  { color: var(--clr-text-light); font-size: 0.9rem; transition: var(--transition); border-radius: 50%; width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; }
.cart-item-remove:hover { color: #c0392b; background: #fef2f2; }
.coupon-row { display: flex; align-items: center; gap: var(--sp-sm); flex-wrap: wrap; margin-top: var(--sp-md); }

/* Order Summary */
.order-summary-box {
  background: var(--clr-white);
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: calc(var(--header-h) + var(--sp-md));
}
.order-summary-title {
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-lg);
  padding-bottom: var(--sp-md);
  border-bottom: 1px solid rgba(0,0,0,0.12);
  color: var(--clr-text);
}
.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}
.summary-line strong { color: var(--clr-text); font-size: var(--fs-md); }
.summary-total { border-top: 1px solid rgba(0,0,0,0.2) !important; padding-top: var(--sp-md) !important; margin-top: var(--sp-sm); }
.summary-total-price {
  font-family: var(--font-serif);
  font-size: var(--fs-2xl);
  color: var(--clr-gold);
  font-weight: 600;
}
.checkout-btn { margin-top: var(--sp-md); }

/* Checkout */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--sp-xl);
  align-items: start;
  padding: var(--sp-lg) 0 var(--sp-xl);
}
.checkout-section {
  background: var(--clr-white);
  border: 1px solid #eee;
  border-radius: var(--radius-lg);
  padding: var(--sp-lg);
  margin-bottom: var(--sp-md);
  box-shadow: var(--shadow-sm);
}
.checkout-section-title {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-family: var(--font-serif);
  font-size: var(--fs-xl);
  margin-bottom: var(--sp-md);
  padding-bottom: var(--sp-sm);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  color: var(--clr-text);
  font-weight: 400;
}
.step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #fff;
  font-size: var(--fs-xs);
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.checkout-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-bottom: var(--sp-xl);
}
.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
}
.progress-step + .progress-step::before {
  content: '';
  position: absolute;
  top: 16px;
  right: 50%;
  left: -50%;
  height: 1px;
  background: rgba(0,0,0,0.2);
  z-index: 0;
}
.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.3);
  background: var(--clr-dark-2);
  font-size: var(--fs-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  position: relative;
  z-index: 1;
}
.progress-step.active .step-circle { background: var(--gradient-gold); color: #fff; border-color: var(--clr-gold); }
.progress-step.done .step-circle { background: var(--clr-blush); color: var(--clr-gold); border-color: var(--clr-gold-pale); }
.step-label { font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--clr-text-muted); }
.progress-step.active .step-label { color: var(--clr-gold); }

.payment-method-list { display: flex; flex-direction: column; gap: var(--sp-sm); }
.payment-method {
  border: 1.5px solid rgba(0,0,0,0.2);
  border-radius: var(--radius-md);
  padding: var(--sp-md);
  cursor: pointer;
  transition: var(--transition);
  background: var(--clr-white);
}
.payment-method:hover { border-color: var(--clr-gold); }
.payment-method.selected { border-color: var(--clr-gold); background: var(--clr-blush-light); }
.payment-method-header { display: flex; align-items: center; gap: var(--sp-sm); }
.pm-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.4);
  transition: var(--transition);
}
.payment-method.selected .pm-radio {
  border-color: var(--clr-gold);
  background: radial-gradient(circle, var(--clr-gold) 40%, transparent 41%);
}
.pm-name { font-size: var(--fs-sm); font-weight: 500; color: var(--clr-text); flex: 1; }
.pm-icons { display: flex; gap: 6px; margin-left: auto; }
.pm-icon-tag { padding: 3px 8px; background: var(--clr-blush-light); border: 1px solid rgba(0,0,0,0.2); border-radius: 4px; font-size: 0.62rem; font-weight: 600; color: var(--clr-text-muted); }
.card-fields { display: flex; flex-direction: column; gap: var(--sp-md); }

/* Product detail */
.product-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  padding: var(--sp-xl) 0;
  align-items: start;
}
.gallery-main {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #1A1A1A;
  aspect-ratio: 1;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; opacity: 1; transition: opacity 0.2s ease; }
.gallery-badge { position: absolute; top: var(--sp-md); left: var(--sp-md); }
.gallery-thumbnails { display: flex; gap: var(--sp-sm); margin-top: var(--sp-sm); flex-wrap: wrap; }
.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(201,168,76,0.15);
  background: #1A1A1A;
  transition: var(--transition);
  flex-shrink: 0;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb.active, .gallery-thumb:hover { border-color: var(--clr-gold); box-shadow: 0 0 0 1px rgba(201,168,76,0.4); }

.product-details h1 { font-size: var(--fs-3xl); margin-bottom: var(--sp-sm); font-weight: 300; }
.product-price-section { display: flex; align-items: baseline; gap: var(--sp-sm); margin: var(--sp-md) 0; flex-wrap: wrap; }
.discount-badge { background: var(--gradient-gold); color: #fff; padding: 4px 12px; border-radius: var(--radius-sm); font-size: var(--fs-xs); font-weight: 600; }
.product-meta { margin: var(--sp-md) 0; border: 1px solid rgba(0,0,0,0.12); border-radius: var(--radius-md); overflow: hidden; }
.product-meta-row { display: flex; padding: 10px var(--sp-md); border-bottom: 1px solid rgba(0,0,0,0.06); }
.product-meta-row:last-child { border-bottom: none; }
.product-meta-label { width: 110px; font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clr-text-muted); flex-shrink: 0; }
.product-meta-value--stock { color: var(--clr-gold); }

.btn-add-cart { flex: 1; }
.btn-buy-now { margin-top: 0; }

.rating-bar-fill-inner--5 { width: 88%; }
.rating-bar-fill-inner--4 { width: 8%; }
.rating-bar-fill-inner--3 { width: 2%; }
.rating-bar-fill-inner--2 { width: 2%; }
.rating-bar-fill-inner--1 { width: 0%; }
.rating-bar-fill-inner--2 { width: 2%; }
.rating-bar-fill-inner--1 { width: 0%; }
.product-description { color: var(--clr-text-muted); font-size: var(--fs-sm); line-height: 1.9; margin-bottom: var(--sp-md); }
.add-to-cart-section { display: flex; gap: var(--sp-sm); align-items: center; margin: var(--sp-md) 0; flex-wrap: wrap; }
.wishlist-product-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: var(--transition); flex-shrink: 0;
  background: #1A1A1A;
}
.wishlist-product-btn:hover, .wishlist-product-btn.active { border-color: var(--clr-gold); color: var(--clr-gold); background: rgba(201,168,76,0.08); }
.trust-badges { display: flex; gap: var(--sp-md); flex-wrap: wrap; margin-top: var(--sp-lg); padding-top: var(--sp-md); border-top: 1px solid rgba(201,168,76,0.12); }
.trust-badge { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); color: rgba(255,255,255,0.5); }
.trust-badge svg { color: var(--clr-gold); flex-shrink: 0; }

/* Reviews */
.reviews-section { margin-top: var(--sp-xl); padding-top: var(--sp-xl); border-top: 1px solid rgba(0,0,0,0.1); }
.reviews-summary { display: flex; gap: var(--sp-xl); align-items: flex-start; margin-bottom: var(--sp-xl); background: var(--clr-blush-light); border-radius: var(--radius-lg); padding: var(--sp-lg); }
.big-score { font-family: var(--font-serif); font-size: 4rem; color: var(--clr-gold); line-height: 1; }
.score-stars { color: var(--clr-gold); font-size: var(--fs-lg); margin: 6px 0; }
.reviews-summary > .reviews-score > p { font-size: var(--fs-xs); color: var(--clr-text-muted); }
.rating-bars { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; font-size: var(--fs-xs); color: var(--clr-text-muted); }
.rating-bar-fill { flex: 1; height: 6px; background: rgba(0,0,0,0.1); border-radius: 3px; overflow: hidden; }
.rating-bar-fill-inner { height: 100%; background: var(--gradient-gold); border-radius: 3px; }
.review-card { background: var(--clr-white); border: 1px solid #eee; border-radius: var(--radius-md); padding: var(--sp-lg); margin-bottom: var(--sp-md); box-shadow: var(--shadow-sm); }
.review-header { display: flex; align-items: center; gap: var(--sp-md); margin-bottom: var(--sp-md); }
.reviewer-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--clr-gold-pale); }
.reviewer-info strong { display: block; color: var(--clr-text); font-size: var(--fs-sm); font-family: var(--font-serif); }
.reviewer-info span { font-size: var(--fs-xs); color: var(--clr-text-muted); }
.review-stars { margin-left: auto; color: var(--clr-gold); }
.review-text { color: var(--clr-text-muted); font-size: var(--fs-sm); line-height: 1.8; }
.related-section { margin-top: var(--sp-xl); padding-top: var(--sp-xl); border-top: 1px solid rgba(0,0,0,0.1); }

/* Shop sidebar */
.shop-page-layout { display: grid; grid-template-columns: 260px 1fr; gap: var(--sp-xl); padding: var(--sp-lg) 0 var(--sp-xl); }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + var(--sp-md)); }
.filter-section { background: var(--clr-white); border: 1px solid #eee; border-radius: var(--radius-md); padding: var(--sp-md); margin-bottom: var(--sp-md); box-shadow: var(--shadow-sm); }
.filter-title { font-family: var(--font-serif); font-size: var(--fs-lg); font-weight: 400; color: var(--clr-text); margin-bottom: var(--sp-md); padding-bottom: var(--sp-sm); border-bottom: 1px solid rgba(0,0,0,0.1); }
.filter-option { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; font-size: var(--fs-sm); color: var(--clr-text-muted); transition: var(--transition); }
.filter-option:hover { color: var(--clr-gold); }
.filter-option input[type="checkbox"] { accent-color: var(--clr-gold); width: 16px; height: 16px; }
.shop-main-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--sp-md); flex-wrap: wrap; gap: var(--sp-sm); }
.shop-count { font-size: var(--fs-sm); color: var(--clr-text-muted); }
.shop-sort select { background: var(--clr-white); border: 1px solid #eee; border-radius: var(--radius-sm); padding: 8px 16px; font-size: var(--fs-xs); color: var(--clr-text-muted); outline: none; cursor: pointer; }
.pagination { display: flex; align-items: center; justify-content: center; gap: var(--sp-sm); margin-top: var(--sp-xl); }
.page-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.2); color: var(--clr-text-muted); font-size: var(--fs-sm); transition: var(--transition); display: flex; align-items: center; justify-content: center; }
.page-btn:hover, .page-btn.active { background: var(--gradient-gold); color: #fff; border-color: var(--clr-gold); }

/* -- ANIMATIONS ------------------------------------------------ */
[class*="animate-"] {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-up { transform: translateY(30px); }
.animate-fade { transform: scale(0.98); }

.animate-up.is-visible, 
.animate-fade.is-visible,
section.hero .animate-up,
section.hero .animate-fade,
.about-hero .animate-up,
.page-header .animate-up { 
  opacity: 1; 
  transform: none; 
}

/* -- PROMO MARQUEE ------------------------------------------- */
.promo-banner { background: var(--gradient-gold); color: #fff; padding: 8px 0; position: relative; overflow: hidden; z-index: 1001; }
.promo-marquee { width: 100%; overflow: hidden; white-space: nowrap; }
.marquee-content { display: inline-flex; gap: 4rem; animation: scroll-marquee-global 25s linear infinite; padding-left: 100%; }
.marquee-content span { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; flex-shrink: 0; }
.promo-close { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; z-index: 2; opacity: 0.7; transition: opacity 0.2s; }
.promo-close:hover { opacity: 1; }

@keyframes scroll-marquee-global {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* -- RESPONSIVE ----------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-page-layout, .checkout-layout { grid-template-columns: 1fr; }
  .shop-page-layout { grid-template-columns: 1fr; }
  .modal-content { grid-template-columns: 1fr; }
  .modal-img { border-radius: var(--radius-lg) var(--radius-lg) 0 0; aspect-ratio: 16/9; }
  .product-page-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  :root { --header-h: 56px; }

  /* Hide top nav elements – bottom tab bar handles navigation */
  .header-actions,
  .main-nav,
  .hamburger,
  .nav-category-bar,
  .promo-banner {
    display: none !important;
  }

  /* Center the logo in the minimal header */
  .header-inner {
    justify-content: center;
  }

  .site-header {
    height: var(--header-h);
  }

  .logo-img {
    height: 46px;
  }

  /* Logo fallback text sizing for mobile */
  .logo-fallback .logo-main,
  .logo-fallback span[style*="Great Vibes"] {
    font-size: 22px !important;
  }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-md); }
  .form-row { grid-template-columns: 1fr; }
  .form-row.three { grid-template-columns: 1fr 1fr; }
  .cart-table-header { display: none; }
  .cart-item { grid-template-columns: 1fr; }
  .trust-badges { gap: var(--sp-sm); }
  .reviews-summary { flex-direction: column; }
  .add-to-cart-section { flex-wrap: wrap; }
}

/* -- SEARCH OVERLAY -- */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 80px 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.search-overlay.open {
  opacity: 1;
  visibility: visible;
}
.search-container {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}
.search-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  border-bottom: 2px solid var(--clr-gold-light);
  padding-bottom: 10px;
}
.search-header input {
  flex: 1;
  background: none;
  border: none;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: #ffffff;
  outline: none;
}
.search-header input::placeholder {
  color: rgba(255,255,255,0.3);
  opacity: 1;
}
.search-close-btn {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.search-close-btn:hover {
  transform: rotate(90deg);
  color: var(--clr-gold);
}
.search-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 20px 0;
}
.search-result-item {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  background: #1A1A1A;
  border-radius: var(--radius-md);
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(201,168,76,0.12);
}
.search-result-item:hover {
  transform: translateY(-5px);
  border-color: rgba(201,168,76,0.35);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}
.search-result-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.search-result-info h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: #ffffff;
}
.search-result-info p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
}
.search-result-info .price {
  font-size: 1rem;
  color: var(--clr-gold);
  font-weight: 600;
  margin-top: 5px;
  display: block;
}

/* ── TESTIMONIAL AVATARS (INITIALS) ────────────────────────── */
.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.1);
  text-transform: uppercase;
}

/* ── WHATSAPP FLOATING WIDGET ───────────────────────────────── */
.whatsapp-widget {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 99999;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  overflow: hidden;
  border-radius: 50px;
  background: #25D366;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 60px;
}

.whatsapp-btn:hover {
  max-width: 220px;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(37,211,102,0.5), 0 4px 16px rgba(0,0,0,0.25);
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  border-radius: 50%;
  flex-shrink: 0;
}

.whatsapp-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  white-space: nowrap;
  padding-right: 20px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease 0.1s, transform 0.3s ease 0.1s;
}

.whatsapp-btn:hover .whatsapp-label {
  opacity: 1;
  transform: translateX(0);
}

/* Pulse animation on the WhatsApp button */
@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.4), 0 2px 8px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 6px 32px rgba(37,211,102,0.65), 0 2px 12px rgba(0,0,0,0.2); }
}

.whatsapp-btn {
  animation: whatsapp-pulse 2.5s ease-in-out infinite;
}
.whatsapp-btn:hover {
  animation: none;
}

/* ── MOBILE BOTTOM TAB BAR ─────────────────────────────────── */
.mobile-tab-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    height: 64px;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(201, 168, 76, 0.18);
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.5);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .tab-bar-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.40);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -webkit-tap-highlight-color: transparent;
    padding: 6px 0;
  }

  .tab-bar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 36px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 0 0 2px 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .tab-bar-item.active {
    color: #C9A84C;
  }

  .tab-bar-item.active::before {
    transform: translateX(-50%) scaleX(1);
  }

  .tab-bar-item:active {
    transform: scale(0.92);
  }

  .tab-bar-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .tab-bar-icon svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
    transition: all 0.3s ease;
  }

  .tab-bar-item.active .tab-bar-icon svg {
    stroke-width: 2;
    filter: drop-shadow(0 0 4px rgba(201, 168, 76, 0.3));
  }

  .tab-bar-badge {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--gradient-gold);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    color: #0A0A0A;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: var(--font-sans);
  }

  .tab-bar-label {
    font-family: var(--font-sans);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
  }

  /* Reposition WhatsApp widget above the tab bar */
  .whatsapp-widget {
    bottom: calc(72px + env(safe-area-inset-bottom, 0)) !important;
  }

  /* Add bottom padding to body so footer content isn't hidden */
  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0));
  }
}

