/* =========================================
   MON BOUQUET — Luxury E-Commerce
   Design System & Global Styles
   Agency: Lynflow
   ========================================= */

/* ── CUSTOM PROPERTIES ── */
:root {
  --black: #0e0d0b;
  --ivory: #f4ede3;
  --cream: #ede8df;
  --charcoal: #1c1a17;
  --gold: #c6a84b;
  --gold-dim: rgba(198, 168, 75, 0.15);
  --blush: #c4937f;
  --sage: #7a8c7e;

  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'Raleway', sans-serif;

  --nav-height: 80px;
  --max-width: 1380px;
  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { text-decoration: none; color: inherit; }
button { cursor: none; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.25s ease, height 0.25s ease;
}
.cursor-ring {
  position: fixed;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(198, 168, 75, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease;
}
.cursor.hovering { width: 5px; height: 5px; }
.cursor-ring.hovering { width: 54px; height: 54px; opacity: 0.35; }

/* ── ENTRANCE / DOOR ANIMATION ── */
#entrance {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  pointer-events: none;
}
#entrance.done { display: none; }

.door {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: var(--black);
  will-change: transform;
}
.door--left { left: 0; }
.door--right { right: 0; }

.door-grain {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 3px,
      rgba(198, 168, 75, 0.02) 3px,
      rgba(198, 168, 75, 0.02) 4px
    );
}

.entrance-center {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2001;
  text-align: center;
  pointer-events: none;
  width: 300px;
}
.entrance-brand {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--gold);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  display: block;
  opacity: 0;
  transform: translateY(12px);
}
.entrance-sep {
  width: 0px;
  height: 1px;
  background: rgba(198, 168, 75, 0.5);
  margin: 1rem auto;
  transition: width 0.6s var(--ease-luxury);
}
.entrance-city {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: rgba(198, 168, 75, 0.45);
  display: block;
  opacity: 0;
}

/* ── PARTICLES ── */
#particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0;
}
.petal {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold);
  border-radius: 50% 0 50% 0;
  opacity: 0;
  animation: floatPetal linear infinite;
}
@keyframes floatPetal {
  0%   { transform: translateY(110vh) rotate(0deg) scale(1);   opacity: 0; }
  8%   { opacity: 0.35; }
  85%  { opacity: 0.15; }
  100% { transform: translateY(-8vh) rotate(540deg) scale(0.5); opacity: 0; }
}

/* ── NAVIGATION ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
  transition: background 0.5s ease, backdrop-filter 0.5s ease;
}
.nav.scrolled {
  background: rgba(14, 13, 11, 0.96);
  backdrop-filter: blur(14px);
}
.nav.light { background: transparent; }
.nav.light.scrolled {
  background: rgba(244, 237, 227, 0.96);
  backdrop-filter: blur(14px);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.3s ease;
}
.nav.light .nav-logo { color: var(--charcoal); }
.nav.light.scrolled .nav-logo { color: var(--charcoal); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.65);
  position: relative;
  transition: color 0.3s ease;
}
.nav.light .nav-links a { color: rgba(28, 26, 23, 0.55); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-luxury);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav.light .nav-links a:hover { color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  transition: color 0.3s ease;
}
.nav.light .nav-cart { color: var(--charcoal); }
.nav-cart:hover { color: var(--gold); }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  font-size: 0.55rem;
  font-weight: 700;
  display: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--cream);
  transition: all 0.3s ease;
}
.nav.light .nav-hamburger span { background: var(--charcoal); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ivory);
  z-index: 800;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  overflow: hidden;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: 0.08em;
  transition: color 0.3s ease;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-close {
  position: absolute;
  top: 1.5rem; right: 2rem;
  background: none; border: none;
  color: rgba(28, 26, 23, 0.4);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.5rem;
  font-family: var(--font-body);
  font-weight: 200;
  transition: color 0.3s;
}
.mobile-menu-close:hover { color: var(--charcoal); }

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  transform: scale(1.08);
  transition: transform 18s ease, opacity 1.5s ease;
}
.hero-bg.active { transform: scale(1); opacity: 0.32; }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 920px;
  padding: 0 2rem;
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 11vw, 10rem);
  font-weight: 300;
  line-height: 0.88;
  color: var(--cream);
  letter-spacing: -0.01em;
  opacity: 0;
  transform: translateY(20px);
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.72rem, 1.5vw, 0.9rem);
  font-weight: 300;
  color: rgba(237, 232, 223, 0.5);
  letter-spacing: 0.1em;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(10px);
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  transform: translateY(10px);
  transition: gap 0.35s var(--ease-luxury);
}
.hero-cta::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-luxury);
}
.hero-cta:hover { gap: 1.5rem; }
.hero-cta:hover::after { width: 56px; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(237, 232, 223, 0.35);
}
.scroll-line {
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(198, 168, 75, 0.5), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ── SECTION UTILITIES ── */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.05;
}
.section-title em {
  font-style: italic;
  color: var(--blush);
}
.section-title.on-dark { color: var(--cream); }
.section-title.on-dark em { color: var(--gold); }
.section-line {
  width: 44px;
  height: 1px;
  background: var(--gold);
  margin-top: 1.5rem;
}
.section-line.centered { margin-left: auto; margin-right: auto; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-luxury), transform 0.85s var(--ease-luxury);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* ── PRODUCTS SECTION (homepage) ── */
.products-section {
  padding: clamp(5rem, 9vw, 9rem) clamp(1.5rem, 4vw, 4rem);
  background: var(--ivory);
}
.products-section-header {
  max-width: var(--max-width);
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.products-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
/* Editorial asymmetric grid — scoped to homepage products-grid only */
.products-grid .product-card:nth-child(1) { grid-column: span 5; }
.products-grid .product-card:nth-child(2) { grid-column: span 4; }
.products-grid .product-card:nth-child(3) { grid-column: span 3; }
.products-grid .product-card:nth-child(4) { grid-column: span 3; }
.products-grid .product-card:nth-child(5) { grid-column: span 5; }
.products-grid .product-card:nth-child(6) { grid-column: span 4; }
.products-grid .product-card:nth-child(7) { grid-column: span 12; }

/* ── PRODUCT CARD ── */
.product-card {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s var(--ease-luxury),
    transform 0.75s var(--ease-luxury),
    box-shadow 0.5s ease;
  display: block;
  color: inherit;
}
.product-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.product-card:hover {
  box-shadow: 0 28px 56px rgba(14, 13, 11, 0.10);
  transform: translateY(-6px) !important;
}

.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: #d4cdc5;
}
.products-grid .product-card:nth-child(7) .product-card-img {
  aspect-ratio: 21/9;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease-luxury);
}
.product-card:hover .product-card-img img { transform: scale(1.065); }

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14, 13, 11, 0.55) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.45s ease;
}
.product-card:hover .product-card-overlay { opacity: 1; }

.product-card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  font-family: var(--font-body);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 0.3rem 0.65rem;
}

.product-card-body {
  padding: 1.1rem 1.25rem 1.4rem;
}
.product-card-cat {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.product-card-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}
.product-card-desc {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(28, 26, 23, 0.52);
  letter-spacing: 0.03em;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--charcoal);
}
.product-price span { color: var(--gold); font-weight: 400; }
.product-card-link {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(28, 26, 23, 0.45);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease, gap 0.3s ease;
}
.product-card-link .arrow {
  transition: transform 0.3s ease;
  font-style: normal;
}
.product-card:hover .product-card-link { color: var(--gold); gap: 0.7rem; }
.product-card:hover .product-card-link .arrow { transform: translateX(3px); }

/* Wide last card */
.products-grid .product-card:nth-child(7) .product-card-name {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

/* ── BRAND STRIP ── */
.brand-strip {
  padding: clamp(5rem, 9vw, 8rem) clamp(1.5rem, 4vw, 4rem);
  background: var(--ivory);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.brand-strip-inner {
  max-width: 720px;
  margin: 0 auto;
}
.brand-strip-quote {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.35;
  margin-bottom: 2.5rem;
}
.brand-strip-quote em {
  font-style: normal;
  color: var(--gold);
}
.brand-strip-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(198, 168, 75, 0.3);
  transition: border-color 0.3s ease, gap 0.3s ease;
}
.brand-strip-cta:hover {
  border-color: var(--gold);
  gap: 1.2rem;
}

/* ── COLLECTIONS PAGE ── */
.page-hero {
  padding: calc(var(--nav-height) + 4rem) clamp(1.5rem, 4vw, 4rem) 4rem;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 0.92;
}
.page-hero-title em {
  font-style: italic;
  color: var(--gold);
}
.page-hero-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(28, 26, 23, 0.45);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 1.5rem;
}

.collections-body {
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 4vw, 4rem);
  background: var(--ivory);
}
.collections-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── PRODUCT PAGE ── */
.product-page {
  padding-top: var(--nav-height);
  background: var(--ivory);
  min-height: 100vh;
}
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - var(--nav-height));
}
.product-gallery {
  position: sticky;
  top: var(--nav-height);
  height: calc(100vh - var(--nav-height));
  overflow: hidden;
  background: #d4cdc5;
}
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-luxury);
}
.product-gallery:hover img { transform: scale(1.03); }

.product-details {
  padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 4vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-category {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.product-name {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1.02;
  margin-bottom: 0.75rem;
}
.product-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--blush);
  margin-bottom: 2rem;
  font-weight: 300;
}
.product-price-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--charcoal);
  border-top: 1px solid rgba(198, 168, 75, 0.3);
  border-bottom: 1px solid rgba(198, 168, 75, 0.3);
  padding: 0.7rem 0;
  margin-bottom: 2rem;
}
.product-price-tag .gold { color: var(--gold); font-weight: 400; }

.product-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(28, 26, 23, 0.65);
  line-height: 1.95;
  margin-bottom: 2rem;
}
.product-details-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 2.5rem;
}
.product-details-list li {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(28, 26, 23, 0.55);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.product-details-list li::before {
  content: '';
  width: 14px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

.product-divider {
  width: 100%;
  height: 1px;
  background: rgba(28, 26, 23, 0.1);
  margin: 1.75rem 0;
}
.option-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  display: block;
}
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid rgba(28, 26, 23, 0.15);
  width: fit-content;
  margin-bottom: 2rem;
}
.qty-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--charcoal);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  user-select: none;
}
.qty-btn:hover { background: var(--charcoal); color: var(--ivory); }
.qty-val {
  width: 58px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
  border-left: 1px solid rgba(28, 26, 23, 0.15);
  border-right: 1px solid rgba(28, 26, 23, 0.15);
  user-select: none;
}
.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* ── BUTTONS ── */
.btn {
  width: 100%;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-dark {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}
.btn-dark:hover { background: var(--black); border-color: var(--black); }

.btn-gold {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.btn-gold:hover { background: #b89838; border-color: #b89838; }

.btn-whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}
.btn-whatsapp:hover { background: #1db954; border-color: #1db954; }

.btn-outline {
  background: transparent;
  color: var(--charcoal);
  border-color: rgba(28, 26, 23, 0.22);
}
.btn-outline:hover {
  background: var(--charcoal);
  color: var(--ivory);
  border-color: var(--charcoal);
}
.btn-outline-light {
  background: transparent;
  color: var(--cream);
  border-color: rgba(237, 232, 223, 0.25);
}
.btn-outline-light:hover {
  background: var(--cream);
  color: var(--black);
  border-color: var(--cream);
}

.btn-auto { width: auto; padding: 1rem 2rem; }

/* ── CART PAGE ── */
.page-dark-header {
  padding: calc(var(--nav-height) + 3rem) clamp(1.5rem, 4vw, 4rem) 3rem;
  background: var(--ivory);
  position: relative;
  overflow: hidden;
}
.page-dark-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300;
  color: var(--charcoal);
  line-height: 1;
}
.page-dark-title em { font-style: italic; color: var(--gold); }

.cart-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.cart-items { display: flex; flex-direction: column; gap: 0; }
.cart-item {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(28, 26, 23, 0.08);
  align-items: start;
}
.cart-item-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #d4cdc5;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-item-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}
.cart-item-sub {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 300;
  color: rgba(28, 26, 23, 0.45);
  margin-bottom: 1.1rem;
}
.cart-item-price {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  white-space: nowrap;
  padding-top: 0.2rem;
}
.cart-remove {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(28, 26, 23, 0.35);
  cursor: pointer;
  transition: color 0.2s ease;
  margin-top: 0.75rem;
  display: block;
  background: none;
  border: none;
}
.cart-remove:hover { color: #aa3333; }

.cart-summary {
  background: var(--cream);
  padding: 2rem;
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.summary-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(28, 26, 23, 0.08);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}
.summary-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(28, 26, 23, 0.55);
  letter-spacing: 0.04em;
}
.summary-value {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--charcoal);
}
.summary-divider {
  height: 1px;
  background: rgba(28, 26, 23, 0.08);
  margin: 1rem 0;
}
.summary-total .summary-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.summary-total .summary-value {
  font-size: 1rem;
  font-weight: 700;
}
.summary-total .summary-value span { color: var(--gold); }

.cart-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 7rem 2rem;
}
.cart-empty-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.cart-empty-text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(28, 26, 23, 0.5);
  margin-bottom: 2.5rem;
}

/* ── CHECKOUT PAGE ── */
.checkout-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem clamp(1.5rem, 4vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}
.checkout-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.form-block {
  display: flex;
  flex-direction: column;
}
.form-block-title {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(198, 168, 75, 0.18);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.form-group.full { grid-column: 1 / -1; }
.form-label {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(28, 26, 23, 0.55);
}
.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.88rem 1rem;
  background: var(--cream);
  border: 1px solid rgba(28, 26, 23, 0.1);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--charcoal);
  transition: border-color 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--gold); }
.form-textarea { height: 90px; resize: none; }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: '↓';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: rgba(28, 26, 23, 0.4);
  pointer-events: none;
}

/* Payment options */
.payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.payment-option {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(28, 26, 23, 0.1);
  cursor: pointer;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.payment-option:hover { border-color: rgba(198, 168, 75, 0.5); }
.payment-option.selected {
  border-color: var(--gold);
  background: rgba(198, 168, 75, 0.04);
}
.payment-radio {
  width: 17px;
  height: 17px;
  border: 1px solid rgba(28, 26, 23, 0.25);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: border-color 0.3s ease;
}
.payment-option.selected .payment-radio { border-color: var(--gold); }
.payment-option.selected .payment-radio::after {
  content: '';
  position: absolute;
  width: 7px; height: 7px;
  background: var(--gold);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.payment-info { flex: 1; }
.payment-name {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}
.payment-desc {
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 300;
  color: rgba(28, 26, 23, 0.48);
  line-height: 1.55;
}
.payment-cards {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.card-chip {
  padding: 2px 7px;
  background: white;
  border: 1px solid rgba(28, 26, 23, 0.1);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: 0.04em;
}
.card-chip.visa { color: #1a1f71; }
.card-chip.mc { color: #eb001b; }

/* ── CONFIRMATION PAGE ── */
.confirmation-page {
  min-height: 100vh;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.conf-inner {
  text-align: center;
  max-width: 580px;
  position: relative;
  z-index: 2;
}
.conf-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1px solid rgba(198, 168, 75, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2.5rem;
  font-size: 1.5rem;
  opacity: 0;
  transform: scale(0.8);
}
.conf-eyebrow {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(12px);
}
.conf-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  line-height: 0.92;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
}
.conf-sub {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(28, 26, 23, 0.55);
  line-height: 1.85;
  letter-spacing: 0.03em;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(12px);
}
.conf-order-id {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(198, 168, 75, 0.28);
  padding: 0.7rem 1.5rem;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(12px);
}
.conf-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
}

/* ── FOOTER ── */
footer {
  background: var(--cream);
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem) clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(28, 26, 23, 0.08);
}
.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(28, 26, 23, 0.08);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.85rem;
}
.footer-brand-text {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(28, 26, 23, 0.48);
  line-height: 1.85;
  letter-spacing: 0.03em;
}
.footer-col-heading {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(28, 26, 23, 0.48);
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  max-width: var(--max-width);
  margin: 2rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 0.62rem;
  color: rgba(28, 26, 23, 0.3);
  letter-spacing: 0.1em;
}

/* ── TOAST NOTIFICATION ── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--charcoal);
  color: var(--ivory);
  padding: 0.9rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  z-index: 9000;
  border-left: 2px solid var(--gold);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s var(--ease-luxury);
  pointer-events: none;
  max-width: 280px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .products-grid .product-card:nth-child(1) { grid-column: span 3; }
  .products-grid .product-card:nth-child(2) { grid-column: span 3; }
  .products-grid .product-card:nth-child(3) { grid-column: span 3; }
  .products-grid .product-card:nth-child(4) { grid-column: span 3; }
  .products-grid .product-card:nth-child(5) { grid-column: span 3; }
  .products-grid .product-card:nth-child(6) { grid-column: span 3; }
  .products-grid .product-card:nth-child(7) { grid-column: span 6; }
  .collections-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-body, .checkout-body { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > *:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-height: 62px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 0.85rem; }
  .products-grid .product-card:nth-child(n) { grid-column: span 1; }
  .products-grid .product-card:nth-child(7) { grid-column: span 2; }
  .products-grid .product-card:nth-child(7) .product-card-img { aspect-ratio: 16/9; }
  .collections-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery {
    position: relative;
    height: 65vw;
    min-height: 280px;
    top: auto;
  }
  .product-details { padding: 2rem 1.5rem; }
  .cart-item { grid-template-columns: 78px 1fr; grid-template-rows: auto auto; }
  .cart-item-price { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full { grid-column: 1; }
  .products-section-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .conf-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .products-grid,
  .collections-grid { grid-template-columns: 1fr; }
  .products-grid .product-card:nth-child(n) { grid-column: span 1; }
  .products-grid .product-card:nth-child(7) { grid-column: span 1; }
  .products-grid .product-card:nth-child(7) .product-card-img { aspect-ratio: 3/4; }
}

/* Touch devices: restore default cursor */
@media (hover: none) {
  body { cursor: auto; }
  button { cursor: pointer; }
  a { cursor: pointer; }
  .cursor, .cursor-ring { display: none !important; }
}

/* ── 3D CAROUSEL HERO ── */
:root {
  --carousel-z: 380px;
  --card-w: 200px;
  --card-h: 267px;
}
@media (max-width: 1100px) {
  :root { --carousel-z: 300px; --card-w: 175px; --card-h: 233px; }
}
@media (max-width: 800px) {
  :root { --carousel-z: 230px; --card-w: 148px; --card-h: 197px; }
}
@media (max-width: 520px) {
  :root { --carousel-z: 168px; --card-w: 118px; --card-h: 157px; }
}
@media (max-width: 380px) {
  :root { --carousel-z: 140px; --card-w: 98px; --card-h: 131px; }
}

.hero-3d {
  position: relative;
  height: 100vh;
  min-height: 640px;
  background: var(--ivory);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 68% 50%, rgba(45,74,62,0.10) 0%, transparent 72%),
    radial-gradient(ellipse 28% 28% at 12% 20%, rgba(198,168,75,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}
/* Left gradient for text legibility on desktop */
.hero-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(244,237,227,1.00) 0%,
    rgba(244,237,227,1.00) 32%,
    rgba(244,237,227,0.70) 44%,
    rgba(244,237,227,0.15) 58%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 6;
}
/* Text color overrides for light hero background */
.hero-3d .hero-title   { color: var(--charcoal); }
.hero-3d .hero-sub     { color: rgba(28,26,23,0.55); }
.hero-3d .hero-scroll  { color: rgba(28,26,23,0.38); }

/* Left editorial text column */
.hero-3d-left {
  position: absolute;
  left: clamp(2.5rem, 5vw, 6.5rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 400px;
  opacity: 0;
}
.hero-3d-left .hero-eyebrow { opacity: 0; transform: translateY(12px); }
.hero-3d-left .hero-title   { opacity: 0; transform: translateY(18px); font-size: clamp(3.5rem, 7.5vw, 8rem); }
.hero-3d-left .hero-sub     { opacity: 0; transform: translateY(10px); }
.hero-3d-left .hero-cta     { opacity: 0; transform: translateY(10px); margin-top: 2.5rem; }
.hero-3d .hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  z-index: 10;
}

/* 3D scene container — starts at 40% so it never covers the left text column */
.carousel-scene {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  left: 40%;
  perspective: 1100px;
  perspective-origin: 60% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 5;
}

/* Rotating ring */
.carousel-ring {
  position: relative;
  width: var(--card-w);
  height: var(--card-h);
  transform-style: preserve-3d;
  animation: spinCarousel 26s linear infinite;
  will-change: transform;
  pointer-events: auto;
  opacity: 0;
  opacity: 0;
}
.carousel-ring.paused { animation-play-state: paused; }
@keyframes spinCarousel {
  from { transform: rotateY(0deg); }
  to   { transform: rotateY(360deg); }
}

/* Each product slot */
.carousel-item {
  position: absolute;
  inset: 0;
  text-decoration: none;
  color: inherit;
}
.carousel-item:nth-child(1) { transform: rotateY(0deg)   translateZ(var(--carousel-z)); }
.carousel-item:nth-child(2) { transform: rotateY(60deg)  translateZ(var(--carousel-z)); }
.carousel-item:nth-child(3) { transform: rotateY(120deg) translateZ(var(--carousel-z)); }
.carousel-item:nth-child(4) { transform: rotateY(180deg) translateZ(var(--carousel-z)); }
.carousel-item:nth-child(5) { transform: rotateY(240deg) translateZ(var(--carousel-z)); }
.carousel-item:nth-child(6) { transform: rotateY(300deg) translateZ(var(--carousel-z)); }

/* Card face */
.carousel-card {
  width: var(--card-w);
  height: var(--card-h);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 22px 55px rgba(0,0,0,0.52),
    0 0 0 1px rgba(255,255,255,0.04);
  transition:
    transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.45s ease;
}
.carousel-item:hover .carousel-card {
  transform: scale(1.07);
  box-shadow:
    0 36px 76px rgba(0,0,0,0.72),
    0 0 40px rgba(201,168,76,0.14),
    0 0 0 1px rgba(201,168,76,0.2);
}
.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.carousel-item:hover .carousel-card img { transform: scale(1.05); }

/* Info overlay (revealed on hover) */
.carousel-card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.8rem 0.85rem 0.9rem;
  background: linear-gradient(to top, rgba(10,9,8,0.92) 0%, transparent 100%);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.carousel-item:hover .carousel-card-info {
  opacity: 1;
  transform: translateY(0);
}
.carousel-card-name {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.carousel-card-price {
  font-family: var(--font-body);
  font-size: 0.53rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: block;
}

/* Responsive hero layout shifts */
@media (max-width: 1000px) {
  .hero-3d { height: 82vh; min-height: 500px; }
  .carousel-scene {
    /* Restore full width on tablet/mobile — left column is no longer side-by-side */
    left: 0;
    /* 50% 50% avoids the 3D vertical perspective distortion that was pushing carousel down */
    perspective-origin: 50% 50%;
    align-items: center;
    justify-content: center;
    padding-top: 0;
  }
  .hero-3d::after {
    background: linear-gradient(
      to top,
      rgba(244,237,227,1.00) 0%,
      rgba(244,237,227,0.95) 30%,
      rgba(244,237,227,0.40) 55%,
      transparent 75%
    );
    z-index: 6;
  }
  .hero-3d-left {
    left: 50%;
    top: calc(var(--nav-height) + 1.5rem);
    bottom: auto;
    transform: translateX(-50%);
    text-align: center;
    max-width: min(90vw, 440px);
    background: transparent;
  }
  .hero-3d-left .hero-title { font-size: clamp(2rem, 7vw, 3.5rem); }
  .hero-3d-left .hero-sub { display: none; }
  /* Hide scroll indicator on tablet/mobile — it was creating a "|" line overlapping the hero text */
  .hero-3d .hero-scroll { display: none; }
}
@media (max-width: 600px) {
  .hero-3d { height: 75vh; min-height: 440px; }

  /* Flip the ≤1000px bottom-to-top ivory gradient so it covers the text area
     at the top and fades to transparent by 42% — letting the carousel show through */
  .hero-3d::after {
    background: linear-gradient(
      to bottom,
      rgba(244,237,227,0.98) 0%,
      rgba(244,237,227,0.85) 18%,
      rgba(244,237,227,0.35) 32%,
      transparent 44%
    );
  }

  /* Reset scene to full hero height (top:0 to bottom:0) — previous fix used
     top:auto which collapsed the scene to content height and anchored it at
     the bottom. align-items:center now vertically centers the ring in the
     full hero area, landing the carousel in the lower-center of the hero. */
  .carousel-scene {
    top: 0;
    padding-top: 0;
    align-items: center;
    perspective: 800px;
    perspective-origin: 50% 50%;
  }

  /* ≤1000px leaves hero-3d-left at bottom: clamp(1.5rem,4vh,3.5rem) and
     top: auto. Override both explicitly to pin text below the nav. */
  .hero-3d-left {
    position: absolute;
    top: calc(var(--nav-height) + 1.5rem);
    bottom: auto;
    left: 50%;
    width: 100%;
    max-width: 100%;
    transform: translateX(-50%);
    text-align: center;
    background: transparent;
    padding: 0 1rem;
  }
  .hero-3d-left .hero-cta { display: none; }
}

/* ── FLOATING WHATSAPP ── */
.floating-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 8000;
  box-shadow: 0 6px 24px rgba(37,211,102,0.38);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}
.floating-wa:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 12px 36px rgba(37,211,102,0.52);
}
@media (hover: none) {
  .floating-wa { cursor: pointer; }
}

/* ── VARIANT SELECTORS ── */
.variants-block {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}
.variant-group { display: flex; flex-direction: column; }
.variant-group .option-label { margin-bottom: 0.5rem; }
.variant-select-wrap {
  position: relative;
  max-width: 260px;
}
.variant-select-wrap::after {
  content: '↓';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: rgba(28,26,23,0.4);
  pointer-events: none;
}
.variant-select {
  width: 100%;
  padding: 0.82rem 2.5rem 0.82rem 1rem;
  background: var(--cream);
  border: 1px solid rgba(28,26,23,0.12);
  outline: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--charcoal);
  letter-spacing: 0.06em;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  cursor: pointer;
  transition: border-color 0.3s ease;
}
.variant-select:focus { border-color: var(--gold); }

/* ================================================
   OVERRIDES: LIGHT THEME · GRID · 8-ITEM CAROUSEL
   ================================================ */

/* Updated palette */
:root {
  --ivory:      #FAF7F2;
  --cream:      #FFFFFF;
  --linen:      #F5EFE8;
  --charcoal:   #1A1A1A;
  --gold:       #C9A84C;
  --blush:      #F2D4C8;
  --deep-green: #2D4A3E;
}

body { background: var(--ivory); color: var(--charcoal); }

/* ── SECTION BACKGROUNDS ── */
.products-section  { background: var(--ivory); }
.brand-strip       { background: var(--ivory); }
.related-section   { background: var(--linen); }
.collections-body  { background: var(--ivory); }

/* Collections page hero — light background */
.page-hero { background: var(--ivory); }
.page-hero .page-hero-sub { color: rgba(28,26,23,0.45); }

/* Product card on white */
.product-card { background: var(--cream); }

/* ── 4-COLUMN PRODUCT GRID ── */
.products-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 1rem;
}
/* Reset all existing asymmetric spans */
.products-grid .product-card:nth-child(n) { grid-column: span 1 !important; }
/* Last card (personalise) spans 2 for visual weight */
.products-grid .product-card:nth-child(7) { grid-column: span 2 !important; }

/* 3-col collections grid */
.collections-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.25rem;
}

/* Fixed 220px card image height */
.product-card-img {
  aspect-ratio: unset !important;
  height: 220px;
}

/* Compact card body */
.product-card-body { padding: 0.8rem 0.95rem 1rem; }
.product-card-name { font-size: 0.82rem !important; line-height: 1.25; }
.product-price     { font-size: 0.76rem !important; }
.product-card-desc { font-size: 0.64rem !important; margin-bottom: 0.65rem; }

/* ── 8-ITEM CAROUSEL ── */
/* Override rotations: 360 / 8 = 45deg per item */
:root {
  --carousel-z: 420px;
  --card-w:     200px;
  --card-h:     267px;
}
.carousel-item:nth-child(1) { transform: rotateY(0deg)   translateZ(var(--carousel-z)); }
.carousel-item:nth-child(2) { transform: rotateY(45deg)  translateZ(var(--carousel-z)); }
.carousel-item:nth-child(3) { transform: rotateY(90deg)  translateZ(var(--carousel-z)); }
.carousel-item:nth-child(4) { transform: rotateY(135deg) translateZ(var(--carousel-z)); }
.carousel-item:nth-child(5) { transform: rotateY(180deg) translateZ(var(--carousel-z)); }
.carousel-item:nth-child(6) { transform: rotateY(225deg) translateZ(var(--carousel-z)); }
.carousel-item:nth-child(7) { transform: rotateY(270deg) translateZ(var(--carousel-z)); }
.carousel-item:nth-child(8) { transform: rotateY(315deg) translateZ(var(--carousel-z)); }

/* Responsive carousel for 8 items */
@media (max-width: 1100px) {
  :root { --carousel-z: 320px; --card-w: 175px; --card-h: 233px; }
}
@media (max-width: 800px) {
  :root { --carousel-z: 260px; --card-w: 148px; --card-h: 197px; }
}
@media (max-width: 520px) {
  :root { --carousel-z: 200px; --card-w: 118px; --card-h: 157px; }
}
@media (max-width: 380px) {
  :root { --carousel-z: 165px; --card-w: 98px;  --card-h: 131px; }
}

/* ── RESPONSIVE GRID ── */
@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0.85rem;
  }
  .collections-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.85rem;
  }
  .products-grid .product-card:nth-child(7) { grid-column: span 3 !important; }
}
@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.65rem;
  }
  .collections-grid {
    grid-template-columns: 1fr !important;
    gap: 0.65rem;
  }
  .products-grid .product-card:nth-child(7) { grid-column: span 2 !important; }
}

/* ── BROKEN IMAGE FALLBACK ── */
.img-broken {
  background: var(--cream) !important;
  min-height: 220px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
}
.img-broken::after {
  content: 'Mon Bouquet';
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
  opacity: 0.55;
}

/* Ensure ALL product cards in grid have uniform image height */
.collections-grid .product-card-img,
.products-grid .product-card-img {
  height: 240px !important;
  aspect-ratio: unset !important;
}
.collections-grid .product-card-img img,
.products-grid .product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Broken image: hide the broken img element itself */
.collections-grid .product-card-img img.broken,
.products-grid .product-card-img img.broken {
  display: none;
}

/* ── SCROLL ANIMATIONS ── */
.animate-on-scroll {
  opacity: 0;
  transition:
    opacity 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: none !important;
}

/* Animation flavours */
.anim-fade-up    { transform: translateY(40px); }
.anim-slide-left { transform: translateX(-60px); }
.anim-scale      { transform: scale(0.96); }

/* Section title gold underline that draws in */
.section-eyebrow {
  position: relative;
  display: inline-block;
}
.section-eyebrow::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 700ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 350ms;
}
.section-eyebrow.in-view::after { width: 100%; }

/* Stagger delays for homepage product cards */
.products-grid .product-card:nth-child(1) { transition-delay: 0ms !important; }
.products-grid .product-card:nth-child(2) { transition-delay: 80ms !important; }
.products-grid .product-card:nth-child(3) { transition-delay: 160ms !important; }
.products-grid .product-card:nth-child(4) { transition-delay: 240ms !important; }
.products-grid .product-card:nth-child(5) { transition-delay: 0ms !important; }
.products-grid .product-card:nth-child(6) { transition-delay: 80ms !important; }
.products-grid .product-card:nth-child(7) { transition-delay: 160ms !important; }

/* ── COLLECTIONS NAVIGATOR (homepage) ── */
.collections-nav-section {
  padding: clamp(4rem, 7vw, 7rem) clamp(1.5rem, 4vw, 4rem);
  background: var(--cream);
}
.collections-nav-inner { max-width: var(--max-width); margin: 0 auto; }
.collections-nav-header { margin-bottom: 3rem; }
.collections-nav-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.col-nav-card {
  display: block;
  overflow: hidden;
  background: var(--ivory);
  transition: transform 0.45s var(--ease-luxury), box-shadow 0.45s ease;
}
.col-nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(14,13,11,0.10);
}
.col-nav-img {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.col-nav-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-luxury);
}
.col-nav-card:hover .col-nav-img img { transform: scale(1.06); }
.col-nav-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(14,13,11,0.52) 0%, transparent 55%);
}
.col-nav-body {
  padding: 0.85rem 0.9rem 1rem;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.col-nav-name {
  font-family: var(--font-display);
  font-size: clamp(0.85rem, 1.4vw, 1.05rem);
  font-weight: 400;
  color: var(--charcoal);
}
.col-nav-count {
  font-family: var(--font-body);
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
@media (max-width: 900px) {
  .collections-nav-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .collections-nav-grid { grid-template-columns: repeat(2, 1fr); gap: 0.65rem; }
}

/* ── SECTION PETALS (light sections) ── */
.section-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.section-petals span {
  position: absolute;
  top: -20px;
  display: block;
  border-radius: 50% 10% 50% 10%;
  opacity: 0;
  animation: sectionPetalFall linear infinite;
  will-change: transform, opacity;
}
@keyframes sectionPetalFall {
  0%   { transform: translateY(0) rotate(0deg) translateX(0); opacity: 0; }
  8%   { opacity: 1; }
  50%  { transform: translateY(50vh) rotate(200deg) translateX(18px); opacity: 0.55; }
  90%  { opacity: 0.15; }
  100% { transform: translateY(105vh) rotate(420deg) translateX(-10px); opacity: 0; }
}
/* Ensure sections that contain petals clip them */
.hero-3d, .page-hero, .page-dark-header, .brand-strip, .confirmation-page {
  position: relative;
}

/* ── MOBILE HERO OVERRIDE (must stay last) ── */
@media (max-width: 600px) {
  .hero-3d {
    height: 88vh !important;
  }
  .carousel-scene {
    top: 50% !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    align-items: flex-start !important;
    padding-top: 0 !important;
    justify-content: center !important;
  }
  .hero-3d-left {
    top: calc(62px + 1.5rem) !important;
    bottom: auto !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1.5rem !important;
  }
  .hero-3d-left .hero-sub {
    display: none !important;
  }
  .products-section {
    padding-top: 2rem !important;
  }
  .hero-3d::after {
    background: linear-gradient(
      to bottom,
      rgba(244,237,227,0.98) 0%,
      rgba(244,237,227,0.85) 22%,
      rgba(244,237,227,0.20) 38%,
      transparent 50%
    ) !important;
  }
}
