/* ==========================================================================
   MANGA STYLES EI — feuille de style principale
   Reprend fidelement les reglages du theme Shopify d'origine
   (schema de couleurs "manga-vibrant", police Inter, boutons arrondis 100px)
   ========================================================================== */

/* ---------- Police Inter (auto-hebergee, variable 100-900) ---------- */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Jetons de design ---------- */
:root {
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --bg: #ffffff;
  --fg: #000000;
  --fg-subdued: rgba(0, 0, 0, .62);
  --border: #dfdfdf;
  --surface: #f5f5f5;

  --logo-red: #ff0000;
  --primary: #ff1744;
  --primary-hover: #ff5252;
  --accent: #ffeb3b;

  --dark-bg: #0a0a0a;
  --dark-fg: #f0f0f0;
  --dark-heading: #ffffff;

  --radius-btn: 100px;
  --radius-card: 4px;
  --radius-sm: 6px;

  --page: 1400px;
  --gutter: 24px;

  --shadow-pop: 0 4px 20px rgba(0, 0, 0, .15);
  --ease: cubic-bezier(0, 0, .2, 1);
  --speed: .18s;

  --header-h: 74px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }

.page-width { max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }

.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 200;
  background: #fff; color: #000; padding: 12px 18px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-pop); transition: top var(--speed);
}
.skip-link:focus { top: 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 16px 24px; border-radius: var(--radius-btn);
  font-size: .95rem; font-weight: 600; line-height: 1;
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease),
              border-color var(--speed) var(--ease), transform var(--speed) var(--ease),
              opacity var(--speed);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--fg); color: #fff; }
.btn--primary:hover { background: var(--primary); }

.btn--accent { background: var(--primary); color: #fff; }
.btn--accent:hover { background: var(--primary-hover); }

.btn--outline { background: transparent; color: var(--fg); border-color: var(--fg); }
.btn--outline:hover { background: var(--fg); color: #fff; }

.btn--on-dark { background: rgba(255, 255, 255, .1); color: #fff; border-color: #fff; backdrop-filter: blur(6px); }
.btn--on-dark:hover { background: #fff; color: #000; }

.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--full { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Barre d'annonce ---------- */
.announcement {
  background: #fff; color: #000;
  border-bottom: 1px solid var(--border);
  padding: 15px 0; text-align: center;
}
.announcement p {
  margin: 0; font-size: 1.5rem; line-height: 1; font-weight: 600;
  letter-spacing: -.01em;
}
@media (max-width: 749px) { .announcement p { font-size: 1.05rem; } }

/* ---------- En-tete ---------- */
.header {
  position: sticky; top: 0; z-index: 90;
  background: #fff; border-bottom: 1px solid var(--border);
}
.header__inner {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h); padding-block: 10px;
}
.header__logo {
  font-size: 1.3rem; font-weight: 800; letter-spacing: -.03em;
  color: var(--logo-red); white-space: nowrap; flex: none;
}
.header__logo:hover { color: var(--primary); }

.header__nav { margin-inline: auto; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav > li { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px; font-size: .875rem; font-weight: 500;
  border-radius: var(--radius-btn); transition: background var(--speed), color var(--speed);
  background: none; border: 0; color: inherit;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: rgba(0, 0, 0, .06); }
.nav__link[aria-current="page"] { font-weight: 700; }
.nav__chev { width: 11px; height: 11px; transition: transform var(--speed); }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

.submenu {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 95;
  min-width: 290px; max-height: 70vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-pop); padding: 8px; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity var(--speed), transform var(--speed), visibility var(--speed);
}
.submenu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: flex; justify-content: space-between; gap: 14px; align-items: center;
  padding: 9px 12px; border-radius: 8px; font-size: .85rem;
  transition: background var(--speed);
}
.submenu a:hover { background: var(--surface); }
.submenu .count { color: var(--fg-subdued); font-size: .75rem; font-variant-numeric: tabular-nums; }

.header__actions { display: flex; align-items: center; gap: 2px; flex: none; }
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 44px; height: 44px; border: 0; background: none; border-radius: 50%;
  color: inherit; transition: background var(--speed);
}
.icon-btn:hover { background: rgba(0, 0, 0, .06); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 5px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px;
  display: none; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; border-radius: 100px;
  font-size: .68rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums;
}
.cart-count.is-visible { display: flex; }

.burger { display: none; }
@media (max-width: 1100px) {
  .header__nav { display: none; }
  .burger { display: inline-flex; }
  .header__logo { margin-inline-end: auto; }
}

/* ---------- Tiroir menu mobile ---------- */
.drawer {
  position: fixed; inset: 0; z-index: 120;
  visibility: hidden; pointer-events: none;
}
.drawer.is-open { visibility: visible; pointer-events: auto; }
.drawer__overlay {
  position: absolute; inset: 0; background: rgba(0, 0, 0, .45);
  opacity: 0; transition: opacity .25s var(--ease);
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; bottom: 0; width: min(420px, 90vw);
  background: #fff; display: flex; flex-direction: column;
  transition: transform .3s var(--ease);
}
.drawer--left .drawer__panel { left: 0; transform: translateX(-100%); }
.drawer--right .drawer__panel { right: 0; transform: translateX(100%); }
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px; border-bottom: 1px solid var(--border); flex: none;
}
.drawer__head h2 { margin: 0; font-size: 1.05rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 14px 16px; }
.drawer__foot { flex: none; border-top: 1px solid var(--border); padding: 18px 20px; }

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list a, .menu-list button {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 12px; border-radius: 10px; font-size: 1rem; text-align: left;
  background: none; border: 0; color: inherit;
}
.menu-list a:hover, .menu-list button:hover { background: var(--surface); }
.menu-list .sub { list-style: none; margin: 0 0 6px; padding: 0 0 0 12px; display: none; }
.menu-list .sub.is-open { display: block; }
.menu-list .sub a { font-size: .9rem; color: var(--fg-subdued); }

/* ---------- Heros ---------- */
.hero { position: relative; background: #000; isolation: isolate; }
.hero__media { position: relative; width: 100%; }
.hero__media img { width: 100%; height: auto; display: block; }
.hero__overlay { position: absolute; inset: 0; background: #12121266; }
.hero__content {
  position: absolute; inset-inline: 0; bottom: 0;
  display: flex; justify-content: center; align-items: flex-end;
  padding: 0 var(--gutter) clamp(18px, 5vw, 56px);
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(42px, 6vw, 72px); }
.section--dark { background: var(--dark-bg); color: var(--dark-fg); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--dark-heading); }
.section--dark a { color: var(--primary-hover); }
.section--tight { padding-block: clamp(28px, 4vw, 44px); }

.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; margin-bottom: 26px; flex-wrap: wrap;
}
.section__head h2 { margin: 0; }
.link-more { font-size: .9rem; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.link-more:hover { color: var(--primary); }

.welcome { text-align: center; max-width: 880px; margin-inline: auto; }
.welcome p { font-size: 1.05rem; }
.welcome p:last-child { margin-bottom: 0; }

/* ---------- Grille produits ---------- */
.grid {
  display: grid; gap: 28px 20px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
@media (max-width: 749px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
}

.card { position: relative; display: flex; flex-direction: column; height: 100%; }
.card__media {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-card); background: var(--surface);
  aspect-ratio: 1 / 1;
}
.card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 6%;
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.card__media img.card__img--alt { opacity: 0; }
.card:hover .card__media img.card__img--main { opacity: 0; }
.card:hover .card__media img.card__img--alt { opacity: 1; }
.card:hover .card__media img { transform: scale(1.04); }

.badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: var(--dark-bg); color: #fff;
  padding: 4px 10px; border-radius: var(--radius-btn);
  font-size: .72rem; font-weight: 600; letter-spacing: .01em;
}
.badge--sale { background: var(--primary); left: auto; right: 10px; }

.card__quick {
  position: absolute; inset-inline: 10px; bottom: 10px; z-index: 2;
  opacity: 0; transform: translateY(6px);
  transition: opacity var(--speed), transform var(--speed);
}
.card:hover .card__quick, .card:focus-within .card__quick { opacity: 1; transform: translateY(0); }
@media (hover: none) { .card__quick { opacity: 1; transform: none; } }
.card__quick .btn { background: #fff; color: #000; border-color: var(--border); box-shadow: var(--shadow-pop); }
.card__quick .btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

.card__body { padding-top: 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.card__title {
  font-size: .9rem; font-weight: 500; line-height: 1.35; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card__title a:hover { color: var(--primary); }
.card__price { margin-top: auto; padding-top: 4px; font-size: .95rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.card__price .was { font-weight: 400; color: var(--fg-subdued); text-decoration: line-through; margin-inline-start: 7px; font-size: .85em; }
.card__oos { color: var(--fg-subdued); font-weight: 500; }

/* ---------- Barre d'outils catalogue ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  padding-bottom: 20px; margin-bottom: 26px; border-bottom: 1px solid var(--border);
}
.toolbar__count { font-size: .9rem; color: var(--fg-subdued); margin-inline-end: auto; }
.field {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); border-radius: var(--radius-btn);
  padding: 9px 16px; background: #fff;
}
.field:focus-within { border-color: var(--fg); }
.field svg { width: 17px; height: 17px; flex: none; color: var(--fg-subdued); }
.field input, .field select {
  border: 0; background: none; font: inherit; font-size: .88rem; color: inherit;
  outline: none; min-width: 0;
}
.field input { width: 210px; }
.field select { cursor: pointer; padding-inline-end: 4px; }
@media (max-width: 749px) {
  .toolbar { gap: 8px; }
  .toolbar__count { width: 100%; margin: 0; }
  .field input { width: 100%; }
  .field { flex: 1; }
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip {
  padding: 8px 16px; border: 1px solid var(--border); border-radius: var(--radius-btn);
  background: #fff; font-size: .82rem; font-weight: 500; white-space: nowrap;
  transition: all var(--speed);
}
.chip:hover { border-color: var(--fg); }
.chip.is-active { background: var(--fg); color: #fff; border-color: var(--fg); }

/* ---------- Fil d'Ariane ---------- */
.crumbs { font-size: .82rem; color: var(--fg-subdued); padding-block: 18px 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 0; padding: 0; }
.crumbs li::after { content: '/'; margin-inline-start: 7px; opacity: .5; }
.crumbs li:last-child::after { content: ''; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; }

/* ---------- Fiche produit ---------- */
.product { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; padding-block: 28px clamp(42px, 6vw, 72px); }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: start; } }

.gallery { display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--header-h) + 18px); }
@media (max-width: 899px) { .gallery { position: static; } }
.gallery__main {
  position: relative; border-radius: var(--radius-card); overflow: hidden;
  background: var(--surface); aspect-ratio: 1 / 1;
}
.gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; }
.gallery__thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery__thumb {
  width: 76px; height: 76px; padding: 4px; border: 2px solid transparent;
  border-radius: var(--radius-card); background: var(--surface); overflow: hidden;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery__thumb.is-active { border-color: var(--fg); }

.product__info h1 { margin-bottom: 14px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.product__vendor { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-subdued); margin-bottom: 10px; }
.product__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.product__price .now { font-size: 1.65rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.product__price .was { font-size: 1.05rem; color: var(--fg-subdued); text-decoration: line-through; }
.product__tax { font-size: .8rem; color: var(--fg-subdued); margin-bottom: 20px; }

.stock { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; margin-bottom: 22px; }
.stock::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.stock--in { color: #0a7d35; }
.stock--out { color: #b00020; }

.buybox { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin-bottom: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-btn); overflow: hidden; flex: none; }
.qty button { width: 46px; height: 52px; border: 0; background: none; font-size: 1.1rem; line-height: 1; color: inherit; }
.qty button:hover { background: var(--surface); }
.qty input {
  width: 48px; height: 52px; border: 0; text-align: center; font: inherit;
  font-weight: 600; background: none; outline: none; -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buybox .btn { flex: 1; min-width: 190px; padding-block: 18px; }

.product__desc { padding-top: 26px; margin-top: 26px; border-top: 1px solid var(--border); }
.product__desc h2 { font-size: 1.05rem; margin-bottom: 12px; }
.rte p:last-child { margin-bottom: 0; }
.rte ul, .rte ol { padding-inline-start: 1.25em; margin: 0 0 1em; }
.rte a { color: var(--primary); text-decoration: underline; }
.rte img { border-radius: var(--radius-card); margin: 1em 0; }
.rte strong { font-weight: 700; }

.specs { list-style: none; margin: 20px 0 0; padding: 0; font-size: .88rem; }
.specs li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); }
.specs dt, .specs .k { color: var(--fg-subdued); min-width: 130px; flex: none; }
.specs .v { font-weight: 500; }

.trust { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin-top: 26px; }
.trust__item { display: flex; gap: 11px; align-items: flex-start; font-size: .84rem; line-height: 1.45; }
.trust__item svg { width: 19px; height: 19px; flex: none; margin-top: 1px; color: var(--primary); }
.trust__item strong { display: block; font-size: .88rem; }

/* ---------- Panier ---------- */
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-line__img {
  width: 84px; height: 84px; flex: none; border-radius: var(--radius-card);
  background: var(--surface); object-fit: contain; padding: 5px;
}
.cart-line__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 7px; }
.cart-line__title { font-size: .92rem; font-weight: 600; line-height: 1.35; }
.cart-line__title:hover { color: var(--primary); }
.cart-line__meta { font-size: .78rem; color: var(--fg-subdued); }
.cart-line__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.cart-line__price { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.qty--sm button { width: 34px; height: 36px; font-size: 1rem; }
.qty--sm input { width: 38px; height: 36px; font-size: .88rem; }
.link-remove { background: none; border: 0; padding: 0; font-size: .78rem; color: var(--fg-subdued); text-decoration: underline; text-underline-offset: 3px; }
.link-remove:hover { color: #b00020; }

.cart-empty { text-align: center; padding: 56px 20px; }
.cart-empty svg { width: 52px; height: 52px; color: var(--border); margin-bottom: 16px; }

.cart-layout { display: grid; gap: 36px; align-items: start; padding-block: 28px clamp(42px, 6vw, 72px); }
@media (min-width: 900px) { .cart-layout { grid-template-columns: minmax(0, 1.6fr) minmax(300px, .9fr); } }

.panel { border: 1px solid var(--border); border-radius: 14px; padding: 22px; background: #fff; }
.panel h2 { font-size: 1.1rem; margin-bottom: 16px; }
.totals { list-style: none; margin: 0 0 18px; padding: 0; font-size: .92rem; }
.totals li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; }
.totals .total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-size: 1.15rem; font-weight: 700; }
.totals .num { font-variant-numeric: tabular-nums; }
.muted { color: var(--fg-subdued); font-size: .82rem; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row.span-2 { grid-column: 1 / -1; }
.form-row label { font-size: .84rem; font-weight: 600; }
.form-row .req { color: var(--primary); }
.form-row input, .form-row textarea, .form-row select {
  font: inherit; font-size: .95rem; padding: 13px 15px; color: inherit;
  border: 1px solid var(--border); border-radius: 10px; background: #fff; width: 100%;
  transition: border-color var(--speed);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row input:focus, .form-row textarea:focus, .form-row select:focus { outline: none; border-color: var(--fg); }
.form-row .hint { font-size: .76rem; color: var(--fg-subdued); }
.form-row input:invalid:not(:placeholder-shown) { border-color: #b00020; }

.notice { padding: 14px 18px; border-radius: 10px; font-size: .9rem; margin-bottom: 18px; }
.notice--ok { background: #e7f6ec; color: #0a5c2a; border: 1px solid #b5e3c5; }
.notice--warn { background: #fff6e0; color: #6b4a00; border: 1px solid #ffdf99; }
.notice--info { background: #eef3ff; color: #1b3a86; border: 1px solid #c6d6ff; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 130%);
  z-index: 200; background: var(--dark-bg); color: #fff;
  padding: 14px 22px; border-radius: var(--radius-btn); font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-pop); transition: transform .32s var(--ease);
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
}
.toast.is-visible { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: #4ade80; flex: none; }

/* ---------- Recherche predictive ---------- */
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li + li { border-top: 1px solid var(--border); }
.search-results a { display: flex; gap: 13px; align-items: center; padding: 11px 6px; border-radius: 8px; }
.search-results a:hover { background: var(--surface); }
.search-results img { width: 54px; height: 54px; flex: none; object-fit: contain; background: var(--surface); border-radius: var(--radius-sm); padding: 4px; }
.search-results .t { font-size: .88rem; font-weight: 500; line-height: 1.3; }
.search-results .p { font-size: .84rem; font-weight: 700; margin-top: 3px; }

/* ---------- Pied de page ---------- */
.footer { border-top: 1px solid var(--border); background: #fff; }
.footer__news { padding-block: clamp(36px, 5vw, 58px); text-align: center; }
.footer__news h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); margin-bottom: 6px; }
.footer__news p { color: var(--fg-subdued); margin-bottom: 22px; }
.newsletter { display: flex; gap: 10px; max-width: 460px; margin-inline: auto; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 190px; font: inherit; font-size: .95rem; padding: 15px 20px;
  border: 1px solid var(--border); border-radius: var(--radius-btn); background: #fff;
}
.newsletter input:focus { outline: none; border-color: var(--fg); }

.footer__utils { border-top: 1px solid var(--border); padding-block: 26px; }
.footer__cols { display: grid; gap: 28px; grid-template-columns: 1fr; margin-bottom: 26px; }
@media (min-width: 750px) { .footer__cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__cols h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--fg-subdued); margin-bottom: 12px; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: .88rem; }
.footer__cols a:hover { color: var(--primary); text-decoration: underline; }
.footer__brand { font-size: 1.15rem; font-weight: 800; color: var(--logo-red); letter-spacing: -.03em; margin-bottom: 10px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  justify-content: space-between; border-top: 1px solid var(--border);
  padding-top: 20px; font-size: .8rem; color: var(--fg-subdued);
}

/* ---------- Divers ---------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--fg-subdued); }
.pill-404 { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; color: var(--primary); letter-spacing: -.04em; }
[hidden] { display: none !important; }
.no-js-hide { display: none; }

@media print {
  .header, .footer, .announcement, .card__quick, .drawer, .toast { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Modes de livraison (paliers au poids) ---------- */
.ship-opts { display: flex; flex-direction: column; gap: 10px; }
.ship-opt {
  display: flex; align-items: center; gap: 12px; width: 100%;
  padding: 14px 18px; border: 1px solid var(--border); border-radius: 10px;
  cursor: pointer; transition: border-color var(--speed), background var(--speed);
}
.ship-opt:hover { border-color: var(--fg); }
.ship-opt:has(input:checked) { border-color: var(--fg); background: var(--surface); }
.ship-opt input { accent-color: var(--primary); width: 18px; height: 18px; flex: none; }
.ship-opt__txt { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ship-opt__txt .muted { font-size: .8rem; }
