/* ========================================
   MAISON LUXURY E-COMMERCE — DESIGN SYSTEM
   ======================================== */

:root {
  /* Colors — Deep luxury palette */
  --bg: #0f0e0d;
  --bg-elevated: #181614;
  --surface: #1f1c19;
  --surface-hover: #2a2622;
  --border: #332e29;
  --border-light: #443d36;
  --text: #faf9f7;
  --text-muted: #a8a096;
  --text-subtle: #7a7268;
  --accent: #d4a843;
  --accent-light: #e8c56d;
  --accent-dark: #b89035;
  --accent-2: #c9b896;
  --gold-gradient: linear-gradient(135deg, #d4a843 0%, #e8c56d 50%, #d4a843 100%);
  --mesh-1: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(212,168,67,0.15) 0%, transparent 60%);
  --mesh-2: radial-gradient(ellipse 60% 80% at 80% 100%, rgba(212,168,67,0.1) 0%, transparent 50%);
  --mesh-3: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(212,168,67,0.08) 0%, transparent 70%);

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --fs-fluid-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --fs-fluid-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --fs-fluid-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --fs-fluid-lg: clamp(1.125rem, 1rem + 0.625vw, 1.375rem);
  --fs-fluid-xl: clamp(1.5rem, 1.25rem + 1.25vw, 2.25rem);
  --fs-fluid-2xl: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  --fs-fluid-3xl: clamp(2.5rem, 1.75rem + 3.75vw, 5rem);
  --fs-fluid-4xl: clamp(3rem, 2rem + 5vw, 7rem);

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;

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

  /* Shadows */
  --shadow-sm: 0 2px 8px -2px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px -8px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 48px -12px rgba(0,0,0,0.5);
  --shadow-xl: 0 32px 64px -16px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px -10px rgba(212,168,67,0.3);
  --shadow-inner: inset 0 1px 0 rgba(255,255,255,0.05);

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* ========================================
   RESET & BASE
   ======================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-fluid-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, video, picture { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

ul, ol { list-style: none; }

address { font-style: normal; }

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

.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  padding: var(--space-3) var(--space-5); background: var(--accent); color: var(--bg);
  font-weight: 600; border-radius: var(--radius-md); z-index: var(--z-toast);
  transition: top var(--transition-fast);
}
.skip-link:focus { top: var(--space-4); }

/* ========================================
   TYPOGRAPHY
   ======================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: var(--fs-fluid-4xl); }
h2 { font-size: var(--fs-fluid-3xl); }
h3 { font-size: var(--fs-fluid-2xl); }
h4 { font-size: var(--fs-fluid-xl); }
h5 { font-size: var(--fs-fluid-lg); }
h6 { font-size: var(--fs-fluid-base); }

p { color: var(--text-muted); }

.highlight { background: var(--gold-gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

.section-badge {
  display: inline-block;
  font-size: var(--fs-fluid-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  padding: var(--space-1) var(--space-3);
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}

.section-title { margin-bottom: var(--space-2); }
.section-subtitle { max-width: 60ch; color: var(--text-subtle); }

/* ========================================
   LAYOUT HELPERS
   ======================================== */

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section { padding: var(--space-9) 0; }

@media (max-width: 900px) { .section { padding: var(--space-7) 0; } }
@media (max-width: 600px) { .section { padding: var(--space-6) 0; } }

.grid { display: grid; gap: var(--space-6); }

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ========================================
   COMPONENTS — BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--bg);
  padding: var(--space-3) var(--space-6);
  box-shadow: var(--shadow-md), var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg), var(--shadow-glow); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: var(--shadow-sm); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-light);
  padding: var(--space-3) var(--space-6);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: rgba(212,168,67,0.08); }
.btn-ghost:active { transform: scale(0.98); }

.btn-lg { padding: var(--space-4) var(--space-8); font-size: var(--fs-fluid-base); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--fs-fluid-sm); }
.btn-full { width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  color: var(--text);
  transition: all var(--transition-fast);
}
.icon-btn:hover { background: var(--surface-hover); color: var(--accent); }
.icon-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.icon-btn svg { width: 22px; height: 22px; }

/* ========================================
   COMPONENTS — CARDS
   ======================================== */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
}
.card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }

/* ========================================
   COMPONENTS — INPUTS
   ======================================== */

.input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  color: var(--text);
  font-size: var(--fs-fluid-base);
  transition: all var(--transition-fast);
}
.input::placeholder { color: var(--text-subtle); }
.input:hover { border-color: var(--border-light); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,168,67,0.15); }
.input:disabled { opacity: 0.5; cursor: not-allowed; }

/* ========================================
   HEADER & NAV
   ======================================== */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(15,14,13,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition-base);
}
.header.scrolled { box-shadow: var(--shadow-md); background: rgba(15,14,13,0.95); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: var(--space-4);
}

.logo { display: flex; align-items: center; gap: var(--space-2); text-decoration: none; }
.logo-mark { width: 36px; height: 36px; color: var(--accent); flex-shrink: 0; }
.logo-text { font-family: var(--font-heading); font-size: var(--fs-fluid-xl); font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.footer-logo .logo-text { font-size: var(--fs-fluid-lg); }

.nav-list { display: flex; align-items: center; gap: var(--space-1); }
.nav-link {
  display: block;
  padding: var(--space-2) var(--space-3);
  font-size: var(--fs-fluid-sm);
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.header-actions { display: flex; align-items: center; gap: var(--space-2); }

.cart-btn { position: relative; }
.cart-count {
  position: absolute;
  top: -2px;
  left: -2px;
  min-width: 18px;
  height: 18px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  transform: scale(0);
  transition: transform var(--transition-fast);
}
.cart-count.visible { transform: scale(1); }

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 0;
  border-radius: var(--radius-md);
}
.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition-base);
}
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 900px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 64px; }
}

/* ========================================
   SEARCH OVERLAY
   ======================================== */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(0,0,0,0.9);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}
.search-overlay:not([hidden]) { opacity: 1; visibility: visible; }
.search-inner { width: 100%; max-width: 600px; padding: var(--space-5); animation: slideDown 0.3s cubic-bezier(0.2,0.8,0.2,1); }
.search-form { position: relative; }
.search-form input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5) var(--space-4) var(--space-6);
  font-size: var(--fs-fluid-lg);
  color: var(--text);
}
.search-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212,168,67,0.2); }
.search-close {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}
.search-close:hover { background: var(--surface-hover); color: var(--accent); }

@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ========================================
   CART DRAWER
   ======================================== */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  z-index: var(--z-modal);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-xl);
}
.cart-drawer:not([hidden]) { transform: translateX(0); }
.cart-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-5); border-bottom: 1px solid var(--border); }
.cart-header h2 { font-size: var(--fs-fluid-xl); }
.cart-close { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--text-muted); border-radius: var(--radius-full); transition: all var(--transition-fast); }
.cart-close:hover { background: var(--surface-hover); color: var(--accent); }
.cart-items { flex: 1; overflow-y: auto; padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-4); }
.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: var(--space-3); align-items: start; }
.cart-item-image { width: 70px; height: 70px; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-details { display: flex; flex-direction: column; gap: var(--space-1); min-width: 0; }
.cart-item-name { font-weight: 500; font-size: var(--fs-fluid-sm); }
.cart-item-price { color: var(--accent); font-weight: 600; font-size: var(--fs-fluid-sm); }
.cart-item-qty { display: flex; align-items: center; gap: var(--space-2); }
.qty-btn { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); color: var(--text); transition: all var(--transition-fast); }
.qty-btn:hover { border-color: var(--accent); color: var(--accent); }
.qty-value { min-width: 24px; text-align: center; font-weight: 500; }
.cart-item-remove { color: var(--text-subtle); padding: var(--space-1); transition: color var(--transition-fast); }
.cart-item-remove:hover { color: #e85d5d; }
.cart-footer { padding: var(--space-5); border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: var(--space-4); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: var(--fs-fluid-lg); }
.cart-subtotal span:last-child { font-weight: 700; color: var(--accent); font-family: var(--font-heading); }
.checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.cart-empty { text-align: center; color: var(--text-muted); padding: var(--space-8) 0; }

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

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  z-index: var(--z-modal);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  padding: var(--space-8) var(--space-6);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-xl);
}
.mobile-menu:not([hidden]) { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; gap: var(--space-1); }
.mobile-menu a { display: block; padding: var(--space-4) var(--space-2); font-size: var(--fs-fluid-lg); font-weight: 500; color: var(--text-muted); border-radius: var(--radius-md); transition: all var(--transition-fast); }
.mobile-menu a:hover, .mobile-menu a.active { color: var(--text); background: var(--surface); }

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-gradient { position: absolute; inset: 0; background: var(--mesh-1), var(--mesh-2), var(--mesh-3), var(--bg); }
.hero-image { width: 100%; height: 100%; object-fit: cover; opacity: 0.15; }
.hero-content { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: center; padding: var(--space-10) 0; }
.hero-text { max-width: 580px; }
.hero-badge { display: inline-block; background: rgba(212,168,67,0.15); border: 1px solid rgba(212,168,67,0.3); color: var(--accent); padding: var(--space-1) var(--space-3); border-radius: var(--radius-full); font-size: var(--fs-fluid-sm); font-weight: 600; letter-spacing: 0.05em; margin-bottom: var(--space-4); }
.hero-title { margin-bottom: var(--space-4); line-height: 1.1; }
.hero-subtitle { font-size: var(--fs-fluid-lg); color: var(--text-muted); margin-bottom: var(--space-6); max-width: 50ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-bottom: var(--space-8); }
.hero-trust { display: flex; flex-wrap: wrap; gap: var(--space-6); }
.trust-item { display: flex; align-items: center; gap: var(--space-2); font-size: var(--fs-fluid-sm); color: var(--text-subtle); }
.trust-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.hero-card { position: relative; aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.hero-card img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.hero-card:hover img { transform: scale(1.05); }
.hero-card-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.8) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: var(--space-4); }
.hero-card-cat { font-size: var(--fs-fluid-xs); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--space-1); }
.hero-card-overlay h3 { color: var(--text); font-size: var(--fs-fluid-base); }
.hero-scroll { position: absolute; bottom: var(--space-6); left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: var(--space-2); color: var(--text-subtle); font-size: var(--fs-fluid-xs); animation: bounce 2s infinite; }
.hero-scroll svg { width: 24px; height: 24px; }
@keyframes bounce { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: var(--space-6); text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-cards { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero { min-height: auto; padding: var(--space-8) 0; }
  .hero-title br { display: none; }
}

/* ========================================
   STATS
   ======================================== */

.stats { background: var(--bg-elevated); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); text-align: center; }
.stat-value { display: block; font-family: var(--font-heading); font-size: var(--fs-fluid-3xl); font-weight: 700; color: var(--accent); line-height: 1; margin-bottom: var(--space-2); }
.stat-label { font-size: var(--fs-fluid-sm); color: var(--text-subtle); text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 600px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); } }

/* ========================================
   COLLECTIONS
   ======================================== */

.collections { background: var(--bg); }
.collection-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/3; background: var(--surface); }
.collection-image { position: absolute; inset: 0; z-index: 0; }
.collection-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.collection-card:hover .collection-image img { transform: scale(1.08); }
.collection-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.7) 100%); z-index: 1; }
.collection-content { position: relative; z-index: 2; padding: var(--space-6); display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.collection-count { font-size: var(--fs-fluid-xs); color: var(--accent); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: var(--space-2); }
.collection-content h3 { font-size: var(--fs-fluid-xl); margin-bottom: var(--space-2); }
.collection-content p { font-size: var(--fs-fluid-sm); color: var(--text-muted); margin-bottom: var(--space-4); max-width: 20ch; }
.collection-link { display: inline-flex; align-items: center; gap: var(--space-2); font-size: var(--fs-fluid-sm); font-weight: 600; color: var(--accent); width: fit-content; transition: gap var(--transition-fast); }
.collection-link:hover { gap: var(--space-3); }
.collection-link svg { width: 18px; height: 18px; transition: transform var(--transition-fast); }
.collection-link:hover svg { transform: translateX(-4px); }

/* ========================================
   FEATURED PRODUCTS
   ======================================== */

.featured { background: var(--bg-elevated); }
.filter-tabs { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-6); justify-content: center; }
.filter-tab { padding: var(--space-2) var(--space-4); font-size: var(--fs-fluid-sm); font-weight: 500; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-full); transition: all var(--transition-fast); }
.filter-tab:hover { border-color: var(--accent); color: var(--accent); }
.filter-tab.active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition-base); }
.product-card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-image { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg-elevated); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-badge { position: absolute; top: var(--space-3); right: var(--space-3); background: var(--accent); color: var(--bg); font-size: var(--fs-fluid-xs); font-weight: 600; padding: var(--space-1) var(--space-2); border-radius: var(--radius-full); text-transform: uppercase; letter-spacing: 0.05em; }
.product-wishlist { position: absolute; top: var(--space-3); left: var(--space-3); width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); border-radius: var(--radius-full); color: var(--text); transition: all var(--transition-fast); opacity: 0; transform: translateY(-10px); }
.product-card:hover .product-wishlist { opacity: 1; transform: translateY(0); }
.product-wishlist:hover { background: var(--accent); color: var(--bg); }
.product-wishlist svg { width: 18px; height: 18px; }
.product-content { padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); }
.product-category { font-size: var(--fs-fluid-xs); color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.product-name { font-family: var(--font-heading); font-size: var(--fs-fluid-base); font-weight: 600; color: var(--text); transition: color var(--transition-fast); }
.product-card:hover .product-name { color: var(--accent); }
.product-price { font-family: var(--font-heading); font-size: var(--fs-fluid-lg); font-weight: 700; color: var(--accent); }
.product-add { width: 100%; margin-top: var(--space-2); }
.load-more-wrapper { text-align: center; margin-top: var(--space-8); }

@media (max-width: 1024px) { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }

/* ========================================
   FEATURES
   ======================================== */

.features { background: var(--bg); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.feature-card { text-align: center; padding: var(--space-6) var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: all var(--transition-base); }
.feature-card:hover { border-color: var(--border-light); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon { width: 56px; height: 56px; margin: 0 auto var(--space-4); display: flex; align-items: center; justify-content: center; background: rgba(212,168,67,0.1); border-radius: var(--radius-md); color: var(--accent); transition: all var(--transition-base); }
.feature-card:hover .feature-icon { background: var(--accent); color: var(--bg); transform: scale(1.1); }
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: var(--fs-fluid-lg); margin-bottom: var(--space-2); }
.feature-card p { font-size: var(--fs-fluid-sm); color: var(--text-subtle); }
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .features-grid { grid-template-columns: 1fr; } }

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials { background: var(--bg-elevated); }
.testimonials-track { display: flex; gap: var(--space-5); overflow-x: auto; scroll-snap-type: x mandatory; padding: var(--space-2) var(--space-1) var(--space-6); scroll-padding: 0 var(--space-5); margin: 0 calc(var(--space-5) * -1); padding-left: var(--space-5); }
.testimonial-card { flex: 0 0 340px; scroll-snap-align: start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; }
.testimonial-stars { display: flex; gap: var(--space-1); margin-bottom: var(--space-4); color: var(--accent); }
.testimonial-stars svg { width: 18px; height: 18px; }
.testimonial-text { flex: 1; font-size: var(--fs-fluid-base); line-height: 1.8; color: var(--text-muted); margin-bottom: var(--space-5); font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-author img { width: 48px; height: 48px; border-radius: var(--radius-full); object-fit: cover; }
.testimonial-author cite { font-style: normal; font-weight: 600; color: var(--text); display: block; }
.testimonial-author span { font-size: var(--fs-fluid-sm); color: var(--text-subtle); }
.testimonials-nav { display: flex; align-items: center; justify-content: center; gap: var(--space-4); margin-top: var(--space-4); }
.testimonial-btn { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-full); color: var(--text); transition: all var(--transition-fast); }
.testimonial-btn:hover:not(:disabled) { border-color: var(--accent); color: var(--accent); }
.testimonial-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.testimonial-btn svg { width: 20px; height: 20px; }
.testimonial-dots { display: flex; gap: var(--space-2); }
.testimonial-dot { width: 10px; height: 10px; border-radius: var(--radius-full); background: var(--border); border: none; padding: 0; transition: all var(--transition-fast); }
.testimonial-dot[aria-selected="true"] { background: var(--accent); transform: scale(1.2); }
.testimonial-dot:hover { background: var(--accent); }

@media (max-width: 600px) { .testimonial-card { flex: 0 0 280px; } }

/* ========================================
   CTA BAND
   ======================================== */

.cta-band { background: var(--bg); position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: var(--mesh-1), var(--mesh-2); pointer-events: none; }
.cta-content { position: relative; text-align: center; max-width: 640px; margin: 0 auto; padding: var(--space-4) 0; }
.cta-content h2 { margin-bottom: var(--space-3); }
.cta-content > p { margin-bottom: var(--space-6); font-size: var(--fs-fluid-lg); }
.newsletter-form { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; max-width: 480px; margin: 0 auto var(--space-4); }
.newsletter-form .input { flex: 1; min-width: 240px; padding: var(--space-3) var(--space-5); border-radius: var(--radius-full); }
.newsletter-form .btn { border-radius: var(--radius-full); padding: var(--space-3) var(--space-6); white-space: nowrap; }
.cta-privacy { font-size: var(--fs-fluid-xs); color: var(--text-subtle); }
.cta-privacy a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* ========================================
   ABOUT
   ======================================== */

.about { background: var(--bg-elevated); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-8); align-items: start; }
.about-visual { position: relative; }
.about-image-wrapper { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4/5; background: var(--surface); }
.about-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.about-accent-card { position: absolute; bottom: -20px; right: -20px; background: var(--accent); color: var(--bg); padding: var(--space-5) var(--space-6); border-radius: var(--radius-lg); text-align: center; min-width: 160px; box-shadow: var(--shadow-xl); }
.accent-number { display: block; font-family: var(--font-heading); font-size: var(--fs-fluid-3xl); font-weight: 800; line-height: 1; margin-bottom: var(--space-1); }
.accent-text { font-size: var(--fs-fluid-sm); font-weight: 500; opacity: 0.9; }
.about-lead { font-size: var(--fs-fluid-lg); color: var(--text-muted); margin-bottom: var(--space-4); }
.about-content p { margin-bottom: var(--space-4); color: var(--text-muted); }
.about-values { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.value-item { display: flex; align-items: center; gap: var(--space-2); padding: var(--space-2) var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-full); font-size: var(--fs-fluid-sm); font-weight: 500; color: var(--text-muted); }
.value-item svg { width: 18px; height: 18px; color: var(--accent); }

@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .about-accent-card { bottom: -15px; right: 0; }
}

/* ========================================
   INSTAGRAM
   ======================================== */

.instagram { background: var(--bg); }
.instagram-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--space-3); }
.insta-item { position: relative; aspect-ratio: 1; border-radius: var(--radius-md); overflow: hidden; background: var(--surface); }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.insta-item:hover img { transform: scale(1.08); }
.insta-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8)); display: flex; align-items: flex-end; justify-content: space-between; padding: var(--space-4); opacity: 0; transition: opacity var(--transition-base); }
.insta-item:hover .insta-overlay { opacity: 1; }
.insta-handle { font-size: var(--fs-fluid-sm); font-weight: 500; color: var(--text); }
.insta-link { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--bg); border-radius: var(--radius-full); transition: all var(--transition-fast); }
.insta-link:hover { transform: scale(1.1); box-shadow: var(--shadow-glow); }
.insta-link svg { width: 20px; height: 20px; }
.insta-cta { text-align: center; margin-top: var(--space-6); }

@media (max-width: 1024px) { .instagram-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .instagram-grid { grid-template-columns: repeat(2, 1fr); } }

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

.footer { background: var(--bg-elevated); border-top: 1px solid var(--border); padding: var(--space-9) 0 var(--space-6); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr) 1.5fr; gap: var(--space-8); margin-bottom: var(--space-8); }
.footer-brand { max-width: 300px; }
.footer-tagline { color: var(--text-subtle); font-size: var(--fs-fluid-sm); margin: var(--space-4) 0 var(--space-5); line-height: 1.8; }
.social-links { display: flex; gap: var(--space-3); }
.social-links a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-full); color: var(--text-muted); transition: all var(--transition-fast); }
.social-links a:hover { border-color: var(--accent); color: var(--accent); background: rgba(212,168,67,0.1); }
.social-links svg { width: 18px; height: 18px; }
.footer-nav h4 { font-size: var(--fs-fluid-sm); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); margin-bottom: var(--space-4); }
.footer-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-nav a { font-size: var(--fs-fluid-sm); color: var(--text-subtle); transition: color var(--transition-fast); }
.footer-nav a:hover { color: var(--accent); }
.footer-address p { margin-bottom: var(--space-2); color: var(--text-subtle); font-size: var(--fs-fluid-sm); }
.footer-address a { color: var(--text-subtle); transition: color var(--transition-fast); }
.footer-address a:hover { color: var(--accent); }
.footer-hours { display: flex; flex-direction: column; gap: var(--space-1); margin-top: var(--space-4); font-size: var(--fs-fluid-xs); color: var(--text-subtle); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-6); border-top: 1px solid var(--border); }
.copyright { font-size: var(--fs-fluid-sm); color: var(--text-subtle); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer-legal a { font-size: var(--fs-fluid-sm); color: var(--text-subtle); transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--accent); }
.payment-methods { display: flex; align-items: center; gap: var(--space-3); color: var(--text-subtle); }
.payment-methods svg { width: 24px; height: 16px; }
.payment-methods svg:last-child { width: 24px; height: 24px; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }
  .footer-brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ========================================
   TOASTS
   ======================================== */

.toast-container { position: fixed; bottom: var(--space-5); left: var(--space-5); z-index: var(--z-toast); display: flex; flex-direction: column; gap: var(--space-3); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: var(--space-3); padding: var(--space-3) var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); min-width: 280px; max-width: 400px; animation: toastIn 0.3s cubic-bezier(0.2,0.8,0.2,1); }
.toast.success { border-color: var(--accent); }
.toast.error { border-color: #e85d5d; }
.toast-icon { flex-shrink: 0; width: 20px; height: 20px; }
.toast.success .toast-icon { color: var(--accent); }
.toast.error .toast-icon { color: #e85d5d; }
.toast-message { flex: 1; font-size: var(--fs-fluid-sm); color: var(--text); }
.toast-close { flex-shrink: 0; color: var(--text-subtle); padding: var(--space-1); transition: color var(--transition-fast); }
.toast-close:hover { color: var(--text); }
@keyframes toastIn { from { opacity: 0; transform: translateX(100%); } to { opacity: 1; transform: translateX(0); } }

/* ========================================
   REVEAL ANIMATIONS
   ======================================== */

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s cubic-bezier(0.2,0.8,0.2,1), transform 0.6s cubic-bezier(0.2,0.8,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }
.reveal:nth-child(5) { transition-delay: 320ms; }
.reveal:nth-child(6) { transition-delay: 400ms; }

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

/* ========================================
   UTILITIES
   ======================================== */

.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.mt-auto { margin-top: auto; }
.hidden { display: none !important; }

/* Checkout modal */
.checkout-modal[hidden] { display: none !important; }
.checkout-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 18px; background: rgba(28, 18, 22, .68); overflow-y: auto; }
.checkout-panel { position: relative; width: min(100%, 520px); max-height: calc(100vh - 36px); overflow-y: auto; padding: 34px; border: 1px solid rgba(184, 145, 105, .35); border-radius: 18px; background: #fffaf7; color: #2c2020; box-shadow: 0 24px 80px rgba(0,0,0,.25); }
.checkout-panel h2 { margin: 10px 0 8px; font-family: 'Playfair Display', serif; font-size: 2rem; }
.checkout-intro, .checkout-note { color: #76696a; line-height: 1.7; }
.checkout-close { position: absolute; top: 12px; left: 14px; border: 0; background: transparent; color: #4a3435; font-size: 30px; cursor: pointer; }
.checkout-form { display: grid; gap: 9px; margin-top: 20px; }
.checkout-form label { margin-top: 7px; font-weight: 600; }
.checkout-form input, .checkout-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #e5d7d1; border-radius: 9px; background: #fff; color: #2c2020; font: inherit; }
.checkout-form input:focus, .checkout-form textarea:focus { outline: 2px solid #bd8c8c; outline-offset: 1px; }
.checkout-payment { padding: 12px; border-radius: 9px; background: #f5e9e5; color: #634345; font-weight: 700; text-align: center; }
.checkout-note { margin: 14px 0 0; font-size: .82rem; }
@media (max-width: 520px) { .checkout-panel { padding: 28px 18px 22px; } .checkout-panel h2 { font-size: 1.65rem; } }
