/* ═══════════════════════════════════════════════════════
   NOVORA — Design System & Stylesheet
   Palette: Black #111111 · Dark #1A1A1A · Cream #F8F8F8
            Gold #C8A96A · Gray #E5E5E5
   Fonts:   Poppins (headings) · Inter (body)
═══════════════════════════════════════════════════════ */

/* ────────────────────────────────────
   0. CSS Custom Properties
──────────────────────────────────── */
:root {
  --c-black:      #111111;
  --c-dark:       #1A1A1A;
  --c-dark-2:     #222222;
  --c-cream:      #F8F8F8;
  --c-white:      #FFFFFF;
  --c-gold:       #C8A96A;
  --c-gold-light: #D4B882;
  --c-gold-dark:  #A8893A;
  --c-gray:       #E5E5E5;
  --c-gray-mid:   #AAAAAA;
  --c-gray-dark:  #666666;
  --c-error:      #E05050;
  --c-success:    #4CAF50;

  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full:9999px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 48px rgba(0,0,0,0.16);
  --shadow-gold:0 4px 24px rgba(200,169,106,0.25);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.16s ease;

  --nav-h:      72px;
  --max-w:      1280px;
  --pad-x:      clamp(16px, 4vw, 64px);
}

/* ────────────────────────────────────
   1. Reset & Base
──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  background: var(--c-cream);
  color: var(--c-black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ────────────────────────────────────
   2. Typography Scale
──────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* ────────────────────────────────────
   3. Utility Buttons
──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: var(--transition-fast);
}
.btn:hover::after  { opacity: 1; }
.btn:active        { transform: scale(0.97); }

/* Gold primary button */
.btn-gold {
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-dark) 100%);
  color: var(--c-black);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--c-gold-light) 0%, var(--c-gold) 100%);
  box-shadow: 0 6px 32px rgba(200,169,106,0.40);
  transform: translateY(-1px);
}

/* Outline secondary button */
.btn-outline {
  background: transparent;
  color: var(--c-black);
  border: 1.5px solid var(--c-black);
}
.btn-outline:hover {
  background: var(--c-black);
  color: var(--c-cream);
}

/* Full-width modifier */
.btn-full { width: 100%; }

/* Spinner inside button */
.btn-spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(0,0,0,0.2);
  border-top-color: var(--c-black);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ────────────────────────────────────
   4. NAVBAR
──────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--transition);
}

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

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo { display: flex; align-items: center; }
.logo-img  {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);  /* white logo on dark nav */
  transition: opacity var(--transition);
}
.nav-logo:hover .logo-img { opacity: 0.8; }

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition-fast);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0; right: 0;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-link:hover         { color: var(--c-white); }
.nav-link:hover::after  { transform: scaleX(1); }

/* Cart button */
.cart-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
  transition: var(--transition);
  position: relative;
}
.cart-btn:hover {
  border-color: var(--c-gold);
  color: var(--c-gold);
}
.cart-icon  { width: 20px; height: 20px; }
.cart-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cart-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: var(--c-gold);
  color: var(--c-black);
  border-radius: var(--radius-full);
  font-size: 0.6875rem;
  font-weight: 700;
  font-family: var(--font-heading);
  transition: transform var(--transition-fast);
}
.cart-badge.bump { animation: badge-bump 0.3s ease; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--c-white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--c-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 8px 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.mobile-menu.open {
  max-height: 200px;
  padding: 16px 0;
}
.mobile-link {
  display: block;
  padding: 12px var(--pad-x);
  color: rgba(255,255,255,0.8);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition-fast);
}
.mobile-link:hover { color: var(--c-gold); }

/* ────────────────────────────────────
   5. CART DRAWER
──────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.cart-overlay.visible { opacity: 1; pointer-events: all; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--c-white);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 48px rgba(0,0,0,0.18);
}
.cart-drawer.open { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid var(--c-gray);
}
.cart-drawer-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cart-close-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--c-gray-dark);
  transition: var(--transition-fast);
}
.cart-close-btn svg { width: 20px; height: 20px; }
.cart-close-btn:hover { background: var(--c-gray); color: var(--c-black); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 100%;
  min-height: 200px;
  color: var(--c-gray-dark);
  text-align: center;
}
.cart-empty svg { width: 48px; height: 48px; opacity: 0.3; }
.cart-empty p { font-size: 0.9375rem; }

.cart-items-list { display: flex; flex-direction: column; gap: 16px; }

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-gray);
  animation: fade-in 0.2s ease;
}
.cart-line-img {
  width: 72px; height: 88px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--c-gray);
}
.cart-line-name  { font-weight: 600; font-size: 0.875rem; line-height: 1.4; }
.cart-line-meta  { font-size: 0.75rem; color: var(--c-gray-dark); margin-top: 2px; }
.cart-line-price { font-family: var(--font-heading); font-weight: 700; font-size: 0.9375rem; }
.cart-line-remove {
  font-size: 0.6875rem;
  color: var(--c-gray-dark);
  text-decoration: underline;
  transition: color var(--transition-fast);
  margin-top: 6px;
  cursor: pointer;
  display: inline-block;
}
.cart-line-remove:hover { color: var(--c-error); }

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--c-gray);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}
.cart-total-price { font-size: 1.25rem; color: var(--c-gold-dark); }
.cart-delivery-note {
  font-size: 0.8125rem;
  color: var(--c-gray-dark);
  text-align: center;
}

/* ────────────────────────────────────
   6. CHECKOUT MODAL
──────────────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 1100;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.visible { opacity: 1; pointer-events: all; }

.checkout-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  width: min(520px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--c-white);
  border-radius: var(--radius-lg);
  z-index: 1101;
  padding: 32px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: var(--shadow-lg);
}
.checkout-modal.visible {
  opacity: 1; pointer-events: all;
  transform: translate(-50%, -50%) scale(1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.modal-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.modal-close-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--c-gray-dark);
  transition: var(--transition-fast);
}
.modal-close-btn svg { width: 20px; }
.modal-close-btn:hover { background: var(--c-gray); color: var(--c-black); }

.modal-order-summary {
  background: var(--c-cream);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 20px;
  font-size: 0.8125rem;
  color: var(--c-gray-dark);
  line-height: 1.6;
}
.modal-summary-total {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--c-black);
  margin-top: 8px;
}

/* Form */
.checkout-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-black);
}

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--c-gray);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--c-black);
  background: var(--c-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  -webkit-appearance: none;
}
.form-input:focus {
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(200,169,106,0.15);
}
.form-input.error { border-color: var(--c-error); }
.form-textarea { resize: vertical; min-height: 88px; }

.form-hint {
  font-size: 0.6875rem;
  color: var(--c-gray-mid);
}

.form-error {
  display: none;
  background: #fff0f0;
  border: 1px solid var(--c-error);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--c-error);
  font-size: 0.875rem;
  font-weight: 500;
}
.form-error.visible { display: block; }

.form-delivery-note {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--c-gray-dark);
}

/* ────────────────────────────────────
   7. HERO SECTION
──────────────────────────────────── */
.hero {
  position: relative;
  height: 100dvh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.hero-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
  align-items: flex-end;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}
.hero-dot {
  width: 40px;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  transition: background 0.3s ease;
}
.hero-dot.active {
  background: var(--c-gold);
}

.hero-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(16px, 4vw, 48px);
  pointer-events: none;
  z-index: 10;
}
.hero-arrow {
  pointer-events: auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(17,17,17,0.3);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0.7;
}
.hero-arrow svg {
  width: 24px;
  height: 24px;
}
.hero-arrow:hover {
  opacity: 1;
  background: rgba(17,17,17,0.8);
  border-color: var(--c-gold);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(17,17,17,0.3) 0%,
    rgba(17,17,17,0.1) 30%,
    rgba(17,17,17,0.65) 70%,
    rgba(17,17,17,0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--pad-x);
  padding-bottom: clamp(48px, 8vw, 96px);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
}

/* ══════════════════════════════════════
   HERO SLIDE 2 SPECIFIC STYLES
   ══════════════════════════════════════ */
.hero-content-slide2 {
  padding-bottom: clamp(96px, 12vw, 160px);
}
.slide2-brand-monogram {
  margin-bottom: 24px;
}
.slide2-monogram-img {
  height: 38px;
  width: auto;
  opacity: 0.95;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}
.slide2-delivery-badge {
  position: absolute;
  bottom: 80px;
  right: var(--pad-x);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(17, 17, 17, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: var(--c-white);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease;
}
.slide2-delivery-badge svg {
  width: 16px;
  height: 16px;
  color: #C5A059;
}
.slide2-utility-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--c-black);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 4;
}
.slide2-utility-bar .utility-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--c-white);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  text-transform: uppercase;
}
.slide2-utility-bar .utility-item svg {
  width: 16px;
  height: 16px;
  color: #C5A059;
}

@media (max-width: 768px) {
  .slide2-utility-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px var(--pad-x);
  }
  .slide2-utility-bar .utility-item {
    font-size: 0.65rem;
    justify-content: center;
  }
  .slide2-delivery-badge {
    bottom: 90px;
    right: 50%;
    transform: translateX(50%);
    width: calc(100% - 2 * var(--pad-x));
    max-width: 320px;
    justify-content: center;
  }
  .hero-content-slide2 {
    padding-bottom: 160px;
  }
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 16px;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--c-white);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.7;
}

.hero-actions { margin-bottom: 32px; }

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatars { display: flex; }
.avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid var(--c-white);
  background: var(--c-gray-dark);
  margin-right: -10px;
}
.av1 { background: #8B7355; }
.av2 { background: #5C5C5C; }
.av3 { background: #9B8B6B; }
.av4 { background: #4A4A4A; }
.social-text {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  margin-left: 18px;
}

.hero-badge-floating {
  position: absolute;
  bottom: clamp(24px, 4vw, 48px);
  right: var(--pad-x);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--c-white);
}
.hero-badge-floating svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero-badge-floating strong { display: block; font-size: 0.75rem; font-family: var(--font-heading); font-weight: 700; letter-spacing: 0.06em; }
.hero-badge-floating span  { display: block; font-size: 0.6875rem; color: rgba(255,255,255,0.65); }

/* ────────────────────────────────────
   8. FEATURES STRIP
──────────────────────────────────── */
.features-strip {
  background: var(--c-black);
  padding: 28px var(--pad-x);
}
.features-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-white);
}
.feature-icon { width: 28px; height: 28px; color: var(--c-gold); flex-shrink: 0; }
.feature-item strong { display: block; font-size: 0.8125rem; font-weight: 600; font-family: var(--font-heading); }
.feature-item span   { display: block; font-size: 0.75rem; color: rgba(255,255,255,0.55); }

/* ────────────────────────────────────
   9. SECTION HEADER
──────────────────────────────────── */
.section-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--pad-x);
}
.section-header {
  margin-bottom: 48px;
}
.section-eyebrow {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 8px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

/* ────────────────────────────────────
   10. PRODUCT GRID
──────────────────────────────────── */
.collection-section { background: var(--c-cream); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: var(--c-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card-link { display: block; }

.product-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--c-gray);
}
.product-card-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img { transform: scale(1.04); }

.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  background: var(--c-gold);
  color: var(--c-black);
  font-family: var(--font-heading);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.product-card-overlay {
  position: absolute; inset: 0;
  background: rgba(17,17,17,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.product-card:hover .product-card-overlay { opacity: 1; }

.product-view-cta {
  color: var(--c-white);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,0.6);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transform: translateY(6px);
  transition: transform var(--transition);
}
.product-card:hover .product-view-cta { transform: translateY(0); }

.product-card-info { padding: 16px 20px 20px; }

.product-card-name {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-card-colors {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.product-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-card-price {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-black);
}
.product-card-arrow {
  font-size: 1rem;
  color: var(--c-gold);
  transition: transform var(--transition-fast);
}
.product-card:hover .product-card-arrow { transform: translateX(4px); }

/* ────────────────────────────────────
   11. COLOR DOTS
──────────────────────────────────── */
.color-dot, .color-swatch {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
  cursor: pointer;
  flex-shrink: 0;
}
.color-swatch { width: 28px; height: 28px; }
.color-swatch.active, .color-swatch:focus-visible {
  border-color: var(--c-gold);
  transform: scale(1.15);
  outline: none;
}

/* Color map */
.color-noir,    .color-black   { background: #111111; }
.color-blanc,   .color-white   { background: #F5F5F5; border-color: var(--c-gray) !important; }
.color-crème,   .color-creme   { background: #F0EAD6; }
.color-beige                   { background: #c8b8ab; }
.color-light-blue              { background: #ADD8E6; }
.color-marine,  .color-navy    { background: #1B2A4A; }
.color-kaki,    .color-kaki    { background: #7A7A5A; }
.color-olive-green             { background: #556B2F; }
.color-sable                   { background: #C8B99A; }
.color-gris,    .color-gray    { background: #8C8C8C; }
.color-wine-red                { background: #722F37; }
.color-lilac                   { background: #C8A2C8; }
.color-brown                   { background: #8B4513; }
.color-dusty-pink-rose         { background: #DCAE96; }
.color-gold                    { background: #D4AF37; }
.color-light-orange            { background: #FFB347; }
.color-light-rose              { background: #FFC0CB; }
.color-blue                    { background: #0000FF; }
.color-red                     { background: #FF0000; }
.color-rose                    { background: #FF007F; }
.color-rose-clair              { background: #cdafad; }
.color-gold-clair              { background: #dcb979; }
.color-beige-foncé, .color-beige-fonce { background: #e1b58e; }
.color-pêche-clair, .color-peche-clair { background: #e4b790; }
.color-bleu-pétrole, .color-bleu-petrole { background: #506384; }
.color-burgundy                { background: #5d1226; }
.color-mauve-clair             { background: #bc86c2; }

/* ────────────────────────────────────
   12. BRAND STATEMENT
──────────────────────────────────── */
.brand-statement {
  background: var(--c-black);
  padding: 80px var(--pad-x);
}
.brand-statement-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.brand-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  font-style: italic;
  color: var(--c-white);
  line-height: 1.5;
  margin-bottom: 16px;
}
.brand-quote-attr {
  font-size: 0.8125rem;
  color: var(--c-gold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

/* ────────────────────────────────────
   13. BREADCRUMB
──────────────────────────────────── */
.breadcrumb {
  background: var(--c-cream);
  border-bottom: 1px solid var(--c-gray);
  padding-top: var(--nav-h);
}
.breadcrumb-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--c-gray-dark);
}
.breadcrumb-link { transition: color var(--transition-fast); }
.breadcrumb-link:hover { color: var(--c-gold); }
.breadcrumb-sep  { color: var(--c-gray); }
.breadcrumb-current { color: var(--c-black); font-weight: 500; }

/* ────────────────────────────────────
   14. PRODUCT DETAIL PAGE
──────────────────────────────────── */
.product-detail { background: var(--c-cream); }
.product-detail-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px var(--pad-x) 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.product-gallery-main-container {
  position: relative;
}

.product-main-media-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
}
.product-tag-detail { top: 16px; left: 16px; }
.product-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-main-media-wrap:hover .product-main-img { transform: scale(1.03); }

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  transition: all var(--transition);
  color: var(--c-black);
}
.product-gallery-main-container:hover .gallery-nav-btn {
  opacity: 1;
}
.gallery-nav-btn:hover {
  background: var(--c-white);
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.gallery-nav-btn svg { width: 24px; height: 24px; }
.gallery-nav-btn.prev { left: 16px; }
.gallery-nav-btn.next { right: 16px; }

.product-gallery-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.product-gallery-thumbs::-webkit-scrollbar { display: none; }

.thumb-item {
  position: relative;
  width: 80px;
  height: 100px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.thumb-item.active {
  border-color: var(--c-gold);
}
.thumb-media {
  width: 100%; height: 100%;
  object-fit: cover;
}
.play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17,17,17,0.3);
  color: var(--c-white);
  font-size: 1.25rem;
  pointer-events: none;
}

/* Product info column */
.product-info { display: flex; flex-direction: column; gap: 24px; }

.product-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.1;
}
.product-price-row { display: flex; align-items: baseline; gap: 12px; }
.product-price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--c-black);
}
.product-price-vat {
  font-size: 0.8125rem;
  color: var(--c-gray-dark);
}
.product-description {
  font-size: 0.9375rem;
  color: var(--c-gray-dark);
  line-height: 1.75;
  border-left: 2px solid var(--c-gold);
  padding-left: 16px;
}

/* Option groups */
.product-option-group { display: flex; flex-direction: column; gap: 10px; }
.option-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.color-swatches { display: flex; gap: 10px; flex-wrap: wrap; }

.size-options { display: flex; gap: 8px; flex-wrap: wrap; }
.size-btn {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--c-gray);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: var(--transition);
}
.size-btn:hover { border-color: var(--c-black); }
.size-btn.active {
  background: var(--c-black);
  color: var(--c-white);
  border-color: var(--c-black);
}

/* Quantity control */
.quantity-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--c-gray);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.qty-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-black);
  transition: background var(--transition-fast);
}
.qty-btn:hover { background: var(--c-gray); }
.qty-input {
  width: 56px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--c-gray);
  border-right: 1px solid var(--c-gray);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  height: 44px;
  outline: none;
  -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Shipping badge */
.shipping-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(200,169,106,0.1);
  border: 1px solid rgba(200,169,106,0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.8125rem;
  color: var(--c-black);
}
.shipping-badge svg { width: 18px; color: var(--c-gold); flex-shrink: 0; }

/* Product CTAs */
.product-ctas { display: flex; flex-direction: column; gap: 12px; }
@keyframes buyNowPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.btn-buy-now-pulse {
  animation: buyNowPulse 2.5s infinite ease-in-out;
  padding: 16px 24px !important;
  font-size: 1.125rem !important;
  font-weight: 800 !important;
  font-family: 'Cairo', sans-serif !important;
  letter-spacing: 0.5px !important;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.2);
}
.btn-buy-now-pulse:hover {
  animation: none;
  transform: scale(1.05) !important;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4);
}
.add-feedback {
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-success);
  min-height: 24px;
  transition: opacity var(--transition-fast);
}

/* Related section */
.related-section { background: var(--c-cream); border-top: 1px solid var(--c-gray); }
.related-grid { grid-template-columns: repeat(4, 1fr) !important; }

/* ────────────────────────────────────
   15. ORDER SUCCESS PAGE
──────────────────────────────────── */
.success-section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--pad-x) 80px;
  background: var(--c-cream);
}
.success-card {
  background: var(--c-white);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.success-icon-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}
.success-checkmark {
  width: 72px; height: 72px;
}
.checkmark-circle {
  stroke: var(--c-gold);
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke 0.6s cubic-bezier(0.65,0,0.45,1) forwards;
}
.checkmark-check {
  stroke: var(--c-gold);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.4s cubic-bezier(0.65,0,0.45,1) 0.5s forwards;
}
.success-title {
  font-size: 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.success-subtitle {
  color: var(--c-gray-dark);
  margin-bottom: 28px;
  line-height: 1.6;
}
.success-details {
  background: var(--c-cream);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.success-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.875rem;
  flex-wrap: wrap;
}
.success-label { color: var(--c-gray-dark); font-weight: 500; flex-shrink: 0; }
.success-value { font-weight: 600; text-align: right; }
.success-total { font-family: var(--font-heading); font-size: 1rem; color: var(--c-gold-dark); }
.success-cod   { color: var(--c-success); }

.success-note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f0f8f0;
  border: 1px solid #c3e6c3;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 24px;
  text-align: left;
}
.success-note svg { width: 20px; color: var(--c-success); flex-shrink: 0; }
.success-note p { font-size: 0.8125rem; color: #2d6e2d; line-height: 1.6; }
.success-back-btn { margin: 0 auto; }

/* ────────────────────────────────────
   16. ERROR PAGES
──────────────────────────────────── */
.error-section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 40px) var(--pad-x);
  background: var(--c-cream);
}
.error-card { text-align: center; }
.error-code {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(4rem, 15vw, 9rem);
  font-weight: 900;
  color: var(--c-gray);
  line-height: 1;
  margin-bottom: 8px;
}
.error-title {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.error-sub {
  color: var(--c-gray-dark);
  margin-bottom: 32px;
  font-size: 0.9375rem;
}

/* ────────────────────────────────────
   17. FOOTER
──────────────────────────────────── */
.footer {
  background: var(--c-black);
  padding: 56px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-logo-img {
  height: 44px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  max-width: 320px;
}
.footer-links {
  display: flex;
  gap: 24px;
}
.footer-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-fast);
}
.footer-link:hover { color: var(--c-gold); }
.footer-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* ────────────────────────────────────
   18. ANIMATIONS
──────────────────────────────────── */
@keyframes spin       { to { transform: rotate(360deg); } }
@keyframes badge-bump { 0%,100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes fade-in    { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

/* ────────────────────────────────────
   19. RESPONSIVE — Tablet
──────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid        { grid-template-columns: repeat(2, 1fr); }
  .related-grid         { grid-template-columns: repeat(2, 1fr) !important; }
  .features-inner       { grid-template-columns: repeat(2, 1fr); }
  .product-detail-container { grid-template-columns: 1fr; gap: 32px; }
}

/* ────────────────────────────────────
   20. RESPONSIVE — Mobile
──────────────────────────────────── */
@media (max-width: 680px) {
  :root { --nav-h: 60px; }

  .nav-links            { display: none; }
  .cart-label           { display: none; }
  .hamburger            { display: flex; }
  .mobile-menu          { display: flex; }

  .hero-badge-floating  { display: none; }

  .products-grid        { grid-template-columns: 1fr 1fr; gap: 16px; }
  .related-grid         { grid-template-columns: 1fr 1fr !important; }
  .features-inner       { grid-template-columns: 1fr 1fr; gap: 20px; }

  .section-container    { padding: 48px var(--pad-x); }

  .checkout-modal       { padding: 20px; }

  .hero-headline        { font-size: clamp(2.5rem, 12vw, 4rem); }
}

@media (max-width: 420px) {
  .products-grid        { grid-template-columns: 1fr; }
  .related-grid         { grid-template-columns: 1fr !important; }
}

/* Floating Facebook Button */
@keyframes fbUltimatePulse {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3), 0 0 0 0px rgba(24, 119, 242, 0.4);
  }
  25% {
    transform: translateY(-8px) scale(1.05) rotate(2deg);
    box-shadow: 0 12px 25px rgba(24, 119, 242, 0.5), 0 0 0 6px rgba(24, 119, 242, 0.2);
  }
  50% {
    transform: translateY(-4px) scale(1.03) rotate(-2deg);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4), 0 0 0 12px rgba(24, 119, 242, 0);
  }
  75% {
    transform: translateY(-8px) scale(1.05) rotate(1.5deg);
    box-shadow: 0 12px 25px rgba(24, 119, 242, 0.5), 0 0 0 4px rgba(24, 119, 242, 0);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
    box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3), 0 0 0 0px rgba(24, 119, 242, 0);
  }
}

.facebook-float-btn {
  position: fixed;
  top: 96px;
  right: var(--pad-x);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1877F2;
  color: var(--c-white) !important;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  animation: fbUltimatePulse 2.2s infinite ease-in-out;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.facebook-float-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}
.facebook-float-btn:hover {
  animation-play-state: paused;
  transform: translateY(-10px) scale(1.08) rotate(0deg);
  box-shadow: 0 15px 35px rgba(24, 119, 242, 0.7);
}

@media (max-width: 768px) {
  .facebook-float-btn {
    top: auto;
    bottom: 24px;
    right: 24px;
  }
  .facebook-float-btn:hover {
    transform: translateY(-4px) scale(1.03);
  }
}
