/* ============================================================
   EZTHET — Pages boutique (Collection · Produit · Panier · Commande)
   Effets « Aceternity » réinterprétés en chaleureux :
   spotlight curseur, tilt 3D, bordures lumineuses, bento, aurora.
   ============================================================ */

/* ============================================================
   CLUB GATE — voile + pop-up d'accès privé
   ============================================================ */
.club-gate { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: center; padding: 1.5rem; transition: opacity 0.5s ease; }
.club-gate.open { opacity: 0; pointer-events: none; }
.club-gate-veil { position: absolute; inset: 0; background: oklch(0.12 0.008 70 / 0.82); backdrop-filter: blur(3px); }
.club-gate-card {
  position: relative; z-index: 1; width: 100%; max-width: 440px; text-align: center;
  background: var(--paper, #f6f1e7); border: 1px solid oklch(0.76 0.10 84 / 0.5);
  border-radius: 4px; padding: clamp(2rem, 5vw, 3.2rem) clamp(1.6rem, 4vw, 2.8rem);
  box-shadow: 0 40px 100px -30px oklch(0 0 0 / 0.7);
  animation: club-rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes club-rise { from { opacity: 0; transform: translateY(24px) scale(0.97); } }
.club-gate-card.shake { animation: club-shake 0.45s; }
@keyframes club-shake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-9px)} 40%,80%{transform:translateX(9px)} }
.club-gate-mark { font-family: var(--serif, Georgia, serif); font-size: 1.7rem; font-weight: 700; letter-spacing: 0.22em; color: var(--ink, #1f1d1a); }
.club-gate-kicker { font-family: var(--sans, Arial, sans-serif); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--wine, #9a7b3f); margin-top: 0.7rem; }
.club-gate-title { font-family: var(--serif, Georgia, serif); font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 600; margin: 1.1rem 0 0.6rem; color: var(--ink, #1f1d1a); letter-spacing: -0.01em; }
.club-gate-text { font-family: var(--sans, Arial, sans-serif); font-size: 0.94rem; line-height: 1.65; color: var(--ink-soft, #5a5346); max-width: 34ch; margin: 0 auto 1.6rem; }
.club-gate-form { display: flex; flex-direction: column; gap: 0.7rem; }
.club-gate-input {
  font-family: var(--sans, Arial, sans-serif); font-size: 1.1rem; text-align: center; letter-spacing: 0.3em;
  padding: 0.85em 1em; border: 1px solid var(--line-strong, #c9bfa9); border-radius: 100px; background: #fff;
  color: var(--ink, #1f1d1a); outline: none; transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.club-gate-input:focus { border-color: var(--wine, #9a7b3f); box-shadow: 0 0 0 3px oklch(0.6 0.09 76 / 0.16); }
.club-gate-btn {
  font-family: var(--sans, Arial, sans-serif); font-weight: 600; font-size: 0.95rem;
  background: var(--ink, #1f1d1a); color: var(--paper, #f6f1e7); border-radius: 100px; padding: 0.9em 1.4em;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; transition: background 0.25s ease;
}
.club-gate-btn:hover { background: var(--wine, #9a7b3f); }
.club-gate-err { font-family: var(--sans, Arial, sans-serif); font-size: 0.85rem; color: oklch(0.5 0.16 28); margin-top: 0.9rem; }
.club-gate-foot { font-family: var(--sans, Arial, sans-serif); font-size: 0.82rem; color: var(--ink-faint, #8a8170); margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--line, #e3dccd); }
.club-gate-foot a { color: var(--wine, #9a7b3f); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   FX PRIMITIVES
   ============================================================ */

/* Tilt 3D : l'élément suit la souris via --rx/--ry posés en JS */
[data-tilt] {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform;
}

/* Spotlight : halo radial chaleureux qui suit le curseur */
[data-spotlight] { position: relative; --mx: 50%; --my: 0%; }
[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx) var(--my),
    oklch(0.72 0.13 55 / 0.18), transparent 60%);
  opacity: 0; transition: opacity 0.45s ease;
}
[data-spotlight]:hover::before { opacity: 1; }
[data-spotlight] > * { position: relative; z-index: 1; }

/* Bordure lumineuse (gradient conique qui tourne au survol) */
.glow-border { position: relative; isolation: isolate; }
.glow-border::after {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
  padding: 1px;
  background: conic-gradient(from var(--ga, 0deg),
    transparent 0deg, var(--gold) 60deg, var(--terracotta) 130deg, transparent 200deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity 0.5s ease;
}
@property --ga { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.glow-border:hover::after { opacity: 1; animation: ga-spin 3.6s linear infinite; }
@keyframes ga-spin { to { --ga: 360deg; } }
@media (prefers-reduced-motion: reduce) { .glow-border:hover::after { animation: none; } }

/* Aurora / beams chaleureux (fond animé doux) */
.aurora { position: relative; overflow: hidden; }
.aurora::before {
  content: ""; position: absolute; inset: -40% -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 20% 20%, oklch(0.55 0.13 35 / 0.45), transparent 60%),
    radial-gradient(38% 46% at 82% 30%, oklch(0.62 0.10 75 / 0.40), transparent 62%),
    radial-gradient(46% 52% at 60% 88%, oklch(0.40 0.11 25 / 0.45), transparent 60%);
  filter: blur(14px); animation: aurora-drift 18s ease-in-out infinite alternate;
}
@keyframes aurora-drift {
  0%   { transform: translate3d(-3%, -2%, 0) scale(1.05) rotate(0deg); }
  100% { transform: translate3d(4%, 3%, 0) scale(1.12) rotate(6deg); }
}
@media (prefers-reduced-motion: reduce) { .aurora::before { animation: none; } }
.aurora > * { position: relative; z-index: 1; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.crumb {
  display: flex; gap: 0.55rem; align-items: center; flex-wrap: wrap;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-faint);
  padding-top: clamp(1.6rem, 3vw, 2.4rem);
}
.crumb a { color: var(--ink-faint); transition: color 0.3s ease; }
.crumb a:hover { color: var(--wine); }
.crumb .sep { color: var(--line-strong); }
.crumb .cur { color: var(--ink); }

/* ============================================================
   PAGE HEAD / COLLECTION HERO (bento)
   ============================================================ */
.coll-hero { padding-top: clamp(1.6rem, 3vw, 2.6rem); }
.coll-bento {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  grid-auto-rows: clamp(118px, 15vw, 168px); gap: clamp(12px, 1.4vw, 20px);
}
.bento-cell {
  position: relative; overflow: hidden; border-radius: var(--radius-card);
  border: 1px solid var(--line); background: var(--paper-2);
}
.bento-cell image-slot { width: 100%; height: 100%; --slot-bg: var(--paper-3); }
.bento-cell .ph { position: absolute; inset: 0; border-radius: 0; }
.bento-lead {
  grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink); color: var(--paper); padding: clamp(1.4rem, 3vw, 2.6rem);
}
.bento-lead .eyebrow { color: var(--gold-soft); }
.bento-lead h1 { margin-top: auto; font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1; overflow-wrap: anywhere; hyphens: auto; max-width: 100%; }
.bento-lead p { color: oklch(0.86 0.02 90); font-weight: 300; margin-top: 0.8rem; max-width: 34ch; }
.bento-tall { grid-row: span 2; }
.bento-cell .cell-cap {
  position: absolute; left: 16px; bottom: 14px; z-index: 2;
  color: oklch(0.97 0.01 90); text-shadow: 0 2px 10px oklch(0 0 0 / 0.5);
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
}
.bento-cell .cell-cap .fineprint { color: oklch(0.9 0.02 80); display: block; }
.bento-cell.media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, oklch(0.2 0.03 40 / 0.42));
}

/* ============================================================
   TOOLBAR / FILTRES
   ============================================================ */
.shop-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.4rem; flex-wrap: wrap;
  margin-top: clamp(2.4rem, 4vw, 3.4rem); padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
.filter-chips { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.chip {
  font-family: var(--sans); font-weight: 600; font-size: 0.82rem;
  padding: 0.6em 1.15em; border-radius: 100px;
  border: 1px solid var(--line-strong); color: var(--ink-soft);
  transition: all 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); white-space: nowrap;
}
.chip:hover { border-color: var(--ink); color: var(--ink); transform: translateY(-1px); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip .ct { opacity: 0.55; font-weight: 500; margin-left: 0.35em; }

.toolbar-right { display: flex; align-items: center; gap: 1.1rem; }
.result-count { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); letter-spacing: 0.04em; }
.select-wrap { position: relative; }
.select-wrap select {
  font-family: var(--sans); font-weight: 600; font-size: 0.82rem; color: var(--ink);
  background: none; border: 1px solid var(--line-strong); border-radius: 100px;
  padding: 0.6em 2.4em 0.6em 1.15em; cursor: pointer; appearance: none;
  transition: border-color 0.3s ease;
}
.select-wrap select:hover { border-color: var(--ink); }
.select-wrap::after {
  content: ""; position: absolute; right: 1.05em; top: 50%; width: 8px; height: 8px;
  border-right: 1.5px solid var(--ink-soft); border-bottom: 1.5px solid var(--ink-soft);
  transform: translateY(-65%) rotate(45deg); pointer-events: none;
}

/* product card spotlight glow on media (enrichit .prod existant) */
.prod-media[data-spotlight]::before {
  background: radial-gradient(360px circle at var(--mx) var(--my),
    oklch(0.72 0.13 55 / 0.22), transparent 58%);
}

.coll-grid { margin-top: clamp(2rem, 3.5vw, 3rem); }
.coll-grid.grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .coll-grid.grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .coll-grid.grid { grid-template-columns: repeat(2, 1fr); } }
.coll-empty { text-align: center; padding: clamp(3rem, 8vw, 6rem) 0; color: var(--ink-faint); }
.coll-empty .display { color: var(--ink); margin-bottom: 0.6rem; }

/* ============================================================
   FICHE PRODUIT
   ============================================================ */
.pdp { padding-top: clamp(1.2rem, 2.5vw, 2rem); }
.pdp-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 76px); align-items: start;
  padding-block: clamp(1.6rem, 3vw, 2.6rem) clamp(3rem, 6vw, 5rem);
}

/* media : panneau lumineux, bouteille flottante, spotlight curseur */
.pdp-stage {
  position: sticky; top: 100px;
  border-radius: var(--radius-card); border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 50% 0%, oklch(0.98 0.015 95 / 0.9), transparent 55%),
    linear-gradient(168deg, var(--paper-2), var(--paper-3));
  overflow: hidden; aspect-ratio: 4 / 5;
  display: grid; place-items: center;
}
[data-mood="nuit"] .pdp-stage {
  background:
    radial-gradient(120% 80% at 50% 0%, oklch(0.40 0.05 70 / 0.5), transparent 55%),
    linear-gradient(168deg, var(--paper-2), var(--paper-3));
}
.pdp-stage .bottle {
  height: 76%; filter: drop-shadow(0 40px 50px oklch(0.2 0.04 40 / 0.4));
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: bottle-float 6s ease-in-out infinite;
}
@keyframes bottle-float { 50% { transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .pdp-stage .bottle { animation: none; } }
.pdp-stage .pdp-photo {
  height: 80%; width: auto; max-width: 80%; object-fit: contain;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 34px 44px oklch(0.2 0.04 70 / 0.34));
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
  animation: bottle-float 6s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) { .pdp-stage .pdp-photo { animation: none; } }
.pdp-stage .stage-tag {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  font-family: var(--sans); font-weight: 600; font-size: 0.64rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--ink); color: var(--paper); padding: 0.55em 1em; border-radius: 100px;
}
.pdp-stage .stage-vol {
  position: absolute; right: 18px; bottom: 18px; z-index: 2;
  font-family: var(--serif); font-size: 0.9rem; color: var(--ink-faint);
  letter-spacing: 0.1em;
}
.pdp-thumbs { display: flex; gap: 0.7rem; margin-top: 1rem; }
.pdp-thumb {
  flex: 1; aspect-ratio: 1; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line);
}
.pdp-thumb image-slot { width: 100%; height: 100%; --slot-bg: var(--paper-3); }

/* info */
.pdp-info { display: flex; flex-direction: column; }
.pdp-region { color: var(--terracotta); margin-bottom: 0.9rem; display: block; }
.pdp-title { margin-bottom: 0.5rem; }
.pdp-producer { font-family: var(--sans); font-size: 1rem; color: var(--ink-soft); font-weight: 500; }
.pdp-rating { display: flex; align-items: center; gap: 0.6rem; margin-top: 1rem; }
.pdp-stars { color: var(--gold); letter-spacing: 0.1em; font-size: 0.95rem; }
.pdp-rating .fineprint { letter-spacing: 0.08em; }

.pdp-price {
  display: flex; align-items: baseline; gap: 0.8rem; margin-top: 1.6rem;
  padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.pdp-price .amount { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.pdp-price .per { font-family: var(--sans); font-size: 0.82rem; color: var(--ink-faint); letter-spacing: 0.06em; }

.pdp-notes { font-size: 1.05rem; line-height: 1.7; color: var(--ink-soft); margin-top: 1.4rem; max-width: 46ch; }

/* buy row */
.pdp-buy { display: flex; gap: 0.9rem; align-items: stretch; margin-top: 1.8rem; flex-wrap: wrap; }
.qty {
  display: inline-flex; align-items: center; gap: 0.2rem;
  border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.25rem;
}
.qty button {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.2rem; color: var(--ink); transition: background 0.25s ease;
}
.qty button:hover { background: var(--paper-3); }
.qty input {
  width: 38px; text-align: center; border: none; background: none; outline: none;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; color: var(--ink);
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-buy .btn-buy { flex: 1; min-width: 200px; justify-content: center; border-radius: 100px; font-size: 1rem; padding-inline: 2rem; }
.pdp-fav-btn {
  width: 54px; border: 1px solid var(--line-strong); border-radius: 100px;
  display: grid; place-items: center; color: var(--ink-soft); transition: all 0.3s ease;
}
.pdp-fav-btn:hover { border-color: var(--wine); color: var(--wine); }
.pdp-fav-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pdp-fav-btn.on { background: var(--wine); color: var(--paper); border-color: var(--wine); }
.pdp-fav-btn.on svg { fill: currentColor; }

.pdp-assure { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.pdp-assure .row { display: flex; gap: 0.7rem; align-items: center; font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); }
.pdp-assure .row svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--wine); fill: none; stroke-width: 1.5; }

/* spec table */
.pdp-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 1.8rem; border-top: 1px solid var(--line); }
.spec {
  display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.spec:nth-child(odd) { padding-right: 1.2rem; border-right: 1px solid var(--line); }
.spec:nth-child(even) { padding-left: 1.2rem; }
.spec .k { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.spec .v { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); }

/* domaine / voyage strip on PDP */
.pdp-story {
  background:
    radial-gradient(120% 100% at 12% 0%, oklch(0.30 0.035 80), transparent 60%),
    linear-gradient(160deg, oklch(0.205 0.012 70), oklch(0.140 0.008 66));
  color: oklch(0.94 0.012 88); border-radius: var(--radius-card);
  overflow: hidden; margin-block: clamp(1rem, 3vw, 2rem);
}
.pdp-story-grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; }
.pdp-story-media { min-height: 320px; }
.pdp-story-media image-slot { width: 100%; height: 100%; min-height: 320px; --slot-bg: oklch(0.26 0.012 72); }
.pdp-story-copy { padding: clamp(1.8rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; }
.pdp-story-copy .eyebrow { color: var(--gold-soft); }
.pdp-story-copy .lead { color: oklch(0.88 0.02 88) !important; margin-top: 1rem; }
.pdp-story-copy .pair { margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid oklch(0.9 0.02 90 / 0.2); }
.pdp-story-copy .pair .k { color: var(--gold-soft); }
.pdp-story-copy .pair .v { color: oklch(0.95 0.01 90); font-family: var(--serif); font-size: 1.15rem; }

.pdp-related { padding-block: clamp(2rem, 4vw, 3.4rem) clamp(3rem, 6vw, 5rem); }

/* ============================================================
   PANIER
   ============================================================ */
.cart-wrap { padding-block: clamp(1.6rem, 3vw, 2.6rem) clamp(3rem, 6vw, 5rem); }
.cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.cart-layout { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: clamp(28px, 4vw, 64px); align-items: start; }

.cart-line {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 1.3rem; align-items: center;
  padding: 1.4rem 0; border-bottom: 1px solid var(--line);
}
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-thumb {
  border-radius: 14px; border: 1px solid var(--line); overflow: hidden;
  aspect-ratio: 1; display: grid; place-items: center;
  background: linear-gradient(170deg, var(--paper-2), var(--paper-3));
}
.cart-thumb .bottle { height: 80%; }
.cart-thumb .thumb-photo { height: 84%; width: auto; max-width: 84%; object-fit: contain; mix-blend-mode: multiply; }
.cart-line-info { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.cart-line-info .region { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.cart-line-info .name { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.1; }
.cart-line-info .meta { font-family: var(--sans); font-size: 0.82rem; color: var(--ink-faint); }
.cart-line-info .rm { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.06em; color: var(--ink-faint); margin-top: 0.3rem; align-self: flex-start; transition: color 0.25s ease; text-decoration: underline; text-underline-offset: 3px; }
.cart-line-info .rm:hover { color: var(--wine); }
.cart-line-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.8rem; }
.cart-line-right .line-price { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.cart-line .qty { padding: 0.15rem; }
.cart-line .qty button { width: 34px; height: 34px; font-size: 1.05rem; }
.cart-line .qty input { width: 30px; font-size: 0.9rem; }

/* summary */
.cart-summary {
  position: sticky; top: 100px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: clamp(1.6rem, 3vw, 2.2rem);
}
.cart-summary h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 1.4rem; }
.sum-row { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft); padding: 0.5rem 0; }
.sum-row .v { font-weight: 600; color: var(--ink); }
.sum-row.muted .v { color: var(--wine); font-weight: 600; }
.sum-progress { margin: 1rem 0 0.4rem; }
.sum-bar { height: 5px; border-radius: 100px; background: var(--paper-3); overflow: hidden; }
.sum-bar > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--terracotta)); border-radius: 100px; transition: width 0.6s cubic-bezier(0.2,0.7,0.2,1); }
.sum-note { font-family: var(--sans); font-size: 0.78rem; color: var(--ink-faint); margin-top: 0.5rem; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 1.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line-strong); }
.sum-total .l { font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); }
.sum-total .v { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; }
.cart-summary .btn { width: 100%; justify-content: center; margin-top: 1.4rem; }
.cart-summary .reassure { display: flex; flex-direction: column; gap: 0.55rem; margin-top: 1.4rem; }
.cart-summary .reassure .row { display: flex; gap: 0.55rem; align-items: center; font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); }
.cart-summary .reassure svg { width: 15px; height: 15px; stroke: var(--wine); fill: none; stroke-width: 1.6; flex-shrink: 0; }

/* empty */
.cart-empty { text-align: center; padding: clamp(3rem, 9vw, 7rem) 0; }
.cart-empty .display { color: var(--ink); margin-bottom: 0.8rem; }
.cart-empty p { color: var(--ink-faint); margin-bottom: 2rem; }

/* ============================================================
   TUNNEL DE COMMANDE
   ============================================================ */
.checkout { padding-block: clamp(1.6rem, 3vw, 2.6rem) clamp(3rem, 6vw, 5rem); }
.steps { display: flex; align-items: center; gap: 0.8rem; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); flex-wrap: wrap; }
.step { display: flex; align-items: center; gap: 0.7rem; }
.step .dot {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-strong); font-family: var(--sans); font-weight: 700; font-size: 0.82rem;
  color: var(--ink-faint); transition: all 0.4s ease; flex-shrink: 0;
}
.step .lbl { font-family: var(--sans); font-weight: 600; font-size: 0.84rem; color: var(--ink-faint); letter-spacing: 0.02em; transition: color 0.4s ease; }
.step.active .dot { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.step.active .lbl { color: var(--ink); }
.step.done .dot { background: var(--wine); color: var(--paper); border-color: var(--wine); }
.step.done .lbl { color: var(--ink-soft); }
.steps .line { flex: 1; min-width: 18px; height: 1px; background: var(--line-strong); }

.checkout-layout { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.checkout-panel { min-height: 200px; }
.panel-title { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; margin-bottom: 1.6rem; letter-spacing: -0.01em; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.1rem; }
.field-grid[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.field input, .field select {
  font-family: var(--sans); font-size: 0.98rem; color: var(--ink);
  width: 100%; min-width: 0;
  background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 0.85em 1em; outline: none; transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field input::placeholder { color: var(--ink-faint); }
.field input.is-locked, .field input[readonly] { background: var(--paper-2); color: var(--ink-soft); cursor: not-allowed; }
.field input:focus, .field select:focus { border-color: var(--wine); box-shadow: 0 0 0 3px oklch(0.42 0.14 28 / 0.12); }

.delivery-opts { display: flex; flex-direction: column; gap: 0.9rem; }
.opt {
  display: flex; align-items: center; gap: 1rem; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: 16px; padding: 1.1rem 1.3rem;
  transition: all 0.3s cubic-bezier(0.2,0.7,0.2,1);
}
.opt:hover { border-color: var(--ink); }
.opt.sel { border-color: var(--wine); background: oklch(0.42 0.14 28 / 0.05); box-shadow: 0 0 0 1px var(--wine) inset; }
.opt .radio { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex-shrink: 0; position: relative; transition: border-color 0.3s ease; }
.opt.sel .radio { border-color: var(--wine); }
.opt.sel .radio::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--wine); }
.opt .opt-main { flex: 1; }
.opt .opt-main .t { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.opt .opt-main .d { font-family: var(--sans); font-size: 0.84rem; color: var(--ink-faint); }
.opt .opt-price { font-family: var(--sans); font-weight: 700; font-size: 1rem; }
.pickup-opt { display: flex; align-items: center; gap: 1rem; }
.pickup-opt .opt-check { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line-strong); flex-shrink: 0; position: relative; transition: all 0.25s ease; }
.pickup-opt.sel { border-color: var(--wine); background: oklch(0.42 0.14 28 / 0.05); box-shadow: 0 0 0 1px var(--wine) inset; }
.pickup-opt.sel .opt-check { border-color: var(--wine); background: var(--wine); }
.pickup-opt.sel .opt-check::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pickup-opt .opt-main .d { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); display: block; margin-top: 0.15rem; }
.pickup-card { border: 1px solid var(--line-strong); border-left: 3px solid var(--wine); border-radius: var(--radius-card); padding: 1rem 1.2rem; background: var(--paper-2); }
.pickup-card-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.pickup-card-addr { font-family: var(--sans); font-size: 0.88rem; color: var(--ink-soft); margin-top: 0.25rem; }
.pickup-card-hours { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); margin-top: 0.4rem; }

.pay-card { border: 1px solid var(--line-strong); border-radius: 16px; padding: 1.4rem; background: var(--paper); }
.pay-msg { font-family: var(--sans); font-size: 0.9rem; margin-top: 1rem; padding: 0.8rem 1rem; border-radius: 10px; background: var(--paper-2); color: var(--ink-soft); }
.pay-msg.err { background: oklch(0.8 0.1 30 / 0.18); color: oklch(0.5 0.15 28); }
#payment-element { margin-top: 0.4rem; min-height: 20px; }
.pay-brands { display: flex; gap: 0.5rem; }
.pay-brands span { font-family: var(--sans); font-weight: 700; font-size: 0.62rem; letter-spacing: 0.06em; padding: 0.4em 0.7em; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-faint); }

.checkout-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 2rem; gap: 1rem; flex-wrap: wrap; }
.back-link { font-family: var(--sans); font-weight: 600; font-size: 0.88rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 0.5em; transition: gap 0.3s ease, color 0.3s ease; }
.back-link:hover { gap: 0.85em; color: var(--ink); }

/* recap */
.recap { position: sticky; top: 100px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2rem); }
.recap h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 1.2rem; }
.recap-line { display: flex; gap: 0.9rem; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
.recap-thumb { width: 50px; height: 50px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; background: linear-gradient(170deg, var(--paper-2), var(--paper-3)); flex-shrink: 0; }
.recap-thumb .bottle { height: 78%; }
.recap-thumb .thumb-photo { height: 82%; width: auto; max-width: 82%; object-fit: contain; mix-blend-mode: multiply; }
.recap-line .ri { flex: 1; min-width: 0; }
.recap-line .ri .n { font-family: var(--serif); font-size: 0.98rem; font-weight: 600; line-height: 1.15; }
.recap-line .ri .q { font-family: var(--sans); font-size: 0.76rem; color: var(--ink-faint); }
.recap-line .rp { font-family: var(--sans); font-weight: 700; font-size: 0.92rem; }
.recap-totals { margin-top: 1.2rem; }

/* confirmation */
.confirm {
  text-align: center; color: oklch(0.96 0.012 90);
  padding: clamp(3rem, 8vw, 6rem) clamp(1.4rem, 5vw, 4rem);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, oklch(0.205 0.012 70), oklch(0.135 0.008 66));
}
.confirm .check {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 1.8rem;
  display: grid; place-items: center; background: var(--gold); color: oklch(0.24 0.04 50);
  box-shadow: 0 0 0 10px oklch(0.75 0.09 80 / 0.18);
}
.confirm .check svg { width: 34px; height: 34px; stroke: currentColor; fill: none; stroke-width: 2.4; }
.confirm h1 { color: oklch(0.97 0.01 90); margin-bottom: 1rem; }
.confirm p { color: oklch(0.88 0.02 88); max-width: 44ch; margin: 0 auto 0.6rem; font-weight: 300; }
.confirm .order-no { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-soft); margin-top: 1.2rem; letter-spacing: 0.04em; }
.confirm .btn { margin-top: 2.2rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ---- Radius global des visuels & panneaux (piloté par --radius-card) ----
   Test « moins de radius » : tout passe en angles vifs, sauf les pilules
   (boutons, chips, qty, puces radio) qui gardent leur forme. */
.cart-thumb, .pdp-thumb, .recap-thumb,
.cart-summary, .recap, .pay-card, .opt,
.field input, .field select { border-radius: var(--radius-card); }
.pay-brands span { border-radius: 0; }

@media (max-width: 1080px) {
  .pdp-grid { grid-template-columns: 1fr; }
  .pdp-stage { position: relative; top: 0; max-width: 460px; margin-inline: auto; width: 100%; }
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary, .recap { position: relative; top: 0; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-order { order: -1; }
}
@media (max-width: 820px) {
  .coll-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .bento-lead { grid-column: 1 / -1; grid-row: auto; }
  .bento-tall { grid-row: auto; }
  .bento-cell.media { height: clamp(140px, 32vw, 190px); }
  .pdp-story-grid { grid-template-columns: 1fr; }
  .pdp-story-media { min-height: 260px; }
}
@media (max-width: 620px) {
  .shop-toolbar { align-items: flex-start; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line-right { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .field-grid { grid-template-columns: 1fr; }
  .pdp-specs { grid-template-columns: 1fr; }
  .spec:nth-child(odd) { padding-right: 0; border-right: none; }
  .spec:nth-child(even) { padding-left: 0; }
  .steps .lbl { display: none; }
  .steps .line { min-width: 10px; }
}

/* ============================================================
   TERROIR / EXPLOITATION
   ============================================================ */
.terroir-hero { position: relative; min-height: clamp(440px, 66vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.terroir-hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.03); }
.terroir-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.15 0.01 70 / 0.28) 0%, transparent 30%, oklch(0.12 0.008 66 / 0.84) 100%); }
.terroir-hero .shell { position: relative; z-index: 2; padding-block: clamp(2.4rem, 6vw, 5rem); }
.terroir-hero .crumb { color: oklch(0.86 0.02 90); padding-top: 0; margin-bottom: 1.4rem; }
.terroir-hero .crumb a { color: oklch(0.86 0.02 90); }
.terroir-hero .crumb a:hover { color: #fff; }
.terroir-hero .crumb .cur { color: #fff; }
.terroir-hero .eyebrow { color: var(--gold-soft); display: block; }
.terroir-hero h1 { color: #fff; margin-top: 1rem; }
.terroir-hero .lead { color: oklch(0.93 0.015 90) !important; max-width: 56ch; margin-top: 1.2rem; }

.terroir-chapters { display: flex; flex-direction: column; gap: clamp(2.6rem, 6vw, 5.5rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.tchapter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.tchapter-media { aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background-size: cover; background-position: center; transition: transform 0.6s cubic-bezier(0.2,0.7,0.2,1); }
.tchapter:hover .tchapter-media { transform: translateY(-6px); }
.tchapter:nth-child(even) .tchapter-media { order: 2; }
.tchapter-copy .eyebrow { color: var(--terracotta); display: block; margin-bottom: 0.9rem; }
.tchapter-copy h2 { margin-bottom: 0.9rem; }
@media (max-width: 820px) {
  .tchapter { grid-template-columns: 1fr; gap: 1.6rem; }
  .tchapter:nth-child(even) .tchapter-media { order: 0; }
}

/* ============================================================
   COMPTE CLIENT
   ============================================================ */
.acc-auth { display: grid; place-items: center; padding-block: clamp(2rem, 6vw, 5rem); }
.acc-auth-card { width: 100%; max-width: 460px; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(1.8rem, 4vw, 3rem); }
.acc-auth-card .field { margin-top: 1rem; }
.acc-auth-switch { text-align: center; margin-top: 1.4rem; font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); }
.acc-auth-switch button { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.acc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.acc-layout { display: grid; grid-template-columns: 230px 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.acc-nav { display: flex; flex-direction: column; gap: 0.2rem; position: sticky; top: 100px; }
.acc-nav-item { text-align: left; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--ink-soft); padding: 0.8em 1em; border-radius: 100px; transition: all 0.25s ease; }
.acc-nav-item:hover { background: var(--paper-2); color: var(--ink); }
.acc-nav-item.active { background: var(--ink); color: var(--paper); }
.acc-panel { min-height: 300px; }

.acc-addresses { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.acc-address { position: relative; border: 1px solid var(--line-strong); border-radius: var(--radius-card); padding: 1.3rem; }
.acc-address.primary { border-color: var(--wine); box-shadow: 0 0 0 1px var(--wine) inset; }
.acc-tag { position: absolute; top: 1rem; right: 1rem; font-family: var(--sans); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; background: var(--wine); color: var(--paper); padding: 0.35em 0.7em; border-radius: 100px; }
.acc-address-actions { display: flex; gap: 1rem; margin-top: 0.8rem; }
.acc-address-actions button { font-family: var(--sans); font-size: 0.78rem; color: var(--ink-faint); text-decoration: underline; text-underline-offset: 3px; transition: color 0.25s ease; }
.acc-address-actions button:hover { color: var(--wine); }

.acc-orders { display: flex; flex-direction: column; gap: 1.2rem; }
.acc-order { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.acc-order-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.acc-order-head .ref { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; margin-right: 0.8rem; }
.acc-order-head .date { font-family: var(--sans); font-size: 0.82rem; color: var(--ink-faint); }
.badge { font-family: var(--sans); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.4em 0.8em; border-radius: 100px; background: oklch(0.72 0.10 80 / 0.18); color: var(--wine-deep); }
.acc-order-items { padding: 0.8rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; }
.acc-order-item { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); }
.acc-order-foot { display: flex; align-items: center; justify-content: space-between; padding: 0.9rem 1.3rem; border-top: 1px solid var(--line); }
.acc-order-foot .total { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }

.acc-empty { text-align: center; padding: clamp(2rem, 6vw, 4rem) 0; }
.acc-prefs { display: flex; flex-direction: column; gap: 0.8rem; }
.acc-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.2rem 1.4rem; cursor: pointer; }
.acc-toggle-row input { width: 22px; height: 22px; accent-color: var(--wine); flex-shrink: 0; }
.acc-service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.acc-service { display: flex; flex-direction: column; gap: 0.3rem; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.2rem; transition: border-color 0.25s ease; }
a.acc-service:hover { border-color: var(--ink); }
.acc-service .serif { font-size: 1.1rem; font-weight: 600; }
@media (max-width: 760px) {
  .acc-layout { grid-template-columns: 1fr; }
  .acc-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-wrap { padding-block: clamp(1.6rem, 3vw, 2.6rem) clamp(3rem, 6vw, 5rem); }
.contact-head { margin-block: clamp(1.4rem, 3vw, 2.4rem) clamp(2rem, 4vw, 3rem); }
.contact-head .eyebrow { display: block; margin-bottom: 0.9rem; }
.contact-head .lead { margin-top: 1.2rem; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-aside { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-card { background: var(--ink); color: var(--paper); border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2.2rem); }
.contact-card .eyebrow { color: var(--gold-soft); }
.contact-addr { font-size: 1.5rem; line-height: 1.3; margin: 1rem 0 1.6rem; }
.contact-rows { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-row { display: flex; flex-direction: column; gap: 0.15rem; padding: 0.9rem 0; border-top: 1px solid oklch(0.95 0.01 88 / 0.18); }
.contact-row .cr-k { font-family: var(--sans); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; }
.contact-row .cr-v { font-family: var(--serif); font-size: 1.15rem; color: var(--paper); }
a.contact-row:hover .cr-v { color: var(--gold); }
.contact-map { position: relative; display: block; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--line); height: clamp(260px, 34vw, 340px); background: oklch(0.16 0.01 70); }
.contact-map-leaflet { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.contact-map-leaflet .leaflet-control-attribution { font-size: 9px; opacity: 0.5; background: oklch(0.16 0.01 70 / 0.6); color: oklch(0.8 0.02 84); }
.contact-map-leaflet .leaflet-control-attribution a { color: var(--gold-soft); }
.contact-map-leaflet .leaflet-bar a { background: oklch(0.20 0.01 70); color: var(--gold-soft); border-color: oklch(0.3 0.01 70); }
.contact-map-leaflet .leaflet-bar a:hover { background: oklch(0.26 0.01 70); }
.ezthet-pin { filter: drop-shadow(0 6px 10px oklch(0 0 0 / 0.5)); }
.contact-pin { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -100%); width: 34px; height: 44px; z-index: 3; pointer-events: none; }
.contact-pin svg { width: 34px; height: 44px; fill: var(--wine); filter: drop-shadow(0 6px 10px oklch(0.2 0.02 60 / 0.45)); }
.contact-map-cap { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-family: var(--sans); font-weight: 600; font-size: 0.78rem; color: #fff; background: oklch(0.18 0.01 70 / 0.7); backdrop-filter: blur(6px); padding: 0.5em 0.9em; border-radius: 100px; pointer-events: none; }
.contact-map-open { position: absolute; right: 14px; top: 14px; z-index: 2; font-family: var(--sans); font-weight: 600; font-size: 0.78rem; color: var(--ink); background: var(--paper); padding: 0.5em 0.9em; border-radius: 100px; box-shadow: 0 4px 14px oklch(0.2 0.02 60 / 0.25); transition: background 0.25s ease, color 0.25s ease; }
.contact-map-open:hover { background: var(--ink); color: var(--paper); }
.contact-form-wrap { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(1.5rem, 3.5vw, 2.6rem); }
.contact-form textarea { font-family: var(--sans); font-size: 0.98rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius-card); padding: 0.85em 1em; outline: none; resize: vertical; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.contact-form textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 3px oklch(0.6 0.09 76 / 0.16); }
.contact-ok { text-align: center; padding: clamp(2rem, 5vw, 3.5rem) 1rem; }
.contact-ok .check { width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 1.4rem; display: grid; place-items: center; background: var(--gold); color: var(--ink); box-shadow: 0 0 0 9px oklch(0.75 0.09 80 / 0.18); }
.contact-ok .check svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 2.4; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BACK-OFFICE (admin)
   ============================================================ */
.bo-body { background: var(--paper); }
.bo-shell { display: grid; grid-template-columns: 248px 1fr; min-height: 100vh; }
.bo-side { background: var(--ink); color: var(--paper); padding: 1.8rem 1.2rem; display: flex; flex-direction: column; gap: 0.3rem; position: sticky; top: 0; height: 100vh; }
.bo-brand { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.02em; color: var(--paper); padding: 0 0.6rem 0.4rem; }
.bo-brand small { display: block; font-family: var(--sans); font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-soft); font-weight: 600; margin-top: 0.3rem; }
.bo-nav { display: flex; flex-direction: column; gap: 0.15rem; margin-top: 1.4rem; }
.bo-nav-item { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; text-align: left; font-family: var(--sans); font-weight: 600; font-size: 0.92rem; color: oklch(0.82 0.012 84); padding: 0.75em 0.9em; border-radius: 12px; transition: all 0.2s ease; }
.bo-nav-item:hover { background: oklch(0.95 0.01 88 / 0.08); color: var(--paper); }
.bo-nav-item.active { background: var(--gold); color: var(--ink); }
.bo-nav-item .n { font-size: 0.74rem; background: oklch(0.95 0.01 88 / 0.16); padding: 0.1em 0.55em; border-radius: 100px; min-width: 1.6em; text-align: center; }
.bo-nav-item.active .n { background: oklch(0.2 0.02 60 / 0.2); }
.bo-foot { margin-top: auto; font-family: var(--sans); font-size: 0.74rem; color: oklch(0.7 0.012 84); padding: 0 0.6rem; }
.bo-foot a { color: var(--gold-soft); }
.bo-main { padding: clamp(1.4rem, 3vw, 2.6rem); max-width: 1200px; }
.bo-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.bo-head h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.01em; }
.bo-head p { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-faint); margin-top: 0.3rem; }

.bo-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 2rem; }
.bo-stat { border: 1px solid var(--line); border-radius: var(--radius-card); padding: 1.2rem 1.3rem; background: var(--paper-2); }
.bo-stat .k { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-faint); font-weight: 600; }
.bo-stat .v { font-family: var(--serif); font-weight: 700; font-size: 1.9rem; margin-top: 0.4rem; letter-spacing: -0.01em; }
.bo-stat .v small { font-size: 0.9rem; color: var(--ink-faint); font-weight: 500; }

.bo-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 0.9rem; }
.bo-table th { text-align: left; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line-strong); }
.bo-table td { padding: 0.9rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-soft); }
.bo-table tr:hover td { background: var(--paper-2); }
.bo-table .strong { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--ink); }
.bo-card { border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; background: var(--paper); }
.bo-pill { font-family: var(--sans); font-weight: 600; font-size: 0.64rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35em 0.7em; border-radius: 100px; display: inline-block; }
.bo-pill.green { background: oklch(0.85 0.09 145 / 0.3); color: oklch(0.42 0.1 150); }
.bo-pill.amber { background: oklch(0.85 0.1 80 / 0.4); color: oklch(0.48 0.11 70); }
.bo-pill.red { background: oklch(0.8 0.1 30 / 0.3); color: oklch(0.5 0.15 28); }
.bo-pill.grey { background: var(--paper-3); color: var(--ink-faint); }
.bo-act { font-family: var(--sans); font-weight: 600; font-size: 0.8rem; color: var(--wine); cursor: pointer; }
.bo-act:hover { text-decoration: underline; }
.bo-empty { text-align: center; padding: 3rem 1rem; color: var(--ink-faint); font-family: var(--sans); }
.bo-toolbar { display: flex; gap: 0.8rem; align-items: center; margin-bottom: 1.2rem; flex-wrap: wrap; }
.bo-search { flex: 1; min-width: 180px; font-family: var(--sans); font-size: 0.9rem; border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.6em 1.1em; outline: none; background: var(--paper); color: var(--ink); }
.bo-search:focus { border-color: var(--wine); }
.bo-btn { font-family: var(--sans); font-weight: 600; font-size: 0.85rem; background: var(--ink); color: var(--paper); padding: 0.65em 1.2em; border-radius: 100px; transition: background 0.25s ease; }
.bo-btn:hover { background: var(--wine); color: var(--ink); }
.bo-msg { padding: 1.2rem; border-bottom: 1px solid var(--line); }
.bo-msg:hover { background: var(--paper-2); }
.bo-msg .m-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.bo-msg .m-from { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: var(--ink); }
.bo-msg .m-meta { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-faint); }
.bo-msg .m-subject { font-family: var(--sans); font-weight: 600; font-size: 0.84rem; color: var(--wine); margin: 0.5rem 0 0.3rem; }
.bo-msg .m-body { font-family: var(--sans); font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }
.bo-modal-bg { position: fixed; inset: 0; background: oklch(0.16 0.01 70 / 0.55); backdrop-filter: blur(4px); display: grid; place-items: center; z-index: 500; padding: 1.5rem; }
.bo-modal { background: var(--paper); border-radius: var(--radius-card); padding: clamp(1.5rem, 3vw, 2.2rem); width: 100%; max-width: 460px; box-shadow: var(--shadow); }
.bo-modal h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: 1.2rem; }
.bo-login { min-height: 100vh; display: grid; place-items: center; padding: 2rem; }
@media (max-width: 960px) {
  .bo-shell { grid-template-columns: 1fr; }
  .bo-side { position: static; height: auto; flex-direction: column; }
  .bo-nav { flex-direction: row; flex-wrap: wrap; }
  .bo-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .bo-table thead { display: none; }
  .bo-table td { display: block; border: none; padding: 0.2rem 0; }
  .bo-table tr { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); }
}

/* ============================================================
   COMITÉS D'ENTREPRISE (CE) — prix remisés, encart, pop-up
   ============================================================ */
:root { --ce: oklch(0.58 0.13 158); --ce-soft: oklch(0.94 0.05 158); --ce-deep: oklch(0.45 0.11 158); }
[data-mood="nuit"] { --ce: oklch(0.74 0.15 158); --ce-soft: oklch(0.30 0.07 158); --ce-deep: oklch(0.80 0.13 158); }

.ce-price { color: var(--ce); font-weight: 700; }
.prod-price .ce-price { display: inline; }
.ce-badge { display: inline-block; font-family: var(--sans); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ce-deep); background: var(--ce-soft); padding: 0.32em 0.6em; border-radius: 100px; vertical-align: middle; }
.ce-line { color: var(--ce-deep) !important; font-weight: 600 !important; }
.pdp-price .ce-price { font-family: var(--serif); }
.pdp-price .old { font-size: 0.55em; }
.sum-row.ce-row span { color: var(--ce-deep); font-weight: 600; }
.cart-line-right .line-price .old, .pdp-price .old { color: var(--ink-faint); text-decoration: line-through; font-weight: 500; margin-right: 0.4em; }
.cart-line-right .line-price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }

/* encart code CE */
.ce-widget { display: block; }
.ce-form { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(1rem, 2vw, 1.3rem); }
.ce-form-head { display: flex; gap: 0.8rem; align-items: flex-start; margin-bottom: 0.9rem; }
.ce-spark { color: var(--ce); font-size: 1.2rem; line-height: 1; }
.ce-form-t { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.ce-form-s { font-family: var(--sans); font-size: 0.84rem; color: var(--ink-faint); margin-top: 0.15rem; }
.ce-form-row { display: flex; gap: 0.6rem; }
.ce-form-row input { flex: 1 1 auto; min-width: 0; font-family: var(--sans); font-weight: 600; font-size: 0.86rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 100px; padding: 0.7em 1em; outline: none; transition: border-color 0.25s ease; text-overflow: ellipsis; }
.ce-form-row input::placeholder { letter-spacing: 0.01em; }
.ce-form-row input:focus { border-color: var(--ce); box-shadow: 0 0 0 3px oklch(0.58 0.13 158 / 0.14); }
.ce-form-row .btn { flex: 0 0 auto; width: auto; margin: 0; padding-inline: 1.3rem; }
/* Colonne étroite (panier / mode compact) : on empile champ + bouton */
.cart-summary .ce-form-row, [data-compact] .ce-form-row { flex-direction: column; gap: 0.5rem; }
.cart-summary .ce-form-row input, [data-compact] .ce-form-row input { width: 100%; text-align: center; }
.cart-summary .ce-form-row .btn, [data-compact] .ce-form-row .btn { width: 100%; justify-content: center; }
.ce-active { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--ce-soft); border: 1px solid var(--ce); border-radius: var(--radius-card); padding: 0.9rem 1.2rem; }
.ce-active-main { display: flex; align-items: center; gap: 0.8rem; }
.ce-active-t { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--ce-deep); }
.ce-active-s { font-family: var(--sans); font-size: 0.8rem; color: var(--ce-deep); opacity: 0.8; }
.ce-active-rm { font-family: var(--sans); font-weight: 600; font-size: 0.82rem; color: var(--ce-deep); text-decoration: underline; text-underline-offset: 3px; flex-shrink: 0; }

/* pop-up CE */
.ce-pop-bg { position: fixed; inset: 0; z-index: 600; background: oklch(0.16 0.01 70 / 0.6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 1.5rem; opacity: 0; transition: opacity 0.3s ease; }
.ce-pop-bg.show { opacity: 1; }
.ce-pop { position: relative; background: var(--paper); border-radius: var(--radius-card); padding: clamp(1.8rem, 4vw, 3rem); max-width: 520px; width: 100%; text-align: center; box-shadow: var(--shadow); transform: translateY(16px) scale(0.98); transition: transform 0.36s cubic-bezier(0.2,0.7,0.2,1); border-top: 4px solid var(--ce); }
.ce-pop-bg.show .ce-pop { transform: none; }
.ce-pop-x { position: absolute; top: 1rem; right: 1.2rem; font-size: 1.6rem; line-height: 1; color: var(--ink-faint); }
.ce-pop-spark { display: block; font-size: 1.8rem; color: var(--ce); margin-bottom: 0.6rem; }
.ce-badge-lg { font-size: 0.74rem; padding: 0.5em 1em; margin-bottom: 1rem; }
.ce-pop h2 { margin-bottom: 1rem; }
.ce-pop .body { color: var(--ink-soft); max-width: 40ch; margin: 0 auto; }
.ce-pop-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* lien CE header + bandeau */
.ce-nav-link { color: var(--ce-deep) !important; }
.nav-ce-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ce); margin-left: 0.3em; vertical-align: middle; }
.ce-banner { background: var(--ce-soft); border-bottom: 1px solid var(--ce); }
.ce-banner .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.6rem; flex-wrap: wrap; }
.ce-banner .t { font-family: var(--sans); font-weight: 600; font-size: 0.84rem; color: var(--ce-deep); }
.ce-banner button { font-family: var(--sans); font-weight: 600; font-size: 0.8rem; color: var(--ce-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   PAGE CE
   ============================================================ */
.ce-hero { position: relative; overflow: hidden; background: linear-gradient(160deg, oklch(0.205 0.012 70), oklch(0.135 0.008 66)); color: oklch(0.95 0.012 88); }
.ce-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 10%, oklch(0.58 0.13 158 / 0.28), transparent 60%); pointer-events: none; }
.ce-hero .shell { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 70px); align-items: center; padding-block: clamp(2.6rem, 6vw, 5rem); }
.ce-hero .eyebrow { color: var(--ce-soft); }
.ce-hero h1 { color: #fff; margin: 1rem 0; }
.ce-hero .lead { color: oklch(0.9 0.015 90) !important; max-width: 50ch; }
.ce-hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.8rem; }
.ce-hero-card { background: oklch(0.97 0.006 85 / 0.06); border: 1px solid oklch(0.95 0.01 88 / 0.18); border-radius: var(--radius-card); padding: clamp(1.4rem, 3vw, 2rem); backdrop-filter: blur(4px); }
.ce-hero-card .ce-form { background: oklch(0.97 0.006 85 / 0.08); border-color: oklch(0.95 0.01 88 / 0.2); }
.ce-hero-card .ce-form-t, .ce-hero-card .ce-active-t { color: #fff; }
.ce-hero-card .ce-form-s { color: oklch(0.85 0.02 90); }
.ce-hero-card .ce-form-row input { background: oklch(0.99 0.005 85 / 0.12); color: #fff; border-color: oklch(0.95 0.01 88 / 0.3); }
.ce-hero-card .ce-form-row input::placeholder { color: oklch(0.85 0.02 90); }
@media (max-width: 880px) { .ce-hero .shell { grid-template-columns: 1fr; } }

.ce-adv { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 26px); }
.ce-adv-card { border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(1.3rem, 2.5vw, 1.8rem); background: var(--paper-2); }
.ce-adv-card .ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--ce-soft); margin-bottom: 1rem; }
.ce-adv-card .ic svg { width: 22px; height: 22px; stroke: var(--ce-deep); fill: none; stroke-width: 1.6; }
.ce-adv-card h3 { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; margin-bottom: 0.5rem; }
.ce-adv-card p { font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 900px) { .ce-adv { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .ce-adv { grid-template-columns: 1fr; } }

.ce-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.ce-step { position: relative; padding-top: 1rem; }
.ce-step .num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: var(--ce); line-height: 1; }
.ce-step h3 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 0.6rem 0 0.5rem; }
.ce-step p { font-family: var(--sans); font-size: 0.92rem; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 760px) { .ce-steps { grid-template-columns: 1fr; gap: 1.6rem; } }

.ce-occasions { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 24px); }
.ce-occ { position: relative; border-radius: var(--radius-card); overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; padding: 1.4rem; color: #fff; }
.ce-occ::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, oklch(0.15 0.01 70 / 0.78)); z-index: 1; }
.ce-occ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ce-occ .lab { position: relative; z-index: 2; }
.ce-occ .lab .t { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.ce-occ .lab .s { font-family: var(--sans); font-size: 0.86rem; opacity: 0.9; }
@media (max-width: 760px) { .ce-occasions { grid-template-columns: 1fr; } }

.ce-faq { max-width: 760px; margin: 0 auto; }
.ce-faq details { border-bottom: 1px solid var(--line); padding: 1.2rem 0; }
.ce-faq summary { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.ce-faq summary::-webkit-details-marker { display: none; }
.ce-faq summary::after { content: "+"; color: var(--ce); font-size: 1.5rem; transition: transform 0.25s ease; }
.ce-faq details[open] summary::after { transform: rotate(45deg); }
.ce-faq p { font-family: var(--sans); font-size: 0.95rem; color: var(--ink-soft); line-height: 1.7; margin-top: 0.9rem; }

.ce-contact-form { max-width: 720px; margin: 0 auto; background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-card); padding: clamp(1.6rem, 3.5vw, 2.6rem); }
.ce-contact-form textarea { font-family: var(--sans); font-size: 0.98rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius-card); padding: 0.85em 1em; outline: none; resize: vertical; width: 100%; }
.ce-contact-form textarea:focus { border-color: var(--ce); box-shadow: 0 0 0 3px oklch(0.58 0.13 158 / 0.14); }

/* BO : tables CE */
.bo-pill.ce { background: var(--ce-soft); color: var(--ce-deep); }
.bo-codechip { font-family: var(--mono, monospace); font-weight: 700; letter-spacing: 0.04em; background: var(--ink); color: var(--paper); padding: 0.3em 0.7em; border-radius: 6px; font-size: 0.82rem; }

/* Statistiques */
.bo-statslive { display: flex; align-items: center; gap: 0.5rem; font-family: var(--sans); font-size: 0.95rem; color: var(--ink); margin-bottom: 1rem; }
.bo-statslive strong { font-size: 1.1rem; }
.bo-statslive .livedot { width: 9px; height: 9px; border-radius: 50%; background: oklch(0.6 0.16 150); box-shadow: 0 0 0 0 oklch(0.6 0.16 150 / 0.6); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 7px oklch(0.6 0.16 150 / 0); } 100% { box-shadow: 0 0 0 0 oklch(0.6 0.16 150 / 0); } }
.bo-rgbar { display: flex; gap: 0.4rem; margin-bottom: 1.4rem; }
.bo-rg { font-family: var(--sans); font-weight: 600; font-size: 0.82rem; padding: 0.5em 1em; border-radius: 100px; border: 1px solid var(--line-strong); color: var(--ink-soft); }
.bo-rg.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.bo-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.2rem; }
.bo-pad { padding: 1.3rem 1.4rem; }
.bo-blockt { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; margin-bottom: 1.1rem; }
.bo-bars { display: flex; flex-direction: column; gap: 0.6rem; }
.bo-bar { display: grid; grid-template-columns: 1fr 90px auto; align-items: center; gap: 0.7rem; font-family: var(--sans); font-size: 0.86rem; }
.bo-bar .bl { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bo-bar .bt { height: 7px; background: var(--paper-3); border-radius: 100px; overflow: hidden; }
.bo-bar .bf { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--terracotta)); border-radius: 100px; }
.bo-bar .bn { font-weight: 700; color: var(--ink); }
.bo-funnel { display: flex; flex-direction: column; gap: 0.5rem; }
.bo-frow { display: grid; grid-template-columns: 1.3fr 1fr 36px; align-items: center; gap: 0.7rem; font-family: var(--sans); font-size: 0.84rem; }
.bo-frow .fl { color: var(--ink-soft); }
.bo-frow .ft { height: 18px; background: var(--paper-3); border-radius: 4px; overflow: hidden; }
.bo-frow .ff { display: block; height: 100%; background: var(--ink); border-radius: 4px; transition: width 0.5s ease; }
.bo-frow .fn { font-weight: 700; text-align: right; }

/* ============================================================
   RETOUR UTILISATEUR — succès animé (formulaires & commande)
   ============================================================ */
.ez-success-bg { position: fixed; inset: 0; z-index: 700; display: grid; place-items: center; padding: 1.5rem; background: oklch(0.16 0.01 70 / 0.55); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.32s ease; }
.ez-success-bg.show { opacity: 1; }
.ez-success-card { position: relative; overflow: hidden; width: 100%; max-width: 420px; text-align: center; background: var(--paper); border: 1px solid oklch(0.62 0.16 150 / 0.4); border-radius: 18px; padding: clamp(2rem, 5vw, 2.8rem); box-shadow: 0 40px 90px -30px oklch(0 0 0 / 0.6); transform: translateY(18px) scale(0.96); transition: transform 0.4s cubic-bezier(0.2,0.7,0.2,1); }
.ez-success-bg.show .ez-success-card { transform: none; }
.ez-success-x { position: absolute; top: 0.9rem; right: 1.1rem; font-size: 1.5rem; line-height: 1; color: var(--ink-faint); }
.ez-success-check { width: 92px; height: 92px; margin: 0 auto 1.2rem; }
.ez-success-check svg { width: 100%; height: 100%; }
.ez-success-check .c-ring { fill: none; stroke: oklch(0.62 0.16 150); stroke-width: 2.5; stroke-dasharray: 151; stroke-dashoffset: 151; animation: ez-ring 0.5s cubic-bezier(0.2,0.7,0.2,1) forwards; }
.ez-success-check .c-tick { fill: none; stroke: oklch(0.55 0.16 150); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: ez-tick 0.4s 0.45s cubic-bezier(0.2,0.7,0.2,1) forwards; }
.ez-success-check::after { content: ""; }
@keyframes ez-ring { to { stroke-dashoffset: 0; } }
@keyframes ez-tick { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .ez-success-check .c-ring, .ez-success-check .c-tick { animation: none; stroke-dashoffset: 0; } }
.ez-success-title { font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 600; margin-bottom: 0.6rem; }
.ez-success-text { font-family: var(--sans); font-size: 0.96rem; line-height: 1.6; color: var(--ink-soft); margin-bottom: 1.6rem; }
.ez-success-text strong { color: var(--ink); }
.ez-success-cta { width: 100%; justify-content: center; }
.ez-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ez-confetti i { position: absolute; top: -16px; border-radius: 1px; opacity: 0.95; animation: ez-fall var(--d) var(--dl) cubic-bezier(0.3,0.5,0.7,1) forwards; }
@keyframes ez-fall { to { transform: translate(var(--x), 560px) rotate(var(--r)); opacity: 0; } }
@media (max-width: 760px) { .bo-grid2 { grid-template-columns: 1fr; } }

/* Produits : table, sélection, formulaire, import */
.bo-prod-thumb { width: 38px; height: 38px; border-radius: 8px; object-fit: contain; mix-blend-mode: multiply; background: var(--paper-2); border: 1px solid var(--line); flex-shrink: 0; }
.bo-prod-thumb.empty { display: inline-block; }
.bo-prod-cell { display: flex; align-items: center; gap: 0.7rem; }
.bo-prod-name { font-family: var(--serif); font-weight: 600; }
.bo-prod-sku { font-family: var(--sans); font-size: 0.74rem; color: var(--ink-faint); }
.bo-prod input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--wine); cursor: pointer; }
.bo-bulkbar { display: flex; align-items: center; gap: 1.2rem; background: var(--ink); color: var(--paper); border-radius: 12px; padding: 0.7rem 1.1rem; margin-bottom: 1rem; font-family: var(--sans); font-size: 0.88rem; }
.bo-bulkbar [data-selcount] { font-weight: 600; }
.bo-bulkbar .bo-act { color: var(--gold-soft); }

.bo-modal-wide .bo-modal { max-width: 860px; max-height: 88vh; overflow-y: auto; }
.bo-formgroup { margin-bottom: 1.6rem; }
.bo-formgroup-t { font-family: var(--sans); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--wine); margin-bottom: 0.9rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--line); }
.bo-prodform .field-grid { grid-template-columns: 1fr 1fr 1fr; }
.bo-prodform textarea { font-family: var(--sans); font-size: 0.95rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; padding: 0.7em 0.9em; outline: none; resize: vertical; }
.bo-formfoot { display: flex; gap: 0.8rem; align-items: center; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--paper); }

.bo-diffstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem; margin: 1rem 0 1.4rem; }
.bo-diffstat { border: 1px solid var(--line); border-radius: 12px; padding: 0.9rem; text-align: center; }
.bo-diffstat .v { font-family: var(--serif); font-weight: 700; font-size: 1.7rem; }
.bo-diffstat .k { font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.bo-diffstat.add { background: oklch(0.85 0.09 145 / 0.18); } .bo-diffstat.add .v { color: oklch(0.42 0.1 150); }
.bo-diffstat.mod { background: oklch(0.85 0.1 80 / 0.22); } .bo-diffstat.mod .v { color: oklch(0.48 0.11 70); }
.bo-diffstat.del { background: oklch(0.8 0.1 30 / 0.18); } .bo-diffstat.del .v { color: oklch(0.5 0.15 28); }
.bo-diffcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.bo-difflist { list-style: none; display: flex; flex-direction: column; gap: 0.35rem; max-height: 220px; overflow-y: auto; font-family: var(--sans); font-size: 0.84rem; }
.bo-difflist .ref { font-family: var(--mono, monospace); font-size: 0.74rem; color: var(--ink-faint); }
.bo-difflist.del li { color: oklch(0.5 0.15 28); }
.bo-confirmdel { display: flex; gap: 0.6rem; align-items: center; margin-top: 1.2rem; font-family: var(--sans); font-size: 0.9rem; color: var(--ink-soft); }
.bo-confirmdel input { width: 18px; height: 18px; accent-color: var(--wine); }
@media (max-width: 760px) {
  .bo-prodform .field-grid { grid-template-columns: 1fr; }
  .bo-diffstats { grid-template-columns: 1fr 1fr; }
  .bo-diffcols { grid-template-columns: 1fr; }
}
