/* LOCO Clothings — style du site (noir et blanc) */
@font-face { font-family: "Roboto Mono"; src: url(/fonts/roboto-mono-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url(/fonts/roboto-mono-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(/fonts/open-sans-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(/fonts/open-sans-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #000;
  --fg: #fff;
  --muted: #8a8a8a;
  --line: #333;
  --field: #4a4a4a;
  --footer: #0e0e0e;
  --banner-bg: #fff;
  --banner-fg: #000;
  --btn-bg: var(--fg);
  --btn-fg: var(--bg);
  --hover: color-mix(in srgb, var(--fg) 8%, var(--bg));
  --mono: "Roboto Mono", ui-monospace, Menlo, monospace;
  --sans: "Open Sans", system-ui, -apple-system, sans-serif;
  --hdr-h: 64px;
  color-scheme: dark;
}
@media (min-width: 1024px) { :root { --hdr-h: 84px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 var(--mono); min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.i { display: block; flex: none; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: var(--fg); color: var(--bg); padding: 8px 12px; }

.container { width: 100%; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) and (max-width: 767px) { .container { max-width: 480px; padding: 0; } }
@media (min-width: 768px) { .container { max-width: 736px; padding: 0; } }
@media (min-width: 1024px) { .container { max-width: 912px; } }
@media (min-width: 1280px) { .container { max-width: 1200px; } }

/* ---------- Bandeau ---------- */
.banner { background: var(--banner-bg); color: var(--banner-fg); text-align: center; font-size: 15px; line-height: 1.3; }
.banner { overflow: hidden; }
.banner-track { display: grid; }
.banner-msg { grid-area: 1 / 1; margin: 0; padding: 10px 16px 9px; opacity: 0; transform: translateY(100%); transition: opacity .45s ease, transform .45s ease; visibility: hidden; }
.banner-msg.is-on { opacity: 1; transform: none; visibility: visible; }
.banner-msg.is-out { opacity: 0; transform: translateY(-100%); visibility: visible; }
@media (prefers-reduced-motion: reduce) { .banner-msg { transition: opacity .3s; transform: none !important; } }
.banner a:hover { text-decoration: underline; }
@media (min-width: 1024px) { .banner-msg { padding: 19px 16px 18px; } }

/* ---------- En-tête ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.hdr-in { height: var(--hdr-h); display: flex; align-items: center; gap: 16px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--fg); }
.burger { margin-left: -8px; }
.burger .when-open, .menu-open .burger .when-closed { display: none; }
.menu-open .burger .when-open { display: block; }
.logo { display: flex; align-items: center; height: 100%; }
.logo img { height: 52px; width: auto; max-width: 140px; object-fit: contain; }
.nav { display: none; }
.hdr-icons { margin-left: auto; display: flex; gap: 8px; margin-right: -8px; }
.cart-link { position: relative; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--fg); color: var(--bg); font: 700 11px/17px var(--sans); text-align: center; }

@media (min-width: 1024px) {
  .burger { display: none; }
  .hdr-in { gap: 0; }
  .logo { margin-right: 26px; margin-left: -8px; }
  .logo img { height: 64px; }
  .nav { display: flex; align-items: center; gap: 25px; height: 100%; }
  .nav > a, .dd-btn { font-size: 16px; display: inline-flex; align-items: center; gap: 4px; height: 100%; }
  .nav a:hover, .dd-btn:hover, .nav .is-active { text-decoration: underline; text-underline-offset: 3px; }
  .dd { position: relative; height: 100%; display: flex; align-items: center; }
  .dd-btn .i { transition: transform .15s; }
  .dd.is-open .dd-btn .i { transform: rotate(180deg); }
  .dd-menu { display: none; position: absolute; top: 100%; left: -16px; min-width: 220px; background: var(--bg); border: 1px solid var(--line); padding: 8px 0; }
  .dd.is-open .dd-menu { display: block; }
  .dd-menu a { display: block; padding: 10px 16px; }
  .dd-menu a:hover { text-decoration: underline; }
  .hdr-icons { gap: 8px; }
}

/* Recherche : une ligne discrète sous l'en-tête + suggestions en direct */
.search-bar { position: relative; border-top: 1px solid var(--line); }
.search-form { display: flex; align-items: center; gap: 12px; height: 56px; }
.search-form > .i { color: var(--muted); width: 20px; height: 20px; }
.search-form input { flex: 1; min-width: 0; height: 100%; padding: 0; background: none; border: 0; border-radius: 0; font: 16px var(--mono); outline: none; -webkit-appearance: none; appearance: none; }
.search-form input::placeholder { color: var(--muted); }
.search-form input::-webkit-search-cancel-button { display: none; }
.search-close { display: grid; place-items: center; width: 36px; height: 36px; margin-right: -8px; color: var(--muted); }
.search-close:hover { color: var(--fg); }
.search-close .i { width: 18px; height: 18px; }
/* Suggestions : petite fenêtre sombre sous la recherche, le reste de la page s'assombrit */
.search-results { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; height: 100vh; height: 100dvh; background: rgba(0,0,0,.6); }
.sr-in { padding-top: 8px; }
.sr-in > ul, .sr-in > .sr-all, .sr-in > .sr-none { margin-left: 32px; max-width: 520px; background: color-mix(in srgb, var(--fg) 7%, var(--bg)); border: 1px solid color-mix(in srgb, var(--fg) 18%, var(--bg)); box-shadow: 0 18px 40px rgba(0,0,0,.6); }
.search-results ul { list-style: none; margin-top: 0; margin-bottom: 0; padding: 6px 16px; }
.search-results li a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 10px 0; font-size: 14px; }
.search-results li + li a { border-top: 1px solid color-mix(in srgb, var(--fg) 12%, var(--bg)); }
.search-results li a:hover .sr-name, .search-results li a.is-active .sr-name { text-decoration: underline; }
.sr-img { width: 44px; height: 44px; background: var(--hover); overflow: hidden; }
.sr-img img { width: 100%; height: 100%; object-fit: cover; }
.sr-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sr-price { color: var(--muted); white-space: nowrap; }
.sr-price s { margin-right: 4px; }
.sr-all, .sr-none { display: block; padding: 12px 16px; font-size: 13px; color: var(--muted); }
.sr-in > .sr-all { border-top: 0; }
.sr-all:hover { color: var(--fg); }
@media (max-width: 767px) { .sr-in > ul, .sr-in > .sr-all, .sr-in > .sr-none { margin-left: 0; max-width: none; } }
.search-page input { flex: 1; min-width: 0; height: 48px; padding: 0; background: none; border: 0; border-bottom: 1px solid var(--field); border-radius: 0; font: 16px var(--mono); }
.search-page input:focus { outline: none; border-bottom-color: var(--fg); }

/* ---------- Menu mobile (plein écran, entièrement noir) ---------- */
.mnav { position: fixed; z-index: 49; left: 0; right: 0; bottom: 0; top: var(--mnav-top, var(--hdr-h)); background: var(--bg); overflow: hidden; }
.mnav-track { display: flex; width: 200%; height: 100%; transition: transform .25s ease; }
.mnav.is-sub .mnav-track { transform: translateX(-50%); }
.mnav-panel { width: 50%; height: 100%; overflow-y: auto; padding: 12px 0; display: flex; flex-direction: column; background: var(--bg); }
.mnav-panel a, .mnav-next, .mnav-back { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px; min-height: 57px; font-size: 16px; text-align: left; background: var(--bg); color: var(--fg); -webkit-tap-highlight-color: transparent; }
.mnav-back { justify-content: flex-start; gap: 8px; color: var(--muted); }
.mnav-panel a.is-active { text-decoration: underline; text-underline-offset: 3px; }
.mnav-panel a:active, .mnav-next:active, .mnav-back:active { background: var(--hover); }
.menu-open { overflow: hidden; }
@media (min-width: 1024px) { .mnav { display: none !important; } }

/* ---------- Boutons ---------- */
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 47px; padding: 10px 20px; font: 16px var(--mono); border: 1px solid var(--fg); border-radius: 0; text-align: center; transition: opacity .15s, background .15s; }
.btn-light { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
.btn-light:hover { opacity: .85; }
.btn-outline { background: transparent; color: var(--fg); }
.btn-outline:hover { background: var(--hover); }
.btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Accueil ---------- */
.hero { position: relative; overflow: hidden; }
.hero-track { display: grid; }
.slide { grid-area: 1 / 1; position: relative; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; display: flex; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide-text { position: relative; z-index: 1; text-align: center; padding-top: 28px; padding-bottom: 110px; }
.slide.has-img { min-height: 70vh; align-items: flex-end; }
.slide.has-img .slide-text { padding-bottom: 72px; }
.slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6), rgba(0,0,0,0) 60%); }
.hero-title { margin: 0; font-weight: 400; font-size: clamp(2.5rem, 4vw + 1rem, 4rem); line-height: 1.2; text-transform: uppercase; overflow-wrap: break-word; }
.hero-sub { margin: 52px 0 0; font-size: 16px; text-transform: uppercase; }
.hero-btn { display: inline-flex; width: auto; margin-top: 32px; padding: 10px 32px; }
.hero-dots { position: absolute; z-index: 2; bottom: 24px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #fff; }
.hero-dots button.is-on { background: #fff; }
@media (min-width: 1024px) {
  .slide-text { padding-top: 42px; padding-bottom: 150px; }
  .hero-sub { margin-top: 56px; font-size: 20px; }
}

.section { padding-top: 8px; }
.explore { display: inline-flex; align-items: center; gap: 6px; margin-top: 88px; font-size: 20px; }
.explore:hover { text-decoration: underline; text-underline-offset: 4px; }
.quote { padding: 80px 16px 24px; }
.quote p { margin: 0; font-size: 16px; line-height: 1.5; }
@media (min-width: 768px) { .quote { padding-left: 0; padding-right: 0; } }
@media (min-width: 1024px) {
  .explore { font-size: 22px; margin-top: 88px; }
  .quote { padding-top: 100px; padding-bottom: 40px; }
  .quote p { font-size: 22px; max-width: 560px; line-height: 1.45; }
}

/* ---------- Grille produits ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; } }
@media (min-width: 1024px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: block; }
.card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.6,.3,1); }
/* Survol : léger zoom de toute la photo, sans changer d'image ni ajouter d'effet lumineux */
@media (hover: hover) { .card:hover .card-img img { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .card-img img { transition: none; } .card:hover .card-img img { transform: none; } }
.badge { position: absolute; left: 8px; top: 8px; background: var(--fg); color: var(--bg); font: 700 11px var(--sans); text-transform: uppercase; padding: 3px 8px; }
.card-name { margin: 24px 0 0; font-weight: 400; font-size: 16px; line-height: 1.3; text-transform: uppercase; }
.card-price { margin: 16px 0 0; font-size: 16px; }
.card:hover .card-name { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1024px) { .card-name { font-size: 20px; margin-top: 24px; } .card-price { font-size: 20px; } }
.empty-note { color: var(--muted); }

/* ---------- Pages ---------- */
.page { padding-bottom: 72px; }
.crumbs { font: 15px/1.4 var(--sans); padding: 16px 0 0; }
.crumbs a { font-weight: 700; }
.crumbs a:hover { text-decoration: underline; }
.h1 { margin: 28px 0 0; font-weight: 400; font-size: clamp(2.5rem, 1.2vw + 2rem, 2.75rem); line-height: 1.2; overflow-wrap: break-word; }
.h1-sm { margin: 0; padding-top: 100px; font-weight: 400; font-size: 26px; }
.h2 { font-weight: 400; font-size: 26px; margin: 0 0 32px; }
.label { display: block; font: 12px var(--sans); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 8px; }
.count { font: 12px var(--sans); text-transform: uppercase; color: var(--muted); margin: 16px 0 0; }
.muted { color: var(--muted); font-size: 14px; }

.list-head { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.filters.one { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .list-head { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 24px; margin-top: 52px; }
  .list-head .h1 { margin: 0; }
  .filters { gap: 24px; }
  .filters.one { grid-template-columns: 1fr 1fr; }
  .filters.one .field { grid-column: 2; }
}
.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; height: 50px; padding: 0 44px 0 16px; background: var(--bg); border: 1px solid var(--fg); border-radius: 0; font: 400 15px var(--mono); }
.filters .label { font-family: var(--mono); color: var(--muted); letter-spacing: .04em; }
.filters .select select { height: 46px; border-color: var(--field); }
.filters .select select:hover, .filters .select select:focus-visible { border-color: var(--fg); }
.select .i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }

/* Texte riche (descriptions, FAQ, pages légales) */
.rich { line-height: 1.5; overflow-wrap: break-word; }
.rich p { margin: 0; min-height: 1em; }
.rich h2, .rich h3, .rich h4 { font-weight: 700; margin: 1em 0 .4em; font-size: 1.05em; }
.rich ul { margin: 16px 0; padding-left: 40px; list-style: none; }
.rich li { position: relative; margin: 2px 0; }
.rich li::before { content: "•"; position: absolute; left: -14px; }
.rich a { text-decoration: underline; }
.rich strong, .rich b { font-weight: 700; }

/* Retours : délai dépassé */
.ret-expired { border: 1px solid var(--fg); padding: 22px 20px; margin: 8px 0 24px; max-width: 620px; }
.ret-expired h2 { margin: 0 0 14px; font-size: 18px; font-weight: 700; line-height: 1.35; }
.ret-expired p { margin: 0 0 12px; line-height: 1.6; font-size: 15px; }
.ret-expired a { text-decoration: underline; }
.ret-expired .link { margin-top: 6px; text-decoration: underline; font: 14px var(--mono); color: var(--fg); }

/* FAQ : questions dépliables */
.faq-intro { color: var(--muted); margin-bottom: 32px; }
.faq-intro p { margin: 0 0 8px; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 0; cursor: pointer; list-style: none; font-size: 16px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover span { text-decoration: underline; text-underline-offset: 4px; }
.faq-ic { position: relative; flex: none; width: 14px; height: 14px; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: currentColor; transition: transform .2s ease; }
.faq-ic::after { transform: rotate(90deg); }
.faq-item[open] .faq-ic::after { transform: rotate(0deg); }
.faq-a { padding: 0 40px 22px 0; color: color-mix(in srgb, var(--fg) 72%, transparent); font-size: 14px; line-height: 1.7; }
.faq-a p { margin: 0 0 10px; min-height: 0; }
.faq-a p:last-child { margin-bottom: 0; }
@media (min-width: 1024px) { .faq-item summary { font-size: 17px; padding: 24px 0; } }
.text-page .rich { margin-top: 20px; }
@media (min-width: 768px) { .text-page .h1, .text-page .rich { max-width: 50%; } .faq-page .rich { max-width: 720px; } }
@media (min-width: 1024px) { .rich { font-size: 18px; line-height: 1.6; } }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; gap: 28px; margin-top: 16px; }
@media (min-width: 768px) { .pdp { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
@media (min-width: 1024px) { .pdp { gap: 68px; } }
.gallery-main { display: flex; align-items: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1; }
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main img { flex: 0 0 100%; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; }
.thumbs { display: flex; gap: 16px; margin-top: 24px; overflow-x: auto; scrollbar-width: none; }
.thumbs button { flex: none; width: 68px; height: 68px; border: 1px solid transparent; }
.thumbs button.is-on { border-color: var(--fg); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .thumbs button { width: 85px; height: 85px; } }
.pdp-name { margin: 0; font-weight: 400; font-size: 20px; line-height: 1.3; text-transform: uppercase; }
.pdp-price { margin: 12px 0 28px; font-size: 32px; line-height: 1.2; }
@media (min-width: 1024px) { .pdp-name { font-size: 40px; line-height: 1.2; } .pdp-price { font-size: 56px; margin: 18px 0 30px; } }
.buy { display: flex; flex-direction: column; gap: 0; margin-bottom: 30px; }
.buy .btn { margin-top: 16px; }
.buy .btn-light { margin-top: 16px; }
.buy .btn-outline { margin-top: 24px; }
.opt { border: 0; padding: 0; margin: 0 0 20px; }
.opt-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-width: 48px; height: 42px; padding: 0 14px; justify-content: center; border: 1px solid var(--field); cursor: pointer; }
.chip input:checked + span { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.chip.is-out span { color: var(--muted); text-decoration: line-through; }
.qty { display: inline-flex; align-items: center; width: 120px; height: 50px; border: 1px solid var(--field); }
.qty button { width: 40px; height: 100%; display: flex; align-items: center; justify-content: center; }
.qty button:disabled { opacity: .3; }
.qty input { width: 40px; height: 100%; border: 0; background: transparent; text-align: center; font: 700 16px var(--sans); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stock-note { margin: 12px 0 0; font: 700 13px var(--sans); text-transform: uppercase; }
.added { margin: 12px 0 0; font-size: 14px; }
.added a { text-decoration: underline; }
.share { display: flex; gap: 10px; margin: 0 0 28px; }
.share a, .share button { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: var(--fg); }
.pdp .rich { font-size: 16px; }
@media (min-width: 1024px) { .pdp .rich { font-size: 16px; line-height: 1.5; } }
.others { margin-top: 80px; }

/* ---------- Panier ---------- */
.cart-page { min-height: 60vh; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 150px 0 40px; color: var(--muted); }
.cart-empty-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--hover); color: var(--fg); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.cart-empty p { margin: 0 0 24px; }
.cart-empty .btn { width: auto; padding: 10px 28px; color: var(--fg); }
.cart-lines { list-style: none; margin: 24px 0 0; padding: 0; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 88px; height: 88px; object-fit: cover; }
.cart-line h2 { margin: 0; font-size: 15px; font-weight: 400; text-transform: uppercase; }
.cart-line .opts { font: 13px var(--sans); color: var(--muted); margin: 4px 0 0; }
.cart-line .warn { font: 700 12px var(--sans); margin: 6px 0 0; }
.cart-line .qty { width: 110px; height: 40px; margin-top: 12px; }
.cart-line .remove { font: 12px var(--sans); text-decoration: underline; color: var(--muted); margin-top: 10px; display: block; }
.cart-line .line-total { font-size: 15px; white-space: nowrap; }
.cart-summary { margin: 28px 0 0 auto; max-width: 420px; }
.cart-summary .row { display: flex; justify-content: space-between; font-size: 18px; }
.cart-summary .muted { margin: 8px 0 20px; }

/* ---------- Formulaires ---------- */
.form { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; max-width: 600px; }
.field input, .field textarea { display: block; width: 100%; height: 50px; padding: 0 14px; background: var(--bg); border: 1px solid var(--field); border-radius: 0; font-size: 16px; }
.field textarea { height: auto; min-height: 160px; padding: 12px 14px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--fg); outline: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.consent input { margin-top: 5px; width: 16px; height: 16px; flex: none; accent-color: var(--fg); }
.consent a { font-weight: 700; text-decoration: underline; }
.hp { position: absolute; left: -9999px; }
.notice { margin: 24px 0 0; padding: 14px 16px; border: 1px solid var(--fg); max-width: 600px; }
.notice.err { border-color: #ff6b6b; color: #ff9b9b; }
.search-page { display: flex; gap: 12px; margin: 24px 0 8px; max-width: 600px; }
.search-page .btn { width: auto; }

/* ---------- Pied de page ---------- */
.ftr { margin-top: auto; }
.ftr-top { background: var(--footer); padding: 44px 16px 28px; text-align: center; }
.ftr-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 16px; max-width: 360px; margin: 0 auto; }
.ftr-cols > div:last-child { grid-column: 1 / -1; }
.ftr h2 { margin: 0 0 14px; font-weight: 400; font-size: 18px; }
.ftr-cols a { color: color-mix(in srgb, var(--fg) 72%, transparent); }
.ftr-cols a:hover { color: var(--fg); }
.ftr-cols a { display: block; font-size: 14px; line-height: 1.4; margin-bottom: 6px; }
.ftr-cols a:hover { text-decoration: underline; }
.ftr-social { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 32px; }
.ftr-social:empty { display: none; }
.ftr-bottom { background: var(--bg); font: 17px var(--sans); padding: 26px 0; }
@media (min-width: 1024px) {
  .ftr-top { padding: 52px 0 36px; }
  .ftr-cols { grid-template-columns: repeat(3, 180px); max-width: none; justify-content: center; text-align: left; gap: 0; }
  .ftr-cols > div:last-child { grid-column: auto; }
  .ftr h2 { font-size: 19px; margin-bottom: 18px; }
  .ftr-cols a { font-size: 15px; }
  .ftr-social { margin-top: 40px; }
  .ftr-bottom { padding: 28px 0; }
}

/* ---------- Paiement ---------- */
.checkout .h1-sm, .order-page .h1 { padding-top: 40px; }
.notice.test { border-color: #f5c542; color: #f5c542; max-width: none; }
.co-grid { display: grid; gap: 40px; margin-top: 28px; }
@media (min-width: 1024px) { .co-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; } }
.co-form { margin-top: 0; max-width: none; }
.co-form fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 18px; }
/* Offres, cadeaux, choix du transporteur */
.offer-notes { list-style: none; margin: 8px 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font: 13px/1.45 var(--sans); }
.offer-notes li { border: 1px solid var(--line); padding: 8px 10px; }
.offer-notes li.on { border-color: var(--fg); }
.offer-notes li.on::before { content: "✓ "; }
.sum-lines li.gift .n::after { content: "Free gift"; display: block; margin-top: 2px; font: 13px var(--sans); color: var(--muted); text-transform: none; }
.co-methods { display: flex; flex-direction: column; gap: 10px; }
.co-method { position: relative; display: block; cursor: pointer; }
.co-method input { position: absolute; opacity: 0; inset: 0; }
.co-method > span { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 14px 16px; border: 1px solid var(--field); }
.co-method b { font-weight: 400; text-transform: uppercase; }
.co-method small { grid-column: 1; font: 13px/1.45 var(--sans); color: var(--muted); }
.co-method em { grid-row: 1; grid-column: 2; font-style: normal; }
.co-method input:checked + span { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); background: var(--hover); }
.co-method input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.co-legend { font-size: 18px; font-weight: 400; margin: 0 0 4px; padding: 0; text-transform: uppercase; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.select select.plain, .co-form .select select { font: 16px var(--mono); font-weight: 400; border-color: var(--field); }
.co-summary { border: 1px solid var(--line); padding: 20px; }
@media (min-width: 1024px) { .co-summary { position: sticky; top: calc(var(--hdr-h) + 24px); } }
.sum-lines { list-style: none; margin: 12px 0 16px; padding: 0; }
.sum-lines li { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sum-lines img { width: 64px; height: 64px; object-fit: cover; }
.sum-lines .n { margin: 0; font-size: 14px; text-transform: uppercase; }
.sum-lines .o { margin: 2px 0 0; font: 13px var(--sans); color: var(--muted); }
.sum-lines li > span:last-child { font-size: 14px; white-space: nowrap; }
.co-summary .row, .order-side .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.co-summary .row.total, .order-side .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; }
.co-pay-head { display: flex; justify-content: space-between; align-items: baseline; }
.link { text-decoration: underline; font: 13px var(--sans); color: var(--muted); }
.co-ship-to { font: 14px/1.5 var(--sans); color: var(--muted); margin: 4px 0 20px; }
.pay-box { min-height: 120px; }
.pay-btn { width: 100%; margin-top: 18px; }
.secure { margin-top: 14px; }
.checkout .cart-empty { padding-top: 80px; }

/* ---------- Confirmation de commande ---------- */
.order-page .lead { margin: 16px 0 0; max-width: 640px; }
.order-page .lead a { text-decoration: underline; }
.order-grid { display: grid; gap: 32px; margin: 36px 0 24px; }
@media (min-width: 1024px) { .order-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; } }
.order-side .co-legend { margin-top: 28px; }
.addr { font: 15px/1.6 var(--sans); margin: 8px 0 20px; }
.order-page .explore { margin-top: 32px; }

/* Compte à rebours avant l'ouverture des ventes */
.countdown { border: 1px solid currentColor; padding: 16px 18px; margin: 4px 0 20px; text-align: center; }
.cd-label { margin: 0 0 10px; font: 700 13px var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.cd-time { display: flex; justify-content: center; gap: 10px; }
.cd-time span { display: flex; flex-direction: column; align-items: center; min-width: 58px; }
.cd-time b { font: 400 32px/1.1 var(--mono, monospace); font-variant-numeric: tabular-nums; }
.cd-time small { font: 400 11px var(--sans); text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-top: 4px; }
.cd-date { margin: 12px 0 0; font-size: 13px; opacity: .75; }
.cd-end { margin: 0; font-size: 16px; }
.cdsec { text-align: center; max-width: 640px; }
.cdsec .h2 { margin: 0 0 20px; }
.cdsec .countdown { margin: 0 auto; }
.cdsec-btn { max-width: 320px; margin: 20px auto 0; }
.closed-cd { width: 100%; max-width: 420px; margin: 24px auto 8px; }
@media (max-width: 380px) { .cd-time { gap: 4px; } .cd-time span { min-width: 50px; } .cd-time b { font-size: 26px; } }

/* Code promo */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.promo { display: flex; gap: 8px; margin-top: 16px; }
.promo input { flex: 1; min-width: 0; height: 46px; padding: 0 12px; background: var(--bg); border: 1px solid var(--field); border-radius: 0; font-size: 16px; text-transform: uppercase; }
.promo input:focus { border-color: var(--fg); outline: none; }
.promo .btn { width: auto; height: 46px; padding: 0 18px; margin: 0; }
.promo-msg { margin: 8px 0 0; font-size: 14px; }
.promo-msg.err { color: #ff6b6b; }
.promo[aria-disabled=true] { opacity: .5; pointer-events: none; }

.mnav-sub { display: flex; flex-direction: column; }
.mnav-sub[hidden] { display: none; }

/* Sections de l'accueil (éditeur visuel) */
.slide.has-img .slide-text { color: #fff; }
.slide.has-img .hero-btn { background: #fff; color: #000; border-color: #fff; }
.sec-title { margin: 0 0 28px; }
.muted-note { color: var(--muted); }
.imgtext { display: grid; gap: 28px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.imgtext-img img, .img-ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.img-ph { background: var(--hover); }
.img-ph.wide { aspect-ratio: 21 / 9; }
.imgtext-text p { margin: 0 0 1em; }
.imgtext-btn { width: auto; display: inline-flex; padding: 10px 32px; margin-top: 8px; }
@media (min-width: 768px) {
  .imgtext { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 72px; padding-bottom: 72px; }
  .imgtext.is-right .imgtext-img { order: 2; }
}
.bigimg { position: relative; margin: 32px 0; }
.bigimg img { width: 100%; max-height: 85vh; object-fit: cover; }
.bigimg-title { position: absolute; left: 0; right: 0; bottom: 24px; margin: 0; text-align: center; color: #fff; font-size: clamp(1.4rem, 2vw + 1rem, 2.4rem); text-transform: uppercase; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.textsec { padding-top: 56px; padding-bottom: 56px; max-width: 760px; }
.textsec.is-center { text-align: center; margin-left: auto; margin-right: auto; }
.textsec-body p { margin: 0 0 1em; }
.sum-note { margin: 2px 0 4px; font-size: 12px; color: var(--muted); font-family: var(--sans); }
/* Pages spéciales : 404 et boutique fermée */
.special-page { text-align: center; }
.special-page .explore { justify-content: center; }
.special-img { display: block; max-width: min(520px, 100%); max-height: 50vh; object-fit: contain; margin: 0 auto 28px; border-radius: 2px; }
.is-closed { min-height: 100vh; }
.closed-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 48px 20px; max-width: 640px; margin: 0 auto; }
.closed-logo { width: 72px; height: 72px; object-fit: contain; margin-bottom: 36px; }
.closed-name { font-family: var(--mono); letter-spacing: .2em; text-transform: uppercase; margin: 0 0 36px; }
.closed-page p { font-family: var(--sans); line-height: 1.6; color: var(--fg); opacity: .85; }
.closed-social { display: flex; gap: 22px; justify-content: center; margin-top: 18px; }
.closed-social a { color: var(--fg); }
.closed-notice { background: #ffd6a4; color: #5e4200; font: 600 13px/1.4 -apple-system, system-ui, sans-serif; text-align: center; padding: 8px 16px; }
.special-page .h1, .special-page h1 { text-align: center; margin-left: auto; margin-right: auto; }
.special-page p { margin-left: auto; margin-right: auto; }
.special-page { padding-top: 56px; padding-bottom: 72px; }

/* ---------- Retours (/returns) ---------- */
.ret-intro { max-width: 600px; margin: 16px 0 0; line-height: 1.6; color: var(--muted); }
.ret-conditions { max-width: 720px; margin: 24px 0 8px; border: 1px solid var(--line); padding: 0 16px; }
.ret-conditions summary { cursor: pointer; padding: 14px 0; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; }
.ret-conditions .rich ol { margin: 0 0 12px; padding-left: 20px; }
.ret-conditions .rich li { margin: 0 0 10px; font: 14px/1.55 var(--sans); }
.ret-conditions > p { margin: 0 0 16px; font: 13px var(--sans); }
.ret-conditions a { text-decoration: underline; text-underline-offset: 2px; }
.ret-video-rules { border: 1px solid var(--fg); padding: 14px 16px; font: 14px/1.55 var(--sans); }
.ret-video-rules p { margin: 0 0 8px; }
.ret-video-rules ul { margin: 0; padding-left: 20px; }
.ret-video-rules li { margin: 4px 0; }
.ret-form { gap: 40px; }
.ret-order { margin: 0; padding: 14px 16px; border: 1px solid var(--line); line-height: 1.5; }
.ret-items { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.ret-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ret-item.is-off { opacity: .45; }
.ret-img { width: 64px; height: 64px; background: var(--hover); overflow: hidden; }
.ret-img img { width: 100%; height: 100%; object-fit: cover; }
.ret-name { display: flex; flex-direction: column; gap: 4px; min-width: 0; font: 14px/1.4 var(--sans); }
.ret-name span { color: var(--muted); font-size: 13px; }
.ret-qty .select select { width: 76px; height: 44px; padding: 0 12px; text-align: center; }
.ret-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ret-opt { position: relative; display: block; cursor: pointer; }
.ret-opt input { position: absolute; opacity: 0; inset: 0; }
.ret-opt > span { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 16px; border: 1px solid var(--field); transition: border-color .15s, background .15s; }
.ret-opt small { font: 13px/1.45 var(--sans); color: var(--muted); }
.ret-opt input:checked + span { border-color: var(--fg); background: var(--hover); box-shadow: inset 0 0 0 1px var(--fg); }
.ret-opt input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.ret-hint { margin: -8px 0 0; line-height: 1.5; }
.ret-files { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.ret-files:empty { display: none; }
.ret-file { position: relative; aspect-ratio: 1; background: var(--hover); overflow: hidden; border: 1px solid var(--line); }
.ret-file img, .ret-file video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ret-file.up img, .ret-file.up video { opacity: .5; }
.ret-file.err { border-color: #ff6b6b; }
.ret-del { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,0,0,.75); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.ret-tag { position: absolute; left: 4px; bottom: 4px; padding: 2px 6px; background: rgba(0,0,0,.75); color: #fff; font: 11px var(--sans); text-transform: uppercase; }
.ret-tag.err { background: #b3261e; }
.ret-bar { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 4px; background: rgba(255,255,255,.3); }
.ret-bar i { display: block; height: 100%; background: #fff; transition: width .2s; }
.ret-add { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ret-pick { cursor: pointer; font-size: 14px; }
.ret-pick.is-off { opacity: .35; pointer-events: none; }
.ret-done { max-width: 600px; line-height: 1.6; }
.ret-done .notice { margin-bottom: 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 520px) {
  .ret-choice, .ret-add { grid-template-columns: 1fr; }
}
.ret-done .explore { margin-top: 8px; font-size: 18px; }

/* ---------- Bandeau cookies ---------- */
.cookie-bar { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 12px; max-width: 720px; margin: 0 auto; background: var(--bg); color: var(--fg); border: 1px solid var(--line); padding: 16px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.35); font: 14px/1.45 var(--sans); }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; }
.cookie-bar a { text-decoration: underline; text-underline-offset: 2px; }
.cookie-btns { display: flex; gap: 10px; }
.cookie-btns .btn { min-height: 42px; font-size: 14px; padding: 8px 14px; }
@media (min-width: 768px) { .cookie-bar { flex-direction: row; align-items: center; bottom: 20px; } .cookie-btns { flex-shrink: 0; } .cookie-btns .btn { width: auto; } }
.captcha { margin: 4px 0 14px; min-height: 0; }

/* Prix barré */
.was { color: var(--muted, #8a8a8a); opacity: .75; text-decoration: line-through; margin-right: .35em; font-size: .8em; }
.pdp-price .was { font-size: .6em; }
.vat-note { margin: 6px 0 0; font-size: 12px; color: var(--muted); }

/* ---------- Panier coulissant (s'ouvre depuis l'icône du panier) ---------- */
.drawer-shade { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .5); opacity: 0; transition: opacity .3s ease; }
.drawer-shade.is-open { opacity: 1; }
.drawer { position: fixed; z-index: 91; top: 0; right: 0; bottom: 0; width: min(440px, 88vw); height: 100dvh; display: flex; flex-direction: column; background: var(--bg); color: var(--fg); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.drawer.is-open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 8px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 16px; font-weight: 400; text-transform: uppercase; }
.drawer-head .muted { font-size: 13px; margin-left: 6px; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px; }
.drawer .cart-empty { padding: 90px 0 40px; }
.drawer .cart-lines { margin: 0; border-top: 0; }
.drawer .cart-line { grid-template-columns: 72px 1fr auto; gap: 14px; padding: 18px 0; }
.drawer .cart-line img { width: 72px; height: 72px; }
.drawer .cart-line h2 { font-size: 14px; }
.drawer .cart-line .line-total { font-size: 14px; }
.drawer-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer-foot .row { display: flex; justify-content: space-between; font-size: 17px; }
.drawer-foot .muted { margin: 6px 0 14px; font-size: 13px; }
.drawer-view { display: block; text-align: center; margin-top: 12px; font: 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
.drawer-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .drawer, .drawer-shade { transition: none; } }

/* ---------- Choix du point relais (paiement) ---------- */
.relay { margin-top: -10px; }
.relay-chosen { border-top: 0 !important; }
.relay-btn { width: 100%; }
.relay-chosen { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 14px 16px; border: 1px solid var(--field); }
.relay-chosen p { margin: 0; }
.relay-k { font: 12px/1.4 var(--sans); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.relay-name { text-transform: uppercase; }
.relay-addr { font: 14px/1.45 var(--sans); color: var(--muted); }
.relay-chosen .link { flex: none; font-size: 14px; }
html.relay-open { overflow: hidden; }
.relay-dlg { padding: 0; border: 0; background: transparent; color: var(--fg); max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; }
.relay-dlg::backdrop { background: rgba(0, 0, 0, .7); }
.relay-panel { display: flex; flex-direction: column; height: 100%; background: var(--bg); }
.relay-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.relay-head h2 { margin: 0; font-size: 16px; font-weight: 400; text-transform: uppercase; }
.relay-x { background: none; border: 0; color: var(--fg); padding: 6px; margin: -6px; cursor: pointer; display: grid; }
.relay-search { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.relay-search input { min-width: 0; font: 16px var(--mono); color: var(--fg); background: transparent; border: 1px solid var(--field); padding: 10px 12px; border-radius: 0; }
.relay-search input:focus { outline: none; border-color: var(--fg); }
.relay-search .btn { padding-inline: 18px; }
/* La carte reste toujours dans son cadre (avant : elle débordait sur tout l'écran en la déplaçant) */
.relay-head, .relay-search, .relay-foot { position: relative; z-index: 2; background: var(--bg); }
.relay-body { flex: 1; min-height: 0; position: relative; overflow: hidden; isolation: isolate; z-index: 1; }
.relay-map { position: relative !important; overflow: hidden; isolation: isolate; height: 100%; width: 100%; background: #1d1d1d !important; z-index: 0; }
.relay-listwrap { overflow: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; background: var(--bg); }
.relay-msg { margin: 0; padding: 12px 16px 4px; font: 13px/1.45 var(--sans); color: var(--muted); }
.relay-msg:empty { display: none; }
.relay-list { list-style: none; margin: 0; padding: 4px 0 8px; }
.relay-item { display: grid; grid-template-columns: 28px 1fr; gap: 12px; width: 100%; text-align: left; background: none; border: 0; border-left: 2px solid transparent; color: var(--fg); padding: 12px 16px; cursor: pointer; font: inherit; }
.relay-item:hover { background: var(--hover); }
.relay-item.on { background: var(--hover); border-left-color: var(--fg); }
.relay-item:focus-visible { outline: 2px solid var(--fg); outline-offset: -2px; }
.relay-n { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--field); display: grid; place-items: center; font-size: 12px; margin-top: 1px; }
.relay-item.on .relay-n { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.relay-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.relay-txt b { font-weight: 400; text-transform: uppercase; font-size: 14px; }
.relay-txt small { font: 13px/1.45 var(--sans); color: var(--muted); }
.relay-meta { color: var(--fg) !important; opacity: .8; }
.relay-hours { margin-top: 8px; border-collapse: collapse; font: 13px/1.6 var(--sans); color: var(--muted); }
.relay-hours th { font-weight: 400; text-align: left; padding-right: 14px; }
.relay-hours tr.today { color: var(--fg); }
.relay-foot { padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.relay-foot .btn { width: 100%; }
.relay-foot .btn:disabled { opacity: .4; cursor: default; }
.relay-pin { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #000; color: #fff; border: 2px solid #fff; font: 12px/1 "Roboto Mono", monospace; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); transition: transform .15s; }
.relay-pin.on { background: #fff; color: #000; border-color: #000; transform: scale(1.25); z-index: 1000; }
.relay-map .leaflet-tile-pane { filter: grayscale(1) invert(1) brightness(.85) contrast(.9); }
.relay-dlg .relay-map .leaflet-control-attribution { background: rgba(0, 0, 0, .6); color: #aaa; font-size: 10px; }
.relay-dlg .relay-map .leaflet-control-attribution a { color: #ddd; }
.relay-map .leaflet-bar a { background: #000; color: #fff; border-color: #333; }
/* Téléphone : carte plein cadre, fiches qui défilent en bas */
@media (max-width: 767px) {
  .relay-map { position: absolute !important; inset: 0; height: auto; }
  .relay-listwrap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1001; overflow: visible; background: transparent; }
  .relay-msg { position: absolute; left: 12px; right: 12px; bottom: calc(100% + 6px); margin: 0; padding: 6px 10px; font: 12px/1.4 var(--sans); background: rgba(0, 0, 0, .72); color: #ddd; width: max-content; max-width: calc(100% - 24px); }
  .relay-list { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 7.5% 14px; scrollbar-width: none; }
  .relay-list::-webkit-scrollbar { display: none; }
  .relay-list li { flex: 0 0 85%; scroll-snap-align: center; }
  .relay-item { height: 100%; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(0, 0, 0, .5); align-items: start; }
  .relay-item.on { border-color: var(--fg); background: var(--bg); }
  .relay-more { display: none !important; }
}
@media (min-width: 768px) {
  .relay-dlg { width: min(1040px, calc(100% - 48px)); height: min(720px, calc(100% - 48px)); margin: auto; }
  .relay-panel { border: 1px solid var(--line); }
  .relay-body { display: grid; grid-template-columns: 380px 1fr; }
  .relay-listwrap { order: -1; height: 100%; border-right: 1px solid var(--line); }
  .relay-foot { display: flex; justify-content: flex-end; }
  .relay-foot .btn { width: auto; min-width: 260px; }
}
@media (max-width: 480px) { .relay-search { grid-template-columns: 1fr auto; } .relay-search input[name="city"] { display: none; } }

/* Conversation privée avec la boutique (/messages/…) */
.conversation .conv-intro { opacity: .7; font-size: 14px; max-width: 600px; }
.conv-thread { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin: 28px 0 8px; }
.conv-msg { max-width: 85%; padding: 12px 16px; border: 1px solid rgba(127, 127, 127, .35); }
.conv-msg.you { align-self: flex-end; }
.conv-msg.shop { align-self: flex-start; background: rgba(127, 127, 127, .12); }
.conv-who { margin: 0 0 6px; font-size: 12px; opacity: .65; letter-spacing: .03em; }
.conv-body { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; }
.conv-form { max-width: 640px; }
@media (max-width: 640px) { .conv-msg { max-width: 94%; } }

/* Factures sur la page de commande */
.order-docs { list-style: none; margin: 10px 0 0; padding: 0; font-size: 12px; }
.order-docs li + li { margin-top: 4px; }
.order-docs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Liste d'attente sous un compte à rebours */
.waitlist { margin: 0 0 20px; text-align: left; min-width: 0; max-width: 100%; }
.cdsec .waitlist, .closed-page .waitlist { max-width: 420px; margin: 18px auto 0; text-align: center; }
.wl-label { margin: 0 0 8px; font-size: 14px; }
.wl-row { display: flex; gap: 8px; }
.wl-row input { flex: 1 1 0; width: 0; min-width: 0; height: 46px; padding: 0 12px; background: var(--bg); color: var(--fg); border: 1px solid var(--field); border-radius: 0; font-size: 16px; }
.wl-row input:focus { border-color: var(--fg); outline: none; }
.wl-row .btn { width: auto; min-height: 46px; height: 46px; padding: 0 18px; margin: 0; white-space: nowrap; }
.wl-msg { margin: 8px 0 0; font-size: 14px; }
.wl-msg:empty { display: none; }
.wl-msg.is-bad { color: #ff6b6b; }
.wl-legal { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.wl-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.waitlist.is-done .wl-row, .waitlist.is-done .wl-label, .waitlist.is-done .wl-legal { display: none; }
.waitlist.is-done .wl-msg { margin: 0; padding: 12px 14px; border: 1px solid var(--line); }

/* Section « Produit mis en avant » */
.featp { display: grid; gap: 24px; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.featp-img { display: flex; justify-content: center; overflow: hidden; }
/* Photo entière, dans ses proportions d'origine (jamais rognée), hauteur limitée */
.featp-img img { display: block; width: auto; height: auto; max-width: 100%; max-height: min(56vh, 480px); transition: transform .6s ease; }
.featp-img:hover img { transform: scale(1.03); }
.featp-label { margin: 0 0 14px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.featp-name { margin: 0; }
.featp-name a { color: inherit; text-decoration: none; }
.featp-price { margin: 16px 0 0; font-size: 22px; }
.featp-note { margin: 10px 0 0; font-size: 14px; text-transform: uppercase; color: var(--muted); }
.featp-text { margin-top: 20px; }
.featp-text p { margin: 0 0 1em; }
.featp-btn { width: auto; display: inline-flex; padding: 12px 40px; margin-top: 24px; }
@media (min-width: 768px) {
  .featp { grid-template-columns: 1fr 1fr; gap: 56px; padding-top: 48px; padding-bottom: 48px; }
  .featp.is-right .featp-img { order: 2; }
}
@media (prefers-reduced-motion: reduce) { .featp-img img { transition: none; } .featp-img:hover img { transform: none; } }

/* Section « Vidéo » */
.vidsec { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; background: #000; color: #fff; }
.vidsec.h-full { height: 80svh; }
.vidsec.h-large { height: 62svh; }
.vidsec.h-medium { height: 44svh; }
@media (min-width: 768px) { .vidsec.h-full { height: 88vh; } .vidsec.h-large { height: 70vh; } .vidsec.h-medium { height: 50vh; } }
.vid-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vidsec::after { content: ''; position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; }
.vid-text { position: relative; z-index: 1; text-align: center; padding-bottom: 64px; }
.vid-text .hero-sub { margin-top: 24px; }
.vid-text .hero-btn { background: #fff; color: #000; border-color: #fff; }

/* Section « Bande défilante » */
.marq { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 14px 0; white-space: nowrap; }
.marq.is-inv { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.marq-track { display: flex; width: max-content; animation: marq var(--dur, 30s) linear infinite; }
.marq:hover .marq-track { animation-play-state: paused; }
.marq-run { display: flex; align-items: center; }
.marq-run span { padding: 0 28px; text-transform: uppercase; letter-spacing: .04em; }
.marq-run i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .6; flex: none; }
.marq.m-small { padding: 9px 0; } .marq.m-small span { font-size: 13px; padding: 0 20px; }
.marq.m-medium span { font-size: 18px; }
.marq.m-large { padding: 20px 0; } .marq.m-large span { font-size: clamp(1.6rem, 3vw + .8rem, 3rem); padding: 0 40px; }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marq-track { animation-duration: calc(var(--dur, 30s) * 4); } }

/* Section « Espace / séparateur » */
.spacer { display: flex; align-items: center; }
.spacer > .container { width: 100%; }
.spacer-line { margin: 0; border: 0; border-top: 1px solid var(--line); }
.egg { -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.ftr-note { color: var(--muted); margin-left: .5em; }
.ftr-note::before { content: "·"; margin-right: .5em; }

/* ---------- Pop-up de bienvenue (code promo) ---------- */
.wc[hidden] { display: none; }
.wc { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 14px; font-family: var(--mono); }
.wc-shade { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); animation: wc-fade .25s ease; }
.wc-box { position: relative; width: min(600px, 100%); max-height: calc(100dvh - 28px); overflow: auto; background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: wc-in .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes wc-fade { from { opacity: 0; } }
@keyframes wc-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.wc-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; color: #8a8a8a; background: none; border: 0; cursor: pointer; }
.wc-x:hover { color: #fff; }
.wc-x svg { width: 14px; height: 14px; }
.wc-body { padding: 52px 48px 36px; }
.wc-body h2 { font-size: 40px; line-height: 1.05; margin: 0 0 14px; font-weight: 700; letter-spacing: -.03em; font-family: inherit; text-transform: none; }
.wc-body p { margin: 0 0 30px; color: #a8a8a8; font-size: 14px; line-height: 1.65; max-width: 400px; }
.wc-body p b { color: #fff; font-weight: 500; }
.wc-f { display: flex; height: 52px; border: 1px solid #fff; }
.wc-f:focus-within { box-shadow: 0 0 0 3px rgba(255, 255, 255, .18); }
.wc-f input { flex: 1; min-width: 0; background: transparent; border: 0; color: #fff; font: 16px var(--mono); padding: 0 16px; outline: 0; border-radius: 0; }
.wc-f input::placeholder { color: #6f6f6f; }
.wc-f button { flex: none; width: 52px; background: #fff; color: #000; border: 0; display: grid; place-items: center; cursor: pointer; }
.wc-f button:disabled { opacity: .6; cursor: wait; }
.wc-f button svg { width: 18px; height: 18px; }
.wc-chk { display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: #8a8a8a; margin-top: 14px; cursor: pointer; }
.wc-chk input { flex: none; appearance: none; -webkit-appearance: none; width: 14px; height: 14px; border: 1px solid #8a8a8a; margin: 2px 0 0; background: #000; display: grid; place-items: center; cursor: pointer; }
.wc-chk input:checked { background: #fff; border-color: #fff; }
.wc-chk input:checked::after { content: ""; width: 7px; height: 4px; border: solid #000; border-width: 0 0 1.5px 1.5px; transform: translateY(-1px) rotate(-45deg); }
.wc-captcha:empty { display: none; }
.wc-captcha { margin-top: 14px; }
.wc-err { margin: 12px 0 0 !important; color: #ff8a80 !important; font-size: 13px !important; }
.wc-done p { margin-bottom: 0; }
.wc-done [data-wc-t], .wc-done [data-wc-p] { display: none; }
.wc-done [data-wc-t].on, .wc-done [data-wc-p].on { display: block; }
.wc-code { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; border: 1px dashed #fff; padding: 0 8px 0 20px; margin-top: 26px; }
.wc-code b { font-size: 24px; letter-spacing: .12em; font-weight: 700; word-break: break-all; -webkit-user-select: all; user-select: all; }
.wc-code button { flex: none; font: 12px var(--mono); color: #8a8a8a; display: flex; gap: 6px; align-items: center; padding: 10px; background: none; border: 0; cursor: pointer; }
.wc-code button:hover { color: #fff; }
.wc-code svg, .wc-ok svg { width: 14px; height: 14px; }
.wc-ok { display: flex; align-items: center; gap: 8px; font-size: 12px !important; color: #8a8a8a !important; margin-top: 14px !important; }
.wc-ok[hidden], .wc-code[hidden] { display: none; }
.wc-done { padding-bottom: 30px; }
.wc-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px 18px 48px; border-top: 1px solid #262626; }
.wc-terms { font-size: 11px; line-height: 1.5; color: #6f6f6f; }
.wc-terms a { color: #8a8a8a; text-decoration: underline; text-underline-offset: 2px; }
.wc-btns { display: flex; gap: 8px; flex: none; }
.wc-o, .wc-w { height: 42px; padding: 0 20px; font: 13px var(--mono); display: inline-flex; align-items: center; justify-content: center; letter-spacing: .02em; white-space: nowrap; cursor: pointer; text-decoration: none; border-radius: 0; }
.wc-o { background: #000; color: #fff; border: 1px solid #fff; }
.wc-o:hover { background: #151515; }
.wc-w { background: #fff; color: #000; border: 1px solid #fff; }
.wc-w:hover { background: #e6e6e6; color: #000; }
.wc.is-done .wc-o[data-wc-no] { display: none; }
@media (max-width: 600px) {
  .wc-body { padding: 44px 24px 26px; }
  .wc-body h2 { font-size: 32px; }
  .wc-body p { margin-bottom: 24px; }
  .wc-foot { flex-direction: column; align-items: stretch; padding: 16px 24px 20px; gap: 14px; }
  .wc-btns .wc-o, .wc-btns .wc-w { flex: 1; }
  .wc-code b { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { .wc-shade, .wc-box { animation: none; } }
/* Page du lien de confirmation */
.welcome-page .wp-code { display: inline-flex; align-items: center; gap: 14px; border: 1px dashed currentColor; padding: 14px 12px 14px 20px; margin: 6px 0 14px; }
.welcome-page .wp-code span { font-size: 24px; font-weight: 700; letter-spacing: .12em; -webkit-user-select: all; user-select: all; }
.welcome-page .wp-copy { font: 12px var(--mono); background: none; border: 1px solid currentColor; color: inherit; padding: 6px 10px; cursor: pointer; }

/* ---------- Fiche produit : Size & details + Compare with yours ---------- */
.sz { margin: 4px 0 26px; }
.sz-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.sz-h h2 { margin: 0; font: 12px var(--sans); text-transform: uppercase; letter-spacing: .02em; }
.sz-unit { display: flex; border: 1px solid var(--field); }
.sz-unit button { font: 11px var(--mono); background: none; color: var(--muted); border: 0; padding: 4px 10px; cursor: pointer; }
.sz-unit button[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.sz dl { margin: 0; border-top: 1px solid color-mix(in srgb, var(--fg) 16%, var(--bg)); }
.sz dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid color-mix(in srgb, var(--fg) 16%, var(--bg)); font-size: 14px; }
.sz dt { color: var(--muted); }
.sz dd { margin: 0; text-align: right; }
.cmp { border: 1px dashed var(--muted); padding: 16px 18px; margin-top: 16px; }
.cmp-t { font: 12px var(--sans); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 12px; }
.cmp-in { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.cmp-f { display: inline-flex; align-items: center; border: 1px solid var(--muted); height: 38px; }
.cmp-f input { width: 72px; height: 100%; border: 0; background: none; color: var(--fg); font: 16px var(--mono); padding: 0 12px; -moz-appearance: textfield; appearance: textfield; }
.cmp-f input::-webkit-outer-spin-button, .cmp-f input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cmp-f input:focus { outline: none; }
.cmp-f:focus-within { border-color: var(--fg); box-shadow: inset 0 0 0 1px var(--fg); }
.cmp-f i { font-style: normal; padding: 0 10px; border-left: 1px solid var(--field); color: var(--muted); font-size: 12px; line-height: 36px; }
.cmp-bars { margin: 16px 0 10px; display: grid; gap: 8px; font-size: 12px; }
.cmp-bar { display: grid; grid-template-columns: 72px 1fr 64px; align-items: center; gap: 10px; color: var(--muted); }
.cmp-bar > div { height: 6px; background: color-mix(in srgb, var(--fg) 12%, var(--bg)); }
.cmp-bar i { display: block; height: 100%; width: 0; background: color-mix(in srgb, var(--fg) 40%, var(--bg)); transition: width .35s ease; }
.cmp-bar.is-this i { background: var(--fg); }
.cmp-bar span:last-child { text-align: right; color: var(--fg); }
.cmp-msg { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: color-mix(in srgb, var(--fg) 82%, var(--bg)); }
.cmp-msg b { color: var(--fg); font-weight: 700; }
@media (prefers-reduced-motion: reduce) { .cmp-bar i { transition: none; } }

/* ---------- Cartes cadeaux ---------- */
/* La carte (format carte bancaire 85,6 × 54 mm) : toujours noire, quel que soit le thème du site */
.gc { position: relative; container-type: inline-size; width: 100%; aspect-ratio: 1.586; border-radius: 3.7% / 5.9%; overflow: hidden; background: #000; color: #fff; font-family: "Roboto Mono", ui-monospace, monospace;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 24px 50px rgba(0,0,0,.45); -webkit-print-color-adjust: exact; print-color-adjust: exact; text-align: left; }
.gc-t { position: absolute; left: 4.6cqw; top: 4.4cqw; z-index: 2; font-size: clamp(8px, 2.5cqw, 13px); line-height: 1.5; letter-spacing: .04em; }
.gc-t b { display: block; font-size: 1.1em; }
.gc-meta { position: absolute; left: 4.6cqw; bottom: 4.2cqw; z-index: 2; font-size: clamp(7px, 2.1cqw, 11px); line-height: 1.5; letter-spacing: .06em; }
.gc-meta em { font-style: normal; opacity: .55; }
.gc-eur { display: none; }
.gc-n { position: absolute; right: -2.7cqw; bottom: -12cqw; font-weight: 700; font-size: 48cqw; letter-spacing: -.08em; line-height: 1; white-space: nowrap; transition: color .3s; }
.gc[data-len="3"] .gc-n { font-size: 37cqw; bottom: -9cqw; right: -2cqw; }
.gc[data-len="4"] .gc-n { font-size: 29cqw; bottom: -7cqw; }
.gc[data-len="5"] .gc-n { font-size: 24cqw; bottom: -6cqw; }
.gc-solid .gc-n { color: #fff; }
.gc-outline .gc-n { color: transparent; -webkit-text-stroke: max(1px, .3cqw) #fff; }
.gc-black .gc-n { color: transparent; background: linear-gradient(115deg, #050505 30%, #2c2c2c 48%, #050505 62%); -webkit-background-clip: text; background-clip: text;
  text-shadow: -1px -1px 0 rgba(255,255,255,.2); }
.gc-black .gc-eur { display: inline; }

/* Fiche « produit » de la carte cadeau (même présentation qu'une fiche produit) */
.gb-vis { aspect-ratio: 1; }
.gb-l { margin: 36px 0 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.gb-form .field, .gb-form .two { margin-bottom: 22px; }
.gb-form .two .field { margin-bottom: 0; }
.gb-form .label { margin-bottom: 10px; }
.gb-form textarea { width: 100%; resize: vertical; min-height: 110px; }
.gb-count { display: block; text-align: right; color: var(--muted); font-size: 12px; margin-top: 6px; }
.gb-hint { margin: -10px 0 8px; color: var(--muted); font: 13px/1.55 var(--sans); }
.gb-form .consent { margin-top: 10px; }
.gb-form .notice { margin: 18px 0 0; }
.gb-form .btn { width: 100%; margin-top: 26px; }
@media (max-width: 520px) { .gb-form .two { grid-template-columns: 1fr; gap: 22px; } }

/* Calendrier « Send on » */
.gdp { position: relative; }
.gdp-btn { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 50px; padding: 0 14px; background: var(--bg); color: var(--fg);
  border: 1px solid var(--field); font: 16px var(--mono); text-align: left; cursor: pointer; }
.gdp-btn:hover, .gdp-btn[aria-expanded="true"] { border-color: var(--fg); }
.gdp-btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.gdp-pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: 100%; max-width: 340px; padding: 16px; background: var(--bg); color: var(--fg);
  border: 1px solid var(--fg); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.gdp-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.gdp-head b { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.gdp-head button { width: 36px; height: 36px; border: 1px solid var(--field); background: none; color: inherit; font-size: 20px; line-height: 1; cursor: pointer; }
.gdp-head button:hover:not(:disabled) { border-color: var(--fg); }
.gdp-head button:disabled { opacity: .25; cursor: default; }
.gdp-wd, .gdp-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.gdp-wd span { padding: 4px 0 8px; text-align: center; font-size: 11px; color: var(--muted); letter-spacing: .06em; }
.gdp-grid button { aspect-ratio: 1; min-height: 36px; border: 1px solid transparent; background: none; color: inherit; font: 14px var(--mono); cursor: pointer; }
.gdp-grid button:hover:not(:disabled) { border-color: var(--fg); }
.gdp-grid button:focus-visible { outline: 2px solid var(--fg); outline-offset: 1px; }
.gdp-grid button.is-today { text-decoration: underline; text-underline-offset: 4px; }
.gdp-grid button.is-sel { background: var(--fg); color: var(--bg); font-weight: 700; }
.gdp-grid button:disabled { color: var(--muted); opacity: .35; cursor: default; }
.gdp-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--field); font-size: 12px; color: var(--muted); }
.gdp-foot button { padding: 8px 12px; border: 1px solid var(--fg); background: none; color: var(--fg); font: 13px var(--mono); cursor: pointer; }
.gift-buy .rich { margin-top: 28px; }
@media (min-width: 768px) { .gift-buy .gallery { position: sticky; top: 110px; } }
/* Les trois cartes en escalier sur fond noir pur (vignette de la boutique et image de la fiche) */
.gstack { position: relative; width: 100%; height: 100%; aspect-ratio: 1; overflow: hidden; background: #000; }
.gs-in { position: absolute; inset: 0; transition: transform .5s cubic-bezier(.2,.6,.3,1); }
.gs-c { position: absolute; width: 47%; transform: rotate(-6deg); transition: filter .35s; }
.gs-c .gc { box-shadow: inset 0 0 0 1px rgba(255,255,255,.3), 0 18px 34px rgba(0,0,0,.55); }
.gs-c1 { left: 6%; top: 15%; z-index: 3; }
.gs-c2 { left: 26.5%; top: 35%; z-index: 2; }
.gs-c3 { left: 47%; top: 55%; z-index: 1; }
.gstack[data-sel] .gs-c:not(.is-on) { filter: brightness(.5); }
.gstack[data-sel] .gs-c.is-on .gc { box-shadow: inset 0 0 0 1px rgba(255,255,255,.75), 0 18px 34px rgba(0,0,0,.6); }
/* Petits textes proportionnels à la carte (pas de taille minimum), masqués quand la carte est minuscule */
.gs-c .gc-t { font-size: 2.6cqw; }
.gs-c .gc-meta { font-size: 2.1cqw; }
@container (max-width: 170px) { .gs-c .gc-t, .gs-c .gc-meta { display: none; } }
.gb-tile { background: #000; }
@media (hover: hover) { .card:hover .gb-tile .gs-in { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .gs-in, .gs-c { transition: none; } .card:hover .gb-tile .gs-in { transform: none; } }

/* Page de l'acheteur */
.gift-order .gb-done { max-width: 560px; margin: 0 auto; text-align: center; padding-top: 48px; }
.gift-order .gc { max-width: 420px; margin: 0 auto 8px; }
.gift-order .h1-sm { padding-top: 32px; }
.gift-order p { font: 15px/1.6 var(--sans); }
.gift-order .btn { margin-top: 16px; }

/* Page du cadeau : la carte se retourne */
.gift-reveal { max-width: 520px; margin: 0 auto; text-align: center; padding-top: 56px; }
.gr-from { margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.gr-title { margin: 10px 0 30px; font-size: 26px; line-height: 1.25; font-weight: 700; }
.gr-flip { display: block; width: 100%; max-width: 440px; margin: 0 auto; padding: 0; border: 0; background: none; cursor: pointer; perspective: 1400px; color: inherit; }
.gr-inner { position: relative; display: block; aspect-ratio: 1.586; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.3,.7,.2,1); }
.gr-flip.is-on .gr-inner { transform: rotateY(180deg); cursor: default; }
.gr-back, .gr-front { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.gr-back { display: grid; place-items: center; border-radius: 3.7% / 5.9%; background: #000; box-shadow: inset 0 0 0 1px rgba(255,255,255,.85), 0 24px 50px rgba(0,0,0,.45); color: #fff; }
.gr-back img { width: 34%; height: auto; }
.gr-front { transform: rotateY(180deg); }
.gr-flip:not(.is-on):hover .gr-inner { transform: rotateY(-8deg) rotateX(4deg); }
.gr-hint { margin-top: 28px; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.gr-hint i { width: 8px; height: 8px; border-radius: 50%; background: var(--fg); animation: gr-pulse 1.4s infinite; }
@keyframes gr-pulse { 50% { opacity: .2; } }
.gr-after { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .5s; }
.gr-after.is-on { opacity: 1; transform: none; }
.gr-msg { margin: 28px 4px 0; font: italic 15px/1.6 var(--sans); white-space: pre-line; color: color-mix(in srgb, var(--fg) 88%, var(--bg)); }
.gr-msg cite { display: block; margin-top: 8px; font: 12px var(--mono); color: var(--muted); }
.gr-msg::before { content: "“"; } .gr-msg cite::before { content: "— "; }
.gr-code { margin: 26px 0 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 16px; border: 1px dashed var(--fg); }
.gr-code code { flex: 1; min-width: 0; text-align: left; white-space: nowrap; font: 700 clamp(13px, 4.1vw, 18px) var(--mono); letter-spacing: .04em; user-select: all; }
.gr-code .btn { flex: none; width: auto; padding: 8px 14px; font-size: 13px; }
.gr-valid { margin: 10px 0 0; font-size: 12px; color: var(--muted); }
.gr-how { margin: 6px 0 0; font: 13px/1.5 var(--sans); color: var(--muted); }
.gr-btns { display: flex; gap: 10px; margin-top: 30px; }
.gr-btns .btn { flex: 1; }
@media (prefers-reduced-motion: reduce) { .gr-inner, .gr-after { transition: none; } .gr-hint i { animation: none; } }

/* Paiement : ligne carte cadeau */
.sum-gift .link { font-size: 12px; margin-left: 4px; }

/* « Save as PDF » : seulement la carte, le message et le code */
@media print {
  body.is-gift > :not(main), body.is-gift .gr-hint, body.is-gift .gr-btns, body.is-gift .gr-code .btn { display: none !important; }
  body.is-gift { background: #fff; color: #000; }
  .gift-reveal { padding-top: 0; }
  .gr-inner { transform: none !important; transition: none; }
  .gr-back { display: none; }
  .gr-front { position: relative; transform: none; }
  .gr-after { opacity: 1 !important; transform: none !important; display: block !important; }
  .gr-code { border-color: #000; }
  .gr-msg, .gr-valid, .gr-how, .gr-from { color: #333; }
}
