/* CB Shop — charte Coldwell Banker (Identity Standards 07.2025, socle CB Core v1) */
@font-face { font-family: "Coldwell Sans"; font-weight: 400; font-display: swap; src: url("fonts/ColdwellSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Coldwell Sans"; font-weight: 500; font-display: swap; src: url("fonts/ColdwellSans-Medium.woff2") format("woff2"); }
@font-face { font-family: "Coldwell Sans"; font-weight: 600; font-display: swap; src: url("fonts/ColdwellSans-Semibold.woff2") format("woff2"); }
@font-face { font-family: "Coldwell Sans"; font-weight: 700; font-display: swap; src: url("fonts/ColdwellSans-Bold.woff2") format("woff2"); }

:root {
  --cb-blue: #012169; --cb-midnight: #0A1730; --cb-slate: #1B3C55; --cb-smoky: #58718D;
  --cb-mist: #BECAD7; --cb-glacier: #DAE1E8; --cb-tide: #B8D0EA; --cb-icy: #F0F5FB;
  --cb-bright: #1F69FF; --cb-celestial: #418FDE;
  --text: #0B1220; --muted: #58718D; --line: #DAE1E8; --bg: #FFFFFF;
  --ok: #1E7D4F; --warn: #B26A00; --err: #B3261E;
  --f-title: "Coldwell Sans", "Roboto", "Helvetica Neue", Arial, sans-serif;
  --f-text: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --f-accent: "EB Garamond", Garamond, Georgia, serif;
  --r: 10px; --r-lg: 18px;
  --shadow: 0 1px 2px rgba(10,23,48,.06), 0 8px 28px rgba(10,23,48,.08);
  --shadow-lg: 0 24px 60px rgba(10,23,48,.22);
  --ease: cubic-bezier(.2,.8,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--f-text); color: var(--text); background: var(--bg); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--f-title); font-weight: 500; margin: 0; letter-spacing: -.01em; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--cb-bright); outline-offset: 2px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cb-blue); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 500; font-size: 15px; text-decoration: none; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn svg { font-size: 18px; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--cb-blue); color: #fff; box-shadow: 0 6px 18px rgba(1,33,105,.25); }
.btn-primary:hover { background: var(--cb-midnight); }
.btn-primary:disabled { background: var(--cb-mist); box-shadow: none; cursor: not-allowed; }
.btn-light { background: #fff; color: var(--cb-blue); }
.btn-light:hover { background: var(--cb-icy); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost-dark { background: transparent; color: var(--cb-blue); box-shadow: inset 0 0 0 1.5px var(--cb-mist); }
.btn-ghost-dark:hover { background: var(--cb-icy); }
.btn-block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--cb-blue); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--cb-mist); }
.link:hover { text-decoration-color: currentColor; }
.x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 26px; line-height: 1; color: var(--cb-midnight); z-index: 3; transition: transform .2s; }
.x:hover { transform: rotate(90deg); }

/* ---------- en-tête ---------- */
.top { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.top.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(10,23,48,.06); }
.top-in { max-width: 1240px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cb-blue); }
.brand img { width: 84px; height: auto; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; padding-left: 12px; border-left: 1px solid var(--line); }
.brand-txt b { font-family: var(--f-title); font-weight: 600; font-size: 19px; text-transform: uppercase; letter-spacing: .04em; }
.brand-txt small { color: var(--muted); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.top-nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.top-nav a, .top-nav .link { color: var(--text); text-decoration: none; font-weight: 500; font-size: 15px; }
.top-nav a:hover, .top-nav .link:hover { color: var(--cb-blue); }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; border: 0; background: var(--cb-blue); color: #fff; padding: 10px 18px 10px 14px; border-radius: 999px; font-weight: 500; }
.cart-btn svg { font-size: 22px; }
.cart-count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: #fff; color: var(--cb-blue); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 30% { transform: scale(1.15) rotate(-4deg); } 60% { transform: scale(.95) rotate(2deg); } }

/* ---------- héros ---------- */
.hero { position: relative; color: #fff; overflow: hidden; background: var(--cb-midnight); }
.hero-bg { position: absolute; inset: 0; background:
  radial-gradient(60% 80% at 80% 40%, rgba(65,143,222,.35), transparent 60%),
  radial-gradient(50% 60% at 10% 100%, rgba(31,105,255,.25), transparent 60%),
  linear-gradient(135deg, var(--cb-midnight) 0%, var(--cb-blue) 100%); }
.hero-bg::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero-in { position: relative; max-width: 1240px; margin: 0 auto; padding: 64px 24px 72px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; min-height: 560px; }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--cb-tide); margin: 0 0 14px; font-weight: 500; }
.eyebrow.dark { color: var(--cb-smoky); margin-bottom: 6px; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: .98; text-transform: uppercase; font-weight: 600; letter-spacing: -.01em; }
.hero h1 { animation: rise .9s var(--ease) both; }
.lead { font-size: 18px; color: rgba(255,255,255,.85); max-width: 520px; margin: 22px 0 28px; animation: rise .9s .1s var(--ease) both; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; animation: rise .9s .2s var(--ease) both; }
.hero-facts { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 28px; flex-wrap: wrap; color: rgba(255,255,255,.75); font-size: 14px; animation: rise .9s .3s var(--ease) both; }
.hero-facts b { display: block; font-family: var(--f-title); font-size: 26px; font-weight: 600; color: #fff; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

/* carrousel 3D des articles */
.hero-copy { position: relative; z-index: 2; }
.hero-stage { position: relative; height: 440px; perspective: 900px; }
.ring { position: absolute; left: 50%; top: 46%; width: 190px; height: 230px; margin: -115px 0 0 -95px; transform-style: preserve-3d; animation: spin 36s linear infinite; }
.hero-stage:hover .ring { animation-play-state: paused; }
.ring-item { position: absolute; inset: 0; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.35); display: grid; place-items: center; padding: 14px; backface-visibility: hidden; overflow: hidden; }
.ring-item img { width: 100%; height: 100%; object-fit: contain; }
.ring-item.photo { padding: 0; }
.ring-item.photo img { object-fit: cover; }
.stage-floor { position: absolute; left: 10%; right: 10%; bottom: 18px; height: 60px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.45), transparent); filter: blur(6px); }
@keyframes spin { from { transform: translateZ(calc(var(--r, 300px) * -1)) rotateY(0); } to { transform: translateZ(calc(var(--r, 300px) * -1)) rotateY(-360deg); } }

/* bandeau défilant */
.marquee { background: var(--cb-blue); color: #fff; overflow: hidden; border-top: 1px solid rgba(255,255,255,.12); }
.marquee-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--f-title); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; padding: 14px 22px; white-space: nowrap; display: flex; align-items: center; gap: 22px; }
.marquee span::after { content: "✦"; color: var(--cb-celestial); font-size: 10px; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- boutique ---------- */
.shop { max-width: 1240px; margin: 0 auto; padding: 64px 24px 24px; }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.shop-head h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--cb-blue); text-transform: uppercase; font-weight: 600; }
.search { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 16px; min-width: min(320px, 100%); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--cb-celestial); box-shadow: 0 0 0 4px rgba(65,143,222,.15); }
.search svg { color: var(--muted); font-size: 18px; flex: none; }
.search input { border: 0; outline: 0; padding: 12px 0; width: 100%; background: transparent; }
.filters { display: flex; gap: 12px 20px; flex-wrap: wrap; align-items: center; margin: 26px 0 8px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 500; transition: all .2s var(--ease); }
.chip:hover { border-color: var(--cb-mist); background: var(--cb-icy); }
.chip[aria-pressed="true"] { background: var(--cb-blue); border-color: var(--cb-blue); color: #fff; }
.chip .n { opacity: .6; margin-left: 4px; font-weight: 400; }
.sort { margin-left: auto; display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.sort select { border: 1.5px solid var(--line); border-radius: 8px; padding: 8px 10px; background: #fff; color: var(--text); }
.result-count { color: var(--muted); font-size: 14px; margin: 8px 0 18px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 26px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .35s var(--ease), transform .35s var(--ease), border-color .35s; opacity: 0; transform: translateY(26px); }
.card.in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .35s, border-color .35s; }
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.media { position: relative; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; perspective: 900px; cursor: zoom-in; border: 0; padding: 0; width: 100%; display: block; }
.media-in { position: absolute; inset: 0; transition: transform .5s var(--ease); transform-style: preserve-3d; }
.media img { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; transition: transform .8s var(--ease); }
.media.photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.card:hover .media img { transform: scale(1.07) translateZ(30px); }
.media .shine { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.55), transparent 45%); opacity: 0; transition: opacity .3s; mix-blend-mode: soft-light; }
.card:hover .shine { opacity: 1; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--cb-blue); color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .04em; padding: 5px 11px; border-radius: 999px; }
.brand-tag { position: absolute; top: 14px; right: 14px; z-index: 2; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--cb-midnight); padding: 5px 10px; border-radius: 999px; font-weight: 500; }
.brand-tag.gl { background: #111; color: #fff; }
.quick { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 2; display: flex; gap: 8px; opacity: 0; transform: translateY(12px); transition: all .35s var(--ease); }
.card:hover .quick, .card:focus-within .quick { opacity: 1; transform: none; }
.quick button { flex: 1; border: 0; background: rgba(255,255,255,.95); color: var(--cb-blue); border-radius: 999px; padding: 9px 10px; font-size: 13px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 4px 14px rgba(10,23,48,.12); }
.quick button:hover { background: var(--cb-blue); color: #fff; }
.card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 19px; color: var(--cb-midnight); font-weight: 500; line-height: 1.2; }
.card .pitch { color: var(--muted); font-size: 14px; margin: 0; }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 6px; }
.price { font-family: var(--f-title); font-size: 26px; font-weight: 600; color: var(--cb-blue); }
.price small { font-family: var(--f-text); font-size: 13px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.stock { font-size: 12.5px; color: var(--ok); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.stock.low { color: var(--warn); }
.sizes { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.size { min-width: 38px; height: 34px; border: 1.5px solid var(--line); background: #fff; border-radius: 8px; font-size: 13px; font-weight: 500; }
.size:hover { border-color: var(--cb-mist); }
.size[aria-pressed="true"] { border-color: var(--cb-blue); background: var(--cb-blue); color: #fff; }
.size-hint { font-size: 12.5px; color: var(--muted); margin: 0; }
.size-hint.err { color: var(--err); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.buy { display: flex; gap: 10px; margin-top: auto; padding-top: 12px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; flex: none; }
.qty button { width: 36px; height: 40px; border: 0; background: transparent; font-size: 18px; color: var(--cb-blue); }
.qty button:hover:not(:disabled) { background: var(--cb-icy); }
.qty button:disabled { color: var(--cb-mist); cursor: not-allowed; }
.qty input { width: 40px; border: 0; text-align: center; font-weight: 600; background: transparent; -moz-appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add { flex: 1; padding: 10px 14px; }
.add.added { background: var(--ok); }

.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* idées d'usage */
.tips { max-width: 1240px; margin: 40px auto 0; padding: 0 24px 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tip { border-radius: var(--r-lg); padding: 26px; background: var(--cb-icy); position: relative; overflow: hidden; transition: transform .3s var(--ease); }
.tip:hover { transform: translateY(-4px); }
.tip-k { font-family: var(--f-accent); font-style: italic; font-size: 44px; color: var(--cb-celestial); line-height: 1; }
.tip h3 { font-size: 20px; color: var(--cb-blue); margin: 10px 0 6px; }
.tip p { color: var(--slate, #1B3C55); margin: 0 0 14px; font-size: 15px; }

.foot { background: var(--cb-midnight); color: rgba(255,255,255,.7); text-align: center; padding: 40px 24px; font-size: 14px; }
.foot img { margin: 0 auto 14px; background: #fff; border-radius: 8px; padding: 6px 8px; width: 86px; box-sizing: content-box; }
.foot p { margin: 4px 0; }
.foot-small { font-size: 12.5px; opacity: .7; }

/* ---------- fiche article ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; }
.modal-back, .drawer-back { position: absolute; inset: 0; background: rgba(10,23,48,.55); backdrop-filter: blur(4px); animation: fade .3s both; }
@keyframes fade { from { opacity: 0; } }
.modal-card { position: relative; background: #fff; border-radius: 22px; width: min(980px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1.05fr 1fr; animation: pop .45s var(--ease) both; box-shadow: var(--shadow-lg); }
@keyframes pop { from { opacity: 0; transform: translateY(30px) scale(.97); } }
.m-media { position: relative; background: linear-gradient(160deg, var(--cb-icy), #fff 70%); min-height: 420px; overflow: hidden; cursor: zoom-in; }
.m-media img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; transition: transform .25s ease-out; }
.m-media.photo img { inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.m-media.zoom img { transform: scale(1.9); }
.m-body { padding: 36px 34px 30px; display: flex; flex-direction: column; gap: 10px; }
.m-brand { margin: 0; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.m-body h2 { font-size: 30px; color: var(--cb-midnight); line-height: 1.1; padding-right: 30px; }
.m-price { font-family: var(--f-title); font-size: 30px; font-weight: 600; color: var(--cb-blue); margin: 2px 0; }
.m-price small { font-family: var(--f-text); font-size: 14px; color: var(--muted); font-weight: 400; }
.m-desc { color: #33445a; margin: 0 0 6px; }
.m-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.m-total { margin: 0; font-size: 15px; color: var(--muted); }
.m-total b { color: var(--text); font-size: 18px; }
.m-stock { margin: 0; font-size: 13px; color: var(--muted); }
.m-dl { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); }
.dl { display: inline-flex; align-items: center; gap: 7px; border: 0; background: var(--cb-icy); color: var(--cb-blue); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 500; }
.dl:hover { background: var(--cb-glacier); }
.dl svg { font-size: 17px; }

/* ---------- panier ---------- */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slidein .45s var(--ease) both; }
@keyframes slidein { from { transform: translateX(100%); } }
.drawer.closing .drawer-panel { animation: slideout .3s ease-in both; }
.drawer.closing .drawer-back { animation: fade .3s reverse both; }
@keyframes slideout { to { transform: translateX(100%); } }
.d-head { position: relative; padding: 22px 64px 16px 24px; border-bottom: 1px solid var(--line); }
.d-head h2 { font-size: 24px; color: var(--cb-blue); text-transform: uppercase; font-weight: 600; }
.d-head .x { background: var(--cb-icy); top: 16px; }
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 12px 0 0; font-size: 12.5px; counter-reset: s; }
.steps li { counter-increment: s; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.steps li::before { content: counter(s); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--cb-glacier); font-size: 11px; font-weight: 700; color: var(--cb-slate); transition: all .3s; }
.steps li + li::after { order: -1; content: ""; width: 14px; height: 1.5px; background: var(--cb-glacier); }
.steps li.on { color: var(--cb-blue); font-weight: 500; }
.steps li.on::before { background: var(--cb-blue); color: #fff; }
.steps li.past::before { content: "✓"; background: var(--ok); color: #fff; }
.d-body { flex: 1; overflow: auto; padding: 18px 24px; }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); animation: rise .4s var(--ease) both; }
.line.out { animation: lineout .35s ease-in forwards; }
@keyframes lineout { to { opacity: 0; transform: translateX(40px); height: 0; padding: 0; margin: -7px 0; } }
.line-img { width: 76px; height: 76px; border-radius: 12px; background: var(--cb-icy); overflow: hidden; display: grid; place-items: center; }
.line-img img { width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply; }
.line-img.photo img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.line h3 { font-size: 15px; font-family: var(--f-text); font-weight: 500; color: var(--cb-midnight); }
.line .meta { font-size: 13px; color: var(--muted); margin: 2px 0 8px; }
.line .qty button { width: 30px; height: 32px; font-size: 16px; }
.line .qty input { width: 32px; font-size: 14px; }
.line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.line-total { font-weight: 600; font-size: 15px; }
.rm { border: 0; background: none; color: var(--muted); font-size: 13px; text-decoration: underline; padding: 0; }
.rm:hover { color: var(--err); }
.d-empty { text-align: center; padding: 30px 10px; color: var(--muted); }
.d-empty-ill { width: 150px; height: 150px; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: var(--cb-icy); animation: float 4s ease-in-out infinite; }
.d-empty-ill img { width: 100%; height: 100%; object-fit: cover; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-2deg); } }
.d-foot { border-top: 1px solid var(--line); padding: 16px 24px 20px; background: #fff; }
.totals { margin: 0 0 14px; display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; font-size: 14px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; }
.totals .grand { font-family: var(--f-title); font-size: 22px; font-weight: 600; color: var(--cb-blue); padding-top: 6px; }
.totals .grand-l { font-weight: 500; color: var(--text); padding-top: 6px; font-size: 16px; align-self: end; }
.d-actions { display: flex; gap: 10px; }
.d-intro { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
#step-info label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 500; color: var(--cb-slate); margin-bottom: 12px; }
#step-info input, #step-info textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 15px; font-weight: 400; transition: border-color .2s, box-shadow .2s; width: 100%; }
#step-info input:focus, #step-info textarea:focus { outline: 0; border-color: var(--cb-celestial); box-shadow: 0 0 0 4px rgba(65,143,222,.15); }
#step-info input.bad { border-color: var(--err); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.opt { color: var(--muted); font-weight: 400; }
.form-err { color: var(--err); font-size: 14px; margin: 0; }
.recap { background: var(--cb-icy); border-radius: 14px; padding: 14px 16px; font-size: 14px; margin-bottom: 18px; }
.recap h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-family: var(--f-text); font-weight: 500; margin-bottom: 6px; }
.recap ul { list-style: none; margin: 0 0 10px; padding: 0; }
.recap li { display: flex; justify-content: space-between; gap: 10px; padding: 3px 0; }
.recap .who { margin: 0; color: var(--cb-slate); }
#paypal-buttons { min-height: 50px; }
.pp-load { text-align: center; color: var(--muted); font-size: 14px; }
.pp-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.pp-note.err { color: var(--err); font-size: 14px; }

/* objet qui vole vers le panier */
.flyer { position: fixed; z-index: 90; width: 70px; height: 70px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); pointer-events: none; overflow: hidden; display: grid; place-items: center; }
.flyer img { width: 80%; height: 80%; object-fit: contain; }

/* ---------- confirmation ---------- */
.done { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(10,23,48,.7); backdrop-filter: blur(6px); animation: fade .3s both; }
#confetti { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.done-card { position: relative; background: #fff; border-radius: 24px; padding: 40px 34px 30px; max-width: 480px; width: 100%; text-align: center; animation: pop .5s var(--ease) both; }
.done-check svg { width: 76px; height: 76px; stroke: var(--ok); stroke-width: 3; }
.done-check circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s .2s ease-out forwards; }
.done-check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .4s .8s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { font-size: 28px; color: var(--cb-blue); margin: 12px 0 8px; }
.done p { color: #33445a; }
.done-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ---------- mes commandes ---------- */
.orders-card { display: block; padding: 32px; width: min(620px, 100%); }
.orders-card h2 { font-size: 26px; color: var(--cb-blue); text-transform: uppercase; font-weight: 600; }
.o-sub { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.o-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.o-item { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.o-item b { color: var(--cb-midnight); }
.o-item small { display: block; color: var(--muted); }
.o-empty { color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; background: var(--cb-midnight); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: 14px; z-index: 95; transition: transform .4s var(--ease), visibility .4s; box-shadow: var(--shadow-lg); max-width: calc(100% - 32px); text-align: center; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- petits écrans (écran seulement, pour ne pas gêner l'impression) ---------- */
@media screen and (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding: 44px 20px 20px; }
  .hero-stage { height: 320px; }
  .ring { width: 150px; height: 180px; margin: -90px 0 0 -75px; }
  .tips { grid-template-columns: 1fr; }
  .modal-card { grid-template-columns: 1fr; }
  .m-media { min-height: 300px; }
}
@media screen and (max-width: 640px) {
  .top-in { padding: 8px 16px; gap: 12px; }
  .brand img { width: 62px; }
  .brand-txt small { display: none; }
  .brand-txt b { font-size: 16px; }
  .top-nav a { display: none; }
  .top-nav { gap: 12px; }
  .top-nav .link { font-size: 13.5px; white-space: nowrap; }
  .brand { gap: 10px; }
  .brand-txt { padding-left: 10px; white-space: nowrap; }
  .cart-label { display: none; }
  .cart-btn { padding: 9px 12px; }
  .hero-in { padding: 36px 16px 8px; }
  .lead { font-size: 16px; }
  .hero-stage { height: 270px; }
  .ring { width: 120px; height: 146px; margin: -73px 0 0 -60px; }
  .hero-facts { gap: 18px; }
  .shop { padding: 44px 16px 16px; }
  .search { width: 100%; }
  .sort { margin-left: 0; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 18px; }
  .quick { opacity: 1; transform: none; }
  .tips { padding: 0 16px 48px; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 22px 22px 0 0; max-height: 92vh; }
  .m-body { padding: 24px 20px 24px; }
  .m-body h2 { font-size: 24px; }
  .f2 { grid-template-columns: 1fr; }
  .d-head, .d-body, .d-foot { padding-left: 16px; padding-right: 16px; }
  .orders-card { padding: 24px 18px; }
}
@media (hover: none) { .quick { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .card { opacity: 1; transform: none; }
}
@media print { .top, .marquee, .hero-stage, .drawer, .toast { display: none; } }
