/* ============================================================
   PRICELESS — Luxury Preloved Fashion
   Design System & Global Styles
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Palette — Black & White Luxe */
  --obsidian:      #0A0A0A;
  --charcoal:      #1A1A1A;
  --espresso:      #2E2E2E;
  --taupe:         #5A5A5A;
  --stone:         #8A8A8A;
  --sand:          #C0C0C0;
  --parchment:     #E8E8E8;
  --ivory:         #F5F5F5;
  --white:         #FFFFFF;

  /* Accent — Polished Gold */
  --gold:          #C9A84C;
  --gold-light:    #E5C97A;
  --gold-dark:     #A07830;
  --gold-muted:    #C9B88A;

  /* Secondary Accents */
  --blush:         #C4A596;
  --sage:          #8B9B8A;

  /* Functional */
  --text-primary:    #111111;
  --text-secondary:  #555555;
  --text-muted:      #8A8A8A;
  --text-inverse:    #FFFFFF;
  --border-light:    #E5E5E5;
  --border:          #D0D0D0;
  --border-dark:     #A0A0A0;
  --bg-page:         #FFFFFF;
  --bg-surface:      #FFFFFF;
  --bg-subtle:       #F5F5F5;
  --bg-card:         #FFFFFF;
  --shadow-sm:       0 1px 3px rgba(0,0,0,.08);
  --shadow-md:       0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:       0 8px 32px rgba(0,0,0,.14);
  --shadow-gold:     0 4px 20px rgba(201,168,76,.30);

  /* Typography */
  --font-serif:  'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans:   'DM Sans', 'Inter', system-ui, sans-serif;

  /* Type Scale */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */

  /* Spacing */
  --space-1:  4px;
  --space-2:  8px;
  --space-3:  12px;
  --space-4:  16px;
  --space-5:  20px;
  --space-6:  24px;
  --space-8:  32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;

  /* Radius */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   20px;
  --radius-2xl:  32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease-default: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out:     cubic-bezier(0, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast:   150ms;
  --duration-base:   250ms;
  --duration-slow:   400ms;

  /* Layout */
  --header-h:     72px;
  --sidebar-w:    280px;
  --max-content:  1440px;
  --container-px: clamp(16px, 4vw, 48px);
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  background: var(--bg-page);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl)); }
h2 { font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl)); }
h3 { font-size: clamp(var(--text-2xl), 2.5vw, var(--text-4xl)); }
h4 { font-size: clamp(var(--text-xl), 2vw, var(--text-3xl)); }
h5 { font-size: clamp(var(--text-lg), 1.5vw, var(--text-2xl)); }

.serif { font-family: var(--font-serif); }
.sans  { font-family: var(--font-sans); }

.label-caps {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-content);
  margin: 0 auto;
  padding-inline: var(--container-px);
}

.section { padding-block: var(--space-16); }
.section-sm { padding-block: var(--space-10); }
.section-lg { padding-block: var(--space-24); }

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

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   5. HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--obsidian);
  border-bottom: 1px solid rgba(201,168,76,.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow var(--duration-base) var(--ease-default);
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.4);
}

.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--space-6);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-self: start;
  text-decoration: none;
}

/* Logo image */
.logo-img {
  height: 20px;
  width: auto;
  display: block;
  object-fit: contain;
  flex-shrink: 0;
}

/* Wordmark text — default (footer/standalone use) */
.logo-wordmark {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--white);
}

/* Wordmark inside header nav — same visual weight as footer icon */
.site-logo .logo-wordmark {
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  font-weight: 400;
  line-height: 1;
}

/* Nav logo icon — match the text cap-height */
.site-logo .logo-img {
  height: 14px;
}

.logo-tagline {
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-top: 2px;
}

/* Footer logo — slightly smaller */
.footer-logo-img {
  height: 56px;
  margin-bottom: var(--space-3);
}

/* Main Nav */
.main-nav { justify-self: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  transition: color var(--duration-fast) var(--ease-default);
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--duration-base) var(--ease-default);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  justify-self: end;
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  color: rgba(255,255,255,0.65);
  transition: all var(--duration-fast) var(--ease-default);
  position: relative;
}

.icon-btn:hover {
  background: rgba(201,168,76,.15);
  color: var(--gold-light);
}

.icon-btn svg { width: 20px; height: 20px; }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 16px; height: 16px;
  border-radius: var(--radius-full);
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Search Bar (expandable) */
.search-bar-wrapper {
  position: relative;
}

.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-default);
}

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

.search-panel {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--white);
  padding: var(--space-5) var(--container-px);
  z-index: 1001;
  transform: translateY(-100%);
  transition: transform var(--duration-base) var(--ease-out);
  box-shadow: var(--shadow-lg);
}

.search-panel.open {
  transform: translateY(0);
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  max-width: 700px;
  margin: 0 auto;
  border-bottom: 2px solid var(--obsidian);
  padding-bottom: var(--space-3);
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--obsidian);
  placeholder-color: var(--stone);
}

.search-input::placeholder { color: var(--stone); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 24px;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: all var(--duration-base) var(--ease-default);
}

/* ============================================================
   6. MOBILE NAV DRAWER
   ============================================================ */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-default);
}

.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: min(360px, 90vw);
  height: 100%;
  background: var(--white);
  padding: var(--space-6);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-out);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.mobile-drawer.open {
  pointer-events: all;
}

.mobile-drawer.open .drawer-backdrop {
  opacity: 1;
}

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

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.drawer-nav-link {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--text-primary);
  padding-block: var(--space-2);
  border-bottom: 1px solid var(--border-light);
  transition: color var(--duration-fast);
}

.drawer-nav-link:hover { color: var(--gold); }

/* ============================================================
   7. FOOTER
   ============================================================ */
.site-footer {
  background: var(--obsidian);
  color: var(--parchment);
  padding-block: var(--space-16) var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo .logo-wordmark {
  color: var(--ivory);
  font-size: var(--text-3xl);
}

.footer-logo .logo-img,
.footer-logo-img {
  filter: brightness(0) invert(1); /* white on dark footer bg */
  display: block;
  margin-bottom: var(--space-2);
}

/* Brand name shown below logo image in footer */
.footer-logo-name {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--text-base);
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--ivory);
  margin-bottom: var(--space-3);
}

.footer-desc {
  color: var(--stone);
  font-size: var(--text-sm);
  line-height: 1.8;
  margin-top: var(--space-4);
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--stone);
  transition: all var(--duration-fast);
}

.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.social-link svg { width: 16px; height: 16px; }

.footer-heading {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--text-sm);
  color: var(--stone);
  transition: color var(--duration-fast);
}

.footer-link:hover { color: var(--ivory); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-8);
  font-size: var(--text-xs);
  color: var(--taupe);
}

/* ============================================================
   8. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px var(--space-8);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition: all var(--duration-base) var(--ease-default);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary {
  background: var(--obsidian);
  color: var(--ivory);
  border: 1px solid var(--obsidian);
}

.btn-primary:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--obsidian);
  border: 1px solid var(--obsidian);
}

.btn-outline:hover {
  background: var(--obsidian);
  color: var(--ivory);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-subtle);
  border-color: var(--border-dark);
  color: var(--text-primary);
}

.btn-lg { padding: 16px var(--space-10); font-size: var(--text-base); }
.btn-sm { padding: 8px var(--space-5); font-size: var(--text-xs); }
.btn-full { width: 100%; }

.btn svg { width: 18px; height: 18px; }

/* ============================================================
   9. CARDS
   ============================================================ */
.product-card {
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.04);
}

.product-card:hover .card-actions {
  opacity: 1;
  transform: translateY(0);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--bg-subtle);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-default);
}

/* Uniform 3:4 portrait ratio for all product images */
.product-img-wrap.h-sm,
.product-img-wrap.h-md,
.product-img-wrap.h-lg,
.product-img-wrap.h-sq  { aspect-ratio: 3/4; }

.card-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--obsidian);
  color: var(--ivory);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  z-index: 2;
}

.card-badge.sold {
  background: var(--taupe);
}

.card-badge.new {
  background: var(--gold);
  color: var(--white);
}

.card-wishlist {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 3;
  width: 32px; height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all var(--duration-fast);
}

.card-wishlist:hover,
.card-wishlist.active {
  color: #C0392B;
}

.card-wishlist svg { width: 15px; height: 15px; }

.card-actions {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.82);
  backdrop-filter: blur(4px);
  padding: var(--space-4);
  display: flex;
  gap: var(--space-2);
  opacity: 0;
  transform: translateY(8px);
  transition: all var(--duration-base) var(--ease-default);
  z-index: 4;
}

.card-actions .btn {
  flex: 1;
  font-size: 11px;
  padding: 10px var(--space-3);
}

.card-info {
  padding: var(--space-4) var(--space-3) var(--space-3);
}

.card-brand {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-1);
}

.card-name {
  font-family: var(--font-serif);
  font-size: var(--text-lg);
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: var(--space-2);
}

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

.condition-dot {
  width: 6px; height: 6px;
  border-radius: var(--radius-full);
  background: var(--sage);
  display: inline-block;
  margin-right: 4px;
}

.condition-dot.excellent { background: #27AE60; }
.condition-dot.very-good { background: var(--sage); }
.condition-dot.good      { background: var(--gold-muted); }
.condition-dot.fair      { background: var(--blush); }

.card-price {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.price-rm {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--text-primary);
}

.price-usd {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* ============================================================
   10. SECTION HEADERS
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-10);
  gap: var(--space-4);
}

.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-2);
}

.section-title {
  font-family: var(--font-serif);
  font-weight: 300;
}

.view-all-link {
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: all var(--duration-fast);
  white-space: nowrap;
}

.view-all-link:hover {
  color: var(--obsidian);
  border-color: var(--obsidian);
}

/* Divider */
.divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin-block: var(--space-4);
}

/* ============================================================
   11. BADGE / TAG / PILL
   ============================================================ */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--duration-fast);
}

.tag:hover, .tag.active {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: var(--ivory);
}

.tag.gold {
  background: rgba(201,168,76,.1);
  border-color: rgba(201,168,76,.3);
  color: var(--gold-dark);
}

/* ============================================================
   12. FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  padding: 12px var(--space-4);
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--duration-fast);
  width: 100%;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--obsidian);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--stone);
}

.form-textarea { resize: vertical; min-height: 120px; }

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5A5A' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ============================================================
   13. CURRENCY TOGGLE
   ============================================================ */
.currency-toggle {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.currency-btn {
  padding: 6px 14px;
  color: var(--text-muted);
  transition: all var(--duration-fast);
}

.currency-btn.active {
  background: var(--obsidian);
  color: var(--ivory);
  border-radius: var(--radius-full);
}

/* ============================================================
   14. FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-fab {
  position: fixed;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: var(--obsidian);
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(201,168,76,.35);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: all var(--duration-base) var(--ease-default);
}

.whatsapp-fab:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.4);
}

.whatsapp-fab svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }

/* ============================================================
   15. TOAST NOTIFICATION
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}

.toast {
  background: var(--obsidian);
  color: var(--ivory);
  padding: 14px var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px);
  transition: all var(--duration-base) var(--ease-spring);
  pointer-events: none;
  white-space: nowrap;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.toast svg { width: 16px; height: 16px; color: var(--gold-light); }

/* ============================================================
   16. QUICK VIEW MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-base) var(--ease-default);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.96) translateY(20px);
  transition: transform var(--duration-base) var(--ease-spring);
}

.modal-overlay.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  z-index: 10;
  width: 36px; height: 36px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}

.modal-close:hover {
  background: var(--obsidian);
  color: var(--ivory);
}

.modal-close svg { width: 18px; height: 18px; }

/* ============================================================
   17. BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-6);
}

.breadcrumb a { transition: color var(--duration-fast); }
.breadcrumb a:hover { color: var(--text-primary); }

.breadcrumb-sep { color: var(--border-dark); }

/* ============================================================
   18. SKELETON LOADING
   ============================================================ */
.skeleton {
  background: linear-gradient(90deg, var(--bg-subtle) 25%, var(--parchment) 50%, var(--bg-subtle) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ============================================================
   19. MASONRY GRID
   ============================================================ */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-5);
  align-items: start;
}

.product-card-wrapper {
  width: 100%;
}

/* ============================================================
   20. PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding-top: var(--space-12);
}

.page-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  transition: all var(--duration-fast);
  cursor: pointer;
}

.page-btn:hover,
.page-btn.active {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: var(--ivory);
}

/* ============================================================
   21. CATEGORY PILLS
   ============================================================ */
.categories-strip {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.categories-strip::-webkit-scrollbar { display: none; }

.category-pill {
  display: inline-flex;
  align-items: center;
  padding: 9px 20px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-default);
}

.category-pill:hover {
  border-color: var(--obsidian);
  color: var(--text-primary);
}

.category-pill.active {
  background: var(--obsidian);
  border-color: var(--obsidian);
  color: var(--white);
}

/* legacy — kept for any leftover references */
.category-circle-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
}

/* ============================================================
   22. TRUST BADGES
   ============================================================ */
.trust-bar {
  background: var(--obsidian);
  padding: var(--space-4) 0;
  overflow: hidden;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--parchment);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.trust-item svg { width: 18px; height: 18px; color: var(--gold); }

/* ============================================================
   23. NEWSLETTER BANNER
   ============================================================ */
.newsletter-section {
  background: var(--charcoal);
  padding-block: var(--space-16);
  text-align: center;
}

.newsletter-section h2 {
  color: var(--ivory);
}

.newsletter-section p {
  color: var(--stone);
  font-size: var(--text-lg);
  margin-block: var(--space-4) var(--space-8);
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
  gap: 0;
}

.newsletter-input {
  flex: 1;
  padding: 14px var(--space-5);
  border: 1px solid var(--espresso);
  background: rgba(255,255,255,.06);
  color: var(--ivory);
  font-size: var(--text-sm);
  outline: none;
}

.newsletter-input::placeholder { color: var(--taupe); }
.newsletter-input:focus { border-color: var(--gold); }

/* ============================================================
   24. EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: var(--space-24) var(--space-6);
}

.empty-state-icon {
  width: 64px; height: 64px;
  margin: 0 auto var(--space-6);
  color: var(--border-dark);
}

.empty-state h3 {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--text-secondary);
  margin-bottom: var(--space-3);
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}

/* ============================================================
   25. RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1280px) {
  .masonry-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > *:last-child { display: none; }
}

@media (max-width: 1024px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .masonry-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .masonry-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding-block: var(--space-10); }
  .trust-bar-inner { gap: var(--space-6); }
}

@media (max-width: 480px) {
  .masonry-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2); }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
}
