/* ==========================================================
   Destokage Direct — feuille de style principale
   ========================================================== */
:root {
    --primary: #ef4444;        /* rouge déstockage */
    --primary-dark: #b91c1c;
    --accent: #f59e0b;         /* jaune urgence */
    --accent-dark: #b45309;
    --dark: #0f172a;           /* bleu nuit pour texte */
    --grey-1: #64748b;
    --grey-2: #94a3b8;
    --grey-3: #cbd5e1;
    --grey-4: #e2e8f0;
    --grey-5: #f1f5f9;
    --grey-6: #f8fafc;
    --green: #16a34a;
    --bg: #ffffff;
    --shadow-sm: 0 1px 3px rgba(15,23,42,.08);
    --shadow-md: 0 4px 16px rgba(15,23,42,.08);
    --shadow-lg: 0 12px 40px rgba(15,23,42,.12);
    --radius: 10px;
    --radius-sm: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark); background: var(--bg); line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: 2.4rem; font-weight: 800; }
h2 { font-size: 1.8rem; font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.lead { font-size: 1.1rem; color: var(--grey-1); }

/* TOPBAR */
.topbar { background: var(--dark); color: #fff; font-size: .85rem; padding: 8px 0; }
.topbar-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.topbar span { white-space: nowrap; }

/* HEADER */
.site-header { background: #fff; border-bottom: 1px solid var(--grey-4); position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-sm); }
.header-grid { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; padding: 18px 20px; max-width: 1240px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--dark); }
.brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(220, 38, 38, .25);
    transition: transform .15s ease, box-shadow .15s ease;
}
.brand:hover .brand-mark {
    transform: rotate(-3deg) scale(1.05);
    box-shadow: 0 4px 14px rgba(220, 38, 38, .4);
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-text strong { display: block; font-size: 1.18rem; font-weight: 800; letter-spacing: -0.3px; line-height: 1.15; }
.brand-text strong .brand-accent { color: var(--primary); }
.brand-text small { color: var(--grey-1); font-size: .78rem; line-height: 1.3; display: block; margin-top: 2px; }

.search { display: flex; max-width: 480px; position: relative; }
.search input { flex: 1; padding: 12px 16px; border: 2px solid var(--grey-4); border-right: 0; border-radius: 8px 0 0 8px; font-size: 15px; outline: none; }
.search input:focus { border-color: var(--primary); }
.search button { background: var(--primary); color: #fff; border: 0; padding: 0 20px; border-radius: 0 8px 8px 0; cursor: pointer; font-size: 16px; }
.search button:hover { background: var(--primary-dark); }

/* ================================================
   AVIS VIDÉO — TikTok-style cards (homepage)
   ================================================ */
.video-reviews {
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    padding: 60px 0 70px;
    position: relative;
    overflow: hidden;
}
.video-reviews::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(220,38,38,.15) 0%, transparent 70%);
    pointer-events: none;
}
.video-reviews .vr-head { text-align: center; margin-bottom: 40px; position: relative; z-index: 1; }
.video-reviews .vr-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 6px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 14px;
    box-shadow: 0 4px 14px rgba(220,38,38,.4);
}
.video-reviews .section-title { color: #fff; }
.video-reviews .section-title em { color: #fbbf24; font-style: normal; }
.video-reviews .section-lead { color: rgba(255,255,255,.85); max-width: 720px; margin: 0 auto; }
.video-reviews .section-lead strong { color: #fbbf24; }

/* === Bouton "Laisser votre avis vidéo" === */
.vr-submit-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 18px;
    padding: 12px 22px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f1f1f;
    border: 0;
    border-radius: 999px;
    font-weight: 800; font-size: .95rem;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(251,191,36,.45);
    transition: transform .15s ease, box-shadow .15s ease;
}
.vr-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(251,191,36,.6); }
.vr-submit-btn:active { transform: translateY(0); }

/* === Modale soumission vidéo === */
.vr-submit-modal {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
}
.vr-submit-modal[hidden] { display: none; }
.vr-submit-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); cursor: pointer; }
.vr-submit-dialog {
    position: relative;
    background: #fff;
    border-radius: 18px;
    max-width: 540px; width: 100%;
    max-height: 92vh; overflow-y: auto;
    padding: 28px 26px 22px;
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    animation: vrSubmitIn .25s ease;
}
@keyframes vrSubmitIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
.vr-submit-x {
    position: absolute; top: 12px; right: 14px;
    width: 36px; height: 36px;
    background: #f1f1f1; border: 0; border-radius: 50%;
    cursor: pointer; font-size: 16px; color: #333;
}
.vr-submit-x:hover { background: #e0e0e0; }
.vr-submit-head { text-align: center; margin-bottom: 22px; }
.vr-submit-head h3 { margin: 0 0 8px; font-size: 1.4rem; color: #1f1f1f; }
.vr-submit-head p { margin: 0; color: #666; font-size: .92rem; line-height: 1.5; }
.vr-field { margin-bottom: 14px; }
.vr-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.vr-field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; color: #333; }
.vr-field label .req { color: var(--primary); }
.vr-field input[type=text], .vr-field select, .vr-field textarea, .vr-field input[type=file] {
    width: 100%; padding: 10px 12px;
    border: 1.5px solid #ddd; border-radius: 10px;
    font-size: .95rem; font-family: inherit;
    background: #fafafa; color: #1f1f1f;
    transition: border-color .15s, background .15s;
}
.vr-field input[type=file] { padding: 8px; background: #fafafa; }
.vr-field input:focus, .vr-field select:focus, .vr-field textarea:focus {
    outline: 0; border-color: var(--primary); background: #fff;
}
.vr-field textarea { resize: vertical; min-height: 60px; }
.vr-help { display: block; margin-top: 5px; font-size: .78rem; color: #888; }
.vr-submit-actions { margin-top: 18px; text-align: center; }
.vr-submit-actions .btn-primary { width: 100%; }
.vr-submit-note { margin: 10px 0 0; font-size: .78rem; color: #888; }
.vr-btn-loading { display: inline-block; }
.vr-submit-result {
    margin-top: 14px; padding: 12px 14px; border-radius: 10px;
    font-size: .92rem; font-weight: 600; text-align: center;
}
.vr-submit-result.ok { background: #ecfdf5; color: #047857; border: 1.5px solid #34d399; }
.vr-submit-result.err { background: #fef2f2; color: #b91c1c; border: 1.5px solid #f87171; }

@media (max-width: 520px) {
    .vr-field-row { grid-template-columns: 1fr; }
    .vr-submit-dialog { padding: 22px 18px 16px; }
}

.vr-carousel-wrap { position: relative; }

.vr-carousel {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 10px 4px 24px;
    margin: 0 -4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.vr-carousel::-webkit-scrollbar { display: none; }

.vr-card {
    flex: 0 0 auto;
    width: 240px;
    scroll-snap-align: start;
    transition: transform .25s ease, box-shadow .25s ease;
}
.vr-card:hover {
    transform: translateY(-4px);
}

.vr-thumb {
    aspect-ratio: 9/16;
    background: #000;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35), 0 2px 6px rgba(0, 0, 0, .2);
    border: 1.5px solid rgba(255, 255, 255, .08);
    transition: box-shadow .25s ease, border-color .25s ease;
}
.vr-card:hover .vr-thumb {
    box-shadow: 0 12px 36px rgba(220, 38, 38, .4), 0 4px 10px rgba(0, 0, 0, .25);
    border-color: rgba(220, 38, 38, .5);
}
.vr-thumb video {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Placeholder affiché avant que la vidéo se charge (ne consomme aucune bande passante) */
.vr-placeholder {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1f2937;
    background-image: linear-gradient(135deg, #374151 0%, #1f2937 100%);
    display: grid;
    place-items: center;
    transition: opacity .35s ease;
    z-index: 2;
}
.vr-placeholder.is-hidden { opacity: 0; pointer-events: none; }
.vr-placeholder .vr-play-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--primary);
    font-size: 22px;
    display: grid;
    place-items: center;
    padding-left: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .35);
    animation: vr-pulse 2.5s ease-in-out infinite;
}
@keyframes vr-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(0,0,0,.35); }
    50%      { transform: scale(1.08); box-shadow: 0 6px 22px rgba(220, 38, 38, .45); }
}

.vr-overlay-top {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: linear-gradient(to bottom, rgba(0,0,0,.6) 0%, transparent 100%);
    pointer-events: none;
    z-index: 2;
}
.vr-pill {
    background: rgba(22, 163, 74, .95);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,.3);
    text-transform: uppercase;
    letter-spacing: .3px;
}
.vr-mute {
    background: rgba(0,0,0,.7);
    color: #fff;
    font-size: .85rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.vr-overlay-bottom {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 16px 14px 14px;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.5) 60%, transparent 100%);
    color: #fff;
    z-index: 2;
}
.vr-author { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.vr-author strong { font-size: .98rem; font-weight: 800; }
.vr-author small { font-size: .78rem; color: rgba(255,255,255,.8); }
.vr-stars { color: #fbbf24; font-size: .9rem; letter-spacing: 1px; margin-bottom: 6px; }
.vr-legende {
    margin: 4px 0;
    font-size: .82rem;
    line-height: 1.4;
    color: rgba(255,255,255,.92);
    font-style: italic;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.vr-product {
    display: inline-block;
    margin-top: 4px;
    font-size: .72rem;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.12);
    padding: 3px 9px;
    border-radius: 999px;
    backdrop-filter: blur(6px);
}

.vr-play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(.95);
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: var(--primary);
    border: 0;
    font-size: 22px;
    cursor: pointer;
    display: grid;
    place-items: center;
    padding-left: 4px;
    z-index: 3;
    opacity: 0;
    transition: opacity .25s, transform .25s;
    box-shadow: 0 6px 18px rgba(0,0,0,.4);
}
.vr-card:hover .vr-play {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* Flèches du carousel */
.vr-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: var(--primary);
    border: 0;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
    display: grid;
    place-items: center;
    z-index: 5;
    box-shadow: 0 4px 14px rgba(0,0,0,.4);
    transition: transform .15s, background .15s;
    font-weight: 800;
}
.vr-arrow:hover { transform: translateY(-50%) scale(1.1); background: #fff; }
.vr-arrow-prev { left: -10px; }
.vr-arrow-next { right: -10px; }
@media (max-width: 700px) {
    .vr-arrow { display: none; }
    .vr-card { width: 75vw; max-width: 280px; }
}

/* Modal plein écran */
.vr-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    animation: vr-fade-in .25s ease;
}
.vr-modal[hidden] { display: none; }
@keyframes vr-fade-in { from { opacity: 0; } to { opacity: 1; } }

.vr-modal-content {
    display: grid;
    grid-template-columns: auto 320px;
    gap: 20px;
    align-items: center;
    max-width: 90vw;
    max-height: 90vh;
}
@media (max-width: 800px) {
    .vr-modal-content { grid-template-columns: 1fr; max-height: 90vh; overflow-y: auto; }
}

.vr-modal-video {
    aspect-ratio: 9/16;
    height: min(85vh, 90vw * 16 / 9);
    background: #000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.vr-modal-video video {
    width: 100%; height: 100%;
    object-fit: contain;
    background: #000;
    display: block;
}

.vr-modal-info {
    color: #fff;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 24px;
    backdrop-filter: blur(10px);
}
.vr-modal-info h3 { margin: 0 0 4px; font-size: 1.4rem; }
.vr-modal-info small { color: rgba(255,255,255,.7); font-size: .92rem; display: block; margin-bottom: 12px; }
.vr-modal-info p { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,.92); font-style: italic; margin: 12px 0; }
.vr-modal-stars { color: #fbbf24; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 6px; }
.vr-modal-cta {
    display: block;
    margin-top: 18px;
    padding: 12px 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: background .15s, transform .15s;
}
.vr-modal-cta:hover {
    background: #b91c1c;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.vr-modal-close, .vr-modal-nav {
    position: absolute;
    width: 50px; height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    border: 0;
    cursor: pointer;
    font-size: 22px;
    z-index: 1;
    transition: background .15s, transform .15s;
}
.vr-modal-close { top: 20px; right: 20px; }
.vr-modal-nav { top: 50%; transform: translateY(-50%); }
.vr-modal-prev { left: 20px; }
.vr-modal-next { right: 20px; }
.vr-modal-close:hover, .vr-modal-nav:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.05); }
.vr-modal-close:hover { transform: scale(1.1); }
@media (max-width: 700px) {
    .vr-modal-nav { width: 40px; height: 40px; font-size: 18px; }
    .vr-modal-prev { left: 8px; }
    .vr-modal-next { right: 8px; }
}

/* === Auto-suggest dropdown === */
.search-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1.5px solid var(--grey-4);
    border-radius: 12px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, .15), 0 4px 10px rgba(0, 0, 0, .06);
    z-index: 200;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.search-suggest[hidden] { display: none; }
.ss-header {
    padding: 10px 16px;
    background: var(--grey-6);
    font-size: .75rem;
    font-weight: 700;
    color: var(--grey-1);
    text-transform: uppercase;
    letter-spacing: .5px;
    border-bottom: 1px solid var(--grey-5);
    position: sticky;
    top: 0;
    z-index: 1;
}
.ss-list { list-style: none; margin: 0; padding: 4px 0; }
.ss-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    transition: background-color .12s;
    border-left: 3px solid transparent;
}
.ss-item:hover, .ss-item.is-active {
    background: #fef2f2;
    border-left-color: var(--primary);
}
.ss-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: var(--grey-6);
    border-radius: 8px;
    flex-shrink: 0;
}
.ss-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ss-brand {
    font-size: .7rem;
    font-weight: 700;
    color: var(--grey-2);
    text-transform: uppercase;
    letter-spacing: .4px;
}
.ss-name {
    font-size: .92rem;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ss-name mark {
    background: #fde68a;
    color: var(--dark);
    padding: 0 2px;
    border-radius: 2px;
    font-weight: 700;
}
.ss-cat {
    font-size: .72rem;
    color: var(--grey-1);
    margin-top: 1px;
}
.ss-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex-shrink: 0;
}
.ss-price { color: var(--primary); font-size: 1rem; font-weight: 800; white-space: nowrap; }
.ss-orig {
    font-size: .72rem;
    color: var(--grey-2);
    text-decoration: line-through;
}
.ss-oos {
    font-size: .68rem;
    background: var(--grey-5);
    color: var(--grey-1);
    padding: 2px 7px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: .3px;
}
.ss-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--grey-1);
    font-size: .9rem;
}
.ss-loading {
    padding: 18px 16px;
    text-align: center;
    color: var(--grey-1);
    font-size: .88rem;
    font-style: italic;
}
.ss-loading::before {
    content: '⏳';
    margin-right: 6px;
    display: inline-block;
    animation: ss-spin 1s linear infinite;
}
@keyframes ss-spin { to { transform: rotate(360deg); } }
.ss-all {
    display: block;
    padding: 12px 16px;
    background: var(--grey-6);
    border-top: 1px solid var(--grey-5);
    text-align: center;
    color: var(--primary);
    font-weight: 700;
    font-size: .88rem;
    text-decoration: none;
    border-radius: 0 0 11px 11px;
    position: sticky;
    bottom: 0;
}
.ss-all:hover { background: #fef2f2; text-decoration: none; }

.header-actions { display: flex; gap: 12px; align-items: center; }
.cart-btn { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 14px; background: var(--dark); color: #fff; border-radius: 10px; font-weight: 700; position: relative; transition: background-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.cart-btn:hover { background: #1e293b; text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.cart-icon {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(220, 38, 38, .35), inset 0 0 0 1.5px #fff;
    transition: transform .15s ease;
}
.cart-btn:hover .cart-icon { transform: rotate(-6deg) scale(1.05); }
.cart-icon svg { width: 19px; height: 19px; display: block; }
.cart-count { background: var(--accent, #fbbf24); color: var(--dark); font-size: 12px; font-weight: 800; padding: 2px 7px; border-radius: 999px; min-width: 20px; text-align: center; }

/* Bouton "Vous avez des invendus ?" — rachat de stock */
.invendus-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 12px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1f2937;
    border-radius: 8px;
    font-weight: 700;
    border: 2px solid #f59e0b;
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease;
    line-height: 1.15;
}
.invendus-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, .35);
    text-decoration: none;
    color: #1f2937;
}
.invendus-btn .inv-icon { font-size: 22px; line-height: 1; }
.invendus-btn .inv-text { display: flex; flex-direction: column; line-height: 1.2; }
.invendus-btn .inv-text strong { font-size: .85rem; color: #1f2937; }
.invendus-btn .inv-text small { font-size: .72rem; color: #78350f; font-weight: 500; }
@media (max-width: 720px) {
    .invendus-btn .inv-text small { display: none; }
    .invendus-btn .inv-text strong { font-size: .78rem; }
    .invendus-btn { padding: 8px 10px; }
}
@media (max-width: 480px) {
    .invendus-btn .inv-text { display: none; }
}

/* NAV */
.main-nav { background: var(--grey-6); border-top: 1px solid var(--grey-4); position: relative; }
.main-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; }
.main-nav > .container > ul > li { position: relative; }
.main-nav a { display: block; padding: 14px 18px; color: var(--dark); font-weight: 600; font-size: .95rem; }
.main-nav a:hover { color: var(--primary); text-decoration: none; background: #fff; }
.main-nav .caret { font-size: 10px; opacity: .6; margin-left: 2px; }

/* Sous-menu déroulant */
.main-nav .submenu {
    position: absolute; top: 100%; left: 0; min-width: 240px;
    background: #fff; border: 1px solid var(--grey-4); border-top: 3px solid var(--primary);
    box-shadow: var(--shadow-lg); border-radius: 0 0 8px 8px;
    padding: 6px 0;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .15s, transform .15s, visibility .15s;
    z-index: 60;
    flex-direction: column !important; flex-wrap: nowrap !important;
    display: flex !important;
    gap: 0 !important;
}
.main-nav .has-submenu:hover > .submenu,
.main-nav .has-submenu:focus-within > .submenu {
    opacity: 1; visibility: visible; transform: translateY(0);
}
.main-nav .submenu li { width: 100%; }
.main-nav .submenu a { padding: 10px 18px; font-size: .9rem; font-weight: 500; }
.main-nav .submenu a:hover { background: var(--grey-6); color: var(--primary); }
.main-nav .submenu .submenu-all { border-bottom: 1px solid var(--grey-4); margin-bottom: 4px; }
.main-nav .submenu .submenu-all a { color: var(--primary); font-weight: 700; font-size: .85rem; }
.main-nav .submenu .submenu-all em { font-style: normal; }

/* === Pills de mise en avant dans la nav === */
.main-nav .nav-pill { margin-right: 8px; align-self: center; }
.main-nav .nav-pill a {
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .95rem;
    transition: background-color .12s ease, color .12s ease, transform .12s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.2;
    border: 2px solid transparent;
}
.main-nav .nav-pill a:hover {
    transform: translateY(-1px);
}

/* Variante rouge — Accueil */
.main-nav .nav-pill-red a {
    background: var(--primary);
    color: #fff;
}
.main-nav .nav-pill-red a:hover {
    background: #b91c1c;
    color: #fff;
}

/* Variante jaune — Toutes les bonnes affaires */
.main-nav .nav-pill-yellow a {
    background: #fbbf24;
    color: #1f2937;
}
.main-nav .nav-pill-yellow a:hover {
    background: #f59e0b;
    color: #1f2937;
}

@media (max-width: 720px) {
    .main-nav .nav-pill a { padding: 8px 14px; font-size: .88rem; }
}

/* Chips de sous-catégories sur la page catégorie */
.subcat-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 16px 0 24px; padding: 14px 18px; background: var(--grey-6); border-radius: var(--radius); }
.subcat-chips-label { color: var(--grey-1); font-size: .9rem; font-weight: 600; margin-right: 6px; }
.subcat-chip { background: #fff; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--grey-3); font-size: .9rem; font-weight: 600; color: var(--dark); transition: all .15s; }
.subcat-chip:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

/* HERO */
.hero { background: linear-gradient(135deg, #fef3c7 0%, #fee2e2 100%); padding: 60px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(239,68,68,.15), transparent); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; position: relative; }
.hero-badge { display: inline-block; background: var(--dark); color: var(--accent); padding: 7px 15px; border-radius: 999px; font-size: .85rem; font-weight: 700; letter-spacing: .5px; margin-bottom: 18px; }
.hero h1 { font-size: 3rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.hero h1 .hl { color: var(--primary); }
.hero h1 .hl-yellow { background: var(--accent); padding: 0 12px; color: var(--dark); border-radius: 6px; }
.hero-lead { font-size: 1.15rem; color: var(--dark); margin-bottom: 22px; max-width: 560px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 8px; }
.hero-points li { padding-left: 4px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 30px; flex-wrap: wrap; padding-top: 20px; border-top: 1px solid rgba(15,23,42,.1); }
.hero-trust > div { display: flex; flex-direction: column; }
.hero-trust strong { font-size: 1.4rem; font-weight: 800; }
.hero-trust span { color: var(--accent); font-size: 14px; }
.hero-trust small { color: var(--grey-1); font-size: .85rem; }

.hero-visual { position: relative; min-height: 380px; }
.hero-card { position: absolute; background: #fff; border-radius: 14px; padding: 18px; box-shadow: var(--shadow-lg); width: 240px; }
.hero-card.hc-1 { top: 0; left: 0; transform: rotate(-3deg); }
.hero-card.hc-2 { top: 80px; right: 0; transform: rotate(2deg); z-index: 2; }
.hero-card.hc-3 { bottom: 0; left: 60px; transform: rotate(-1deg); }
.hc-tag { font-size: 11px; font-weight: 800; color: var(--primary); letter-spacing: 1px; margin-bottom: 8px; }
.hc-title { font-weight: 700; font-size: 1rem; margin-bottom: 12px; }
.hc-prices .old { text-decoration: line-through; color: var(--grey-2); font-size: .9rem; margin-right: 8px; }
.hc-prices .new { font-size: 1.4rem; font-weight: 800; color: var(--dark); }
.hc-discount { display: inline-block; margin-top: 8px; background: var(--accent); color: var(--dark); padding: 4px 10px; border-radius: 6px; font-weight: 800; }

/* URGENCY BANNER */
.urgency-banner { background: var(--dark); color: #fff; padding: 14px 0; font-weight: 600; text-align: center; }
.urgency-banner strong { color: var(--accent); }
.urgency-pulse { display: inline-block; width: 10px; height: 10px; background: var(--accent); border-radius: 50%; margin-right: 10px; animation: pulse 1.5s infinite; vertical-align: middle; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1);} 50%{opacity:.5;transform:scale(1.3);} }

/* SECTIONS */
section { padding: 70px 0; }
.section-title { text-align: center; font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.section-lead { text-align: center; color: var(--grey-1); font-size: 1.1rem; max-width: 720px; margin: 0 auto 40px; }

/* ===== WHY — bulles flottantes en quinconce ===== */
.why-section {
    position: relative;
    background: linear-gradient(180deg, #fff 0%, #fff8f1 50%, #fff 100%);
    padding: 80px 0;
    overflow: hidden;
}
.why-section .section-title { position: relative; z-index: 2; }
.why-section .section-lead { position: relative; z-index: 2; }

/* Décor de fond : bulles floues qui flottent */
.why-deco { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.why-bg-bubble {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: .35;
    animation: floatBubble 14s ease-in-out infinite;
}
.why-bg-bubble.b1 { top: 8%; left: 6%; width: 220px; height: 220px; background: #fbbf24; animation-delay: 0s; }
.why-bg-bubble.b2 { top: 22%; right: 4%; width: 180px; height: 180px; background: #fda4af; animation-delay: -3s; }
.why-bg-bubble.b3 { bottom: 18%; left: 14%; width: 240px; height: 240px; background: #fdba74; animation-delay: -7s; }
.why-bg-bubble.b4 { bottom: 8%; right: 12%; width: 160px; height: 160px; background: #fcd34d; animation-delay: -10s; }
.why-bg-bubble.b5 { top: 50%; left: 45%; width: 140px; height: 140px; background: #fbcfe8; animation-delay: -5s; }

@keyframes floatBubble {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(20px, -30px) scale(1.05); }
    50%      { transform: translate(-15px, 20px) scale(.95); }
    75%      { transform: translate(25px, 15px) scale(1.02); }
}

/* Marquee horizontal infini gauche → droite */
.why-marquee {
    /* Variables pixel-précises : largeur bulle + gap + nombre de bulles dans 1 set */
    --bubble-w: 320px;
    --bubble-g: 28px;
    --duration: 80s;
    --set-width: calc((var(--bubble-w) + var(--bubble-g)) * var(--n));

    position: relative;
    overflow: hidden;
    margin: 48px 0 0;
    padding: 30px 0;
    z-index: 2;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y; /* permet le scroll vertical de page tout en captant le drag horizontal */
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
            mask-image: linear-gradient(90deg, transparent 0%, #000 2.5%, #000 97.5%, transparent 100%);
}
.why-marquee.is-dragging { cursor: grabbing; }
.why-marquee.is-dragging .why-bubble { transition: none; }
.why-marquee img { pointer-events: none; -webkit-user-drag: none; user-drag: none; }
.why-track {
    display: flex;
    gap: var(--bubble-g);
    width: max-content;
    will-change: transform;
    animation: whyScrollRL var(--duration) linear infinite;
}

/* Pause au survol (souris) ou sur touch (mobile via attr) */
.why-marquee:hover .why-track,
.why-marquee[data-paused] .why-track {
    animation-play-state: paused;
}

/* Translation pixel-précise = exactement la largeur d'1 set complet (avec son gap)
   → le 7e item arrive PILE à la position que le 1er occupait → boucle invisible */
@keyframes whyScrollRL {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(calc(-1 * var(--set-width)), 0, 0); }
}

/* Respect du paramètre système "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
    .why-track { animation: none; transform: translateX(0); }
}

/* Chaque bulle = carte arrondie en glassmorphism (sans ombre) */
.why-bubble {
    flex: 0 0 var(--bubble-w);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 36px 28px 28px;
    text-align: center;
    border: 1px solid rgba(15, 23, 42, .06);
    position: relative;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .3s;
}
.why-bubble:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

/* Numéro en badge flottant */
.why-bubble-num {
    position: absolute;
    top: -14px; left: 22px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    padding: 6px 14px;
    border-radius: 999px;
    box-shadow: 0 6px 18px rgba(239, 68, 68, .35);
    letter-spacing: 1px;
}

/* Bulle icône — vraie bulle ronde au-dessus du contenu */
.why-bubble-icon {
    width: 92px; height: 92px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7 0%, #fee2e2 100%);
    box-shadow:
        inset 0 4px 12px rgba(255, 255, 255, .8),
        inset 0 -4px 12px rgba(245, 158, 11, .15),
        0 8px 24px rgba(245, 158, 11, .25);
    display: grid; place-items: center;
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
    position: relative;
}
.why-bubble-icon::after {
    content: '';
    position: absolute;
    top: 8px; left: 18px;
    width: 22px; height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .65);
    filter: blur(2px);
    transform: rotate(-25deg);
}
.why-bubble-icon img {
    width: 56px; height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .1));
}
.why-bubble-icon span {
    font-size: 42px;
    line-height: 1;
}
.why-bubble:hover .why-bubble-icon {
    transform: scale(1.08) rotate(-6deg);
}

.why-bubble h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 1.25;
    color: var(--dark);
}
.why-bubble p {
    color: var(--grey-1);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0;
}

/* Animation flottante très douce sur les bulles */
@keyframes floatIn {
    0%, 100% { translate: 0 0; }
    50%      { translate: 0 -6px; }
}

.why { background: #fff; overflow: hidden; }
.why-carousel { position: relative; padding: 8px 0 4px; }
.why-track {
    display: flex; gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 30px 60px 36px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.why-track::-webkit-scrollbar { display: none; }

.why-card {
    flex: 0 0 280px; max-width: 280px;
    background: #fff;
    border-radius: 18px;
    padding: 36px 26px 30px;
    text-align: center;
    border: 1px solid var(--grey-4);
    box-shadow: 0 4px 16px rgba(15,23,42,.05);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    scroll-snap-align: start;
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: .85;
}
.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(239,68,68,.12);
    border-color: var(--accent);
}

.why-icon-wrap {
    width: 96px; height: 96px;
    margin: 0 auto 22px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fef3c7 0%, #fee2e2 100%);
    box-shadow: 0 8px 22px rgba(245,158,11,.18);
    transition: transform .3s;
}
.why-card:hover .why-icon-wrap {
    transform: scale(1.08) rotate(-4deg);
}
.why-icon {
    font-size: 44px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.08));
}
.why-icon-img {
    width: 64px; height: 64px; object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.08));
}

.why-card h3 {
    font-size: 1.1rem;
    margin: 0 0 12px;
    color: var(--dark);
    font-weight: 700;
}
.why-card p {
    color: var(--grey-1);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0;
}

.why-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.95); border: 1px solid var(--grey-3);
    color: var(--dark); font-size: 26px; line-height: 1; font-weight: 600;
    cursor: pointer; z-index: 5;
    display: grid; place-items: center;
    box-shadow: 0 4px 14px rgba(15,23,42,.12); opacity: .6;
    transition: opacity .2s, transform .15s, background .15s, color .15s;
    backdrop-filter: blur(6px);
}
.why-arrow:hover { opacity: 1; background: var(--primary); color: #fff; border-color: var(--primary); transform: translateY(-50%) scale(1.08); }
.why-arrow:active { transform: translateY(-50%) scale(.95); }
.why-arrow-left { left: 14px; }
.why-arrow-right { right: 14px; }

/* Fade gauche/droite */
.why-carousel::before, .why-carousel::after {
    content: ''; position: absolute; top: 0; bottom: 0; width: 80px; pointer-events: none; z-index: 2;
}
.why-carousel::before { left: 0; background: linear-gradient(to right, #fff 30%, transparent); }
.why-carousel::after  { right: 0; background: linear-gradient(to left,  #fff 30%, transparent); }

/* ===== RAYONS — éditorial light, magazine premium ===== */
.rayons {
    background: linear-gradient(180deg, #fef9f3 0%, #fff5ed 60%, #fef9f3 100%);
    padding: 110px 0 90px;
    position: relative;
    overflow: hidden;
}
/* Watermark "Rayons" géant en arrière-plan */
.rayons-watermark {
    position: absolute;
    top: 18px;
    left: -30px;
    right: -30px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(120px, 22vw, 320px);
    color: rgba(239, 68, 68, .055);
    line-height: .85;
    letter-spacing: -.04em;
    pointer-events: none;
    user-select: none;
    z-index: 0;
    white-space: nowrap;
}

.rayons .container { position: relative; z-index: 2; }

.rayons-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 64px;
}
.rayons-eye {
    display: inline-block;
    color: var(--primary);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.rayons-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    font-weight: 800;
    margin: 0 0 18px;
    color: var(--dark);
    letter-spacing: -.02em;
}
.rayons-title em {
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 500;
    color: var(--primary);
}
.rayons-sub {
    color: var(--grey-1);
    font-size: 1.05rem;
    line-height: 1.65;
    margin: 0;
    max-width: 580px;
    margin: 0 auto;
}

/* Grille — 3 colonnes éditoriale, vignettes compactes */
.rayons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px 22px;
    max-width: 1080px;
    margin: 0 auto;
}

/* Carte rayon */
.rayon-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 4px 4px 22px 22px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    border: 1px solid rgba(15, 23, 42, .04);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s, border-color .3s;
    animation: rayonIn .9s cubic-bezier(.22, 1, .36, 1) both;
    animation-delay: var(--delay);
}
@keyframes rayonIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.rayon-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 60px rgba(239, 68, 68, .12);
    border-color: rgba(239, 68, 68, .15);
    text-decoration: none;
}

/* Image avec ratio paysage compact (vignette réduite) */
.rayon-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #fef3c7, #fee2e2);
}
.rayon-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s cubic-bezier(.22, 1, .36, 1);
}
.rayon-card:hover .rayon-img-wrap img { transform: scale(1.06); }

.rayon-img-fallback {
    position: absolute; inset: 0;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #fef3c7, #fde68a 60%, #fee2e2);
}
.rayon-img-fallback span { font-size: 72px; opacity: .55; filter: drop-shadow(0 4px 12px rgba(0,0,0,.08)); }

.rayon-discount {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--dark);
    color: var(--accent);
    padding: 4px 11px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
    z-index: 2;
}

/* Bloc texte compacté */
.rayon-body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.rayon-meta {
    display: flex; align-items: center; gap: 6px;
    color: var(--primary);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
}
.rayon-num { font-weight: 800; }
.rayon-dot { color: var(--grey-3); font-family: inherit; }
.rayon-count { color: var(--grey-1); font-weight: 600; letter-spacing: 1.2px; }

.rayon-name {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 6px;
    color: var(--dark);
    letter-spacing: -.01em;
    transition: color .3s;
}
.rayon-card:hover .rayon-name { color: var(--primary); }

.rayon-tag {
    color: var(--grey-1);
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .88rem;
    line-height: 1.45;
    margin: 0 0 14px;
    flex: 1;
}

.rayon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .3px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    padding-top: 12px;
    margin-top: auto;
    transition: color .3s, gap .3s;
}
.rayon-link svg {
    width: 15px; height: 15px;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.rayon-card:hover .rayon-link {
    color: var(--primary);
    gap: 16px;
}
.rayon-card:hover .rayon-link svg { transform: translateX(4px); }

/* CTA bas */
.rayons-cta {
    text-align: center;
    margin: 64px 0 0;
}
.rayons-cta .btn-ghost {
    border-color: var(--dark);
    color: var(--dark);
}
.rayons-cta .btn-ghost:hover {
    background: var(--dark);
    color: #fff;
    border-color: var(--dark);
}

/* ===== ANCIEN bento (gardé pour rétrocompatibilité, pas utilisé) ===== */
.cats-section-old {
    background: var(--dark);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.cats-section::before {
    content: '';
    position: absolute;
    top: -300px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(239,68,68,.18), transparent 70%);
    pointer-events: none;
}
.cats-section::after {
    content: '';
    position: absolute;
    bottom: -200px; left: -100px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(245,158,11,.12), transparent 70%);
    pointer-events: none;
}
.cats-section .container { position: relative; z-index: 2; }

.cats-header { text-align: center; margin-bottom: 48px; }
.cats-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,.08);
    color: var(--accent);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
    border: 1px solid rgba(255,255,255,.12);
}
.cats-section .section-title { color: #fff; margin-bottom: 12px; }
.cats-section .section-lead { color: rgba(255,255,255,.7); }

/* Bento grid — 6 cellules en mosaïque asymétrique */
.cats-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 280px 280px;
    gap: 16px;
    grid-template-areas:
        "f f c2 c3"
        "f f c4 c5";
}
.cat-tile-0 { grid-area: f;  } /* La 1ère catégorie en grand 2x2 */
.cat-tile-1 { grid-area: c2; }
.cat-tile-2 { grid-area: c3; }
.cat-tile-3 { grid-area: c4; }
.cat-tile-4 { grid-area: c5; }

/* S'il y a une 6e cat, on l'ajoute en bas en pleine largeur */
.cat-tile-5 {
    grid-column: 1 / -1;
    height: 200px;
}
.cats-mosaic:has(.cat-tile-5) {
    grid-template-rows: 280px 280px 200px;
    grid-template-areas:
        "f f c2 c3"
        "f f c4 c5"
        "c6 c6 c6 c6";
}

/* Chaque tuile */
.cat-tile {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    text-decoration: none;
    isolation: isolate;
    box-shadow: 0 16px 40px rgba(0,0,0,.25);
    transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s;
    cursor: pointer;
}
.cat-tile:hover {
    transform: translateY(-6px);
    text-decoration: none;
    box-shadow: 0 28px 60px rgba(239,68,68,.25);
}

.cat-tile-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .8s cubic-bezier(.22,1,.36,1);
    z-index: 1;
    background-color: var(--grey-5);
}
.cat-tile:hover .cat-tile-bg { transform: scale(1.08); }

.cat-tile-bg.cat-tile-emoji {
    background: linear-gradient(135deg, #fef3c7, #fee2e2);
    display: grid; place-items: center;
}
.cat-tile-bg.cat-tile-emoji span { font-size: 100px; opacity: .6; }
.cat-tile-0 .cat-tile-bg.cat-tile-emoji span { font-size: 160px; }

.cat-tile-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(15,23,42,.05) 0%, rgba(15,23,42,.45) 55%, rgba(15,23,42,.85) 100%);
    transition: background .3s;
}
.cat-tile:hover .cat-tile-overlay {
    background:
        linear-gradient(180deg, rgba(15,23,42,.1) 0%, rgba(15,23,42,.55) 55%, rgba(239,68,68,.85) 100%);
}

.cat-tile-badge {
    position: absolute;
    top: 16px; right: 16px;
    background: var(--accent);
    color: var(--dark);
    padding: 7px 13px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .3px;
    z-index: 3;
    box-shadow: 0 6px 18px rgba(245,158,11,.4);
}

.cat-tile-content {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 24px;
    z-index: 3;
    display: flex; flex-direction: column;
    transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.cat-tile-meta { margin-bottom: 8px; }
.cat-tile-count {
    display: inline-block;
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .5px;
    border: 1px solid rgba(255,255,255,.25);
    text-transform: uppercase;
}
.cat-tile-soon { background: rgba(245,158,11,.4); border-color: rgba(245,158,11,.6); }

.cat-tile-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0,0,0,.35);
}
.cat-tile-0 .cat-tile-title { font-size: 2rem; }
.cat-tile-5 .cat-tile-title { font-size: 1.6rem; }

.cat-tile-arrow {
    color: rgba(255,255,255,.85);
    font-size: .9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s, transform .3s;
}
.cat-tile-arrow em { font-style: normal; transition: transform .3s; }
.cat-tile:hover .cat-tile-arrow { opacity: 1; transform: translateY(0); }
.cat-tile:hover .cat-tile-arrow em { transform: translateX(4px); }

.cats-cta { text-align: center; margin: 40px 0 0; }
.cats-section .btn-ghost {
    background: rgba(255,255,255,.08);
    color: #fff;
    border-color: rgba(255,255,255,.3);
}
.cats-section .btn-ghost:hover {
    background: #fff;
    color: var(--dark);
    border-color: #fff;
}

/* PRODUITS */
.featured { background: #fff; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product-card { background: #fff; border: 1px solid var(--grey-4); border-radius: var(--radius); overflow: hidden; color: var(--dark); transition: all .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--grey-3); text-decoration: none; }
.product-img { position: relative; aspect-ratio: 4/3; background: var(--grey-5); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.badge-discount, .badge-liq, .badge-inv, .badge-fin, .badge-sur { position: absolute; padding: 5px 10px; border-radius: 4px; font-size: 11px; font-weight: 800; letter-spacing: .5px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.badge-discount { top: 10px; right: 10px; background: var(--accent); color: var(--dark); }
.badge-liq { top: 10px; left: 10px; background: var(--primary); color: #fff; }
.badge-fin { top: 10px; left: 10px; background: #f97316; color: #fff; }
.badge-inv { top: 10px; left: 10px; background: var(--dark); color: #fff; }
.badge-sur { top: 10px; left: 10px; background: #7c3aed; color: #fff; }
.badge-discount.big, .badge-liq.big, .badge-inv.big, .badge-fin.big, .badge-sur.big { font-size: 13px; padding: 7px 14px; top: 14px; }
.product-body { padding: 16px; }
.product-cat { font-size: .75rem; text-transform: uppercase; color: var(--grey-1); letter-spacing: .5px; }
.product-card h3 { font-size: 1rem; margin: 4px 0 6px; min-height: 40px; }
.product-brand { color: var(--grey-1); font-size: .85rem; margin-bottom: 10px; }
.product-prices { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; flex-wrap: wrap; }
.price-old { text-decoration: line-through; color: var(--grey-2); font-size: .9rem; }
.price-new { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.stock-pill { display: inline-block; padding: 4px 9px; border-radius: 999px; font-size: .8rem; font-weight: 600; }
.stock-ok { background: #dcfce7; color: #166534; }
.stock-faible { background: #fef3c7; color: #92400e; }
.stock-critique { background: #fee2e2; color: #991b1b; animation: pulse 2s infinite; }
.stock-epuise { background: var(--grey-4); color: var(--grey-1); }

/* HOW (legacy, conservé pour rétro-compat) */
.how { background: var(--grey-6); }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.how-step { background: #fff; padding: 30px; border-radius: var(--radius); text-align: center; position: relative; }
.how-num { display: inline-grid; place-items: center; width: 50px; height: 50px; background: var(--primary); color: #fff; border-radius: 50%; font-size: 22px; font-weight: 800; margin-bottom: 16px; }

/* ========== HOW-3 : « Acheter en 3 étapes » ludique avec mini-mockups ========== */
.how-3 {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fff8ec 50%, #fff 100%);
    padding: 90px 0;
}
/* Blobs décoratifs flous en arrière-plan */
.how-3-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    pointer-events: none;
}
.h3-blob-1 { top: -100px; left: -120px; width: 380px; height: 380px; background: #fbbf24; }
.h3-blob-2 { bottom: -80px; right: -100px; width: 320px; height: 320px; background: #fda4af; }

.how-3 .container { position: relative; z-index: 2; }

.how-3-head { text-align: center; margin-bottom: 64px; max-width: 720px; margin-left: auto; margin-right: auto; }
.how-3-eyebrow {
    display: inline-block;
    background: var(--dark);
    color: var(--accent);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
}
.how-3-head .section-title { margin-bottom: 12px; }
.how-3-head .section-title em {
    font-style: italic;
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--primary);
    font-weight: 600;
}

/* Flow horizontal : 3 étapes + 2 flèches entre elles */
.how-3-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: nowrap;
}

/* Une étape = mockup + texte */
.how-3-step {
    flex: 1 1 0;
    max-width: 320px;
    text-align: center;
    position: relative;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.how-3-step:hover { transform: translateY(-6px); }
.how-3-step h3 {
    font-size: 1.2rem;
    margin: 24px 0 10px;
    line-height: 1.25;
}
.how-3-step p {
    color: var(--grey-1);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0;
}

/* Numéro flottant en haut à gauche, décalé hors de l'image */
.how-3-num {
    position: absolute;
    top: -22px; left: -22px;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    font-weight: 900;
    font-size: 1.05rem;
    display: grid; place-items: center;
    box-shadow: 0 10px 26px rgba(239, 68, 68, .35);
    z-index: 3;
    letter-spacing: .5px;
    border: 3px solid #fff;
}

/* Mockup commun (carte arrondie blanche) */
.how-3-mock {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, .06);
    box-shadow: 0 14px 40px rgba(15, 23, 42, .07);
    overflow: hidden;
    text-align: left;
    transform: rotate(-1.5deg);
    transition: transform .4s cubic-bezier(.22, 1, .36, 1);
}
.how-3-step:nth-child(odd) .how-3-mock { transform: rotate(-1.5deg); }
.how-3-step:nth-child(even) .how-3-mock { transform: rotate(1.5deg); }
.how-3-step:hover .how-3-mock { transform: rotate(0) scale(1.03); }

/* === Mockup étape 1 : Produit === */
.how-3-mock-product .h3m-img {
    aspect-ratio: 5/3;
    background: linear-gradient(135deg, #dbeafe, #e0e7ff);
    display: grid; place-items: center;
    position: relative;
}
.h3m-emoji { font-size: 64px; opacity: .9; filter: drop-shadow(0 4px 8px rgba(0,0,0,.1)); }
.h3m-badge {
    position: absolute;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
}
.h3m-badge-discount { top: 10px; right: 10px; background: var(--accent); color: var(--dark); }
.h3m-badge-liq { top: 10px; left: 10px; background: var(--primary); color: #fff; }
.h3m-body { padding: 14px 16px 16px; }
.h3m-body small { color: var(--grey-1); font-size: .82rem; display: block; margin-bottom: 6px; }
.h3m-prices { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.h3m-prices .old { text-decoration: line-through; color: var(--grey-2); font-size: .82rem; }
.h3m-prices .new { font-size: 1.3rem; font-weight: 800; color: var(--primary); }
.h3m-cta {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 9px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 700;
}
.h3m-cta-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }

/* === Mockup étape 2 : RIB === */
.how-3-mock-rib { padding: 18px 18px 18px; }
.h3m-rib-head {
    display: flex; align-items: center; gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--grey-4);
    margin-bottom: 12px;
    font-size: .9rem;
}
.h3m-rib-head span { font-size: 18px; }
.h3m-rib-row {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 7px 0;
    font-size: .82rem;
}
.h3m-rib-row small { color: var(--grey-1); }
.h3m-rib-row strong { font-family: 'Courier New', monospace; font-size: .82rem; }
.h3m-rib-row.alert {
    background: #fef9c3;
    margin: 4px -10px;
    padding: 8px 10px;
    border-radius: 6px;
}
.h3m-rib-row.alert strong { color: var(--primary); font-weight: 800; }
.how-3-mock-rib .h3m-cta { margin-top: 14px; }

/* === Mockup étape 3 : Tracking === */
.how-3-mock-track {
    padding: 24px 18px 18px;
    text-align: center;
}
.h3m-track-icon {
    font-size: 48px;
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #dcfce7, #86efac);
    border-radius: 50%;
    display: grid; place-items: center;
    margin: 0 auto 14px;
    box-shadow: 0 8px 24px rgba(34, 197, 94, .25);
}
.h3m-track-status {
    font-size: 1.2rem;
    font-weight: 800;
    color: #15803d;
    margin-bottom: 4px;
}
.h3m-track-sub {
    color: var(--grey-1);
    font-size: .8rem;
    display: block;
    margin-bottom: 16px;
}
.h3m-timeline {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    padding-top: 14px;
    border-top: 1px solid var(--grey-4);
}
.h3m-tl-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: .68rem;
    color: var(--grey-2);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.h3m-tl-step .dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--grey-3);
}
.h3m-tl-step.done { color: #15803d; }
.h3m-tl-step.done .dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.h3m-tl-step.active { color: var(--primary); }
.h3m-tl-step.active .dot {
    background: var(--primary);
    box-shadow: 0 0 0 3px rgba(239,68,68,.2);
    animation: pulse 1.6s infinite;
}

/* Flèche entre les étapes */
.how-3-arrow {
    flex: 0 0 auto;
    width: 80px;
    height: 24px;
    color: var(--accent);
    opacity: .8;
    margin: 0 -10px;
}
.how-3-arrow svg { width: 100%; height: 100%; }

/* === Responsive === */
@media (max-width: 1100px) {
    .how-3-step { max-width: 280px; }
    .how-3-arrow { width: 60px; }
    .h3m-emoji { font-size: 52px; }
}
@media (max-width: 900px) {
    .how-3 { padding: 60px 0; }
    .how-3-head { margin-bottom: 44px; }
    .how-3-flow { flex-direction: column; gap: 20px; }
    .how-3-step { max-width: 380px; width: 100%; }
    .how-3-step:nth-child(odd) .how-3-mock,
    .how-3-step:nth-child(even) .how-3-mock { transform: rotate(0); }
    .how-3-arrow {
        width: 28px;
        height: 60px;
        transform: rotate(90deg); /* flèche pointe vers le bas */
        margin: -12px 0;
    }
    .how-3-arrow svg { transform: scaleX(.5); transform-origin: center; }
}
@media (max-width: 480px) {
    .how-3-step { max-width: 100%; }
    .how-3-step h3 { font-size: 1.1rem; }
}

/* REVIEWS */
.reviews { background: #fff; }
.reviews-header { text-align: center; max-width: 720px; margin: 0 auto 32px; }
.reviews-eyebrow {
    display: inline-block;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: var(--accent-dark);
    padding: 7px 16px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .5px;
    margin-bottom: 16px;
    border: 1px solid rgba(245, 158, 11, .25);
}
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.review-card.is-hidden { display: none; }

/* Avis spécifique au produit affiché : mise en avant subtile */
.review-card.review-specific {
    border-top: 3px solid var(--green);
    position: relative;
}
.review-badge-specific {
    display: inline-block;
    background: #dcfce7;
    color: #15803d;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .3px;
    margin-bottom: 10px;
}

/* Section avis sur la fiche produit : un peu plus d'espace en haut */
.product-page-reviews { margin-top: 70px; padding-top: 50px; border-top: 1px solid var(--grey-4); }
.product-page-reviews .reviews-header { max-width: 760px; }
.reviews-header .reviews-eyebrow strong { color: var(--green); }
.review-card.fade-in { animation: reviewFadeIn .5s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes reviewFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.reviews-more-wrap { text-align: center; margin: 36px 0 0; }
[data-reviews-toggle] {
    border: 1.5px solid var(--grey-3);
    color: var(--dark);
}
[data-reviews-toggle]:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    text-decoration: none;
}
.review-card { background: var(--grey-6); padding: 24px; border-radius: var(--radius); border-top: 3px solid var(--accent); }
.review-stars { color: var(--accent); font-size: 18px; margin-bottom: 6px; }
.review-card h4 { font-size: 1rem; margin-bottom: 10px; }
.review-card p { color: var(--grey-1); margin-bottom: 12px; font-size: .95rem; }
.review-card footer { font-size: .85rem; color: var(--grey-1); border-top: 1px solid var(--grey-4); padding-top: 10px; }
.review-card footer strong { color: var(--dark); }

/* Bouton "Laisser un avis" discret */
.reviews-toolbar { display: flex; justify-content: flex-end; margin-bottom: 18px; }
.btn-add-review {
    background: transparent;
    border: 1.5px dashed var(--grey-3);
    color: var(--grey-1);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}
.btn-add-review:hover {
    border-color: var(--primary);
    color: var(--primary);
    border-style: solid;
    background: #fff;
}

/* === Modal "Laisser un avis" === */
.review-modal { position: fixed; inset: 0; z-index: 9998; display: flex; align-items: center; justify-content: center; padding: 20px; }
.review-modal[hidden] { display: none; }
.review-modal-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.7); backdrop-filter: blur(3px); animation: rmFadeIn .2s ease; }
.review-modal-card {
    position: relative;
    background: #fff;
    border-radius: 14px;
    padding: 30px;
    max-width: 540px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0,0,0,.4);
    animation: rmSlideUp .3s ease;
}
@keyframes rmFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes rmSlideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.review-modal-x {
    position: absolute; top: 14px; right: 14px;
    width: 36px; height: 36px;
    background: var(--grey-5);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: var(--grey-1);
    transition: all .15s;
}
.review-modal-x:hover { background: var(--primary); color: #fff; }
.review-modal-card h3 { margin: 0 0 8px; font-size: 1.4rem; }
.review-modal-sub { color: var(--grey-1); font-size: .9rem; margin: 0 0 20px; }
.review-form label { display: block; margin-bottom: 14px; font-weight: 500; font-size: .92rem; }
.review-form input[type="text"],
.review-form input[name="auteur"],
.review-form input[name="ville"],
.review-form input[name="titre"],
.review-form textarea {
    width: 100%; padding: 11px 14px;
    border: 1.5px solid var(--grey-3);
    border-radius: 8px;
    margin-top: 4px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}
.review-form input:focus, .review-form textarea:focus { border-color: var(--primary); outline: 0; }
.review-form .grid-2 { gap: 12px; }
.review-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--grey-4); }

/* Étoiles interactives */
.star-rating { display: flex; gap: 4px; margin-top: 6px; }
.star-rating button {
    background: transparent;
    border: 0;
    font-size: 32px;
    line-height: 1;
    color: var(--grey-3);
    cursor: pointer;
    padding: 4px;
    transition: color .12s, transform .15s;
    font-family: inherit;
}
.star-rating button:hover { transform: scale(1.15); }
.star-rating button.active { color: var(--accent); }

/* Toast confirmation */
.toast {
    position: fixed; top: 22px; right: 22px;
    background: var(--green);
    color: #fff;
    padding: 14px 20px;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(22,163,74,.35);
    display: flex; align-items: center; gap: 14px;
    z-index: 9999;
    max-width: 380px;
    animation: toastIn .3s ease;
}
.toast[hidden] { display: none; }
.toast.toast-out { animation: toastOut .3s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(40px); } }
.toast-icon {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.25);
    border-radius: 50%;
    display: grid; place-items: center;
    font-weight: 800; font-size: 18px;
    flex-shrink: 0;
}
.toast strong { display: block; font-size: 1rem; }
.toast small { display: block; opacity: .92; font-size: .82rem; margin-top: 2px; }

@media (max-width: 600px) {
    .review-modal-card { padding: 22px; max-height: 95vh; }
    .review-modal-card h3 { font-size: 1.2rem; padding-right: 36px; }
    .toast { right: 12px; left: 12px; top: 12px; max-width: none; }
}
.review-photos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.review-photos img { width: 86px; height: 86px; object-fit: cover; border-radius: var(--radius-sm); cursor: zoom-in; transition: transform .2s; border: 1px solid var(--grey-4); }
.review-photos img:hover { transform: scale(1.04); border-color: var(--primary); }

/* Lightbox simple pour photos d'avis */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); z-index: 9999; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.show { display: flex; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: rgba(255,255,255,.15); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; }

/* ============= LOTS / BUNDLES ============= */
.lot-section { background: linear-gradient(135deg, #fef3c7, #fee2e2); padding: 22px 24px; border-radius: var(--radius); margin: 24px 0; border: 2px solid var(--accent); }
.lot-section h3 { margin: 0 0 14px; color: var(--primary-dark); }
.lot-card { background: #fff; padding: 16px; border-radius: var(--radius); margin-bottom: 12px; display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; }
.lot-card img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.lot-card-info strong { display: block; font-size: 1rem; }
.lot-card-info small { color: var(--grey-1); font-size: .85rem; }
.lot-card-prices { text-align: right; }
.lot-card-prices .price-old { font-size: .85rem; }
.lot-card-prices .price-new { font-size: 1.2rem; }
.lot-card-prices .saving { display: block; color: var(--green); font-weight: 700; font-size: .85rem; margin-top: 4px; }

/* Page lot */
.lot-page-products { display: flex; flex-direction: column; gap: 14px; margin: 24px 0; }
.lot-page-product { display: grid; grid-template-columns: 100px 1fr auto; gap: 16px; align-items: center; padding: 14px; background: var(--grey-6); border-radius: var(--radius); }
.lot-page-product img { width: 100px; height: 100px; object-fit: cover; border-radius: var(--radius-sm); }
.lot-page-product strong { font-size: 1.05rem; display: block; margin-bottom: 4px; }
.lot-page-product .qty-badge { background: var(--dark); color: #fff; padding: 4px 10px; border-radius: 999px; font-size: .8rem; }
.lot-saving-banner { background: var(--green); color: #fff; padding: 16px 22px; border-radius: var(--radius); font-weight: 700; text-align: center; font-size: 1.1rem; margin: 20px 0; }
.lot-saving-banner small { display: block; opacity: .9; font-weight: normal; font-size: .85rem; margin-top: 4px; }

@media (max-width: 700px) {
    .lot-card { grid-template-columns: 60px 1fr; }
    .lot-card img { width: 60px; height: 60px; }
    .lot-card-prices { grid-column: 1 / -1; text-align: left; padding-top: 4px; border-top: 1px solid var(--grey-4); }
}

/* FAQ */
.faq { background: var(--grey-6); }
.faq-grid { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: var(--radius); padding: 18px 24px; cursor: pointer; }
.faq summary { font-weight: 600; font-size: 1.05rem; outline: none; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 24px; transition: transform .2s; color: var(--primary); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--grey-1); margin: 12px 0 0; }

/* CTA bottom */
.cta-bottom { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; text-align: center; }
.cta-bottom h2 { color: #fff; }
.cta-bottom p { font-size: 1.15rem; margin-bottom: 30px; opacity: .9; max-width: 660px; margin-left: auto; margin-right: auto; }
.cta-bottom .btn-primary { background: var(--accent); color: var(--dark); }

/* BUTTONS */
.btn { display: inline-block; padding: 11px 22px; border-radius: 8px; font-weight: 700; cursor: pointer; border: 0; font-size: 15px; transition: all .15s; text-decoration: none; }
.btn-lg { padding: 15px 32px; font-size: 16px; }
.btn-full { width: 100%; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--dark); border: 2px solid var(--grey-3); }
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.btn-disabled { background: var(--grey-3); color: var(--grey-1); cursor: not-allowed; }

/* PAGE générique */
.page { padding: 50px 0; }
.breadcrumb { font-size: .9rem; color: var(--grey-1); margin-bottom: 20px; }
.breadcrumb a { color: var(--grey-1); }

/* SHOP */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: start; }
.shop-aside { background: #fff; border: 1px solid var(--grey-4); border-radius: var(--radius); padding: 20px; position: sticky; top: 140px; }
.shop-aside h3 { font-size: 1rem; margin-bottom: 12px; }
.filter-list { list-style: none; padding: 0; margin: 0 0 20px; }
.filter-list a { display: block; padding: 8px 12px; color: var(--dark); border-radius: var(--radius-sm); font-size: .95rem; }
.filter-list a:hover { background: var(--grey-5); text-decoration: none; }
.filter-list a.active { background: var(--primary); color: #fff; }

/* Mobile filter dropdowns (cachés en desktop) */
.filter-mobile-row { display: none; }
.filter-mobile-field { display: block; margin-bottom: 12px; }
.filter-mobile-field span { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 5px; color: var(--dark); }
.filter-mobile-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--grey-3);
    border-radius: var(--radius-sm);
    background: #fff;
    font-size: .95rem;
    font-family: inherit;
    color: var(--dark);
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.aside-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--grey-4); }
.aside-block h4 { font-size: .9rem; margin-bottom: 6px; }
.aside-block p { font-size: .85rem; color: var(--grey-1); margin: 0; }

.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding: 14px 18px; background: #fff; border: 1px solid var(--grey-4); border-radius: var(--radius); }
.shop-toolbar select { padding: 6px 10px; border: 1px solid var(--grey-3); border-radius: var(--radius-sm); }

/* PRODUIT DÉTAIL */
.product-detail { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; margin-bottom: 60px; }
.product-main-img { position: relative; aspect-ratio: 1/1; background: var(--grey-5); border-radius: var(--radius); overflow: hidden; }

/* Slider swipable */
.gallery-slider {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.gallery-slider::-webkit-scrollbar { display: none; }
.gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none; /* permet le swipe sans déclencher de drag d'image */
    user-select: none;
}

/* Flèches navigation (desktop) */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--dark);
    border: 0;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
    display: grid;
    place-items: center;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
    transition: transform .15s, background .15s, opacity .2s;
    font-weight: 800;
    opacity: 0;
}
.product-main-img:hover .gallery-arrow { opacity: 1; }
.gallery-arrow:hover { transform: translateY(-50%) scale(1.08); background: #fff; }
.gallery-arrow-prev { left: 10px; }
.gallery-arrow-next { right: 10px; }
@media (max-width: 700px) {
    .gallery-arrow { display: none; }
}

/* Indicateurs dots */
.gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 4;
    padding: 6px 12px;
    background: rgba(0, 0, 0, .35);
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.gallery-dot:hover { background: rgba(255, 255, 255, .8); }
.gallery-dot.is-active {
    background: #fff;
    transform: scale(1.3);
}

/* Compteur 1/X */
.gallery-counter {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    z-index: 4;
    backdrop-filter: blur(8px);
}

.product-thumbs { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.product-thumbs img {
    width: 80px; height: 80px; object-fit: cover;
    border-radius: var(--radius-sm); cursor: pointer;
    border: 2px solid var(--grey-4);
    transition: border-color .15s, transform .15s;
}
.product-thumbs img:hover { border-color: var(--primary); }
.product-thumbs img.is-active { border-color: var(--primary); transform: scale(1.03); }
@media (max-width: 700px) {
    .product-thumbs { display: none; } /* sur mobile : le swipe + les dots suffisent */
}
.product-brand-tag { display: inline-block; background: var(--dark); color: #fff; padding: 4px 12px; border-radius: 4px; font-size: 12px; letter-spacing: 1px; margin-bottom: 10px; }
.product-info h1 { font-size: 2.1rem; margin-bottom: 14px; }
.rating { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; color: var(--grey-1); }
.rating .stars { color: var(--accent); font-size: 18px; }
.price-block { background: var(--grey-6); padding: 22px; border-radius: var(--radius); margin: 24px 0; border-left: 4px solid var(--primary); }
.price-old-line { color: var(--grey-1); margin-bottom: 6px; }
.price-current { font-size: 2.4rem; font-weight: 900; color: var(--primary); line-height: 1; margin-bottom: 6px; }
.price-saving { color: var(--green); font-weight: 600; }
.urgency-pill { display: inline-block; background: var(--accent); color: var(--dark); padding: 8px 16px; border-radius: 999px; font-weight: 700; margin-bottom: 14px; }
.stock-detail { padding: 12px 16px; border-radius: var(--radius); margin-bottom: 20px; font-size: 1rem; }
.stock-detail.stock-ok { background: #dcfce7; color: #166534; }
.stock-detail.stock-faible { background: #fef3c7; color: #92400e; }
.stock-detail.stock-critique { background: #fee2e2; color: #991b1b; }
.stock-detail.stock-epuise { background: var(--grey-4); color: var(--grey-1); }

/* Sélecteur de variations */
.variation-selector { background: var(--grey-6); padding: 18px; border-radius: var(--radius); margin-bottom: 20px; border-left: 4px solid var(--accent); }
.variation-label { display: block; margin-bottom: 12px; font-size: .95rem; }
.variation-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.variation-pill {
    display: flex; align-items: center; gap: 12px;
    background: #fff;
    padding: 10px 14px 10px 10px;
    border-radius: 10px;
    border: 2px solid var(--grey-3);
    cursor: pointer;
    transition: all .15s;
    min-width: 140px;
    font-family: inherit;
    text-align: left;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
}
.variation-pill:hover:not(.is-out):not(:disabled) { border-color: var(--primary); transform: translateY(-1px); }
.variation-pill.is-selected { border-color: var(--primary); background: #fef3c7; box-shadow: 0 4px 12px rgba(239,68,68,.15); }
.variation-pill.is-out { opacity: .5; cursor: not-allowed; }
.variation-pill:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.vp-thumb { width: 50px; height: 50px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: var(--grey-5); }
.vp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vp-info { display: flex; flex-direction: column; min-width: 0; }
.vp-name { font-weight: 700; font-size: .92rem; }
.vp-price { font-weight: 800; color: var(--primary); font-size: .9rem; }
.vp-low { color: var(--accent-dark); font-size: .75rem; font-weight: 600; }
.vp-oos { color: var(--grey-1); font-size: .75rem; font-weight: 600; text-decoration: line-through; }

.qty-row { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.qty-row label { font-weight: 600; }
.qty-row input { width: 80px; padding: 12px; border: 2px solid var(--grey-3); border-radius: 8px; text-align: center; font-size: 16px; }

/* Stepper de quantité (− input +) */
.qty-stepper {
    display: inline-flex;
    align-items: stretch;
    border: 2px solid var(--grey-3);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: border-color .15s;
}
.qty-stepper:focus-within { border-color: var(--primary); }
.qty-stepper button {
    width: 44px;
    background: var(--grey-6);
    border: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    color: var(--dark);
    transition: background .15s, color .15s;
    font-family: inherit;
    user-select: none;
    padding: 0;
}
.qty-stepper button:hover:not(:disabled) { background: var(--primary); color: #fff; }
.qty-stepper button:active:not(:disabled) { background: var(--primary-dark); }
.qty-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.qty-stepper input[type="number"] {
    width: 60px !important;
    height: auto;
    border: 0 !important;
    border-left: 1.5px solid var(--grey-3) !important;
    border-right: 1.5px solid var(--grey-3) !important;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 0 !important;
    border-radius: 0 !important;
    -moz-appearance: textfield;
    background: #fff;
}
.qty-stepper input[type="number"]:focus { outline: none; }
.qty-stepper input[type="number"]::-webkit-outer-spin-button,
.qty-stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Dans le panier le stepper est plus compact */
.cart-qty .qty-stepper { border-width: 1.5px; }
.cart-qty .qty-stepper button { width: 34px; font-size: 18px; }
.cart-qty .qty-stepper input[type="number"] { width: 46px !important; font-size: 14px; padding: 6px 0 !important; }
.add-to-cart-form .btn { flex: 1; }

.trust-list { list-style: none; padding: 18px; margin: 20px 0; background: var(--grey-6); border-radius: var(--radius); }
.trust-list li { padding: 6px 0; }

.source-info { padding: 14px 16px; background: #fef9c3; border-radius: var(--radius); border-left: 3px solid var(--accent); font-size: .95rem; }

.product-tabs { background: #fff; padding: 30px; border-radius: var(--radius); margin-bottom: 40px; }

/* Description repliable */
.rich-text-wrapper {
    position: relative;
    margin-bottom: 22px;
}
.rich-text-wrapper .rich-text {
    max-height: 280px;
    overflow: hidden;
    transition: max-height .4s ease;
    line-height: 1.65;
    color: var(--dark);
}
.rich-text-wrapper.is-expanded .rich-text {
    max-height: 6000px;
}
.rich-text-wrapper.has-overflow:not(.is-expanded)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 44px;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 90%);
    pointer-events: none;
    border-radius: 0 0 var(--radius) var(--radius);
}
.rich-text-toggle {
    display: none;
    margin: 14px auto 0;
    padding: 11px 24px;
    background: var(--grey-6);
    border: 1.5px solid var(--grey-3);
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    color: var(--dark);
    cursor: pointer;
    font-family: inherit;
    transition: all .15s;
}
.rich-text-toggle:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-1px);
}
.rich-text-toggle .icon {
    display: inline-block;
    margin-left: 6px;
    transition: transform .25s;
}
.rich-text-wrapper.has-overflow .rich-text-toggle { display: block; }
.rich-text-wrapper.is-expanded .rich-text-toggle .icon { transform: rotate(180deg); }

/* ================================================
   PAGES LÉGALES (mentions-legales, cgv, confidentialité)
   ================================================ */
.legal-page h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    margin: 0 0 12px;
    color: var(--dark);
}
.legal-page .lead {
    color: var(--grey-1);
    font-size: 1.02rem;
    line-height: 1.6;
    margin-bottom: 28px;
    padding-left: 14px;
    border-left: 3px solid var(--primary);
}
.legal-page h2 {
    margin-top: 36px;
    font-size: 1.25rem;
    color: var(--dark);
    padding-bottom: 8px;
    border-bottom: 2px solid var(--grey-5);
}
.legal-page p, .legal-page li {
    line-height: 1.7;
    color: var(--dark);
}
.legal-page ul {
    padding-left: 22px;
    margin-bottom: 18px;
}
.legal-page ul li {
    margin-bottom: 6px;
}
.legal-page a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.legal-page a:hover {
    text-decoration-thickness: 2px;
}

.legal-card {
    background: #fff;
    border: 1.5px solid var(--grey-4);
    border-radius: 12px;
    padding: 18px 22px;
    margin: 16px 0 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.legal-card p {
    margin: 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .94rem;
}
.legal-table th {
    text-align: left;
    padding: 10px 14px 10px 0;
    color: var(--grey-1);
    font-weight: 600;
    font-size: .88rem;
    vertical-align: top;
    width: 38%;
    border-bottom: 1px solid var(--grey-5);
}
.legal-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--grey-5);
    color: var(--dark);
}
.legal-table tr:last-child th,
.legal-table tr:last-child td {
    border-bottom: 0;
}

.legal-update {
    margin-top: 36px;
    color: var(--grey-2);
    font-size: .88rem;
    text-align: right;
}

@media (max-width: 600px) {
    .legal-table th { width: 45%; padding-right: 8px; font-size: .82rem; }
    .legal-table td { font-size: .9rem; }
}

/* ================================================
   SECTION MARQUES (homepage) — badges pills
   ================================================ */
.brands {
    background: #fff;
    padding: 56px 0;
    position: relative;
}
.brands-head { text-align: center; margin-bottom: 32px; }
.brands-eye {
    display: inline-block;
    color: var(--primary);
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}
.brands .section-title { color: var(--dark); margin-bottom: 8px; }
.brands .section-title em { color: var(--primary); font-style: normal; }
.brands .section-lead { color: var(--grey-1); max-width: 640px; margin: 0 auto; }

.brands-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 980px;
    margin: 0 auto;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--grey-6);
    border: 1.5px solid var(--grey-4);
    border-radius: 999px;
    text-decoration: none;
    color: var(--dark);
    font-weight: 700;
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease;
    cursor: pointer;
}
.brand-pill:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(220, 38, 38, .3);
    text-decoration: none;
}
.brand-pill .bp-name {
    font-size: .95rem;
    line-height: 1.2;
}
.brand-pill .bp-count {
    background: #fff;
    color: var(--grey-1);
    border-radius: 999px;
    padding: 2px 9px;
    font-size: .75rem;
    font-weight: 800;
    transition: background-color .15s, color .15s;
    border: 1px solid var(--grey-4);
}
.brand-pill:hover .bp-count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
    border-color: rgba(255, 255, 255, .4);
}

@media (max-width: 600px) {
    .brands-pills { gap: 8px; }
    .brand-pill { padding: 8px 14px; }
    .brand-pill .bp-name { font-size: .88rem; }
    .brand-pill .bp-count { font-size: .7rem; padding: 1px 7px; }
}

/* === Partage social (sidebar produit) === */
.share-bar { display: flex; align-items: center; gap: 8px; margin: 12px 0 8px; flex-wrap: wrap; }
.share-label { font-size: .82rem; color: var(--grey-1); font-weight: 600; margin-right: 4px; }
.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 0;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
    text-decoration: none;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.18); text-decoration: none; }
.share-btn svg { width: 18px; height: 18px; }
.share-wa   { background: #25D366; color: #fff; }
.share-fb   { background: #1877F2; color: #fff; }
.share-copy { background: var(--grey-5); color: var(--grey-1); }
.share-copy.is-copied { background: #16a34a; color: #fff; }
.share-copy.is-copied::after { content: ' ✓'; font-weight: 700; }

/* === Badge satisfait/garantie (sous le prix) === */
.guarantee-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.guarantee-pill {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
}

/* === Compare prix "ailleurs vs chez nous" === */
.compare-prices {
    margin: 16px 0 8px;
    border: 1.5px solid var(--grey-4);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.cp-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
}
.cp-bad  { background: #fef2f2; border-bottom: 1px solid #fecaca; }
.cp-good { background: #f0fdf4; }
.cp-label { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--grey-1); }
.cp-good .cp-label { color: #166534; }
.cp-icon { font-size: 18px; }
.cp-value { font-weight: 800; font-size: 1.1rem; }
.cp-value-bad  { color: var(--grey-2); text-decoration: line-through; }
.cp-value-good { color: #16a34a; font-size: 1.25rem; }
.cp-saving {
    padding: 12px 16px;
    text-align: center;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    font-weight: 800;
    border-top: 1px solid #f59e0b;
}

/* === Storytelling stock unique === */
.unique-stock-banner {
    display: flex;
    gap: 14px;
    padding: 14px 16px;
    margin: 14px 0;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-left: 4px solid #f59e0b;
    border-radius: 0 12px 12px 0;
}
.usb-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f59e0b;
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, .35);
}
.usb-body { display: flex; flex-direction: column; gap: 4px; }
.usb-body strong { color: #78350f; font-size: 1rem; line-height: 1.25; }
.usb-body small { color: #92400e; font-size: .82rem; line-height: 1.4; }

/* === Preuve sociale === */
.social-proof {
    background: #f8fafc;
    border: 1px solid var(--grey-4);
    border-radius: 10px;
    padding: 10px 14px;
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sp-row {
    font-size: .85rem;
    color: var(--grey-1);
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.4;
}
.sp-row strong { color: var(--dark); font-weight: 700; }
.sp-row.sp-warn {
    background: #fef2f2;
    color: #991b1b;
    padding: 6px 10px;
    border-radius: 6px;
    margin-top: 4px;
}
.sp-row.sp-warn strong { color: #7f1d1d; }
.sp-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, .25);
    animation: sp-pulse 1.8s ease-in-out infinite;
}
@keyframes sp-pulse {
    0%, 100% { box-shadow: 0 0 0 2px rgba(22, 163, 74, .25); }
    50%      { box-shadow: 0 0 0 6px rgba(22, 163, 74, .08); }
}

/* === FAQ rapide en sidebar === */
.quick-faq {
    margin: 18px 0 14px;
    background: #fafbfc;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid var(--grey-5);
}
.quick-faq h4 {
    margin: 0 0 10px;
    font-size: .98rem;
    color: var(--dark);
}
.qf-item {
    border-bottom: 1px solid var(--grey-5);
    padding: 4px 0;
}
.qf-item:last-child { border-bottom: 0; }
.qf-item summary {
    cursor: pointer;
    padding: 8px 0;
    font-size: .9rem;
    font-weight: 600;
    color: var(--dark);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color .15s;
}
.qf-item summary::-webkit-details-marker { display: none; }
.qf-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 700;
    transition: transform .2s;
}
.qf-item[open] summary::after { transform: rotate(45deg); }
.qf-item summary:hover { color: var(--primary); }
.qf-item p {
    padding: 0 0 10px;
    font-size: .85rem;
    line-height: 1.55;
    color: var(--grey-1);
    margin: 0;
}
.qf-item p strong { color: var(--dark); }

/* === Vote utile sur les avis === */
.review-utile {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--grey-5);
}
.btn-utile {
    background: var(--grey-6);
    border: 1px solid var(--grey-4);
    padding: 5px 12px;
    border-radius: 999px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 600;
    color: var(--grey-1);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .12s;
}
.btn-utile:hover {
    background: #fef2f2;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}
.btn-utile.is-voted {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    cursor: default;
}
.btn-utile .bu-icon { font-size: 14px; line-height: 1; }
.btn-utile .bu-count { font-weight: 700; }

/* === Tableau specs amélioré === */
.spec-table .badge-state {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.spec-table .badge-state-neuf { background: #dcfce7; color: #166534; }
.spec-table .badge-state-liquidation { background: #fee2e2; color: #991b1b; }
.spec-table .badge-state-invendu { background: #fef3c7; color: #92400e; }
.spec-table .badge-state-reconditionne { background: #dbeafe; color: #1e40af; }

/* === CTA STICKY MOBILE === */
.sticky-cta {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    background: #fff;
    border-top: 2px solid var(--primary);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .12);
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    transform: translateY(100%);
    transition: transform .25s ease;
    pointer-events: none;
}
.sticky-cta[hidden] { display: flex !important; } /* override hidden attr behavior */
.sticky-cta.is-visible {
    transform: translateY(0);
    pointer-events: auto;
}
.sticky-cta-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}
.sticky-cta-price {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1.1;
}
.sticky-cta-disc {
    display: inline-block;
    margin-left: 6px;
    background: var(--primary);
    color: #fff;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 800;
    vertical-align: middle;
}
.sticky-cta-stock {
    font-size: .72rem;
    color: #b45309;
    font-weight: 600;
    margin-top: 2px;
}
.sticky-cta-btn {
    padding: 12px 18px !important;
    font-size: .95rem !important;
    white-space: nowrap;
    flex-shrink: 0;
}
/* Affichage uniquement sur mobile/tablette */
@media (min-width: 901px) { .sticky-cta { display: none !important; } }
@media (max-width: 900px) {
    /* Réserve de l'espace en bas de page pour ne pas masquer le contenu */
    body { padding-bottom: 70px; }
    .sticky-cta { display: flex; }
}

/* === Badge livraison gratuite Europe (fiche produit) === */
.shipping-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    margin: 14px 0 18px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1.5px solid #16a34a;
    border-radius: 14px;
    position: relative;
    box-shadow: 0 3px 12px rgba(22, 163, 74, .15);
    transition: transform .15s ease, box-shadow .15s ease;
}
.shipping-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(22, 163, 74, .25);
}
.shipping-badge::after {
    content: '';
    position: absolute;
    inset: -1.5px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(22, 163, 74, .3), transparent 60%);
    pointer-events: none;
    z-index: -1;
}
.shipping-badge .sb-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #16a34a;
    color: #fff;
    border-radius: 12px;
    display: grid;
    place-items: center;
    box-shadow: 0 4px 10px rgba(22, 163, 74, .35);
}
.shipping-badge .sb-icon svg {
    width: 26px;
    height: 26px;
}
.shipping-badge .sb-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    min-width: 0;
}
.shipping-badge .sb-body strong {
    color: #14532d;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}
.shipping-badge .sb-free {
    background: #16a34a;
    color: #fff;
    padding: 1px 8px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 800;
    letter-spacing: .3px;
    display: inline-block;
    transform: translateY(-1px);
}
.shipping-badge .sb-body small {
    color: #166534;
    font-size: .82rem;
    line-height: 1.35;
    font-weight: 500;
}

/* === Mise en forme des descriptions produit (HTML riche) === */
.rich-text h2 { font-size: 1.4rem; margin: 28px 0 12px; color: var(--dark); font-weight: 800; line-height: 1.3; }
.rich-text h2:first-child { margin-top: 0; }
.rich-text h3 { font-size: 1.18rem; margin: 24px 0 10px; color: var(--dark); font-weight: 700; line-height: 1.35; }
.rich-text h4 { font-size: 1.02rem; margin: 18px 0 8px; color: var(--dark); font-weight: 700; }
.rich-text p { margin: 0 0 14px; line-height: 1.7; }
.rich-text ul, .rich-text ol { margin: 0 0 18px; padding-left: 24px; }
.rich-text ul li { list-style: none; position: relative; padding-left: 6px; margin-bottom: 7px; line-height: 1.6; }
.rich-text ul li::before { content: '✓'; position: absolute; left: -22px; color: var(--green, #16a34a); font-weight: 800; }
.rich-text ol li { margin-bottom: 7px; line-height: 1.6; }
.rich-text strong { color: var(--dark); font-weight: 700; }
.rich-text a { color: var(--primary); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.rich-text a:hover { text-decoration-thickness: 2px; }
.rich-text hr { border: 0; border-top: 2px solid var(--grey-5); margin: 26px 0; }
.rich-text blockquote { border-left: 3px solid var(--primary); padding: 8px 18px; margin: 18px 0; color: var(--grey-1); font-style: italic; background: var(--grey-6); border-radius: 0 8px 8px 0; }

/* Tableau de specs/comparatif dans la description */
.rich-text table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: .94rem; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.04); }
.rich-text table thead th { background: var(--grey-6); color: var(--dark); padding: 12px 14px; text-align: left; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .4px; border-bottom: 2px solid var(--grey-4); }
.rich-text table tbody td, .rich-text table tbody th { padding: 11px 14px; border-bottom: 1px solid var(--grey-5); vertical-align: top; }
.rich-text table tbody tr:last-child td, .rich-text table tbody tr:last-child th { border-bottom: 0; }
.rich-text table tbody tr:nth-child(even) td, .rich-text table tbody tr:nth-child(even) th { background: #fafbfc; }
.rich-text table tbody th { font-weight: 600; color: var(--grey-1); width: 38%; }
.rich-text table .check { color: var(--green, #16a34a); font-weight: 800; }
.rich-text table .cross { color: #ef4444; font-weight: 800; }

/* Blocs spéciaux (persona, FAQ, badges, callout) */
.rich-text .pro-callout { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); border-left: 4px solid #f59e0b; padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 18px 0; }
.rich-text .pro-callout strong { color: #92400e; }
.rich-text .pro-info { background: #eff6ff; border-left: 4px solid #3b82f6; padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 18px 0; color: #1e40af; }
.rich-text .pro-info strong { color: #1e3a8a; }
.rich-text .pro-success { background: #f0fdf4; border-left: 4px solid #16a34a; padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 18px 0; color: #166534; }
.rich-text .pro-warning { background: #fef2f2; border-left: 4px solid var(--primary); padding: 14px 18px; border-radius: 0 10px 10px 0; margin: 18px 0; color: #991b1b; }

/* "Pour qui c'est fait" / "Pour qui ce n'est PAS fait" */
.rich-text .pro-personas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 22px 0; }
.rich-text .pro-personas > div { padding: 16px 18px; border-radius: 12px; background: #fff; border: 1.5px solid var(--grey-4); }
.rich-text .pro-personas .pro-yes { border-color: #86efac; background: #f0fdf4; }
.rich-text .pro-personas .pro-no  { border-color: #fca5a5; background: #fef2f2; }
.rich-text .pro-personas h4 { margin: 0 0 10px; font-size: 1rem; }
.rich-text .pro-personas ul { margin: 0; padding-left: 22px; }
.rich-text .pro-personas .pro-yes ul li::before { content: '✓'; color: #16a34a; }
.rich-text .pro-personas .pro-no ul li::before  { content: '✗'; color: #dc2626; }
@media (max-width: 600px) { .rich-text .pro-personas { grid-template-columns: 1fr; } }

/* FAQ accordéon style "details" */
.rich-text details.pro-faq { background: #fff; border: 1.5px solid var(--grey-4); border-radius: 10px; padding: 0; margin: 8px 0; transition: border-color .15s; }
.rich-text details.pro-faq[open] { border-color: var(--primary); }
.rich-text details.pro-faq summary { padding: 14px 18px; cursor: pointer; font-weight: 600; color: var(--dark); list-style: none; display: flex; justify-content: space-between; align-items: center; font-size: .98rem; }
.rich-text details.pro-faq summary::-webkit-details-marker { display: none; }
.rich-text details.pro-faq summary::after { content: '＋'; font-size: 1.2rem; color: var(--primary); transition: transform .2s; }
.rich-text details.pro-faq[open] summary::after { transform: rotate(45deg); }
.rich-text details.pro-faq summary:hover { background: var(--grey-6); border-radius: 9px 9px 0 0; }
.rich-text details.pro-faq > p,
.rich-text details.pro-faq > div { padding: 0 18px 16px; margin: 0; color: var(--grey-1); }

/* Bénéfices "3-secondes" en haut de fiche */
.rich-text .pro-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 18px 0 24px; }
.rich-text .pro-benefits .pro-benefit { background: #fff; border: 1.5px solid var(--grey-4); border-radius: 12px; padding: 14px 16px; text-align: center; transition: transform .12s, border-color .12s; }
.rich-text .pro-benefits .pro-benefit:hover { transform: translateY(-2px); border-color: var(--primary); }
.rich-text .pro-benefits .pro-benefit .pb-icon { font-size: 1.8rem; margin-bottom: 6px; line-height: 1; }
.rich-text .pro-benefits .pro-benefit .pb-title { font-weight: 700; font-size: .92rem; color: var(--dark); margin-bottom: 4px; line-height: 1.3; }
.rich-text .pro-benefits .pro-benefit .pb-sub { font-size: .82rem; color: var(--grey-1); line-height: 1.4; }

/* Box "ce qui est inclus" */
.rich-text .pro-box-content { background: var(--grey-6); border-radius: 10px; padding: 16px 20px; margin: 18px 0; }
.rich-text .pro-box-content h4 { margin: 0 0 10px; }
.rich-text .pro-box-content ul { margin-bottom: 0; }

/* Vidéos produit */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 18px; margin-bottom: 22px; }
.video-wrap { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-md); }
.video-wrap iframe, .video-wrap video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } }

.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--grey-4); }
.spec-table th { background: var(--grey-6); width: 200px; font-weight: 600; }

.product-reviews, .similar { margin-top: 50px; }
.product-reviews h2, .similar h2 { margin-bottom: 22px; }

/* ===== Réassurance : étapes pour commander ===== */
.order-steps {
    margin-top: 50px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #fff8e1 0%, #fff5f5 100%);
    border-radius: var(--radius);
    border: 1px solid var(--grey-4);
}
.order-steps h2 { text-align: center; margin-bottom: 8px; }
.lead-center { text-align: center; color: var(--grey-1); font-size: 1.05rem; margin: 0 auto 32px; max-width: 640px; }

.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps-grid::before {
    content: ''; position: absolute;
    top: 36px; left: 12.5%; right: 12.5%; height: 2px;
    background: repeating-linear-gradient(to right, var(--accent) 0 8px, transparent 8px 16px);
    z-index: 0;
}
.step-card {
    background: #fff;
    border-radius: 14px;
    padding: 30px 22px 24px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15,23,42,.06);
    border: 1px solid var(--grey-4);
    position: relative;
    transition: transform .2s, box-shadow .2s;
    z-index: 1;
}
.step-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,23,42,.1); }
.step-num {
    position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
    width: 38px; height: 38px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 18px; font-weight: 800;
    box-shadow: 0 4px 14px rgba(239,68,68,.4);
}
.step-icon {
    font-size: 38px; line-height: 1;
    margin: 14px 0 12px;
    width: 70px; height: 70px;
    border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #fef3c7, #fee2e2);
    margin: 14px auto 14px;
}
.step-card h3 { font-size: 1.05rem; margin: 0 0 10px; }
.step-card p { color: var(--grey-1); font-size: .9rem; line-height: 1.5; margin: 0; }

.reassurance-pills {
    margin-top: 30px; padding-top: 24px;
    border-top: 1px dashed var(--grey-3);
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}
.r-pill {
    background: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1.5px solid var(--grey-3);
    font-size: .85rem;
    font-weight: 600;
    color: var(--dark);
}

/* ===== Avis du site sur la fiche produit ===== */
.site-reviews { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--grey-4); }
.site-reviews h2 { text-align: center; margin-bottom: 8px; }

/* ===== Retour boutique en bas de fiche produit ===== */
.back-to-shop {
    margin-top: 60px;
    padding: 50px 30px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    color: #fff;
    text-align: center;
}
.bts-inner { max-width: 720px; margin: 0 auto; }
.back-to-shop h2 { color: #fff; margin: 0 0 12px; font-size: 1.8rem; }
.back-to-shop p { font-size: 1.05rem; opacity: .92; margin: 0 0 28px; }
.bts-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.bts-actions .btn-primary { background: var(--accent); color: var(--dark); }
.bts-actions .btn-primary:hover { background: #fde68a; text-decoration: none; }
.bts-actions .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.bts-actions .btn-ghost:hover { color: var(--dark); background: #fff; border-color: #fff; text-decoration: none; }

@media (max-width: 600px) {
    .back-to-shop { padding: 40px 20px; }
    .back-to-shop h2 { font-size: 1.4rem; }
    .bts-actions .btn-lg { width: 100%; }
}

@media (max-width: 980px) {
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid::before { display: none; }
}
@media (max-width: 480px) {
    .steps-grid { grid-template-columns: 1fr; }
    .order-steps { padding: 30px 20px; }
}

/* PANIER */
.cart-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-item { display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 16px; align-items: center; background: #fff; padding: 16px; border-radius: var(--radius); border: 1px solid var(--grey-4); }
.cart-item img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); }
.cart-item-info a { color: var(--dark); }
.cart-item-price { color: var(--grey-1); font-size: .9rem; }
.cart-qty input { width: 70px; padding: 8px; border: 1px solid var(--grey-3); border-radius: var(--radius-sm); text-align: center; }
.cart-item-total { font-weight: 800; min-width: 90px; text-align: right; }
.btn-icon { background: transparent; border: 1px solid var(--grey-4); width: 36px; height: 36px; border-radius: var(--radius-sm); cursor: pointer; }
.btn-icon:hover { background: #fee2e2; border-color: var(--primary); color: var(--primary); }

.cart-summary, .checkout-summary { background: #fff; padding: 26px; border-radius: var(--radius); border: 1px solid var(--grey-4); position: sticky; top: 140px; }
.cart-summary h3, .checkout-summary h3 { font-size: 1.2rem; margin-bottom: 16px; }
.cs-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--grey-4); }
.cs-total { display: flex; justify-content: space-between; padding: 14px 0 18px; font-size: 1.2rem; font-weight: 800; }
.cs-note { font-size: .85rem; color: var(--grey-1); margin-top: 14px; text-align: center; }
.cs-continue { display: block; margin-top: 16px; text-align: center; color: var(--grey-1); font-size: .9rem; }

/* CHECKOUT */
.checkout-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 30px; align-items: start; }
.checkout-form { background: #fff; padding: 30px; border-radius: var(--radius); border: 1px solid var(--grey-4); }
.checkout-form h3 { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--grey-4); }
.checkout-form h3:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.checkout-form label { display: block; margin-bottom: 12px; font-weight: 500; }
.checkout-form input, .checkout-form textarea { display: block; width: 100%; padding: 11px 14px; border: 1.5px solid var(--grey-3); border-radius: var(--radius-sm); font-size: 15px; margin-top: 4px; font-family: inherit; }
.checkout-form input:focus, .checkout-form textarea:focus { border-color: var(--primary); outline: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
/* === Bloc info livraison (mode unique) === */
.delivery-explainer {
    border: 2px solid var(--grey-4);
    border-radius: 12px;
    background: #fff;
    margin: 12px 0 8px;
    overflow: hidden;
}
.delivery-explainer .dx-row {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%);
}
.dx-icon {
    font-size: 32px;
    line-height: 1;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--primary);
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(220, 38, 38, .25);
}
.dx-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dx-title { font-size: 1.02rem; font-weight: 700; color: var(--dark); line-height: 1.25; }
.dx-meta { font-size: .85rem; color: var(--grey-1); font-weight: 600; }
.dx-price { text-align: right; flex-shrink: 0; }
.dx-free {
    color: #16a34a;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    background: #dcfce7;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid #86efac;
    white-space: nowrap;
    font-weight: 800;
}

/* Bloc explication "pourquoi 5-15 jours" */
.dx-explain {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    background: #fffbeb;
    border-top: 1px solid #fde68a;
}
.dx-explain-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #fbbf24;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(245, 158, 11, .3);
}
.dx-explain p {
    margin: 0;
    font-size: .88rem;
    line-height: 1.55;
    color: #78350f;
}
.dx-explain p strong { color: #92400e; }

@media (max-width: 600px) {
    .delivery-explainer .dx-row { grid-template-columns: 44px 1fr auto; padding: 12px 14px; gap: 10px; }
    .dx-icon { width: 44px; height: 44px; font-size: 24px; }
    .dx-title { font-size: .95rem; }
    .dx-explain { padding: 12px 14px; gap: 10px; }
    .dx-explain p { font-size: .82rem; }
    .dx-explain-icon { width: 32px; height: 32px; font-size: 16px; }
}

.payment-info-box { background: #f0f9ff; border-left: 4px solid #0284c7; padding: 18px; border-radius: var(--radius); margin: 24px 0; }
.payment-info-box h4 { margin: 0 0 8px; }
.payment-info-box p { margin: 6px 0; font-size: .95rem; }
.cgv-check { display: flex; gap: 8px; align-items: flex-start; margin: 20px 0; padding: 14px; background: var(--grey-6); border-radius: var(--radius); font-weight: normal !important; }
.cgv-check input { width: auto !important; margin-top: 3px; }

.checkout-item { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--grey-4); align-items: center; }
.checkout-item img { width: 60px; height: 60px; object-fit: cover; border-radius: var(--radius-sm); }
.checkout-item strong { display: block; font-size: .95rem; }
.checkout-item div { color: var(--grey-1); font-size: .85rem; }
.ci-total { font-weight: 700; }

/* PAYMENT */
.payment-page { background: var(--grey-6); }
.payment-success { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.ps-icon { width: 70px; height: 70px; background: var(--green); color: #fff; font-size: 36px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; box-shadow: var(--shadow-md); }
.order-num-big { background: #fff; display: inline-flex; align-items: center; gap: 16px; padding: 14px 24px; border-radius: var(--radius); border: 2px dashed var(--primary); margin-top: 14px; }
.order-num-big span { color: var(--grey-1); font-size: .9rem; }
.order-num-big strong { font-size: 1.4rem; color: var(--primary); letter-spacing: 1px; }
.btn-copy, .btn-copy-mini { background: var(--primary); color: #fff; border: 0; padding: 6px 12px; border-radius: var(--radius-sm); cursor: pointer; font-size: 13px; }
.btn-copy-mini { padding: 4px 8px; font-size: 12px; margin-left: 8px; }

.payment-box { background: #fff; padding: 30px; border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow-sm); }
.rib-grid { background: var(--grey-6); border-radius: var(--radius); padding: 8px; margin: 24px 0; }
.rib-row { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 12px 16px; border-bottom: 1px solid var(--grey-4); }
.rib-row:last-child { border-bottom: 0; }
.rib-row.important { background: #fef9c3; border-left: 4px solid var(--accent); border-radius: var(--radius-sm); }
.rib-label { color: var(--grey-1); font-weight: 600; }
.rib-value { font-weight: 700; font-family: 'Courier New', monospace; word-break: break-all; }
.rib-iban { letter-spacing: 1px; font-size: 1.05rem; }
.rib-montant { font-size: 1.4rem; color: var(--primary); }
.rib-ref { font-size: 1.2rem; color: var(--primary); letter-spacing: 1px; }
.payment-warn { background: #fee2e2; border-left: 4px solid var(--primary); padding: 16px 20px; border-radius: var(--radius); margin: 24px 0; }
.payment-steps ol { padding-left: 20px; }
.payment-steps li { margin: 10px 0; }
.order-summary-box { background: #fff; padding: 30px; border-radius: var(--radius); margin-bottom: 30px; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th, .order-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--grey-4); }
.order-table thead th { background: var(--grey-6); }
.order-table tfoot th { font-size: 1.2rem; padding: 18px 12px; }
.payment-help { text-align: center; padding: 20px; }
.payment-help .btn { margin: 0 6px; }

/* Upload preuve de virement */
.payment-proof { background: #fff; padding: 30px; border-radius: var(--radius); margin-bottom: 30px; box-shadow: var(--shadow-sm); border: 2px solid #fbbf24; }
.payment-proof h2 { color: #78350f; margin: 0 0 14px; font-size: 1.4rem; }
.payment-proof .proof-intro { color: #475569; margin: 0 0 20px; line-height: 1.6; }
.proof-form { display: flex; flex-direction: column; gap: 14px; }
.proof-file-label { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fef3c7; border: 2px dashed #f59e0b; border-radius: var(--radius); cursor: pointer; transition: background .15s; }
.proof-file-label:hover { background: #fde68a; }
.proof-file-label input[type="file"] { position: absolute; left: -9999px; }
.proof-file-btn { background: #f59e0b; color: #fff; padding: 8px 14px; border-radius: 8px; font-weight: 700; font-size: .92rem; flex-shrink: 0; }
.proof-file-name { color: #78350f; font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.proof-meta { font-size: .82rem; color: var(--grey-1); margin: 4px 0 0; text-align: center; }
.proof-received { display: flex; gap: 16px; align-items: center; padding: 18px 22px; background: #dcfce7; border: 1px solid #86efac; border-radius: var(--radius); margin-bottom: 16px; }
.proof-received-icon { width: 44px; height: 44px; flex-shrink: 0; background: #16a34a; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 700; }
.proof-received-body strong { display: block; color: #166534; font-size: 1.05rem; margin-bottom: 4px; }
.proof-received-body p { margin: 0; color: #166534; font-size: .9rem; }
.proof-replace { margin-top: 12px; font-size: .9rem; }
.proof-replace summary { cursor: pointer; color: var(--grey-1); padding: 8px 0; user-select: none; }
.proof-replace summary:hover { color: var(--primary); }

/* ===========================================================
   TRUST / CONFIANCE — Page paiement
   =========================================================== */

/* Bandeau confiance — 4 colonnes */
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: #fff; padding: 18px; border-radius: var(--radius); margin-bottom: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--grey-4); }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 6px; }
.trust-item .trust-icon { font-size: 1.7rem; flex-shrink: 0; line-height: 1; }
.trust-item .trust-text strong { display: block; font-size: .92rem; color: var(--dark); line-height: 1.2; }
.trust-item .trust-text small { display: block; font-size: .76rem; color: var(--grey-1); margin-top: 2px; }

/* Section "Pourquoi nous faire confiance" */
.trust-why { background: linear-gradient(135deg, #f0f9ff 0%, #fff 100%); padding: 30px; border-radius: var(--radius); margin-bottom: 24px; box-shadow: var(--shadow-sm); border: 1px solid #bfdbfe; }
.trust-why h2 { color: #1e3a8a; font-size: 1.5rem; margin: 0 0 8px; }
.trust-why-lead { color: var(--grey-1); margin: 0 0 22px; line-height: 1.6; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.trust-card { background: #fff; border: 1px solid var(--grey-4); border-radius: 10px; padding: 18px 18px 18px 56px; position: relative; line-height: 1.5; }
.trust-card .tc-num { position: absolute; left: 16px; top: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .92rem; }
.trust-card strong { display: block; color: var(--dark); margin-bottom: 4px; font-size: 1rem; }
.trust-card p { margin: 0; font-size: .88rem; color: #475569; }
.trust-card a { color: var(--primary); font-weight: 600; }

/* Timeline "Après votre virement" */
.payment-after { background: #f8fafc; padding: 20px; border-radius: 10px; margin-top: 22px; border: 1px solid var(--grey-4); }
.payment-after h3 { margin: 0 0 14px; color: var(--dark); font-size: 1.05rem; }
.after-timeline { display: flex; flex-direction: column; gap: 14px; position: relative; }
.after-timeline::before { content: ''; position: absolute; left: 14px; top: 14px; bottom: 14px; width: 2px; background: var(--grey-4); z-index: 0; }
.at-step { display: flex; align-items: flex-start; gap: 14px; position: relative; z-index: 1; }
.at-dot { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid var(--primary); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .85rem; flex-shrink: 0; }
.at-step.at-final .at-dot { background: var(--green, #16a34a); border-color: var(--green, #16a34a); color: #fff; font-size: 1rem; }
.at-body strong { display: block; color: var(--dark); font-size: .95rem; margin-bottom: 2px; }
.at-body small { display: block; color: var(--grey-1); font-size: .82rem; }

/* Témoignages clients */
.trust-reviews { background: #fff; padding: 30px; border-radius: var(--radius); margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.trust-reviews h2 { color: var(--dark); margin: 0 0 6px; font-size: 1.5rem; }
.trust-reviews-lead { color: var(--grey-1); margin: 0 0 24px; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card { background: #fafbfc; border: 1px solid var(--grey-4); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.review-stars { color: #fbbf24; font-size: 1.05rem; letter-spacing: 2px; }
.review-stars .star-empty { color: var(--grey-4); }
.review-card blockquote { margin: 0; padding: 0; border: 0; font-size: .9rem; color: #1f2937; line-height: 1.55; font-style: italic; }
.review-card footer { margin-top: auto; border-top: 1px solid var(--grey-4); padding-top: 10px; }
.review-card footer strong { display: block; color: var(--dark); font-size: .88rem; }
.review-card footer span { display: block; color: var(--grey-1); font-size: .75rem; margin-top: 2px; }
.trust-reviews-cta { text-align: center; margin: 22px 0 0; }
.trust-reviews-cta a { color: var(--primary); font-weight: 700; font-size: .95rem; }

/* FAQ accordéon */
.trust-faq { background: #fff; padding: 30px; border-radius: var(--radius); margin-bottom: 24px; box-shadow: var(--shadow-sm); }
.trust-faq h2 { color: var(--dark); margin: 0 0 18px; font-size: 1.5rem; }
.trust-faq details { border: 1px solid var(--grey-4); border-radius: 10px; padding: 0; margin-bottom: 10px; transition: border-color .15s; }
.trust-faq details[open] { border-color: var(--primary); }
.trust-faq summary { padding: 14px 18px; cursor: pointer; font-weight: 700; color: var(--dark); font-size: .95rem; list-style: none; position: relative; padding-right: 40px; }
.trust-faq summary::-webkit-details-marker { display: none; }
.trust-faq summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; color: var(--primary); transition: transform .2s; }
.trust-faq details[open] summary::after { content: '−'; }
.trust-faq summary:hover { background: #fafbfc; }
.trust-faq .faq-body { padding: 0 18px 16px; color: #475569; line-height: 1.6; font-size: .9rem; }
.trust-faq .faq-body p { margin: 0 0 10px; }
.trust-faq .faq-body ul { margin: 8px 0 12px; padding-left: 22px; }
.trust-faq .faq-body li { margin: 6px 0; }
.trust-faq .faq-body a { color: var(--primary); font-weight: 600; }

/* Bloc contact final */
.trust-contact { background: linear-gradient(135deg, #fef3c7 0%, #fff 100%); padding: 30px; border-radius: var(--radius); margin-bottom: 24px; border: 2px solid #fbbf24; }
.trust-contact h3 { color: #78350f; margin: 0 0 8px; font-size: 1.3rem; }
.trust-contact > p { color: #78350f; margin: 0 0 18px; }
.trust-contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.tcg-btn { background: #fff; border: 1px solid #fbbf24; border-radius: 10px; padding: 16px; text-decoration: none; color: var(--dark); display: flex; flex-direction: column; gap: 4px; transition: transform .12s, box-shadow .12s; font-size: 1rem; }
.tcg-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(251,191,36,.35); }
.tcg-btn strong { font-size: 1rem; color: #78350f; }
.tcg-btn span { font-size: .82rem; color: var(--grey-1); }
.tc-rassure { margin: 0; padding: 14px 18px; background: rgba(255,255,255,.6); border-radius: 8px; font-size: .9rem; color: #78350f; line-height: 1.55; }

/* Responsive */
@media (max-width: 900px) {
    .trust-bar { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .trust-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
    .trust-contact-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────────────────────────────────────────
   WhatsApp buttons / links
   3 variantes : btn (gros bouton vert), inline (texte+icône), pill (pill ronde)
   ─────────────────────────────────────────────────────────── */
.wa-btn {
    display: inline-flex; align-items: center; justify-content: center;
    background: #25D366; color: #fff; padding: 12px 22px;
    border-radius: 999px; text-decoration: none; font-weight: 700;
    font-size: .95rem; border: 0; cursor: pointer;
    transition: background .15s, transform .12s, box-shadow .12s;
    box-shadow: 0 2px 6px rgba(37,211,102,.25);
}
.wa-btn:hover { background: #128C7E; color: #fff; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(37,211,102,.35); }
.wa-btn svg { color: #fff; }

.wa-link {
    display: inline-flex; align-items: center; gap: 4px;
    color: #25D366; text-decoration: none; font-weight: 600;
    transition: color .15s;
}
.wa-link:hover { color: #128C7E; }
.wa-link svg { color: #25D366; }

.wa-pill {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(37,211,102,.12); color: #128C7E;
    padding: 6px 14px; border-radius: 999px;
    text-decoration: none; font-weight: 700; font-size: .85rem;
    border: 1px solid rgba(37,211,102,.25);
    transition: background .15s, border-color .15s;
}
.wa-pill:hover { background: rgba(37,211,102,.22); border-color: #25D366; }
.wa-pill svg { color: #25D366; }

/* Topbar : inversion couleurs (fond sombre) */
.topbar .wa-link { color: #25D366; }
.topbar .wa-link:hover { color: #5dfca6; }
.topbar .wa-link svg { color: #25D366; }
@media (max-width: 600px) {
    .trust-bar { grid-template-columns: 1fr; }
    .trust-why, .trust-reviews, .trust-faq, .trust-contact { padding: 20px; }
    .trust-card { padding: 16px 16px 16px 50px; }
}

/* FLASH */
.flash { padding: 14px 20px; border-radius: var(--radius); margin: 20px 0; font-weight: 500; }
.flash-ok { background: #dcfce7; color: #166534; border-left: 4px solid var(--green); }
.flash-err { background: #fee2e2; color: #991b1b; border-left: 4px solid var(--primary); }

/* ====================================================
   PAGE COMMENT ACHETER (landing visuelle, style home)
   ==================================================== */

/* ====== HERO style home — palette bleu/lavande pour différencier de l'accueil ====== */
.ca-hero {
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 55%, #ede9fe 100%);
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
}
.ca-hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,130,246,.18), transparent);
}
.ca-hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -120px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(139,92,246,.15), transparent);
    pointer-events: none;
}
.ca-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.ca-hero-badge {
    display: inline-block;
    background: var(--dark);
    color: var(--accent);
    padding: 8px 18px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .3px;
    margin-bottom: 18px;
}
.ca-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 22px;
}
.ca-hero h1 .hl { color: var(--primary); }
.ca-hero h1 .hl-yellow {
    background: var(--accent);
    color: var(--dark);
    padding: 0 12px;
    border-radius: 6px;
}
.ca-hero-lead {
    font-size: 1.15rem;
    color: var(--dark);
    margin: 0 0 22px;
    max-width: 560px;
    line-height: 1.55;
}
.ca-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ca-hero-bullets li { padding-left: 4px; font-size: 1rem; }
.ca-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.ca-hero-trust {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 20px;
    border-top: 1px solid rgba(15,23,42,.1);
}
.ca-hero-trust > div { display: flex; flex-direction: column; }
.ca-hero-trust strong { font-size: 1.4rem; font-weight: 800; }
.ca-hero-trust span { color: var(--accent); font-size: 14px; }
.ca-hero-trust small { color: var(--grey-1); font-size: .85rem; }

/* ====== Mockups flottants ====== */
.ca-hero-visual {
    position: relative;
    min-height: 460px;
}
.ca-mockup {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 18px 18px 16px;
    box-shadow: 0 16px 48px rgba(15,23,42,.18);
    width: 280px;
}
.ca-mockup .ca-m-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 8px;
}
.ca-mockup .ca-m-icon {
    width: 42px; height: 42px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 22px;
    margin-bottom: 10px;
}
.ca-mockup .ca-m-icon.green { background: var(--accent); }
.ca-mockup .ca-m-title { font-weight: 800; font-size: 1rem; margin-bottom: 6px; }
.ca-mockup .ca-m-sub { color: var(--grey-1); font-size: .82rem; line-height: 1.4; }
.ca-mockup .ca-m-num {
    background: var(--grey-6);
    border: 2px dashed var(--primary);
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 800;
    font-size: .85rem;
    margin-bottom: 10px;
    text-align: center;
}
.ca-mockup .ca-m-amount {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}
.ca-mockup .ca-m-row {
    display: flex; justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid var(--grey-4);
    font-size: .82rem;
}
.ca-mockup .ca-m-row:last-of-type { border-bottom: 0; }
.ca-mockup .ca-m-row span { color: var(--grey-1); }
.ca-mockup .ca-m-row strong { font-family: 'Courier New', monospace; font-size: .8rem; }
.ca-mockup .ca-m-row.important { background: #fef9c3; border-radius: 4px; padding: 6px 8px; margin: 4px -2px; border-bottom: 0; }
.ca-mockup .ca-m-row.important strong { color: var(--primary); }
.ca-mockup .ca-m-copybtn {
    background: var(--primary);
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 700;
    margin-top: 10px;
}

.ca-m-order { top: 0; left: 0; transform: rotate(-3deg); z-index: 3; }
.ca-m-iban  { top: 100px; right: 0; transform: rotate(2deg); z-index: 2; }
.ca-m-confirm { bottom: 0; left: 80px; transform: rotate(-1deg); z-index: 1; }

/* ====== Bandeau pulsant ====== */
.ca-banner {
    background: var(--dark);
    color: #fff;
    padding: 16px 0;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}
.ca-banner strong { color: var(--accent); }
.ca-banner-pulse {
    display: inline-block;
    width: 10px; height: 10px;
    background: var(--accent);
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 1.5s infinite;
    vertical-align: middle;
}

/* ====== Étapes en bannières alternées ====== */
.ca-steps-section { background: #fff; padding: 80px 0 0; }
.ca-step-banner { padding: 70px 0; }
.ca-step-banner:nth-child(odd of .ca-step-banner) { background: var(--grey-6); }
.ca-step-banner.ca-alt { background: linear-gradient(135deg, #eff6ff 0%, #f5f3ff 100%); }
.ca-step-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.ca-step-text { padding: 12px 0; }
.ca-step-num-big {
    display: inline-block;
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: .9;
}
.ca-step-text h2 {
    font-size: 2.2rem;
    margin: 0 0 14px;
    line-height: 1.15;
}
.ca-step-lead {
    color: var(--dark);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 20px;
}
.ca-step-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ca-step-features li {
    background: rgba(255,255,255,.7);
    padding: 12px 16px;
    border-radius: 10px;
    border-left: 3px solid var(--primary);
    font-size: .95rem;
    line-height: 1.5;
}
.ca-step-banner.ca-alt .ca-step-features li,
.ca-step-banner:nth-child(odd of .ca-step-banner) .ca-step-features li { background: #fff; }
.ca-step-time {
    display: inline-block;
    background: var(--dark);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .3px;
}

/* ====== Mockups visuels par étape ====== */
.ca-step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

/* Mockup produit (étape 1) */
.ca-vis-product {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(15,23,42,.18);
    width: 320px;
    transform: rotate(-2deg);
    border: 1px solid var(--grey-4);
}
.ca-vis-img {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--grey-5), var(--grey-4));
    display: grid; place-items: center;
    font-size: 60px;
    color: var(--grey-2);
    position: relative;
}
.ca-vis-badge {
    position: absolute;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
}
.ca-vis-discount { top: 10px; right: 10px; background: var(--accent); color: var(--dark); }
.ca-vis-liq { top: 10px; left: 10px; background: var(--primary); color: #fff; }
.ca-vis-body { padding: 16px; }
.ca-vis-body small { color: var(--grey-1); font-size: .75rem; text-transform: uppercase; letter-spacing: .5px; }
.ca-vis-body strong { display: block; font-size: 1.05rem; margin: 4px 0 10px; }
.ca-vis-prices { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.ca-vis-prices .old { text-decoration: line-through; color: var(--grey-2); font-size: .85rem; }
.ca-vis-prices .new { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.ca-vis-stock {
    background: #fee2e2;
    color: #991b1b;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    display: inline-block;
}

/* Mockup formulaire (étape 2) */
.ca-vis-form {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(15,23,42,.15);
    width: 340px;
    border: 1px solid var(--grey-4);
    transform: rotate(2deg);
}
.ca-vis-form-head {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--grey-4);
}
.ca-vis-field { margin-bottom: 12px; }
.ca-vis-field label { font-size: .75rem; color: var(--grey-1); display: block; margin-bottom: 4px; }
.ca-vis-input {
    background: var(--grey-6);
    padding: 10px 12px;
    border-radius: 6px;
    font-size: .85rem;
    border: 1.5px solid var(--grey-4);
}
.ca-vis-input.filled {
    background: #fff;
    border-color: var(--green);
    color: var(--dark);
    font-weight: 600;
}
.ca-vis-form-note {
    margin-top: 14px;
    padding: 10px 12px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 6px;
    font-size: .78rem;
    text-align: center;
    font-weight: 600;
}

/* Mockup RIB (étape 3) */
.ca-vis-rib {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    width: 360px;
    box-shadow: 0 24px 50px rgba(15,23,42,.18);
    border: 1px solid var(--grey-4);
    transform: rotate(-2deg);
}
.ca-vis-rib-head {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 14px;
}
.ca-vis-rib-row {
    display: flex; justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--grey-4);
    font-size: .85rem;
}
.ca-vis-rib-row span { color: var(--grey-1); }
.ca-vis-rib-row strong { font-family: 'Courier New', monospace; font-size: .85rem; }
.ca-vis-rib-row.alert {
    background: #fef9c3;
    margin: 4px -8px;
    padding: 9px 8px;
    border-radius: 6px;
    border-bottom: 0;
}
.ca-vis-rib-row.alert strong { color: var(--primary); font-size: .9rem; }
.ca-vis-rib-copy {
    margin-top: 12px;
    padding: 10px;
    background: var(--primary);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 700;
}

/* Mockup smartphone (étape 4) */
.ca-vis-phone {
    width: 280px;
    height: 540px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 14px;
    box-shadow: 0 30px 60px rgba(15,23,42,.3), 0 0 0 6px #2a2a2a;
    transform: rotate(2deg);
    position: relative;
}
.ca-vis-phone::before {
    content: '';
    position: absolute;
    top: 18px; left: 50%; transform: translateX(-50%);
    width: 80px; height: 18px;
    background: #1a1a1a;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}
.ca-vis-phone-screen {
    background: #fff;
    height: 100%;
    border-radius: 24px;
    padding: 36px 16px 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.ca-vis-phone-head {
    font-weight: 800;
    font-size: .9rem;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--grey-4);
    margin-bottom: 14px;
}
.ca-vis-phone-section {
    background: var(--grey-6);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 14px;
}
.ca-vis-phone-input {
    background: var(--grey-6);
    padding: 10px 12px;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1.5px solid var(--grey-4);
}
.ca-vis-phone-input small { color: var(--grey-1); font-size: .7rem; display: block; margin-bottom: 2px; }
.ca-vis-phone-input strong { font-size: .82rem; font-family: 'Courier New', monospace; }
.ca-vis-phone-btn {
    background: var(--primary);
    color: #fff;
    border: 0;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 10px;
    font-family: inherit;
    font-size: .85rem;
    cursor: pointer;
}
.ca-vis-phone-note {
    text-align: center;
    color: var(--green);
    font-weight: 700;
    font-size: .75rem;
    margin-top: 10px;
}

/* Mockup tracking (étape 5) */
.ca-vis-tracking {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    width: 340px;
    box-shadow: 0 20px 50px rgba(15,23,42,.15);
    border: 1px solid var(--grey-4);
    transform: rotate(-1deg);
}
.ca-vis-track-head {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--grey-4);
}
.ca-vis-track-step {
    display: flex;
    gap: 14px;
    padding: 10px 0;
    position: relative;
}
.ca-vis-track-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 6px; top: 28px; bottom: -6px;
    width: 2px;
    background: var(--grey-4);
}
.ca-vis-track-step.done:not(:last-child)::after { background: var(--green); }
.ca-vis-track-step .dot {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--grey-4);
    flex-shrink: 0;
    margin-top: 2px;
    z-index: 1;
}
.ca-vis-track-step.done .dot { background: var(--green); box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.ca-vis-track-step.active .dot { background: var(--primary); box-shadow: 0 0 0 4px rgba(239,68,68,.18); animation: pulse 2s infinite; }
.ca-vis-track-step strong { display: block; font-size: .92rem; }
.ca-vis-track-step small { color: var(--grey-1); font-size: .78rem; }

/* ====== Comparaison ====== */
.ca-compare { background: #fff; padding: 80px 0; }
.home-compare { background: var(--grey-6); }
.home-compare-cta { text-align: center; margin: 40px 0 0; }
.ca-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    max-width: 980px;
    margin: 40px auto 0;
}
.ca-compare-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 30px;
    position: relative;
    border: 2px solid var(--grey-4);
}
.ca-compare-card.ca-bad { opacity: .82; }
.ca-compare-card.ca-good {
    border-color: var(--green);
    box-shadow: 0 16px 40px rgba(34,197,94,.18);
}
.ca-best-badge {
    position: absolute;
    top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--green);
    color: #fff;
    padding: 6px 18px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(34,197,94,.4);
    white-space: nowrap;
}
.ca-compare-head {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--grey-4);
}
.ca-compare-icon {
    font-size: 38px;
    width: 64px; height: 64px;
    background: var(--grey-6);
    border-radius: 50%;
    display: grid; place-items: center;
    flex-shrink: 0;
}
.ca-good .ca-compare-icon { background: #dcfce7; }
.ca-compare-card h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; }
.ca-compare-card h3 small { display: block; font-weight: normal; font-size: .85rem; color: var(--grey-1); margin-top: 2px; }
.ca-compare-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.ca-compare-card li {
    padding: 9px 0 9px 28px;
    position: relative;
    font-size: .93rem;
    color: var(--dark);
    line-height: 1.5;
}
.ca-bad li::before { content: '✕'; position: absolute; left: 0; color: var(--primary); font-weight: 800; }
.ca-good li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.ca-compare-result {
    text-align: center;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
}
.ca-bad-result { background: #fee2e2; color: #991b1b; }
.ca-good-result { background: #dcfce7; color: #15803d; }

/* ====== Trust ====== */
.ca-trust { background: var(--grey-6); padding: 80px 0; }
.ca-trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-top: 40px;
}
.ca-trust-card {
    background: #fff;
    border: 1px solid var(--grey-4);
    border-radius: 16px;
    padding: 30px 26px;
    transition: transform .25s, box-shadow .25s, border-color .2s;
}
.ca-trust-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15,23,42,.1);
    border-color: var(--accent);
}
.ca-trust-icon {
    font-size: 30px;
    width: 64px; height: 64px;
    background: linear-gradient(135deg, #dbeafe, #ede9fe);
    border-radius: 16px;
    display: grid; place-items: center;
    margin-bottom: 18px;
}
.ca-trust-card h3 { font-size: 1.05rem; margin: 0 0 10px; line-height: 1.3; }
.ca-trust-card p { color: var(--grey-1); font-size: .92rem; line-height: 1.55; margin: 0; }

/* ====== FAQ ====== */
.ca-faq { background: #fff; padding: 80px 0; }
.ca-faq-item {
    background: var(--grey-6);
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid var(--grey-4);
    overflow: hidden;
    transition: box-shadow .2s;
}
.ca-faq-item:hover { box-shadow: 0 6px 20px rgba(15,23,42,.06); }
.ca-faq-item summary {
    padding: 22px 28px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dark);
    list-style: none;
    position: relative;
    padding-right: 64px;
}
.ca-faq-item summary::-webkit-details-marker { display: none; }
.ca-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 24px; top: 50%;
    transform: translateY(-50%);
    width: 36px; height: 36px;
    background: #fff;
    border: 1.5px solid var(--grey-3);
    border-radius: 50%;
    display: grid; place-items: center;
    font-size: 22px;
    color: var(--primary);
    font-weight: 800;
    transition: transform .2s, background .2s, color .2s;
}
.ca-faq-item[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.ca-faq-item > p,
.ca-faq-item > ol,
.ca-faq-item > ul {
    padding: 0 28px 22px;
    margin: 0;
    color: var(--grey-1);
    line-height: 1.7;
}
.ca-faq-item ol, .ca-faq-item ul { padding-left: 50px; }
.ca-faq-item li { padding: 4px 0; }

/* ====== CTA final ====== */
.ca-cta {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.ca-cta h2 { color: #fff; font-size: 2.4rem; margin-bottom: 12px; }
.ca-cta p { font-size: 1.15rem; opacity: .92; max-width: 660px; margin: 0 auto 30px; }
.ca-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.ca-cta .btn-primary { background: var(--accent); color: var(--dark); }
.ca-cta .btn-primary:hover { background: #fde68a; }
.ca-cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.ca-cta .btn-ghost:hover { background: #fff; color: var(--dark); border-color: #fff; }
.ca-cta-rea { font-size: .9rem !important; opacity: .85 !important; }

/* ====== Responsive ====== */
@media (max-width: 1100px) {
    .ca-hero-visual { transform: scale(.85); transform-origin: center; }
    .ca-step-grid { gap: 50px; }
    .ca-step-text h2 { font-size: 1.8rem; }
    .ca-step-num-big { font-size: 4rem; }
}
@media (max-width: 980px) {
    .ca-hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .ca-hero h1 { font-size: 2.2rem; }
    .ca-hero-visual { min-height: 480px; max-width: 380px; margin: 0 auto; transform: scale(1); }
    .ca-step-grid { grid-template-columns: 1fr; gap: 40px; }
    .ca-step-banner.ca-alt .ca-step-grid > div:first-child,
    .ca-step-banner .ca-step-grid > .ca-step-visual { order: -1; }
    .ca-compare-grid { grid-template-columns: 1fr; gap: 38px; }
    .ca-cta h2 { font-size: 1.8rem; }
}
@media (max-width: 700px) {
    .ca-hero { padding: 50px 0 60px; }
    .ca-hero h1 { font-size: 1.7rem; }
    .ca-hero-lead { font-size: .98rem; }
    .ca-hero-trust { gap: 18px; }
    .ca-mockup { width: 220px; padding: 14px; }
    .ca-m-order { transform: rotate(-3deg); }
    .ca-m-iban { transform: rotate(2deg); top: 130px; }
    .ca-m-confirm { transform: rotate(-1deg); left: 30px; }
    .ca-step-banner { padding: 50px 0; }
    .ca-step-text h2 { font-size: 1.5rem; }
    .ca-step-num-big { font-size: 3rem; }
    .ca-step-lead { font-size: 1rem; }
    .ca-vis-product, .ca-vis-form, .ca-vis-rib, .ca-vis-tracking { width: 100%; max-width: 320px; }
    .ca-vis-phone { width: 240px; height: 460px; }
    .ca-compare, .ca-trust, .ca-faq, .ca-cta { padding: 50px 0; }
    .ca-faq-item summary { font-size: .98rem; padding: 18px 22px; padding-right: 60px; }
    .ca-cta-actions .btn { width: 100%; }
}
@media (max-width: 480px) {
    .ca-hero-trust { flex-direction: column; gap: 12px; }
    .ca-mockup { width: 200px; }
}

/* CONTACT */
.contact-layout { display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; }
.contact-form label { display: block; margin-bottom: 14px; font-weight: 500; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; border: 1.5px solid var(--grey-3); border-radius: var(--radius-sm); margin-top: 4px; font-family: inherit; font-size: 15px; }
.contact-info { background: #fff; padding: 24px; border-radius: var(--radius); border: 1px solid var(--grey-4); }
.contact-info p { margin: 14px 0; }

/* EMPTY */
.empty-state { background: #fff; padding: 60px 30px; text-align: center; border-radius: var(--radius); border: 2px dashed var(--grey-3); color: var(--grey-1); }

/* FOOTER */
.site-footer { background: var(--dark); color: var(--grey-3); padding: 60px 0 0; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--grey-3); }
.site-footer a:hover { color: var(--accent); }
.check-list li { padding: 5px 0; }
.footer-bottom { margin-top: 40px; padding: 20px 0; background: rgba(0,0,0,.2); font-size: .85rem; }
.footer-bottom-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-legal { flex: 1; min-width: 0; }

/* Lien admin ultra-discret — un simple "·" qui s'illumine au survol */
.footer-admin-link {
    display: inline-grid;
    place-items: center;
    width: 28px; height: 28px;
    color: rgba(255, 255, 255, .12);
    border-radius: 50%;
    text-decoration: none !important;
    transition: color .25s, background .25s, transform .25s;
    font-size: 22px;
    line-height: 0;
    user-select: none;
    flex-shrink: 0;
}
.footer-admin-link:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, .06);
    transform: scale(1.15);
}
.footer-admin-link:focus-visible {
    color: var(--accent);
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* ====================================================
   RESPONSIVE
   ==================================================== */

/* Tablette large (≤ 1100px) */
@media (max-width: 1100px) {
    .container { padding: 0 18px; }
    h1 { font-size: 2rem; }
    .hero h1 { font-size: 2.4rem; }
    .product-detail { gap: 36px; }
}

/* Tablette (≤ 980px) */
@media (max-width: 980px) {
    .why-marquee { --bubble-w: 280px; --bubble-g: 22px; --duration: 75s; }
    .why-bubble { padding: 30px 22px 22px; }

    /* Rayons éditorial : 2 cols sur tablette */
    .rayons-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 22px; }
    .rayons { padding: 80px 0 70px; }
    .rayons-head { margin-bottom: 48px; }
    .header-grid { grid-template-columns: auto auto; gap: 12px; align-items: center; padding: 14px 18px; }
    .search { grid-column: 1 / -1; max-width: none; order: 3; }
    .header-actions { justify-self: end; }
    .cart-btn .cart-label { display: none; }
    .hero-grid, .product-detail, .checkout-layout, .cart-layout, .shop-layout, .contact-layout { grid-template-columns: 1fr; gap: 30px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-lead { font-size: 1.05rem; }
    .hero-visual { min-height: 340px; max-width: 480px; margin: 0 auto; }
    .shop-aside, .cart-summary, .checkout-summary { position: static; }

    /* MOBILE : Sur la boutique, on remplace les listes par des selects dropdown */
    .shop-aside { padding: 14px; }
    .aside-h3-desktop,
    .filter-list-desktop { display: none; }
    .filter-mobile-row { display: block; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-info h1 { font-size: 1.6rem; }
    .price-current { font-size: 2rem; }
    .why-card { flex-basis: 280px; }
    .main-nav { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .main-nav::-webkit-scrollbar { display: none; }
    .main-nav > .container > ul { flex-wrap: nowrap; min-width: max-content; }
    .main-nav a { padding: 12px 14px; white-space: nowrap; font-size: .9rem; }
    /* Sous-menus en mode mobile : on les masque (le user va sur la cat parente, qui inclut tout) */
    .main-nav .submenu { display: none !important; }
    .main-nav .caret { display: none; }
}

/* Mobile (≤ 700px) */
@media (max-width: 700px) {
    .topbar { font-size: .72rem; }
    .topbar-grid { gap: 6px 14px; justify-content: center; }
    .topbar span:nth-child(2), .topbar span:nth-child(3) { display: none; }
    .brand-text small { display: none; }
    .brand-text strong { font-size: 1rem; }
    .brand-mark { width: 40px; height: 40px; border-radius: 9px; }
    .header-grid { padding: 12px 14px; }
    .search input { padding: 10px 12px; font-size: 14px; }
    .search button { padding: 0 14px; }
    .hero { padding: 40px 0 50px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-trust { gap: 18px; }
    .hero-trust strong { font-size: 1.15rem; }
    .hero-card { width: 200px; padding: 14px; }
    .hero-card.hc-1 { left: 0; }
    .hero-card.hc-2 { right: 0; }
    .hero-card.hc-3 { left: 30px; }
    .hc-prices .new { font-size: 1.15rem; }
    /* Why marquee : bulles plus petites sur mobile */
    .why-marquee {
        --bubble-w: 240px;
        --bubble-g: 16px;
        --duration: 60s;
        padding: 20px 0;
        margin-top: 32px;
    }
    .why-bubble { padding: 28px 22px 22px; }
    .why-bubble-num { font-size: .75rem; padding: 5px 11px; left: 16px; top: -12px; }
    .why-bubble-icon { width: 76px; height: 76px; margin-bottom: 16px; }
    .why-bubble-icon img { width: 46px; height: 46px; }
    .why-bubble-icon span { font-size: 34px; }
    .why-bubble h3 { font-size: 1rem; margin-bottom: 8px; }
    .why-bubble p { font-size: .85rem; line-height: 1.5; }
    .why-bg-bubble.b1 { width: 140px; height: 140px; }
    .why-bg-bubble.b2 { width: 120px; height: 120px; }
    .why-bg-bubble.b3 { width: 160px; height: 160px; }
    .why-bg-bubble.b4 { width: 110px; height: 110px; }
    .why-bg-bubble.b5 { width: 100px; height: 100px; }

    /* Rayons éditorial : 2 colonnes sur mobile */
    .rayons-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .rayons { padding: 60px 0; }
    .rayons-head { margin-bottom: 36px; }
    .rayon-name { font-size: 1rem; line-height: 1.2; }
    .rayon-body { padding: 14px 14px 16px; }
    .rayon-tag { font-size: .82rem; margin-bottom: 12px; }
    .rayon-meta { font-size: .65rem; letter-spacing: 1px; gap: 6px; margin-bottom: 8px; }
    .rayon-link { font-size: .78rem; padding-top: 12px; gap: 6px; }
    .rayon-link svg { width: 14px; height: 14px; }
    .rayon-discount { font-size: .72rem; padding: 4px 10px; top: 10px; left: 10px; }
    .rayon-img-wrap { aspect-ratio: 5 / 4; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .add-to-cart-form .qty-row { flex-wrap: wrap; }
    .qty-row input { flex-basis: 80px; }
    .qty-row .btn { flex: 1 1 100%; }
}

/* Petit mobile (≤ 480px) */
@media (max-width: 480px) {
    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.3rem; }
    .section-title { font-size: 1.4rem; }
    .section-lead { font-size: 1rem; }
    .container { padding: 0 14px; }
    .hero h1 { font-size: 1.6rem; }
    .hero-points { font-size: .92rem; }
    .hero-visual { min-height: 300px; }
    .grid-2 { grid-template-columns: 1fr; gap: 0; }
    .rib-row { grid-template-columns: 1fr; gap: 4px; padding: 10px 12px; }
    .rib-iban { font-size: .9rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .cart-item { grid-template-columns: 60px 1fr auto; gap: 10px; }
    .cart-item img { width: 60px; height: 60px; }
    .cart-qty { grid-column: 2 / -1; }
    .cart-item-total { grid-column: 2 / -1; text-align: left; }
    .cart-item form:last-child { position: absolute; right: 12px; top: 12px; }
    .cart-item { position: relative; }
    .order-num-big { flex-direction: column; gap: 8px; padding: 14px; }
    .order-num-big strong { font-size: 1.1rem; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-card h3 { font-size: .9rem; min-height: 36px; }
    .price-new { font-size: 1.1rem; }
    .product-thumbs img { width: 60px; height: 60px; }
}

/* Très petit mobile (≤ 420px) — bascule des Rayons en 1 col, marquee Why conservé */
@media (max-width: 420px) {
    .rayons-grid { grid-template-columns: 1fr; gap: 18px; }
    .rayon-name { font-size: 1.2rem; }
    .rayon-img-wrap { aspect-ratio: 16 / 11; }
    /* Le marquee Why reste actif, juste plus compact */
    .why-marquee { --bubble-w: 220px; --bubble-g: 14px; --duration: 50s; }
}

/* Très petit mobile (≤ 360px) */
@media (max-width: 360px) {
    .products-grid { grid-template-columns: 1fr; }
    .hero-trust { flex-direction: column; gap: 12px; }
}

@media print {
    .topbar, .site-header, .site-footer, .payment-help button, .payment-help a { display: none !important; }
    .payment-page { background: #fff; }
    .payment-box, .order-summary-box { box-shadow: none; border: 1px solid #ddd; }
}
