/* ==========================================================================
   Boutique — front
   Fond blanc, photos sur gris clair (#F1F1F1), typo D-DIN (proche de la DIN d'Odlo), angles
   arrondis. Pas de framework : variables, grilles CSS et quelques composants.
   ========================================================================== */

/* D-DIN (Datto, licence OFL : fonts/OFL-D-DIN.txt), libre et dessinée d'après la DIN.
   Barlow Condensed ne sert plus qu'au mot « kaneda » du logo. */
@font-face { font-family: 'D-DIN'; src: url('../../fonts/d-din-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'D-DIN'; src: url('../../fonts/d-din-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('../../fonts/barlow-condensed-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }

:root {
    --bg: #FFFFFF;          /* fond du site */
    --bg-soft: #F1F1F1;     /* fond des photos, encadrés */
    --ink: #111111;         /* noir */
    --ink-soft: #333333;
    --muted: #6B6B6B;
    --line: #E2E2E2;
    --danger: #9E2A1F;
    --sale: #D7141A;
    --ok: #2F5D3A;

    --font: 'D-DIN', 'DIN Alternate', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-display: 'D-DIN', 'DIN Alternate', 'Arial', sans-serif;
    --font-logo: 'Barlow Condensed', 'Arial Narrow', sans-serif;

    --header-h: 68px;
    --gutter: clamp(16px, 3vw, 40px);
    --max: 1440px;
    --gutter-wide: clamp(16px, 4.2vw, 80px);
    /* Arrondis : boutons, champs et pastilles, photos et encadrés */
    --radius: 14px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --ease: cubic-bezier(.2, .7, .2, 1);

    --logo-on: var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
/* Pleine largeur, 80 px de marge sur grand écran (barre de navigation, comme Odlo) */
.container--wide { max-width: none; padding: 0 var(--gutter-wide); }
.narrow { max-width: 760px; }

/* ── Boutons, liens ─────────────────────────────────────────────────────── */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 28px;
    background: var(--ink); color: var(--bg);
    border: 1.5px solid var(--ink); border-radius: var(--radius);
    font: 700 15px/1 var(--font-display); letter-spacing: .04em; text-transform: uppercase;
    transition: background .2s, color .2s, opacity .2s;
}
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn--outline { background: transparent; color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--block { display: flex; width: 100%; }
.btn--big { min-height: 56px; font-size: 16px; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 13px; border-radius: 12px; }

.icon-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    background: none; border: 0; color: var(--ink);
    position: relative;
}
.icon-btn:hover { opacity: .65; }

.text-link { text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--ink-soft); }

.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; color: var(--muted); }
.link:hover { color: var(--ink); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 8px;
    font: 700 14px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
    border-bottom: 1.5px solid currentColor; padding-bottom: 4px;
}
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--light { color: var(--bg); }
.link-arrow--button { background: none; border-width: 0 0 1.5px; border-style: solid; border-color: currentColor; color: inherit; cursor: pointer; padding: 0 0 4px; }

.eyebrow { font: 600 13px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }

/* ── Bandeau, logo ─────────────────────────────────────────────────────── */

.announcement {
    background: var(--ink); color: var(--bg);
    text-align: center; padding: 9px var(--gutter);
    font: 600 13px/1.3 var(--font-display); letter-spacing: .1em; text-transform: uppercase;
}

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.logo-mark { flex: none; color: var(--ink); }
.logo-word { font: 800 27px/1 var(--font-logo); letter-spacing: .02em; text-transform: lowercase; transform: translateY(-1px); }
.logo--light { color: var(--bg); --logo-on: var(--ink); }
.logo--light .logo-mark { color: var(--bg); }

/* ── Header ───────────────────────────────────────────────────────────── */

.header {
    position: sticky; top: 0; z-index: 40;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}
.header__bar {
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    height: var(--header-h);
}
.header__logo { justify-self: start; }
.header__burger { display: none; }
.header__tools { justify-self: end; display: flex; align-items: center; gap: 2px; margin-right: -10px; }

.nav__list { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
    display: flex; align-items: center; height: var(--header-h); padding: 0 12px;
    font: 700 16px/1 var(--font); letter-spacing: .01em;
    position: relative;
}
.nav__link::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 2px;
    background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav__item:hover .nav__link::after, .nav__item:focus-within .nav__link::after, .nav__link.is-current::after { transform: scaleX(1); }

.nav__panel {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: var(--bg); border: 1px solid var(--line); border-top: 0;
    padding: 18px 0 14px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s;
    box-shadow: 0 18px 30px -20px rgba(17, 17, 17, .35);
}
.nav__item--has-sub:hover .nav__panel,
.nav__item--has-sub:focus-within .nav__panel {
    opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.nav__sub { list-style: none; margin: 0; padding: 0; }
.nav__sub a {
    display: block; padding: 10px 24px;
    font: 400 16px/1.2 var(--font);
}
.nav__sub a:hover, .nav__sub a.is-current { background: var(--bg-soft); }
.nav__all { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); }
.nav__all a { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.nav__all a:hover { color: var(--ink); }

/* Pastille de nombre (panier, liste de souhaits) */
.tool-count {
    position: absolute; top: 5px; right: 3px;
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: var(--ink); color: var(--bg);
    font: 700 11px/18px var(--font); text-align: center;
}
.is-bumped .tool-count { animation: bump .4s var(--ease); }

/* Compte : icône pleine une fois connecté, petit menu au survol */
.account-btn.is-logged .icon--user { fill: currentColor; }
.account-menu { position: relative; }
.account-menu__panel {
    position: absolute; top: calc(100% + 12px); right: -12px; z-index: 5; min-width: 250px;
    background: var(--bg); border: 1px solid var(--line);
    padding: 18px 0 14px;
    box-shadow: 0 18px 30px -20px rgba(17, 17, 17, .35);
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .18s, transform .18s var(--ease), visibility 0s .18s;
}
.account-menu__panel::before { content: ''; position: absolute; left: 0; right: 0; top: -13px; height: 13px; } /* pont pour la souris */
.account-menu:hover .account-menu__panel,
.account-menu:focus-within .account-menu__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.account-menu__hello { margin: 0 24px 8px; font: 800 20px/1.1 var(--font-display); text-transform: uppercase; }
.account-menu__panel ul { list-style: none; margin: 0; padding: 0; }
.account-menu__panel li a { display: block; padding: 8px 24px; font: 600 16px/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.account-menu__panel li a:hover { background: var(--bg-soft); }
.account-menu__out { margin: 8px 0 0; padding: 12px 24px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.account-menu__out a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Cœur « liste de souhaits » */
.wish { margin: 0; }
.wish__btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    background: none; border: 0; color: var(--ink);
    transition: transform .2s var(--ease);
}
.wish__btn:hover { transform: scale(1.1); }
.wish__btn .icon { transition: fill .15s; }
.wish__btn.is-saved .icon { fill: currentColor; }
.wish__btn.is-popping .icon { animation: bump .4s var(--ease); }
.wish__btn.is-loading { opacity: .5; pointer-events: none; }
@keyframes bump { 40% { transform: scale(1.35); } }

/* Barre de recherche qui se déplie sous le header */
.search-panel { border-top: 1px solid var(--line); background: var(--bg); animation: drop .22s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.search-panel__form { display: flex; align-items: center; gap: 12px; height: 72px; }
.search-panel__form > .icon { flex: none; color: var(--muted); }
.search-panel__form input {
    flex: 1; min-width: 0; height: 48px; border: 0; background: none; outline: none;
    font: 600 22px/1 var(--font-display); letter-spacing: .02em;
}
.search-panel__form input::placeholder { color: #A3A3A3; }

/* ── Menu mobile ──────────────────────────────────────────────────────── */

.mobile-menu {
    position: fixed; inset: 0; z-index: 60;
    background: var(--bg);
    display: flex; flex-direction: column;
    overflow-y: auto;
    animation: slide-in-left .28s var(--ease);
}
@keyframes slide-in-left { from { transform: translateX(-100%); } }
.mobile-menu__head {
    display: flex; align-items: center; justify-content: space-between;
    height: 60px; padding: 0 8px 0 var(--gutter); border-bottom: 1px solid var(--line);
}
.mobile-menu__nav { padding: 8px var(--gutter); }
.mobile-menu__links { list-style: none; margin: 0; padding: 8px var(--gutter) 24px; }
.mobile-menu__links a { display: flex; align-items: center; gap: 12px; padding: 10px 0; font: 600 18px/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.mobile-menu__links .mobile-menu__logout { padding-left: 32px; font-size: 15px; color: var(--muted); }
.mobile-menu__search {
    display: flex; align-items: center; margin: auto var(--gutter) 28px;
    border-bottom: 1.5px solid var(--ink);
}
.mobile-menu__search input { flex: 1; height: 48px; border: 0; background: none; outline: none; font-size: 17px; }

/* Accordéon (menu mobile et fiche produit) */
.accordion { border-bottom: 1px solid var(--line); }
.accordion__title {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 0; list-style: none; cursor: pointer;
    font: 700 22px/1.1 var(--font-display); letter-spacing: 0; text-transform: uppercase;
}
.mobile-menu__nav > .accordion__title { border-bottom: 1px solid var(--line); }
.accordion__title::-webkit-details-marker { display: none; }
.accordion__title .icon { transition: transform .25s var(--ease); flex: none; }
.accordion[open] > .accordion__title .icon { transform: rotate(180deg); }
.accordion__list { list-style: none; margin: -4px 0 0; padding: 0 0 18px; }
.accordion__list a { display: block; padding: 9px 0; font: 600 19px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.accordion__list .accordion__all { color: var(--muted); font-size: 15px; letter-spacing: .08em; }
.accordion__body { padding: 0 0 20px; color: var(--ink-soft); }

/* ── Messages ─────────────────────────────────────────────────────────── */

.flashes { padding-top: 20px; }
.flash { margin: 0 0 10px; padding: 12px 16px; border-left: 3px solid var(--ink); background: var(--bg-soft); font-size: 15px; }
.flash--error { border-color: var(--danger); }
.flash--warning { border-color: #A86B12; }

.toast {
    position: fixed; z-index: 90; left: 50%; bottom: 24px; transform: translateX(-50%);
    max-width: calc(100vw - 32px); padding: 14px 20px;
    background: var(--ink); color: var(--bg); font-weight: 500; font-size: 15px;
    animation: rise .25s var(--ease);
}
.toast--error { background: var(--danger); }
@keyframes rise { from { opacity: 0; transform: translate(-50%, 12px); } }

/* ── Sections, titres ─────────────────────────────────────────────────── */

.section { padding-top: clamp(48px, 7vw, 96px); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section__title, .page-title {
    font: 700 clamp(30px, 4vw, 48px)/1 var(--font-display);
    letter-spacing: 0; text-transform: uppercase;
}
.section > .section__title { margin-bottom: 28px; }
.page-head { padding: clamp(32px, 5vw, 64px) 0 28px; }
.page-title { font-size: clamp(36px, 5.5vw, 64px); }
.page-lead { max-width: 640px; margin: 18px 0 0; font-size: 18px; color: var(--ink-soft); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; font: 600 14px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.breadcrumb a + a::before { content: '/'; margin-right: 8px; color: var(--line); }
.breadcrumb a:hover { color: var(--ink); }

/* ── Accueil ──────────────────────────────────────────────────────────── */

.hero { border-bottom: 1px solid var(--line); }
.hero__grid {
    display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 5vw, 80px);
    padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(32px, 5vw, 64px);
}
.hero__title {
    font: 700 clamp(46px, 7.2vw, 112px)/.92 var(--font-display);
    text-transform: uppercase; letter-spacing: -.005em;
}
.hero__lead { max-width: 460px; margin: 28px 0 32px; font-size: 18px; color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; display: block; background: var(--bg-soft); aspect-ratio: 4 / 5; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hero__media:hover img { transform: scale(1.03); }
.hero__tag {
    position: absolute; left: 16px; bottom: 16px; padding: 8px 12px;
    background: var(--bg); font: 700 14px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
}

/* Par rayon : bandeau noir pleine largeur, façon « Durabilité » d'Odlo. Grandes cartes en
   portrait (trois par rangée), photo pleine carte, titre et noms en blanc. */
.stories { margin-top: clamp(48px, 7vw, 96px); padding: clamp(56px, 7vw, 96px) 0; background: var(--ink); color: #FFFFFF; }
.stories__head { margin-bottom: 40px; }
.stories__head .section__title { margin-bottom: 10px; color: #FFFFFF; }
.stories__lead { margin: 0; font-size: 18px; color: rgba(255, 255, 255, .72); }
.stories__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.story {
    position: relative; display: block; aspect-ratio: 7 / 10; overflow: hidden;
    border-radius: var(--radius-lg); background: #2A2A2A; isolation: isolate;
}
.story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story:hover img { transform: scale(1.04); }
/* Voile en bas : le nom blanc reste lisible, même sur une photo claire. */
.story::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(to top, rgba(17, 17, 17, .62) 0%, rgba(17, 17, 17, .22) 30%, rgba(17, 17, 17, 0) 52%);
}
.story__title {
    position: absolute; left: clamp(20px, 2vw, 28px); right: clamp(20px, 2vw, 28px); bottom: clamp(20px, 2vw, 28px); z-index: 2;
    color: #FFFFFF; font: 700 clamp(26px, 2.3vw, 36px)/1.05 var(--font-display); text-transform: uppercase; letter-spacing: 0;
    text-shadow: 0 1px 12px rgba(0, 0, 0, .25);
}
.story:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }

.manifesto { margin-top: clamp(56px, 8vw, 112px); background: var(--ink); color: var(--bg); --logo-on: var(--ink); }
.manifesto .logo-mark { color: var(--bg); }
.manifesto__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(48px, 7vw, 96px); }
.manifesto__text { max-width: 900px; margin: 0; font: 700 clamp(28px, 3.6vw, 50px)/1.05 var(--font-display); text-transform: uppercase; }

/* ── Diaporama de l'accueil ──────────────────────────────────────────── */

.slider { position: relative; height: clamp(460px, 74vh, 780px); overflow: hidden; background: var(--ink); color: #FFF; }
.slide {
    position: absolute; inset: 0;
    opacity: 0; visibility: hidden;
    transition: opacity .7s ease, visibility 0s .7s;
}
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.slide__media, .slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.slide__media img { object-fit: cover; transform: scale(1.04); transition: transform 6.5s linear; }
.slide.is-active .slide__media img { transform: none; }
/* Voile en bas à gauche : le texte reste lisible sur toutes les photos */
.slide::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15) 45%, transparent 70%),
                linear-gradient(to right, rgba(0, 0, 0, .25), transparent 55%);
}
.slide__content { position: absolute; left: 0; right: 0; bottom: 92px; z-index: 2; max-width: none; }
.slide__title { max-width: 760px; font: 700 clamp(32px, 3.6vw, 52px)/1.05 var(--font-display); text-wrap: balance; }
.slide__text { max-width: 560px; margin: 12px 0 0; font-size: 17px; line-height: 1.45; opacity: .92; }
.slide__link { display: inline-block; margin-top: 10px; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.slide__link:hover { opacity: .8; }
.slide__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn--light { background: #FFF; color: var(--ink); border-color: #FFF; }
.btn--light:hover { background: rgba(255, 255, 255, .85); border-color: rgba(255, 255, 255, .85); }
.btn--ghost-light { background: transparent; color: #FFF; border-color: rgba(255, 255, 255, .85); }
.btn--ghost-light:hover { background: #FFF; color: var(--ink); border-color: #FFF; }

.slider__bar { position: absolute; left: 0; right: 0; bottom: 28px; z-index: 3; display: flex; align-items: center; justify-content: center; max-width: none; }
.slider__progress { display: flex; gap: 6px; width: min(300px, 40vw); }
.slider__step { flex: 1; height: 18px; padding: 8px 0; border: 0; background: none; cursor: pointer; }
.slider__step::before { content: ''; display: block; height: 2px; background: rgba(255, 255, 255, .35); border-radius: 1px; }
.slider__fill { display: block; height: 2px; margin-top: -2px; width: 0; background: #FFF; border-radius: 1px; }
.slider__step.is-active .slider__fill { animation: slider-fill var(--slide-duration, 6s) linear forwards; }
.slider.is-paused .slider__step.is-active .slider__fill { animation-play-state: paused; }
@keyframes slider-fill { from { width: 0; } to { width: 100%; } }
.slider__buttons { position: absolute; right: var(--gutter-wide); display: flex; gap: 4px; }
.slider__btn { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: none; color: #FFF; }
.slider__btn:hover { background: rgba(255, 255, 255, .15); }
.slider__btn .icon { stroke-width: 1.8; }
.slider__play { display: none; }
.slider.is-paused .slider__play { display: block; }
.slider.is-paused .slider__pause { display: none; }

/* ── Grille produits, vignette ────────────────────────────────────────── */

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; }
/* Accueil, pleine largeur : même écart que les cartes « Par rayon ». */
.grid--wide { column-gap: 32px; }

/* Carte façon Odlo : photo sur un bloc gris clair arrondi, puis pastilles, nom et prix sur le blanc */
.card { position: relative; display: flex; flex-direction: column; }
.card__visual { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-soft); }
.card__body { padding: 12px 0 0; }

/* Ajout rapide : bouton sac en bas à droite de la photo, puis barre des tailles */
.quick__open {
    position: absolute; right: 12px; bottom: 12px; z-index: 2;
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    background: #FFF; color: var(--ink); box-shadow: 0 2px 8px rgba(17, 17, 17, .12);
    transition: background .2s, color .2s, transform .2s var(--ease);
}
.quick__open:hover, .quick__open:focus-visible { background: var(--ink); color: #FFF; }
.quick__open.is-loading { opacity: .6; pointer-events: none; }
/* Le bouton n'apparaît qu'au survol de la carte (toujours visible sur écran tactile) */
@media (hover: hover) {
    .quick__open { opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), background .2s, color .2s; }
    /* Visible au clavier (focus-visible), pas après un clic de souris */
    .quick__open:focus-visible, .card.is-direct:hover .quick__open { opacity: 1; transform: none; }
}
/* Souris : les tailles arrivent au survol de la carte, le bouton sac ne sert
   plus qu'aux produits sans choix (tote bag) et au clavier. */
@media (hover: none), (pointer: coarse) {
    .quick__open { opacity: 1; }
}
.card.is-quick .quick__open { opacity: 0; pointer-events: none; }
.quick {
    position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 3;
    display: flex; align-items: center; gap: 6px; padding: 8px;
    border-radius: 12px; background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(17, 17, 17, .12);
    animation: quick-in .3s var(--ease);
}
@keyframes quick-in { from { transform: translateX(105%); } }
.quick__sizes { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; gap: 5px; }
.quick__size {
    flex: 1 0 auto; min-width: 38px; height: 36px; padding: 0 6px; border: 0; border-radius: var(--radius-sm);
    background: var(--bg-soft); color: var(--ink); font: 700 14px/1 var(--font);
    transition: background .15s, color .15s;
}
.quick__size:hover:not(:disabled), .quick__size:focus-visible { background: var(--ink); color: #FFF; }
.quick__size:disabled { cursor: not-allowed; color: #A3A3A3; text-decoration: line-through; background: transparent; }
.quick__size.is-loading { opacity: .6; pointer-events: none; }
/* Étapes avant la taille (coupe, couleur) quand la vignette ne les connaît pas */
.quick__label { flex-basis: 100%; font: 700 12px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); padding: 2px 2px 0; }
.quick__color::before { content: ''; display: block; width: 24px; height: 14px; margin: auto; border-radius: 7px; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .2); }
.quick__color:hover:not(:disabled), .quick__color:focus-visible { background: var(--bg-soft); box-shadow: inset 0 0 0 1.5px var(--ink); }
.quick__color:disabled::before { opacity: .35; }
.quick__close { flex: none; display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); }
.quick__close:hover { background: rgba(17, 17, 17, .08); }
.wishlist__item .quick__open { display: none; } /* la liste a déjà son formulaire */
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; background: var(--bg-soft); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .7s var(--ease); }
.card__alt { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__media--swap .card__alt { opacity: 1; }
.card:hover .card__media img { transform: scale(1.025); }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line); --logo-on: var(--bg-soft); }
.card__title { font: 400 19px/1.3 var(--font); margin: 10px 0 12px; }
.card .price { font-size: 18px; }
.card .price__now { font-weight: 700; }
.card__title a::after { content: ''; position: absolute; inset: 0; } /* toute la carte est cliquable */
.card__wish { position: absolute; top: 8px; right: 8px; z-index: 2; }
/* Cœur seul sur le gris, comme chez Odlo */
.card__wish .wish__btn .icon { width: 26px; height: 26px; }
.card__colors { position: relative; z-index: 1; display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 0 0 -2px; padding: 0; }
.card__colors li { display: flex; }
/* Pastilles cliquables : survol = aperçu de la couleur, clic = on la garde */
.card__colors .dot { display: block; width: 26px; height: 14px; border-radius: 7px; margin: 5px; cursor: pointer; transition: transform .15s; }
.card__colors .dot:hover { transform: scale(1.12); }
/* Couleur de la photo affichée : entourée, comme chez Odlo */
.card__colors .dot.is-shown { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.card__more { font-size: 13px; color: var(--muted); }
.dot { width: 14px; height: 14px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .18); }

.badge {
    position: absolute; top: 12px; left: 12px; padding: 6px 9px;
    background: var(--bg); color: var(--ink);
    font: 700 12px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase;
}
/* Promotion : pastille blanche « −20 % », comme chez Odlo. */
.badge--sale { background: var(--bg); color: var(--ink); padding: 6px 10px; font: 500 14px/1 var(--font); letter-spacing: 0; text-transform: none; }
.badge--inline { position: static; align-self: center; background: var(--bg-soft); }

.price { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; font-size: 15px; }
.price__from { color: var(--muted); }
.price__now { font-weight: 500; }
.price__now--sale { font-weight: 700; color: var(--sale); }
.price__was { color: var(--muted); font-size: .92em; }

/* ── Liste : pastilles, tri ───────────────────────────────────────────── */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip {
    display: inline-flex; align-items: center; height: 38px; padding: 0 16px;
    border: 1.5px solid var(--line); border-radius: 19px;
    font: 700 14px/1 var(--font-display); letter-spacing: .08em; text-transform: uppercase;
    transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; margin-bottom: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.toolbar__count { color: var(--muted); font-size: 15px; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.sort label { color: var(--muted); }
.sort select, .qty {
    appearance: none; -webkit-appearance: none;
    height: 38px; padding: 0 34px 0 12px; border: 1.5px solid var(--line); border-radius: 0;
    background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
    font-weight: 500; cursor: pointer;
}
.sort select:hover, .qty:hover { border-color: var(--ink); }

/* ── Filtres (volet « Filtrer par ») ──────────────────────────────── */

.toolbar--filters { display: grid; grid-template-columns: 1fr auto 1fr; }
.toolbar--filters .toolbar__count { grid-column: 2; text-align: center; }
.toolbar--filters .sort { grid-column: 3; justify-self: end; }
.filter-open { grid-column: 1; justify-self: start; gap: 8px; min-height: 42px; }
.filter-open__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: var(--bg); font: 700 11px/1 var(--font); letter-spacing: 0; }
.filter-open:hover .filter-open__count { background: var(--bg); color: var(--ink); }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -8px 0 24px; }
.active-filter {
    display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
    border: 1.5px solid var(--ink); border-radius: 19px;
    font: 700 14px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase;
    transition: background .15s, color .15s;
}
.active-filter:hover { background: var(--ink); color: var(--bg); }
.active-filter .dot { width: 12px; height: 12px; }
.active-filters__clear { margin-left: 6px; font: 700 14px/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase; text-decoration: underline; text-underline-offset: 4px; }
.results.is-loading { opacity: .45; transition: opacity .15s; pointer-events: none; }

.filters { position: fixed; inset: 0; z-index: 75; display: none; }
.filters.is-open, .filters:target { display: block; }
.filters__backdrop { position: absolute; inset: 0; background: rgba(17, 17, 17, .42); animation: fade .25s; }
.filters__panel {
    position: absolute; top: 0; bottom: 0; left: 0; width: min(480px, 100vw);
    display: flex; flex-direction: column; margin: 0;
    background: var(--bg); box-shadow: 18px 0 40px -20px rgba(17, 17, 17, .35);
    animation: slide-in-left .28s var(--ease);
}
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 28px 28px 16px 40px; flex: none; }
.filters__title { font: 700 30px/1 var(--font-display); text-transform: uppercase; }
.filters__body { flex: 1; min-height: 0; overflow-y: auto; padding: 0 40px 24px; overscroll-behavior: contain; }
.filters__group { border-bottom: 1px solid var(--line); }
.filters__group-title {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 20px 0; list-style: none; cursor: pointer;
    font: 800 19px/1.1 var(--font-display); letter-spacing: .03em; text-transform: uppercase;
}
.filters__group-title::-webkit-details-marker { display: none; }
.filters__group-title .icon { flex: none; transition: transform .25s var(--ease); }
.filters__group[open] > .filters__group-title .icon { transform: rotate(180deg); }
.filters__values { border: 0; margin: 0; padding: 0 0 22px; min-width: 0; }
.filters__values--check { display: grid; gap: 4px; }
.filters__values--size { display: flex; flex-wrap: wrap; gap: 8px; }
.filters__values--color { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 12px 6px; }
.filters__values input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.filter-check { position: relative; display: flex; align-items: center; gap: 14px; padding: 8px 0; cursor: pointer; font: 600 15px/1.2 var(--font-display); letter-spacing: .05em; text-transform: uppercase; }
.filter-check::before {
    content: ''; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--line); background: #FFFFFF;
    transition: border-color .15s, background .15s;
}
.filter-check:hover::before { border-color: var(--ink); }
.filter-check:has(input:checked)::before {
    border-color: var(--ink); background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") no-repeat center;
}
.filter-check:has(input:focus-visible)::before { outline: 2px solid var(--ink); outline-offset: 2px; }

.filter-pill {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    min-width: 52px; height: 40px; padding: 0 12px; border: 1.5px solid var(--line); background: var(--bg);
    font-weight: 600; font-size: 15px; cursor: pointer; transition: border-color .15s, background .15s, color .15s;
}
.filter-pill:hover { border-color: var(--ink); }
.filter-pill:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filter-pill:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

.filter-color { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; text-align: center; }
.filter-color__dot { width: 40px; height: 26px; border-radius: 13px; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .2); outline: 1.5px solid transparent; outline-offset: 3px; transition: outline-color .15s; }
.filter-color:hover .filter-color__dot { outline-color: var(--line); }
.filter-color:has(input:checked) .filter-color__dot { outline-color: var(--ink); }
.filter-color:has(input:focus-visible) .filter-color__dot { outline: 2px solid var(--ink); }
.filter-color__name { font-size: 12px; line-height: 1.2; color: var(--ink-soft); }
.filter-color:has(input:checked) .filter-color__name { color: var(--ink); font-weight: 600; }

.filters__foot { flex: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px 40px 24px; border-top: 1px solid var(--line); background: var(--bg); }
.filters__foot .btn { padding: 0 12px; }

.empty { padding: 48px 0 24px; }
.empty p { font-size: 18px; color: var(--ink-soft); margin-bottom: 20px; }

.search-big { display: flex; gap: 12px; max-width: 720px; margin-top: 24px; }
.search-big input { flex: 1; min-width: 0; height: 56px; padding: 0 16px; border: 1.5px solid var(--ink); background: var(--bg); font-size: 18px; border-radius: 0; }

/* ── Fiche produit ───────────────────────────────────────────────────── */

.product {
    display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(24px, 4vw, 64px);
    padding-top: 20px;
}
.product__breadcrumb { grid-column: 1 / -1; }
.product__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: start; }
.product__photo { margin: 0; background: var(--bg-soft); aspect-ratio: 4 / 5; overflow: hidden; }
.product__photo:first-child { grid-column: 1 / -1; }
.product__photo img { width: 100%; height: 100%; object-fit: cover; }
.product__photo--empty { display: grid; place-items: center; color: var(--line); --logo-on: var(--bg-soft); }
.product__gallery.is-switching .product__photo img { opacity: .4; transition: opacity .15s; }

.product__sticky { position: sticky; top: calc(var(--header-h) + 24px); padding-bottom: 24px; }
.product__title { font: 700 clamp(30px, 3.2vw, 44px)/1.02 var(--font-display); text-transform: uppercase; margin-bottom: 14px; }
.product__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; font-size: 20px; }
.product__short { color: var(--ink-soft); margin-bottom: 24px; }

.option { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.option__legend { padding: 0; margin-bottom: 12px; font: 700 15px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.option__current { font-weight: 600; color: var(--muted); letter-spacing: .04em; }
.option.is-missing .option__legend { color: var(--danger); }
.option__values { display: flex; flex-wrap: wrap; gap: 8px; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }

.pill {
    position: relative; display: inline-flex; align-items: center; justify-content: center;
    min-width: 54px; height: 46px; padding: 0 14px;
    border: 1.5px solid var(--line); background: var(--bg);
    font-weight: 600; font-size: 15px; cursor: pointer; user-select: none;
    transition: border-color .15s, background .15s, color .15s;
}
.pill:hover { border-color: var(--ink); }
.pill:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.pill:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.pill.is-unavailable { color: #A3A3A3; background: linear-gradient(to top left, transparent calc(50% - .75px), var(--line) 50%, transparent calc(50% + .75px)); }
.pill.is-unavailable:has(input:checked) { background-color: var(--ink-soft); color: #B5B5B5; }

.swatch { position: relative; display: inline-flex; padding: 3px; border: 1.5px solid transparent; border-radius: 50%; cursor: pointer; }
.swatch__dot { display: block; width: 32px; height: 32px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(17, 17, 17, .2); }
.swatch:hover { border-color: var(--line); }
.swatch:has(input:checked) { border-color: var(--ink); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.swatch.is-unavailable .swatch__dot { opacity: .35; }
.swatch.is-unavailable::after { content: ''; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1.5px; background: var(--ink); transform: rotate(45deg); }

.buy { margin-bottom: 28px; }
.buy__stock { margin: -6px 0 14px; font-size: 14px; font-weight: 600; color: #8A5A10; }
.buy__error { margin: -6px 0 14px; font-size: 14px; font-weight: 600; color: var(--danger); }
.buy .btn.is-loading { opacity: .7; pointer-events: none; }
.buy__row { display: flex; gap: 8px; }
.buy__row .btn { flex: 1; }
.buy__row .wish__btn { flex: none; width: 56px; height: 56px; border: 1.5px solid var(--line); }
.buy__row .wish__btn:hover { transform: none; border-color: var(--ink); }

.product__details { border-top: 1px solid var(--line); }
.product__details .accordion__title { font-size: 19px; padding: 16px 0; }
.prose { font-size: 16px; line-height: 1.65; color: var(--ink-soft); }
.prose p:last-child { margin-bottom: 0; }

/* ── Tiroir panier ─────────────────────────────────────────────────── */

.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(17, 17, 17, .42); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }

.drawer {
    position: fixed; z-index: 80; top: 0; right: 0; bottom: 0;
    width: min(460px, 100vw);
    display: flex; flex-direction: column;
    background: var(--bg);
    transform: translateX(100%); visibility: hidden;
    transition: transform .32s var(--ease), visibility 0s .32s;
}
.drawer.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 12px 0 24px; border-bottom: 1px solid var(--line); flex: none; }
.drawer__title { font: 700 26px/1 var(--font-display); text-transform: uppercase; }
.drawer__content { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.drawer__content > .flash { margin: 16px 24px 0; }
.drawer__loading { padding: 24px; color: var(--muted); }
.drawer__lines { flex: 1; overflow-y: auto; padding: 0 24px; }
.drawer__foot { flex: none; padding: 20px 24px 24px; border-top: 1px solid var(--line); }
.drawer__note { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.drawer__link { display: block; margin-top: 10px; text-align: center; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.drawer__empty { padding: 32px 24px; }
.drawer__empty p { font-size: 18px; margin-bottom: 20px; }
.drawer.is-busy .drawer__content { opacity: .55; pointer-events: none; transition: opacity .15s; }

.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-line:last-child { border-bottom: 0; }
.cart-line__media { display: block; aspect-ratio: 4 / 5; background: var(--bg-soft); }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__top { display: flex; justify-content: space-between; gap: 12px; }
.cart-line__name { font: 700 18px/1.15 var(--font-display); letter-spacing: .03em; text-transform: uppercase; }
.cart-line__total { font-weight: 600; white-space: nowrap; }
.cart-line__variant { display: flex; flex-direction: column; margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.cart-line__unit { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.cart-line__actions { display: flex; align-items: center; gap: 18px; margin-top: 12px; }
.cart-line__actions form { margin: 0; }

/* ── Page panier ─────────────────────────────────────────────────────── */

.cart-page__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.cart-page .cart-line { grid-template-columns: 120px 1fr; }
.cart-page .cart-lines { border-top: 1px solid var(--line); }
.summary { position: sticky; top: calc(var(--header-h) + 24px); padding: 28px; background: var(--bg-soft); }
.summary__title { font: 800 26px/1 var(--font-display); text-transform: uppercase; margin-bottom: 20px; }
.summary__rows { margin: 0 0 24px; }
.summary__rows > div { display: flex; justify-content: space-between; padding: 8px 0; }
.summary__rows dt { color: var(--ink-soft); }
.summary__rows dd { margin: 0; font-weight: 500; }
.summary__total { margin-top: 8px; padding-top: 16px !important; border-top: 1px solid var(--line); font-size: 18px; }
.summary__total dt, .summary__total dd { font-weight: 700; color: var(--ink); }
.summary__continue { display: block; margin-top: 14px; text-align: center; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.brand .logo-mark { margin-bottom: 24px; }
.brand .prose { font-size: 18px; margin-bottom: 32px; }

/* ── Liste de souhaits ───────────────────────────────────────────────── */

.wishlist__count { font-size: .7em; vertical-align: .08em; }
.wishlist__item { display: flex; flex-direction: column; transition: opacity .25s; }
.wishlist__item.is-leaving { opacity: 0; }
/* Choix de la couleur et de la taille sous chaque vignette */
.wishlist__item .card__colors { display: none; }
.buy--compact { margin: 16px 0 0; }
.buy--compact .option { margin-bottom: 12px; }
.buy--compact .option__legend { margin-bottom: 8px; font-size: 13px; }
.buy--compact .option__values { gap: 6px; }
.buy--compact .swatch { padding: 2px; }
.buy--compact .swatch__dot { width: 24px; height: 24px; }
.buy--compact .pill { min-width: 40px; height: 36px; padding: 0 10px; font-size: 14px; }
.buy--compact .buy__stock, .buy--compact .buy__error { margin: 0 0 10px; font-size: 13px; }
.buy--compact .btn { min-height: 44px; padding: 0 12px; font-size: 14px; }
.empty .icon--heart { display: inline; vertical-align: -3px; }

/* ── Compte client ───────────────────────────────────────────────────── */

.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-top: clamp(32px, 5vw, 64px); }
.auth--single { display: block; }
.auth__title { font-size: clamp(34px, 4vw, 52px); margin-bottom: 18px; }
.auth__lead { margin-bottom: 24px; color: var(--ink-soft); }
.auth__form { display: grid; gap: 16px; }
.auth__form > .flash { margin: 0; }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.auth__back { justify-self: center; font-size: 14px; }
.auth__panel--soft { background: var(--bg-soft); padding: clamp(24px, 3vw, 40px); margin-top: 12px; }
.auth__subtitle { font: 800 28px/1 var(--font-display); text-transform: uppercase; margin-bottom: 20px; }
.auth__perks { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.auth__perks li { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); }
.auth__perks .icon { flex: none; color: var(--ink); }
.field__hint { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.step__account { margin: -8px 0 18px; font-size: 15px; color: var(--ink-soft); }
.done-account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 32px; padding: 20px 24px; border: 1.5px solid var(--ink); }
.done-account p { margin: 0; max-width: 460px; }

.verify-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; padding: 18px 24px; border-left: 3px solid var(--ink); background: var(--bg-soft); }
.verify-banner p { margin: 0; max-width: 760px; }
.verify-banner form { margin: 0; }
.account__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(24px, 4vw, 64px); align-items: start; }
.account__title { font: 800 26px/1 var(--font-display); text-transform: uppercase; margin-bottom: 18px; }
.account__empty { padding: 24px; background: var(--bg-soft); margin-bottom: 16px; }
.account__empty p { font-size: 17px; }
.account__card { padding: 24px; background: var(--bg-soft); }
.account__card p { margin-bottom: 8px; }
.account__since { font-size: 14px; color: var(--muted); }
.account__links { display: grid; margin-top: 8px; }
.account__links a { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 600 17px/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.account__links a:hover { color: var(--ink-soft); }
.account__blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 24px; }
.account__help { color: var(--ink-soft); }

.orders { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line); }
.orders__row {
    display: grid; grid-template-columns: 1.3fr 1fr 1.3fr .9fr .9fr auto; align-items: center; gap: 12px;
    padding: 18px 4px; border-bottom: 1px solid var(--line); transition: background .15s;
}
.orders__row:hover { background: var(--bg-soft); }
.orders__ref { font: 700 18px/1 var(--font-display); letter-spacing: .04em; }
.orders__date, .orders__count { color: var(--muted); font-size: 15px; }
.orders__total { font-weight: 600; text-align: right; }
.orders__status { justify-self: start; padding: 5px 9px; background: var(--bg-soft); font: 700 12px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.orders__row .orders__status { background: var(--bg); border: 1px solid var(--line); }
.orders__status--shipped, .orders__status--delivered, .orders__status--ready_for_pickup, .orders__status--collected { background: var(--ink) !important; color: var(--bg); border-color: var(--ink) !important; }
.orders__status--cancelled, .orders__status--returned { color: var(--muted); }

/* ── Réassurance, pied de page ───────────────────────────────────────── */

.reassurance { margin-top: clamp(56px, 8vw, 112px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-home .reassurance { margin-top: 0; border-top: 0; }
.reassurance__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.reassurance__item { display: flex; align-items: center; gap: 14px; padding: 26px 0; font-size: 14px; color: var(--muted); }
.reassurance__item + .reassurance__item { padding-left: 24px; border-left: 1px solid var(--line); }
.reassurance__item .icon { flex: none; color: var(--ink); }
.reassurance__item strong { display: block; color: var(--ink); font: 700 16px/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; }

.footer { background: var(--ink); color: #CCCCCC; padding-top: 56px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer__brand p { max-width: 320px; margin-top: 18px; }
.footer__title { margin-bottom: 14px; color: var(--bg); font: 700 15px/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col a { display: inline-block; padding: 5px 0; }
.footer__col a:hover { color: var(--bg); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid #2A2A2A; font-size: 13px; color: #8F8F8F; }

/* ── Responsive ──────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .nav__link { padding: 0 10px; font-size: 15px; }
    .nav__link::after { left: 10px; right: 10px; }
}

@media (max-width: 900px) {
    :root { --header-h: 58px; }
    .header__burger { display: inline-flex; margin-left: -10px; justify-self: start; }
    .header__logo { justify-self: center; grid-column: 2; grid-row: 1; }
    .header__bar > .header__burger { grid-column: 1; grid-row: 1; }
    .header__tools { grid-column: 3; grid-row: 1; }
    .account-menu__panel { display: none; }
    .nav { display: none; }
    .logo-word { font-size: 24px; }
    .logo-mark { width: 30px; height: 30px; }

    .slider { height: min(78vh, 640px); }
    .slide__content { bottom: 84px; }
    .slide__text { font-size: 15px; }
    .slider__bar { justify-content: flex-start; }
    .slider__progress { width: 46vw; }
    .slider__buttons { right: 8px; }
    .slider__btn[data-slider-prev], .slider__btn[data-slider-next] { display: none; }
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { order: -1; aspect-ratio: 5 / 4; }
    .hero__lead { margin: 20px 0 24px; }

    .grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
    .card__visual { border-radius: 12px; }
    /* Téléphone : les cartes défilent à l'horizontale, comme chez Odlo. */
    .stories__grid {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px;
        overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
        margin: 0 calc(var(--gutter-wide) * -1); padding: 0 var(--gutter-wide);
        scroll-padding-inline: var(--gutter-wide);
    }
    .stories__grid::-webkit-scrollbar { display: none; }
    .story { scroll-snap-align: start; }

    .product { grid-template-columns: 1fr; }
    .product__gallery {
        display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px;
        margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
        scrollbar-width: none;
    }
    .product__gallery::-webkit-scrollbar { display: none; }
    .product__photo { flex: 0 0 86%; scroll-snap-align: center; }
    .product__photo:only-child { flex-basis: 100%; }
    .product__sticky { position: static; padding-top: 24px; }

    .cart-page__grid { grid-template-columns: 1fr; gap: 24px; }
    .filters__panel { width: 100vw; box-shadow: none; }
    .filters__head { padding: 18px 12px 8px var(--gutter); }
    .filters__title { font-size: 28px; }
    .filters__body { padding: 0 var(--gutter) 24px; }
    .filters__foot { padding: 14px var(--gutter) 18px; }
    .auth, .account__grid { grid-template-columns: 1fr; }
    .auth__panel--soft { margin-top: 0; }
    .summary { position: static; }

    .reassurance__grid { grid-template-columns: 1fr; }
    .reassurance__item { padding: 16px 0; }
    .reassurance__item + .reassurance__item { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
    /* Le compte passe dans le menu ; restent le cœur et le panier (la recherche a sa ligne) */
    .header__tools .account-btn { display: none; }
    .orders__row { grid-template-columns: 1fr auto; grid-template-areas: "ref total" "date status"; row-gap: 8px; }
    .orders__ref { grid-area: ref; }
    .orders__total { grid-area: total; }
    .orders__date { grid-area: date; }
    .orders__row .orders__status { grid-area: status; justify-self: end; }
    .orders__count, .orders__row > .icon { display: none; }
    .account__blocks { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .search-panel__form .btn { display: none; }
    .search-panel__form input { font-size: 19px; }
    .card__title { font-size: 16px; margin: 8px 0; }
    .card .price { font-size: 16px; }
    .card__wish { top: 2px; right: 2px; }
    .quick__open { right: 8px; bottom: 8px; width: 40px; height: 40px; border-radius: 10px; }
    .quick { left: 4px; right: 4px; bottom: 4px; gap: 2px; padding: 6px; }
    .quick__sizes { gap: 4px; }
    .quick__size { min-width: 32px; height: 32px; padding: 0 5px; font-size: 13px; }
    .card__wish .wish__btn .icon { width: 22px; height: 22px; }
    .price { font-size: 14px; }
    .toolbar { flex-wrap: wrap; }
    .toolbar--filters { grid-template-columns: auto 1fr; row-gap: 12px; }
    .toolbar--filters .toolbar__count { grid-column: 2; grid-row: 1; text-align: right; }
    .toolbar--filters .sort { grid-column: 1 / -1; justify-self: stretch; }
    .toolbar--filters .sort select { flex: 1; }
    .search-big { flex-direction: column; }
    .cart-line { grid-template-columns: 84px 1fr; gap: 14px; }
    .cart-page .cart-line { grid-template-columns: 96px 1fr; }
    .hero__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    /* Diaporama : pas de défilement automatique (les boutons restent) */
    .slider__step.is-active .slider__fill { animation: none !important; width: 100%; }
}

/* ==========================================================================
   Commande
   ========================================================================== */

.checkout-header { border-bottom: 1px solid var(--line); background: var(--bg); }
.checkout-header__bar { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.checkout-header__secure { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 600 14px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; }
.checkout-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 32px; padding-bottom: 32px; margin-top: 64px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.checkout-footer a:hover { color: var(--ink); }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 56px; align-items: start; padding-top: 36px; }
.checkout__form .flash { margin-bottom: 20px; }

.step { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.step__title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font: 800 28px/1 var(--font-display); text-transform: uppercase; }
.step__title span { display: inline-grid; place-items: center; width: 30px; height: 30px; background: var(--ink); color: var(--bg); font-size: 16px; }
.step__hint { margin: 12px 0 0; font-size: 14px; color: var(--muted); }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.field--wide { grid-column: 1 / -1; }
.field__label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.field__req { color: var(--muted); }
.field__input {
    width: 100%; height: 50px; padding: 0 14px;
    border: 1.5px solid var(--line); border-radius: 0; background: #FFFFFF;
    font-size: 16px; transition: border-color .15s;
}
textarea.field__input { height: auto; padding: 12px 14px; resize: vertical; }
.field__input:hover { border-color: #BDBDBD; }
.field__input:focus { outline: none; border-color: var(--ink); }
.field.is-invalid .field__input { border-color: var(--danger); }
.field__error { margin: 6px 0 0; font-size: 14px; font-weight: 500; color: var(--danger); }

.methods { display: flex; flex-direction: column; gap: 10px; }
.method {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
    padding: 16px 18px; border: 1.5px solid var(--line); background: #FFFFFF; cursor: pointer;
    transition: border-color .15s;
}
.method:hover { border-color: #BDBDBD; }
.method:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.method input, .relay-card input, .check input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.method__name { display: block; font: 700 18px/1.2 var(--font-display); letter-spacing: .03em; text-transform: uppercase; }
.method__delay { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.method__price { font-weight: 600; white-space: nowrap; }

.relay { padding: 16px 0 6px; }
.relay__search { display: flex; gap: 10px; max-width: 360px; margin-bottom: 14px; }
.relay__search .field__input { height: 40px; }
.relay__message { padding: 14px 0; color: var(--muted); }
.relay__message--error { color: var(--danger); font-weight: 500; }
.relay__map { height: 280px; margin-bottom: 12px; background: var(--bg-soft); border: 1px solid var(--line); z-index: 0; }
.relay__list { list-style: none; margin: 0; padding: 0; max-height: 380px; overflow-y: auto; border: 1px solid var(--line); background: #FFFFFF; }
.relay__list > li + li { border-top: 1px solid var(--line); }
.relay-card { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 14px 16px 6px; cursor: pointer; }
.relay-card input { margin-top: 3px; }
.relay-card__name { display: block; font: 700 16px/1.2 var(--font-display); letter-spacing: .03em; text-transform: uppercase; }
.relay-card__address { display: block; font-size: 14px; color: var(--ink-soft); }
.relay-card__distance { display: block; font-size: 13px; color: var(--muted); }
li:has(.relay-card input:checked) { background: var(--bg-soft); }
.relay-card__hours { padding: 0 16px 12px 46px; font-size: 13px; color: var(--muted); }
.relay-card__hours summary { cursor: pointer; text-decoration: underline; text-underline-offset: 3px; width: max-content; }
.relay-card__hours dl { display: grid; gap: 2px; margin: 8px 0 0; }
.relay-card__hours dl > div { display: grid; grid-template-columns: 80px 1fr; }
.relay-card__hours dd { margin: 0; }
.leaflet-container { font: inherit; }

.check { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.billing { margin-top: 18px; }
.note { margin-top: 20px; font-size: 15px; }
.note summary { cursor: pointer; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.note textarea { margin-top: 10px; }

.checkout__pay { padding-top: 4px; }
.checkout__pay .btn.is-loading { opacity: .6; pointer-events: none; }
.checkout__legal { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.checkout__back { display: inline-block; margin-top: 18px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.checkout__summary { position: sticky; top: 24px; }
.recap { background: var(--bg-soft); padding: 24px; }
.recap__toggle { display: flex; justify-content: space-between; align-items: center; gap: 12px; list-style: none; cursor: default; font: 800 22px/1 var(--font-display); text-transform: uppercase; }
.recap__toggle::-webkit-details-marker { display: none; }
.recap__toggle-total { display: none; }
.recap__lines { list-style: none; margin: 18px 0 0; padding: 0; }
.recap__line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; }
.recap__line--plain { grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
.recap__media { position: relative; display: block; width: 64px; aspect-ratio: 4 / 5; background: var(--bg); }
.recap__media img { width: 100%; height: 100%; object-fit: cover; }
.recap__qty { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--ink); color: var(--bg); font: 700 12px/22px var(--font); text-align: center; }
.recap__name { font: 700 16px/1.2 var(--font-display); letter-spacing: .03em; text-transform: uppercase; }
.recap__name small { display: block; margin-top: 3px; font: 400 13px/1.3 var(--font); letter-spacing: 0; text-transform: none; color: var(--muted); }
.recap__price { font-weight: 500; white-space: nowrap; }
.recap__rows { margin: 16px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }
.recap__rows > div { display: flex; justify-content: space-between; padding: 6px 0; }
.recap__rows dt { color: var(--ink-soft); }
.recap__rows dd { margin: 0; font-weight: 500; }
.recap__total { margin-top: 6px; padding-top: 12px !important; border-top: 1px solid var(--line); font-size: 20px; }
.recap__total dt, .recap__total dd { font-weight: 700; color: var(--ink); }
.recap__total small { font-size: 13px; font-weight: 400; color: var(--muted); }
.free-shipping { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.free-shipping__text { margin: 0 0 10px; font-size: 15px; }
.free-shipping__bar { height: 4px; border-radius: 2px; background: #FFF; overflow: hidden; }
.free-shipping__bar span { display: block; height: 100%; border-radius: 2px; background: var(--ink); }
.free-shipping__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.free-shipping__link .icon { transition: transform .2s var(--ease); }
.free-shipping__link:hover .icon { transform: translateX(3px); }

.checkout-message { padding-top: clamp(32px, 6vw, 72px); }
.checkout-message .page-lead { margin-bottom: 28px; }
.done { margin: 8px 0 32px; padding: 24px; background: var(--bg-soft); }
.done__block { margin: 0 0 12px; }
.done__block dt { font: 700 14px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.done__block dd { margin: 0; line-height: 1.5; }

@media (max-width: 900px) {
    .checkout { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
    .checkout__summary { position: static; order: -1; margin: 0 calc(var(--gutter) * -1) 28px; }
    .recap { padding: 0 var(--gutter); }
    .recap__toggle { cursor: pointer; padding: 18px 0; font-size: 18px; }
    .recap__toggle-total { display: inline; }
    .recap[open] .recap__toggle-total { display: none; }
    .recap > :last-child { padding-bottom: 18px; }
    .fields { grid-template-columns: 1fr; }
    .checkout-header__secure { font-size: 12px; }
}
.relay-pin span {
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
    background: var(--bg); color: var(--ink); border: 2px solid var(--ink);
    font: 700 12px/1 var(--font); box-shadow: 0 2px 6px rgba(17, 17, 17, .25);
}
.relay-pin.is-active { z-index: 1000 !important; }
.relay-pin.is-active span { background: var(--ink); color: var(--bg); transform: scale(1.15); }

/* ==========================================================================
   Arrondis (tous au même endroit)
   ========================================================================== */

.card__media, .product__photo, .hero__media, .summary, .recap, .done,
.account__card, .account__empty, .verify-banner, .auth__panel--soft, .done-account,
.relay__map, .relay__list { border-radius: var(--radius-lg); }
/* La miniature du récapitulatif n'est pas rognée : la bulle de quantité déborde du coin */
.cart-line__media { border-radius: var(--radius-sm); overflow: hidden; }
.recap__media img { border-radius: var(--radius-sm); }
.field__input, .search-big input, .sort select, .qty, .relay__search .field__input,
.pill, .filter-pill, .method, .flash, .badge, .buy__row .wish__btn { border-radius: var(--radius-sm); }
.toast { border-radius: 12px; }
.filter-check::before { border-radius: 5px; }
.nav__panel { border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.account-menu__panel { border-radius: var(--radius-lg); }
.search-panel__form input { border-radius: var(--radius-sm); }
.badge { overflow: hidden; }
.step__title span { border-radius: 50%; }

/* Couleur en promotion : contour rouge en pointillé et « % » rouge dans la pastille,
   quelle que soit la couleur affichée (à la façon d'Odlo). */
.card__colors .dot--sale {
    position: relative;
    outline: 1.5px dashed var(--sale); outline-offset: 2px;
}
.card__colors .dot--sale.is-shown { outline-color: var(--ink); }
.card__colors .dot--sale::after,
.swatch--sale::after {
    content: "%"; position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    font: 800 11px/1 var(--font); color: var(--sale); pointer-events: none;
}
.swatch--sale { border-style: dashed; border-color: var(--sale); }
.swatch--sale:has(input:checked) { border-color: var(--ink); }
.swatch--sale::after { font-size: 15px; }


/* ── Marques ───────────────────────────────────────────────── */
.card__brand { margin: 0 0 2px; font: 600 12px/1.3 var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.product__brand { display: inline-block; margin-bottom: 6px; font: 600 14px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); text-decoration: none; }
.product__brand:hover { color: var(--ink); text-decoration: underline; }

.brand-head__logo { display: block; max-width: 220px; max-height: 90px; object-fit: contain; margin: 8px 0 18px; }
.brand-grid { list-style: none; margin: 0 0 64px; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.brand-tile { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: border-color .2s var(--ease), transform .2s var(--ease); }
.brand-tile:hover { border-color: var(--ink); transform: translateY(-2px); }
.brand-tile__logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 2 / 1; margin-bottom: 8px; border-radius: var(--radius-sm); background: var(--bg-soft); overflow: hidden; }
.brand-tile__logo img { max-width: 80%; max-height: 70%; object-fit: contain; }
.brand-tile__initials { font: 700 32px/1 var(--font-display); letter-spacing: .04em; color: var(--muted); }
.brand-tile__name { font: 600 17px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .03em; }
.brand-tile__count { font-size: 14px; color: var(--muted); }

/* ── Caractéristiques (fiche produit) ──────────────────────── */
.specs { margin: 0; }
.specs__row { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.specs__row:first-child { border-top: 0; padding-top: 0; }
.specs dt { color: var(--accent); font-weight: 600; }
.specs dd { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.specs__value { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 14px; line-height: 1.4; }
.prose--small { font-size: 14px; line-height: 1.6; }

/* ── Prix professionnels ───────────────────────────────────── */
.price__tax { font-size: .72em; font-weight: 600; letter-spacing: .06em; color: var(--muted); }
.summary__minimum { margin: 12px 0 0; }

/* ── Compte professionnel ──────────────────────────────────── */
.auth__form .auth__subtitle { font-size: 20px; margin: 28px 0 14px; }
.auth__form .auth__subtitle:first-of-type { margin-top: 8px; }
.field__input--file { padding: 10px; height: auto; }
.pro-status { display: inline-block; margin: 0 0 16px; padding: 6px 12px; border-radius: 999px; background: var(--bg-soft); font: 600 13px/1 var(--font-display); text-transform: uppercase; letter-spacing: .08em; }
.pro-status--ok { background: var(--ok); color: #fff; }
.pro-discounts { list-style: none; margin: 0 0 28px; padding: 0; }
.pro-discounts li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.btn.is-disabled { opacity: .4; pointer-events: none; }

/* ── Minuteur de réservation (page de commande) ───────────────── */
.checkout-timer {
    position: sticky; top: 0; z-index: 5;
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 24px; padding: 12px 16px;
    background: var(--bg-soft, #F3F3F3); border-left: 3px solid var(--ink);
    font-size: 15px;
}
.checkout-timer p { margin: 0; }
.checkout-timer strong { font-variant-numeric: tabular-nums; font-size: 17px; }
.checkout-timer span { color: var(--muted); }
.checkout-timer.is-urgent { border-left-color: var(--sale); }
.checkout-timer.is-urgent strong { color: var(--sale); }
.checkout-timer svg { flex: none; }

/* ── Click & Collect ──────────────────────────────────────────── */
.pickup {
    display: flex; gap: 14px; padding: 16px 18px; margin-top: -4px;
    background: var(--bg-soft, #F3F3F3); font-size: 15px; line-height: 1.5;
}
.pickup svg { flex: none; margin-top: 2px; }
.pickup p { margin: 0; }
.pickup__name { font-weight: 700; }
.pickup__delay { margin-top: 6px !important; font-weight: 600; }
.pickup__hours, .pickup__note { color: var(--muted); font-size: 14px; }

/* ── Code promo (page de commande) ────────────────────────────── */
.promo { margin: 8px 0 20px; }
.promo summary { cursor: pointer; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.promo__row { display: flex; gap: 10px; max-width: 420px; margin-top: 12px; }
.promo__row .field__input { height: 44px; text-transform: uppercase; letter-spacing: .04em; }
.promo.is-invalid .field__input { border-color: var(--danger); }
.promo__applied { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; margin: 0; padding: 12px 16px; background: var(--bg-soft); }
.promo__remove { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--muted); }
.recap__discount dd { color: var(--sale); font-weight: 600; }

/* ── Mon compte : menu et pages ────────────────────────────────── */
.account__layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.account__nav { display: grid; position: sticky; top: 24px; border-top: 1px solid var(--line); }
.account__nav a { padding: 12px 0 12px 14px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; font: 600 16px/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.account__nav a:hover { color: var(--ink-soft); background: var(--bg-soft); }
.account__nav a.is-current { border-left-color: var(--ink); background: var(--bg-soft); }
.account__nav .account__nav-out { color: var(--muted); }
.account__main { min-width: 0; }
.account__section { margin-bottom: 40px; }
.account__section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.account__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 24px; }
.account__card-title { font: 800 19px/1.1 var(--font-display); text-transform: uppercase; margin: 0 0 12px; }
.account__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 0 0 24px; }
.account__actions form { margin: 0; }
.account__form { max-width: 560px; }
.account__form .fields { margin-bottom: 12px; }
.account__form .btn { margin-top: 8px; }
.account__badge { display: inline-block; margin-left: 8px; padding: 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: var(--bg); vertical-align: middle; }
.account__danger { padding-top: 24px; border-top: 1px solid var(--line); }
.account__list { margin: 0 0 16px; padding-left: 20px; }
.btn--danger { background: var(--danger); border-color: var(--danger); }
.btn--danger:hover { background: #7d2018; border-color: #7d2018; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.account-table { width: 100%; border-collapse: collapse; }
.account-table th { text-align: left; font: 700 13px/1.2 var(--font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 8px; border-bottom: 1.5px solid var(--ink); }
.account-table td { padding: 14px 8px; border-bottom: 1px solid var(--line); }
.account-table .num { text-align: right; white-space: nowrap; }
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.address-card { padding: 20px; border: 1.5px solid var(--line); background: #FFF; }
.address-card.is-default { border-color: var(--ink); }
.address-card p { margin: 0 0 12px; }
.address-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.address-card__actions { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.address-card__actions form { margin: 0; }
.address-card--add { display: grid; place-items: center; min-height: 160px; border-style: dashed; font: 700 16px/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; }
.address-card--add:hover { border-color: var(--ink); }
@media (max-width: 900px) {
    .account__layout { grid-template-columns: 1fr; }
    .account__nav { position: static; display: flex; overflow-x: auto; border-top: 0; border-bottom: 1px solid var(--line); gap: 4px; }
    .account__nav a { white-space: nowrap; border: 0; border-bottom: 3px solid transparent; padding: 10px 12px; font-size: 14px; }
    .account__nav a.is-current { border-bottom-color: var(--ink); }
}

/* ── Menu à trois niveaux : panneau large, une colonne par sous-rayon ── */
.nav__list { position: relative; }
.nav__item--mega { position: static; }
.nav__panel--mega {
    left: 50%; width: min(1040px, calc(100vw - 48px)); padding: 26px 28px 18px;
    transform: translate(-50%, -6px);
}
.nav__item--mega:hover .nav__panel--mega,
.nav__item--mega:focus-within .nav__panel--mega { transform: translate(-50%, 0); }
.nav__columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 22px 28px; }
.nav__heading { display: block; padding: 4px 0 8px; font: 700 17px/1.2 var(--font-display); letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.nav__heading:hover, .nav__heading.is-current { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 4px; }
.nav__sub--compact a { padding: 5px 0; font-size: 15px; }
.nav__sub--compact a:hover, .nav__sub--compact a.is-current { background: none; text-decoration: underline; text-underline-offset: 3px; }
.nav__more a { color: var(--muted); font-size: 14px; }
.nav__panel--mega .nav__all { margin: 18px 0 0; padding-top: 12px; }
.nav__panel--mega .nav__all a { padding: 0; }

/* Menu mobile : sous-rayons qui ont eux-mêmes des sous-rayons */
.accordion--nested { border: 0; }
.accordion__subtitle { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; cursor: pointer; list-style: none; font: 600 19px/1.2 var(--font-display); text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft); }
.accordion__subtitle::-webkit-details-marker { display: none; }
.accordion--nested[open] > .accordion__subtitle .icon { transform: rotate(180deg); }
.accordion--nested .accordion__list { padding: 0 0 8px 16px; margin: 0; border-left: 2px solid var(--line); }
.accordion--nested .accordion__list a { font-size: 17px; padding: 7px 0; }

/* ── Menu « Marques » : initiales, puis les marques de A à Z ── */
.nav__panel--brands { width: min(1100px, calc(100vw - 48px)); }
.brand-letters { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.brand-letters a {
    display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px;
    border: 1px solid var(--line); border-radius: var(--radius-sm);
    font: 700 15px/1 var(--font-display); transition: background .15s, color .15s, border-color .15s;
}
.brand-letters a:hover, .brand-letters a:focus-visible, .brand-letters a.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.brand-index {
    position: relative;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px 28px; align-items: start;
    max-height: min(56vh, 460px); overflow-y: auto; overscroll-behavior: contain; padding-right: 8px;
}
.brand-index__letter { margin: 0 0 6px; padding: 4px 0 8px; border-bottom: 1px solid var(--line); font: 700 17px/1.2 var(--font-display); letter-spacing: .04em; }
.brand-index__group.is-target .brand-index__letter { border-bottom-color: var(--ink); }
.brand-index__list { list-style: none; margin: 0; padding: 0; }
.brand-index__list a { display: block; padding: 5px 0; font-size: 15px; color: var(--ink-soft); }
.brand-index__list a:hover, .brand-index__list a.is-current { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ── Grille des nuances (fiche d'une coloration) ── */
.multi-buy { display: grid; gap: 16px; margin-top: 8px; }
.multi-buy__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.multi-buy__head .option__legend { margin: 0; }
.multi-buy__count { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--bg-soft); font-size: 12px; color: var(--muted); letter-spacing: 0; }
.multi-buy__search { display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.multi-buy__search input { width: 150px; border: 0; outline: 0; background: none; font-size: 14px; color: var(--ink); }
.multi-buy__list {
    list-style: none; margin: 0; padding: 0;
    max-height: 340px; overflow-y: auto; overscroll-behavior: contain;
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.multi-buy__row {
    display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 14px;
    padding: 10px 12px 10px 8px; border-bottom: 1px solid var(--line);
}
.multi-buy__row:last-of-type { border-bottom: 0; }
.multi-buy__row.is-picked { background: var(--bg-soft); }
.multi-buy__row.is-out { color: var(--muted); }
.multi-buy__dot { width: 36px; height: 36px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.multi-buy__row--plain .multi-buy__label { grid-column: 1 / 3; }
.multi-buy__strand { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; overflow: hidden; background: var(--bg-soft); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); cursor: zoom-in; }
.multi-buy__strand img { width: 100%; height: 100%; object-fit: cover; }
.multi-buy__strand.is-viewed { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--sale); }
.multi-buy__label--link { padding: 0; border: 0; background: none; text-align: left; font: inherit; font-weight: 600; cursor: zoom-in; }
.multi-buy__label--link:hover { text-decoration: underline; text-underline-offset: 3px; }
.multi-buy__label { font-weight: 600; }
.multi-buy__price { min-width: 70px; text-align: right; font-weight: 600; white-space: nowrap; }
.multi-buy__price .price__was { display: block; font-weight: 400; font-size: 12px; }
.multi-buy__price .price__sale { color: var(--sale); }
.multi-buy__empty { padding: 18px 12px; color: var(--muted); }
.stock-pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: #E8F3EA; color: var(--ok); font-size: 12px; font-weight: 600; white-space: nowrap; }
.stock-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.stock-pill--low { background: #FDF1E3; color: #9A5B12; }
.stock-pill--out { background: var(--bg-soft); color: var(--muted); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg); }
.stepper__btn { width: 36px; height: 38px; border: 0; background: none; font-size: 18px; line-height: 1; }
.stepper__btn:hover:not(:disabled) { background: var(--bg-soft); }
.stepper__btn:disabled { opacity: .35; cursor: not-allowed; }
.stepper__input {
    width: 44px; height: 38px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
    text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield;
}
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.multi-buy .btn.is-loading { opacity: .7; pointer-events: none; }
@media (max-width: 560px) {
    .multi-buy__row { grid-template-columns: auto 1fr auto; row-gap: 6px; }
    .multi-buy__stock { grid-column: 2; grid-row: 2; }
    .multi-buy__price { grid-column: 3; grid-row: 1; }
    .multi-buy__row .stepper { grid-column: 3; grid-row: 2; }
    .multi-buy__search input { width: 110px; }
}

/* Vignette d'un produit à nuances : leur nombre, avec trois pastilles d'aperçu */
.card__shades { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 13px; color: var(--muted); }
.card__shades-dots { display: inline-flex; }
.card__shades-dots span { width: 14px; height: 14px; border-radius: 50%; background: var(--dot); border: 2px solid var(--bg); margin-left: -5px; }
.card__shades-dots span:first-child { margin-left: 0; }

/* ── FAQ ── */
.faq__search { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px; margin-bottom: 18px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.faq__search input { flex: 1; border: 0; outline: 0; background: none; font-size: 15px; color: var(--ink); }
.faq__themes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.faq__theme { margin-bottom: 36px; scroll-margin-top: calc(var(--header-h) + 16px); }
.faq__title { margin: 0 0 8px; font-size: 24px; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { flex: none; transition: transform .2s; }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__answer { padding: 0 0 18px; color: var(--ink-soft); line-height: 1.65; }
.faq__empty { color: var(--muted); }
.faq__contact { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin: 48px 0 0; padding: 24px; border-radius: var(--radius); background: var(--bg-soft); }
.faq__contact p { margin: 0; flex: 1 1 320px; }

/* ── Page « La boutique » ── */
.about { max-width: 1100px; padding-bottom: 64px; }
.about__head { max-width: 760px; }
.about__photo { margin: 0 0 40px; border-radius: var(--radius-lg, 24px); overflow: hidden; background: var(--bg-soft); }
.about__photo img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; }
.about__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 48px; }
.about__card { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.about__card h2 { margin: 0; font-size: 20px; }
.about__card p { margin: 0; line-height: 1.6; }
.about__card .btn { margin-top: auto; }
.about__hours { list-style: none; margin: 0; padding: 0; line-height: 1.7; }
.about__text { max-width: 760px; margin-bottom: 32px; }
.about__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 800px) { .about__grid { grid-template-columns: 1fr; } }

/* Accordéon qui se referme (animation en cours) : la flèche se retourne tout de suite */
.accordion.is-closing > .accordion__title .icon, .accordion--nested.is-closing > .accordion__subtitle .icon { transform: rotate(0deg); }
