@charset "UTF-8";
/*!
 * CHOUICHA MARKET — feuille de style du site
 * Conception : vitrine claire sur le modèle du site High Tech Store (cartes arrondies, pilules, chiffres en
 * chasse fixe, tiroirs), aux couleurs de Chouicha : orange du logo et noir encre.
 * Sommaire : 1 jetons · 2 base · 3 typographie · 4 boutons & étiquettes · 5 formulaires · 6 utilitaires
 *            7 en-tête · 8 méga-menu · 9 tiroirs, recherche, fenêtre, notifications · 10 pied de page
 *            11 cartes produits · 12 accueil · 13 boutique · 14 fiche produit · 15 panier & commande
 *            16 pages de contenu · 17 mouvements · 18 impression
 * Règle de contraste : le texte posé sur l'orange vif #ff5400 est toujours l'encre #15130f (5,8:1) ; le blanc n'y
 * est jamais posé (3,2:1). Un aplat portant du blanc utilise --brand-deep (4,7:1).
 */

/* 1 · Jetons
-------------------------------------------------------------------------*/
:root {
    --bg: #ffffff;
    --text: #15130f;
    --ink: #15130f;
    --ink-2: #2a2620;
    --ink-3: #3b362e;
    --muted: #59534b;
    --muted-2: #6a645b;
    --surface: #f7f3ed;
    --surface-2: #efe8dd;
    --surface-3: #e6ddcf;
    --panel: #ffffff;
    --glass: rgba(255, 255, 255, 0.92);
    --line: rgba(21, 19, 15, 0.1);
    --line-strong: rgba(21, 19, 15, 0.2);

    --brand: #ff5400;
    --brand-deep: #cf4500;
    --brand-text: #c24100;
    --brand-soft: rgba(255, 84, 0, 0.11);
    --brand-glow: rgba(255, 84, 0, 0.34);
    --green: #17794f;
    --green-soft: rgba(23, 121, 79, 0.11);
    --danger: #b42318;
    --danger-soft: rgba(180, 35, 24, 0.09);
    --amber: #a15c00;
    --amber-soft: rgba(245, 165, 36, 0.18);

    --font-display: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

    --r-xl: 32px;
    --r-lg: 24px;
    --r-md: 16px;
    --r-sm: 10px;
    --r-pill: 999px;

    --shell: min(1460px, 100% - clamp(32px, 7vw, 128px));
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --shadow: 0 30px 70px -34px rgba(21, 19, 15, 0.3);
    --shadow-sm: 0 14px 34px -20px rgba(21, 19, 15, 0.28);

    --top-h: 38px;
    --bar-h: 80px;
    --cats-h: 52px;
    /* Distance des blocs collants (filtres, galerie, récapitulatif) : sous la barre ET la ligne des rayons */
    --stick-top: calc(var(--bar-h) + var(--cats-h) + 24px);
}

/* 2 · Base
-------------------------------------------------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--bar-h) + var(--cats-h) + 16px);
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body.is-locked {
    overflow: hidden;
}

/* Un élément masqué reste masqué, quelle que soit sa mise en page */
[hidden] {
    display: none !important;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button {
    cursor: pointer;
    background: none;
    border: 0;
    padding: 0;
}

ul,
ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

table {
    border-collapse: collapse;
    width: 100%;
}

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: 6px;
}

::selection {
    background: var(--brand);
    color: var(--ink);
}

/* Pictogrammes : taille par défaut (le jeu d'icônes est en haut de chaque page) */
.ic {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ic-fill {
    fill: currentColor;
    stroke: none;
}

.shell {
    width: var(--shell);
    margin-inline: auto;
}

.skip {
    position: fixed;
    left: 16px;
    top: -80px;
    z-index: 1000;
    background: var(--ink);
    color: #fff;
    padding: 12px 20px;
    border-radius: var(--r-pill);
    font-weight: 700;
    transition: top 0.2s var(--ease);
}

.skip:focus {
    top: 12px;
}

.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;
}

/* 3 · Typographie
-------------------------------------------------------------------------*/
.t-display,
.t-h1,
.t-h2,
.t-h3,
.t-h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.04;
    color: var(--text);
    text-wrap: balance;
}

.t-display {
    font-size: clamp(2.6rem, 6.4vw, 5.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.t-h1 {
    font-size: clamp(2.3rem, 5.2vw, 4.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
}

.t-h2 {
    font-size: clamp(1.9rem, 3.6vw, 3rem);
    line-height: 1.04;
}

.t-h3 {
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.15;
}

.t-h4 {
    font-size: 1.125rem;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.t-lead {
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.55;
    color: var(--muted);
    max-width: 46ch;
}

.t-body {
    color: var(--muted);
}

.t-small {
    font-size: 0.9375rem;
}

.t-xs {
    font-size: 0.8125rem;
}

.t-dim {
    color: var(--muted-2);
}

.t-mono {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
}

.t-center {
    text-align: center;
}

.t-clamp-1,
.t-clamp-2,
.t-clamp-3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.t-clamp-1 {
    -webkit-line-clamp: 1;
}

.t-clamp-2 {
    -webkit-line-clamp: 2;
}

.t-clamp-3 {
    -webkit-line-clamp: 3;
}

/* Titre de section : filet court + étiquette, puis le titre */
.sec-head {
    margin-bottom: clamp(24px, 3vw, 40px);
}

.sec-head_top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.sec-head_mark {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--brand-text);
}

.sec-head_mark::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--brand);
    border-radius: 2px;
}

/* Texte courant (pages juridiques, à propos) */
.prose {
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.75;
}

.prose > * + * {
    margin-top: 1.1em;
}

.prose h2,
.prose h3 {
    font-family: var(--font-display);
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-top: 2em;
}

.prose h2 {
    font-size: 1.5rem;
}

.prose h3 {
    font-size: 1.2rem;
}

.prose strong {
    color: var(--text);
    font-weight: 700;
}

.prose a {
    color: var(--brand-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose ul {
    list-style: disc;
    padding-left: 1.3em;
}

.prose li + li {
    margin-top: 0.4em;
}

.prose li::marker {
    color: var(--brand);
}

/* 4 · Boutons & étiquettes
-------------------------------------------------------------------------*/
.btn {
    --h: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--h);
    padding: 0 26px;
    border-radius: var(--r-pill);
    background: var(--brand);
    color: var(--ink);
    font-family: var(--font);
    font-size: 0.9688rem;
    font-weight: 800;
    letter-spacing: -0.005em;
    line-height: 1;
    white-space: nowrap;
    border: 2px solid var(--brand);
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
        transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -16px rgba(21, 19, 15, 0.55);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
}

.btn-lg {
    --h: 56px;
    padding: 0 32px;
    font-size: 1.0313rem;
}

.btn-sm {
    --h: 40px;
    padding: 0 18px;
    font-size: 0.875rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.btn-dark {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.btn-dark:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
}

.btn-light {
    background: #fff;
    border-color: #fff;
    color: var(--ink);
}

.btn-light:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
}

.btn-wa {
    background: #0f7a40;
    border-color: #0f7a40;
    color: #fff;
}

.btn-wa:hover {
    background: var(--ink);
    border-color: var(--ink);
}

/* Lien à flèche, souligné d'un filet */
.btn-line {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 4px;
    font-weight: 700;
    font-size: 0.9688rem;
    color: var(--text);
    border-bottom: 2px solid var(--line-strong);
    transition: border-color 0.25s var(--ease), gap 0.25s var(--ease);
}

.btn-line:hover {
    border-color: var(--brand);
    gap: 12px;
}

/* Bouton rond : icône seule */
.ibtn {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--panel);
    border: 1.5px solid var(--line-strong);
    color: var(--text);
    flex: none;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease),
        transform 0.25s var(--ease);
}

.ibtn:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.ibtn-sm {
    width: 38px;
    height: 38px;
}

.ibtn.is-on {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
}

.ibtn.is-on .ic {
    fill: currentColor;
}

/* Pastille de compteur (panier, favoris) */
.count-dot {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: var(--r-pill);
    background: var(--brand);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    border: 2px solid #fff;
}

.count-dot.hidden {
    display: none;
}

.bump {
    animation: bump 0.45s var(--ease-out);
}

@keyframes bump {
    40% {
        transform: scale(1.28);
    }
}

/* Étiquettes de carte et de fiche */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    padding: 0 12px;
    border-radius: var(--r-pill);
    background: var(--ink);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
}

.tag.is-promo {
    background: var(--brand);
    color: var(--ink);
}

.tag.is-new {
    background: var(--ink);
    color: #fff;
}

.tag.is-out {
    background: #fff;
    color: var(--danger);
    box-shadow: inset 0 0 0 1.5px var(--danger);
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}

a.chip:hover,
button.chip:hover {
    border-color: var(--ink);
}

.chip-brand {
    background: var(--brand-soft);
    border-color: rgba(255, 84, 0, 0.35);
    color: var(--brand-text);
}

.chip-ok {
    background: var(--green-soft);
    border-color: rgba(23, 121, 79, 0.3);
    color: var(--green);
}

.chip-bad {
    background: var(--danger-soft);
    border-color: rgba(180, 35, 24, 0.3);
    color: var(--danger);
}

/* Pastilles de filtre (chiffres en chasse fixe) */
.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    border: 1px solid var(--line-strong);
    background: #fff;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ink-2);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.pill:hover {
    border-color: var(--ink);
}

.pill.is-on {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
}

/* 5 · Formulaires
-------------------------------------------------------------------------*/
.field {
    display: grid;
    gap: 8px;
}

.field-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text);
}

.field-label .req {
    color: var(--brand-text);
}

.field-hint {
    font-size: 0.8125rem;
    color: var(--muted-2);
}

.input,
.select,
.textarea {
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border-radius: var(--r-md);
    border: 1.5px solid var(--line-strong);
    background: #fff;
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.textarea {
    min-height: 140px;
    padding: 16px 20px;
    resize: vertical;
    line-height: 1.55;
}

.select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2315130f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
}

.input::placeholder,
.textarea::placeholder {
    color: var(--muted-2);
    opacity: 1;
}

.input:hover,
.select:hover,
.textarea:hover {
    border-color: var(--ink-3);
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
}

.input.is-bad,
.select.is-bad,
.textarea.is-bad {
    border-color: var(--danger);
    box-shadow: 0 0 0 4px var(--danger-soft);
}

.field-error {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--danger);
}

/* Compteur de quantité */
.qty {
    display: inline-flex;
    align-items: center;
    height: 52px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--line-strong);
    background: #fff;
    overflow: hidden;
}

.qty button {
    display: grid;
    place-items: center;
    width: 46px;
    height: 100%;
    color: var(--text);
    transition: background 0.2s var(--ease);
}

.qty button:hover {
    background: var(--surface-2);
}

.qty input {
    width: 48px;
    height: 100%;
    border: 0;
    background: transparent;
    text-align: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    -moz-appearance: textfield;
}

.qty input:focus {
    outline: none;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-sm {
    height: 38px;
}

.qty-sm button {
    width: 34px;
}

.qty-sm input {
    width: 38px;
    font-size: 0.9rem;
}

/* Cases à cocher et boutons radio dessinés */
.check {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9375rem;
    color: var(--ink-2);
}

.check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.check_box {
    width: 22px;
    height: 22px;
    flex: none;
    display: grid;
    place-items: center;
    border-radius: 7px;
    border: 1.5px solid var(--line-strong);
    background: #fff;
    transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.check_box .ic {
    width: 14px;
    height: 14px;
    stroke-width: 3;
    color: var(--ink);
    opacity: 0;
}

.check input:checked + .check_box {
    background: var(--brand);
    border-color: var(--brand);
}

.check input:checked + .check_box .ic {
    opacity: 1;
}

.check input:focus-visible + .check_box {
    outline: 3px solid var(--brand);
    outline-offset: 2px;
}

.check.is-radio .check_box {
    border-radius: 50%;
}

.check.is-radio input:checked + .check_box {
    background: #fff;
    border: 6px solid var(--brand);
}

.check.is-radio .check_box .ic {
    display: none;
}

.check.is-radio.is-current .check_box {
    background: #fff;
    border: 6px solid var(--brand);
}

.check_count {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted-2);
}

/* Message de formulaire */
.notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 0.9375rem;
    color: var(--ink-2);
}

.notice .ic {
    margin-top: 2px;
}

.notice.is-ok {
    background: var(--green-soft);
    border-color: rgba(23, 121, 79, 0.3);
    color: #0f5a39;
}

.notice.is-bad {
    background: var(--danger-soft);
    border-color: rgba(180, 35, 24, 0.3);
    color: var(--danger);
}

/* 6 · Utilitaires
-------------------------------------------------------------------------*/
.flex {
    display: flex;
}

.wrap {
    flex-wrap: wrap;
}

.gap-8 {
    gap: 8px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.mt-8 {
    margin-top: 8px;
}

.mt-16 {
    margin-top: 16px;
}

.mt-24 {
    margin-top: 24px;
}

.section {
    padding-block: clamp(56px, 7vw, 104px);
}

.section-sm {
    padding-block: clamp(32px, 4vw, 56px);
}

.crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted-2);
    padding-top: clamp(20px, 3vw, 36px);
}

.crumbs a {
    transition: color 0.2s var(--ease);
}

.crumbs a:hover {
    color: var(--brand-text);
}

.crumbs .ic {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.crumbs .current {
    color: var(--text);
    font-weight: 600;
}

.pagehead {
    padding-bottom: clamp(24px, 3vw, 40px);
}

.pagehead_row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px 56px;
    flex-wrap: wrap;
    margin-top: clamp(14px, 2vw, 24px);
}


/* 7 · En-tête : bandeau d'informations, barre principale, rayons
-------------------------------------------------------------------------*/
.head {
    position: sticky;
    top: calc(var(--top-h) * -1);
    z-index: 60;
    background: var(--bg);
}

/* Bandeau d'informations défilantes */
.topbar {
    height: var(--top-h);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.8125rem;
}

.topbar_in {
    width: var(--shell);
    height: 100%;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.ticker {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
}

.ticker p {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.ticker p.is-on {
    display: flex;
    animation: tickIn 0.5s var(--ease-out);
}

.ticker .ic {
    width: 16px;
    height: 16px;
    color: var(--brand);
}

.ticker a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@keyframes tickIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

.topbar_links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex: none;
}

.topbar_links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s var(--ease);
}

.topbar_links a:hover {
    color: #fff;
}

.topbar_links .ic {
    width: 15px;
    height: 15px;
}

.topbar_phone {
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--brand);
}

.topbar_phone:hover {
    color: #fff;
}

.topbar_sep {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.22);
}

/* Barre principale : logo, grande recherche, favoris et panier */
.head_bar {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.head_inner {
    width: var(--shell);
    height: var(--bar-h);
    margin-inline: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 640px) auto;
    align-items: center;
    justify-content: space-between;
    gap: clamp(16px, 3vw, 48px);
}

.head_left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.head_logo {
    display: block;
    flex: none;
}

.head_logo img {
    height: 50px;
    width: auto;
}

.head_search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 54px;
    padding: 0 7px 0 24px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--line-strong);
    background: #fff;
    text-align: left;
    color: var(--muted-2);
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.head_search:hover {
    border-color: var(--ink);
    box-shadow: 0 10px 30px -18px rgba(21, 19, 15, 0.35);
}

.head_search_text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1rem;
}

.head_search kbd {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
}

.head_search_go {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    flex: none;
}

.head_actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.head_act,
.head_cart {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--line-strong);
    background: #fff;
    color: var(--text);
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.head_act {
    width: 46px;
}

.head_act:hover,
.head_cart:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.head_cart {
    gap: 10px;
    padding: 0 20px 0 16px;
    background: var(--surface);
    font-weight: 700;
    font-size: 0.9375rem;
}

.head_cart_total {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
}

.head_cart .count-dot {
    top: -7px;
    right: -4px;
}

.head_burger {
    display: none;
}

/* Rayons, sur leur propre ligne */
.head_cats {
    background: var(--bg);
    border-bottom: 1px solid var(--line);
}

.catnav {
    width: var(--shell);
    height: var(--cats-h);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}

.catnav::-webkit-scrollbar {
    display: none;
}

.catnav a,
.catnav button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    border-radius: var(--r-pill);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink-2);
    white-space: nowrap;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.catnav a:hover,
.catnav button:hover,
.catnav .is-open {
    background: var(--surface);
    color: var(--ink);
}

.catnav .ic {
    width: 16px;
    height: 16px;
}

.catnav .chev {
    width: 14px;
    height: 14px;
    opacity: 0.55;
    transition: transform 0.25s var(--ease);
}

.catnav .is-open .chev {
    transform: rotate(180deg);
}

.catnav [aria-current="page"] {
    color: var(--ink);
}

.catnav [aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 3px;
    height: 3px;
    border-radius: 3px;
    background: var(--brand);
}

.catnav_sep {
    flex: none;
    width: 1px;
    height: 20px;
    margin: 0 8px;
    background: var(--line-strong);
}

.catnav .catnav_promo {
    background: var(--brand);
    color: var(--ink);
    font-weight: 800;
}

.catnav .catnav_promo:hover {
    background: var(--ink);
    color: #fff;
}

.catnav .catnav_gros {
    border: 1.5px solid var(--line-strong);
}

.catnav .catnav_gros:hover {
    border-color: var(--ink);
}

/* 8 · Méga-menu : un panneau par rayon
-------------------------------------------------------------------------*/
.mega {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 40px 60px -40px rgba(21, 19, 15, 0.35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s;
}

.mega.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.mega_panel {
    display: none;
    width: var(--shell);
    margin-inline: auto;
    padding: 28px 0 34px;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: clamp(24px, 4vw, 64px);
}

.mega_panel.is-on {
    display: grid;
}

.mega_info .t-h3 {
    margin-bottom: 10px;
}

.mega_info p {
    color: var(--muted);
    font-size: 0.9688rem;
    margin-bottom: 22px;
}

.mega_items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.mega_item {
    display: grid;
    gap: 10px;
}

.mega_item_img {
    aspect-ratio: 1;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--surface);
}

.mega_item_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.mega_item:hover .mega_item_img img {
    transform: scale(1.05);
}

.mega_item_name {
    font-size: 0.9063rem;
    font-weight: 700;
    line-height: 1.3;
}

.mega_item_price {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-text);
}

/* 9 · Tiroirs, recherche, fenêtre, notifications
-------------------------------------------------------------------------*/
.scrim {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(21, 19, 15, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.scrim.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    width: min(440px, 100%);
    display: flex;
    flex-direction: column;
    background: var(--panel);
    box-shadow: -30px 0 60px -30px rgba(21, 19, 15, 0.4);
    transform: translateX(104%);
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
}

.drawer.is-open {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
}

.drawer-left {
    right: auto;
    left: 0;
    transform: translateX(-104%);
    box-shadow: 30px 0 60px -30px rgba(21, 19, 15, 0.4);
}

.drawer_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}

.drawer_head img {
    height: 40px;
    width: auto;
}

.drawer_title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.drawer_body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 24px 24px;
    overscroll-behavior: contain;
}

.drawer_foot {
    display: grid;
    gap: 12px;
    padding: 20px 24px 24px;
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.drawer_empty {
    display: grid;
    justify-items: center;
    gap: 14px;
    padding: 64px 12px;
    text-align: center;
    color: var(--muted);
}

.drawer_empty .ic {
    width: 56px;
    height: 56px;
    stroke-width: 1.2;
    color: var(--brand);
}

/* Lignes du panier (tiroir, page panier, commande) */
.mini-line {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.mini-line:last-child {
    border-bottom: 0;
}

.mini-line_img {
    width: 76px;
    height: 76px;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--surface);
}

.mini-line_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-line_body {
    display: grid;
    gap: 6px;
    min-width: 0;
    align-content: start;
}

.mini-line_name {
    font-size: 0.9688rem;
    font-weight: 700;
    line-height: 1.3;
}

.mini-line_name:hover {
    color: var(--brand-text);
}

.mini-line_meta {
    font-size: 0.8125rem;
    color: var(--muted-2);
}

.mini-line_row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.mini-line_price {
    margin-left: auto;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.mini-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    font-weight: 600;
}

.mini-total strong {
    font-family: var(--font-mono);
    font-size: 1.375rem;
    font-weight: 700;
}

/* Barre de progression vers la livraison offerte */
.ship {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--r-md);
    background: #fff;
    border: 1px solid var(--line);
    font-size: 0.875rem;
}

.ship b {
    font-family: var(--font-mono);
    font-weight: 700;
}

.ship_bar {
    height: 8px;
    border-radius: 8px;
    background: var(--surface-2);
    overflow: hidden;
}

.ship_bar span {
    display: block;
    height: 100%;
    width: var(--p, 0%);
    border-radius: 8px;
    background: var(--brand);
    transition: width 0.5s var(--ease-out);
}

.ship.is-done {
    background: var(--green-soft);
    border-color: rgba(23, 121, 79, 0.3);
    color: #0f5a39;
}

.ship.is-done .ship_bar span {
    background: var(--green);
}

/* Menu mobile : recherche, rayons, informations, contact */
.mm_search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 52px;
    margin: 16px 0 8px;
    padding: 0 20px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--line-strong);
    color: var(--muted-2);
    text-align: left;
}

.mm_title {
    margin: 24px 0 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.mm_link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.0313rem;
    font-weight: 700;
}

.mm_link small {
    margin-left: auto;
    margin-right: 6px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted-2);
}

.mm_link .ic {
    width: 18px;
    height: 18px;
    color: var(--muted-2);
}

.mm_link.is-promo {
    color: var(--brand-text);
}

.mm_contact {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

/* Recherche : feuille descendante */
.search-sheet {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 110;
    max-height: 100vh;
    overflow-y: auto;
    background: var(--panel);
    box-shadow: 0 40px 80px -40px rgba(21, 19, 15, 0.5);
    transform: translateY(-104%);
    visibility: hidden;
    transition: transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
}

.search-sheet.is-open {
    transform: none;
    visibility: visible;
    transition-delay: 0s;
}

.search-sheet_inner {
    width: var(--shell);
    margin-inline: auto;
    padding: 24px 0 36px;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 64px;
    padding: 0 10px 0 26px;
    border-radius: var(--r-pill);
    border: 2px solid var(--ink);
    background: #fff;
}

.search-bar .ic {
    width: 22px;
    height: 22px;
}

.search-bar input {
    flex: 1;
    min-width: 0;
    height: 100%;
    border: 0;
    background: transparent;
    font-size: 1.125rem;
}

.search-bar input:focus {
    outline: none;
}

.search-bar input::-webkit-search-cancel-button,
.search-bar input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.search-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 26px 0 16px;
}

.search-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.search-res {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 12px 20px;
}

.sres {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 8px;
    border-radius: var(--r-md);
    transition: background 0.2s var(--ease);
}

.sres:hover,
.sres:focus-visible {
    background: var(--surface);
}

.sres_img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface-2);
}

.sres_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sres_name {
    font-weight: 700;
    font-size: 0.9688rem;
    line-height: 1.3;
}

.sres_name mark {
    background: var(--brand-soft);
    color: inherit;
    border-radius: 4px;
    padding: 0 2px;
}

.sres_cat {
    font-size: 0.8125rem;
    color: var(--muted-2);
}

.sres_price {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.search-empty {
    grid-column: 1 / -1;
    padding: 28px 0;
    color: var(--muted);
}

/* Fenêtre : aperçu rapide */
.modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(21, 19, 15, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.3s;
}

.modal.is-open {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal_card {
    position: relative;
    width: min(980px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: clamp(20px, 3vw, 36px);
    border-radius: var(--r-xl);
    background: var(--panel);
    box-shadow: var(--shadow);
    transform: translateY(16px) scale(0.98);
    transition: transform 0.35s var(--ease-out);
}

.modal.is-open .modal_card {
    transform: none;
}

.modal_close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
}

.qv {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(20px, 3vw, 40px);
}

.qv_media {
    display: grid;
    gap: 12px;
}

.qv_main {
    aspect-ratio: 1;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface);
}

.qv_main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qv_thumbs {
    display: flex;
    gap: 10px;
}

.qv_info {
    display: grid;
    gap: 14px;
    align-content: center;
    padding-right: 36px;
}

/* Notifications */
.toasts {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 130;
    display: grid;
    gap: 10px;
    justify-items: end;
    pointer-events: none;
}

.toast {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    width: min(400px, calc(100vw - 32px));
    padding: 12px 18px 12px 12px;
    border-radius: var(--r-lg);
    background: var(--ink);
    color: #fff;
    box-shadow: 0 24px 50px -20px rgba(21, 19, 15, 0.7);
    pointer-events: auto;
    opacity: 0;
    transform: translateY(14px) scale(0.98);
    transition: opacity 0.35s var(--ease), transform 0.35s var(--ease-out);
}

.toast.is-in {
    opacity: 1;
    transform: none;
}

.toast_img,
.toast_ic {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: var(--brand);
    color: var(--ink);
}

.toast_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.toast_body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.toast_title {
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.3;
}

.toast_sub {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.72);
}

.toast_action {
    padding: 8px 14px;
    border-radius: var(--r-pill);
    background: var(--brand);
    color: var(--ink);
    font-size: 0.8125rem;
    font-weight: 800;
    white-space: nowrap;
}

.toast_action:hover {
    background: #fff;
}

/* Retour en haut */
.gotop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 70;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    box-shadow: 0 16px 30px -14px rgba(21, 19, 15, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s, background 0.2s var(--ease);
}

.gotop.is-on {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.gotop:hover {
    background: var(--brand);
    color: var(--ink);
}

body.has-toast .gotop {
    bottom: 96px;
}

/* 10 · Pied de page
-------------------------------------------------------------------------*/
.foot {
    margin-top: clamp(48px, 6vw, 96px);
    background: var(--ink);
    color: rgba(255, 255, 255, 0.78);
}

.foot_top {
    width: var(--shell);
    margin-inline: auto;
    padding: clamp(48px, 6vw, 84px) 0 clamp(36px, 4vw, 56px);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: clamp(28px, 4vw, 64px);
}

.foot_logo {
    height: 58px;
    width: auto;
    margin-bottom: 20px;
}

.foot_brand p {
    max-width: 38ch;
    color: rgba(255, 255, 255, 0.7);
}

.foot_socials {
    display: flex;
    gap: 10px;
    margin-top: 22px;
}

.foot_social {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.foot_social:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--ink);
}

.foot_title {
    margin-bottom: 18px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--brand);
}

.foot_list {
    display: grid;
    gap: 11px;
}

.foot_list a {
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.2s var(--ease);
}

.foot_list a:hover {
    color: var(--brand);
}

.foot_contact {
    display: grid;
    gap: 16px;
}

.foot_contact li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.foot_contact .ic {
    margin-top: 3px;
    color: var(--brand);
}

.foot_contact a:hover {
    color: var(--brand);
}

.foot_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.foot_bottom_in {
    width: var(--shell);
    margin-inline: auto;
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 32px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.foot_pay {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.foot_pay .ic {
    color: var(--brand);
}

.foot_legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.foot_legal a:hover {
    color: var(--brand);
}


/* 11 · Cartes produits
-------------------------------------------------------------------------*/
.grid-products {
    --cols: 2;
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    gap: clamp(22px, 2.6vw, 36px) clamp(12px, 1.6vw, 22px);
}

@media (min-width: 720px) {
    .grid-products {
        --cols: 3;
    }
}

@media (min-width: 1100px) {
    .grid-products {
        --cols: 4;
    }

    .grid-products.is-wide {
        --cols: 5;
    }
}

@media (min-width: 1360px) {
    .grid-products.is-wide {
        --cols: 5;
    }
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.card_stage {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: var(--surface);
    isolation: isolate;
}

.card_img {
    position: absolute;
    inset: 0;
    display: block;
}

.card_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease);
}

.card:hover .card_img img {
    transform: scale(1.05);
}

.card_tags {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: calc(100% - 64px);
    pointer-events: none;
}

.card_tools {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    display: grid;
    gap: 8px;
}

.card_tool {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--ink);
    box-shadow: 0 6px 16px -8px rgba(21, 19, 15, 0.5);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease), opacity 0.25s var(--ease);
}

.card_tool .ic {
    width: 18px;
    height: 18px;
}

.card_tool:hover {
    background: var(--ink);
    color: #fff;
    transform: scale(1.06);
}

.card_tool.is-on {
    background: var(--brand);
    color: var(--ink);
}

.card_tool.is-on .ic {
    fill: currentColor;
}

/* Sur écran à souris, l'aperçu rapide et le bouton d'ajout n'apparaissent qu'au survol */
.card_add {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    border-radius: var(--r-pill);
    background: var(--brand);
    color: var(--ink);
    font-size: 0.9063rem;
    font-weight: 800;
    box-shadow: 0 14px 28px -14px rgba(21, 19, 15, 0.6);
    transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.3s var(--ease-out), opacity 0.25s var(--ease);
}

.card_add:hover {
    background: var(--ink);
    color: #fff;
}

.card_add.is-out {
    background: #fff;
    color: var(--muted);
    pointer-events: none;
}

@media (hover: hover) and (min-width: 900px) {
    .card_add {
        opacity: 0;
        transform: translateY(14px);
    }

    .card:hover .card_add,
    .card:focus-within .card_add {
        opacity: 1;
        transform: none;
    }

    .card_tools .card_tool:not(.is-on):not([data-wish]) {
        opacity: 0;
        transform: translateX(8px);
    }

    .card:hover .card_tool,
    .card:focus-within .card_tool {
        opacity: 1;
        transform: none;
    }
}

/* Écran tactile : le bouton d'ajout devient une pastille ronde */
@media (hover: none), (max-width: 899px) {
    .card_add {
        left: auto;
        width: 46px;
        padding: 0;
    }

    .card_add span {
        display: none;
    }
}

.card_body {
    display: grid;
    gap: 3px;
    padding: 14px 4px 0;
}

.card_brand {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-text);
}

.card_name {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.005em;
}

.card_name a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.card_name a:hover {
    color: var(--brand-text);
}

.card_price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 8px;
    font-family: var(--font-mono);
    font-size: 1.0625rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.card_price del {
    font-size: 0.8438rem;
    font-weight: 500;
    color: var(--muted-2);
}

.card_price.is-promo ins {
    text-decoration: none;
    color: var(--brand-text);
}

.card_price small {
    font-size: 0.75em;
    font-weight: 600;
    opacity: 0.8;
}

.card_stock {
    margin-top: 4px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--danger);
}

.card.is-out .card_img img {
    filter: grayscale(0.85);
    opacity: 0.7;
}

/* Carte compacte (favoris, vitrines serrées) */
.card-sm .card_name {
    font-size: 0.9375rem;
}

/* 12 · Accueil
-------------------------------------------------------------------------*/
.hero {
    position: relative;
    padding: clamp(16px, 2.4vw, 32px) 0 clamp(36px, 4vw, 64px);
}

.hero_stage {
    position: relative;
    display: grid;
}

.hero_slide {
    grid-area: 1 / 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    align-items: center;
    gap: clamp(24px, 5vw, 80px);
    padding: clamp(28px, 4vw, 56px) clamp(24px, 4vw, 72px) clamp(84px, 7vw, 96px);
    border-radius: var(--r-xl);
    background:
        radial-gradient(900px 480px at 100% 0%, rgba(255, 84, 0, 0.16), transparent 62%),
        radial-gradient(700px 420px at 0% 100%, rgba(255, 190, 120, 0.22), transparent 60%),
        var(--surface);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s;
}

.hero_slide.is-on {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.hero_copy {
    display: grid;
    gap: clamp(14px, 1.8vw, 22px);
    justify-items: start;
}

.hero_kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 34px;
    padding: 0 16px 0 12px;
    border-radius: var(--r-pill);
    background: #fff;
    border: 1px solid var(--line);
    font-size: 0.8438rem;
    font-weight: 700;
}

.hero_kicker i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft);
}

.hero_title {
    font-size: clamp(2.5rem, 5.6vw, 5rem);
}

.hero_title em {
    font-style: normal;
    color: var(--brand-text);
}

.hero_text {
    font-size: clamp(1.0625rem, 1.5vw, 1.25rem);
    color: var(--muted);
    max-width: 44ch;
}

.hero_cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

.hero_news {
    display: grid;
    gap: 10px;
    margin-top: clamp(8px, 2vw, 24px);
    padding-top: 22px;
    border-top: 1px solid var(--line);
    width: 100%;
}

.hero_news_label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

.hero_news_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hnews {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 16px 6px 6px;
    border-radius: var(--r-pill);
    background: #fff;
    border: 1px solid var(--line);
    font-size: 0.8438rem;
    font-weight: 700;
    transition: border-color 0.2s var(--ease), transform 0.25s var(--ease);
}

.hnews:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.hnews img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
}

.hnews small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-text);
}

.hero_media {
    position: relative;
    justify-self: end;
    width: min(100%, 560px);
    aspect-ratio: 1 / 0.94;
}

.hero_media::before {
    content: "";
    position: absolute;
    inset: -4% -4% 6% 8%;
    border-radius: var(--r-xl);
    background: var(--brand);
    transform: rotate(3deg);
}

.hero_media img {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-xl);
    box-shadow: var(--shadow);
}

.hero_badge {
    position: absolute;
    left: -18px;
    bottom: 34px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 12px;
    border-radius: var(--r-pill);
    background: #fff;
    box-shadow: var(--shadow-sm);
    font-size: 0.8438rem;
    font-weight: 700;
}

.hero_badge .ic {
    width: 40px;
    height: 40px;
    padding: 9px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
}

.hero_badge small {
    display: block;
    font-weight: 500;
    color: var(--muted);
}

.hero_nav {
    position: absolute;
    left: clamp(24px, 4vw, 72px);
    bottom: clamp(16px, 2vw, 26px);
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero_dots {
    display: flex;
    gap: 8px;
}

.hero_dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: var(--line-strong);
    transition: width 0.3s var(--ease), background 0.3s var(--ease);
}

.hero_dot.is-on {
    width: 34px;
    background: var(--brand);
}

.hero_arrows {
    display: flex;
    gap: 8px;
}

/* Bande des garanties */
.promises {
    border-block: 1px solid var(--line);
    background: var(--surface);
}

.promises_grid {
    width: var(--shell);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.promise {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px clamp(12px, 2vw, 28px);
    font-size: 0.875rem;
    color: var(--muted);
}

.promise + .promise {
    border-left: 1px solid var(--line);
}

.promise strong {
    display: block;
    font-size: 0.9688rem;
    color: var(--text);
}

.promise_ic {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: none;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
}

/* Rail des rayons */
.rail {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 1.4vw, 20px);
}

.rcard {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--brand);
    isolation: isolate;
}

.rcard img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease);
}

.rcard:hover img {
    transform: scale(1.06);
}

.rcard::after {
    content: "";
    position: absolute;
    inset: 38% 0 0 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(255, 84, 0, 0.96) 18%, rgba(255, 84, 0, 0));
}

.rcard_go {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    transition: transform 0.35s var(--ease-out), background 0.25s var(--ease), color 0.25s var(--ease);
}

.rcard:hover .rcard_go {
    transform: rotate(-45deg);
    background: #fff;
    color: var(--ink);
}

.rcard_text {
    position: absolute;
    left: clamp(14px, 1.6vw, 22px);
    right: 14px;
    bottom: clamp(14px, 1.6vw, 22px);
    z-index: 2;
    color: var(--ink);
}

.rcard_name,
.rcard_count {
    display: block;
}

.rcard_name {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.9vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.rcard_count {
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* Bandeau défilant incliné : il sépare deux rayons de l'accueil */
.ribbon_wrap {
    overflow: hidden;
    padding: 30px 0;
    margin: clamp(24px, 3vw, 56px) 0;
}

.ribbon {
    position: relative;
    z-index: 2;
    margin: 0 -3vw;
    padding: 16px 0;
    background: var(--ink);
    color: #fff;
    transform: rotate(-1.4deg);
    overflow: hidden;
}

.ribbon_track {
    display: flex;
    width: max-content;
    animation: ribbon 46s linear infinite;
}

.ribbon:hover .ribbon_track {
    animation-play-state: paused;
}

.ribbon_group {
    display: flex;
    flex: none;
    align-items: center;
}

.ribbon_group span {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding-right: 22px;
    font-family: var(--font-mono);
    font-size: 0.9063rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ribbon_group span::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand);
}

@keyframes ribbon {
    to {
        transform: translateX(-50%);
    }
}

/* Vitrine par rayon */
.showcase + .showcase {
    margin-top: clamp(40px, 5vw, 72px);
}

/* Bloc vente en gros */
.wholesale {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 4vw, 64px);
    padding: clamp(32px, 5vw, 72px);
    border-radius: var(--r-xl);
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}

.wholesale::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -140px;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 84, 0, 0.55), rgba(255, 84, 0, 0) 68%);
    z-index: -1;
}

.wholesale .t-h2 {
    color: #fff;
}

.wholesale p {
    margin-top: 16px;
    max-width: 50ch;
    color: rgba(255, 255, 255, 0.75);
}

.wholesale_cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.wholesale_big {
    justify-self: end;
    text-align: right;
}

.wholesale_big strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(5rem, 11vw, 9.5rem);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.05em;
    color: var(--brand);
}

.wholesale_big span {
    display: block;
    margin-top: 10px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

/* Bloc d'appel avant le pied de page */
.callout {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px 48px;
    flex-wrap: wrap;
    padding: clamp(32px, 5vw, 64px);
    border-radius: var(--r-xl);
    background: var(--surface);
    overflow: hidden;
    isolation: isolate;
}

.callout .prose {
    max-width: 56ch;
}

.callout .prose p {
    color: var(--muted);
}

.callout_mark {
    position: absolute;
    right: -30px;
    bottom: -50px;
    width: 280px;
    height: auto;
    opacity: 0.12;
    z-index: -1;
    pointer-events: none;
}


/* 13 · Boutique
-------------------------------------------------------------------------*/
.shop {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: clamp(28px, 4vw, 60px);
    align-items: start;
}

.filters {
    position: sticky;
    top: var(--stick-top);
    max-height: calc(100vh - var(--stick-top) - 24px);
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
}

.filters_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 14px;
}

.filters_title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.filters_clear {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand-text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.filters_close {
    display: none;
}

.fgroup {
    border-top: 1px solid var(--line);
    padding: 20px 0;
}

.fgroup summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    font-weight: 800;
    font-size: 1rem;
}

.fgroup summary::-webkit-details-marker {
    display: none;
}

.fgroup summary .ic {
    width: 18px;
    height: 18px;
    transition: transform 0.25s var(--ease);
}

.fgroup[open] summary .ic {
    transform: rotate(180deg);
}

.fgroup_list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.fgroup_list a.check:hover,
.fgroup_list label.check:hover {
    color: var(--brand-text);
}

.fgroup a.check.is-current {
    font-weight: 800;
    color: var(--text);
}

.price-range {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.price-range .input {
    min-height: 46px;
    padding: 0 14px;
    font-family: var(--font-mono);
    font-size: 0.9375rem;
}

.price-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

/* La colonne des filtres prend de la place : trois produits par ligne, quatre sur grand écran */
@media (min-width: 1100px) {
    .shop .grid-products {
        --cols: 3;
    }
}

@media (min-width: 1440px) {
    .shop .grid-products {
        --cols: 4;
    }
}

.shop_bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 16px;
    padding-bottom: 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.shop_count {
    color: var(--muted);
}

.shop_count strong {
    color: var(--text);
    font-family: var(--font-mono);
}

.shop_tools {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sortbtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 46px;
    padding: 0 20px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--line-strong);
    background: #fff;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: border-color 0.2s var(--ease);
}

.sortbtn:hover {
    border-color: var(--ink);
}

.sortbtn select {
    max-width: 190px;
    text-overflow: ellipsis;
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    font-weight: 700;
    font-size: 0.9375rem;
    padding-right: 4px;
    cursor: pointer;
}

.sortbtn select:focus {
    outline: none;
}

.sortbtn:focus-within {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}

.filters-toggle {
    display: none;
}

.applied {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.applied:empty {
    display: none;
}

.applied .chip {
    cursor: pointer;
}

.applied .chip .ic {
    width: 14px;
    height: 14px;
}

.shop-empty {
    display: grid;
    justify-items: center;
    gap: 16px;
    padding: clamp(48px, 8vw, 96px) 20px;
    text-align: center;
    border-radius: var(--r-xl);
    background: var(--surface);
}

.shop-empty .ic {
    width: 56px;
    height: 56px;
    stroke-width: 1.2;
    color: var(--brand);
}

/* 14 · Fiche produit
-------------------------------------------------------------------------*/
.product {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(28px, 4.5vw, 72px);
    align-items: start;
    padding-bottom: clamp(32px, 4vw, 56px);
}

.gallery {
    position: sticky;
    top: var(--stick-top);
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
}

.gallery_thumbs {
    display: grid;
    gap: 12px;
    align-content: start;
}

.gthumb {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 18px;
    overflow: hidden;
    border: 2px solid transparent;
    background: var(--surface);
    opacity: 0.75;
    transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}

.gthumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gthumb:hover {
    opacity: 1;
}

.gthumb.is-on {
    opacity: 1;
    border-color: var(--ink);
}

.gallery_main {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--surface);
    touch-action: pan-y;
}

.gallery_main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery_tags {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    pointer-events: none;
}

.gallery_arrow {
    position: absolute;
    bottom: 18px;
    z-index: 2;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--ink);
    color: #fff;
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.gallery_arrow:hover {
    background: var(--brand);
    color: var(--ink);
}

.gallery_arrow.prev {
    left: 18px;
}

.gallery_arrow.next {
    right: 18px;
}

.gallery-single .gallery_arrow {
    display: none;
}

.pinfo {
    display: grid;
    gap: 20px;
    min-width: 0;
}

.pinfo_top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pinfo_name {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.02;
    text-wrap: balance;
}

.pinfo_ref {
    margin-top: -8px;
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--muted-2);
}

.pinfo_price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.pinfo_price strong {
    font-family: var(--font-mono);
    font-size: clamp(2.2rem, 3.6vw, 3.1rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
}

.pinfo_price strong small {
    font-size: 0.5em;
    font-weight: 600;
}

.pinfo_price del {
    font-family: var(--font-mono);
    font-size: 1.25rem;
    color: var(--muted-2);
}

.pinfo_price.is-promo strong {
    color: var(--brand-text);
}

.pinfo_note {
    flex-basis: 100%;
    font-size: 0.9063rem;
    color: var(--muted);
}

.pinfo_short {
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 1.65;
}

.points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.point {
    display: grid;
    gap: 2px;
    padding: 12px 16px;
    border-radius: var(--r-md);
    background: var(--surface);
    border: 1px solid var(--line);
}

.point small {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.point span {
    font-weight: 700;
    font-size: 0.9375rem;
    line-height: 1.35;
}

.pbuy {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.pbuy .btn {
    flex: 1;
    --h: 56px;
}

.pbuy .qty {
    height: 56px;
}

.pbuy .ibtn {
    width: 56px;
    height: 56px;
}

.pguard {
    display: grid;
    gap: 14px;
    padding: 20px 22px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 0.9375rem;
    color: var(--muted);
}

.pguard li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pguard .ic {
    margin-top: 2px;
    color: var(--brand-text);
}

.pguard strong {
    color: var(--text);
}

.pshare {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--muted);
}

/* Onglets description / caractéristiques */
.tabs_nav {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    border-bottom: 1px solid var(--line);
    scrollbar-width: none;
}

.tabs_nav::-webkit-scrollbar {
    display: none;
}

.tabs_btn {
    position: relative;
    padding: 16px 22px;
    font-weight: 700;
    font-size: 1rem;
    color: var(--muted);
    white-space: nowrap;
    transition: color 0.2s var(--ease);
}

.tabs_btn:hover {
    color: var(--text);
}

.tabs_btn[aria-selected="true"] {
    color: var(--text);
}

.tabs_btn[aria-selected="true"]::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--brand);
}

.tabs_panel {
    padding: clamp(24px, 3vw, 40px) 0 0;
}

.tabs_panel .prose {
    max-width: 78ch;
}

.specs {
    max-width: 780px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    overflow: hidden;
}

.specs div {
    display: grid;
    grid-template-columns: minmax(120px, 0.45fr) 1fr;
    gap: 16px;
    padding: 15px 22px;
    border-bottom: 1px solid var(--line);
}

.specs div:last-child {
    border-bottom: 0;
}

.specs div:nth-child(odd) {
    background: var(--surface);
}

.specs dt {
    font-weight: 700;
    color: var(--muted);
}

.specs dd {
    font-weight: 600;
}

/* Barre d'achat collante */
.buybar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 65;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -20px 40px -30px rgba(21, 19, 15, 0.4);
    transform: translateY(110%);
    transition: transform 0.4s var(--ease-out);
}

.buybar.is-on {
    transform: none;
}

.buybar_in {
    width: var(--shell);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
}

.buybar_img {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--surface);
}

.buybar_txt {
    min-width: 0;
    flex: 1;
}

.buybar_name {
    font-weight: 800;
    line-height: 1.25;
}

.buybar_price {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--brand-text);
}

body.has-buybar .gotop {
    bottom: 96px;
}

body.has-buybar .toasts {
    bottom: 96px;
}

/* 15 · Panier & commande
-------------------------------------------------------------------------*/
.cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 410px;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.cart_list {
    border: 1px solid var(--line);
    border-radius: var(--r-xl);
    padding: 8px clamp(16px, 3vw, 32px);
}

.cline {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) auto auto 44px;
    align-items: center;
    gap: 16px 24px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
}

.cline:last-child {
    border-bottom: 0;
}

.cline_img {
    width: 104px;
    height: 104px;
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--surface);
}

.cline_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cline_name {
    font-weight: 800;
    font-size: 1.0625rem;
    line-height: 1.3;
}

.cline_name:hover {
    color: var(--brand-text);
}

.cline_unit {
    margin-top: 6px;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--muted-2);
}

.cline_min {
    margin-top: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand-text);
}

.cline_total {
    min-width: 110px;
    text-align: right;
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 700;
}

.cline_remove {
    color: var(--muted-2);
}

.summary {
    position: sticky;
    top: var(--stick-top);
    display: grid;
    gap: 18px;
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
}

.summary_title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.summary_row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    color: var(--muted);
}

.summary_row strong {
    font-family: var(--font-mono);
    color: var(--text);
    font-weight: 700;
}

.summary_row.is-free strong {
    color: var(--green);
}

.summary_total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-top: 18px;
    border-top: 1px dashed var(--line-strong);
    font-weight: 800;
}

.summary_total strong {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.cart-empty {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: clamp(56px, 9vw, 112px) 20px;
    text-align: center;
    border-radius: var(--r-xl);
    background: var(--surface);
}

.cart-empty .ic {
    width: 64px;
    height: 64px;
    stroke-width: 1.1;
    color: var(--brand);
}

/* Commande */
.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: clamp(28px, 4vw, 56px);
    align-items: start;
}

.form-card {
    display: grid;
    gap: 22px;
    padding: clamp(22px, 3.4vw, 40px);
    border-radius: var(--r-xl);
    border: 1px solid var(--line);
    background: #fff;
}

.form-step {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.form-step b {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 0.9375rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.cod {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: var(--r-md);
    background: var(--brand-soft);
    border: 1.5px solid rgba(255, 84, 0, 0.4);
}

.cod .ic {
    width: 28px;
    height: 28px;
    margin-top: 2px;
    color: var(--brand-text);
}

.cod strong {
    display: block;
}

.cod span {
    font-size: 0.9375rem;
    color: var(--muted);
}

.osum_line {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 14px;
    font-size: 0.9375rem;
}

.osum_line img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--surface-2);
}

.osum_line b {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
}

.osum_line small {
    display: block;
    font-family: var(--font-mono);
    color: var(--muted-2);
}

.osum_list {
    display: grid;
    gap: 14px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 4px;
}

/* Confirmation de commande */
.done {
    display: grid;
    justify-items: center;
    gap: 18px;
    max-width: 640px;
    margin-inline: auto;
    padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 48px);
    text-align: center;
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
}

.done_ic {
    display: grid;
    place-items: center;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
}

.done_ic.is-bad {
    background: var(--danger);
}

.done_ic .ic {
    width: 40px;
    height: 40px;
    stroke-width: 2.6;
}

.done_ref {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--r-pill);
    background: #fff;
    border: 1.5px dashed var(--line-strong);
    font-family: var(--font-mono);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}


/* 16 · Pages de contenu
-------------------------------------------------------------------------*/
/* Accordéon (FAQ) */
.faq {
    display: grid;
    gap: 12px;
    max-width: 900px;
}

.faq_item {
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: #fff;
    transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.faq_item[open] {
    border-color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.faq_item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.faq_item summary::-webkit-details-marker {
    display: none;
}

.faq_plus {
    position: relative;
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface);
    transition: background 0.25s var(--ease), transform 0.35s var(--ease-out);
}

.faq_plus::before,
.faq_plus::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 14px;
    height: 2px;
    margin: -1px 0 0 -7px;
    border-radius: 2px;
    background: var(--ink);
}

.faq_plus::after {
    transform: rotate(90deg);
    transition: transform 0.3s var(--ease);
}

.faq_item[open] .faq_plus {
    background: var(--brand);
}

.faq_item[open] .faq_plus::after {
    transform: rotate(0);
}

.faq_body {
    padding: 0 26px 24px;
    color: var(--muted);
    font-size: 1.0313rem;
    line-height: 1.7;
}

.faq_body strong {
    color: var(--text);
}

/* Contact */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: clamp(28px, 4vw, 64px);
    align-items: start;
}

.ccards {
    display: grid;
    gap: 14px;
}

.ccard {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 20px 24px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: #fff;
    transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

a.ccard:hover {
    border-color: var(--ink);
    transform: translateY(-2px);
}

.ccard_ic {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: none;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
}

.ccard small {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted-2);
}

.ccard strong {
    font-size: 1.125rem;
    font-weight: 800;
    overflow-wrap: anywhere;
}

/* À propos */
.about_hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
}

.about_visual {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    border-radius: var(--r-xl);
    background:
        radial-gradient(520px 320px at 100% 0%, rgba(255, 84, 0, 0.2), transparent 65%),
        var(--surface);
}

.about_visual img {
    width: 56%;
    height: auto;
}

.values {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.value {
    display: grid;
    gap: 12px;
    align-content: start;
    padding: 28px 26px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}

.value .ic {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
}

.value h3 {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.value p {
    color: var(--muted);
    font-size: 0.9688rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: var(--r-xl);
    background: var(--ink);
    color: #fff;
    overflow: hidden;
}

.stat {
    padding: clamp(24px, 3vw, 44px) clamp(16px, 2.4vw, 36px);
}

.stat + .stat {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.stat strong {
    display: block;
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--brand);
    line-height: 1.1;
}

.stat span {
    display: block;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9375rem;
}

/* Livraison & paiement : étapes */
.steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    counter-reset: step;
}

.step {
    position: relative;
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 26px 24px;
    border-radius: var(--r-lg);
    border: 1px solid var(--line);
    background: #fff;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    font-family: var(--font-mono);
    font-weight: 700;
}

.step h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.015em;
}

.step p {
    color: var(--muted);
    font-size: 0.9375rem;
}

.infocards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.infocard {
    display: grid;
    gap: 10px;
    align-content: start;
    padding: 28px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
}

.infocard .big {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.infocard h3 {
    font-family: var(--font-display);
    font-size: 1.1875rem;
    font-weight: 800;
}

.infocard p {
    color: var(--muted);
}

/* Vente en gros */
.gros-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    padding: clamp(28px, 4vw, 52px);
    border-radius: var(--r-xl);
    background: var(--surface);
    border: 1px solid var(--line);
}

.gros-points {
    display: grid;
    gap: 14px;
}

.gros-points li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.gros-points .ic {
    margin-top: 3px;
    padding: 4px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    stroke-width: 3;
}

.gros-cat {
    display: flex;
    align-items: baseline;
    gap: 14px;
    flex-wrap: wrap;
    margin: clamp(36px, 5vw, 64px) 0 24px;
}

.gros-cat span {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--muted-2);
}

.card_gros {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: var(--r-md);
    background: var(--surface);
    font-size: 0.8125rem;
    color: var(--muted);
}

.card_gros strong {
    font-family: var(--font-mono);
    color: var(--text);
}

.card_gros .btn {
    margin-top: 8px;
}

/* 404 */
.lost {
    display: grid;
    justify-items: center;
    gap: 18px;
    padding: clamp(40px, 8vw, 110px) 0;
    text-align: center;
}

.lost img {
    width: clamp(110px, 16vw, 170px);
    height: auto;
}

.lost_code {
    font-family: var(--font-mono);
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--brand-text);
}

/* Pages juridiques */
.legal {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: start;
}

.legal_toc {
    position: sticky;
    top: var(--stick-top);
    display: grid;
    gap: 4px;
    padding: 18px;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 0.9063rem;
}

.legal_toc a {
    padding: 8px 12px;
    border-radius: 10px;
    color: var(--muted);
    font-weight: 600;
}

.legal_toc a:hover {
    background: #fff;
    color: var(--text);
}

.legal .prose h2:first-child {
    margin-top: 0;
}

/* Favoris */
.fav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

/* 17 · Mouvements
-------------------------------------------------------------------------*/
/* Les contenus sont visibles par défaut ; l'apparition progressive n'existe que si le script l'a activée,
   et un filet de sécurité les révèle de toute façon après 2,5 s. */
.fx [data-fx]:not(.is-in) {
    opacity: 0;
    transform: translateY(22px);
    animation: fx-fallback 0s 2.5s forwards;
}

.fx [data-fx] {
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
    transition-delay: calc(var(--i, 0) * 70ms);
}

@keyframes fx-fallback {
    to {
        opacity: 1;
        transform: none;
    }
}

/* Barre de progression de lecture */
.readbar {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 200;
    height: 3px;
    width: 100%;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

/* Produit qui s'envole vers le panier */
.fly {
    position: fixed;
    z-index: 150;
    border-radius: 18px;
    object-fit: cover;
    pointer-events: none;
    box-shadow: 0 20px 40px -14px rgba(21, 19, 15, 0.5);
    transition: transform 0.75s cubic-bezier(0.5, -0.1, 0.35, 1), opacity 0.75s var(--ease);
}

/* Confort de lecture : animations coupées si le visiteur le demande */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .ribbon_track {
        animation: none;
    }
}

/* 18 · Adaptations
-------------------------------------------------------------------------*/
@media (max-width: 1279px) {
    .topbar_links .topbar_page {
        display: none;
    }

    .foot_top {
        grid-template-columns: 1.2fr 1fr 1fr;
    }

    .foot_brand {
        grid-column: 1 / -1;
    }

    .foot_brand p {
        max-width: 60ch;
    }
}

@media (max-width: 1099px) {
    :root {
        --bar-h: 68px;
        --stick-top: calc(var(--bar-h) + 24px);
    }

    .head_cats,
    .mega {
        display: none;
    }

    .head_inner {
        grid-template-columns: auto 1fr auto;
        gap: 12px;
    }

    .head_burger {
        display: inline-flex;
    }

    .head_logo img {
        height: 42px;
    }

    .head_search {
        width: 46px;
        height: 46px;
        padding: 0;
        justify-content: center;
        justify-self: end;
        border-color: var(--line-strong);
        background: #fff;
    }

    .head_search_text,
    .head_search kbd {
        display: none;
    }

    .head_search_go {
        width: 100%;
        height: 100%;
        background: transparent;
    }

    .head_cart_label,
    .head_cart_total {
        display: none;
    }

    .head_cart {
        width: 46px;
        padding: 0;
    }

    .shop {
        grid-template-columns: minmax(0, 1fr);
    }

    .filters {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 100;
        max-height: 88vh;
        padding: 22px 22px 28px;
        border-radius: var(--r-xl) var(--r-xl) 0 0;
        background: #fff;
        box-shadow: 0 -30px 60px -30px rgba(21, 19, 15, 0.45);
        transform: translateY(104%);
        visibility: hidden;
        transition: transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
    }

    .filters.is-open {
        transform: none;
        visibility: visible;
        transition-delay: 0s;
    }

    .filters_close {
        display: inline-grid;
    }

    .filters-toggle {
        display: inline-flex;
    }

    .product {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery {
        position: static;
    }

    .cart,
    .checkout {
        grid-template-columns: minmax(0, 1fr);
    }

    .summary {
        position: static;
    }

    .contact,
    .about_hero,
    .gros-intro,
    .wholesale {
        grid-template-columns: minmax(0, 1fr);
    }

    .wholesale_big {
        justify-self: start;
        text-align: left;
    }

    .values,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .legal {
        grid-template-columns: minmax(0, 1fr);
    }

    .legal_toc {
        position: static;
        grid-auto-flow: column;
        overflow-x: auto;
    }

    .legal_toc a {
        white-space: nowrap;
    }

    .hero_slide {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 84px;
    }

    .hero_media {
        justify-self: center;
        width: min(100%, 460px);
        order: -1;
    }

    .rail {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        margin-inline: calc(var(--shell-gap, 16px) * -1);
        padding-inline: var(--shell-gap, 16px);
        scrollbar-width: none;
    }

    .rail::-webkit-scrollbar {
        display: none;
    }

    .rcard {
        flex: 0 0 min(64vw, 280px);
        scroll-snap-align: start;
    }

    .promises_grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promise:nth-child(3) {
        border-left: 0;
    }

    .promise:nth-child(n + 3) {
        border-top: 1px solid var(--line);
    }

    .infocards {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 899px) {
    .cline {
        grid-template-columns: 84px minmax(0, 1fr) auto;
        gap: 12px 16px;
    }

    .cline_img {
        width: 84px;
        height: 84px;
        grid-row: span 2;
    }

    .cline_total {
        grid-column: 2;
        text-align: left;
    }

    .cline_remove {
        grid-column: 3;
        grid-row: 1;
    }

    .stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat:nth-child(3) {
        border-left: 0;
    }

    .stat:nth-child(n + 3) {
        border-top: 1px solid rgba(255, 255, 255, 0.14);
    }

    .qv {
        grid-template-columns: minmax(0, 1fr);
    }

    .qv_info {
        padding-right: 0;
    }
}

@media (max-width: 719px) {
    :root {
        --shell-gap: 16px;
        --shell: calc(100% - 32px);
        --top-h: 36px;
    }

    .head_actions {
        gap: 8px;
    }

    .topbar_links a:not(.topbar_phone),
    .topbar_links .topbar_sep {
        display: none;
    }

    .gallery {
        grid-template-columns: minmax(0, 1fr);
    }

    .gallery_thumbs {
        order: 2;
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .gthumb {
        border-radius: 14px;
    }

    .points,
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .foot_top {
        grid-template-columns: 1fr 1fr;
    }

    .foot_top > :last-child {
        grid-column: 1 / -1;
    }

    .foot_bottom_in {
        flex-direction: column;
        align-items: flex-start;
    }

    .values,
    .steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .toasts {
        right: 12px;
        left: 12px;
        bottom: 16px;
        justify-items: center;
    }

    .gotop {
        right: 14px;
        bottom: 16px;
        width: 46px;
        height: 46px;
    }

    .hero_nav {
        left: 22px;
    }

    .pbuy {
        flex-wrap: wrap;
    }

    .pbuy .btn {
        flex: 1 1 100%;
        order: 3;
    }

    .modal {
        padding: 10px;
        align-items: end;
    }

    .modal_card {
        border-radius: var(--r-xl) var(--r-xl) 0 0;
        max-height: 92vh;
    }

    .buybar_in .btn {
        padding: 0 18px;
    }

    .ribbon_group span {
        font-size: 0.8125rem;
    }
}

@media (max-width: 479px) {
    .head_act[data-fav-link] {
        display: none;
    }

    .head_logo img {
        height: 36px;
    }

    .card_name {
        font-size: 0.9375rem;
    }

    .card_price {
        font-size: 0.9688rem;
    }

    .promise {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 18px 12px;
    }

    .stat strong {
        font-size: 1.75rem;
    }

    .hero_title {
        font-size: clamp(2.2rem, 11vw, 3rem);
    }

    .buybar_img {
        display: none;
    }
}

/* 19 · Impression
-------------------------------------------------------------------------*/
@media print {
    .head,
    .foot,
    .drawer,
    .scrim,
    .search-sheet,
    .modal,
    .toasts,
    .gotop,
    .buybar,
    .ribbon,
    .readbar {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .card_add,
    .card_tools {
        display: none;
    }
}


/* 20 · Compléments
-------------------------------------------------------------------------*/
/* Pictogramme dans une pastille (cartes d'information) */
.ic-big {
    width: 52px;
    height: 52px;
    padding: 12px;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
}

/* Inscription aux nouveautés, dans le pied de page */
.newsletter-form {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 380px;
    margin-top: 24px;
    padding: 6px 6px 6px 20px;
    border-radius: var(--r-pill);
    border: 1.5px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s var(--ease);
}

.newsletter-form:focus-within {
    border-color: var(--brand);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 42px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 0.9375rem;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: none;
    border-radius: 50%;
    background: var(--brand);
    color: var(--ink);
    transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.newsletter-form button:hover {
    background: #fff;
}

.newsletter-form .field-error {
    display: none;
}

.newsletter-form .is-bad {
    box-shadow: none;
}

.newsletter-label {
    margin-top: 22px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
}

.newsletter-feedback {
    max-width: 380px;
    margin-top: 12px;
    font-size: 0.875rem;
}

/* Page de contenu : la grille juridique n'a qu'une colonne quand elle sert de simple texte */
.legal-one {
    grid-template-columns: minmax(0, 1fr);
}

/* Notification : le conteneur ne bloque pas les clics sur la page */
.toasts:empty {
    display: none;
}

/* Cartes de la page Vente en gros : un peu plus d'air pour le bloc de lot */
.is-gros .card_body {
    gap: 4px;
}

/* Les liens de contact du pied de page restent lisibles au clavier */
.foot a:focus-visible,
.topbar a:focus-visible {
    outline-color: #fff;
}

/* Colonnes uniques des blocs en grille : elles peuvent rétrécir, sinon un bouton ou un mot long élargit tout le bloc */
.card_body,
.card_gros,
.pinfo,
.field,
.form-card,
.summary,
.value,
.step,
.infocard,
.ccards,
.faq,
.qv_info,
.qv_media,
.point,
.pguard,
.mega_item,
.gros-points {
    grid-template-columns: minmax(0, 1fr);
}

.card_gros .btn {
    white-space: normal;
    line-height: 1.2;
    padding-block: 10px;
    height: auto;
    min-height: 40px;
}

/* Boutique sur petit écran : les deux boutons (filtrer, trier) se partagent la ligne */
@media (max-width: 719px) {
    .shop_tools {
        width: 100%;
    }

    .shop_tools .sortbtn {
        flex: 1 1 0;
        min-width: 0;
        justify-content: center;
    }

    .shop_tools .sortbtn select {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

/* Méga-menu : les prix s'alignent en bas, quelle que soit la longueur du nom */
.mega_item {
    grid-template-rows: auto 1fr auto;
}

/* Rangée des rayons sur écran moyen : on resserre pour que tout reste visible sans défiler */
@media (min-width: 1100px) and (max-width: 1399px) {
    .catnav a,
    .catnav button {
        padding: 0 9px;
        font-size: 0.9rem;
        gap: 5px;
    }

    .catnav_sep {
        margin: 0 2px;
    }

    .catnav a > .ic:not(.chev) {
        display: none;
    }
}

@media (min-width: 1100px) and (max-width: 1259px) {
    .catnav .chev {
        display: none;
    }

    .catnav a,
    .catnav button {
        padding: 0 8px;
        font-size: 0.875rem;
    }
}

/* Accueil : rythme vertical resserré entre les vitrines */
#rayons {
    padding-bottom: clamp(16px, 2vw, 32px);
}

.showcase {
    padding-block: clamp(28px, 3.4vw, 48px);
}

.showcase + .showcase {
    margin-top: 0;
}

.ribbon_wrap {
    margin-block: clamp(8px, 1.5vw, 24px);
}

/* Bandeau : le texte se coupe proprement par « … » s'il manque de place */
.ticker p span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Très petit écran : le bandeau garde toute sa largeur pour le message (le téléphone reste dans le menu et l'accueil) */
@media (max-width: 479px) {
    .topbar_links {
        display: none;
    }

    .ticker p {
        justify-content: center;
    }
}
