/* ============================================================
   sylvara CHARMS — style.css  v2.1
   Premium Black & Silver Luxury Jewellery Brand
   ─────────────────────────────────────────────────────────
   FONT FAMILIES:
     Heading  → Cormorant Garamond (serif)  — --f-display
     Body/UI  → DM Sans (sans-serif)        — --f-body
     Mono     → DM Mono                     — --f-mono

   COLOR SYSTEM:
     Background  : #050505 (deep premium black)
     Surface     : #0c0c0c (card bg)
     Surface-2   : #131313 (slightly lighter)
     Border      : #262620 (warm-tinted border)
     Silver      : #d4d4d4 (primary accent)
     Silver-bright: #f5f5f5
     Silver-dim  : #707070
     Shimmer     : #ffffff (white highlight)
     White       : #ffffff
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600;1,700&family=DM+Sans:wght@300;400;500;600;700&family=DM+Mono:wght@400;500&display=swap");

/* ── DESIGN TOKENS ── */
:root {
  /* Core Palette — deep premium black */
  --black: #050505;
  --black-mid: #0a0a0a;
  --surface: #0c0c0c;
  --surface-2: #131313;
  --surface-3: #1b1b1b;
  --border: #262620;
  --border-light: #35311f;

  /* Gold Accent Scale (replaces silver) */
  --silver-bright: #f5f5f5;
  --silver: #d4d4d4;
  --silver-mid: #a8a8a8;
  --silver-dim: #707070;
  --silver-dark: #3a3a3a;

  /* Warm Shimmer */
  --shimmer: #ffffff;
  --shimmer-dark: #c8c8c8;

  /* Text */
  --text-primary: #f5f0e6;
  --text-secondary: #b8ab8c;
  --text-muted: #6b6255;
  --text-on-dark: #ffffff;

  /* Functional */
  --white: #ffffff;
  --badge-red: #d04040;
  --success: #4ade80;

  /* Typography — premium serif + clean sans */
  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "DM Sans", -apple-system, sans-serif;
  --f-mono: "DM Mono", monospace;

  /* Text Colors */
  --color-heading: #ffffff;
  --color-heading2: #f2f2f2;
  --color-subhead: #d4d4d4;
  --color-product: #e6e6e6;
  --color-para: #a0a0a0;
  --color-muted-ui: #6e6e6e;

  /* Shadows */
  --sh-xs: 0 1px 4px rgba(0, 0, 0, 0.5);
  --sh-sm: 0 2px 16px rgba(0, 0, 0, 0.6);
  --sh-md: 0 8px 32px rgba(0, 0, 0, 0.7);
  --sh-lg: 0 20px 56px rgba(0, 0, 0, 0.8);
  --sh-silver: 0 0 20px rgba(212, 212, 212, 0.14);

  /* Transitions */
  --t: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  --t-lg: 0.38s cubic-bezier(0.4, 0, 0.2, 1);

  /* Radius */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;

  /* Spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-14: 56px;
  --sp-16: 64px;
  --sp-20: 80px;

  --max-w: 1200px;
  --side-pad: 52px;
}

/* ── RESET ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--f-body);
  color: var(--text-primary);
  background: var(--black);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 68px;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: inherit;
}
ul {
  list-style: none;
}
input,
select,
textarea {
  font-family: inherit;
}
html,
body {
  overflow-x: hidden;
}

/* ── ANNOUNCE BAR ── */
/* ── ANNOUNCE BAR (updated: flex row with WhatsApp link) ── */
.announce-bar {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  height: 36px;
  overflow: hidden;
  position: relative;
  display: none;
}
.announce-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  overflow: hidden;
}
.announce-track {
  display: flex;
  align-items: center;
  gap: 32px;
  white-space: nowrap;
  height: 100%;
  animation: marquee 28s linear infinite;
  width: max-content;
  padding: 0 32px;
  flex: 1;
  min-width: 0;
}
.announce-track span {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver-mid);
  font-family: var(--f-body);
}
.announce-track strong,
.announce-track b {
  color: var(--silver);
  font-weight: 600;
}
.announce-dot {
  color: var(--silver-dim) !important;
  font-size: 10px !important;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.announce-whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 var(--side-pad) 0 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver-mid);
  font-family: var(--f-body);
  transition: color var(--t);
  border-left: 1px solid var(--border);
}
.announce-whatsapp:hover {
  color: #25d366;
}
.announce-whatsapp svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}
.announce-whatsapp span {
  display: inline;
}

/* Wishlist nav icon */
.wishlist-btn svg {
  fill: none;
}
.wishlist-btn:hover svg {
  fill: rgba(212, 212, 212, 0.15);
}

/* Mobile nav divider & whatsapp link */
.mobile-nav-divider {
  border-top: 1px solid var(--border);
  margin: 8px 0;
}
.mobile-whatsapp-link {
  color: #25d366 !important;
  font-size: 14px !important;
}
.mobile-whatsapp-link:hover {
  color: #1fb554 !important;
}

/* ── NAV ── */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--side-pad);
  height: 85px;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 10, 0.95);
  background-color: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  transition: box-shadow var(--t);
}
.site-nav.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.nav-left,
.nav-right-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-left a,
.nav-right-links a {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--silver-mid);
  transition: color var(--t);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
  font-family: var(--f-body);
}
.nav-left a::after,
.nav-right-links a::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--silver);
  transition: width var(--t);
}
.nav-left a:hover::after,
.nav-right-links a:hover::after,
.nav-left a.active::after {
  width: 100%;
}
.nav-left a:hover,
.nav-right-links a:hover,
.nav-left a.active {
  color: var(--silver-bright);
}

/* LOGO */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.logo-img {
  height: 67px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity var(--t);
}
.logo:hover .logo-img {
  opacity: 0.85;
}
.logo-sub {
  display: none;
}

/* Nav icons */
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-icon-btn {
  background: none;
  border: none;
  padding: 8px;
  color: var(--silver-mid);
  transition: color var(--t);
}
.nav-icon-btn:hover {
  color: var(--silver-bright);
}
.nav-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Cart badge */
.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  background: var(--silver);
  color: var(--black);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--silver);
  transition: var(--t);
  border-radius: 1px;
}

/* ── SEARCH OVERLAY ── */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.94);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 100px;
  backdrop-filter: blur(8px);
}
.search-overlay.open {
  display: flex;
}
.search-box {
  display: flex;
  align-items: center;
  width: 640px;
  max-width: 90vw;
  border-bottom: 1px solid var(--border-light);
}
.search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--silver-bright);
  font-size: 22px;
  font-family: var(--f-display);
  padding: 12px 0;
  letter-spacing: 0.02em;
}
.search-input::placeholder {
  color: var(--silver-dark);
}
.search-close {
  background: none;
  border: none;
  color: var(--silver-dim);
  font-size: 28px;
  padding: 8px 12px;
  transition: color var(--t);
}
.search-close:hover {
  color: var(--silver);
}
.search-results {
  width: 640px;
  max-width: 90vw;
  margin-top: 24px;
}

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
}
.mobile-nav.open {
  display: block;
}
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 300;
}
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 301;
  width: 280px;
  background: var(--surface);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 24px 32px;
  gap: 8px;
}
.mobile-nav-close {
  background: none;
  border: none;
  color: var(--silver-dim);
  font-size: 24px;
  align-self: flex-end;
  margin-bottom: 16px;
}
.mobile-nav-drawer a {
  font-size: 16px;
  color: var(--silver-mid);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  transition: color var(--t);
  font-family: var(--f-display);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.mobile-nav-drawer a:hover {
  color: var(--silver-bright);
}

/* ── PRODUCT CARDS (shared across pages) ── */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition:
    border-color var(--t),
    box-shadow var(--t),
    transform var(--t);
  position: relative;
  cursor: pointer;
}
.product-card:hover {
  border-color: var(--silver-dark);
  box-shadow: var(--sh-silver);
  transform: translateY(-2px);
}
.product-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.04);
}
.product-card-body {
  padding: 14px 16px 16px;
}
.product-card-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  font-family: var(--f-body);
}
.product-card-meta {
  font-size: 11px;
  color: var(--silver-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-card-price {
  font-size: 15px;
  font-weight: 600;
  color: var(--silver);
}
.product-card-price-old {
  font-size: 12px;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 6px;
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--silver);
  color: var(--black);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: var(--r-sm);
}
.product-badge.badge-sale {
  background: var(--badge-red);
  color: #fff;
}
.product-card-btn {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 9px 0;
  text-align: center;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--silver-mid);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition:
    background var(--t),
    color var(--t),
    border-color var(--t);
}
.product-card-btn:hover {
  background: var(--silver);
  color: var(--black);
  border-color: var(--silver);
}

/* Skeleton loader */
.hp-skel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
}
.hp-skel-img {
  aspect-ratio: 1;
  background: linear-gradient(
    90deg,
    var(--surface-2) 25%,
    var(--surface-3) 50%,
    var(--surface-2) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.hp-skel-body {
  padding: 14px 16px;
}
.hp-skel-line {
  height: 12px;
  background: var(--border);
  border-radius: 2px;
  margin-bottom: 8px;
}
.hp-skel-line.short {
  width: 60%;
}
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* ── NEWSLETTER SECTION (above footer) ── */
.footer-newsletter {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px var(--side-pad);
}
.newsletter-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.newsletter-text h3 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--silver-bright);
  margin-bottom: 4px;
}
.newsletter-text p {
  font-size: 13px;
  color: var(--silver-dim);
  letter-spacing: 0.02em;
}
.newsletter-form {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}
.newsletter-input {
  width: 280px;
  padding: 11px 16px;
  background: var(--black);
  border: 1px solid var(--border-light);
  border-right: none;
  color: var(--text-primary);
  font-size: 13px;
  font-family: var(--f-body);
  outline: none;
  border-radius: var(--r-sm) 0 0 var(--r-sm);
  transition: border-color var(--t);
}
.newsletter-input:focus {
  border-color: var(--silver-dark);
}
.newsletter-input::placeholder {
  color: var(--silver-dim);
}
.newsletter-btn {
  padding: 11px 24px;
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--silver-mid);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--f-body);
  cursor: pointer;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  transition:
    background var(--t),
    color var(--t),
    border-color var(--t);
  white-space: nowrap;
}
.newsletter-btn:hover {
  background: var(--silver);
  color: var(--black);
  border-color: var(--silver);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px var(--side-pad) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-brand {
  max-width: 260px;
}
.footer-logo .logo-img {
  height: 38px;
}
.footer-desc {
  font-size: 13px;
  color: var(--silver-dim);
  line-height: 1.7;
  margin: 16px 0 24px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver-dim);
  transition:
    color var(--t),
    border-color var(--t);
}
.social-link:hover {
  color: var(--silver);
  border-color: var(--silver-dark);
}
.social-link svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.footer-col h4 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--silver);
  margin-bottom: 20px;
  font-family: var(--f-body);
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--silver-dim);
  padding: 5px 0;
  transition: color var(--t);
}
.footer-col a:hover {
  color: var(--silver);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-bottom em {
  color: var(--silver-dim);
  font-style: italic;
}
.footer-pay {
  display: flex;
  gap: 8px;
}
.pay-badge {
  padding: 3px 10px;
  border: 1px solid var(--border-light);
  border-radius: var(--r-sm);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--silver-dim);
  font-family: var(--f-body);
  font-weight: 500;
}

/* ── FLOATING CART ── */
.floating-cart {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--silver);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  transition:
    background var(--t),
    transform var(--t);
}
.floating-cart:hover {
  background: var(--silver-bright);
  transform: scale(1.05);
}
.floating-cart svg {
  width: 20px;
  height: 20px;
  stroke: var(--black);
}
.floating-cart span {
  position: absolute;
  top: 6px;
  right: 6px;
  background: var(--black);
  color: var(--silver);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  font-size: 9px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 999;
  background: var(--surface-2);
  border: 1px solid var(--border-light);
  color: var(--silver);
  padding: 12px 20px;
  border-radius: var(--r-md);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s,
    transform 0.3s;
  pointer-events: none;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── TYPOGRAPHY SCALE ── */
.t-display-xl {
  font-family: var(--f-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--color-heading);
}
.t-display-lg {
  font-family: var(--f-display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--color-heading);
}
.t-display-md {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--color-heading2);
}
.t-display-sm {
  font-family: var(--f-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--color-heading2);
}
.t-display-xs {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
  color: var(--color-subhead);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — Nav, Footer & Shared components
   (These were missing and caused layout issues on mobile)
   ══════════════════════════════════════════════════════════════ */

/* ── 1100px: Tablet landscape ── */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
    gap: 28px;
  }
}

@media (max-width: 1100px) {
  :root {
    --side-pad: 32px;
  }

  .site-nav {
    padding: 0 32px;
    background-color: black;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
  }
  .footer-brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }
  .site-footer {
    padding: 48px 32px 0;
  }
  .footer-newsletter {
    padding: 32px 32px;
  }
  .newsletter-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .newsletter-input {
    width: 100%;
    max-width: 300px;
  }
}

/* ── 900px: Tablet portrait ── */
@media (max-width: 900px) {
  :root {
    --side-pad: 20px;
  }

  /* Nav — hide desktop links, show hamburger */
  .site-nav {
    padding: 0 20px;
    height: 78px;
    background-color: black;
  }
  .nav-left,
  .nav-right-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  /* Announce bar — hide whatsapp text on tablet */
  .announce-whatsapp span {
    display: none;
  }
  .announce-whatsapp {
    padding: 0 20px 0 16px;
  }

  /* Logo */
  .logo-img {
    height: 48px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .site-footer {
    padding: 48px 20px 0;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .footer-newsletter {
    padding: 28px 20px;
  }

  /* Product card grid (when used standalone) */
  .product-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Floating cart */
  .floating-cart {
    bottom: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
  }
}

/* ── 600px: Mobile ── */
@media (max-width: 600px) {
  :root {
    --side-pad: 16px;
  }

  /* Nav */
  .site-nav {
    padding: 0 16px;
    height: 78px;
    background-color: black;
  }
  .nav-icon-btn {
    padding: 6px;
  }
  .nav-icon-btn svg {
    width: 18px;
    height: 18px;
  }
  .nav-icons {
    gap: 4px;
  }

  /* Logo */
  .logo-img {
    height: 70px;
  }

  /* Announce bar — hide whatsapp on mobile */
  .announce-whatsapp {
    display: none;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .site-footer {
    padding: 40px 16px 0;
  }
  .footer-pay {
    flex-wrap: wrap;
    justify-content: center;
  }
  .footer-newsletter {
    padding: 24px 16px;
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-input {
    width: 100%;
    border-right: 1px solid var(--border-light);
    border-radius: var(--r-sm);
  }
  .newsletter-btn {
    border-radius: var(--r-sm);
    width: 100%;
  }

  /* Announce bar */
  .announce-track span {
    font-size: 10px;
    letter-spacing: 0.08em;
  }

  /* Toast */
  .toast {
    right: 16px;
    left: 16px;
    text-align: center;
  }

  /* Typography scale — clamp down on small screens */
  .t-display-xl {
    font-size: 38px;
  }
  .t-display-lg {
    font-size: 32px;
  }
  .t-display-md {
    font-size: 26px;
  }
}

/* ── 400px: Small phones ── */
@media (max-width: 400px) {
  .site-nav {
    height: 78px;
    background-color: black;
  }
  .logo {
    font-size: 18px;
  }
  .nav-right {
    gap: 12px;
  }
  .nav-icons {
    gap: 2px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════════
   PRODUCT CARD — classes generated by js/products.js
   These were missing, causing all cards to render unstyled.
   ══════════════════════════════════════════════════════════════ */

/* Image container */
.product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 320px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.04);
}

/* Card body */
.card-body {
  padding: 12px 14px 14px;
}
.card-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
  font-family: var(--f-body);
  margin-bottom: 4px;
  /* Clamp to 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  font-size: 11px;
  color: var(--silver-dim);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--f-body);
}
.card-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--silver);
  font-family: var(--f-body);
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.card-price .sale {
  color: var(--silver);
  font-weight: 700;
}
.card-price .original {
  font-size: 12px;
  color: var(--silver-dim);
  text-decoration: line-through;
  font-weight: 400;
}

/* Badges */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--r-sm);
  font-family: var(--f-body);
  z-index: 2;
}
.badge-new {
  background: var(--silver);
  color: var(--black);
}
.badge-limited {
  background: var(--surface-2);
  color: var(--shimmer);
  border: 1px solid var(--border-light);
}
.badge-sale {
  background: var(--badge-red);
  color: #fff;
}

/* Wishlist heart button on card */
.card-wishlist {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.7);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background var(--t),
    border-color var(--t);
  backdrop-filter: blur(4px);
}
.card-wishlist svg {
  width: 14px;
  height: 14px;
  stroke: var(--silver-dim);
  fill: none;
  stroke-width: 1.8;
  transition:
    stroke var(--t),
    fill var(--t);
}
.card-wishlist:hover,
.card-wishlist.active {
  background: rgba(212, 212, 212, 0.15);
  border-color: var(--silver-dark);
}
.card-wishlist.active svg {
  stroke: var(--shimmer);
  fill: var(--shimmer);
}

/* Dress placeholder (shown when no image) */
.dress-ph {
  border-radius: var(--r-sm);
  background: var(--surface-3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dress-pink {
  background: linear-gradient(145deg, #2a1f2a, #1e1520);
}
.dress-gold {
  background: linear-gradient(145deg, #2a2418, #1e1b12);
}
.dress-lavender {
  background: linear-gradient(145deg, #1e1f2a, #171820);
}
.dress-coral {
  background: linear-gradient(145deg, #2a1e1e, #1e1616);
}
.dress-red {
  background: linear-gradient(145deg, #2a1a1a, #201414);
}
.dress-mint {
  background: linear-gradient(145deg, #1a2a22, #141e19);
}

/* Carousel item wrapper (loadProducts carousel mode) */
.hp-carousel-item {
  flex-shrink: 0;
  min-width: calc(25% - 15px);
  width: calc(25% - 15px);
}
@media (max-width: 900px) {
  .hp-carousel-item {
    min-width: 200px;
    width: 200px;
  }
}
@media (max-width: 480px) {
  .hp-carousel-item {
    min-width: 160px;
    width: 160px;
  }
}
.search-results {
  width: 640px;
  max-width: 90vw;
  margin-top: 20px;
  background: #111;
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid #222;
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #1a1a1a;
}

.search-result-thumb img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
}

.search-result-name {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.search-result-price {
  color: var(--silver);
  font-size: 13px;
}