/* ============================================
   FRAGRANCE STORE — STYLESHEET
   Clone of oscarfragrances.co.za structure
   ============================================ */

@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=Inter:wght@300;400;500;600&display=swap');

:root {
  --cream:          #0d0c0b;
  --cream-2:        #131110;
  --cream-3:        #1c1a18;
  --dark:           #1a1512;
  --dark-2:         #231e1a;
  --gold:           #b8975a;
  --gold-light:     #d4b896;
  --gold-dark:      #8a6d38;
  --text:           #ede8e2;
  --text-2:         #a09080;
  --text-3:         #6a6058;
  --border:         #2a2520;
  --white:          #ffffff;
  --header-h:       72px;
  --container:      1280px;
  --radius:         2px;
  --transition:     0.25s ease;
  --transition-slow:0.45s ease;
}

/* ============================================
   LIGHT MODE THEME
   ============================================ */
html[data-theme="light"] {
  --cream:       #f5f0ea;
  --cream-2:     #ede7df;
  --cream-3:     #e4dcd2;
  --dark:        #ddd5ca;
  --dark-2:      #d4cbbf;
  --text:        #1a1512;
  --text-2:      #4a3828;
  --text-3:      #7a6858;
  --border:      #cdc4b8;
  --gold:        #8a6d38;
  --gold-light:  #6a5020;
  --gold-dark:   #b8975a;
}

html[data-theme="light"] body {
  background: var(--cream);
  color: var(--text);
}

html[data-theme="light"] .site-header {
  background: rgba(245,240,234,0.92);
  border-bottom-color: var(--border);
}

html[data-theme="light"] .announcement-bar {
  background: #1a1512;
  color: var(--gold-dark);
}

html[data-theme="light"] .main-nav a,
html[data-theme="light"] .site-logo .logo-main,
html[data-theme="light"] .site-logo .logo-sub {
  color: var(--text);
}

html[data-theme="light"] .dropdown,
html[data-theme="light"] .mega-dropdown {
  background: var(--cream-2);
  border-color: var(--border);
}

html[data-theme="light"] .dropdown a:hover,
html[data-theme="light"] .mega-dropdown a:hover {
  color: var(--gold);
}

html[data-theme="light"] .product-card {
  background: var(--cream-2);
  border-color: var(--border);
}

html[data-theme="light"] .product-card-img {
  background: var(--cream-3);
}

html[data-theme="light"] .product-name { color: var(--text); }
html[data-theme="light"] .product-price { color: var(--gold); }

html[data-theme="light"] .collection-section,
html[data-theme="light"] .collection-banner {
  background: var(--cream-2);
}

html[data-theme="light"] .cb-heading,
html[data-theme="light"] .cb-desc { color: var(--text); }

html[data-theme="light"] .section-eyebrow { color: var(--gold); }

html[data-theme="light"] .footer-newsletter { background: var(--cream-3); }
html[data-theme="light"] .site-footer { background: var(--dark); border-top-color: var(--border); }
html[data-theme="light"] .footer-bottom { background: var(--dark-2); border-top-color: var(--border); }

html[data-theme="light"] .cf-section { background: var(--cream-2); }
html[data-theme="light"] .cf-card { background: var(--cream-3); }

html[data-theme="light"] .reviews-section { background: var(--cream-2); }
html[data-theme="light"] .review-card { background: var(--cream-3); border-color: var(--border); }

/* Reviews — fix hardcoded white text */
html[data-theme="light"] .testimonials .section-header h2 { color: var(--text); }
html[data-theme="light"] .testimonial-card {
  background: var(--cream-3);
  border-color: var(--border);
}
html[data-theme="light"] .t-name { color: var(--text); }
html[data-theme="light"] .t-label { color: var(--text-3); }
html[data-theme="light"] .t-quote { color: var(--text-2); }

/* Footer — fix hardcoded rgba whites */
html[data-theme="light"] .footer-col h4 {
  border-bottom-color: var(--border);
}
html[data-theme="light"] .footer-col ul li a { color: var(--text-2); }
html[data-theme="light"] .footer-col ul li a:hover { color: var(--gold); }
html[data-theme="light"] .footer-col p { color: var(--text-2); }
html[data-theme="light"] .footer-social a { color: var(--text-2); }
html[data-theme="light"] .footer-social a:hover { color: var(--gold); }
html[data-theme="light"] .footer-bottom { border-top-color: var(--border); }
html[data-theme="light"] .footer-bottom p { color: var(--text-3); }
html[data-theme="light"] .footer-bottom a { color: var(--text-3); }

/* Newsletter button */
html[data-theme="light"] .newsletter-form button {
  background: var(--text);
  border-color: var(--text);
  color: var(--cream);
}

html[data-theme="light"] .cart-sidebar,
html[data-theme="light"] .account-modal-inner {
  background: var(--cream);
  border-left-color: var(--border);
}

html[data-theme="light"] .cart-header { border-bottom-color: var(--border); }

html[data-theme="light"] .search-overlay { background: rgba(245,240,234,0.97); }
html[data-theme="light"] .search-inner input { color: var(--text); border-bottom-color: rgba(26,21,18,0.2); }
html[data-theme="light"] .search-inner input::placeholder { color: rgba(26,21,18,0.35); }
html[data-theme="light"] .search-hint { color: rgba(26,21,18,0.4); }
html[data-theme="light"] .search-close-btn { color: rgba(26,21,18,0.5); }
html[data-theme="light"] .search-close-btn:hover { color: var(--text); }

html[data-theme="light"] .breadcrumb { background: var(--cream-2); border-bottom-color: var(--border); }

/* Theme toggle button */
.btn-theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background var(--transition);
  flex-shrink: 0;
}
.btn-theme-toggle:hover { background: var(--cream-3); }
.btn-theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--text);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition);
}
.icon-sun { display: none; }
.icon-moon { display: block; }
html[data-theme="light"] .icon-sun { display: block; }
html[data-theme="light"] .icon-moon { display: none; }

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
img { display: block; max-width: 100%; }

/* ============================================
   CONTAINER
   ============================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement-bar {
  background: var(--dark);
  color: var(--gold-light);
  text-align: center;
  padding: 11px 20px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 400;
  line-height: 1;
}
.announcement-bar a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  height: var(--header-h);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.5); }

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 0;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-right: 40px;
}
.site-logo .logo-main {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.site-logo .logo-sub {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
}

/* Main Nav */
.main-nav { flex: 1; }
.main-nav > ul {
  display: flex;
  align-items: center;
}
.main-nav > ul > li { position: relative; }

.main-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 16px;
  height: var(--header-h);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  transition: color var(--transition);
}
.main-nav > ul > li > a:hover { color: var(--gold); }
.main-nav > ul > li > a .chevron {
  width: 10px;
  height: 10px;
  transition: transform var(--transition);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}
.main-nav > ul > li.open > a .chevron,
.main-nav > ul > li:hover > a .chevron { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(var(--header-h) - 1px);
  left: 0;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-top: 2px solid var(--gold);
  min-width: 190px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 200;
}
.main-nav > ul > li:hover .dropdown,
.main-nav > ul > li.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 13px 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text-2);
  text-transform: uppercase;
  transition: color var(--transition), background var(--transition);
  border-bottom: 1px solid var(--border);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { color: var(--gold); background: var(--cream); }

.mega-dropdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-width: 360px;
}

/* Header right actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.header-action-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--text);
  transition: color var(--transition);
  white-space: nowrap;
}
.header-action-btn:hover { color: var(--gold); }
.header-action-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.cart-amount { font-weight: 500; }
.cart-count {
  background: var(--gold);
  color: var(--dark);
  font-size: 10px;
  font-weight: 600;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.btn-mobile-menu {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 12px;
  color: var(--text);
}
.btn-mobile-menu svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: calc(100vh - var(--header-h) - 40px);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}

/* Video container — fills the hero absolutely */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Overlay — blend layers:
   1. Dark base for text legibility
   2. Gold radial glow (right side) for brand warmth
   3. Bottom vignette to ground the text
*/
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-content > * {
  max-width: 520px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(184,151,90,0.35);
}
.hero-content h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px, 5.5vw, 70px);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 300;
}
.hero-sub {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
  max-width: 420px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border-radius: var(--radius);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 1px solid var(--gold);
}
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); }
.btn-dark {
  background: var(--dark);
  color: var(--white);
  border: 1px solid var(--dark);
}
.btn-dark:hover { background: var(--dark-2); }

/* ============================================
   DRAG / ARROW-KEY SLIDER  (Featured iPhones)
   ============================================ */
.drag-hint {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 18px;
}

.drag-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  cursor: grab;
  user-select: none;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.drag-slider::-webkit-scrollbar { display: none; }
.drag-slider.dragging { cursor: grabbing; scroll-snap-type: none; }

.drag-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition-slow);
  flex-shrink: 0;
}
.drag-card:hover { box-shadow: 0 6px 36px rgba(0,0,0,0.09); }

.dc-img {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: var(--cream-3);
  position: relative;
}
.dc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.drag-card:hover .dc-img img { transform: scale(1.04); }

.dc-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(150deg, var(--cream-2) 0%, var(--cream-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.dc-placeholder::after {
  content: '';
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border);
  opacity: 0.6;
}

.dc-body { padding: 16px 14px 18px; }
.dc-tag {
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.06em;
  margin-bottom: 5px;
  line-height: 1.4;
}
.dc-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 5px;
  line-height: 1.3;
}
.dc-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 13px;
}
.dc-btn {
  display: block;
  width: 100%;
  padding: 10px 0;
  border: 1px solid var(--border);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  text-align: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.dc-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

.drag-slider-keys {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.ds-key-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  font-size: 16px;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.ds-key-btn:hover { background: var(--gold); color: var(--white); border-color: var(--gold); }

/* ============================================
   SHARED SECTION STYLES
   ============================================ */
.products-section { padding: 72px 0; }
.products-section.bg-alt { background: var(--cream-2); }

.section-header { margin-bottom: 36px; }
.section-eyebrow {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 400;
  color: var(--text);
  line-height: 1.1;
}
.section-header p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--text-2);
  font-style: italic;
  line-height: 1.6;
}

/* ============================================
   PRODUCT CARD
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--cream-2);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow var(--transition-slow);
}
.product-card:hover { box-shadow: 0 6px 36px rgba(0,0,0,0.09); }

.product-card-img {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  background: var(--cream-3);
  position: relative;
}
.pc-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(150deg, var(--cream-2) 0%, var(--cream-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pc-placeholder::after {
  content: '';
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border);
  opacity: 0.6;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.04); }

.pc-quick-add {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 0;
  background: rgba(26,21,18,0.88);
  color: var(--white);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  text-align: center;
  font-family: 'Inter', sans-serif;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--transition), transform var(--transition);
  border: none;
  width: 100%;
}
.product-card:hover .pc-quick-add { opacity: 1; transform: translateY(0); }

.product-card-body { padding: 16px 16px 20px; }
.product-cat-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}
.product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 5px;
}
.product-desc {
  font-size: 11.5px;
  color: var(--text-3);
  line-height: 1.5;
  margin-bottom: 12px;
}
.product-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}
.btn-add-bag {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--border);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn-add-bag:hover {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

/* ============================================
   PRODUCTS ROW (horizontal scroll)
   ============================================ */
.products-row {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.products-row::-webkit-scrollbar { display: none; }
.products-row .product-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
}

/* ============================================
   COLLECTION SECTION
   ============================================ */
.collection-section { padding: 72px 0; }
.collection-section:nth-child(odd) { background: var(--cream-2); }

/* ── Collection editorial banner (Oscar-style) ─────────── */
.collection-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #181410;
  margin-bottom: 48px;
}

/* iPhone image fills the entire background */
.cb-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cb-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}
.cb-image video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

/* Dark gradient left → transparent right so text is readable */
.collection-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(18,14,10,0.96) 0%,
    rgba(18,14,10,0.82) 38%,
    rgba(18,14,10,0.35) 62%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.cb-content {
  position: relative;
  z-index: 2;
  padding: 80px 72px;
  max-width: 560px;
}
.cb-eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.cb-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 300;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}
.cb-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
  max-width: 360px;
  margin-bottom: 36px;
}
.cb-btn {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 15px 40px;
  text-decoration: none;
  transition: background 0.22s ease;
}
.cb-btn:hover { background: var(--gold-dark); color: #fff; }

/* Light variant — background matches the iPhone 12 image gray so edges blend */
.collection-banner--light {
  background: #7e7e7e;
  display: flex;
  align-items: center;
}
/* Override absolute positioning so phone appears as right-side contained element */
.collection-banner--light .cb-image {
  position: relative;
  inset: auto;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 60px;
  z-index: 2;
  min-height: 520px;
}
.collection-banner--light .cb-image img {
  width: auto;
  height: 100%;
  max-height: 460px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
}
/* Dark overlay fades in from left only — keeps text readable, right stays open gray */
.collection-banner--light::after {
  background: linear-gradient(
    to right,
    rgba(10,10,10,0.88) 0%,
    rgba(10,10,10,0.70) 28%,
    rgba(10,10,10,0.20) 52%,
    transparent 68%
  );
}

/* Banner inside collection section overrides top padding */
.collection-section:has(.collection-banner) { padding-top: 0; }

/* ── EDITORIAL TWO-UP (Nike-style split cards) ──────────── */
.editorial-two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  gap: 32px;
  padding: 0 32px;
}
.ed2-card {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 580px;
  cursor: pointer;
  border-radius: 20px;
}
.ed2-img {
  position: absolute;
  inset: 0;
  transition: transform 0.55s ease;
}
.ed2-card:hover .ed2-img { transform: scale(1.04); }

/* Left card — iPhone 11: deep space blue gradient */
.ed2-img--11 {
  background: #0d1b2a;
}
.ed2-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  pointer-events: none;
}
/* Subtle light streak to suggest product photography */
.ed2-img--11::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 65% 40%, rgba(100,160,220,0.12) 0%, transparent 60%);
}

/* Gradient overlay at bottom for text readability */
.ed2-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 32px 28px;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
  color: #fff;
  z-index: 2;
}
.ed2-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  opacity: 0.85;
}
.ed2-overlay h3 {
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ed2-btn {
  display: inline-block;
  background: #fff;
  color: #111;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 22px;
  border-radius: 30px;
  transition: background 0.2s, color 0.2s;
}
.ed2-card:hover .ed2-btn {
  background: rgba(255,255,255,0.88);
}

@media (max-width: 768px) {
  .editorial-two-up { grid-template-columns: 1fr; }
  .ed2-card { min-height: 380px; }
}

@media (max-width: 860px) {
  /* Collection banners */
  .collection-banner { min-height: 100vw; }
  .cb-image img   { object-fit: cover; object-position: center center; }
  .cb-image video { object-fit: cover; object-position: center center; }
  .cb-content {
    padding: 20px 20px 24px;
    position: absolute; bottom: 0; left: 0; right: 0; max-width: 100%;
  }
  .cb-eyebrow { margin-bottom: 8px; }
  .cb-heading { font-size: clamp(22px, 6vw, 30px); margin-bottom: 10px; }
  .cb-desc    { font-size: 12px; line-height: 1.55; margin-bottom: 16px; }
  .cb-btn     { padding: 11px 24px; font-size: 10px; }
  .collection-banner::after {
    background: linear-gradient(
      to bottom,
      transparent 0%,
      rgba(18,14,10,0.88) 50%,
      rgba(18,14,10,0.98) 100%
    );
  }

  /* iPhone 12 banner — phone sits on the right side of the image */
  #iphone-12-series .cb-image img { object-position: right center; }

  /* Editorial two-up */
  .ed2-card { min-height: 75vw; }
  .ed2-img--12 { background-position: center center !important; }
}

.collection-header { margin-bottom: 32px; }
.collection-header h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 6px;
}
.collection-header p {
  font-size: 13px;
  color: var(--text-2);
  font-style: italic;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  padding: 80px 0;
  background: var(--dark);
}
.testimonials .section-header { text-align: center; margin-bottom: 48px; }
.testimonials .section-eyebrow { color: var(--gold); }
.testimonials .section-header h2 { color: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 28px 24px 32px;
}
.t-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--cream-3);
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold-dark);
  font-weight: 500;
}
.t-avatar img { width: 100%; height: 100%; object-fit: cover; }
.t-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}
.t-label {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 12px;
}
.t-stars { color: var(--gold); font-size: 13px; letter-spacing: 3px; margin-bottom: 14px; }
.t-quote {
  font-size: 13px;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  font-style: italic;
}

/* ============================================
   FOOTER NEWSLETTER
   ============================================ */
.footer-newsletter {
  background: var(--cream-2);
  padding: 64px 0;
  text-align: center;
  border-top: 1px solid var(--border);
}
.footer-newsletter h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--text);
  margin-bottom: 8px;
}
.footer-newsletter p {
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 28px;
}
.newsletter-form {
  display: flex;
  justify-content: center;
  max-width: 440px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--text);
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  outline: none;
  border-radius: 0;
  transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form input::placeholder { color: var(--text-3); }
.newsletter-form button {
  padding: 12px 28px;
  background: var(--dark);
  color: var(--white);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--dark);
  white-space: nowrap;
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer { background: var(--dark); }

.footer-main {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  padding: 60px 48px 48px;
  max-width: var(--container);
  margin: 0 auto;
}
.footer-col h4 {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
  letter-spacing: 0.03em;
}
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-col p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.footer-social a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition);
}
.footer-social a:hover { color: var(--gold-light); }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 20px 48px;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ============================================
   MOBILE MENU
   ============================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 500;
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  flex-shrink: 0;
}
.mobile-menu-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.mobile-menu-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.mobile-nav { padding: 12px 0; flex: 1; }
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.mobile-nav a:hover { color: var(--gold-light); }
.mobile-nav a span { font-size: 16px; color: var(--gold); }

.mobile-menu-footer {
  padding: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}
.mobile-menu-footer a {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}
.mobile-menu-footer a:hover { color: var(--gold-light); }

/* ============================================
   SEARCH OVERLAY
   ============================================ */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,21,18,0.97);
  z-index: 400;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 110px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-inner { width: 100%; max-width: 560px; padding: 0 24px; position: relative; }
.search-inner input {
  width: 100%;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding: 14px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--white);
  outline: none;
}
.search-inner input::placeholder { color: rgba(255,255,255,0.25); }
.search-hint {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.25);
  margin-top: 14px;
}
.search-close-btn {
  position: absolute;
  top: 20px;
  right: 32px;
  color: rgba(255,255,255,0.5);
  font-size: 24px;
  transition: color var(--transition);
}
.search-close-btn:hover { color: var(--white); }
.search-close-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  background: var(--cream);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
  box-shadow: -12px 0 48px rgba(0,0,0,0.12);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-sidebar-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-sidebar-top h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
}
.cart-close-btn { color: var(--text-2); transition: color var(--transition); }
.cart-close-btn:hover { color: var(--text); }
.cart-close-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.cart-body { flex: 1; overflow-y: auto; padding: 24px; }
.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 12px;
  color: var(--text-3);
  text-align: center;
}
.cart-empty p { font-size: 14px; }
.cart-empty svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.2; opacity: 0.4; }

.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}
.cart-footer .btn { width: 100%; justify-content: center; }

/* Overlay backdrop */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}
.overlay-backdrop.show { opacity: 1; visibility: visible; }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 90;
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
.whatsapp-btn svg { width: 26px; height: 26px; fill: #fff; }

/* ============================================
   ACCOUNT / LOGIN MODAL
   ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,21,18,0.7);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--cream);
  width: 100%;
  max-width: 420px;
  padding: 40px 36px;
  position: relative;
  transform: translateY(16px);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.modal-overlay.open .modal { transform: translateY(0); }

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.modal h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  margin-bottom: 6px;
}
.modal p.modal-sub { font-size: 13px; color: var(--text-2); margin-bottom: 28px; }

.modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}
.modal-tab {
  flex: 1;
  padding: 10px 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text-3);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}
.modal-tab.active { color: var(--text); border-bottom-color: var(--gold); }

.modal-form { display: flex; flex-direction: column; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-2); }
.form-group input {
  padding: 11px 14px;
  border: 1px solid var(--border);
  background: var(--cream);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus { border-color: var(--gold); }
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--text-2);
  line-height: 1.5;
  cursor: pointer;
}
.form-check input[type="checkbox"] { margin-top: 2px; flex-shrink: 0; accent-color: var(--gold); }
.modal-form .btn { justify-content: center; margin-top: 6px; }
.modal-form .btn-primary { background: var(--dark); border-color: var(--dark); }
.modal-form .btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.modal-forgot { font-size: 11px; color: var(--text-3); text-align: right; letter-spacing: 0.06em; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   COOKIE CONSENT BANNER
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 40px;
  z-index: 500;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p {
  flex: 1;
  min-width: 240px;
  font-size: 12px;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
}
.cookie-banner p a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  padding: 9px 22px;
  background: var(--gold);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: 1px solid var(--gold);
  transition: background var(--transition);
}
.cookie-accept:hover { background: var(--gold-dark); }
.cookie-decline {
  padding: 9px 22px;
  background: transparent;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: 1px solid rgba(255,255,255,0.15);
  transition: color var(--transition), border-color var(--transition);
}
.cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

/* ============================================
   RESPONSIVE
   ============================================ */

/* ── Tablet ─────────────────────────────────── */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

/* ── Mobile landscape / large phone ─────────── */
@media (max-width: 860px) {
  /* Header */
  .main-nav { display: none; }
  .btn-mobile-menu { display: flex; }
  .header-inner { padding: 0 16px; }
  .logo-main { font-size: 18px; }
  .logo-sub { font-size: 8px; letter-spacing: 0.14em; }
  .btn-account span { display: none; }

  /* Hero */
  .hero { min-height: 88vh; align-items: center; }
  .hero-content {
    padding: 56px 20px 56px;
    max-width: 100%;
  }
  .hero-content > * { max-width: 100%; }
  .hero-content h1 { font-size: clamp(34px, 9vw, 48px); }
  .hero-sub { font-size: 14px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; max-width: 280px; }

  /* Products */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .drag-card { flex: 0 0 200px; }
  .products-row .product-card { flex: 0 0 180px; }

  /* Sections */
  .products-section { padding: 56px 0; }
  .collection-section { padding: 52px 0; }
  .section-header h2 { font-size: 30px; }
  .collection-header h2 { font-size: 28px; }

  /* Testimonials */
  .testimonials { padding: 60px 0; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* ── Mobile portrait ────────────────────────── */
@media (max-width: 600px) {
  /* Prevent horizontal overflow site-wide */
  body { overflow-x: hidden; }

  /* Container */
  .container { padding: 0 16px; }

  /* Announcement bar */
  .announcement-bar { font-size: 10px; padding: 9px 12px; }

  /* Header */
  .header-inner { padding: 0 14px; height: 60px; }
  .site-header { --header-h: 60px; }
  .logo-main { font-size: 16px; letter-spacing: 0.16em; }
  .logo-sub { display: none; }
  .header-action-btn svg { width: 18px; height: 18px; }
  .cart-count { width: 16px; height: 16px; font-size: 9px; }

  /* Hero */
  .hero { min-height: 85vh; }
  .hero-content { padding: 44px 16px 52px; }
  .hero-eyebrow { font-size: 9px; margin-bottom: 14px; padding-bottom: 10px; }
  .hero-content h1 { font-size: clamp(28px, 10vw, 40px); margin-bottom: 16px; }
  .hero-sub { font-size: 13px; line-height: 1.65; margin-bottom: 28px; }
  .hero-actions .btn { max-width: 100%; }

  /* Sections */
  .products-section { padding: 44px 0; }
  .section-header { margin-bottom: 24px; }
  .section-header h2 { font-size: 26px; }
  .collection-section { padding: 40px 0; }
  .collection-header { margin-bottom: 20px; }
  .collection-header h2 { font-size: 24px; }

  /* Collection banners on small phones */
  .collection-banner { min-height: 110vw; }
  .cb-heading { font-size: clamp(20px, 5.5vw, 26px); }
  .cb-desc { font-size: 11px; }

  /* Editorial cards on small phones */
  .ed2-card { min-height: 80vw; }

  /* Product grid */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .drag-card { flex: 0 0 160px; }
  .product-card-body { padding: 12px 10px 14px; }
  .product-name { font-size: 12px; }
  .product-desc { font-size: 10px; }
  .product-price { font-size: 13px; margin-bottom: 10px; }
  .btn-add-bag { padding: 9px 10px; font-size: 8.5px; letter-spacing: 0.14em; }

  /* Scroll row cards */
  .products-row { gap: 12px; }
  .products-row .product-card { flex: 0 0 155px; }

  /* Testimonials */
  .testimonials { padding: 48px 0; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 14px; }

  /* Newsletter */
  .footer-newsletter { padding: 44px 0; }
  .footer-newsletter h3 { font-size: 24px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
  .newsletter-form button { width: 100%; }

  /* Footer */
  .footer-main { grid-template-columns: 1fr; gap: 24px; padding: 32px 16px 24px; }
  .footer-bottom { flex-direction: column; text-align: center; padding: 14px 16px; gap: 8px; }

  /* Cart */
  .cart-sidebar { width: 100%; }

  /* Search overlay */
  .search-inner input { font-size: 24px; }

  /* WhatsApp */
  .whatsapp-btn { bottom: 14px; right: 14px; width: 46px; height: 46px; }
  .whatsapp-btn svg { width: 22px; height: 22px; }

  /* Cookie banner */
  .cookie-banner { padding: 16px 16px; flex-direction: column; gap: 14px; }
  .cookie-banner p { min-width: unset; }
  .cookie-actions { width: 100%; }
  .cookie-accept, .cookie-decline { flex: 1; text-align: center; }
}

/* ── Preloader ─────────────────────────────────────────────── */
#apex-preloader {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloader-bg-out 0.9s ease forwards 7.4s;
  pointer-events: all;
}

#apex-preloader-logo {
  width: 200px;
  position: relative;
  opacity: 0;
  animation:
    logo-in    0.9s cubic-bezier(0.34, 1.4, 0.64, 1) forwards       0.2s,
    logo-pulse 2.6s ease-in-out                       infinite       1.2s,
    logo-out   0.9s ease-in                           forwards       6.8s;
}

#apex-preloader-logo svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Shimmer — two sweeps built into one long keyframe (t=1.5s & t=4.8s) */
#apex-shimmer {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(
    105deg,
    transparent 25%,
    rgba(255,255,255,0.22) 50%,
    transparent 75%
  );
  background-size: 250% 100%;
  background-position: -150% 0;
  animation: shimmer-double 6.5s ease forwards 1.0s;
  pointer-events: none;
}

@keyframes logo-in {
  from { opacity: 0; transform: scale(0.55); }
  to   { opacity: 1; transform: scale(1);    }
}

@keyframes logo-pulse {
  0%, 100% { filter: brightness(1); }
  50%       { filter: brightness(1.14) drop-shadow(0 0 16px rgba(160,160,160,0.18)); }
}

@keyframes logo-out {
  from { opacity: 1; transform: scale(1);    }
  to   { opacity: 0; transform: scale(1.18); }
}

@keyframes preloader-bg-out {
  from { opacity: 1; }
  to   { opacity: 0; pointer-events: none; visibility: hidden; }
}

/* First sweep: 8%–21% of 6.5s = t≈1.52s–t≈2.37s from anim start (real t≈2.5s–3.4s)
   Second sweep: 55%–68%         = t≈3.6s–t≈4.4s from anim start  (real t≈4.6s–5.4s) */
@keyframes shimmer-double {
  0%   { opacity: 0; background-position: -150% 0; }
  8%   { opacity: 1; background-position: -150% 0; }
  21%  { opacity: 0; background-position:  250% 0; }
  22%  { opacity: 0; background-position: -150% 0; }
  55%  { opacity: 0; background-position: -150% 0; }
  63%  { opacity: 1; background-position: -150% 0; }
  76%  { opacity: 0; background-position:  250% 0; }
  100% { opacity: 0; background-position:  250% 0; }
}

/* ── Paystack buy button ───────────────────────────────────── */
.ps-buy-btn {
  width: 100%;
  background: linear-gradient(135deg, #00c389 0%, #009e70 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 16px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: filter 0.2s, transform 0.15s;
}
.ps-buy-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }

.ps-cart-pay-btn {
  width: 100%;
  background: linear-gradient(135deg, #00c389 0%, #009e70 100%);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 16px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: filter 0.2s;
}
.ps-cart-pay-btn:hover { filter: brightness(1.1); }

.paystack-card-area { padding: 0 16px 16px; }

/* ── Paystack checkout modal ───────────────────────────────── */
#ps-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
#ps-modal.open { opacity: 1; pointer-events: all; }

.ps-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.58);
}
.ps-box {
  position: relative;
  z-index: 1;
  background: #131110;
  border-radius: 4px;
  padding: 36px 32px 28px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  margin: 16px;
  transform: translateY(14px);
  transition: transform 0.25s;
}
#ps-modal.open .ps-box { transform: translateY(0); }
.ps-close {
  position: absolute;
  top: 14px; right: 18px;
  background: none; border: none;
  font-size: 22px; cursor: pointer;
  color: #aaa; line-height: 1;
}
.ps-close:hover { color: #fff; }
.ps-eyebrow {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #00c389; margin-bottom: 6px;
}
.ps-product-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400;
  color: #ede8e2; margin-bottom: 2px;
}
.ps-product-price {
  font-size: 18px; font-weight: 700;
  color: #ede8e2; margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #2a2520;
}
.ps-section-title {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: #ede8e2; margin: 18px 0 12px;
}
.ps-section-title:first-of-type { margin-top: 0; }
.ps-label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: #a09080; margin-bottom: 6px; margin-top: 10px;
}
.ps-input {
  width: 100%; padding: 11px 12px;
  border: 1.5px solid #2a2520; border-radius: 2px;
  font-size: 14px; color: #ede8e2; outline: none;
  transition: border-color 0.2s; box-sizing: border-box;
  font-family: inherit; background: #0d0c0b;
}
.ps-input:focus { border-color: #00c389; }
.ps-input.error { border-color: #d43f00; }
.ps-select { cursor: pointer; 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='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ps-field-error { font-size: 12px; color: #d43f00; margin: 10px 0 4px; min-height: 16px; }
.ps-confirm-btn {
  width: 100%; margin-top: 16px;
  background: linear-gradient(135deg, #00c389 0%, #009e70 100%);
  color: #fff; font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px; border: none; border-radius: 2px;
  cursor: pointer; transition: filter 0.2s; margin-bottom: 14px;
}
.ps-confirm-btn:hover { filter: brightness(1.1); }
.ps-secure-note { text-align: center; font-size: 11px; color: #9a9082; }

/* ── PayPal integration ────────────────────────────────────── */
.paypal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3, #9a9082);
}
.paypal-divider::before,
.paypal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border, #e8e2d8);
}
.paypal-card-area {
  padding: 0 16px 16px;
}
/* Cart sidebar PayPal spacing */
.cart-footer .paypal-divider {
  margin: 20px 0 12px;
}

/* ── Browse page cart aliases ─────────────────────────────── */
.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.cart-header h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
}
.cart-close {
  color: var(--text-2);
  transition: color var(--transition);
  font-size: 18px;
  line-height: 1;
  padding: 4px;
}
.cart-close:hover { color: var(--text); }
.cart-total-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
}

/* ── Browse page account modal aliases ────────────────────── */
.account-modal {
  position: fixed;
  inset: 0;
  background: rgba(26,21,18,0.7);
  z-index: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.account-modal.open { opacity: 1; visibility: visible; }
.account-modal-inner {
  background: var(--cream);
  width: 100%;
  max-width: 420px;
  padding: 40px 36px;
  position: relative;
  border-radius: 4px;
  transform: translateY(16px);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1);
}
.account-modal.open .account-modal-inner { transform: translateY(0); }
.account-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
  font-size: 18px;
  transition: color var(--transition);
}
.account-modal-close:hover { color: var(--text); }

/* ── Breadcrumb (collection pages) ────────────────────────── */
.breadcrumb {
  background: var(--cream, #faf8f5);
  border-bottom: 1px solid var(--border, #e8e2d8);
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  font-size: 12px;
  color: var(--text-3, #9a9082);
}
.breadcrumb-inner a {
  color: var(--text-2, #5a5248);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb-inner a:hover { color: var(--gold, #b8975a); }
.breadcrumb-inner .sep { opacity: 0.5; }
.breadcrumb-inner .current { color: var(--text-3, #9a9082); }

/* ============================================
   DESIGN.md — Motion & Animation Layer
   ============================================ */

:root {
  --ease-standard:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-decelerate: cubic-bezier(0.0,  0.0,  0.2,  1);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Scroll-triggered fade + rise */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-standard), transform 0.6s var(--ease-standard);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card hover lift — extends existing hover rule */
.product-card,
.drag-card {
  transition: box-shadow var(--transition-slow), transform 0.35s var(--ease-standard);
}
.product-card:hover,
.drag-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.24);
}

/* Nav frosted glass when scrolled */
.site-header.scrolled {
  background: rgba(13,12,11,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* Collection banner image — parallax + zoom target */
.collection-banner .cb-image img {
  transition: transform 0.8s var(--ease-standard);
  will-change: transform;
}

/* Staggered word reveal (used for hero headline) */
.stagger-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  animation: word-in 0.55s var(--ease-standard) forwards;
}
@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}

/* Accessibility — honour user preference */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .stagger-word {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .product-card,
  .drag-card {
    transition: box-shadow var(--transition-slow);
  }
  .product-card:hover,
  .drag-card:hover {
    transform: none;
  }
  .collection-banner .cb-image img {
    transition: none;
    will-change: auto;
  }
  .site-header {
    transition: box-shadow var(--transition);
  }
}
