:root {
  --bg: #0a0a0c;
  --bg-soft: #121216;
  --bg-card: #15151a;
  --line: #26262d;
  --text: #ece8df;
  --muted: #9a968c;
  --gold: #c9a24b;
  --gold-light: #e6c873;
  --danger: #e0786b;
  --serif: "Cinzel", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --top-h: 6.6rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: 0.06em; margin: 0; }
button { font-family: inherit; }
:focus-visible { outline: 1px solid var(--gold-light); outline-offset: 3px; }

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.eyebrow {
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

/* ---------- Top: announce + header ---------- */
.top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
}

.announce {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.6rem 1rem;
  background: linear-gradient(100deg, #a07d2c 0%, #e8cd84 22%, #f7e6a6 50%, #dcb84a 78%, #a07d2c 100%);
  background-size: 220% 100%;
  animation: shimmer 9s ease-in-out infinite alternate;
  color: #1a1306;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}
.announce .dot { font-size: 0.55rem; opacity: 0.65; }

@keyframes shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.site-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "nav brand cart";
  align-items: center;
  padding: 0.7rem 5vw;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.site-header.scrolled {
  background: rgba(10, 10, 12, 0.95);
  border-bottom-color: var(--line);
}

.brand {
  grid-area: brand;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.4em;
  margin-right: -0.4em;
  color: var(--gold);
}
.brand-sub {
  margin-top: 0.4rem;
  font-size: 0.52rem;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav { grid-area: nav; justify-self: start; display: flex; gap: 2.2rem; }
.nav a {
  position: relative;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold-light); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }

.cart-btn, .menu-btn {
  position: relative;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--gold);
  cursor: pointer;
  transition: color 0.2s;
}
.cart-btn { grid-area: cart; justify-self: end; }
.menu-btn { grid-area: nav; justify-self: start; display: none; }
.cart-btn:hover, .menu-btn:hover { color: var(--gold-light); }
.cart-btn svg { width: 32px; height: 32px; }
.menu-btn svg { width: 28px; height: 28px; }
.cart-count {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.72rem;
  font-weight: 500;
  line-height: 1;
  color: var(--gold-light);
}

@media (prefers-reduced-motion: reduce) {
  .announce { animation: none; }
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  display: none;
  background: rgba(10, 10, 12, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 6vw 1.6rem;
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.05rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.mobile-menu .social-row { margin-top: 1.4rem; justify-content: center; }

/* ---------- Social ---------- */
.social-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.8rem; }
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: border-color 0.25s, color 0.25s;
}
.social-link svg { width: 20px; height: 20px; color: var(--gold); }
.social-link:hover { border-color: var(--gold); color: var(--gold-light); }


/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--gold);
  transition: all 0.25s;
  text-align: center;
}
.btn-gold { background: var(--gold); color: #0a0a0c; font-weight: 500; }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-gold:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-outline { background: transparent; color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #0a0a0c; }
.btn-block { display: block; width: 100%; }

.icon-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.3rem 0.5rem;
}
.icon-btn:hover { color: var(--gold-light); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--top-h) + 3rem) 6vw 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 55% 45% at 50% 42%, rgba(201, 162, 75, 0.2), transparent 70%),
    var(--bg);
  animation: glow 7s ease-in-out infinite alternate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.045;
  background-image:
    linear-gradient(45deg, var(--gold) 1px, transparent 1px),
    linear-gradient(-45deg, var(--gold) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000, transparent 80%);
}
.hero-word {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--serif);
  font-size: clamp(5rem, 24vw, 21rem);
  letter-spacing: 0.08em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 75, 0.14);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.6rem);
  line-height: 1.2;
  margin-bottom: 1.6rem;
}
.hero-text { max-width: 540px; color: var(--muted); margin: 0 0 2.6rem; }

@keyframes glow {
  from { opacity: 0.7; transform: scale(1); }
  to { opacity: 1; transform: scale(1.06); }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--bg-soft);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee-track span {
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  padding: 0 1.6rem;
}
.marquee-track .sep { color: var(--muted); padding: 0; }

@keyframes slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 6rem 6vw; max-width: 1240px; margin: 0 auto; }
.section-center { text-align: center; }
.section h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); margin-bottom: 1.4rem; }
.section-intro { max-width: 620px; margin: 0 auto; color: var(--muted); }
.page-top { padding-top: calc(var(--top-h) + 3rem); }

/* ---------- Reveal on scroll ---------- */
.has-layout .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.has-layout .reveal.in { opacity: 1; transform: none; }

/* ---------- Filters ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.chip {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.6rem 1.3rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.chip:hover { border-color: var(--gold); color: var(--text); }
.chip.active { background: var(--gold); border-color: var(--gold); color: #0a0a0c; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  text-align: left;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s;
}
.product-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.product-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0d0d10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-media img { width: 100%; height: 100%; object-fit: cover; }

.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  letter-spacing: 0.4em;
  font-size: 1.3rem;
  color: var(--gold);
  background: radial-gradient(circle at 50% 40%, rgba(201, 162, 75, 0.18), #0d0d10 70%);
}
.product-card[data-theme="ice"] .product-placeholder {
  background: radial-gradient(circle at 50% 40%, rgba(120, 170, 220, 0.2), #0b0e14 70%);
}
.product-card[data-theme="oud"] .product-placeholder {
  background: radial-gradient(circle at 50% 40%, rgba(214, 140, 60, 0.22), #120d08 70%);
}

.product-body { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.product-name { font-size: 1.15rem; letter-spacing: 0.08em; }
.product-notes { color: var(--gold); font-size: 0.8rem; letter-spacing: 0.08em; margin: 0; }
.product-desc { color: var(--muted); font-size: 0.9rem; margin: 0.3rem 0 0; }
.product-foot {
  margin-top: auto;
  padding-top: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.product-price { font-family: var(--serif); font-size: 1.1rem; }
.btn-add { padding: 0.7rem 1.2rem; font-size: 0.7rem; }
.out-of-stock { color: var(--danger); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; }
.empty-state { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 3rem 0; }


/* ---------- Overlay / drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); z-index: 50; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100%);
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
  z-index: 60;
  display: flex;
  flex-direction: column;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--line);
}
.drawer-head h3 { font-size: 1.1rem; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.6rem; }
.cart-empty { color: var(--muted); text-align: center; margin-top: 3rem; }

.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.cart-item-name { font-family: var(--serif); letter-spacing: 0.05em; }
.cart-item-price { color: var(--muted); font-size: 0.88rem; }
.cart-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem; }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty-btn { background: none; border: none; color: var(--text); width: 2rem; height: 2rem; font-size: 1rem; cursor: pointer; }
.qty-btn:hover { color: var(--gold-light); }
.qty span { min-width: 1.8rem; text-align: center; font-size: 0.9rem; }

.remove-btn {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-decoration: underline;
}
.remove-btn:hover { color: var(--danger); }

.drawer-foot { padding: 1.4rem 1.6rem 1.8rem; border-top: 1px solid var(--line); }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.6rem; }
.cart-total-row strong { font-family: var(--serif); font-size: 1.3rem; color: var(--gold-light); font-weight: 400; }
.drawer-foot .btn-block { margin-top: 1rem; }

/* ---------- Checkout modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.75);
  overflow-y: auto;
}
.modal-box {
  position: relative;
  width: min(480px, 100%);
  max-height: 100%;
  overflow-y: auto;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  padding: 2.2rem;
}
.modal-close { position: absolute; top: 0.8rem; right: 0.8rem; }
.modal-box h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }

form label {
  display: block;
  margin: 1.1rem 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
form input, form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.8rem 0.9rem;
  font: inherit;
  font-weight: 300;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--gold); }
form textarea { resize: vertical; }

.summary { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.sum-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 0.45rem; font-size: 0.9rem; color: var(--muted); }
.sum-row span:last-child { color: var(--text); text-align: right; }
.summary .cart-total-row { margin-top: 0.8rem; padding-top: 0.8rem; border-top: 1px dashed var(--line); }

/* Ville : liste déroulante (zones de livraison) */
form select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c9a24b' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.8rem center / 16px;
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  padding: 0.8rem 2.4rem 0.8rem 0.9rem;
  font: inherit;
  font-weight: 300;
  cursor: pointer;
}
form select:focus { outline: none; border-color: var(--gold); }
form select option { background: var(--bg-soft); color: var(--text); }
.delivery-info { margin: 0.6rem 0 0; font-size: 0.82rem; color: var(--gold-light); }

/* Panier : progression vers la livraison offerte */
.free-note { margin: 0.2rem 0 0.8rem; }
.free-note p { margin: 0 0 0.45rem; font-size: 0.82rem; color: var(--gold-light); }
.free-track { height: 2px; background: var(--line); overflow: hidden; }
.free-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #a8832c, #f6dd8a); transition: width 0.4s ease; }
.free-note.done .free-fill { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .free-fill { transition: none; } }
.form-error { color: var(--danger); font-size: 0.9rem; margin: 0.6rem 0; }
#submit-order { margin-top: 1rem; }

.order-success { text-align: center; padding: 1rem 0; }
.order-success h3 { margin-bottom: 1rem; }
.order-success p { color: var(--muted); }
.order-success .btn { margin-top: 1.6rem; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  :root { --top-h: 6.2rem; }

  .announce {
    gap: 0.4rem;
    padding: 0.5rem 0.6rem;
    font-size: 0.54rem;
    letter-spacing: 0.1em;
    line-height: 1.3;
  }

  .site-header { padding: 0.55rem 4vw; }
  .menu-btn { display: flex; }
  .nav { display: none; }
  .brand-name { font-size: 1.35rem; letter-spacing: 0.34em; margin-right: -0.34em; }
  .brand-sub { font-size: 0.46rem; letter-spacing: 0.4em; margin-right: -0.4em; }

  .mobile-menu:not([hidden]) { display: block; }

  .hero { padding-top: calc(var(--top-h) + 2rem); }
  .section { padding: 4.5rem 6vw; }
  .product-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .modal-box { padding: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before, .marquee-track { animation: none; }
  .has-layout .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== GOLD GRADIENT START ===== */
:root {
  --gold-grad: linear-gradient(100deg, #6f5420 0%, #a8883d 30%, #c9a24b 52%, #a8883d 74%, #6f5420 100%);
  --gold-grad-text: linear-gradient(100deg, #8a6a24 0%, #c9a24b 45%, #d9bb6a 60%, #a8883d 100%);
}

.announce {
  background: var(--gold-grad);
  background-size: 180% 100%;
  animation-duration: 16s;
  color: #14100a;
}

.btn-gold {
  background: var(--gold-grad);
  background-size: 160% 100%;
  border-color: #8a6a24;
  color: #14100a;
}
.btn-gold:hover {
  background: var(--gold-grad);
  background-size: 160% 100%;
  background-position: 100% 50%;
  border-color: #a8883d;
  filter: brightness(1.1);
}

.brand-name {
  background: var(--gold-grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.chip.active {
  background: var(--gold-grad);
  border-color: #8a6a24;
  color: #14100a;
}

.section-center h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 1px;
  margin: 1.1rem auto 0;
  background: var(--gold-grad);
}
/* ===== GOLD GRADIENT END ===== */

/* ===== HERO TEXT START ===== */
:root {
  --bg: #050507;
  --bg-soft: #0b0b0e;
  --bg-card: #0f0f13;
  --line: #22222a;
  --white: #f6f3ec;
}

/* Logo dessiné en code, fixe pendant le scroll */
.bg-logo {
  position: fixed;
  top: 47%;
  left: 50%;
  translate: -50% -50%;
  width: min(80vmin, 720px);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  animation: logoIn 4.5s cubic-bezier(0.22, 0.61, 0.36, 1) 0.3s forwards;
}
.bg-logo svg { display: block; width: 100%; height: auto; opacity: 0.38; }

.bg-logo .draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawLine 4.5s cubic-bezier(0.45, 0, 0.2, 1) 0.6s forwards;
}
.bg-logo .fade {
  opacity: 0;
  animation: fadeIn 3s ease 2.4s forwards;
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(60px) scale(0.97); }
  to { opacity: 1; transform: none; }
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }

/* Hero : fond noir, lueur dorée très discrète */
.hero-word { display: none; }
.hero::before {
  background: radial-gradient(ellipse 42% 32% at 50% 44%, rgba(201, 162, 75, 0.08), transparent 70%);
  animation: none;
}
.hero::after { opacity: 0.025; }

/* Typographie du hero */
.hero h1 {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0;
}
.h1-line { display: block; }
.h1-main {
  font-size: clamp(1.9rem, 4.4vw, 3.7rem);
  line-height: 1.22;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

/* Ligne dorée brillante */
.h1-gold {
  margin-top: 1.7rem;
  padding-bottom: 0.25em;
  font-weight: 600;
  font-size: clamp(0.9rem, 1.55vw, 1.2rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #e6c873;
  background-image: linear-gradient(100deg, #b8902f 0%, #f0d27a 28%, #fff3bf 46%, #e8c45c 60%, #b8902f 100%);
  background-size: 230% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-family: var(--serif);
  font-size: 0.85rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 0.9rem;
}
.hero-text {
  font-size: 0.98rem;
  max-width: 460px;
  color: var(--white);
  opacity: 0.88;
  margin: 0 0 2.8rem;
}

/* Entrée lente, ligne après ligne */
.hero .anim {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(10px);
  animation: heroIn 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  animation-delay: var(--d, 0s);
}
.hero .anim.soft { filter: none; animation-name: heroInSoft; }

.hero .h1-gold.anim {
  animation: heroIn 1.6s cubic-bezier(0.22, 0.61, 0.36, 1) forwards, goldShine 7s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s), 3.2s;
}

@keyframes heroIn {
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes heroInSoft {
  to { opacity: 1; transform: none; }
}
@keyframes goldShine {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@media (max-width: 720px) {
  .bg-logo { top: 44%; width: min(96vw, 520px); }
  .hero {
    padding: calc(var(--top-h) + 2.5rem) 7vw 4rem;
    justify-content: center;
  }
  .h1-main { font-size: clamp(1.55rem, 7.4vw, 2.2rem); line-height: 1.25; letter-spacing: 0.04em; }
  .h1-gold { margin-top: 1.4rem; font-size: 0.76rem; letter-spacing: 0.2em; line-height: 1.8; }
  .hero-lead { font-size: 0.7rem; letter-spacing: 0.26em; }
  .hero-text { font-size: 0.92rem; margin-bottom: 2.2rem; }
  .hero .btn { width: 100%; max-width: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  .bg-logo, .bg-logo .fade { animation: none; opacity: 1; }
  .bg-logo .draw { animation: none; stroke-dashoffset: 0; }
  .hero .anim, .hero .h1-gold.anim { opacity: 1; transform: none; filter: none; animation: none; }
}
/* ===== HERO TEXT END ===== */

/* ===== LOGO SVG START ===== */
.bg-logo { display: none; }

.intro {
  position: relative;
  height: 100vh;
  height: 100svh;
}
.intro-stage {
  position: absolute;
  inset: var(--top-h) 0 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity, filter;
}
.intro-logo {
  width: min(78vw, 640px);
  aspect-ratio: 1835 / 1315;
  opacity: 0;
  animation: introLogo 1s ease 0.1s forwards;
}
.intro-logo svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 5px rgba(230, 200, 115, 0.5));
  animation: glowPulse 3.6s ease-in-out 2.3s infinite alternate;
}
@keyframes introLogo { to { opacity: 1; } }
@keyframes glowPulse {
  from { filter: drop-shadow(0 0 4px rgba(230, 200, 115, 0.35)); }
  to { filter: drop-shadow(0 0 14px rgba(240, 215, 130, 0.75)); }
}

/* Contours : fondu doux + tracé, flacon puis nom (environ 2 secondes) */
.logo-line {
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: lineDraw 1.15s cubic-bezier(0.4, 0, 0.2, 1) forwards, lineFade 0.7s ease forwards;
  animation-delay: var(--ld, 0.15s), var(--ld, 0.15s);
}
.logo-text {
  opacity: 0;
  stroke-dasharray: 12000;
  stroke-dashoffset: 12000;
  animation: textDraw 1.1s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards, lineFade 0.7s ease 1s forwards;
}
@keyframes lineDraw { to { stroke-dashoffset: 0; } }
@keyframes textDraw { to { stroke-dashoffset: 0; } }
@keyframes lineFade { to { opacity: 1; } }

.scroll-hint {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--serif);
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: hintIn 1.2s ease 2.3s forwards;
}
.scroll-hint i {
  display: block;
  width: 1px;
  height: 44px;
  background: linear-gradient(var(--gold), transparent);
  transform-origin: top;
  animation: hintLine 2.4s ease-in-out infinite;
}
@keyframes hintIn { to { opacity: 0.85; } }
@keyframes hintLine {
  0% { transform: scaleY(0); opacity: 1; }
  60% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

body:has(.intro) .top {
  opacity: 0;
  animation: topIn 1.4s ease 1.2s forwards;
}
@keyframes topIn { to { opacity: 1; } }

.hero:not(.play) .anim { animation-play-state: paused; }

.no-intro .intro { display: none; }
.no-intro .top { opacity: 1; animation: none; }

@media (max-width: 720px) {
  .intro-logo { width: min(92vw, 460px); }
}

@media (prefers-reduced-motion: reduce) {
  .intro-logo, .scroll-hint { animation: none; opacity: 1; }
  .logo-line, .logo-text { animation: none; opacity: 1; stroke-dashoffset: 0; }
  .intro-logo svg { animation: none; }
  .scroll-hint i { animation: none; }
  body:has(.intro) .top { opacity: 1; animation: none; }
}
/* ===== LOGO SVG END ===== */

/* ===== UNIVERSES START ===== */
.universes { padding-top: 7rem; padding-bottom: 7rem; }

.universes h2.reveal { filter: blur(8px); }
.universes h2.reveal.in { filter: blur(0); }
.universes .reveal { transition: opacity 1.1s ease, transform 1.1s ease, filter 1.1s ease; transition-delay: var(--d, 0s); }

.universe-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 3.5rem;
  text-align: left;
}

/* Les cartes entrent une par une (animation dédiée, le hover reste libre) */
.universes .u-card.reveal {
  opacity: 0;
  transform: none;
  transition: transform 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
  transition-delay: 0s;
}
.universes .u-card.reveal.in {
  animation: uIn 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: var(--d, 0s);
}
@keyframes uIn {
  from { opacity: 0; translate: 0 36px; filter: blur(8px); }
  to { opacity: 1; translate: 0 0; filter: blur(0); }
}

.u-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
}

/* Lignes dorées qui se tracent */
.u-card::before, .u-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold-grad, linear-gradient(90deg, #6f5420, #c9a24b, #6f5420));
  transform: scaleX(0);
  z-index: 2;
}
.u-card::before { top: 0; transform-origin: left; }
.u-card::after { bottom: 0; transform-origin: right; }
.u-card.in::before, .u-card.in::after {
  animation: lineGrow 1.5s cubic-bezier(0.45, 0, 0.2, 1) both;
  animation-delay: calc(var(--d, 0s) + 0.6s);
}
@keyframes lineGrow { to { transform: scaleX(1); } }

.u-art {
  position: relative;
  aspect-ratio: 5 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.u-card[data-cat="homme"] .u-art { background: radial-gradient(circle at 50% 42%, rgba(120, 150, 200, 0.16), #0a0b10 72%); }
.u-card[data-cat="femme"] .u-art { background: radial-gradient(circle at 50% 42%, rgba(200, 130, 150, 0.15), #0e0a0c 72%); }
.u-card[data-cat="mixte"] .u-art { background: radial-gradient(circle at 50% 42%, rgba(201, 162, 75, 0.17), #0d0b07 72%); }

.u-num {
  font-family: var(--serif);
  font-size: clamp(3.6rem, 7vw, 5.4rem);
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 75, 0.6);
  transition: transform 0.6s ease, -webkit-text-stroke-color 0.4s;
}

.u-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.u-body h3 { font-size: 1.3rem; letter-spacing: 0.12em; text-transform: uppercase; }
.u-body p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.u-btn {
  margin-top: auto;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  transition: background 0.35s, color 0.35s;
}

.u-card:hover { border-color: rgba(201, 162, 75, 0.6); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
@media (hover: hover) {
  .u-card:hover { transform: translateY(-6px); }
  .u-card:hover .u-num { transform: scale(1.06); -webkit-text-stroke-color: rgba(240, 215, 130, 0.95); }
  .u-card:hover .u-btn { background: var(--gold); color: #0a0a0c; }
}

@media (max-width: 720px) {
  .universes { padding-top: 5rem; padding-bottom: 5rem; }
  .universe-grid { grid-template-columns: 1fr; gap: 1.4rem; margin-top: 2.5rem; }
  .u-art { aspect-ratio: 16 / 9; }
  .universes .u-card.reveal.in { animation-delay: 0s; }
  .u-card.in::before, .u-card.in::after { animation-delay: 0.5s; }
}

@media (prefers-reduced-motion: reduce) {
  .universes .u-card.reveal, .universes .u-card.reveal.in { opacity: 1; animation: none; }
  .u-card::before, .u-card::after { transform: scaleX(1); animation: none; }
}
/* ===== UNIVERSES END ===== */

/* ===== MANIFEST START ===== */
.manifest {
  padding: 8rem 6vw;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse 50% 70% at 50% 50%, rgba(201, 162, 75, 0.05), transparent 70%);
}
.has-layout .manifest .m-inner.reveal { opacity: 1; transform: none; transition: none; }
.m-inner { max-width: 980px; margin: 0 auto; }

.m-eyebrow { opacity: 0; transition: opacity 1.4s ease; }
.m-inner.in .m-eyebrow { opacity: 1; }

.m-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 4.4vw, 3.3rem);
  line-height: 1.3;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white, #f6f3ec);
  margin: 0 0 2rem;
}
.m-title .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  filter: blur(8px);
}
.m-inner.in .m-title .w {
  animation: wIn 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  animation-delay: calc(0.35s + var(--i) * 0.16s);
}
@keyframes wIn { to { opacity: 1; transform: none; filter: blur(0); } }

.m-line {
  display: block;
  width: 88px;
  height: 1px;
  margin: 0 auto 1.8rem;
  background: var(--gold-grad, linear-gradient(90deg, #6f5420, #c9a24b, #6f5420));
  transform: scaleX(0);
}
.m-inner.in .m-line { animation: mLine 1.4s cubic-bezier(0.45, 0, 0.2, 1) 1.7s both; }
@keyframes mLine { to { transform: scaleX(1); } }

.m-sub {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  opacity: 0;
}
.m-inner.in .m-sub { animation: mSub 1.4s ease 2.2s both; }
@keyframes mSub { to { opacity: 1; } }

@media (max-width: 720px) {
  .manifest { padding: 5rem 7vw; }
  .m-title { font-size: clamp(1.45rem, 7vw, 2rem); letter-spacing: 0.04em; }
  .m-inner.in .m-title .w { animation-delay: calc(0.3s + var(--i) * 0.13s); }
}

@media (prefers-reduced-motion: reduce) {
  .m-eyebrow, .m-sub { opacity: 1; transition: none; animation: none; }
  .m-title .w { opacity: 1; transform: none; filter: none; animation: none; }
  .m-line { transform: scaleX(1); animation: none; }
}
/* ===== MANIFEST END ===== */

/* ===== COLLECTION PAGE START ===== */
.collection-head {
  text-align: center;
  padding: calc(var(--top-h) + 4rem) 6vw 2.4rem;
  max-width: 920px;
  margin: 0 auto;
}
.h-title {
  font-size: clamp(1.9rem, 4.8vw, 3.4rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white, #f6f3ec);
  margin: 0 0 1.4rem;
}
.h-line {
  display: block;
  width: 70px;
  height: 1px;
  margin: 0 auto 1.4rem;
  background: var(--gold-grad, linear-gradient(90deg, #6f5420, #c9a24b, #6f5420));
}
.h-sub { margin: 0 auto; max-width: 520px; color: var(--muted); }

.collection-head.swap .h-eyebrow,
.collection-head.swap .h-title,
.collection-head.swap .h-sub { animation: headIn 1s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.collection-head.swap .h-title { animation-delay: 0.12s; }
.collection-head.swap .h-sub { animation-delay: 0.26s; }
.collection-head.swap .h-line { animation: lineIn 1s cubic-bezier(0.45, 0, 0.2, 1) 0.2s both; transform-origin: center; }
@keyframes headIn {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes lineIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Barre de filtres fixe */
.filters-bar {
  position: sticky;
  top: var(--top-h);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 6vw;
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filters-bar .filters { margin: 0; gap: 2.6rem; }
.filters-bar .chip {
  position: relative;
  background: none;
  border: none;
  padding: 1rem 0.2rem;
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.filters-bar .chip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.55rem;
  height: 1px;
  background: var(--gold-grad, #c9a24b);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.filters-bar .chip:hover { color: var(--text); background: none; border: none; }
.filters-bar .chip.active { background: none; color: var(--gold-light); }
.filters-bar .chip.active::after, .filters-bar .chip:hover::after { transform: scaleX(1); }
.filters-bar .count {
  position: absolute;
  right: 6vw;
  margin: 0;
  min-height: 0;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.collection-body { padding-top: 3rem; padding-bottom: 6rem; min-height: 55vh; }
.collection-body .product-grid { margin-top: 0; }

/* Cartes */
.collection-body .product-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
  animation: cardIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
  animation-delay: calc(var(--i, 0) * 80ms);
}
.collection-body .product-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: var(--gold-grad, #c9a24b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.collection-body .product-media { position: relative; }
.collection-body .product-placeholder {
  font-size: clamp(2.6rem, 5vw, 4rem);
  letter-spacing: 0.1em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201, 162, 75, 0.55);
}
.card-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 2;
  padding: 0.3rem 0.6rem;
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 75, 0.55);
  background: rgba(5, 5, 7, 0.68);
  backdrop-filter: blur(4px);
}
.collection-body .product-name { font-size: 1.08rem; letter-spacing: 0.1em; text-transform: uppercase; }
.collection-body .product-notes { font-size: 0.78rem; letter-spacing: 0.1em; }
.collection-body .btn-add {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  transition: background 0.35s, color 0.35s;
}
@media (hover: hover) {
  .collection-body .product-card:hover { transform: translateY(-6px); border-color: rgba(201, 162, 75, 0.6); box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5); }
  .collection-body .product-card:hover::after { transform: scaleX(1); }
  .collection-body .product-card:hover .btn-add { background: var(--gold-grad, var(--gold)); color: #14100a; }
}

@media (max-width: 720px) {
  .collection-head { padding-top: calc(var(--top-h) + 2.4rem); padding-bottom: 1.6rem; }
  .filters-bar { padding: 0 4vw; }
  .filters-bar .filters { gap: 1.3rem; }
  .filters-bar .chip { font-size: 0.66rem; letter-spacing: 0.18em; padding: 0.9rem 0.1rem; }
  .filters-bar .count { display: none; }

  .collection-body { padding: 1.6rem 4vw 4rem; }
  .collection-body .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem; }
  .collection-body .product-body { padding: 0.9rem 0.8rem 1rem; gap: 0.35rem; }
  .collection-body .product-desc { display: none; }
  .collection-body .product-name { font-size: 0.88rem; letter-spacing: 0.06em; }
  .collection-body .product-notes { font-size: 0.68rem; letter-spacing: 0.04em; }
  .collection-body .product-foot { flex-direction: column; align-items: stretch; gap: 0.6rem; padding-top: 0.6rem; }
  .collection-body .product-price { font-size: 0.95rem; }
  .collection-body .btn-add { width: 100%; padding: 0.65rem 0.5rem; font-size: 0.64rem; letter-spacing: 0.16em; }
  .card-tag { top: 0.5rem; left: 0.5rem; font-size: 0.5rem; padding: 0.22rem 0.42rem; letter-spacing: 0.16em; }
}

@media (prefers-reduced-motion: reduce) {
  .collection-body .product-card, .collection-head.swap * { animation: none; }
}
/* ===== COLLECTION PAGE END ===== */

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

.collection-tools { max-width: 1240px; margin: 0 auto; padding: 1.8rem 6vw 0; }
.tools-row { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; }
.tools-right { display: flex; align-items: center; gap: 0.8rem; }

.search input {
  width: min(360px, 70vw);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 0.7rem 0.1rem;
  font: inherit;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border-radius: 0;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-bottom-color: var(--gold); }

.sort select {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 0.7rem 1rem;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
}
.sort select:focus { outline: none; border-color: var(--gold); }

.f-open {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  padding: 0.7rem 1.3rem;
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.f-open:hover { background: var(--gold); color: #0a0a0c; }
.f-badge {
  display: inline-block;
  min-width: 1.4em;
  margin-left: 0.5rem;
  padding: 0 0.35em;
  background: var(--gold);
  color: #0a0a0c;
  font-size: 0.66rem;
  line-height: 1.5;
  text-align: center;
  border-radius: 999px;
}
.f-open:hover .f-badge { background: #0a0a0c; color: var(--gold); }

.active-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.1rem; }
.a-chip {
  background: none;
  border: 1px solid rgba(201, 162, 75, 0.5);
  color: var(--gold-light);
  padding: 0.35rem 0.75rem;
  font: inherit;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.25s, background 0.25s;
}
.a-chip:hover { border-color: var(--gold-light); background: rgba(201, 162, 75, 0.1); }
.a-clear {
  background: none;
  border: none;
  color: var(--muted);
  font: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.35rem 0.4rem;
}
.a-clear:hover { color: var(--gold-light); }

/* Panneau */
.f-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.65); z-index: 56; }
.fpanel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(400px, 100%);
  background: var(--bg-soft);
  border-left: 1px solid var(--line);
  z-index: 66;
  display: flex;
  flex-direction: column;
}
.fp-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.6rem; border-bottom: 1px solid var(--line); }
.fp-head h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.2em; }
.fp-groups { flex: 1; overflow-y: auto; padding: 0.4rem 1.6rem 1.2rem; }
.fg-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 1.7rem 0 0.8rem;
}
.fg-opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opt {
  background: none;
  border: 1px solid var(--line);
  color: var(--muted);
  padding: 0.55rem 0.95rem;
  font: inherit;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.opt:hover { border-color: var(--gold); color: var(--text); }
.opt[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-light); background: rgba(201, 162, 75, 0.12); }
.fp-foot { display: flex; gap: 0.8rem; padding: 1.1rem 1.6rem 1.4rem; border-top: 1px solid var(--line); }
.fp-foot .btn { flex: 1; padding: 0.85rem 0.6rem; font-size: 0.72rem; letter-spacing: 0.16em; }

@media (max-width: 720px) {
  .collection-tools { padding: 1.2rem 4vw 0; }
  .tools-row { flex-direction: column; align-items: stretch; gap: 0.9rem; }
  .search input { width: 100%; }
  .tools-right { justify-content: space-between; }
  .sort { flex: 1; }
  .sort select { width: 100%; }
  .fpanel {
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 86vh;
    border-left: none;
    border-top: 1px solid var(--line);
  }
}
/* ===== FILTERS END ===== */

/* ===== PRODUCT PAGE START ===== */
.product-name a { color: inherit; transition: color 0.25s; }
.product-name a:hover { color: var(--gold-light); }
.product-media-link { display: block; }

.crumbs {
  max-width: 1240px;
  margin: 0 auto;
  padding: calc(var(--top-h) + 2.2rem) 6vw 0;
  display: flex;
  gap: 0.7rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.crumbs a:hover { color: var(--gold-light); }

.pp { max-width: 1240px; margin: 0 auto; padding: 2rem 6vw 4rem; }
.pp-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 4rem; align-items: start; }

.pp-gallery { position: sticky; top: calc(var(--top-h) + 1.5rem); animation: ppFade 0.6s ease both; }
@keyframes ppFade { from { opacity: 0; } to { opacity: 1; } }
.pp-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0d0d10;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pp-media img { width: 100%; height: 100%; object-fit: cover; }
.pp-media .product-placeholder { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.pp-media[data-theme="ice"] .product-placeholder { background: radial-gradient(circle at 50% 40%, rgba(120, 170, 220, 0.2), #0b0e14 70%); }
.pp-media[data-theme="oud"] .product-placeholder { background: radial-gradient(circle at 50% 40%, rgba(214, 140, 60, 0.22), #120d08 70%); }

.pp-info .eyebrow { margin-bottom: 0.2rem; }
.pp-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.3rem 1.4rem;
  margin: 0.2rem 0 0.7rem;
}
.pp-title h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 0;
  color: var(--white, #f6f3ec);
}
.pp-price { font-family: var(--serif); font-size: 1.5rem; margin: 0; color: var(--gold-light); white-space: nowrap; }
.pp-notes { margin: 0; color: var(--gold); letter-spacing: 0.1em; font-size: 0.9rem; }
/* Concentration: own line under the name and price */
.pp-conc { order: 3; flex-basis: 100%; margin: -0.1rem 0 0; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; }
.pp-short { margin: 0 0 0.9rem; color: var(--text); font-size: 1rem; line-height: 1.6; }
.pp-evolution { color: var(--text); }

.pp-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 1.1rem 0 0; padding: 0; }
.pp-chips li {
  padding: 0.28rem 0.7rem;
  border: 1px solid rgba(201, 162, 75, 0.35);
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
}

/* Profil du parfum */
.pp-profile { margin-top: 1.7rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.pp-label {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.pp-bar { margin-bottom: 0.85rem; }
.pp-bar-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pp-bar-pct { color: var(--text); letter-spacing: 0.06em; }
.pp-track { height: 2px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.pp-fill {
  display: block;
  height: 100%;
  background: var(--gold-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1) var(--bd, 0s);
}
.go .pp-fill, .in .pp-fill { transform: scaleX(var(--v, 0)); }
.pp-tenue {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.pp-tenue-val { font-size: 0.9rem; letter-spacing: 0.04em; text-transform: none; color: var(--text); }

.pp-stock { margin: 1.5rem 0 0; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.pp-stock.low { color: var(--gold-light); }
.pp-stock.out { color: var(--danger); }

/* Achat */
.pp-buy { display: grid; gap: 0.7rem; margin-top: 1.6rem; }
.pp-stock + .pp-buy { margin-top: 0.7rem; }
.pp-buy-row { display: flex; gap: 0.7rem; align-items: stretch; }
.pp-buy-row .qty { flex: none; }
.pp-buy-row .qty-btn { width: 2.6rem; height: 100%; font-size: 1.1rem; }
.pp-buy-row .qty span { min-width: 2rem; display: flex; align-items: center; justify-content: center; }
.pp-buy-row .btn { flex: 1; padding-left: 1rem; padding-right: 1rem; }
.pp-buy .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-ghost-gold { background: transparent; color: var(--gold-light); border-color: var(--gold); }
.btn-ghost-gold:hover { background: rgba(201, 162, 75, 0.12); }

.pp-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  margin: 1.2rem 0 0;
  padding: 0;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.pp-trust li { display: flex; align-items: center; gap: 0.55rem; }
.pp-trust li::before { content: ""; width: 4px; height: 4px; background: var(--gold); transform: rotate(45deg); flex: none; }
.pp-trust a { color: var(--gold-light); text-decoration: underline; text-underline-offset: 3px; }

/* Entrée du bloc principal : rapide, dans l'ordre */
.pp:not(.quiet) .pp-in { animation: ppRise 0.55s cubic-bezier(0.22, 0.61, 0.36, 1) both; animation-delay: calc(var(--o, 0) * 75ms); }
@keyframes ppRise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.quiet .pp-fill { transition: none; }

/* Apparition au scroll (commence avant que la section n'arrive à l'écran) */
.pp-anim .rv {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  transition-delay: calc(var(--s, 0) * 75ms);
}
.pp-anim .rv.in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .crumbs { padding-top: calc(var(--top-h) + 1.4rem); padding-left: 5vw; padding-right: 5vw; }
  .pp { padding: 1.2rem 5vw 3rem; }
  .pp-grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .pp-gallery { position: static; }
  .pp-media { aspect-ratio: 1 / 1; }
  .pp-price { font-size: 1.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-gallery, .pp .pp-in { animation: none !important; }
  .pp-fill { transition: none; }
  .pp-anim .rv { opacity: 1; transform: none; transition: none; }
}

/* ---------- Sections sous le bloc principal ---------- */
.pp-sec { max-width: 1240px; margin: 0 auto; padding: 3.2rem 6vw; text-align: center; }
.pp-sec .eyebrow { margin-bottom: 0.5rem; }
.pp-h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); letter-spacing: 0.08em; text-transform: uppercase; }
.pp-h2::after { content: ""; display: block; width: 44px; height: 1px; margin: 0.9rem auto 0; background: var(--gold-grad); }
.pp-caption { max-width: 560px; margin: 1.1rem auto 0; color: var(--muted); font-size: 0.9rem; }

/* Avis (activé plus tard) */
.pp-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2rem; text-align: left; }
.pp-review { margin: 0; padding: 1.3rem; background: var(--bg-card); border: 1px solid var(--line); }
.pp-stars { margin: 0 0 0.6rem; color: var(--gold); letter-spacing: 0.15em; font-size: 0.85rem; }
.pp-review blockquote { margin: 0; font-size: 0.92rem; }
.pp-review { display: flex; flex-direction: column; }
.pp-review blockquote { flex: 1; white-space: pre-line; }
.pp-review figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.7rem; margin-top: 0.9rem; padding-top: 0.8rem; border-top: 1px solid var(--line); }
.pp-rev-name { color: var(--text); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; }
.pp-rev-meta { color: var(--muted); font-size: 0.76rem; }
.pp-verified { flex-basis: 100%; color: var(--gold-light); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.pp-rev-sum { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.4rem 0.9rem; margin-top: 1.6rem; }
.pp-avg-stars { position: relative; display: inline-block; font-size: 1.25rem; letter-spacing: 0.12em; line-height: 1; }
.pp-avg-base { color: rgba(201, 162, 75, 0.25); }
.pp-avg-fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: var(--gold); }
.pp-avg-num { font-family: var(--serif); font-size: 1.15rem; color: var(--gold-light); }
.pp-avg-count { color: var(--muted); font-size: 0.85rem; }
.pp-rev-more { margin-top: 1.6rem; }

/* Certification (activée plus tard) */
.pp-cert {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0.9rem 6vw;
  text-align: center;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* Description / Composition / Fabrication */
.pp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; text-align: left; }
.pp-card { position: relative; padding: 1.5rem 1.4rem; background: var(--bg-card); border: 1px solid var(--line); }
.pp-card::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 1px; background: var(--gold-grad); }
.pp-card-title { margin: 0 0 0.8rem; font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold); }
.pp-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }
.pp-pyr { margin: 0; }
.pp-pyr div { display: flex; gap: 1rem; padding: 0.45rem 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.pp-pyr div:last-child { border-bottom: none; }
.pp-pyr dt { flex: none; width: 3.4rem; padding-top: 0.15rem; font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }
.pp-pyr dd { margin: 0; }

/* Mots d'ambiance */
.pp-mood {
  margin: 1rem 0;
  padding: 3.2rem 6vw;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 50% 50%, rgba(201, 162, 75, 0.14), transparent 70%), var(--bg);
}
.pp-mood[data-theme="ice"] { background: radial-gradient(ellipse at 50% 50%, rgba(120, 170, 220, 0.16), transparent 70%), #06080c; }
.pp-mood[data-theme="oud"] { background: radial-gradient(ellipse at 50% 50%, rgba(214, 140, 60, 0.18), transparent 70%), #0a0705; }
.pp-mood-words { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.6rem 2.6rem; }
.pp-word {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white, #f6f3ec);
}
.pp-word + .pp-word::before { content: "✦"; margin-right: 2.6rem; font-size: 0.35em; vertical-align: middle; color: var(--gold); }
.pp-anim .pp-mood .rv { transition-duration: 0.7s; transition-delay: calc(var(--s, 0) * 140ms); }

/* Ingrédients */
.pp-ing { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 0.8rem; margin-top: 2rem; text-align: left; }
.pp-ing-card { padding: 1rem 1.1rem; background: var(--bg-card); border: 1px solid var(--line); transition: border-color 0.3s; }
.pp-ing-card:hover { border-color: rgba(201, 162, 75, 0.5); }
.pp-ing-card h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pp-dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(201, 162, 75, 0.6); }
.pp-ing-card p { margin: 0.5rem 0 0; color: var(--muted); font-size: 0.8rem; line-height: 1.5; }

/* Évolution du parfum */
.pp-tl {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 1.5rem;
  max-width: 980px;
  margin: 2.2rem auto 0;
  padding: 0;
  text-align: left;
}
.pp-tl-step { position: relative; padding-top: 1.3rem; border-top: 1px solid rgba(201, 162, 75, 0.35); }
.pp-tl-step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--bg);
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}
.pp-tl-time { display: block; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.pp-tl-step h3 { margin: 0.35rem 0 0.4rem; font-size: 1.05rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.pp-tl-step p { margin: 0; font-size: 0.9rem; }

/* Quand le porter */
.pp-wear { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; max-width: 900px; margin: 2rem auto 0; }
.pp-wear-card { padding: 1.2rem 1rem; border: 1px solid var(--line); background: var(--bg-card); }
.pp-wear-card h3 { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.pp-wear-card p { margin: 0.45rem 0 0; font-family: var(--serif); font-size: 1rem; letter-spacing: 0.06em; color: var(--gold-light); }

@media (max-width: 720px) {
  .pp-sec { padding: 2.6rem 5vw; }
  .pp-mood { padding: 2.6rem 5vw; }
  .pp-mood-words { flex-direction: column; gap: 0.5rem; }
  .pp-word + .pp-word::before { display: none; }
  .pp-ing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }
  .pp-ing-card { padding: 0.85rem 0.8rem; }
  .pp-ing-card h3 { font-size: 0.76rem; }
  .pp-tl { grid-auto-flow: row; gap: 1.3rem; max-width: 420px; }
  .pp-tl-step { padding: 0 0 0 1.4rem; border-top: none; border-left: 1px solid rgba(201, 162, 75, 0.35); }
  .pp-tl-step::before { top: 0.3rem; left: -5px; }
  .pp-wear { grid-template-columns: 1fr; gap: 0.6rem; }
}

/* Vidéo d'ambiance (verticale) */
.pp-video {
  width: min(320px, 78vw);
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--line);
}
.pp-video video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Comparer */
.pp-cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; max-width: 1000px; margin: 2rem auto 0; text-align: left; }
.pp-cmp-group h3 { margin: 0 0 0.7rem; font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); }
.pp-cmp-row {
  display: grid;
  grid-template-columns: minmax(0, 7.5rem) 1fr 2.8rem;
  gap: 0.7rem;
  align-items: center;
  padding: 0.35rem 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.pp-cmp-row.me { color: var(--text); }
.pp-cmp-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
a.pp-cmp-name:hover { color: var(--gold-light); }
.pp-cmp-row:not(.me) .pp-fill { background: rgba(201, 162, 75, 0.45); }
.pp-cmp-val { text-align: right; }

/* Vous aimerez aussi : slider */
.pp-rel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; text-align: left; }
.pp-rel-head .pp-h2::after { margin-left: 0; }
.pp-rel-arrows { display: flex; gap: 0.5rem; }
.pp-arrow {
  width: 2.6rem;
  height: 2.6rem;
  background: none;
  border: 1px solid var(--line);
  color: var(--gold-light);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, opacity 0.2s;
}
.pp-arrow:hover:not(:disabled) { border-color: var(--gold); }
.pp-arrow:disabled { opacity: 0.3; cursor: default; }
.related.no-scroll .pp-rel-arrows { display: none; }
.pp-slider {
  display: flex;
  gap: 1.2rem;
  margin-top: 1.6rem;
  padding: 0.4rem 0 0.4rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  text-align: left;
}
.pp-slider::-webkit-scrollbar { display: none; }
.pp-slide { flex: 0 0 calc((100% - 3 * 1.2rem) / 4); min-width: 230px; scroll-snap-align: start; }

/* Comment le porter */
.pp-tips {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 1.6rem;
  max-width: 1000px;
  margin: 1.8rem auto 0;
  padding: 0;
  text-align: left;
}
.pp-tips li { display: flex; gap: 0.9rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.pp-tip-n { flex: none; width: 1.7rem; font-family: var(--serif); font-size: 0.85rem; color: var(--gold); letter-spacing: 0.08em; }
.pp-tips p { margin: 0; font-size: 0.88rem; color: var(--muted); }

/* Barre d'achat fixe : mobile seulement, sous le header, le panier et la commande */
.pp-sticky { display: none; }

@media (max-width: 720px) {
  .pp-cmp { grid-template-columns: 1fr; gap: 1.3rem; }
  .pp-rel-arrows { display: none; }
  .pp-slider { gap: 0.8rem; margin-right: -5vw; padding-right: 5vw; }
  .pp-slide { flex-basis: 68%; min-width: 0; }
  .pp-tips { grid-template-columns: 1fr; }
  .pp-tips li { padding: 0.8rem 0; }

  .pp-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 5vw;
    background: rgba(5, 5, 7, 0.96);
    border-top: 1px solid rgba(201, 162, 75, 0.4);
    transform: translateY(110%);
    transition: transform 0.3s ease;
  }
  .pp-sticky.on { transform: none; }
  .pp-sticky-info { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
  .pp-sticky-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--serif); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
  .pp-sticky-price { color: var(--gold-light); font-size: 0.82rem; }
  .pp-sticky .btn { flex: none; padding: 0.75rem 1rem; font-size: 0.66rem; letter-spacing: 0.16em; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-sticky { transition: none; }
}
/* ===== PRODUCT PAGE END ===== */

/* =====================================================================
   LUXE : un seul style pour toute la boutique (même esprit que l'accueil)
   Noir pur, pas de cadres. Or : logo, bouton principal, lignes de 1 px, petits libellés.
   --accent : couleur du parfum sur sa fiche (sinon l'or).
   Ces règles sont à la fin pour l'emporter sur les anciennes.
   ===================================================================== */
:root {
  --black: #000;
  --gold: #c9a24b;
  --white: #f2efe8;
  --grey: #9a968c;
  --accent: var(--gold);
  /* anciens noms, ramenés au noir pur */
  --bg: #000;
  --bg-soft: #000;
  --bg-card: #000;
  --text: #f2efe8;
  --muted: #9a968c;
  --line: rgba(255, 255, 255, 0.12);
  --gold-line: rgba(201, 162, 75, 0.28);
}
/* Recalculated where --accent can change (product page body, each card) */
body, .lux-card { --accent-line: color-mix(in srgb, var(--accent) 45%, transparent); }

html, body { background: #000; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { color: var(--white); }
.eyebrow { color: var(--accent); }

/* ---------- Boutons : principal = or (dégradé), secondaire = contour 1 px ; 44 px minimum ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.85rem 2rem;
  border-radius: 0;
  line-height: 1.2;
}
.btn-block { display: flex; width: 100%; }
.btn-outline, .btn-ghost-gold {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--accent-line);
}
.btn-outline:hover, .btn-ghost-gold:hover { background: transparent; color: #fff; border-color: var(--accent); }
.icon-btn { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--grey); }
.icon-btn:hover { color: #fff; }

/* ---------- Haut de page ---------- */
.announce {
  background: #000;
  animation: none;
  color: var(--grey);
  border-bottom: 1px solid var(--gold-line);
}
.announce .dot { color: var(--gold); }
.site-header, .site-header.scrolled { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid transparent; }
.site-header.scrolled { border-bottom-color: var(--gold-line); }
.nav a { color: #b9b5ac; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a::after { background: var(--gold); height: 1px; }
.cart-btn, .menu-btn { color: #e8e4da; min-width: 44px; min-height: 44px; }
.cart-btn:hover, .menu-btn:hover { color: #fff; }
.cart-count { color: #fff; }
.brand-sub { color: #8c887f; }

/* Menu mobile */
.mobile-menu { background: #000; border-bottom: 1px solid var(--gold-line); }
.mobile-menu nav a { border-bottom: 1px solid var(--line); color: var(--white); min-height: 44px; }

/* Réseaux (menu mobile) */
.social-link { border: none; background: none; color: #d6d2c9; min-height: 44px; }
.social-link svg { color: #d6d2c9; }
.social-link:hover { color: #fff; }

/* ---------- Formulaires : une ligne fine sous le champ, pas de boîte ---------- */
form input, form textarea, form select, .sort select {
  background-color: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  min-height: 44px;
  color: var(--white);
}
form input:focus, form textarea:focus, form select:focus, .sort select:focus { outline: none; border-bottom-color: var(--accent); }
form select option, .sort select option { background: #000; color: var(--white); }

/* ---------- Panier (tiroir) ---------- */
.overlay, .f-overlay { background: rgba(0, 0, 0, 0.78); }
.drawer { background: #000; border-left: 1px solid var(--gold-line); }
.drawer-head { border-bottom: 1px solid var(--line); }
.drawer-head h3 { color: var(--white); }
.cart-item { border-bottom: 1px solid var(--line); }
.cart-item-name { color: var(--white); }
.qty { border: none; }
.qty-btn { min-width: 44px; min-height: 44px; color: var(--white); }
.remove-btn { min-height: 44px; }
.drawer-foot { border-top: 1px solid var(--gold-line); }
.cart-total-row strong { color: var(--white); }
.free-note p { color: var(--grey); }
.free-track { background: var(--line); }
.free-fill { background: var(--gold); }
.wa-cart { margin-top: 0.7rem; }

/* ---------- Commande (fenêtre) ---------- */
.modal { background: rgba(0, 0, 0, 0.92); }
.modal-box { background: #000; border: none; border-top: 1px solid var(--gold-line); }
.modal-box h3 { color: var(--white); }
.delivery-info { color: var(--grey); }
.summary { border-top: 1px solid var(--line); }
.summary .cart-total-row { border-top: 1px solid var(--line); }

/* Champ piège anti-robots (checkout) : hors écran, invisible */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Bouton WhatsApp flottant ---------- */
/* Cercle noir, anneau doré 1 px, icône dorée en trait fin ; sur ordinateur il s'ouvre en pilule */
.wa-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 45; /* sous le tiroir (50+) et la fenêtre de commande (70) */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 52px;
  min-width: 52px;
  padding: 0 13px;
  border-radius: 999px;
  background: #000;
  border: 1px solid var(--gold);
  color: var(--gold);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  animation: waIn 0.6s ease 1.5s both;
  transition: bottom 0.3s ease, opacity 0.3s ease, visibility 0.3s;
}
.wa-float svg { flex: none; width: 24px; height: 24px; }
.wa-float svg * { stroke-width: 1.2; }
.wa-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: max-width 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
}
/* Anneau doré très doux, toutes les ~7 s */
.wa-float::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--gold);
  opacity: 0;
  pointer-events: none;
  animation: waPulse 7s ease-out 3s infinite;
}
@keyframes waPulse {
  0% { opacity: 0.25; transform: scale(1); }
  14% { opacity: 0; transform: scale(1.35); }
  100% { opacity: 0; transform: scale(1.35); }
}
.wa-float:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
@keyframes waIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Ordinateur : 56 px, marges 24 px ; au survol / focus, il s'ouvre vers la gauche */
@media (min-width: 1024px) {
  .wa-float { right: 24px; bottom: 24px; height: 56px; min-width: 56px; padding: 0 15px; }
  .wa-float:hover, .wa-float:focus-visible { padding-left: 22px; }
  .wa-float:hover .wa-label, .wa-float:focus-visible .wa-label { max-width: 240px; opacity: 1; margin-right: 12px; }
  .wa-float:hover::after, .wa-float:focus-visible::after { animation: none; }
}

/* Jamais par-dessus les boutons : caché quand le panier ou la commande est ouvert,
   et au-dessus de la barre d'achat fixe sur la fiche produit (mobile) */
body:has(#cart-drawer:not([hidden])) .wa-float,
body:has(#checkout-modal:not([hidden])) .wa-float { opacity: 0; visibility: hidden; }
body:has(.pp-sticky.on) .wa-float { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }

/* Boutons secondaires « Commander sur WhatsApp » (panier, fiche produit) : contour doré 1 px */
.wa-cart, .pp-wa { border-color: var(--gold); color: var(--gold); }
.wa-cart:hover, .pp-wa:hover { border-color: var(--gold-light, #e6c873); color: var(--gold-light, #e6c873); }
.pp-wa { min-height: 44px; font-size: 0.7rem; letter-spacing: 0.18em; }

/* ---------- Carte produit (collection, « Vous aimerez aussi ») ---------- */
.lux-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 3.2rem 2rem; text-align: left; }
.lux-card { position: relative; min-width: 0; animation: luxIn 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) backwards; animation-delay: calc(min(var(--i, 0), 8) * 70ms); }
.lux-link { display: block; color: var(--white); text-decoration: none; }
.lux-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.lux-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.8s cubic-bezier(0.22, 0.61, 0.36, 1); }
.lux-media img.contain { object-fit: contain; padding: 8%; }
.lux-link:hover .lux-media img, .lux-link:focus-visible .lux-media img { transform: scale(1.045); }
.lux-name { display: block; margin-top: 1.1rem; font-family: var(--serif); font-size: 0.98rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); }
.lux-notes { display: block; margin-top: 0.35rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.78rem; letter-spacing: 0.04em; color: var(--grey); }
.lux-price { display: flex; align-items: baseline; gap: 0.8rem; margin-top: 0.5rem; font-size: 0.9rem; color: var(--white); }
.lux-out { font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
/* Ligne fine sous la carte : prend la couleur du parfum au survol */
.lux-line { position: relative; display: block; height: 1px; margin-top: 1rem; background: var(--line); overflow: hidden; }
.lux-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s ease; }
.lux-link:hover .lux-line::after, .lux-link:focus-visible .lux-line::after { transform: scaleX(1); }
.lux-link:focus-visible { outline: none; }
@keyframes luxIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Collection ---------- */
.collection-head .h-eyebrow { color: var(--gold); }
.h-line { background: var(--gold); }
.h-sub { color: var(--grey); }
.filters-bar { background: #000; backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters-bar .chip { min-height: 44px; color: var(--grey); }
.filters-bar .chip.active { color: #fff; }
.filters-bar .chip::after { background: var(--gold); }
.chip.active { background: none; border-color: transparent; color: #fff; }
.f-open { min-height: 44px; border: 1px solid var(--accent-line); color: var(--white); }
.f-open:hover { background: transparent; border-color: var(--accent); color: #fff; }
.f-badge { background: var(--gold); color: #000; }
.f-open:hover .f-badge { background: var(--gold); color: #000; }
.search input { min-height: 44px; border-bottom: 1px solid rgba(255, 255, 255, 0.22); }
.search input:focus { border-bottom-color: var(--accent); }
.sort select { padding: 0.6rem 0.2rem; }
.a-chip { min-height: 36px; border: 1px solid rgba(255, 255, 255, 0.22); color: var(--white); }
.a-chip:hover { border-color: var(--accent); background: none; }
.a-clear:hover { color: #fff; }
.collection-body .lux-grid { margin-top: 0; }
.tools-count { margin: 0; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); }

/* Panneau de filtres : noir, lignes fines */
.fpanel { background: #000; border-left: 1px solid var(--gold-line); }
.fp-head { border-bottom: 1px solid var(--line); }
.fg-title { color: var(--gold); }
.opt { min-height: 40px; border: 1px solid rgba(255, 255, 255, 0.16); color: var(--grey); }
.opt:hover { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.opt[aria-pressed="true"] { border-color: var(--accent); color: #fff; background: none; }
.fp-foot { align-items: center; border-top: 1px solid var(--line); }
.fp-foot .btn { flex: 1; }
.fp-reset {
  flex: none;
  min-height: 44px;
  padding: 0 0.4rem;
  background: none;
  border: none;
  color: var(--grey);
  font: inherit;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.fp-reset:hover { color: #fff; }

/* ---------- Fiche produit ---------- */
.crumbs a:hover { color: #fff; }
.pp-gallery { isolation: isolate; }
/* Halo très doux de la couleur du parfum derrière le flacon (14 % max, noir avant les bords) */
.pp-gallery::before {
  content: "";
  position: absolute;
  inset: -12%;
  z-index: -1;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 14%, transparent) 0%, color-mix(in srgb, var(--accent) 6%, transparent) 55%, transparent 100%);
  pointer-events: none;
}
.pp-media { background: transparent; border: none; }
.pp-media img.contain { object-fit: contain; padding: 6%; }
.pp-media .product-placeholder, .product-placeholder { background: transparent; color: var(--gold); }
.pp-media .card-tag { border: none; background: none; color: var(--accent); }
.pp-price { color: var(--white); }
.pp-notes { color: var(--grey); }
.pp-label, .pp-card-title, .pp-pyr dt, .pp-cmp-group h3, .pp-tip-n { color: var(--accent); }
/* Chips: plain text separated by a small dot in the product colour (no outlined boxes) */
.pp-chips { gap: 0.4rem 0; }
.pp-chips li { display: flex; align-items: center; padding: 0; border: none; color: var(--white); }
.pp-chips li + li::before { content: ""; width: 4px; height: 4px; margin: 0 0.85rem; border-radius: 50%; background: var(--accent); }
/* The halo behind the bottle must never widen the page */
.pp-page { overflow-x: clip; }
.pp-profile { border-top: 1px solid var(--accent-line); }
.pp-fill { background: var(--accent); }
.pp-cmp-row:not(.me) .pp-fill { background: color-mix(in srgb, var(--accent) 45%, transparent); }
.pp-stock.low { color: var(--white); }
.pp-trust li::before { background: var(--accent); }
.pp-trust a { color: var(--white); }
.qty { border-bottom: 1px solid var(--line); }
.pp-buy-row .qty-btn { min-width: 44px; }

/* Sections : pas de boîtes, des lignes fines */
.pp-h2 { color: var(--white); }
.pp-h2::after { background: var(--accent); }
.pp-cert { border-top: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line); color: var(--accent); }
.pp-cards { gap: 2.4rem; }
.pp-card { background: none; border: none; border-top: 1px solid var(--accent-line); padding: 1.4rem 0 0; }
.pp-card::before { display: none; }
.pp-card p { color: #cfcbc2; }
.pp-pyr div { border-bottom: 1px solid var(--line); }
.pp-mood, .pp-mood[data-theme="ice"], .pp-mood[data-theme="oud"] { background: #000; border-top: 1px solid var(--accent-line); border-bottom: 1px solid var(--accent-line); }
.pp-word + .pp-word::before { color: var(--accent); }
.pp-ing { gap: 1.6rem 2rem; }
.pp-ing-card { background: none; border: none; border-top: 1px solid var(--line); padding: 1rem 0 0; }
.pp-ing-card:hover { border-color: var(--accent); }
.pp-dot { background: var(--accent); box-shadow: none; }
.pp-tl-step { border-top-color: var(--accent-line); }
.pp-tl-step::before { background: #000; border-color: var(--accent); }
.pp-tl-step h3 { color: var(--white); }
.pp-wear-card { background: none; border: none; border-top: 1px solid var(--line); }
.pp-wear-card p { color: var(--white); }
.pp-review { background: none; border: none; border-top: 1px solid var(--accent-line); padding: 1.3rem 0 0; }
.pp-stars, .pp-avg-fill { color: var(--gold); }
.pp-avg-num { color: var(--white); }
.pp-verified { color: var(--accent); }
.pp-video { border: none; }
.pp-arrow { min-width: 44px; min-height: 44px; border: none; color: var(--white); }
.pp-arrow:hover:not(:disabled) { color: var(--accent); }
.pp-tips li { border-top: 1px solid var(--line); }
.pp-sticky { background: #000; border-top: 1px solid var(--accent-line); }
.pp-sticky-price { color: var(--white); }
.pp-slide { flex: 0 0 calc((100% - 3 * 2rem) / 4); }
.pp-slider { gap: 2rem; }

@media (max-width: 720px) {
  .lux-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.2rem 1rem; }
  .lux-name { font-size: 0.82rem; letter-spacing: 0.08em; }
  .lux-notes { font-size: 0.7rem; }
  .collection-body { padding: 1.6rem 4vw 4rem; }
  .tools-count { text-align: right; }

  /* Filtres : feuille qui monte du bas */
  .fpanel {
    top: auto;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 86vh;
    max-height: 86dvh;
    border-left: none;
    border-top: 1px solid var(--gold-line);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    animation: sheetUp 0.35s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  }
  .fp-head { position: relative; }
  .fp-head::before { content: ""; position: absolute; top: 0.45rem; left: 50%; width: 36px; height: 3px; margin-left: -18px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); }

  /* Not sticky on phones: no top offset either */
  .pp-gallery { position: relative; top: auto; }
  .pp-slide { flex-basis: 68%; }
  .pp-slider { gap: 1rem; }
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .lux-card, .wa-float, .fpanel, .wa-float::after { animation: none !important; }
  .wa-label { transition: none; }
  .lux-media img, .lux-line::after, .wa-float { transition: none; }
  .lux-link:hover .lux-media img { transform: none; }
}

/* =====================================================================
   OFFRES : remise "plusieurs parfums", code promo, suggestions, aide
   Mêmes règles LUXE : noir, lignes fines, or discret. Aucun compte à rebours.
   ===================================================================== */
.bundle-row span:first-child { color: var(--grey); }
.bundle-row span:last-child { color: var(--gold); }
.drawer-foot .bundle-row { margin: -0.2rem 0 0.4rem; }
.bundle-hint { margin: 0 0 0.7rem; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--grey); }
.bundle-hint::before { content: "✦ "; color: var(--gold); }

/* Code promo (fenêtre de commande) */
.promo-box { margin-top: 1.2rem; }
.promo-row { display: flex; gap: 0.6rem; align-items: flex-end; }
.promo-row input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.08em; }
.promo-row .btn { padding: 0.7rem 1.2rem; flex: none; }
.promo-applied { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; border-bottom: 1px solid var(--gold-line); font-size: 0.9rem; color: var(--white); }
.link-btn { background: none; border: none; padding: 0 0.2rem; min-height: 44px; min-width: 44px; color: var(--grey); font: inherit; font-size: 0.85rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: #fff; }
.promo-msg { margin: 0.5rem 0 0; font-size: 0.82rem; color: var(--danger); }
.promo-msg.ok { color: var(--gold); }

/* "Complétez votre sélection" (tiroir du panier) */
.cart-upsell { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--gold-line); }
.cart-upsell .eyebrow { margin: 0 0 0.6rem; font-size: 0.68rem; }
.upsell-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 0.9rem; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.upsell-item img { width: 56px; height: 70px; object-fit: cover; background: #000; }
.upsell-item img.contain { object-fit: contain; padding: 4px; }
.upsell-info { display: grid; gap: 0.2rem; min-width: 0; color: var(--white); text-decoration: none; }
.upsell-name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-family: var(--serif); font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.upsell-price { font-size: 0.82rem; color: var(--grey); }
.upsell-add { min-height: 44px; min-width: 44px; padding: 0 0.9rem; background: none; border: 1px solid var(--gold-line); color: var(--white); font: inherit; font-size: 0.8rem; letter-spacing: 0.06em; cursor: pointer; }
.upsell-add:hover, .upsell-add:focus-visible { border-color: var(--gold); color: #fff; }

/* Fiche produit : "Dans la même famille, à partir de X MAD" */
.pp-downsell { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.pp-downsell-title { margin: 0 0 0.5rem; font-size: 0.82rem; color: var(--grey); }
.pp-downsell-list { list-style: none; margin: 0; padding: 0; }
.pp-downsell-list a { display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); color: var(--white); text-decoration: none; font-size: 0.88rem; }
.pp-downsell-list a span:first-child { font-family: var(--serif); letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8rem; }
.pp-downsell-list a span:last-child { color: var(--grey); white-space: nowrap; }
.pp-downsell-list a:hover span:first-child { color: var(--accent); }

/* Petit message d'aide après la fenêtre de commande : discret, ne bloque rien */
.help-nudge {
  position: fixed;
  left: max(16px, env(safe-area-inset-left));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 46;
  width: min(340px, calc(100vw - 104px));
  padding: 0.9rem 2.6rem 0.9rem 1rem;
  background: #000;
  border: 1px solid var(--gold-line);
  color: var(--white);
  font-size: 0.86rem;
  animation: helpIn 0.4s ease-out both;
}
.help-nudge[hidden] { display: none; }
.help-text { margin: 0; }
.help-text a { color: var(--white); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.help-text a:hover { color: #fff; }
.help-code { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; margin-top: 0.6rem; color: var(--grey); }
.help-text + .help-code { padding-top: 0.6rem; border-top: 1px solid var(--line); }
.help-apply { min-height: 40px; padding: 0.5rem 1rem; }
.help-close { position: absolute; top: 0; right: 0; min-width: 44px; min-height: 44px; background: none; border: none; color: var(--grey); cursor: pointer; }
.help-close:hover { color: #fff; }
body:has(.pp-sticky.on) .help-nudge { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
@keyframes helpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .help-nudge { animation: none; } }

/* =====================================================================
   PIED DE PAGE (layout.js, toutes les pages)
   Noir pur, une ligne or 1 px en haut, 4 colonnes ; liens gris -> blanc. Pas d'icônes, pas de cadres.
   ===================================================================== */
.site-footer {
  background: #000;
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  padding: 80px max(6vw, 16px) 40px;
  color: var(--grey);
  text-align: left;
}
.ft-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}
/* Footer logo: the master /img/logo.svg in muted gold. Hover / keyboard focus: one gold light sweep
   (a gradient band shown only through the logo shape = CSS mask of the same file). */
.ft-logo {
  position: relative;
  display: inline-block;
  width: 140px;
  line-height: 0;
  text-decoration: none;
}
.ft-logo img { display: block; width: 140px; height: auto; opacity: 0.72; filter: saturate(0.85); }
.ft-logo-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  -webkit-mask: url(/img/logo.svg) center / contain no-repeat;
  mask: url(/img/logo.svg) center / contain no-repeat;
  mask-mode: luminance; /* the dark line inside the bottle stays dark */
  background: linear-gradient(100deg, transparent 0 38%, rgba(255, 238, 196, 0.95) 50%, transparent 62% 100%);
  background-size: 300% 100%;
  background-position: 100% 0;
}
.ft-logo:hover .ft-logo-sweep,
.ft-logo:focus-visible .ft-logo-sweep { animation: ft-sweep 1.2s ease-in-out 1 both; }
@keyframes ft-sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) {
  .ft-logo:hover .ft-logo-sweep, .ft-logo:focus-visible .ft-logo-sweep { animation: none; }
}
.ft-tagline { margin: 0.6rem 0 0; max-width: 26ch; font-size: 0.85rem; line-height: 1.7; color: var(--grey); }
.ft-title {
  margin: 0 0 0.9rem;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #6f6c66;
}
.ft-col ul { list-style: none; margin: 0; padding: 0; }
.site-footer a:not(.ft-logo) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.86rem;
  color: var(--grey);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s, text-decoration-color 0.2s;
}
.ft-col li { line-height: 1; }
.site-footer a:hover { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.45); }
.site-footer a:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; color: #fff; }
.ft-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 3.5rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.copyright { margin: 0; font-size: 0.8rem; color: var(--grey); }
.ft-legal { display: flex; align-items: center; gap: 0.7rem; }
.ft-legal a { font-size: 0.8rem !important; }
.ft-dot { color: #55524c; }
.ft-note { max-width: 1200px; margin: 0.4rem auto 0; font-size: 0.75rem; letter-spacing: 0.02em; color: #6f6c66; }

@media (max-width: 900px) {
  .ft-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.4rem 1.5rem; }
  .ft-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .site-footer { padding: 56px 16px calc(32px + env(safe-area-inset-bottom, 0px)); }
  .ft-bottom { flex-direction: column; text-align: center; gap: 0.2rem; margin-top: 2.6rem; }
  .ft-note { text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .site-footer a { transition: none; } }

/* =====================================================================
   PAGES D'INFORMATION (Livraison, Retours, CGV, Confidentialité, Mentions légales, Contact)
   ===================================================================== */
.legal-main { padding: calc(var(--top-h) + 4rem) 16px 6rem; background: #000; }
.legal-page { max-width: 720px; margin: 0 auto; }
.legal-head { margin-bottom: 2.6rem; }
.legal-head h1 { margin: 0.6rem 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(1.7rem, 4vw, 2.5rem); letter-spacing: 0.06em; line-height: 1.25; color: var(--white); }
.legal-line { display: block; width: 56px; height: 1px; margin-top: 1.6rem; background: rgba(201, 162, 75, 0.6); }
.legal-body { font-size: 0.98rem; line-height: 1.85; color: #d6d2c9; overflow-wrap: anywhere; }
.legal-body h2 { margin: 2.6rem 0 0.8rem; font-family: var(--serif); font-weight: 400; font-size: 1.1rem; letter-spacing: 0.08em; color: var(--white); }
.legal-body p { margin: 0 0 1.1rem; }
.legal-loading { color: var(--grey); }
.legal-link { color: var(--white); text-decoration: underline; text-decoration-color: rgba(201, 162, 75, 0.6); text-underline-offset: 4px; display: inline-flex; min-height: 44px; align-items: center; }
.legal-link:hover { text-decoration-color: #fff; }
.legal-contact { margin-top: 2rem; border-top: 1px solid var(--line); }
.lc-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; border-bottom: 1px solid var(--line); }
.lc-label { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey); }
.lc-value { color: var(--white); text-align: right; overflow-wrap: anywhere; }
a.lc-value { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
a.lc-value:hover { text-decoration-color: rgba(255, 255, 255, 0.5); }
.legal-updated { margin: 3rem 0 0; font-size: 0.78rem; color: #6f6c66; }

/* =====================================================================
   404
   ===================================================================== */
.nf-main {
  min-height: 78vh;
  min-height: 78svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--top-h) + 3rem) 16px 5rem;
  text-align: center;
  background: #000;
}
.nf-brand { margin: 0; font-family: var(--serif); font-size: 0.8rem; letter-spacing: 0.6em; margin-right: -0.6em; color: var(--gold); }
.nf-code { margin: 1.4rem 0 0; font-family: var(--serif); font-weight: 400; font-size: clamp(5.5rem, 22vw, 11rem); line-height: 1; letter-spacing: 0.08em; color: var(--white); }
.nf-line { display: block; width: 56px; height: 1px; margin: 2rem auto 1.6rem; background: rgba(201, 162, 75, 0.6); }
.nf-text { margin: 0; font-size: 1rem; color: var(--grey); }
.nf-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 2.2rem; margin-top: 2rem; }
.nf-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; transition: text-decoration-color 0.2s; }
.nf-links a:hover { text-decoration-color: var(--gold); }
.nf-links a:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .nf-links a { transition: none; } }
.pp-trust li[hidden] { display: none; }

/* =====================================================================
   COOKIES : bandeau discret en bas (tracking.js). Ne bloque rien, ne décale rien.
   "Refuser" et "Accepter" sont strictement identiques ; "Personnaliser" est plus léger.
   ===================================================================== */
.ck {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 47; /* au-dessus du bouton WhatsApp (45) et de l'aide (46), sous le panier (50+) et la commande (70) */
  background: #000;
  border-top: 1px solid rgba(201, 162, 75, 0.35);
  color: #d6d2c9;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}
.ck[hidden] { display: none; }
.ck.ck-in { transform: none; opacity: 1; }
.ck-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "text actions" "panel panel";
  align-items: center;
  gap: 0.9rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem max(6vw, 16px) calc(1rem + env(safe-area-inset-bottom, 0px));
}
.ck-text { grid-area: text; margin: 0; font-size: 0.82rem; line-height: 1.6; }
.ck-more { color: var(--white); text-decoration: underline; text-decoration-color: rgba(201, 162, 75, 0.6); text-underline-offset: 3px; white-space: nowrap; }
.ck-more:hover { text-decoration-color: #fff; }
.ck-actions { display: flex; align-items: center; gap: 0.6rem; }
.ck-first { grid-area: actions; }
.ck-btn {
  min-height: 44px;
  padding: 0 1.3rem;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
}
/* Refuser = Accepter (same size, weight, colour, border) */
.ck-main { min-width: 9rem; background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.55); }
.ck-main:hover { border-color: #fff; }
.ck-light { background: transparent; color: var(--grey); border: 1px solid transparent; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, 0.25); }
.ck-light:hover { color: #fff; }
.ck-btn:focus-visible, .ck-switch:focus-visible, .ck-more:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

/* Personnaliser : le panneau s'ouvre dans le bandeau (hauteur animée) */
.ck-panel { grid-area: panel; display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s ease-out; }
.ck-panel-in { min-height: 0; overflow: hidden; }
.ck-custom .ck-panel { grid-template-rows: 1fr; }
.ck-custom .ck-first { display: none; }
.ck-custom .ck-inner { grid-template-areas: "text text" "panel panel"; }
.ck-sw-row { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 0.8rem 0; border-top: 1px solid var(--line); }
.ck-sw-row[hidden] { display: none; }
.ck-sw-text { display: grid; gap: 0.15rem; font-size: 0.8rem; color: var(--grey); }
.ck-sw-text strong { font-weight: 500; color: var(--white); font-size: 0.85rem; }
.ck-switch { position: relative; flex: none; width: 46px; height: 26px; min-width: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 13px; background: transparent; cursor: pointer; }
.ck-switch::after { content: ""; position: absolute; inset: -9px -1px; } /* 44 px touch area */
.ck-knob { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--grey); transition: transform 0.25s ease-out, background 0.25s; }
.ck-switch[aria-checked="true"] { border-color: var(--gold); }
.ck-switch[aria-checked="true"] .ck-knob { transform: translateX(20px); background: var(--gold); }
.ck-panel .ck-actions { justify-content: flex-end; padding: 0.4rem 0 0.2rem; }

/* Le bouton WhatsApp et le message d'aide montent au-dessus du bandeau */
.wa-float, .help-nudge { transition: bottom 0.6s ease-out; }
body.ck-open .wa-float, body.ck-open .help-nudge { bottom: calc(var(--ck-h, 0px) + 16px); }

/* Pied de page : "Gérer mes cookies" (bouton qui ressemble aux liens) */
.ft-cookies { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: none; font: inherit; font-size: 0.8rem; color: var(--grey); cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.ft-cookies:hover { color: #fff; text-decoration-color: rgba(255, 255, 255, 0.45); }
.ft-cookies:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; color: #fff; }
.ft-cookies[hidden], .ft-dot[hidden] { display: none; }

@media (max-width: 720px) {
  .ck-inner { grid-template-columns: 1fr; grid-template-areas: "text" "actions" "panel"; gap: 0.8rem; }
  .ck-custom .ck-inner { grid-template-areas: "text" "panel"; }
  .ck-first { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 0.5rem; }
  .ck-btn { padding: 0 0.6rem; letter-spacing: 0.1em; }
  .ck-main { min-width: 0; }
  .ck-panel .ck-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .ft-legal { flex-wrap: wrap; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ck, .ck-panel, .ck-knob, .wa-float, .help-nudge { transition: none; }
}

/* =====================================================================
   PIED DE PAGE : détails or (accent discret, jamais de fond or ni de halo)
   Liens gris -> or au survol / focus clavier, soulignement fin qui part de la gauche.
   Titres de colonnes or doux (#9a7d3e, contraste 5,4:1 sur noir). Ornement centré au-dessus de la dernière ligne.
   ===================================================================== */
.ft-title { color: #9a7d3e; }
.site-footer a:not(.ft-logo), .ft-cookies {
  text-decoration: none;
  background-image: linear-gradient(var(--gold), var(--gold));
  background-repeat: no-repeat;
  background-position: 0 calc(50% + 0.75em);
  background-size: 0 1px;
  transition: color 0.2s ease, background-size 0.2s ease;
}
.ft-legal a, .ft-cookies { background-position: 0 calc(50% + 0.7em); }
.site-footer a:not(.ft-logo):hover, .site-footer a:not(.ft-logo):focus-visible,
.ft-cookies:hover, .ft-cookies:focus-visible {
  color: var(--gold);
  background-size: 100% 1px;
}
.site-footer a:not(.ft-logo):focus-visible, .ft-cookies:focus-visible { outline: 1px solid rgba(201, 162, 75, 0.6); outline-offset: 3px; }
.ft-orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 1200px;
  margin: 3.5rem auto 0;
}
.ft-orn-line { width: 56px; height: 1px; background: rgba(201, 162, 75, 0.55); }
.ft-orn-gem { width: 5px; height: 5px; border: 1px solid var(--gold); transform: rotate(45deg); }
.ft-bottom { margin-top: 1.4rem; padding-top: 0; border-top: none; }
.ft-dot { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: var(--gold); font-size: 0; color: transparent; vertical-align: middle; }
@media (max-width: 720px) {
  .ft-orn { margin-top: 2.6rem; }
  .ft-bottom { margin-top: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer a:not(.ft-logo), .ft-cookies { transition: none; }
}
/* Phones (<= 480 px): the whole footer centered, one column (desktop unchanged) */
@media (max-width: 480px) {
  .site-footer { text-align: center; }
  .ft-grid { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; justify-items: center; }
  .ft-brand, .ft-col { width: 100%; }
  .ft-logo { margin: 0 auto; }
  .ft-tagline { margin-left: auto; margin-right: auto; }
  .ft-col ul { display: flex; flex-direction: column; align-items: center; }
  .ft-bottom { align-items: center; }
  .ft-legal { justify-content: center; flex-wrap: wrap; row-gap: 0; }
  .ft-note { margin-left: auto; margin-right: auto; }
}

/* =====================================================================
   EN-TÊTE : lettres BALADI du logo (image vectorielle, mêmes formes et espacement que le logo maître)
   Hauteur = l'ancienne ligne du nom (1.6rem / 1.35rem) : l'en-tête garde exactement sa hauteur.
   Largeur réservée par width/height + aspect-ratio : aucun décalage au chargement.
   ===================================================================== */
.brand-logo {
  display: block;
  height: 1.6rem;           /* ≈ 133 px de large */
  width: auto;
  aspect-ratio: 1717 / 331;
  max-width: none;
}
@media (max-width: 720px) {
  .brand-logo { height: 1.25rem; margin: 0.05rem 0; } /* ≈ 104 px de large ; 1.25 + 0.1 = 1.35rem comme avant */
}
