/* ==========================================================================
   LE DIX — couche finale (chargée après premium.css)
   DA reprise des photos du client : papier crème, flammes peintes rouge/jaune, coups de pinceau noirs,
   table jaune moutarde, badge noir cerclé d'or.
   Contraste : encre #1a1310 sur crème #f6ece0 ≈ 16:1 ; texte 2 #4a3d34 ≈ 9:1 ;
   boutons blanc sur rouge #d6121e ≈ 5:1 ; accents rouges #b80f19 sur crème ≈ 6,3:1.
   ========================================================================== */
:root {
  --ldx-bg: #f6ece0;
  --ldx-bg-2: #efe2d0;
  --ldx-surface: #fffaf3;
  --ldx-surface-2: #f3e6d4;
  --ldx-line: rgba(40, 26, 18, 0.13);
  --ldx-line-strong: rgba(40, 26, 18, 0.24);
  --ldx-text: #1a1310;
  --ldx-text-2: #4a3d34;
  --ldx-muted: #6b5c50;
  --ldx-orange: #b80f19;           /* accent texte (kickers, prix de choix) */
  --ldx-red: #d6121e;
  --ldx-cta: #d6121e;
  --ldx-cta-hover: #ad0c16;
  --ldx-yellow: #ffc734;
  --ldx-mustard: #e8b02c;
  --ldx-ink: #141110;
  --ldx-ink-2: #1f1916;
  --ldx-gold: #c9973a;
  --ldx-star: #f2a900;
  --ldx-radius: 18px;
  --ldx-display: "Luckiest Guy", "Oswald", Impact, sans-serif;
  --ldx-head: "Oswald", "Arial Narrow", sans-serif;
  --ldx-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ldx-flame: linear-gradient(90deg, #d6121e 0%, #f0471c 45%, #ffc734 100%);

  /* Remap de l'héritage (premium.css / layout.css étaient pensés pour un fond noir) */
  --premium-ink: #f6ece0;
  --premium-ink-2: #fffaf3;
  --premium-ink-3: #efe2d0;
  --premium-cream: #1a1310;
  --premium-orange: #d6121e;
  --premium-red: #d6121e;
  --premium-mint: #b80f19;
  --premium-line: rgba(40, 26, 18, 0.13);
  --primary: #d6121e;
  --primary-rgb: 214, 18, 30;
  --accent: #d6121e;
  --accent-rgb: 214, 18, 30;
  --bg-dark: #f6ece0;
  --bg-card: #fffaf3;
  --text-main: #1a1310;
  --text-muted: #5b4d42;
  --border-color: rgba(40, 26, 18, 0.13);
  --color-bg: #f6ece0;
  --color-bg-alt: #fffaf3;
  --color-bg-dark: #f6ece0;
  --color-text: #1a1310;
  --color-text-light: #5b4d42;
  --color-text-inverse: #fff;
  --color-border: rgba(40, 26, 18, 0.13);
  --color-secondary: rgba(40, 26, 18, 0.06);
  --color-secondary-hover: rgba(40, 26, 18, 0.1);
  --color-primary-hover: #ad0c16;
  --color-primary-light: rgba(214, 18, 30, 0.12);
  --shadow-sm: 0 1px 2px 0 rgb(60 30 10 / 0.08);
  --shadow-md: 0 6px 16px -6px rgb(60 30 10 / 0.18);
  --shadow-lg: 0 16px 32px -12px rgb(60 30 10 / 0.22);
  --shadow-xl: 0 24px 44px -16px rgb(60 30 10 / 0.26);
  --font-family: var(--ldx-body);
  --font-family-heading: var(--ldx-head);
  --font-display: var(--ldx-display);
  --font-family-accent: var(--ldx-display);
}

html { scroll-padding-top: calc(var(--header-height, 72px) + 64px); }

body {
  background: var(--ldx-bg);
  color: var(--ldx-text);
  font-family: var(--ldx-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

:focus-visible { outline: 3px solid var(--ldx-red); outline-offset: 3px; }

h1, h2, h3, h4,
.ldx-title, .ldx-hero__title, .ldx-final h2,
body.page-catalog .category-summary-title,
body.page-product .product-title { font-style: normal; }

/* Titres du bloc SEO / FAQ de la home */
body .seoext-home h2, body .seoext-home h3 { color: var(--ldx-text); font-style: normal; }

/* ---------- Boutons ---------- */
.ldx-btn,
.btn-primary,
.header-order,
.order-mode-submit,
.cnc-btn,
body.page-catalog .product-actions .btn,
body.page-catalog .add-form .btn-primary {
  background: var(--ldx-cta);
  border: 1.5px solid var(--ldx-cta);
  color: #fff;
}

.ldx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0 1.5rem;
  border-radius: 999px;
  font: 700 1rem/1 var(--ldx-head);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 5px 0 #8f0a12, 0 16px 30px -14px rgba(214, 18, 30, 0.75);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  cursor: pointer;
}

.ldx-btn:hover,
.btn-primary:hover,
.header-order:hover,
.order-mode-submit:hover {
  background: var(--ldx-cta-hover);
  border-color: var(--ldx-cta-hover);
  color: #fff;
}

.ldx-btn:hover { transform: translateY(-1px); }
.ldx-btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #8f0a12; }

.ldx-btn svg,
.ldx-link svg {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ldx-btn--xl { min-height: 58px; padding: 0 2rem; font-size: 1.08rem; }
.ldx-btn--block { width: 100%; }

.ldx-btn--ghost {
  background: var(--ldx-surface);
  border-color: var(--ldx-ink);
  color: var(--ldx-ink);
  box-shadow: 0 5px 0 var(--ldx-ink);
}

.ldx-btn--ghost:hover {
  background: var(--ldx-yellow);
  border-color: var(--ldx-ink);
  color: var(--ldx-ink);
}

.ldx-btn--ghost:active { box-shadow: 0 1px 0 var(--ldx-ink); }

.ldx-btn--dark { background: var(--ldx-ink); border-color: var(--ldx-ink); box-shadow: 0 5px 0 #000, 0 16px 30px -14px rgba(0, 0, 0, 0.6); }
.ldx-btn--dark:hover { background: #000; border-color: #000; }

/* ==========================================================================
   EN-TÊTE, BANDEAU D'ÉTAT, MENU MOBILE, PIED DE PAGE
   ========================================================================== */
.header {
  background: rgba(246, 236, 224, 0.94);
  border-bottom: 1px solid var(--ldx-line);
  box-shadow: none;
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}

.header.is-scrolled,
.header.scrolled { background: rgba(246, 236, 224, 0.98); box-shadow: 0 8px 24px -16px rgba(60, 30, 10, 0.4); }

.header-nav a,
.header-track { color: var(--ldx-text); font-family: var(--ldx-head); font-weight: 600; letter-spacing: 0.06em; }
.header-nav a:hover,
.header-track:hover { color: var(--ldx-red); }

.nav-btn {
  border: 1.5px solid var(--ldx-ink);
  background: var(--ldx-surface);
  color: var(--ldx-ink);
}

.nav-btn svg { stroke: var(--ldx-ink); }
.nav-btn:hover { background: var(--ldx-yellow); border-color: var(--ldx-ink); }
.nav-btn__label { color: var(--ldx-ink); }
.cart-btn .cart-icon { stroke: var(--ldx-ink); fill: none; }
.cart-count-badge { background: var(--ldx-red); color: #fff; border-color: var(--ldx-bg); }

.header-logo .header-logo-img {
  width: 54px;
  height: 54px;
  filter: drop-shadow(0 4px 10px rgba(60, 30, 10, 0.35));
  transition: transform 0.2s ease;
}

.header-logo:hover .header-logo-img { transform: rotate(-8deg) scale(1.05); }
.header-logo-text { display: none; }

@media (min-width: 900px) {
  .header-logo .header-logo-img { width: 60px; height: 60px; }
}

.header-order {
  border-radius: 999px;
  font-family: var(--ldx-head);
  box-shadow: 0 3px 0 #8f0a12;
}

.status-bar {
  background: var(--ldx-ink);
  color: #f6ece0;
  font-family: var(--ldx-body);
  font-weight: 600;
  font-size: 0.9rem;
  border: 0;
}

.status-bar--open { color: #f6ece0; }
.status-bar--open .status-bar__dot { background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, 0.2); }
.status-bar--closed { color: #f6ece0; }
.status-bar--closed .status-bar__dot { background: var(--ldx-yellow); box-shadow: 0 0 0 4px rgba(255, 199, 52, 0.2); }

/* Accueil : en-tête crème plein (le héros est clair, plus de voile sombre sous la barre) */
.page-home .header:not(.is-scrolled) { background: rgba(246, 236, 224, 0.94); border-bottom-color: var(--ldx-line); }
.page-home .header::before { display: none; }
.page-home .header-spacer { display: block; }
.page-home .status-bar { position: relative; top: auto; background: var(--ldx-ink); color: #f6ece0; text-shadow: none; }

/* Menu mobile */
.nav-overlay { background: rgba(20, 17, 16, 0.55); }
.nav-drawer { background: var(--ldx-bg); color: var(--ldx-text); border-right: 4px solid var(--ldx-red); }
.nav-drawer__head { border-bottom: 1px solid var(--ldx-line); }
.nav-drawer__title { color: var(--ldx-text); font-family: var(--ldx-display); font-weight: 400; letter-spacing: 0.02em; }
.nav-drawer__close { color: var(--ldx-text); border-color: var(--ldx-line-strong); background: var(--ldx-surface); }
.nav-item { color: var(--ldx-text); border-bottom-color: var(--ldx-line); font-family: var(--ldx-head); }
.nav-item span { color: var(--ldx-red); }
.nav-item:hover { color: var(--ldx-red); background: rgba(214, 18, 30, 0.06); }
.nav-item--highlight { background: var(--ldx-red); color: #fff; }
.nav-item--highlight span { color: var(--ldx-yellow); }
.nav-item--highlight:hover { background: var(--ldx-cta-hover); color: #fff; }
.nav-drawer__footer { border-top: 1px solid var(--ldx-line); color: var(--ldx-text-2); }
.nav-drawer__brand, .nav-drawer__sub, .nav-drawer__sub a { color: var(--ldx-text-2); }

/* Pied de page : noir comme le badge, liseré flamme */
.footer {
  position: relative;
  padding-top: 0;
  background: var(--ldx-ink);
  background-image: none;
  color: #efe4d6;
  border-top: 0;
}

.footer > .db-tape { height: 8px; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); background: var(--ldx-flame); }
.footer-brand strong { color: #fff; font-family: var(--ldx-display); font-weight: 400; font-size: 2rem; letter-spacing: 0.02em; }
.footer-brand p, .footer-col p { color: #d9ccbd; }
.footer-brand .footer-logo { width: 112px; height: 112px; flex: none; }
.footer-label { color: var(--ldx-yellow); }
.footer .footer-brand p,
.footer .footer-col,
.footer .footer-col p { color: #d9ccbd; }
.footer .footer-link,
.footer .footer-phone { color: #efe4d6; }
.footer .footer-link:hover,
.footer .footer-phone:hover { color: var(--ldx-yellow); }
.footer-bottom { border-top-color: rgba(246, 236, 224, 0.14); }
.copyright, .copyright a, .credit-link { color: #bfb1a2; }
.footer .footer-signature { color: var(--ldx-yellow) !important; font-family: var(--ldx-display); font-weight: 400; letter-spacing: 0.03em; }
.footer .footer-bottom p { color: #bfb1a2; }

/* Titres des pages panier / paiement / suivi : police du logo */
.page-intro h1,
.track-card-title,
.track-title,
body.page-cart h1,
body.page-checkout h1 {
  color: var(--ldx-ink);
  font-family: var(--ldx-display);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.page-eyebrow { color: var(--ldx-orange); }
.seoext-footer { color: rgba(246, 236, 224, 0.6); }
.seoext-footer a { color: rgba(246, 236, 224, 0.75); }
.seoext-footer a:hover { color: var(--ldx-yellow); }

/* Messages flash lisibles sur fond clair */
.flash { border-radius: 14px; font-weight: 600; }

/* ==========================================================================
   ACCUEIL
   ========================================================================== */
body.page-home .main { padding: 0; }
body.page-home .status-bar { position: relative; z-index: 3; }

/* ---------- Héros : visuel IA dans la DA des photos, texte sur la zone crème ---------- */
.ldx-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-start;
  min-height: min(100svh, 900px);
  overflow: hidden;
  background: var(--ldx-bg);
}

.ldx-hero__media,
.ldx-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ldx-hero__media { z-index: -2; }
.ldx-hero__media img { object-fit: cover; object-position: 50% 100%; }

/* voile crème léger derrière le texte (le haut du visuel mobile porte une flamme) */
.ldx-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(246, 236, 224, 0.9) 0%, rgba(246, 236, 224, 0.72) 30%, rgba(246, 236, 224, 0) 52%);
}

.ldx-hero__inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 1.6rem 20px 2rem;
}

.ldx-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.9rem;
  padding: 0.45rem 0.9rem;
  border: 1.5px solid var(--ldx-ink);
  border-radius: 999px;
  background: var(--ldx-surface);
  color: var(--ldx-text);
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--ldx-ink);
}

.ldx-rating strong { font-weight: 800; }
.ldx-rating > span:last-child { color: var(--ldx-text-2); }

.ldx-stars { color: var(--ldx-star); letter-spacing: 0.06em; }
.ldx-stars span { color: rgba(242, 169, 0, 0.35); }

.ldx-hero__halal {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.9rem 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--ldx-ink);
  color: var(--ldx-yellow);
  font: 700 0.85rem/1 var(--ldx-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ldx-hero__title {
  margin: 0 0 0.8rem;
  color: var(--ldx-ink);
  font-family: var(--ldx-display);
  font-size: clamp(2.5rem, 11.5vw, 3.5rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.ldx-hero__title span {
  display: inline-block;
  margin-top: 0.12em;
  padding: 0.06em 0.22em 0;
  background: var(--ldx-red);
  color: #fff;
  transform: rotate(-1.5deg);
  box-shadow: 0.08em 0.08em 0 var(--ldx-yellow);
}

.ldx-br-d { display: none; }

.ldx-hero__lead {
  max-width: 34rem;
  margin: 0 0 1.3rem;
  color: var(--ldx-text-2);
  font-size: 1.08rem;
  line-height: 1.5;
}

.ldx-hero__lead strong { color: var(--ldx-text); font-weight: 700; }

.ldx-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.ldx-hero__perks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ldx-hero__perks li {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--ldx-line-strong);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.85);
  color: var(--ldx-text-2);
  font-size: 0.9rem;
}

.ldx-hero__perks strong { color: var(--ldx-text); }

/* ---------- Bandeau défilant ---------- */
.ldx-ticker-wrap {
  position: relative;
  z-index: 2;
  overflow: hidden;
  margin-top: -22px;
  padding: 10px 0;
}

.ldx-ticker {
  overflow: hidden;
  margin: 0 -12px;
  background: var(--ldx-red);
  border-top: 4px solid var(--ldx-ink);
  border-bottom: 4px solid var(--ldx-ink);
  transform: rotate(-1deg);
}

.ldx-ticker__track {
  display: flex;
  width: max-content;
  animation: ldx-marquee 32s linear infinite;
}

.ldx-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 0.7rem 0 0.55rem 1.1rem;
  color: #fff;
  font: 400 1.35rem/1 var(--ldx-display);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.ldx-ticker__item::after { content: "🔥"; font-size: 1.05rem; }

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

/* ---------- Sections ---------- */
.ldx-section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 3rem 20px;
}

.ldx-band { position: relative; }
.ldx-band--yellow { background: var(--ldx-yellow); }
.ldx-band--ink { background: var(--ldx-ink); color: #f6ece0; }
.ldx-band--paper { background: var(--ldx-bg-2); }

.ldx-head { margin-bottom: 1.5rem; }

.ldx-head--row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.ldx-kicker {
  display: inline-block;
  margin: 0 0 0.5rem;
  color: var(--ldx-orange);
  font: 700 0.85rem/1.2 var(--ldx-head);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ldx-kicker::before { content: "🔥 "; letter-spacing: 0; }

.ldx-title {
  margin: 0;
  color: var(--ldx-ink);
  font-family: var(--ldx-display);
  font-size: clamp(2rem, 8.5vw, 3.2rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.ldx-title span { color: var(--ldx-red); }

.ldx-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex: none;
  padding: 0.4rem 0;
  color: var(--ldx-ink);
  font: 700 0.95rem var(--ldx-head);
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 3px solid var(--ldx-red);
}

.ldx-link:hover { color: var(--ldx-red); }

/* ---------- Tuiles catégories ---------- */
.ldx-cats__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ldx-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1.5px solid var(--ldx-ink);
  border-radius: var(--ldx-radius);
  background: var(--ldx-surface);
  color: var(--ldx-text);
  text-decoration: none;
  box-shadow: 0 4px 0 var(--ldx-ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ldx-tile:hover { transform: translateY(-3px); box-shadow: 0 7px 0 var(--ldx-ink); }

.ldx-tile__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ldx-surface-2); }
.ldx-tile__media picture, .ldx-tile__media img { display: block; width: 100%; height: 100%; }

.ldx-tile__media img {
  object-fit: cover;
  object-position: 45% 60%;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ldx-tile:hover .ldx-tile__media img { transform: scale(1.06); }

.ldx-tile__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.1rem 0.5rem;
  padding: 0.65rem 0.8rem 0.7rem;
  border-top: 1.5px solid var(--ldx-ink);
}

.ldx-tile__label strong {
  font: 700 1.02rem/1.15 var(--ldx-head);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.ldx-tile__label small {
  color: var(--ldx-orange);
  font-size: 0.88rem;
  font-weight: 700;
}

/* ---------- Best-sellers ---------- */
.ldx-best__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 84%;
  gap: 14px;
  margin: 0 -20px;
  padding: 0 20px 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 20px;
  scrollbar-width: none;
}

.ldx-best__track::-webkit-scrollbar { display: none; }

.ldx-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1.5px solid var(--ldx-ink);
  border-radius: var(--ldx-radius);
  background: var(--ldx-surface);
  color: var(--ldx-text);
  text-decoration: none;
  box-shadow: 0 5px 0 var(--ldx-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ldx-card:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ldx-ink); }

.ldx-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--ldx-surface-2);
  border-bottom: 1.5px solid var(--ldx-ink);
}

.ldx-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ldx-card:hover .ldx-card__media img { transform: scale(1.04); }

.ldx-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.1rem 1.1rem;
}

.ldx-card__name {
  font: 700 1.28rem/1.15 var(--ldx-head);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.ldx-card__desc {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ldx-text-2);
  font-size: 0.95rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ldx-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.6rem;
}

.ldx-card__price { font: 400 1.6rem/1 var(--ldx-display); color: var(--ldx-ink); letter-spacing: 0.02em; }

.ldx-card__add {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--ldx-cta);
  color: #fff;
  font: 700 0.9rem/1 var(--ldx-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 3px 0 #8f0a12;
}

.ldx-card__add svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; }

/* ---------- Les bons deals (bande jaune) ---------- */
.ldx-deals .ldx-kicker { color: var(--ldx-ink); }
.ldx-deals .ldx-title span { color: var(--ldx-red); }
.ldx-deals__lead { max-width: 40rem; margin: 0.8rem 0 0; color: var(--ldx-ink); font-size: 1.05rem; }

.ldx-deals__grid {
  display: grid;
  gap: 16px;
  margin-top: 1.6rem;
}

.ldx-deal {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--ldx-ink);
  border-radius: 22px;
  background: var(--ldx-surface);
  color: var(--ldx-text);
  text-decoration: none;
  box-shadow: 0 6px 0 var(--ldx-ink);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ldx-deal:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--ldx-ink); }

.ldx-deal__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 2px solid var(--ldx-ink); }
.ldx-deal__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ldx-deal__gift {
  display: none;
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.45rem 0.8rem 0.35rem;
  border: 2px solid var(--ldx-ink);
  border-radius: 999px;
  background: var(--ldx-yellow);
  color: var(--ldx-ink);
  font: 400 0.95rem/1 var(--ldx-display);
  letter-spacing: 0.04em;
  transform: rotate(-3deg);
}

.ldx-deal__body { display: flex; flex: 1; flex-direction: column; gap: 0.45rem; padding: 1.1rem 1.2rem 1.25rem; }
.ldx-deal__name { font: 400 1.65rem/1 var(--ldx-display); letter-spacing: 0.02em; text-transform: uppercase; }
.ldx-deal__desc { color: var(--ldx-text-2); font-size: 0.96rem; line-height: 1.45; }

.ldx-deal__foot { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; margin-top: auto; padding-top: 0.7rem; }
.ldx-deal__price { font: 400 1.9rem/1 var(--ldx-display); color: var(--ldx-red); }

/* ---------- Pourquoi Le Dix (bande noire) ---------- */
.ldx-why .ldx-kicker { color: var(--ldx-yellow); }
.ldx-why .ldx-title { color: #fff; }
.ldx-why .ldx-title span { color: var(--ldx-yellow); }

.ldx-why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ldx-why__grid li {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.15rem 1rem 1.2rem;
  border: 1px solid rgba(246, 236, 224, 0.16);
  border-radius: var(--ldx-radius);
  background: var(--ldx-ink-2);
}

.ldx-why__icon { font-size: 1.9rem; line-height: 1; }
.ldx-why__grid strong { color: var(--ldx-yellow); font: 400 1.25rem/1.1 var(--ldx-display); letter-spacing: 0.03em; text-transform: uppercase; }
.ldx-why__grid li > span:last-child { color: #dccfbf; font-size: 0.93rem; line-height: 1.45; }

/* ---------- Infos ---------- */
.ldx-info { display: grid; gap: 14px; }

.ldx-info__card,
.ldx-info__hours {
  padding: 1.5rem 1.25rem;
  border: 1.5px solid var(--ldx-ink);
  border-radius: 22px;
  background: var(--ldx-surface);
  box-shadow: 0 5px 0 var(--ldx-ink);
}

.ldx-info__addr { margin: 1rem 0 0.75rem; color: var(--ldx-text); font: 600 1.3rem/1.35 var(--ldx-head); }

.ldx-info__modes { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: 0 0 1.25rem; }

.ldx-info__modes span {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--ldx-yellow);
  color: var(--ldx-ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.ldx-info__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.ldx-info__actions .ldx-btn { min-height: 48px; padding: 0 1.2rem; font-size: 0.92rem; }

.ldx-info__rating {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--ldx-line);
  color: var(--ldx-text-2);
  text-decoration: none;
}

.ldx-info__score { color: var(--ldx-ink); font: 400 2.8rem/1 var(--ldx-display); }

.ldx-info__hours h3 { margin: 0 0 0.8rem; color: var(--ldx-ink); font: 400 1.6rem var(--ldx-display); letter-spacing: 0.03em; text-transform: uppercase; }
.ldx-info__hours ul { margin: 0; padding: 0; list-style: none; }

.ldx-info__hours li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed var(--ldx-line-strong);
  color: var(--ldx-text-2);
  font-size: 1rem;
}

.ldx-info__hours li:last-child { border-bottom: 0; }
.ldx-info__hours li span:first-child { color: var(--ldx-text); font-weight: 700; text-transform: capitalize; }
.ldx-info__hours li.is-today { color: var(--ldx-red); }
.ldx-info__hours li.is-today span:first-child { color: var(--ldx-red); }

/* ---------- CTA final ---------- */
.ldx-final {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 440px;
  overflow: hidden;
  text-align: center;
  background: var(--ldx-red);
}

.ldx-final__media,
.ldx-final__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.ldx-final__media { z-index: -2; }
.ldx-final__media img { object-fit: cover; object-position: 60% 60%; }

.ldx-final::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(80% 80% at 50% 50%, rgba(20, 17, 16, 0.62), rgba(20, 17, 16, 0.86));
}

.ldx-final__inner { max-width: 660px; padding: 3.5rem 20px; color: #fff; }

.ldx-final__logo { width: 96px; height: 96px; margin: 0 auto 1rem; filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.5)); }

.ldx-final h2 {
  margin: 0 0 0.75rem;
  color: #fff;
  font-family: var(--ldx-display);
  font-size: clamp(2.4rem, 10vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.ldx-final h2 span { color: var(--ldx-yellow); }
.ldx-final p { margin: 0 0 1.6rem; color: #f3e7da; font-size: 1.1rem; }

/* ---------- Barre collante mobile ---------- */
.ldx-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 0.75rem 16px calc(0.75rem + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(246, 236, 224, 0), rgba(246, 236, 224, 0.96) 35%);
  transform: translateY(110%);
  transition: transform 0.25s ease;
  pointer-events: none;
}

.ldx-sticky.is-visible { transform: none; pointer-events: auto; }
.ldx-sticky .ldx-btn { min-height: 54px; }

/* SEO + FAQ en bas de home */
body.page-home .seoext-home,
body.page-home .seo-ext-home { color: var(--ldx-text-2); }

/* ---------- Accueil : responsive ---------- */
@media (min-width: 560px) {
  .ldx-best__track { grid-auto-columns: 46%; }
  .ldx-deals__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 700px) {
  .ldx-cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ldx-why__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .ldx-hero { align-items: center; min-height: min(88vh, 800px); }
  .ldx-hero__media img { object-position: 100% 50%; }
  .ldx-hero__shade { background: linear-gradient(90deg, rgba(246, 236, 224, 0.95) 0%, rgba(246, 236, 224, 0.88) 30%, rgba(246, 236, 224, 0.45) 41%, rgba(246, 236, 224, 0) 52%); }
  /* le visuel garde la nourriture à droite (48-100 %) : le texte reste sous 45 % de la largeur */
  .ldx-hero__inner { max-width: none; margin: 0; padding: 3.5rem max(40px, 4vw) 4.5rem; }
  .ldx-hero__inner > * { max-width: min(540px, 37vw); }
  .ldx-hero__title { font-size: clamp(2.6rem, 4.1vw, 4.4rem); }
  .ldx-br-d { display: inline; }
  .ldx-hero__lead { font-size: 1.2rem; }

  .ldx-section { padding: 5rem 40px; }
  .ldx-cats__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }

  .ldx-best__track {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: auto;
    gap: 20px;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  .ldx-deals__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .ldx-info { grid-template-columns: 1.3fr 1fr; gap: 20px; }
  .ldx-info__card, .ldx-info__hours { padding: 2.2rem 2rem; }

  .ldx-sticky { display: none; }
  .ldx-final { min-height: 520px; }
}

@media (max-width: 899px) {
  body.page-home { padding-bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
  .ldx-btn, .ldx-card, .ldx-deal, .ldx-tile, .ldx-tile__media img, .ldx-card__media img, .ldx-sticky { transition: none; }
  .ldx-ticker__track { animation: none; }
}

body.page-home .seoext-home,
body.page-home .seo-ext-home { color: var(--ldx-text-2); }

/* ==========================================================================
   CARTE (catalogue)
   ========================================================================== */
body.page-catalog .catalog-header h1 {
  font-family: var(--ldx-display);
  font-weight: 400;
  letter-spacing: 0;
}

body.page-catalog .catalog-lead,
body.page-catalog .catalog-eyebrow { color: var(--ldx-text-2); }
body.page-catalog .catalog-eyebrow { color: var(--ldx-orange); }

body.page-catalog .sticky-nav { margin-bottom: 1.5rem; background: rgba(246, 236, 224, 0.96); }
body.page-catalog .categories-list { gap: 0.45rem; padding: 0.6rem 0; }

body.page-catalog .category-link {
  padding: 0.6rem 1rem;
  border: 1px solid var(--ldx-line);
  border-radius: 999px;
  background: var(--ldx-surface);
  color: var(--ldx-text-2);
  font: 600 0.88rem/1 var(--ldx-head);
  letter-spacing: 0.04em;
}

body.page-catalog .category-link.active,
body.page-catalog .category-link:hover {
  border-color: var(--ldx-cta);
  background: var(--ldx-cta);
  color: #fff;
}

body.page-catalog .category-summary { min-height: 0; padding: 1.75rem 0 1rem; }

body.page-catalog .category-summary-title {
  font-family: var(--ldx-display);
  font-size: clamp(1.9rem, 6vw, 3rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

body.page-catalog .category-summary-meta,
body.page-catalog .category-product-count { color: var(--ldx-muted); font-size: 0.8rem; }

body.page-catalog .category-panel { padding-bottom: 2.5rem; }
body.page-catalog .category-accordion { border-bottom-color: var(--ldx-line); }

body.page-catalog .products-grid { grid-template-columns: 1fr; gap: 12px; }

body.page-catalog .product-card {
  padding: 12px;
  border-color: var(--ldx-line);
  border-radius: 16px;
  background: var(--ldx-surface);
}

body.page-catalog .product-card:hover { border-color: rgba(214, 18, 30, 0.45); }

body.page-catalog .product-card-body { gap: 14px; }

body.page-catalog .product-media {
  flex: 0 0 118px;
  width: 118px;
  height: 118px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ldx-surface-2);
}

body.page-catalog .product-media picture { display: block; width: 100%; height: 100%; }

body.page-catalog .product-title {
  margin-bottom: 0.3rem;
  color: var(--ldx-text);
  font: 600 1.12rem/1.2 var(--ldx-head);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

body.page-catalog .product-desc { color: var(--ldx-text-2); font-size: 0.9rem; line-height: 1.4; }

body.page-catalog .product-price {
  color: var(--ldx-text);
  font: 700 1.2rem/1 var(--ldx-head);
}

body.page-catalog .product-actions { padding-top: 0.6rem; }

body.page-catalog .product-actions .btn,
body.page-catalog .product-actions .btn-outline {
  min-height: 42px;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 999px;
  background: var(--ldx-cta);
  color: #fff;
  font: 700 0.88rem/1 var(--ldx-head);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

body.page-catalog .product-actions .btn:hover { background: var(--ldx-cta-hover); }

/* Fenêtre « Comment veux-tu commander ? » */
body.page-catalog .order-mode-card { background: var(--ldx-surface); border-color: var(--ldx-line); border-radius: 22px; }
body.page-catalog .order-mode-title { font-family: var(--ldx-display); font-weight: 400; letter-spacing: 0; text-transform: uppercase; }
body.page-catalog .order-mode-kicker { color: var(--ldx-orange); }
body.page-catalog .order-mode-subtitle,
body.page-catalog .order-mode-desc { color: var(--ldx-text-2); }

body.page-catalog .order-mode-option {
  border: 1.5px solid var(--ldx-line);
  border-radius: 16px;
  background: var(--ldx-surface-2);
  color: var(--ldx-text);
}

body.page-catalog .order-mode-option.is-active,
body.page-catalog .order-mode-option:hover { border-color: var(--ldx-cta); background: rgba(214, 18, 30, 0.07); }
body.page-catalog .order-mode-submit { border-radius: 999px; min-height: 54px; }

/* Barre panier flottante */
.ldx-cartbar {
  position: fixed;
  left: 50%;
  bottom: calc(14px + env(safe-area-inset-bottom));
  z-index: 95;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(560px, calc(100% - 28px));
  min-height: 58px;
  padding: 0 0.6rem 0 1.2rem;
  border-radius: 999px;
  background: var(--ldx-cta);
  box-shadow: 0 18px 40px -12px rgba(26, 19, 16, 0.45);
  color: #fff;
  font: 700 1rem/1 var(--ldx-head);
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.ldx-cartbar__count {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  margin-right: 0.5rem;
  border-radius: 999px;
  background: #fff;
  color: var(--ldx-cta);
  font-size: 0.9rem;
}

.ldx-cartbar__total { padding: 0.55rem 0.9rem; border-radius: 999px; background: rgba(0, 0, 0, 0.22); }
body.page-catalog .catalog-page { padding-bottom: 90px; }

/* ==========================================================================
   FICHE PRODUIT
   ========================================================================== */
body.page-product .product-detail > .product-media figure,
body.page-product .product-detail > .product-media {
  overflow: hidden;
  border-radius: 22px;
}

body.page-product .product-detail-image { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

body.page-product .product-title,
body.page-product .product-header .product-title {
  color: var(--ldx-ink);
  font-family: var(--ldx-display);
  font-size: clamp(2.4rem, 10vw, 4.2rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

body.page-product .product-header .price.large { color: var(--ldx-red); font-family: var(--ldx-display); font-weight: 400; font-size: 2rem; }

body.page-product .product-eyebrow { color: var(--ldx-orange); }
body.page-product #product-price { color: var(--ldx-red); font-family: var(--ldx-display); font-weight: 400; letter-spacing: 0.02em; }
body.page-product .description,
body.page-product .description p { color: var(--ldx-text-2); font-size: 1.02rem; }

body.page-product .step-name {
  color: var(--ldx-text);
  font-family: var(--ldx-head);
  font-style: normal;
  letter-spacing: 0.02em;
}

body.page-product .step-number { color: var(--ldx-orange); }
body.page-product .badge-required { background: var(--ldx-cta); color: #fff; }
body.page-product .badge-optional { color: var(--ldx-muted); }
body.page-product .step-note,
body.page-product .step-instruction { color: var(--ldx-text-2); }

body.page-product .choice-card {
  border: 1.5px solid var(--ldx-line);
  border-radius: 14px;
  background: var(--ldx-surface);
  color: var(--ldx-text);
}

body.page-product .choice-card:hover { border-color: rgba(214, 18, 30, 0.45); }

body.page-product .choice-card:has(.choice-input:checked),
body.page-product .choice-card.is-selected {
  border-color: var(--ldx-cta);
  background: rgba(214, 18, 30, 0.07);
}

body.page-product .choice-name { color: var(--ldx-text); font-weight: 600; }
body.page-product .choice-price { color: var(--ldx-orange); font-weight: 700; }

body.page-product .choice-media {
  flex: none;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 10px;
}

body.page-product .choice-image { width: 100%; height: 100%; object-fit: cover; }

body.page-product .wiz-progress-label { color: var(--ldx-text-2); }
body.page-product .wiz-progress-bar span { background: var(--ldx-cta); }
body.page-product .btn-primary { border-radius: 999px; }
body.page-product .back-link { color: var(--ldx-text-2); }

/* ---------- Carte : grille responsive ---------- */
@media (min-width: 700px) {
  body.page-catalog .products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
  body.page-catalog .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Carte produit de la carte : texte à gauche, photo à droite, prix + bouton sur une ligne */
body.page-catalog .product-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 118px;
  grid-template-rows: 1fr auto;
  column-gap: 14px;
}

body.page-catalog .product-card-body { display: contents; }
body.page-catalog .product-info { grid-column: 1; grid-row: 1; }
body.page-catalog .product-card .product-media { grid-column: 2; grid-row: 1 / span 2; align-self: start; }

body.page-catalog .product-actions {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding: 0.65rem 0 0;
}

body.page-catalog .product-actions .product-price { margin: 0; }
body.page-catalog .product-actions .add-form { margin: 0; }

body.page-catalog .order-mode-submit,
body.page-catalog .order-mode-actions .btn-primary {
  background: var(--ldx-cta);
  border-color: var(--ldx-cta);
  color: #fff;
}

body.page-catalog .order-mode-title { font-size: clamp(2.1rem, 9vw, 3.4rem); line-height: 1; }

@media (min-width: 700px) {
  body.page-catalog .product-card { grid-template-columns: minmax(0, 1fr) 132px; }
  body.page-catalog .product-card .product-media { width: 132px; height: 132px; flex-basis: 132px; }
}

/* Boutons principaux sur toutes les pages (les <style> en ligne des templates arrivent après cette feuille) */
body .btn-primary,
body .btn-primary:visited { background: var(--ldx-cta); border-color: var(--ldx-cta); color: #fff; }
body .btn-primary:hover,
body .btn-primary:focus-visible { background: var(--ldx-cta-hover); border-color: var(--ldx-cta-hover); color: #fff; }

/* Fiche produit : choix compacts et lisibles */
body.page-product .choice-card { min-height: 0; border-radius: 14px; }
body.page-product .choice-content-wrapper { min-height: 64px; padding: 0.7rem 0.9rem; }
body.page-product .choice-card:not(.qty-card) .choice-content-wrapper { padding-right: 2.8rem; }

body.page-product .choice-name {
  color: var(--ldx-text);
  font-family: var(--ldx-body);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

body.page-product .choice-price { display: block; margin-top: 0.15rem; color: var(--ldx-orange); font-size: 0.92rem; font-weight: 700; letter-spacing: 0; }
body.page-product .choice-media { flex-basis: 52px; border-radius: 12px; }

body.page-product .choice-card:has(:checked) {
  border-color: var(--ldx-cta);
  background: rgba(214, 18, 30, 0.07);
  box-shadow: inset 0 0 0 1px var(--ldx-cta);
}

body.page-product .choice-card:hover { border-color: rgba(214, 18, 30, 0.5); }

body.page-product .choice-input:checked + .choice-content-wrapper .choice-indicator {
  border-color: var(--ldx-cta);
  background: var(--ldx-cta);
  color: #fff;
}

body.page-product .badge-required,
body.page-product .badge-optional {
  font-family: var(--ldx-body);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

body.page-product .badge-required { background: var(--ldx-cta); color: #fff; }
body.page-product .step-instruction { font-size: 0.85rem; }
body.page-product .choices-grid { gap: 0.6rem; }

@media (max-width: 560px) {
  body.page-product .choices-grid { grid-template-columns: 1fr; }
}


body.page-product .choice-input:checked ~ .choice-content-wrapper,
body.page-product .choice-input:checked + .choice-content-wrapper { background: transparent; box-shadow: none; }

/* ==========================================================================
   Formulaires, récapitulatifs, suivi : version claire (le socle était pensé pour un fond noir)
   ========================================================================== */
input,
textarea,
select {
  border: 1.5px solid var(--ldx-line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ldx-text);
}

input::placeholder,
textarea::placeholder { color: #8a7b6e; opacity: 1; }

input:focus,
textarea:focus,
select:focus {
  border-color: var(--ldx-red);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(214, 18, 30, 0.14);
}

input[type="radio"],
input[type="checkbox"] { min-height: 0; border-radius: initial; }

.order-summary,
body.page-checkout .order-summary {
  background: var(--ldx-surface);
  border: 1px solid var(--ldx-line);
  color: var(--ldx-text-2);
}

.summary-item,
.summary-row { border-bottom-color: var(--ldx-line); }
body.page-checkout .summary-row.total { color: var(--ldx-ink); }
body.page-checkout .summary-row.total span:last-child,
body.page-cart .summary-row.total span:last-child { color: var(--ldx-red); }

body.page-checkout .form-section,
body.page-cart .cart-summary { border-radius: 20px; }

body.page-checkout .form-section h2 { color: var(--ldx-ink); font-family: var(--ldx-display); font-weight: 400; letter-spacing: 0.02em; }
body.page-checkout label { color: var(--ldx-text-2); }
body.page-checkout .choice-label { border-radius: 14px; background: var(--ldx-surface); }
body.page-checkout .choice-label:has(input:checked) { border-color: var(--ldx-red); background: rgba(214, 18, 30, 0.06); }
body.page-checkout .delivery-quote-box { border-color: var(--ldx-line-strong); border-radius: 14px; background: var(--ldx-surface); }

body.page-track .form-control { border: 1.5px solid var(--ldx-line-strong); background: #fff; color: var(--ldx-text); }

/* Vignettes des choix : photo entière en 3:2 (les photos du client sont au format 3:2, badge en haut à droite) */
body.page-product .choice-media {
  flex: 0 0 84px;
  width: 84px;
  height: 56px;
  border-radius: 10px;
  border: 1px solid var(--ldx-line);
}

body.page-product .choice-media picture { display: block; width: 100%; height: 100%; }
body.page-product .choice-image { width: 100%; height: 100%; aspect-ratio: auto; margin: 0; border-radius: 0; object-fit: cover; object-position: 50% 55%; }

/* Bouton « Précédent » du pas-à-pas */
body.page-product #wiz-prev {
  border: 1.5px solid var(--ldx-ink);
  border-radius: 999px;
  background: var(--ldx-surface);
  color: var(--ldx-ink);
}

body.page-product #wiz-prev:hover { background: var(--ldx-yellow); }

/* Menu mobile : retouches (spécificité du socle premium) */
.nav-drawer .nav-drawer__title { color: var(--ldx-ink); font-family: var(--ldx-display); font-size: 1.6rem; font-weight: 400; }
.nav-drawer .nav-item { color: var(--ldx-ink); font-family: var(--ldx-display); font-weight: 400; letter-spacing: 0.02em; }
.nav-drawer .nav-item span { color: var(--ldx-red); font-family: var(--ldx-head); font-weight: 700; }
.nav-drawer .nav-item:hover { color: var(--ldx-red); border-color: var(--ldx-red); }
.nav-drawer .nav-item--highlight { padding-left: 0.9rem; border-radius: 14px; background: var(--ldx-red); color: #fff; box-shadow: 0 4px 0 #8f0a12; }
.nav-drawer .nav-item--highlight span { color: var(--ldx-yellow); }
.nav-drawer .nav-item--highlight:hover { padding-left: 0.9rem; background: var(--ldx-cta-hover); color: #fff; }
.nav-drawer .nav-drawer__footer { background: var(--ldx-ink); border-top: 0; color: #d9ccbd; }
.nav-drawer .nav-drawer__brand { color: var(--ldx-yellow); font-family: var(--ldx-head); font-weight: 700; letter-spacing: 0.04em; }
.nav-drawer .nav-drawer__sub,
.nav-drawer .nav-drawer__sub a { color: #f6ece0; }

/* Fenêtre « Comment veux-tu commander ? » : état choisi, champ adresse et suggestions lisibles sur fond clair */
body.page-catalog .order-mode-option { color: var(--ldx-ink); }
body.page-catalog .order-mode-option:hover { border-color: var(--ldx-red); background: rgba(214, 18, 30, 0.05); color: var(--ldx-ink); }
body.page-catalog .order-mode-option.is-active {
  border-color: var(--ldx-red);
  background: rgba(214, 18, 30, 0.08);
  color: var(--ldx-ink);
  box-shadow: inset 0 0 0 1px var(--ldx-red);
}
body.page-catalog .order-mode-option .order-mode-desc { color: var(--ldx-text-2); opacity: 1; }
body.page-catalog .order-mode-option.is-active .order-mode-check { border-color: var(--ldx-red); background: var(--ldx-red); color: #fff; }

body.page-catalog .delivery-input {
  border: 1.5px solid var(--ldx-line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ldx-text);
}
body.page-catalog .delivery-input::placeholder { color: #8a7b6e; opacity: 1; }
body.page-catalog .delivery-input:focus { border-color: var(--ldx-red); box-shadow: 0 0 0 3px rgba(214, 18, 30, 0.14); }

body.page-catalog .address-suggestions {
  border: 1.5px solid var(--ldx-line-strong);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  background: #fff;
  color: var(--ldx-text);
  box-shadow: 0 16px 30px -12px rgba(60, 30, 10, 0.35);
}
body.page-catalog .suggestion-item { border-bottom-color: var(--ldx-line); }
body.page-catalog .suggestion-item:hover,
body.page-catalog .suggestion-item.is-active { background: #fff3cc; }
body.page-catalog .suggestion-text { color: var(--ldx-ink); }
body.page-catalog .suggestion-context { color: var(--ldx-text-2); }

/* Survols hérités du thème sombre (inversions crème/encre) */
.header .nav-btn:hover { background: var(--ldx-yellow); border-color: var(--ldx-ink); color: var(--ldx-ink); }
.header .nav-btn:hover svg,
.header .nav-btn:hover .cart-icon { stroke: var(--ldx-ink); }
.header .nav-btn:hover .nav-btn__label { color: var(--ldx-ink); }
.header-order:hover { background: var(--ldx-cta-hover); border-color: var(--ldx-cta-hover); color: #fff; }

/* Contrastes (audit Playwright du 06/10, seuil 4,5 pour les petits textes) */
.ldx-stars { color: var(--ldx-red); }
.ldx-stars span { color: rgba(214, 18, 30, 0.35); }
.ldx-link:hover { color: var(--ldx-orange); border-bottom-color: var(--ldx-orange); }
.nav-drawer .nav-item--highlight span { color: #fff; }
.back-link,
body.page-track .back-link { color: var(--ldx-text-2); }
.back-link:hover { color: var(--ldx-orange); }
body.page-catalog .order-mode-badge .badge-action { color: var(--ldx-orange); }
.flash-warning { background: var(--ldx-yellow); color: var(--ldx-ink); }
.flash-success { background: #1f7a3d; color: #fff; }
.flash-error { background: var(--ldx-orange); color: #fff; }
.flash-info { background: var(--ldx-ink); color: #fff; }

/* Pages après paiement (confirmation, suivi) */
.section-title { color: var(--ldx-ink); }
.order-details { background: var(--ldx-surface); border: 1.5px solid var(--ldx-line-strong); }
.order-details h2, .order-details h3 { color: var(--ldx-orange); }
.next-steps { color: var(--ldx-text-2); }
.track-subtitle { color: var(--ldx-text-2); }
.item-qty { color: var(--ldx-text-2); }
body.page-checkout .delivery-quote-value,
.delivery-quote-value { color: var(--ldx-ink); }
body.page-checkout .delivery-quote-label { color: var(--ldx-orange); }
body.page-checkout .delivery-quote-info { color: var(--ldx-text-2); }

/* Héros mobile : l'accroche passe au-dessus du haut du burger → pastille crème pour la lisibilité */
@media (max-width: 899px) {
  .ldx-hero__lead {
    display: inline-block;
    padding: 0.55rem 0.8rem;
    border-radius: 14px;
    background: rgba(246, 236, 224, 0.9);
    color: var(--ldx-text);
  }
}
