/* ============================================================
   POUNIES — DESIGN SYSTEM
   Palette « Moderne & Confiance » : primaire #0F4C81 · secondaire #2563EB
   · accent/CTA #F97316 · fond #F8FAFC · texte #0F172A
   Radius 10px · police Inter

   STRUCTURE DU FICHIER :
   1) Variables (:root)
   2) Reset + base
   3) Composants (topbar, header, nav, boutons, burger, mobile-menu...)
   4) Sections (hero, trust, produits, vendeurs, footer...)
   5) Animations
   6) Media queries (À LA FIN, ordre décroissant 980 → 680 → 560 → 520)

   ⚠️ Les media queries DOIVENT rester en fin de fichier pour surcharger
      correctement les règles générales (ex: .burger display:none → flex).
   ============================================================ */

:root {
    /* ============================================================
       PALETTE 2 — MODERNE & CONFIANCE
       Primaire #0F4C81 · Secondaire #2563EB · Accent/CTA #F97316
       Fond #F8FAFC · Texte #0F172A · Police Inter
       ============================================================ */

    /* Couleur primaire (bleu profond — confiance) */
    --primary:        #0F4C81;
    --primary-hover:  #0c3e6a;
    --primary-light:  #eef4fa;   /* fond très clair dérivé du primaire */
    --primary-soft:   #cfe0f0;   /* halo focus / surbrillance douce */

    /* Secondaire (bleu vif — liens, accents interactifs) */
    --secondary:      #2563EB;
    --secondary-hover:#1d4ed8;
    --secondary-light:#eff4ff;
    --secondary-soft: #dbe7fe;

    /* Accent / CTA (orange) */
    --accent:         #F97316;
    --accent-hover:   #ea6a0c;
    --accent-soft:    #ffedd5;

    /* Statut */
    --success:        #16a34a;
    --success-soft:   #dcfce7;

    /* Neutres : fond clair, surfaces blanches */
    --bg:             #F8FAFC;
    --surface:        #ffffff;
    --surface-2:      #f1f5f9;
    --border:         #e2e8f0;
    --border-strong:  #cbd5e1;

    /* Texte */
    --ink:            #0F172A;
    --text:           #334155;
    --text-soft:      #64748b;
    --text-faint:     #94a3b8;

    /* Rayons */
    --r-sm: 6px;
    --r:    10px;
    --r-lg: 16px;
    --r-xl: 22px;

    /* Ombres (teintées primaire profond) */
    --shadow-xs: 0 1px 2px rgba(15,23,42,.05);
    --shadow:    0 4px 14px rgba(15,23,42,.07);
    --shadow-lg: 0 18px 40px rgba(15,76,129,.16);

    --maxw: 1240px;
}

/* ============================================================
   RESET + BASE
   ============================================================ */
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
    font-family:'Inter', -apple-system, sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
    text-rendering:optimizeLegibility;
    display:flex; flex-direction:column; min-height:100vh;
    overflow-x:hidden;            /* empêche tout débordement horizontal */
}

h1,h2,h3,h4,h5 {
    font-family:'Inter', sans-serif;
    color:var(--ink); line-height:1.18; letter-spacing:-0.02em; font-weight:700;
}
a { color:inherit; text-decoration:none; }
img { max-width:100%; display:block; }

.wrap { max-width:var(--maxw); margin:0 auto; padding:0 24px; }
main { flex:1 0 auto; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar { background:var(--ink); color:#cbd5e1; font-size:13px; font-weight:500; }
.topbar .wrap { display:flex; justify-content:space-between; align-items:center; height:38px; }
.topbar a { color:#cbd5e1; transition:color .15s; }
.topbar a:hover { color:#fff; }
.topbar .tb-right { display:flex; gap:22px; align-items:center; }
.topbar .tb-left { display:flex; gap:8px; align-items:center; }
.dot { width:6px; height:6px; border-radius:50%; background:var(--success); display:inline-block; box-shadow:0 0 0 3px var(--success-soft); }

/* ============================================================
   HEADER + NAV
   ============================================================ */
header.main-header { background:var(--surface); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:50; box-shadow:var(--shadow-xs); }
.nav { display:flex; align-items:center; gap:28px; height:74px; }
.logo { display:flex; align-items:center; gap:10px; font-family:'Inter'; font-weight:800; font-size:23px; color:var(--ink); letter-spacing:-.03em; }
.logo .mark { width:38px; height:38px; border-radius:var(--r); background:linear-gradient(135deg, var(--primary), var(--secondary)); display:grid; place-items:center; color:#fff; font-size:20px; box-shadow:0 4px 12px rgba(15,76,129,.35); }
.logo b { color:var(--primary); }

.search { flex:1; max-width:560px; position:relative; }
.search input { width:100%; height:46px; border:1.5px solid var(--border-strong); border-radius:var(--r); padding:0 50px 0 44px; font-family:'Inter'; font-size:14.5px; font-weight:500; color:var(--ink); background:var(--surface-2); transition:all .18s; }
.search input::placeholder { color:var(--text-faint); font-weight:500; }
.search input:focus { outline:none; border-color:var(--primary); background:#fff; box-shadow:0 0 0 4px var(--primary-light); }
.search .ico { position:absolute; left:15px; top:50%; transform:translateY(-50%); color:var(--text-faint); }
.search .go { position:absolute; right:6px; top:6px; height:34px; width:38px; border:none; border-radius:var(--r-sm); background:var(--primary); color:#fff; cursor:pointer; display:grid; place-items:center; transition:background .15s; }
.search .go:hover { background:var(--primary-hover); }

.nav-actions { display:flex; align-items:center; gap:8px; }
.nav-link { display:flex; align-items:center; gap:8px; padding:9px 14px; border-radius:var(--r); font-family:'Inter'; font-weight:600; font-size:14px; color:var(--text); transition:all .15s; position:relative; }
.nav-link:hover { background:var(--primary-light); color:var(--primary); }
.nav-link.active { color:var(--primary); }
.nav-link .badge { position:absolute; top:2px; right:6px; background:var(--accent); color:#fff; font-size:10px; font-weight:700; min-width:17px; height:17px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; padding:0 4px; line-height:1; box-sizing:border-box; }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn { display:inline-flex; align-items:center; gap:8px; padding:11px 20px; border-radius:var(--r); font-family:'Inter'; font-weight:700; font-size:14px; cursor:pointer; border:none; transition:all .18s; white-space:nowrap; }
.btn-primary { background:var(--primary); color:#fff; box-shadow:0 4px 12px rgba(15,76,129,.28); }
.btn-primary:hover { background:var(--primary-hover); transform:translateY(-1px); box-shadow:0 8px 20px rgba(15,76,129,.35); }
.btn-ghost { background:var(--surface); color:var(--ink); border:1.5px solid var(--border-strong); }
.btn-ghost:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-light); }
.btn-accent { background:var(--accent); color:#fff; box-shadow:0 4px 12px rgba(249,115,22,.3); }
.btn-accent:hover { background:var(--accent-hover); transform:translateY(-1px); box-shadow:0 8px 20px rgba(249,115,22,.38); }
.btn-light { background:#fff; color:var(--primary); }
.btn-light:hover { transform:translateY(-2px); box-shadow:0 12px 28px rgba(0,0,0,.2); }
.btn-outline { background:rgba(255,255,255,.1); color:#fff; border:1.5px solid rgba(255,255,255,.4); }
.btn-outline:hover { background:rgba(255,255,255,.2); }
.btn-lg { padding:14px 28px; font-size:15.5px; }

/* ============================================================
   MENU BURGER + PANNEAU MOBILE
   (définitions générales : burger caché par défaut sur desktop ;
    le @media 520px le passera en display:flex)
   ============================================================ */
.burger {
    display:none;                 /* caché sur desktop — surchargé en mobile */
    background:var(--surface); border:1.5px solid var(--border-strong);
    border-radius:var(--r); width:44px; height:44px;
    cursor:pointer; color:var(--ink); align-items:center; justify-content:center;
    transition:all .15s;
}
.burger:hover { border-color:var(--primary); color:var(--primary); }

.mobile-overlay {
    position:fixed; inset:0; background:rgba(15,23,42,.5);
    opacity:0; visibility:hidden; transition:all .25s; z-index:90;
    backdrop-filter:blur(2px);
}
.mobile-overlay.open { opacity:1; visibility:visible; }

.mobile-menu {
    position:fixed; top:0; right:0; height:100%; width:300px; max-width:85vw;
    background:var(--surface); z-index:100; padding:20px;
    transform:translateX(100%); transition:transform .28s cubic-bezier(.4,0,.2,1);
    box-shadow:-10px 0 40px rgba(0,0,0,.15); overflow-y:auto;
    display:flex; flex-direction:column;
}
.mobile-menu.open { transform:translateX(0); }

.mm-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; padding-bottom:16px; border-bottom:1px solid var(--border); }
.mm-close { background:var(--surface-2); border:none; border-radius:var(--r); width:40px; height:40px; cursor:pointer; color:var(--text); display:grid; place-items:center; transition:all .15s; }
.mm-close:hover { background:var(--primary-light); color:var(--primary); }

.mm-search { position:relative; margin-bottom:18px; display:flex; align-items:center; gap:10px; background:var(--surface-2); border:1.5px solid var(--border-strong); border-radius:var(--r); padding:0 14px; height:46px; color:var(--text-faint); }
.mm-search input { flex:1; border:none; background:transparent; outline:none; font-family:'Inter'; font-size:14.5px; font-weight:500; color:var(--ink); }

.mm-link { display:flex; align-items:center; gap:13px; padding:13px 14px; border-radius:var(--r); font-family:'Inter'; font-weight:600; font-size:15px; color:var(--text); transition:all .14s; }
.mm-link:hover { background:var(--primary-light); color:var(--primary); }
.mm-divider { height:1px; background:var(--border); margin:14px 0; }

/* Empêche le scroll du body quand le menu mobile est ouvert */
body.menu-open { overflow:hidden; }

/* ============================================================
   HERO + SIDEBAR CATÉGORIES
   ============================================================ */
.hero-section { padding:24px 0 8px; }
.hero-grid { display:grid; grid-template-columns:268px 1fr; gap:24px; align-items:start; }
.cats { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:8px; box-shadow:var(--shadow-xs); align-self:start; }
.cats h4 { font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--text-faint); padding:12px 14px 8px; font-family:'Inter'; font-weight:700; }
.cat { display:flex; align-items:center; gap:13px; padding:11px 14px; border-radius:var(--r); font-family:'Inter'; font-weight:600; font-size:14.5px; color:var(--text); transition:all .14s; cursor:pointer; }
.cat:hover { background:var(--primary-light); color:var(--primary); }
.cat .ci { width:20px; height:20px; flex-shrink:0; color:var(--text-soft); transition:color .14s; }
.cat:hover .ci { color:var(--primary); }
.cat .chev { margin-left:auto; color:var(--text-faint); opacity:0; transition:opacity .14s; }
.cat:hover .chev { opacity:1; }

.hero { position:relative; overflow:hidden; background:linear-gradient(135deg, var(--primary) 0%, #145a96 55%, var(--secondary) 100%); border-radius:var(--r-xl); padding:48px 52px; color:#fff; display:flex; flex-direction:column; justify-content:center; box-shadow:var(--shadow-lg); min-height:440px; }
.hero::before { content:''; position:absolute; width:420px; height:420px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); top:-160px; right:-120px; }
.hero::after { content:''; position:absolute; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle, rgba(249,115,22,.20), transparent 70%); bottom:-140px; left:-80px; }
.hero > * { position:relative; z-index:1; }
.hero .eyebrow { display:inline-flex; align-items:center; gap:8px; align-self:flex-start; background:rgba(255,255,255,.16); backdrop-filter:blur(8px); padding:7px 15px; border-radius:100px; font-family:'Inter'; font-weight:600; font-size:13px; margin-bottom:22px; border:1px solid rgba(255,255,255,.22); }
.hero h1 { color:#fff; font-size:46px; font-weight:800; max-width:600px; margin-bottom:18px; }
.hero h1 .hl { color:#ffd479; }
.hero p { font-size:18px; color:rgba(255,255,255,.92); max-width:520px; font-weight:500; margin-bottom:30px; }
.hero-cta { display:flex; gap:14px; flex-wrap:wrap; }
.hero-stats { display:flex; gap:36px; margin-top:36px; padding-top:28px; border-top:1px solid rgba(255,255,255,.18); }
.hero-stat .n { font-family:'Inter'; font-weight:800; font-size:27px; color:#fff; }
.hero-stat .l { font-size:13px; color:rgba(255,255,255,.8); font-weight:500; }

/* ============================================================
   BANDEAU CONFIANCE
   ============================================================ */
.trust { padding:20px 0; }
.trust-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.trust-item { background:var(--surface); border:1px solid var(--border); border-radius:var(--r); padding:18px 20px; display:flex; align-items:center; gap:14px; box-shadow:var(--shadow-xs); }
.trust-item .ti { width:42px; height:42px; border-radius:var(--r); flex-shrink:0; display:grid; place-items:center; background:var(--primary-light); color:var(--primary); }
.trust-item .tt { font-family:'Inter'; font-weight:700; font-size:14.5px; color:var(--ink); }
.trust-item .ts { font-size:12.5px; color:var(--text-soft); }

/* ============================================================
   SECTIONS GÉNÉRIQUES
   ============================================================ */
section.block { padding:46px 0; }
.sec-head { display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:28px; }
.sec-head .eyebrow2 { color:var(--primary); font-family:'Inter'; font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:6px; }
.sec-head h2 { font-size:30px; }
.sec-head p { color:var(--text-soft); margin-top:6px; font-size:15px; }
.sec-link { font-family:'Inter'; font-weight:600; font-size:14px; color:var(--primary); display:inline-flex; align-items:center; gap:6px; }
.sec-link:hover { gap:9px; }

/* ============================================================
   PRODUITS
   ============================================================ */
.prod-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.pcard { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; transition:all .2s; cursor:pointer; box-shadow:var(--shadow-xs); }
.pcard:hover { transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--primary-soft); }
.pcard .pimg { height:180px; position:relative; display:grid; place-items:center; font-size:58px; background:linear-gradient(135deg,#eff4ff,#dbe7fe); }
.pimg-photo { width:100%; height:100%; object-fit:cover; display:block; }
.ptag { position:absolute; top:12px; left:12px; background:var(--accent); color:#fff; font-family:'Inter'; font-weight:700; font-size:11px; padding:4px 9px; border-radius:100px; }
.ptag.new { background:var(--success); }
.pheart { position:absolute; top:11px; right:11px; width:32px; height:32px; border-radius:50%; background:rgba(255,255,255,.9); display:grid; place-items:center; color:var(--text-soft); transition:all .15s; }
.pheart:hover { color:#ef4444; background:#fff; }
.pcard .pbody { padding:16px; }
.pcat { font-family:'Inter'; font-weight:600; font-size:11.5px; color:var(--primary); text-transform:uppercase; letter-spacing:.04em; }
.pname { font-family:'Inter'; font-weight:700; font-size:15px; color:var(--ink); margin:5px 0 8px; line-height:1.35; }
.prate { display:flex; align-items:center; gap:5px; font-size:12.5px; color:var(--text-soft); margin-bottom:11px; }
.prate .stars { color:var(--accent); letter-spacing:1px; }
.pprice { display:flex; align-items:center; gap:8px; }
.pprice .now { font-family:'Inter'; font-weight:800; font-size:19px; color:var(--ink); }
.pprice .old { font-size:13px; color:var(--text-faint); text-decoration:line-through; }
.pshop { margin-top:10px; padding-top:11px; border-top:1px solid var(--border); display:flex; align-items:center; gap:7px; font-size:12px; color:var(--text-soft); }
.pshop .av { width:20px; height:20px; border-radius:50%; background:var(--primary-light); color:var(--primary); display:grid; place-items:center; font-size:10px; font-weight:700; font-family:'Inter'; }

/* ============================================================
   POURQUOI ACHETER (acheteurs)
   ============================================================ */
.why-buy { background:var(--surface); border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.why-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.why-card { padding:30px 26px; border-radius:var(--r-lg); background:var(--surface-2); border:1px solid var(--border); transition:all .2s; }
.why-card:hover { background:var(--primary-light); border-color:var(--primary-soft); transform:translateY(-3px); }
.why-card .wi { width:52px; height:52px; border-radius:var(--r); background:var(--primary); color:#fff; display:grid; place-items:center; margin-bottom:18px; box-shadow:0 6px 16px rgba(15,76,129,.3); }
.why-card h3 { font-size:18px; margin-bottom:9px; }
.why-card p { font-size:14px; color:var(--text-soft); }

/* ============================================================
   VENDEURS (conversion)
   ============================================================ */
.seller { position:relative; overflow:hidden; background:var(--ink); border-radius:var(--r-xl); padding:56px; color:#fff; margin:10px 0; }
.seller::before { content:''; position:absolute; width:500px; height:500px; border-radius:50%; background:radial-gradient(circle, rgba(15,76,129,.35), transparent 65%); top:-180px; right:-120px; }
.seller::after { content:''; position:absolute; width:340px; height:340px; border-radius:50%; background:radial-gradient(circle, rgba(249,115,22,.16), transparent 70%); bottom:-150px; left:30%; }
.seller-inner { position:relative; z-index:1; display:grid; grid-template-columns:1.1fr 1fr; gap:50px; align-items:center; }
.seller .eyebrow { display:inline-flex; align-items:center; gap:8px; background:rgba(15,76,129,.2); border:1px solid rgba(15,76,129,.4); color:#bfdbfe; padding:7px 15px; border-radius:100px; font-family:'Inter'; font-weight:600; font-size:13px; margin-bottom:20px; }
.seller h2 { color:#fff; font-size:38px; font-weight:800; margin-bottom:16px; line-height:1.15; }
.seller h2 .hl { color:#ffd479; }
.seller p.lead { color:#cbd5e1; font-size:17px; margin-bottom:28px; font-weight:500; }
.seller-benefits { display:flex; flex-direction:column; gap:14px; margin-bottom:30px; }
.sb { display:flex; align-items:flex-start; gap:13px; }
.sb .ck { width:24px; height:24px; border-radius:50%; background:var(--success); color:#fff; display:grid; place-items:center; flex-shrink:0; margin-top:1px; }
.sb .sbt { font-family:'Inter'; font-weight:700; font-size:15px; color:#fff; }
.sb .sbd { font-size:13.5px; color:#94a3b8; }
.seller-card { background:#fff; border-radius:var(--r-lg); padding:30px; color:var(--ink); box-shadow:0 24px 60px rgba(0,0,0,.3); }
.seller-card .sc-top { text-align:center; padding-bottom:22px; border-bottom:1px dashed var(--border-strong); margin-bottom:22px; }
.seller-card .sc-top .lbl { font-family:'Inter'; font-weight:600; font-size:13px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.05em; }
.seller-card .sc-top .big { font-family:'Inter'; font-weight:800; font-size:48px; color:var(--primary); line-height:1; margin:6px 0; }
.seller-card .sc-top .sub { font-size:13px; color:var(--text-soft); }
.tier { display:flex; justify-content:space-between; align-items:center; padding:11px 0; }
.tier .tn { display:flex; align-items:center; gap:9px; font-family:'Inter'; font-weight:700; font-size:14px; }
.tier .dotc { width:11px; height:11px; border-radius:50%; }
.tier .tc { font-family:'Inter'; font-weight:800; font-size:16px; color:var(--ink); }
.tier .tc small { font-size:12px; color:var(--text-soft); font-weight:600; }

/* ============================================================
   ÉTAPES VENDEUR
   ============================================================ */
.steps-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:8px; }
.step { text-align:center; padding:10px; background:var(--primary-light);}
.step .sn { width:54px; height:54px; border-radius:50%; background:var(--primary-light); color:var(--primary); font-family:'Inter'; font-weight:800; font-size:22px; display:grid; place-items:center; margin:0 auto 16px; border:2px solid var(--primary-soft); }
.step h4 { font-size:16px; margin-bottom:7px; }
.step p { font-size:13.5px; color:var(--text-soft); }

/* ============================================================
   PAGE CATALOGUE
   ============================================================ */
.catalog-layout { display:grid; grid-template-columns:268px 1fr; gap:24px; align-items:start; padding-bottom:40px; }
.cat-active { background:var(--primary-light); color:var(--primary); }
.cat-active .ci { color:var(--primary); }

.catalog-head { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:24px; gap:16px; flex-wrap:wrap; }
.catalog-title { font-size:28px; }
.catalog-count { color:var(--text-soft); font-size:14px; margin-top:4px; }

.catalog-sort { display:flex; align-items:center; gap:10px; }
.catalog-sort label { font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--text-soft); white-space:nowrap; }
.catalog-sort select { height:42px; border:1.5px solid var(--border-strong); border-radius:var(--r); padding:0 14px; font-family:'Inter'; font-size:14px; font-weight:600; color:var(--ink); background:var(--surface); cursor:pointer; transition:all .15s; }
.catalog-sort select:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 4px var(--primary-light); }

.catalog-empty { text-align:center; padding:70px 20px; }
.catalog-empty-icon { font-size:54px; margin-bottom:16px; }
.catalog-empty h3 { font-size:21px; margin-bottom:8px; }
.catalog-empty p { color:var(--text-soft); }

.pagination { display:flex; align-items:center; justify-content:center; gap:18px; margin-top:40px; }
.pg-btn { display:inline-flex; align-items:center; padding:10px 20px; border-radius:var(--r); border:1.5px solid var(--border-strong); font-family:'Inter'; font-weight:700; font-size:14px; color:var(--ink); background:var(--surface); transition:all .15s; }
.pg-btn:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-light); }
.pg-disabled { opacity:.4; pointer-events:none; }
.pg-info { font-family:'Inter'; font-weight:600; font-size:14px; color:var(--text-soft); }

/* ============================================================
   FICHE PRODUIT
   ============================================================ */
/* Fil d'ariane */
.breadcrumb { display:flex; align-items:center; gap:8px; font-family:'Inter'; font-size:13px; color:var(--text-soft); margin-bottom:20px; flex-wrap:wrap; }
.breadcrumb a { color:var(--text-soft); transition:color .15s; }
.breadcrumb a:hover { color:var(--primary); }
.breadcrumb .bc-sep { color:var(--text-faint); }
.breadcrumb .bc-current { color:var(--ink); font-weight:600; }

/* Haut : galerie + infos */
.product-top { display:grid; grid-template-columns:1fr 1fr; gap:40px; margin-bottom:48px; }

/* Galerie */
.product-gallery { position:sticky; top:90px; align-self:start; }
.pg-main { position:relative; height:440px; border-radius:var(--r-lg); background:linear-gradient(135deg,#eff4ff,#dbe7fe); display:grid; place-items:center; font-size:120px; border:1px solid var(--border); }
.pg-main.pg-digital { background:linear-gradient(135deg,#fae8ff,#f5d0fe); }
.pg-badge.sale { position:absolute; top:16px; left:16px; background:var(--accent); color:#fff; font-family:'Inter'; font-weight:700; font-size:13px; padding:6px 14px; border-radius:100px; }
.pg-thumbs { display:flex; gap:12px; margin-top:14px; }
.pg-thumb { width:74px; height:74px; border-radius:var(--r); background:linear-gradient(135deg,#eff4ff,#dbe7fe); display:grid; place-items:center; font-size:30px; cursor:pointer; border:2px solid transparent; transition:all .15s; }
.pg-thumb:hover { border-color:var(--primary-soft); }
.pg-thumb.active { border-color:var(--primary); }

/* Infos produit */
.product-info {
    background: #fff;
    border-radius: var(--r-lg);
    box-shadow: 0 .2rem .8rem #0003;
    padding: 28px;
}
.pi-cat { font-family:'Inter'; font-weight:600; font-size:12.5px; color:var(--primary); text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px; }
.pi-title { font-size:32px; line-height:1.2; margin-bottom:14px; }
.pi-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; font-size:13.5px; color:var(--text-soft); margin-bottom:16px; }
.pi-stars { color:var(--accent); letter-spacing:1px; }
.pi-dot { color:var(--text-faint); }
.pi-badges { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:18px; }
.pi-badge { font-family:'Inter'; font-weight:600; font-size:12px; padding:5px 12px; border-radius:100px; }
.pi-badge.type { background:var(--primary-light); color:var(--primary); }
.pi-badge.stock-ok { background:var(--success-soft); color:var(--success); }
.pi-badge.stock-no { background:#fee2e2; color:#dc2626; }
.pi-badge.stock-back { background:var(--accent-soft); color:#b45309; }
.pi-short { font-size:15px; color:var(--text); line-height:1.6; margin-bottom:20px; }

.pi-price { display:flex; align-items:baseline; gap:12px; margin-bottom:14px; }
.pi-now { font-family:'Inter'; font-weight:800; font-size:34px; color:var(--ink); }
.pi-old { font-size:18px; color:var(--text-faint); text-decoration:line-through; }
.pi-shipping { font-size:14px; color:var(--text-soft); margin-bottom:22px; }
.pi-shipping .ship-free { color:var(--success); font-weight:600; }

/* Achat */
.pi-buy { margin-bottom:26px; }
.buy-row { display:flex; gap:12px; align-items:stretch; }
.qty-box { display:flex; align-items:center; border:1.5px solid var(--border-strong); border-radius:var(--r); overflow:hidden; }
.qty-btn { width:42px; height:48px; border:none; background:var(--surface-2); font-size:20px; font-weight:700; color:var(--ink); cursor:pointer; transition:background .15s; }
.qty-btn:hover { background:var(--primary-light); color:var(--primary); }
.qty-box input { width:46px; height:48px; border:none; text-align:center; font-family:'Inter'; font-weight:700; font-size:16px; color:var(--ink); background:#fff; }
.add-cart-btn { flex:1; justify-content:center; }
.add-cart-btn:disabled { opacity:.5; cursor:not-allowed; transform:none; }
.cart-feedback { margin-top:12px; padding:12px 16px; border-radius:var(--r); font-family:'Inter'; font-weight:600; font-size:14px; }
.cart-feedback.success { background:var(--success-soft); color:var(--success); }
.cart-feedback.error { background:#fee2e2; color:#dc2626; }

/* Encart vendeur */
.pi-seller { display:flex; align-items:center; gap:14px; padding:18px; border:1px solid var(--border); border-radius:var(--r-lg); background:var(--surface-2); }
.ps-avatar { width:48px; height:48px; border-radius:50%; background:var(--primary); color:#fff; display:grid; place-items:center; font-family:'Inter'; font-weight:800; font-size:18px; flex-shrink:0; }
.ps-info { flex:1; }
.ps-name { font-family:'Inter'; font-weight:700; font-size:15px; color:var(--ink); }
.ps-verified { display:flex; align-items:center; gap:5px; font-size:12.5px; color:var(--success); font-weight:600; margin-top:2px; }
.ps-contact { font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--primary); padding:8px 16px; border:1.5px solid var(--primary-soft); border-radius:var(--r); transition:all .15s; }
.ps-contact:hover { background:var(--primary-light); }

/* Sections (description, avis, similaires) */
.product-section { padding:32px 0; border-top:1px solid var(--border); }
.product-section h2 { font-size:24px; margin-bottom:18px; }
.product-desc { font-size:15px; line-height:1.7; color:var(--text); }

/* Résumé avis */
.reviews-summary { margin-bottom:24px; }
.rs-score { display:inline-flex; flex-direction:column; align-items:center; padding:20px 36px; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r-lg); }
.rs-big { font-family:'Inter'; font-weight:800; font-size:42px; color:var(--ink); line-height:1; }
.rs-stars { color:var(--accent); letter-spacing:2px; font-size:18px; margin:6px 0; }
.rs-count { font-size:13px; color:var(--text-soft); }

/* Liste avis */
.reviews-list { display:flex; flex-direction:column; gap:16px; }
.review-card { padding:20px; border:1px solid var(--border); border-radius:var(--r-lg); background:var(--surface); }
.rc-head { display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.rc-avatar { width:40px; height:40px; border-radius:50%; background:var(--primary-light); color:var(--primary); display:grid; place-items:center; font-family:'Inter'; font-weight:700; font-size:16px; flex-shrink:0; }
.rc-author { font-family:'Inter'; font-weight:700; font-size:14.5px; color:var(--ink); }
.rc-stars { color:var(--accent); letter-spacing:1px; font-size:14px; }
.rc-stars-empty { color:var(--border-strong); }
.rc-verified { margin-left:auto; display:inline-flex; align-items:center; gap:5px; font-size:12px; font-weight:600; color:var(--success); background:var(--success-soft); padding:4px 10px; border-radius:100px; }
.rc-title { font-family:'Inter'; font-weight:700; font-size:15px; color:var(--ink); margin-bottom:5px; }
.rc-comment { font-size:14px; color:var(--text); line-height:1.6; }
.rc-response { margin-top:14px; padding:14px; background:var(--primary-light); border-radius:var(--r); border-left:3px solid var(--primary); }
.rcr-label { font-family:'Inter'; font-weight:700; font-size:12.5px; color:var(--primary); margin-bottom:5px; }
.rcr-text { font-size:13.5px; color:var(--text); line-height:1.55; }
.reviews-empty { text-align:center; padding:40px; color:var(--text-soft); background:var(--surface-2); border-radius:var(--r-lg); }

/* ============================================================
   PAGES AUTH (login / register)
   ============================================================ */
.auth-wrap { max-width:980px; margin:0 auto; padding:40px 24px; }
.auth-card { display:grid; grid-template-columns:1fr 1fr; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-xl); overflow:hidden; box-shadow:var(--shadow); }
.auth-form-col { padding:44px 40px; }
.auth-heading { font-size:27px; margin-bottom:8px; }
.auth-subtitle { color:var(--text-soft); font-size:15px; margin-bottom:26px; }
.auth-form { display:flex; flex-direction:column; gap:16px; }
.field { display:flex; flex-direction:column; gap:6px; }
.field-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.field label { font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--ink); }
.field input { width:100%; height:46px; border:1.5px solid var(--border-strong); border-radius:var(--r); padding:0 14px; font-family:'Inter'; font-size:14.5px; color:var(--ink); background:var(--surface-2); transition:all .15s; }
.field input:focus { outline:none; border-color:var(--primary); background:#fff; box-shadow:0 0 0 4px var(--primary-light); }
.field-hint { font-size:12px; color:var(--text-faint); }
.auth-row { display:flex; justify-content:flex-end; }
.auth-link { font-family:'Inter'; font-weight:600; font-size:13px; color:var(--primary); }
.auth-submit { width:100%; justify-content:center; margin-top:6px; }
.checkbox { display:flex; align-items:flex-start; gap:9px; font-family:'Inter'; font-size:13.5px; color:var(--text); cursor:pointer; line-height:1.4; }
.checkbox input { margin-top:2px; width:16px; height:16px; accent-color:var(--primary); cursor:pointer; flex-shrink:0; }
.auth-switch { margin-top:22px; text-align:center; font-size:14px; color:var(--text-soft); }
.auth-switch a { color:var(--primary); font-weight:600; margin-left:4px; }
.auth-alert { padding:12px 16px; border-radius:var(--r); font-family:'Inter'; font-weight:600; font-size:13.5px; margin-bottom:18px; }
.auth-alert.success { background:var(--success-soft); color:var(--success); }
.auth-alert.error { background:#fee2e2; color:#dc2626; }
/* Colonne illustration */
.auth-aside { background:linear-gradient(150deg, var(--primary), #145a96 55%, var(--secondary)); color:#fff; display:flex; align-items:center; padding:44px 40px; position:relative; overflow:hidden; }
.auth-aside::before { content:''; position:absolute; width:300px; height:300px; border-radius:50%; background:radial-gradient(circle, rgba(255,255,255,.15), transparent 70%); top:-100px; right:-80px; }
.auth-aside-inner { position:relative; z-index:1; }
.auth-logo { display:flex; align-items:center; gap:10px; font-family:'Inter'; font-weight:800; font-size:22px; margin-bottom:24px; }
.auth-logo .mark { width:36px; height:36px; border-radius:var(--r); background:rgba(255,255,255,.2); display:grid; place-items:center; font-size:18px; }
.auth-aside h3 { color:#fff; font-size:19px; margin-bottom:20px; }
.auth-benefits { list-style:none; display:flex; flex-direction:column; gap:14px; }
.auth-benefits li { display:flex; align-items:center; gap:11px; font-family:'Inter'; font-size:14.5px; }
.auth-benefits .ck { width:22px; height:22px; border-radius:50%; background:rgba(255,255,255,.2); display:grid; place-items:center; flex-shrink:0; }

/* ============================================================
   PAGE PANIER
   ============================================================ */
.cart-title { font-size:28px; margin-bottom:24px; }
.cart-warning { background:var(--accent-soft); color:#b45309; padding:12px 16px; border-radius:var(--r); font-family:'Inter'; font-weight:600; font-size:14px; margin-bottom:16px; }

/* Vide */
.cart-empty { text-align:center; padding:70px 20px; }
.cart-empty-icon { font-size:56px; margin-bottom:16px; }
.cart-empty h3 { font-size:22px; margin-bottom:8px; }
.cart-empty p { color:var(--text-soft); margin-bottom:24px; }

/* Layout : articles + récap */
.cart-layout { display:grid; grid-template-columns:1fr 340px; gap:28px; align-items:start; padding-bottom:48px; }

/* Articles */
.cart-items { display:flex; flex-direction:column; gap:14px; }
.cart-item { display:grid; grid-template-columns:88px 1fr auto auto auto; gap:16px; align-items:center; padding:16px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); }
.cart-item-invalid { border-color:#fca5a5; background:#fef2f2; }
.ci-img { width:88px; height:88px; border-radius:var(--r); background:linear-gradient(135deg,#eff4ff,#dbe7fe); display:grid; place-items:center; font-size:38px; overflow:hidden; }
.ci-img-photo { width:100%; height:100%; object-fit:cover; display:block; }
.ci-info { min-width:0; }
.ci-title { font-family:'Inter'; font-weight:700; font-size:15.5px; color:var(--ink); display:block; margin-bottom:4px; transition:color .15s; }
.ci-title:hover { color:var(--primary); }
.ci-variant { font-size:12.5px; color:var(--text-soft); }
.ci-unit { font-size:13.5px; color:var(--text-soft); margin-top:4px; }
.ci-issue { font-size:12.5px; color:#dc2626; font-weight:600; margin-top:4px; }
.ci-qty { display:flex; align-items:center; border:1.5px solid var(--border-strong); border-radius:var(--r); overflow:hidden; }
.ci-qty .qty-btn { width:36px; height:40px; border:none; background:var(--surface-2); font-size:18px; font-weight:700; color:var(--ink); cursor:pointer; transition:background .15s; }
.ci-qty .qty-btn:hover { background:var(--primary-light); color:var(--primary); }
.ci-qty-input { width:42px; height:40px; border:none; text-align:center; font-family:'Inter'; font-weight:700; font-size:15px; color:var(--ink); background:#fff; }
.ci-total { font-family:'Inter'; font-weight:800; font-size:17px; color:var(--ink); white-space:nowrap; }
.ci-remove { background:none; border:none; color:var(--text-faint); cursor:pointer; padding:8px; border-radius:var(--r); transition:all .15s; }
.ci-remove:hover { color:#dc2626; background:#fee2e2; }

/* Récap */
.cart-summary { position:sticky; top:90px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px; box-shadow:var(--shadow); }
.cart-summary h3 { font-size:18px; margin-bottom:18px; }
.cs-row { display:flex; justify-content:space-between; align-items:center; font-family:'Inter'; font-size:14.5px; color:var(--text); padding:8px 0; }
.cs-total { border-top:1.5px solid var(--border); margin-top:8px; padding-top:14px; font-family:'Inter'; font-weight:800; font-size:19px; color:var(--ink); }
.cs-checkout { width:100%; justify-content:center; margin-top:18px; }
.cs-checkout.disabled { opacity:.5; pointer-events:none; }
.cs-continue { display:block; text-align:center; margin-top:12px; font-family:'Inter'; font-weight:600; font-size:14px; color:var(--primary); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.checkout-title { font-size:28px; margin-bottom:24px; }
.checkout-error { background:#fee2e2; color:#dc2626; padding:14px 18px; border-radius:var(--r); font-family:'Inter'; font-weight:600; font-size:14px; margin-bottom:20px; }

.checkout-layout { display:grid; grid-template-columns:1fr 360px; gap:28px; align-items:start; padding-bottom:48px; }
.checkout-main { display:flex; flex-direction:column; gap:20px; }
.checkout-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:26px 28px; }
.checkout-card h2 { font-size:19px; margin-bottom:18px; }
.checkout-card .field { margin-bottom:14px; }
.checkout-paypal { display:flex; align-items:center; gap:10px; margin-top:14px; padding:14px 16px; background:var(--primary-light); border-radius:var(--r); color:var(--primary); font-family:'Inter'; font-weight:600; font-size:13.5px; }

/* Récap checkout */
.checkout-summary { position:sticky; top:90px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px; box-shadow:var(--shadow); }
.checkout-summary h3 { font-size:18px; margin-bottom:16px; }
.cos-items { display:flex; flex-direction:column; gap:10px; padding-bottom:14px; margin-bottom:6px; border-bottom:1px solid var(--border); }
.cos-item { display:grid; grid-template-columns:auto 1fr auto; gap:8px; align-items:center; font-size:13.5px; }
.cos-qty { font-family:'Inter'; font-weight:700; color:var(--primary); }
.cos-name { color:var(--text); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.cos-price { font-weight:600; color:var(--ink); white-space:nowrap; }
.cos-row { display:flex; justify-content:space-between; font-family:'Inter'; font-size:14px; color:var(--text); padding:7px 0; }
.cos-total { border-top:1.5px solid var(--border); margin-top:6px; padding-top:12px; font-family:'Inter'; font-weight:800; font-size:19px; color:var(--ink); }
.cos-pay { width:100%; justify-content:center; margin-top:18px; }

/* ============================================================
   CONFIRMATION COMMANDE
   ============================================================ */
.confirm-wrap { max-width:680px; margin:0 auto; padding:40px 24px 60px; text-align:center; }
.confirm-check { width:84px; height:84px; border-radius:50%; background:var(--success-soft); color:var(--success); display:grid; place-items:center; margin:0 auto 24px; }
.confirm-heading { font-size:30px; margin-bottom:10px; }
.confirm-subtitle { color:var(--text-soft); font-size:16px; margin-bottom:8px; }
.confirm-email { color:var(--text-faint); font-size:14px; margin-bottom:32px; }
.confirm-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:26px 28px; text-align:left; margin-bottom:28px; }
.confirm-meta { display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:14.5px; }
.confirm-meta:last-of-type { border-bottom:none; }
.confirm-meta .cm-label { color:var(--text-soft); }
.confirm-meta .cm-value { font-family:'Inter'; font-weight:700; color:var(--ink); }
.confirm-meta .cm-value.num { color:var(--primary); }
.confirm-meta .cm-value.total { font-size:18px; }
.confirm-status-badge { display:inline-flex; align-items:center; gap:5px; background:var(--success-soft); color:var(--success); font-family:'Inter'; font-weight:700; font-size:12.5px; padding:4px 12px; border-radius:100px; }
.confirm-items { margin-top:18px; }
.confirm-items h4 { font-size:14px; color:var(--text-soft); margin-bottom:12px; font-family:'Inter'; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.confirm-item { display:flex; justify-content:space-between; padding:8px 0; font-size:14px; }
.confirm-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   ESPACE ACHETEUR — LISTE COMMANDES
   ============================================================ */
.orders-head { display:flex; align-items:baseline; gap:14px; margin-bottom:24px; flex-wrap:wrap; }
.orders-title { font-size:28px; }
.orders-count { color:var(--text-soft); font-size:14px; }

.orders-empty { text-align:center; padding:70px 20px; }
.orders-empty-icon { font-size:56px; margin-bottom:16px; }
.orders-empty h3 { font-size:22px; margin-bottom:8px; }
.orders-empty p { color:var(--text-soft); margin-bottom:24px; }

.orders-list { display:flex; flex-direction:column; gap:12px; padding-bottom:40px; }
.order-row { display:grid; grid-template-columns:1.4fr 1fr auto 150px 24px; gap:18px; align-items:center; padding:18px 22px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); transition:all .15s; }
.order-row:hover { border-color:var(--primary-soft); box-shadow:var(--shadow); transform:translateY(-1px); }
.or-number { font-family:'Inter'; font-weight:700; font-size:15px; color:var(--ink); }
.or-date { font-size:13px; color:var(--text-soft); margin-top:3px; }
.or-items { font-size:13.5px; color:var(--text-soft); }
.or-total { font-family:'Inter'; font-weight:800; font-size:17px; color:var(--ink); }
.or-arrow { color:var(--text-faint); display:flex; }
.order-row:hover .or-arrow { color:var(--primary); }

/* ============================================================
   ESPACE ACHETEUR — DÉTAIL COMMANDE
   ============================================================ */
.order-back { display:inline-flex; align-items:center; gap:6px; font-family:'Inter'; font-weight:600; font-size:14px; color:var(--primary); margin-bottom:18px; }
.order-detail-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:20px; flex-wrap:wrap; }
.odh-number { font-size:24px; }
.odh-date { color:var(--text-soft); font-size:13.5px; margin-top:5px; }

.order-pay-banner { display:flex; justify-content:space-between; align-items:center; gap:14px; background:var(--accent-soft); color:#b45309; padding:14px 20px; border-radius:var(--r-lg); margin-bottom:20px; font-family:'Inter'; font-weight:600; flex-wrap:wrap; }
.order-notice { padding:14px 20px; border-radius:var(--r-lg); margin-bottom:20px; font-family:'Inter'; font-weight:600; font-size:14px; }
.order-notice.error { background:#fee2e2; color:#dc2626; }
.order-notice.refund { background:#f3e8ff; color:#9333ea; }

/* Stepper */
.order-stepper { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:26px 28px; margin-bottom:24px; }
.order-stepper h3 { font-size:17px; margin-bottom:22px; }
.stepper { display:flex; justify-content:space-between; position:relative; }
.stepper::before { content:''; position:absolute; top:17px; left:8%; right:8%; height:2px; background:var(--border-strong); z-index:0; }
.step { display:flex; flex-direction:column; align-items:center; gap:10px; position:relative; z-index:1; flex:1; }
.step-dot { width:36px; height:36px; border-radius:50%; background:var(--surface-2); border:2px solid var(--border-strong); display:grid; place-items:center; font-family:'Inter'; font-weight:700; font-size:14px; color:var(--text-faint); transition:all .2s; }
.step-label { font-family:'Inter'; font-weight:600; font-size:13px; color:var(--text-faint); text-align:center; }
.step.done .step-dot { background:var(--success); border-color:var(--success); color:#fff; }
.step.done .step-label { color:var(--ink); }
.step.current .step-dot { background:var(--primary); border-color:var(--primary); color:#fff; box-shadow:0 0 0 4px var(--primary-light); }
.step.current .step-label { color:var(--primary); font-weight:700; }

/* Grille détail */
.order-detail-grid { display:grid; grid-template-columns:1fr 320px; gap:24px; align-items:start; padding-bottom:48px; }
.order-items-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px 26px; }
.order-items-card h3 { font-size:18px; margin-bottom:18px; }
.odi-item { display:grid; grid-template-columns:60px 1fr auto auto; gap:16px; align-items:center; padding:14px 0; border-bottom:1px solid var(--border); }
.odi-item:last-child { border-bottom:none; }
.odi-img { width:60px; height:60px; border-radius:var(--r); background:linear-gradient(135deg,#eff4ff,#dbe7fe); display:grid; place-items:center; font-size:26px; }
.odi-title { font-family:'Inter'; font-weight:700; font-size:14.5px; color:var(--ink); }
.odi-variant { font-size:12.5px; color:var(--text-soft); margin-top:2px; }
.odi-shop { font-size:12px; color:var(--text-soft); margin-top:3px; }
.odi-qty { font-size:13px; color:var(--text-soft); white-space:nowrap; }
.odi-total { font-family:'Inter'; font-weight:800; font-size:15.5px; color:var(--ink); white-space:nowrap; }

.order-aside { display:flex; flex-direction:column; gap:16px; }
.order-info-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px 22px; }
.order-info-card h4 { font-size:14px; color:var(--text-soft); margin-bottom:12px; font-family:'Inter'; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
.order-address { font-size:14px; line-height:1.6; color:var(--text); }
.order-address strong { color:var(--ink); }
.ois-row { display:flex; justify-content:space-between; font-family:'Inter'; font-size:14px; color:var(--text); padding:7px 0; }
.ois-total { border-top:1.5px solid var(--border); margin-top:6px; padding-top:12px; font-family:'Inter'; font-weight:800; font-size:18px; color:var(--ink); }

/* Badges de statut */
.status-badge { display:inline-flex; align-items:center; font-family:'Inter'; font-weight:700; font-size:12px; padding:5px 12px; border-radius:100px; white-space:nowrap; }
.st-PENDING_PAYMENT { background:var(--accent-soft); color:#b45309; }
.st-PAID { background:var(--success-soft); color:var(--success); }
.st-PARTIALLY_SHIPPED, .st-SHIPPED { background:var(--primary-light); color:var(--primary); }
.st-DELIVERED, .st-COMPLETED { background:var(--success-soft); color:var(--success); }
.st-PAYMENT_FAILED, .st-EXPIRED, .st-CANCELED { background:#fee2e2; color:#dc2626; }
.st-REFUNDED, .st-PARTIALLY_REFUNDED { background:#f3e8ff; color:#9333ea; }
.st-DISPUTED { background:#fef3c7; color:#b45309; }

/* ============================================================
   DEVENIR VENDEUR
   ============================================================ */
.sell-hero { background:linear-gradient(135deg, var(--primary), #145a96 55%, var(--secondary)); color:#fff; padding:48px 0; }
.sell-hero .eyebrow { background:rgba(255,255,255,.15); color:#fff; }
.sell-hero h1 { color:#fff; font-size:38px; max-width:640px; margin:14px 0 12px; }
.sell-hero p { color:rgba(255,255,255,.9); font-size:17px; max-width:600px; line-height:1.6; }
.sell-benefits-row { display:flex; gap:24px; flex-wrap:wrap; margin-top:24px; }
.sbr-item { display:flex; align-items:center; gap:9px; font-family:'Inter'; font-weight:600; font-size:14px; }
.sbr-item .ck { width:22px; height:22px; border-radius:50%; background:rgba(255,255,255,.2); display:grid; place-items:center; flex-shrink:0; }

.sell-guest { max-width:560px; margin:0 auto; text-align:center; padding:40px 24px; }
.sell-guest h2 { font-size:24px; margin-bottom:10px; }
.sell-guest p { color:var(--text-soft); margin-bottom:24px; }
.sell-guest-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

.sell-form-wrap { max-width:680px; margin:0 auto; padding-bottom:48px; }
.sell-form-wrap h2 { font-size:24px; margin-bottom:20px; }
.sell-form { display:flex; flex-direction:column; gap:16px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:28px 30px; }
.sell-section-title { font-size:15px; color:var(--text-soft); margin-top:10px; padding-top:16px; border-top:1px solid var(--border); }
.sell-type-choice { display:flex; gap:12px; }
.type-radio { display:flex; align-items:center; gap:8px; padding:12px 18px; border:1.5px solid var(--border-strong); border-radius:var(--r); cursor:pointer; font-family:'Inter'; font-weight:600; font-size:14px; flex:1; transition:all .15s; }
.type-radio:has(input:checked) { border-color:var(--primary); background:var(--primary-light); color:var(--primary); }
.type-radio input { accent-color:var(--primary); }

.sell-step { display:flex; align-items:center; gap:14px; padding:12px 0; font-family:'Inter'; font-weight:600; font-size:15px; }
.ss-num { width:30px; height:30px; border-radius:50%; background:var(--primary); color:#fff; display:grid; place-items:center; font-family:'Inter'; font-weight:800; flex-shrink:0; }

/* ============================================================
   ESPACE VENDEUR — DASHBOARD
   ============================================================ */
.seller-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.seller-shopname { font-size:28px; margin-bottom:8px; }
.seller-kyc-badge { display:inline-flex; align-items:center; font-family:'Inter'; font-weight:700; font-size:12.5px; padding:5px 14px; border-radius:100px; }
.kyc-APPROVED { background:var(--success-soft); color:var(--success); }
.kyc-PENDING_REVIEW { background:var(--accent-soft); color:#b45309; }
.kyc-NOT_SUBMITTED { background:#fee2e2; color:#dc2626; }
.kyc-REJECTED { background:#fee2e2; color:#dc2626; }
.kyc-EXPIRED { background:#fef3c7; color:#b45309; }
.seller-nav { display:flex; gap:8px; flex-wrap:wrap; }
.seller-nav a { padding:9px 16px; border:1px solid var(--border-strong); border-radius:var(--r); font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--text); transition:all .15s; }
.seller-nav a:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-light); }

/* Bannière KYC */
.kyc-banner { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:16px 22px; border-radius:var(--r-lg); margin-bottom:24px; font-family:'Inter'; font-weight:500; font-size:14px; flex-wrap:wrap; }
.kycb-NOT_SUBMITTED, .kycb-REJECTED { background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; }
.kycb-PENDING_REVIEW { background:var(--accent-soft); color:#92400e; border:1px solid #fde68a; }
.kyc-banner-text { flex:1; min-width:240px; }

/* Cartes résumé */
.seller-cards { display:grid; grid-template-columns:repeat(5, 1fr); gap:14px; margin-bottom:28px; }
.scard { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:18px 20px; }
.scard-primary { background:linear-gradient(135deg, var(--primary), var(--primary)); border:none; }
.scard-label { font-family:'Inter'; font-weight:600; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; margin-bottom:8px; }
.scard-primary .scard-label { color:rgba(255,255,255,.85); }
.scard-value { font-family:'Inter'; font-weight:800; font-size:22px; color:var(--ink); }
.scard-primary .scard-value { color:#fff; }

/* État nouveau vendeur */
.seller-welcome { text-align:center; padding:40px 24px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); margin-bottom:28px; }
.sw-icon { font-size:48px; margin-bottom:14px; }
.seller-welcome h3 { font-size:22px; margin-bottom:8px; }
.seller-welcome p { color:var(--text-soft); margin-bottom:22px; }

/* Sections */
.seller-section { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px 26px; margin-bottom:24px; }
.seller-section h2 { font-size:18px; margin-bottom:18px; }
.seller-section-head { display:flex; align-items:baseline; gap:12px; margin-bottom:18px; flex-wrap:wrap; }
.seller-section-head h2 { margin-bottom:0; }
.seller-section-sub { font-family:'Inter'; font-size:13px; color:var(--text-soft); }
.seller-empty-mini { color:var(--text-soft); font-size:14px; padding:8px 0; }

/* Graphique revenus */
.revenue-chart { width:100%; height:220px; }
.rchart-svg { width:100%; height:100%; display:block; }
.rchart-empty { height:100%; display:flex; align-items:center; justify-content:center; color:var(--text-faint); font-family:'Inter'; font-size:14px; text-align:center; background:var(--surface-2); border-radius:var(--r); }

/* Grille statuts + top */
.seller-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; padding-bottom:48px; }
.seller-grid .seller-section { margin-bottom:0; }

/* Liste statuts */
.status-list { list-style:none; display:flex; flex-direction:column; gap:12px; }
.status-list li { display:flex; align-items:center; gap:10px; }
.status-dot { width:10px; height:10px; border-radius:50%; background:var(--text-faint); flex-shrink:0; }
.isd-PENDING { background:var(--accent); }
.isd-PROCESSING { background:var(--primary); }
.isd-SHIPPED { background:#0ea5e9; }
.isd-DELIVERED, .isd-DELIVERED_DIGITAL { background:var(--success); }
.isd-CANCELED, .isd-RETURNED { background:#dc2626; }
.isd-REFUNDED { background:#9333ea; }
.status-name { flex:1; font-family:'Inter'; font-size:14px; color:var(--text); }
.status-count { font-family:'Inter'; font-weight:700; color:var(--ink); }

/* Top produits */
.top-list { list-style:none; counter-reset:top; display:flex; flex-direction:column; gap:12px; }
.top-list li { display:flex; justify-content:space-between; align-items:center; gap:12px; counter-increment:top; }
.top-list li::before { content:counter(top); width:24px; height:24px; border-radius:50%; background:var(--primary-light); color:var(--primary); font-family:'Inter'; font-weight:700; font-size:12px; display:grid; place-items:center; flex-shrink:0; }
.top-title { flex:1; font-family:'Inter'; font-weight:600; font-size:14px; color:var(--ink); overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.top-meta { display:flex; flex-direction:column; align-items:flex-end; font-size:12.5px; color:var(--text-soft); }
.top-rev { font-family:'Inter'; font-weight:700; color:var(--success); }

/* ============================================================
   ESPACE VENDEUR — PRODUITS (LISTE)
   ============================================================ */
.sprod-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:20px; flex-wrap:wrap; }
.sprod-title { font-size:28px; margin-bottom:6px; }
.sprod-count { font-family:'Inter'; font-size:13.5px; color:var(--text-soft); }

/* Filtres statut */
.sprod-filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px; border-bottom:1px solid var(--border); padding-bottom:0; }
.sprod-filter { padding:9px 14px; font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--text-soft); border-bottom:2px solid transparent; margin-bottom:-1px; transition:all .15s; }
.sprod-filter:hover { color:var(--primary); }
.sprod-filter.active { color:var(--primary); border-bottom-color:var(--primary); }

/* État vide */
.sprod-empty { text-align:center; padding:56px 24px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); }
.sprod-empty-icon { font-size:52px; margin-bottom:16px; }
.sprod-empty h3 { font-size:22px; margin-bottom:8px; }
.sprod-empty p { color:var(--text-soft); margin-bottom:22px; }
.sprod-empty-filtered { color:var(--text-soft); font-size:15px; margin-bottom:0 !important; }

/* Tableau produits */
.sprod-table-wrap { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
.sprod-table { width:100%; border-collapse:collapse; }
.sprod-table thead th { text-align:left; font-family:'Inter'; font-weight:700; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; padding:14px 18px; border-bottom:1px solid var(--border); background:var(--surface-2); }
.sprod-row { cursor:pointer; transition:background .12s; }
.sprod-row:hover { background:var(--primary-light); }
.sprod-table td { padding:14px 18px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:14px; color:var(--text); vertical-align:middle; }
.sprod-row:last-child td { border-bottom:none; }
.sprod-cell-title { max-width:280px; }
.sprod-name { display:block; font-weight:600; color:var(--ink); margin-bottom:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sprod-meta { font-size:11.5px; color:var(--text-faint); }
.sprod-cell-price { font-family:'Inter'; font-weight:700; color:var(--ink); white-space:nowrap; }
.sprod-cell-date { color:var(--text-soft); font-size:13px; white-space:nowrap; }
.sprod-digital { display:inline-block; font-size:12px; color:var(--text-soft); font-style:italic; }

/* Badges statut produit (complète .status-badge des commandes) */
.st-DRAFT { background:#f1f5f9; color:#64748b; }
.st-PENDING_REVIEW { background:var(--accent-soft); color:#b45309; }
.st-PUBLISHED { background:var(--success-soft); color:var(--success); }
.st-REJECTED { background:#fee2e2; color:#dc2626; }
.st-ARCHIVED { background:#e5e7eb; color:#6b7280; }
.st-SUSPENDED { background:#fef3c7; color:#92400e; }

/* ============================================================
   ESPACE VENDEUR — FORMULAIRE PRODUIT
   ============================================================ */
.wrap-narrow { max-width:720px; }
.sform-back { display:inline-block; font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--text-soft); margin-bottom:16px; transition:color .15s; }
.sform-back:hover { color:var(--primary); }
.sform-title { font-size:28px; margin-bottom:20px; }

.sform-success { background:var(--success-soft); color:var(--success); border:1px solid #bbf7d0; border-radius:var(--r); padding:14px 18px; margin-bottom:20px; font-family:'Inter'; font-weight:500; font-size:14px; }
.sform-error { background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; border-radius:var(--r); padding:14px 18px; margin-bottom:20px; font-family:'Inter'; font-weight:500; font-size:14px; }

.sform-section { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:22px 24px; margin-bottom:20px; }
.sform-section-title { font-size:16px; margin-bottom:18px; padding-bottom:12px; border-bottom:1px solid var(--border); }

.field-row-3 { grid-template-columns:1fr 1fr 1fr; }
.field-hint { font-family:'Inter'; font-size:12px; color:var(--text-faint); margin-top:4px; }

.field textarea { width:100%; padding:11px 14px; border:1px solid var(--border-strong); border-radius:var(--r); font-family:'Inter'; font-size:14.5px; color:var(--ink); background:var(--surface); resize:vertical; min-height:120px; transition:border-color .15s; }
.field textarea:focus { outline:none; border-color:var(--primary); }
.field select { width:100%; height:46px; padding:0 14px; border:1px solid var(--border-strong); border-radius:var(--r); font-family:'Inter'; font-size:14.5px; color:var(--ink); background:var(--surface); cursor:pointer; transition:border-color .15s; }
.field select:focus { outline:none; border-color:var(--primary); }

.field-check { display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.field-check input[type="checkbox"] { width:18px; height:18px; flex-shrink:0; accent-color:var(--primary); cursor:pointer; }
.field-check label { font-family:'Inter'; font-size:14px; color:var(--text); cursor:pointer; margin-bottom:0; }

.sform-digital-note { background:var(--primary-light); color:var(--primary-hover); border:1px solid var(--primary-soft); border-radius:var(--r); padding:14px 18px; margin-bottom:20px; font-family:'Inter'; font-weight:500; font-size:14px; }
.sform-readonly { width:100%; height:46px; padding:0 14px; border:1px solid var(--border); border-radius:var(--r); font-family:'Inter'; font-size:14.5px; color:var(--text-soft); background:var(--surface-2); cursor:not-allowed; }

.sform-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:8px; padding-bottom:48px; }
.btn-ghost { background:transparent; border:1px solid var(--border-strong); color:var(--text); }
.btn-ghost:hover { background:var(--bg); border-color:var(--text-soft); }

/* ============================================================
   ESPACE VENDEUR — BARRE D'ACTIONS CYCLE DE VIE
   ============================================================ */
.sform-actionbar { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px 24px; margin-bottom:20px; }
.sform-actionbar-status { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.sform-status-label { font-family:'Inter'; font-weight:600; font-size:13px; color:var(--text-soft); }

.sform-status-msg { font-family:'Inter'; font-size:13.5px; padding:10px 14px; border-radius:var(--r); margin-bottom:14px; }
.sform-status-pending { background:var(--accent-soft); color:#92400e; }
.sform-status-rejected { background:#fef2f2; color:#b91c1c; }
.sform-status-published { background:var(--success-soft); color:var(--success); }

.sform-action-buttons { display:flex; gap:10px; flex-wrap:wrap; }
.sform-action-form { margin:0; }

.btn-danger { background:#fee2e2; border:1px solid #fecaca; color:#dc2626; }
.btn-danger:hover { background:#fecaca; border-color:#dc2626; }

/* ============================================================
   ESPACE VENDEUR — GALERIE PHOTOS
   ============================================================ */
.sphoto-count { font-family:'Inter'; font-weight:500; font-size:13px; color:var(--text-soft); margin-left:8px; }

.sphoto-empty { background:var(--surface-2); border:1px dashed var(--border-strong); border-radius:var(--r); padding:20px; text-align:center; font-family:'Inter'; font-size:13.5px; color:var(--text-soft); margin-bottom:18px; }

.sphoto-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(120px, 1fr)); gap:12px; margin-bottom:18px; }
.sphoto-item { position:relative; aspect-ratio:1; border:1px solid var(--border); border-radius:var(--r); overflow:hidden; background:var(--surface-2); }
.sphoto-img { width:100%; height:100%; object-fit:cover; display:block; }
.sphoto-badge { position:absolute; bottom:6px; left:6px; background:var(--primary); color:#fff; font-family:'Inter'; font-weight:600; font-size:10.5px; padding:3px 8px; border-radius:20px; }

.sphoto-upload { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:6px; }
.sphoto-upload input[type="file"] { flex:1; min-width:200px; font-family:'Inter'; font-size:13px; color:var(--text); }
.sphoto-upload input[type="file"]::file-selector-button { padding:8px 14px; margin-right:10px; border:1px solid var(--border-strong); border-radius:var(--r); background:var(--surface); font-family:'Inter'; font-weight:600; font-size:13px; color:var(--text); cursor:pointer; transition:all .15s; }
.sphoto-upload input[type="file"]::file-selector-button:hover { background:var(--bg); border-color:var(--primary); color:var(--primary); }

/* Boutons d'action sur les vignettes (overlay) */
.sphoto-actions { position:absolute; top:6px; right:6px; display:flex; gap:4px; opacity:0; transition:opacity .15s; }
.sphoto-item:hover .sphoto-actions { opacity:1; }
.sphoto-action-form { margin:0; }
.sphoto-btn { width:28px; height:28px; padding:0; display:inline-flex; align-items:center; justify-content:center; border:none; border-radius:50%; cursor:pointer; transition:all .15s; background:rgba(255,255,255,.92); color:var(--ink); box-shadow:0 2px 6px rgba(0,0,0,.15); }
.sphoto-btn:hover { transform:scale(1.08); }
.sphoto-btn-main:hover { color:var(--accent); }
.sphoto-btn-delete:hover { background:#fee2e2; color:#dc2626; }

/* Toujours visibles sur mobile (pas de hover tactile) */
@media (hover: none) {
    .sphoto-actions { opacity:1; }
}

/* ============================================================
   ESPACE VENDEUR — FICHIER NUMÉRIQUE (PDF)
   ============================================================ */
.sfile-empty { background:var(--surface-2); border:1px dashed var(--border-strong); border-radius:var(--r); padding:20px; text-align:center; font-family:'Inter'; font-size:13.5px; color:var(--text-soft); margin-bottom:18px; }

.sfile-card { display:flex; gap:16px; align-items:flex-start; background:var(--primary-light); border:1px solid var(--primary-soft); border-radius:var(--r); padding:18px; margin-bottom:18px; }
.sfile-icon { flex-shrink:0; width:48px; height:48px; display:flex; align-items:center; justify-content:center; background:var(--surface); border-radius:var(--r); color:var(--primary); }
.sfile-info { flex:1; min-width:0; }
.sfile-name { font-family:'Inter'; font-weight:700; font-size:15px; color:var(--ink); margin-bottom:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sfile-meta { font-family:'Inter'; font-size:12.5px; color:var(--text-soft); margin-bottom:6px; }
.sfile-version { display:inline-block; padding:2px 8px; background:var(--surface); border-radius:20px; font-weight:600; color:var(--primary); font-size:11.5px; }
.sfile-ok { font-family:'Inter'; font-size:12.5px; color:var(--success); font-weight:500; }

.sfile-upload { display:flex; gap:10px; align-items:center; flex-wrap:wrap; margin-bottom:6px; }
.sfile-upload input[type="file"] { flex:1; min-width:200px; font-family:'Inter'; font-size:13px; color:var(--text); }
.sfile-upload input[type="file"]::file-selector-button { padding:8px 14px; margin-right:10px; border:1px solid var(--border-strong); border-radius:var(--r); background:var(--surface); font-family:'Inter'; font-weight:600; font-size:13px; color:var(--text); cursor:pointer; transition:all .15s; }
.sfile-upload input[type="file"]::file-selector-button:hover { background:var(--bg); border-color:var(--primary); color:var(--primary); }

/* ============================================================
   ESPACE VENDEUR — VARIANTES
   ============================================================ */
.svar-count { font-family:'Inter'; font-weight:500; font-size:13px; color:var(--text-soft); margin-left:8px; }
.svar-empty { background:var(--surface-2); border:1px dashed var(--border-strong); border-radius:var(--r); padding:20px; text-align:center; font-family:'Inter'; font-size:13.5px; color:var(--text-soft); margin-bottom:18px; }

/* Tableau des variantes */
.svar-table-wrap { background:var(--surface); border:1px solid var(--border); border-radius:var(--r); overflow-x:auto; margin-bottom:24px; }
.svar-table { min-width:760px; }
.svar-table { width:100%; border-collapse:collapse; }
.svar-table thead th { text-align:left; font-family:'Inter'; font-weight:700; font-size:11.5px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; padding:11px 14px; border-bottom:1px solid var(--border); background:var(--surface-2); }
.svar-table td { padding:12px 14px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:13.5px; color:var(--text); vertical-align:middle; }
.svar-table tr:last-child td { border-bottom:none; }
.svar-sku { font-family:'Menlo','Consolas',monospace; font-size:12px; color:var(--text-soft); white-space:nowrap; max-width:140px; overflow:hidden; text-overflow:ellipsis; }
.svar-empty-cell { color:var(--text-faint); }
.svar-size-badge { display:inline-block; padding:3px 9px; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r); font-weight:600; font-size:12.5px; color:var(--ink); }
.svar-color { display:inline-flex; align-items:center; gap:8px; }
.svar-color-dot { display:inline-block; width:14px; height:14px; border-radius:50%; border:1px solid var(--border-strong); flex-shrink:0; }
.svar-price { font-family:'Inter'; font-weight:700; color:var(--ink); white-space:nowrap; }
.svar-status { display:inline-block; padding:3px 9px; border-radius:20px; font-family:'Inter'; font-weight:600; font-size:11.5px; }
.svar-status-active { background:var(--success-soft); color:var(--success); }
.svar-status-inactive { background:#e5e7eb; color:#6b7280; }

/* Formulaire d'ajout */
.svar-form { background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r); padding:18px 20px; margin-bottom:10px; }
.svar-form-title { font-family:'Inter'; font-weight:700; font-size:15px; color:var(--ink); margin-bottom:14px; }
.svar-color-input { width:100% !important; height:46px; padding:6px; cursor:pointer; }
.svar-form-actions { display:flex; justify-content:flex-end; margin-top:6px; }

/* ============================================================
   ESPACE VENDEUR — ÉDITION VARIANTE
   ============================================================ */
.svaredit-product { background:var(--primary-light); border:1px solid var(--primary-soft); border-radius:var(--r); padding:12px 16px; margin-bottom:20px; display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.svaredit-product-label { font-family:'Inter'; font-weight:600; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; }
.svaredit-product-name { font-family:'Inter'; font-weight:700; font-size:15px; color:var(--ink); }

/* Colonne Actions dans le tableau variantes */
.svar-col-actions { text-align:right; white-space:nowrap; }
.svar-action-link { display:inline-block; padding:5px 12px; font-family:'Inter'; font-weight:600; font-size:12.5px; color:var(--primary); border:1px solid var(--primary-soft); border-radius:var(--r); background:var(--surface); transition:all .15s; }
.svar-action-link:hover { background:var(--primary-light); border-color:var(--primary); }

/* Cellule stock avec mini-formulaire d'ajustement */
.svar-stock-cell { min-width:170px; white-space:nowrap; }
.svar-stock-input { width:50px !important; }
.svar-stock-current { display:inline-block; font-family:'Inter'; font-weight:700; font-size:15px; color:var(--ink); margin-bottom:6px; }
.svar-stock-form { display:flex; gap:4px; align-items:center; flex-wrap:nowrap; }
.svar-stock-input { width:60px !important; height:30px !important; padding:0 6px !important; font-family:'Inter'; font-size:12.5px; border:1px solid var(--border-strong); border-radius:6px; }
.svar-stock-input:focus { outline:none; border-color:var(--primary); }
.svar-stock-mode { height:30px !important; padding:0 6px !important; font-family:'Inter'; font-size:12px; border:1px solid var(--border-strong); border-radius:6px; background:var(--surface); cursor:pointer; }
.svar-stock-mode:focus { outline:none; border-color:var(--primary); }
.svar-stock-btn { height:30px; padding:0 12px; font-family:'Inter'; font-weight:600; font-size:12px; color:#fff; background:var(--primary); border:none; border-radius:6px; cursor:pointer; transition:background .15s; }
.svar-stock-btn:hover { background:var(--primary-hover); }

/* Bouton supprimer variante (corbeille) */
.svar-delete-form { display:inline-block; margin:0; margin-left:6px; }
.svar-action-delete { padding:5px 9px; cursor:pointer; }
.svar-action-delete:hover { background:#fee2e2; border-color:#dc2626; color:#dc2626; }

.sform-subtitle { font-family:'Inter'; font-size:15px; color:var(--text-soft); margin-bottom:24px; max-width:520px; }

/* ============================================================
   FICHE PRODUIT — VARIANTES (E)
   ============================================================ */
.pi-variants { margin:18px 0 22px; padding:18px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.pv-title { font-family:'Inter'; font-weight:700; font-size:15px; margin-bottom:12px; color:var(--ink); }

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

.pv-chip { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; background:var(--surface); border:1.5px solid var(--border-strong); border-radius:var(--r); cursor:pointer; transition:all .15s; font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--ink); }
.pv-chip:not(:disabled):hover { border-color:var(--primary); background:var(--primary-light); }

.pv-chip-dot { display:inline-block; width:14px; height:14px; border-radius:50%; border:1px solid var(--border-strong); flex-shrink:0; }
.pv-chip-label { display:inline-flex; align-items:baseline; gap:6px; }
.pv-chip-size { font-weight:700; }
.pv-chip-color { font-weight:500; color:var(--text-soft); font-size:12.5px; }

.pv-chip-disabled, .pv-chip:disabled { opacity:.45; cursor:not-allowed; background:var(--surface-2); }
.pv-chip-unavail { font-size:10.5px; padding:2px 7px; background:var(--bg); border-radius:20px; color:var(--text-faint); font-weight:600; text-transform:uppercase; letter-spacing:.03em; }
/* Chip sélectionnée (E-3) */
.pv-chip-selected, .pv-chip-selected:hover { border-color:var(--primary); background:var(--primary-light); color:var(--primary-hover); box-shadow:0 0 0 1px var(--primary) inset; }
.pv-chip-selected::after { content:'✓'; display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; background:var(--primary); color:#fff; border-radius:50%; font-size:11px; font-weight:700; margin-left:4px; }

/* Message d'aide "choisir variante" */
.variant-hint { font-family:'Inter'; font-size:13px; color:var(--text-soft); margin-top:10px; padding:8px 12px; background:var(--surface-2); border-radius:var(--r); border-left:3px solid var(--primary); }

/* ============================================================
   COOKIE BANNER (D)
   ============================================================ */
.cookie-banner { position:fixed; bottom:0; left:0; right:0; z-index:9999; background:var(--surface); border-top:1px solid var(--border-strong); box-shadow:0 -2px 12px rgba(0,0,0,.08); padding:14px 0; }
.cookie-banner-inner { max-width:1200px; margin:0 auto; padding:0 24px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; }
.cookie-banner-icon { font-size:22px; flex-shrink:0; }
.cookie-banner-text { flex:1; min-width:240px; margin:0; font-family:'Inter'; font-size:13.5px; color:var(--text); line-height:1.5; }
.cookie-banner-actions { display:flex; align-items:center; gap:14px; flex-shrink:0; }
.cookie-banner-link { font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--primary); text-decoration:underline; }
.cookie-banner-link:hover { color:var(--primary-hover); }
.cookie-banner-btn { padding:10px 22px; font-size:13.5px; }

/* ============================================================
   ESPACE VENDEUR — VENTES (LISTE)
   ============================================================ */
.sord-head { display:flex; align-items:baseline; gap:14px; margin-bottom:20px; flex-wrap:wrap; }
.sord-title { font-size:28px; }
.sord-count { font-family:'Inter'; font-size:13.5px; color:var(--text-soft); }

/* Filtres statut (réutilise le pattern des produits) */
.sord-filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px; border-bottom:1px solid var(--border); padding-bottom:0; }
.sord-filter { padding:9px 14px; font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--text-soft); border-bottom:2px solid transparent; margin-bottom:-1px; transition:all .15s; }
.sord-filter:hover { color:var(--primary); }
.sord-filter.active { color:var(--primary); border-bottom-color:var(--primary); }

/* État vide */
.sord-empty { text-align:center; padding:56px 24px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); }
.sord-empty-icon { font-size:52px; margin-bottom:16px; }
.sord-empty h3 { font-size:22px; margin-bottom:8px; }
.sord-empty p { color:var(--text-soft); margin-bottom:22px; }
.sord-empty-filtered { color:var(--text-soft); font-size:15px; margin-bottom:0 !important; }

/* Tableau des ventes */
.sord-table-wrap { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
.sord-table { width:100%; border-collapse:collapse; }
.sord-table thead th { text-align:left; font-family:'Inter'; font-weight:700; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; padding:14px 18px; border-bottom:1px solid var(--border); background:var(--surface-2); }
.sord-row { cursor:pointer; transition:background .12s; }
.sord-row:hover { background:var(--primary-light); }
.sord-table td { padding:14px 18px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:14px; color:var(--text); vertical-align:middle; }
.sord-row:last-child td { border-bottom:none; }

.sord-cell-order { white-space:nowrap; }
.sord-order-num { display:inline-block; font-family:'Menlo','Consolas',monospace; font-size:12.5px; color:var(--ink); font-weight:600; }
.sord-digital-badge { display:inline-block; margin-left:6px; padding:2px 7px; background:var(--primary-light); color:var(--primary); font-size:10.5px; font-weight:600; border-radius:20px; text-transform:uppercase; letter-spacing:.03em; }

.sord-cell-product { max-width:280px; }
.sord-product-title { display:block; font-weight:600; color:var(--ink); margin-bottom:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sord-variant { font-size:12px; color:var(--text-soft); }

.sord-cell-qty { font-weight:600; color:var(--ink); text-align:center; }
.sord-cell-net { font-family:'Inter'; font-weight:700; color:var(--success); white-space:nowrap; }
.sord-cell-date { color:var(--text-soft); font-size:13px; white-space:nowrap; }

/* Badges statut commande item (complète .status-badge) */
.st-PENDING { background:var(--accent-soft); color:#b45309; }
.st-PROCESSING { background:var(--primary-light); color:var(--primary); }
.st-SHIPPED { background:#dbeafe; color:var(--primary); }
.st-DELIVERED { background:var(--success-soft); color:var(--success); }
.st-DELIVERED_DIGITAL { background:var(--success-soft); color:var(--success); }
.st-CANCELED { background:#e5e7eb; color:#6b7280; }
.st-REFUNDED { background:#fef3c7; color:#92400e; }
.st-RETURNED { background:#fed7aa; color:#9a3412; }

/* ============================================================
   PAGES D'ERREUR
   ============================================================ */
.errpage { text-align:center; padding:40px 24px; }
.errpage-icon { font-size:72px; margin-bottom:20px; line-height:1; }
.errpage-title { font-size:32px; margin-bottom:14px; }
.errpage-message { font-family:'Inter'; font-size:16px; color:var(--text-soft); margin-bottom:14px; max-width:480px; margin-left:auto; margin-right:auto; }
.errpage-code { font-family:'Menlo','Consolas',monospace; font-size:12.5px; color:var(--text-faint); margin-bottom:28px; letter-spacing:.05em; }
.errpage-actions { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.final-cta { text-align:center; padding:30px; }
.final-cta h2 { font-size:34px; margin-bottom:12px; }
.final-cta p { color:var(--text-soft); font-size:16px; max-width:540px; margin:0 auto 26px; }
.final-cta .ctas { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer { background:var(--ink); color:#cbd5e1; margin-top:20px; flex-shrink:0; }
.foot-top { display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; padding:50px 0 40px; }
.foot-brand .logo { color:#fff; margin-bottom:14px; }
.foot-brand p { font-size:14px; color:#94a3b8; max-width:300px; }
.foot-col h5 { color:#fff; font-family:'Inter'; font-size:14px; margin-bottom:16px; text-transform:uppercase; letter-spacing:.04em; }
.foot-col a { display:block; font-size:14px; color:#94a3b8; padding:6px 0; transition:color .15s; }
.foot-col a:hover { color:#fff; }
.foot-bottom { border-top:1px solid rgba(255,255,255,.1); padding:22px 0; display:flex; justify-content:space-between; align-items:center; font-size:13px; color:#94a3b8; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal { opacity:0; transform:translateY(16px); animation:rise .7s cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes rise { to { opacity:1; transform:none; } }
.d1{animation-delay:.05s}.d2{animation-delay:.12s}.d3{animation-delay:.2s}.d4{animation-delay:.28s}

/* ============================================================
   BOUTON COMPACT (utilisé KYC + actions inline)
   ============================================================ */
.btn-sm { padding:8px 16px; font-size:13px; }

/* ============================================================
   ESPACE VENDEUR — KYC (préfixe skyc-)
   ============================================================ */
.skyc-intro { font-family:'Inter'; font-size:14.5px; color:var(--text-soft); margin-bottom:22px; max-width:640px; }

/* Bandeau de statut global + barre de progression */
.skyc-status { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px 24px; margin-bottom:18px; }
.skyc-status-main { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.skyc-status-label { font-family:'Inter'; font-weight:700; font-size:17px; color:var(--ink); }
.skyc-progress { font-family:'Inter'; font-weight:600; font-size:13px; color:var(--text-soft); }
.skyc-progress-bar { height:8px; background:var(--border); border-radius:100px; overflow:hidden; }
.skyc-progress-fill { height:100%; background:linear-gradient(90deg, var(--primary), var(--primary)); border-radius:100px; transition:width .4s cubic-bezier(.2,.7,.3,1); }
/* Teinte de la bordure selon le statut KYC */
.skyc-status-APPROVED { border-color:#bbf7d0; }
.skyc-status-PENDING_REVIEW { border-color:#fde68a; }
.skyc-status-REJECTED { border-color:#fecaca; }
.skyc-status-APPROVED .skyc-progress-fill { background:linear-gradient(90deg, var(--success), #15803d); }
.skyc-status-REJECTED .skyc-progress-fill { background:linear-gradient(90deg, #dc2626, #b91c1c); }

.skyc-hint { font-family:'Inter'; font-size:13px; color:var(--text-soft); margin-bottom:18px; }

/* Liste des documents requis */
.skyc-list { display:flex; flex-direction:column; gap:14px; padding-bottom:48px; }
.skyc-item { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px 22px; transition:border-color .15s; }
.skyc-item-done { border-color:#bbf7d0; background:linear-gradient(0deg, var(--success-soft) 0%, var(--surface) 60%); }
.skyc-item-head { display:flex; justify-content:space-between; align-items:flex-start; gap:14px; flex-wrap:wrap; }
.skyc-item-title { display:flex; flex-direction:column; gap:3px; }
.skyc-doctype { font-family:'Inter'; font-weight:700; font-size:15.5px; color:var(--ink); }
.skyc-doctype-desc { font-family:'Inter'; font-size:13px; color:var(--text-soft); max-width:520px; }

/* Badge statut document */
.skyc-badge { display:inline-flex; align-items:center; font-family:'Inter'; font-weight:700; font-size:12px; padding:5px 12px; border-radius:100px; white-space:nowrap; }
.skyc-doc-UPLOADED { background:var(--accent-soft); color:#b45309; }
.skyc-doc-APPROVED { background:var(--success-soft); color:var(--success); }
.skyc-doc-REJECTED { background:#fee2e2; color:#dc2626; }
.skyc-doc-REPLACED { background:#e5e7eb; color:#6b7280; }
.skyc-doc-MISSING { background:#f1f5f9; color:#64748b; }

/* Détails du document fourni */
.skyc-item-doc { margin-top:14px; padding-top:14px; border-top:1px solid var(--border); display:flex; flex-direction:column; gap:6px; }
.skyc-file-name { font-family:'Inter'; font-weight:600; font-size:14px; color:var(--text); word-break:break-all; }
.skyc-file-meta { font-family:'Inter'; font-size:12.5px; color:var(--text-faint); }
.skyc-reject-reason { background:#fef2f2; border:1px solid #fecaca; border-radius:var(--r-sm); padding:8px 12px; font-family:'Inter'; font-size:13px; color:#b91c1c; margin-top:4px; }
.skyc-delete-form { margin-top:8px; }

/* Formulaire d'upload */
.skyc-upload-form { margin-top:16px; padding-top:16px; border-top:1px solid var(--border); display:flex; align-items:center; gap:12px; flex-wrap:wrap; }
.skyc-file-input { flex:1; min-width:200px; font-family:'Inter'; font-size:13px; padding:8px; border:1px dashed var(--border-strong); border-radius:var(--r); background:var(--surface-2); cursor:pointer; }
.skyc-file-input::file-selector-button { font-family:'Inter'; font-weight:600; font-size:12.5px; padding:6px 12px; margin-right:10px; border:none; border-radius:var(--r-sm); background:var(--primary-light); color:var(--primary); cursor:pointer; }

.skyc-pending-note { background:var(--accent-soft); border:1px solid #fde68a; border-radius:var(--r); padding:14px 18px; font-family:'Inter'; font-size:13.5px; color:#92400e; margin-bottom:48px; }

/* ============================================================
   ESPACE VENDEUR — REVENUS / EARNINGS (préfixe searn-)
   ============================================================ */
.searn-sub { font-family:'Inter'; font-size:13px; color:var(--text-soft); display:block; margin-top:2px; }

/* Hint sous les cartes (réutilise .scard) */
.searn-card-hint { font-family:'Inter'; font-size:12px; color:var(--text-faint); margin-top:6px; }
.scard-primary .searn-card-hint { color:rgba(255,255,255,.75); }

/* Note explicative commission */
.searn-note { background:var(--primary-light); border:1px solid var(--primary-soft); border-radius:var(--r); padding:14px 18px; font-family:'Inter'; font-size:13.5px; color:var(--text); margin-bottom:24px; }

/* Table de ventilation */
.searn-table-wrap { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
.searn-table { width:100%; border-collapse:collapse; }
.searn-table thead th { text-align:left; font-family:'Inter'; font-weight:700; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; padding:14px 18px; border-bottom:1px solid var(--border); background:var(--surface-2); }
.searn-table td { padding:14px 18px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:14px; color:var(--text); vertical-align:middle; }
.searn-table tbody tr:last-child td { border-bottom:1px solid var(--border); }
.searn-num { text-align:right; white-space:nowrap; font-variant-numeric:tabular-nums; }
.searn-net { font-weight:700; color:var(--ink); }
.searn-total-row td { background:var(--surface-2); font-family:'Inter'; font-weight:800; font-size:14px; color:var(--ink); border-bottom:none; }

/* Pastilles de catégorie financière */
.searn-cat { display:inline-flex; align-items:center; font-family:'Inter'; font-weight:700; font-size:11.5px; padding:4px 10px; border-radius:100px; white-space:nowrap; }
.searn-cat-EARNED { background:var(--success-soft); color:var(--success); }
.searn-cat-PENDING { background:var(--primary-light); color:var(--primary); }
.searn-cat-CANCELED { background:#e5e7eb; color:#6b7280; }

.searn-canceled-note { font-family:'Inter'; font-size:13px; color:var(--text-soft); margin-top:14px; padding:0 2px; }

/* État vide earnings */
.searn-empty { text-align:center; padding:48px 24px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); margin-bottom:48px; }
.searn-empty-icon { font-size:48px; margin-bottom:12px; }
.searn-empty h3 { font-size:22px; margin-bottom:8px; }
.searn-empty p { color:var(--text-soft); margin-bottom:22px; }


/* ============================================================
   ESPACE ADMIN — REVUE KYC (préfixe akyc-)
   ============================================================ */

/* En-tête liste */
.akyc-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.akyc-title { font-size:26px; margin-bottom:4px; }
.akyc-count { font-family:'Inter'; font-size:13.5px; color:var(--text-soft); }

/* État vide */
.akyc-empty { text-align:center; padding:48px 24px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); margin-bottom:48px; }
.akyc-empty-icon { font-size:48px; margin-bottom:12px; }
.akyc-empty h3 { font-size:22px; margin-bottom:8px; }
.akyc-empty p { color:var(--text-soft); }

/* Table liste (calquée sur sord-table / sprod-table) */
.akyc-table-wrap { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; margin-bottom:24px; }
.akyc-table { width:100%; border-collapse:collapse; }
.akyc-table thead th { text-align:left; font-family:'Inter'; font-weight:700; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; padding:14px 18px; border-bottom:1px solid var(--border); background:var(--surface-2); }
.akyc-table td { padding:14px 18px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:14px; color:var(--text); vertical-align:middle; }
.akyc-table tbody tr:last-child td { border-bottom:none; }
.akyc-row { cursor:pointer; transition:background .12s; }
.akyc-row:hover { background:var(--primary-light); }
.akyc-cell-shop { font-weight:700; color:var(--ink); }
.akyc-cell-email { color:var(--text-soft); font-size:13px; }
.akyc-cell-docs { text-align:center; font-variant-numeric:tabular-nums; }
.akyc-cell-date { white-space:nowrap; color:var(--text-soft); font-size:13px; }

/* Badge type de vendeur */
.akyc-type { display:inline-flex; align-items:center; font-family:'Inter'; font-weight:700; font-size:11.5px; padding:4px 10px; border-radius:100px; white-space:nowrap; }
.akyc-type-INDIVIDUAL { background:var(--primary-light); color:var(--primary); }
.akyc-type-BUSINESS { background:#f3e8ff; color:#9333ea; }

/* Indicateur d'attente */
.akyc-waiting { display:inline-flex; align-items:center; font-family:'Inter'; font-weight:700; font-size:12.5px; color:var(--text-soft); }
.akyc-waiting-late { color:#dc2626; }

/* ---- Détail dossier ---- */
.akyc-detail-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.akyc-detail-shop { font-size:26px; margin-bottom:8px; }

.akyc-section { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px 26px; margin-bottom:20px; }
.akyc-section h2 { font-size:18px; margin-bottom:18px; }

/* Grille d'infos identité */
.akyc-info-grid { display:grid; grid-template-columns:repeat(2, 1fr); gap:18px 24px; }
.akyc-info { display:flex; flex-direction:column; gap:4px; }
.akyc-info-label { font-family:'Inter'; font-weight:600; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; }
.akyc-info-value { font-family:'Inter'; font-size:15px; color:var(--ink); font-weight:600; }
.akyc-yes { color:var(--success); font-weight:700; }
.akyc-no { color:var(--text-faint); font-weight:600; }
.akyc-shop-desc { margin-top:18px; padding-top:18px; border-top:1px solid var(--border); }
.akyc-shop-desc p { font-family:'Inter'; font-size:14px; color:var(--text); margin-top:6px; }

/* Documents */
.akyc-docs { display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:16px; }
.akyc-doc { border:1px solid var(--border); border-radius:var(--r); padding:14px; background:var(--surface-2); }
.akyc-doc-head { display:flex; justify-content:space-between; align-items:center; gap:8px; margin-bottom:10px; flex-wrap:wrap; }
.akyc-doc-type { font-family:'Inter'; font-weight:700; font-size:13.5px; color:var(--ink); }
.akyc-doc-meta { display:flex; justify-content:space-between; gap:8px; font-family:'Inter'; font-size:12px; color:var(--text-faint); margin-bottom:12px; }
.akyc-doc-meta span:first-child { word-break:break-all; }
.akyc-doc-view { display:block; position:relative; border-radius:var(--r-sm); overflow:hidden; border:1px solid var(--border); background:var(--surface); transition:border-color .15s; }
.akyc-doc-view:hover { border-color:var(--primary); }
.akyc-doc-thumb { width:100%; height:150px; object-fit:cover; display:block; }
.akyc-doc-pdf { display:flex; align-items:center; justify-content:center; gap:8px; height:150px; font-family:'Inter'; font-weight:600; font-size:14px; color:var(--primary); }
.akyc-doc-zoom { position:absolute; bottom:0; left:0; right:0; background:rgba(15,23,42,.7); color:#fff; font-family:'Inter'; font-weight:600; font-size:12px; text-align:center; padding:5px; }

/* Bloc décision */
.akyc-decision { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px 26px; margin-bottom:48px; }
.akyc-decision h2 { font-size:18px; margin-bottom:18px; }
.akyc-decision-actions { display:flex; gap:24px; align-items:flex-start; flex-wrap:wrap; }
.akyc-approve-form { flex:0 0 auto; }
.akyc-reject-form { flex:1; min-width:280px; display:flex; flex-direction:column; gap:6px; }
.akyc-reject-form label { font-family:'Inter'; font-weight:600; font-size:13px; color:var(--ink); }
.akyc-reject-form textarea { font-family:'Inter'; font-size:14px; padding:10px 12px; border:1px solid var(--border-strong); border-radius:var(--r); resize:vertical; width:100%; }
.akyc-reject-form textarea:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px var(--primary-soft); }
.akyc-reject-form .btn { align-self:flex-start; margin-top:6px; }

.akyc-decided-note { background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r); padding:14px 18px; font-family:'Inter'; font-size:13.5px; color:var(--text-soft); margin-bottom:48px; }

/* ============================================================
   ESPACE ADMIN — MODÉRATION PRODUITS (préfixe amod-)
   ============================================================ */

/* En-tête liste */
.amod-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.amod-title { font-size:26px; margin-bottom:4px; }
.amod-count { font-family:'Inter'; font-size:13.5px; color:var(--text-soft); }

/* État vide */
.amod-empty { text-align:center; padding:48px 24px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); margin-bottom:48px; }
.amod-empty-icon { font-size:48px; margin-bottom:12px; }
.amod-empty h3 { font-size:22px; margin-bottom:8px; }
.amod-empty p { color:var(--text-soft); }

/* Table liste */
.amod-table-wrap { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; margin-bottom:24px; }
.amod-table { width:100%; border-collapse:collapse; }
.amod-table thead th { text-align:left; font-family:'Inter'; font-weight:700; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; padding:14px 18px; border-bottom:1px solid var(--border); background:var(--surface-2); }
.amod-table td { padding:14px 18px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:14px; color:var(--text); vertical-align:middle; }
.amod-table tbody tr:last-child td { border-bottom:none; }
.amod-row { cursor:pointer; transition:background .12s; }
.amod-row:hover { background:var(--primary-light); }
.amod-cell-title { font-weight:700; color:var(--ink); }
.amod-cell-shop { color:var(--text-soft); font-size:13px; }
.amod-cell-price { white-space:nowrap; font-variant-numeric:tabular-nums; }
.amod-cell-photos { text-align:center; font-variant-numeric:tabular-nums; }

/* ---- Détail ---- */
.amod-detail-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.amod-detail-title { font-size:26px; margin-bottom:6px; }
.amod-detail-shop { font-family:'Inter'; font-size:14px; color:var(--text-soft); }

.amod-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
.amod-section { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px 26px; margin-bottom:20px; }
.amod-grid .amod-section { margin-bottom:0; }
.amod-section h2 { font-size:18px; margin-bottom:18px; }

/* Photos */
.amod-photos { display:grid; grid-template-columns:repeat(auto-fill, minmax(120px, 1fr)); gap:12px; }
.amod-photo { position:relative; display:block; border-radius:var(--r); overflow:hidden; border:1px solid var(--border); aspect-ratio:1; background:var(--surface-2); transition:border-color .15s; }
.amod-photo:hover { border-color:var(--primary); }
.amod-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.amod-photo-main { position:absolute; top:6px; left:6px; background:var(--primary); color:#fff; font-family:'Inter'; font-weight:700; font-size:10.5px; padding:3px 8px; border-radius:100px; }

/* Grille infos (réutilise akyc-info / akyc-info-label / akyc-info-value) */
.amod-info-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px 24px; }
.amod-warn { color:#dc2626; font-weight:700; }

/* Description */
.amod-short { font-family:'Inter'; font-weight:600; font-size:15px; color:var(--text); margin-bottom:14px; padding-bottom:14px; border-bottom:1px solid var(--border); }
.amod-description { font-family:'Inter'; font-size:14.5px; line-height:1.7; color:var(--text); }
.amod-description p { margin-bottom:12px; }
.amod-description ul, .amod-description ol { margin:12px 0 12px 22px; }
.amod-description h1, .amod-description h2, .amod-description h3 { font-family:'Inter'; margin:16px 0 8px; }

/* Décision */
.amod-decision { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px 26px; margin-bottom:48px; }
.amod-decision h2 { font-size:18px; margin-bottom:14px; }
.amod-decision-actions { display:flex; gap:24px; align-items:flex-start; flex-wrap:wrap; }
.amod-approve-form { flex:0 0 auto; }
.amod-reject-form { flex:1; min-width:280px; display:flex; flex-direction:column; gap:6px; }
.amod-reject-form label { font-family:'Inter'; font-weight:600; font-size:13px; color:var(--ink); }
.amod-reject-form textarea { font-family:'Inter'; font-size:14px; padding:10px 12px; border:1px solid var(--border-strong); border-radius:var(--r); resize:vertical; width:100%; }
.amod-reject-form textarea:focus { outline:none; border-color:var(--primary); box-shadow:0 0 0 3px var(--primary-soft); }
.amod-reject-form .btn { align-self:flex-start; margin-top:6px; }
.amod-suspend-note { font-family:'Inter'; font-size:13.5px; color:var(--text-soft); margin-bottom:14px; }
/* Filtres de statut (modération) */
.amod-filters { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:20px; }
.amod-filter { font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--text-soft); padding:8px 16px; border:1px solid var(--border); border-radius:100px; transition:background .15s, border-color .15s, color .15s; }
.amod-filter:hover { border-color:var(--primary); color:var(--primary); }
.amod-filter.active { background:var(--primary); border-color:var(--primary); color:#fff; }

/* ============================================================
   ESPACE ADMIN — DASHBOARD (préfixe adash-)
   ============================================================ */
.adash-head { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.adash-title { font-size:26px; }
.adash-nav { display:flex; gap:10px; }
.adash-nav a { font-family:'Inter'; font-weight:600; font-size:13.5px; color:var(--primary); padding:8px 14px; border:1px solid var(--border); border-radius:100px; transition:background .15s, border-color .15s; }
.adash-nav a:hover { background:var(--primary-light); border-color:var(--primary); }

.adash-maintenance { background:#fef2f2; border:1px solid #fecaca; color:#b91c1c; border-radius:var(--r); padding:14px 18px; font-family:'Inter'; font-weight:600; font-size:14px; margin-bottom:22px; }

/* KPIs */
.adash-cards { display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; margin-bottom:24px; }
.adash-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px 22px; }
.adash-card-primary { background:linear-gradient(135deg, var(--primary), var(--primary)); border:none; color:#fff; }
.adash-card-label { font-family:'Inter'; font-weight:600; font-size:12.5px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; margin-bottom:8px; }
.adash-card-primary .adash-card-label { color:rgba(255,255,255,.85); }
.adash-card-value { font-family:'Inter'; font-weight:800; font-size:26px; color:var(--ink); font-variant-numeric:tabular-nums; }
.adash-card-primary .adash-card-value { color:#fff; }
.adash-card-hint { font-family:'Inter'; font-size:12px; color:var(--text-faint); margin-top:6px; }
.adash-card-primary .adash-card-hint { color:rgba(255,255,255,.75); }

/* Files d'attente */
.adash-queues { display:grid; grid-template-columns:repeat(2, 1fr); gap:18px; margin-bottom:28px; }
.adash-queue { display:flex; align-items:center; gap:18px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px 24px; transition:border-color .15s, box-shadow .15s; }
.adash-queue:hover { border-color:var(--primary); box-shadow:var(--shadow); }
.adash-queue-count { font-family:'Inter'; font-weight:800; font-size:34px; color:var(--text-faint); font-variant-numeric:tabular-nums; min-width:48px; text-align:center; }
.adash-queue-active .adash-queue-count { color:var(--primary); }
.adash-queue-label { font-family:'Inter'; font-weight:600; font-size:15px; color:var(--ink); }

/* Sections */
.adash-section { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px 26px; margin-bottom:20px; }
.adash-section-head { display:flex; justify-content:space-between; align-items:baseline; gap:12px; margin-bottom:18px; flex-wrap:wrap; }
.adash-section h2 { font-size:18px; }
.adash-section-sub { font-family:'Inter'; font-size:13px; color:var(--text-soft); }

/* Graphique */
.adash-chart { width:100%; height:220px; }
.adash-chart-svg { width:100%; height:100%; display:block; }
.adash-chart-empty { display:flex; align-items:center; justify-content:center; height:100%; font-family:'Inter'; font-size:14px; color:var(--text-soft); }

/* Grille ventilations */
.adash-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.adash-grid .adash-section { margin-bottom:20px; }

/* Listes statut */
.adash-status-list { list-style:none; }
.adash-status-list li { display:flex; justify-content:space-between; align-items:center; padding:9px 0; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:14px; }
.adash-status-list li:last-child { border-bottom:none; }
.adash-status-name { color:var(--text); }
.adash-status-count { font-weight:700; color:var(--ink); font-variant-numeric:tabular-nums; }

/* Config plateforme */
.adash-config { display:grid; grid-template-columns:repeat(2, 1fr); gap:16px 24px; }
.adash-config-item { display:flex; flex-direction:column; gap:4px; }
.adash-config-label { font-family:'Inter'; font-weight:600; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; }
.adash-config-value { font-family:'Inter'; font-size:15px; font-weight:600; color:var(--ink); }

/* ============================================================
   ESPACE ADMIN — CATÉGORIES (préfixe acat-)
   ============================================================ */
.acat-head { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; margin-bottom:24px; flex-wrap:wrap; }
.acat-title { font-size:26px; margin-bottom:4px; }
.acat-sub { font-family:'Inter'; font-size:13.5px; color:var(--text-soft); }

.acat-empty { text-align:center; padding:48px 24px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); margin-bottom:48px; }
.acat-empty-icon { font-size:48px; margin-bottom:12px; }
.acat-empty h3 { font-size:22px; margin-bottom:8px; }
.acat-empty p { color:var(--text-soft); margin-bottom:22px; }

.acat-tree { display:flex; flex-direction:column; gap:14px; padding-bottom:48px; }
.acat-root { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }

.acat-row { display:flex; align-items:center; gap:12px; padding:14px 20px; border-bottom:1px solid var(--border); transition:background .12s; }
.acat-child { padding-left:20px; border-top:1px solid var(--border); background:var(--surface-2); }
.acat-children { }
.acat-inactive { opacity:.55; }

.acat-name { display:flex; align-items:center; gap:8px; font-family:'Inter'; font-weight:700; font-size:15.5px; color:var(--ink); min-width:180px; flex:1; }
.acat-child-mark { color:var(--text-faint); font-weight:400; }

.acat-meta { display:flex; align-items:center; gap:10px; flex-wrap:wrap; }
.acat-type { font-family:'Inter'; font-weight:700; font-size:11px; padding:3px 9px; border-radius:100px; }
.acat-type-DIGITAL { background:#ede9fe; color:#7c3aed; }
.acat-type-PHYSICAL { background:var(--primary-light); color:var(--primary); }
.acat-slug { font-family:'Inter'; font-size:12.5px; color:var(--text-faint); }
.acat-prodcount { font-family:'Inter'; font-size:12.5px; color:var(--text-soft); }
.acat-featured { font-family:'Inter'; font-weight:700; font-size:11px; padding:3px 9px; border-radius:100px; background:var(--accent-soft); color:#b45309; }
.acat-badge-off { font-family:'Inter'; font-weight:700; font-size:11px; padding:3px 9px; border-radius:100px; background:#e5e7eb; color:#6b7280; }

.acat-actions { display:flex; gap:8px; align-items:center; margin-left:auto; }

/* ============================================================
   COMPTE — MES DONNÉES / RGPD (préfixe adata-)
   ============================================================ */
.adata-title { font-size:26px; margin-bottom:6px; }
.adata-intro { font-family:'Inter'; font-size:14.5px; color:var(--text-soft); margin-bottom:24px; }

.adata-section { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px 26px; margin-bottom:20px; }
.adata-section h2 { font-size:18px; margin-bottom:8px; }
.adata-section-sub { font-family:'Inter'; font-size:13.5px; color:var(--text-soft); margin-bottom:18px; }
.adata-section-danger { border-color:#fecaca; }
.adata-section-danger h2 { color:#b91c1c; }

/* Consentements */
.adata-consents { display:flex; flex-direction:column; gap:12px; }
.adata-consent { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:14px 0; border-bottom:1px solid var(--border); flex-wrap:wrap; }
.adata-consent:last-child { border-bottom:none; }
.adata-consent-info { display:flex; flex-direction:column; gap:3px; flex:1; min-width:200px; }
.adata-consent-name { font-family:'Inter'; font-weight:700; font-size:14.5px; color:var(--ink); }
.adata-consent-desc { font-family:'Inter'; font-size:12.5px; color:var(--text-soft); }
.adata-consent-form, .adata-consent-locked { display:flex; align-items:center; gap:12px; }
.adata-consent-required { font-family:'Inter'; font-weight:700; font-size:11px; padding:3px 9px; border-radius:100px; background:#e5e7eb; color:#6b7280; }
.adata-consent-state { font-family:'Inter'; font-weight:700; font-size:12px; padding:4px 11px; border-radius:100px; }
.adata-state-on { background:var(--success-soft); color:var(--success); }
.adata-state-off { background:#f1f5f9; color:#64748b; }

/* Suppression */
.adata-delete-warn { margin:0 0 18px 20px; font-family:'Inter'; font-size:13.5px; color:var(--text); }
.adata-delete-warn li { margin-bottom:6px; }
.adata-delete-form .field-check { margin-bottom:16px; }
.adata-deletion-pending { background:var(--accent-soft); border:1px solid #fde68a; border-radius:var(--r); padding:16px 18px; }
.adata-deletion-pending p { font-family:'Inter'; font-size:14px; color:#92400e; margin-bottom:14px; }

/* Historique */
.adata-history-wrap { overflow-x:auto; }
.adata-history { width:100%; border-collapse:collapse; }
.adata-history thead th { text-align:left; font-family:'Inter'; font-weight:700; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; padding:10px 12px; border-bottom:1px solid var(--border); }
.adata-history td { padding:10px 12px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:13.5px; color:var(--text); }
.adata-history tbody tr:last-child td { border-bottom:none; }
.adata-hist-val { font-family:'Inter'; font-weight:700; font-size:11.5px; padding:3px 9px; border-radius:100px; }
.adata-hist-date { white-space:nowrap; color:var(--text-soft); }

/* ============================================================
   HEADER REFONTE — menu, dropdowns, recherche expand, icônes
   ============================================================ */

/* Menu central */
.nav-menu { display:flex; align-items:center; gap:4px; flex:1; }
.nav-menu .nav-link { padding:9px 14px; }

/* Icône-action (panier, user) */
.nav-icon { position:relative; display:inline-grid; place-items:center; width:42px; height:42px; border-radius:var(--r); color:var(--text); background:transparent; border:none; cursor:pointer; transition:background .15s, color .15s; }
.nav-icon:hover { background:var(--secondary-light); color:var(--secondary); }
.nav-icon .badge { position:absolute; top:4px; right:4px; background:var(--accent); color:#fff; font-size:10px; font-weight:700; min-width:17px; height:17px; border-radius:9px; display:inline-flex; align-items:center; justify-content:center; padding:0 4px; line-height:1; box-sizing:border-box; }

/* Liens actifs/hover en bleu vif (secondaire) — fidèle au template */
.nav-link:hover { background:var(--secondary-light); color:var(--secondary); }
.nav-link.active { color:var(--secondary); }

/* Dropdown générique */
.nav-dropdown { position:relative; }
.nav-dropdown-toggle { background:transparent; border:none; cursor:pointer; font-family:inherit; }
.nav-caret { margin-left:2px; transition:transform .18s; }
.nav-dropdown-menu { position:absolute; top:calc(100% + 8px); left:0; min-width:230px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); box-shadow:var(--shadow-lg); padding:8px; opacity:0; visibility:hidden; transform:translateY(-6px); transition:opacity .15s, transform .15s, visibility .15s; z-index:60; }
.nav-dropdown-menu.open { opacity:1; visibility:visible; transform:translateY(0); }
.nav-dropdown-right { left:auto; right:0; }
.ndm-item { display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:var(--r-sm); font-family:'Inter'; font-weight:500; font-size:14px; color:var(--text); transition:background .12s, color .12s; }
.ndm-item:hover { background:var(--secondary-light); color:var(--secondary); }
.ndm-item i { width:18px; text-align:center; color:var(--text-soft); }
.ndm-all { display:block; padding:10px 12px; border-radius:var(--r-sm); font-family:'Inter'; font-weight:700; font-size:13px; color:var(--secondary); border-bottom:1px solid var(--border); margin-bottom:4px; }
.ndm-all:hover { background:var(--secondary-light); }
.ndm-empty { display:block; padding:10px 12px; color:var(--text-faint); font-size:13.5px; }
.ndm-divider { height:1px; background:var(--border); margin:6px 0; }
.ndm-logout { color:#dc2626; }
.ndm-logout:hover { background:#fee2e2; color:#dc2626; }

/* Recherche qui s'expand */
.search-expand { position:relative; display:flex; align-items:center; }
.search-toggle { display:inline-grid; place-items:center; width:42px; height:42px; border-radius:var(--r); color:var(--text); background:transparent; border:none; cursor:pointer; transition:background .15s, color .15s; }
.search-toggle:hover { background:var(--secondary-light); color:var(--secondary); }
.search-form { position:absolute; right:0; top:50%; transform:translateY(-50%) scaleX(0); transform-origin:right center; width:0; opacity:0; transition:width .25s ease, opacity .2s, transform .25s ease; display:flex; align-items:center; pointer-events:none; }
.search-expand.open .search-form { width:320px; opacity:1; transform:translateY(-50%) scaleX(1); pointer-events:auto; }
.search-expand.open .search-toggle { opacity:0; pointer-events:none; }
.search-form input { width:100%; height:42px; border:1.5px solid var(--border-strong); border-radius:var(--r); padding:0 44px 0 16px; font-family:'Inter'; font-size:14.5px; color:var(--ink); background:var(--surface); }
.search-form input:focus { outline:none; border-color:var(--secondary); box-shadow:0 0 0 4px var(--secondary-light); }
.search-submit { position:absolute; right:5px; top:5px; height:32px; width:36px; border:none; border-radius:var(--r-sm); background:var(--secondary); color:#fff; cursor:pointer; display:grid; place-items:center; transition:background .15s; }
.search-submit:hover { background:var(--secondary-hover); }

/* Sous-liens catégories mobile */
.mm-sublink { padding-left:32px; font-size:14px; color:var(--text-soft); }

/* ============================================================
   FOOTER REFONTE — marque + colonnes + réseaux + newsletter
   ============================================================ */
.foot-top { display:grid; grid-template-columns:1.6fr 1fr 1fr 1.4fr; gap:36px; padding:48px 0 36px; }

.foot-social-ico { display:inline-grid; place-items:center; width:38px; height:38px; border-radius:var(--r); background:rgba(255,255,255,.08); color:#fff; transition:background .15s, transform .15s; }
.foot-social-ico:hover { background:var(--secondary); transform:translateY(-2px); }
.foot-socials { display:flex; gap:10px; margin-bottom:24px; }

.foot-news-title { margin-top:4px; }
.foot-newsletter { display:flex; align-items:center; gap:0; margin-top:12px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); border-radius:var(--r); overflow:hidden; max-width:320px; }
.foot-newsletter input { flex:1; border:none; background:transparent; padding:12px 14px; font-family:'Inter'; font-size:14px; color:#fff; }
.foot-newsletter input::placeholder { color:rgba(255,255,255,.55); }
.foot-newsletter input:focus { outline:none; }
.foot-news-btn { border:none; background:var(--accent); color:#fff; width:46px; height:46px; display:grid; place-items:center; cursor:pointer; transition:background .15s; }
.foot-news-btn:hover { background:var(--accent-hover); }
/* --- Footer : corrections titres + centrage icônes --- */
/* Titres de colonnes en casse normale (1ʳᵉ lettre majuscule, pas tout en capitales) */
.site-footer .foot-col h5,
.site-footer .foot-news-title { text-transform:none; letter-spacing:normal; }

/* Centrage parfait des icônes réseaux sociaux */
.foot-social-ico { line-height:0; }
.foot-social-ico svg { display:block; }
/* --- Home : hero pleine largeur (sidebar catégories retirée) --- */
.hero-section .hero { width:100%; }

/* ============================================================
   VENDEUR — PARAMÈTRES FISCAUX (préfixe stax-)
   ============================================================ */
.stax-title { font-size:26px; margin-bottom:6px; }
.stax-intro { font-family:'Inter'; font-size:14px; color:var(--text-soft); margin-bottom:20px; }

.stax-vies { border:1px solid var(--border); border-radius:var(--r-lg); padding:16px 18px; background:var(--surface); }
.stax-vies-head { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.stax-vies-label { font-family:'Inter'; font-weight:700; font-size:14px; color:var(--ink); }
.stax-vies-badge { font-family:'Inter'; font-weight:700; font-size:12.5px; padding:4px 11px; border-radius:100px; }
.stax-vies-detail { font-family:'Inter'; font-size:13px; color:var(--text-soft); margin-top:10px; }

/* Couleurs selon l'état VIES */
.stax-vies-VALID .stax-vies-badge { background:var(--success-soft); color:var(--success); }
.stax-vies-PENDING .stax-vies-badge { background:var(--secondary-light); color:var(--secondary); }
.stax-vies-INVALID .stax-vies-badge { background:#fee2e2; color:#dc2626; }
.stax-vies-INVALID { border-color:#fecaca; }
.stax-vies-UNVERIFIABLE .stax-vies-badge { background:var(--accent-soft); color:#b45309; }
.stax-vies-NOT_APPLICABLE .stax-vies-badge { background:#f1f5f9; color:#64748b; }
.stax-dac7 { margin-top:20px; border:1px solid var(--border); border-radius:var(--r-lg); padding:18px 20px; background:var(--surface); }
.stax-dac7-approaching { border-color:#fde68a; background:var(--accent-soft); }
.stax-dac7-reached { border-color:#fecaca; background:#fef2f2; }
.stax-dac7-title { font-size:17px; margin-bottom:2px; }
.stax-dac7-sub { font-family:'Inter'; font-size:12.5px; color:var(--text-soft); margin-bottom:16px; }
.stax-dac7-bars { display:flex; flex-direction:column; gap:14px; }
.stax-dac7-metric-head { display:flex; justify-content:space-between; font-family:'Inter'; font-size:13.5px; color:var(--text); margin-bottom:6px; }
.stax-dac7-bar { height:8px; background:var(--surface-2); border-radius:100px; overflow:hidden; }
.stax-dac7-bar span { display:block; height:100%; background:var(--secondary); border-radius:100px; }
.stax-dac7-reached .stax-dac7-bar span { background:#dc2626; }
.stax-dac7-approaching .stax-dac7-bar span { background:var(--accent); }
.stax-dac7-msg { font-family:'Inter'; font-size:13px; margin-top:14px; color:var(--ink); }
.stax-dac7id { margin-top:20px; border:1px solid var(--border); border-radius:var(--r-lg); padding:18px 20px; background:var(--surface); }
.stax-dac7id-required { border-color:#fecaca; background:#fef2f2; }
.stax-dac7id-sub { font-family:'Inter'; font-size:13px; color:var(--text-soft); margin-bottom:14px; }
.stax-dac7id-alert { background:#fee2e2; color:#b91c1c; font-family:'Inter'; font-size:13.5px; padding:12px 14px; border-radius:var(--r); margin-bottom:16px; }

.adac7-title { font-size:26px; margin-bottom:4px; }
.adac7-sub { font-family:'Inter'; font-size:13.5px; color:var(--text-soft); margin-bottom:20px; }
.adac7-empty { padding:32px; text-align:center; color:var(--text-soft); background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); }
.adac7-table { width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
.adac7-table th { text-align:left; font-family:'Inter'; font-weight:700; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; padding:12px 14px; border-bottom:1px solid var(--border); }
.adac7-table td { padding:12px 14px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:13.5px; }
.adac7-table tbody tr:last-child td { border-bottom:none; }
.adac7-missing { background:#fef2f2; }
.adac7-email { font-size:12px; color:var(--text-faint); }
.adac7-badge-ok, .adac7-badge-active { font-family:'Inter'; font-weight:700; font-size:11px; padding:3px 9px; border-radius:100px; background:var(--success-soft); color:var(--success); }
.adac7-badge-missing, .adac7-badge-restricted { font-family:'Inter'; font-weight:700; font-size:11px; padding:3px 9px; border-radius:100px; background:#fee2e2; color:#dc2626; }
.stax-quarters { margin-top:20px; border:1px solid var(--border); border-radius:var(--r-lg); padding:18px 20px; background:var(--surface); }
.stax-quarters-table { width:100%; border-collapse:collapse; margin-top:10px; }
.stax-quarters-table th { text-align:left; font-family:'Inter'; font-weight:700; font-size:12px; color:var(--text-soft); padding:8px 10px; border-bottom:1px solid var(--border); }
.stax-quarters-table td { padding:8px 10px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:13.5px; }
.stax-quarters-table tbody tr:last-child td { border-bottom:none; }

.ssub-title { font-size:28px; margin-bottom:4px; }
.ssub-sub { font-family:'Inter'; color:var(--text-soft); margin-bottom:24px; }
.ssub-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:18px; }
.ssub-card { border:1px solid var(--border); border-radius:var(--r-lg); padding:22px; background:var(--surface); display:flex; flex-direction:column; }
.ssub-card-featured { border-color:var(--secondary); box-shadow:0 4px 20px rgba(37,99,235,.12); }
.ssub-card-name { font-size:20px; margin-bottom:8px; }
.ssub-card-price { margin-bottom:12px; }
.ssub-amount { font-size:36px; font-weight:800; color:var(--ink); }
.ssub-currency { font-family:'Inter'; font-size:14px; color:var(--text-soft); }
.ssub-card-desc { font-family:'Inter'; font-size:13px; color:var(--text-soft); margin-bottom:16px; }
.ssub-features { list-style:none; padding:0; margin:0 0 20px; font-family:'Inter'; font-size:13.5px; display:flex; flex-direction:column; gap:8px; }
.ssub-features li { padding-left:20px; position:relative; }
.ssub-features li::before { content:'✓'; position:absolute; left:0; color:var(--success); font-weight:700; }
.ssub-btn { margin-top:auto; width:100%; }
.ssub-free { margin-top:auto; text-align:center; font-family:'Inter'; font-size:13px; color:var(--text-soft); padding:11px; background:var(--surface-2); border-radius:var(--r); }

.awal-title { font-size:26px; margin-bottom:18px; }
.awal-empty { padding:32px; text-align:center; color:var(--text-soft); background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); }
.awal-table { width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; margin-bottom:24px; }
.awal-table th { text-align:left; font-family:'Inter'; font-weight:700; font-size:12px; color:var(--text-soft); text-transform:uppercase; padding:12px 14px; border-bottom:1px solid var(--border); }
.awal-table td { padding:12px 14px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:13.5px; }
.awal-table tbody tr:last-child td { border-bottom:none; }
.awal-balances { display:flex; gap:16px; margin-bottom:24px; }
.awal-bal { flex:1; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:16px; display:flex; flex-direction:column; gap:4px; }
.awal-bal span { font-family:'Inter'; font-size:12px; color:var(--text-soft); text-transform:uppercase; }
.awal-bal strong { font-size:24px; }
.awal-bal small { font-family:'Inter'; font-size:11px; color:var(--accent); }
.awal-bal-total { border-color:var(--secondary); }
.awal-credit-form { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px; margin-bottom:24px; }
.awal-tx-title { font-size:18px; margin-bottom:12px; }
.awal-credit { color:var(--success); font-weight:700; }
.awal-debit { color:#dc2626; font-weight:700; }

.scmp-title { font-size:26px; margin-bottom:6px; }
.scmp-balance { font-family:'Inter'; font-size:14px; color:var(--text-soft); margin-bottom:18px; }
.scmp-balance strong { color:var(--secondary); font-size:16px; }
.scmp-create { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:16px 20px; margin-bottom:24px; }
.scmp-create summary { cursor:pointer; font-family:'Inter'; font-weight:700; color:var(--secondary); }
.scmp-create .sform { margin-top:16px; }
.scmp-row { display:flex; gap:14px; }
.scmp-row .field { flex:1; }
.scmp-empty { padding:32px; text-align:center; color:var(--text-soft); background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); }
.scmp-cards { display:grid; grid-template-columns:repeat(auto-fill, minmax(300px, 1fr)); gap:16px; }
.scmp-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:18px; }
.scmp-card-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; gap:10px; }
.scmp-status { font-family:'Inter'; font-weight:700; font-size:11px; padding:3px 9px; border-radius:100px; }
.scmp-st-ACTIVE { background:var(--success-soft); color:var(--success); }
.scmp-st-PAUSED { background:var(--accent-soft); color:#b45309; }
.scmp-st-COMPLETED, .scmp-st-OUT_OF_BUDGET { background:#f1f5f9; color:#64748b; }
.scmp-st-DRAFT { background:var(--secondary-light); color:var(--secondary); }
.scmp-st-REJECTED { background:#fee2e2; color:#dc2626; }
.scmp-card-body { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:12px; }
.scmp-metric { display:flex; flex-direction:column; }
.scmp-metric span { font-family:'Inter'; font-size:11px; color:var(--text-soft); text-transform:uppercase; }
.scmp-metric strong { font-size:15px; }
.scmp-progress { height:6px; background:var(--surface-2); border-radius:100px; overflow:hidden; margin-bottom:14px; }
.scmp-progress span { display:block; height:100%; background:var(--secondary); }
.scmp-card-actions { text-align:right; }

.pcard { position:relative; }
.pcard-sponsored { box-shadow:0 0 0 1.5px var(--accent); border-radius:var(--r-lg); }
.padbadge {
    position:absolute; top:10px; left:10px; z-index:2;
    font-family:'Inter'; font-weight:700; font-size:10.5px;
    background:var(--accent); color:#fff;
    padding:3px 9px; border-radius:100px; letter-spacing:.02em;
}
/* Si ptag et padbadge coexistent (produit sponsorisé ET en promo), on décale le ptag à droite */
.pcard-sponsored .ptag { right:10px; left:auto; }
.cstat-title { font-size:26px; margin-bottom:18px; }
.cstat-summary { display:grid; grid-template-columns:repeat(auto-fit, minmax(140px, 1fr)); gap:14px; margin-bottom:28px; }
.cstat-kpi { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:16px 18px; display:flex; flex-direction:column; gap:6px; }
.cstat-kpi span { font-family:'Inter'; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; }
.cstat-kpi strong { font-size:26px; color:var(--ink); }
.cstat-kpi-balance { border-color:var(--secondary); }
.cstat-kpi-balance strong { color:var(--secondary); }
.cstat-subtitle { font-size:18px; margin-bottom:12px; }
.cstat-empty { padding:32px; text-align:center; color:var(--text-soft); background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); }
.cstat-table-wrap { overflow-x:auto; }
.cstat-table { width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
.cstat-table th { text-align:left; font-family:'Inter'; font-weight:700; font-size:11.5px; color:var(--text-soft); text-transform:uppercase; padding:12px 14px; border-bottom:1px solid var(--border); white-space:nowrap; }
.cstat-table td { padding:12px 14px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:13.5px; vertical-align:top; }
.cstat-table tbody tr:last-child td { border-bottom:none; }
.cstat-product { font-size:12px; color:var(--text-soft); }
.cstat-status { font-family:'Inter'; font-weight:700; font-size:11px; padding:3px 9px; border-radius:100px; }

.splc-title { font-size:26px; margin-bottom:6px; }
.splc-balance { font-family:'Inter'; font-size:14px; color:var(--text-soft); margin-bottom:20px; }
.splc-balance strong { color:var(--secondary); }
.splc-grid { display:grid; grid-template-columns:repeat(auto-fill, minmax(260px,1fr)); gap:16px; margin-bottom:28px; }
.splc-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:18px; }
.splc-card h3 { font-size:17px; margin-bottom:6px; }
.splc-desc { font-family:'Inter'; font-size:13px; color:var(--text-soft); margin-bottom:10px; }
.splc-price strong { font-size:22px; color:var(--ink); }
.splc-price span { font-family:'Inter'; font-size:13px; color:var(--text-soft); }
.splc-slots { font-family:'Inter'; font-size:12px; color:var(--text-soft); margin:6px 0 12px; }
.splc-book summary { cursor:pointer; font-family:'Inter'; font-weight:700; color:var(--secondary); }
.splc-book .sform { margin-top:12px; }
.splc-row { display:flex; gap:12px; }
.splc-row .field { flex:1; }
.splc-subtitle { font-size:18px; margin-bottom:12px; }
.splc-empty { padding:28px; text-align:center; color:var(--text-soft); background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); }
.splc-table-wrap { overflow-x:auto; }
.splc-table { width:100%; border-collapse:collapse; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); overflow:hidden; }
.splc-table th { text-align:left; font-family:'Inter'; font-weight:700; font-size:11.5px; color:var(--text-soft); text-transform:uppercase; padding:11px 13px; border-bottom:1px solid var(--border); white-space:nowrap; }
.splc-table td { padding:11px 13px; border-bottom:1px solid var(--border); font-family:'Inter'; font-size:13.5px; }
.splc-table tbody tr:last-child td { border-bottom:none; }
.splc-status { font-family:'Inter'; font-weight:700; font-size:11px; padding:3px 9px; border-radius:100px; background:var(--success-soft); color:var(--success); }
.splc-admin-form { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px; }

.sacr-title { font-size:26px; margin-bottom:18px; }
.sacr-balance { display:flex; gap:14px; margin-bottom:20px; flex-wrap:wrap; }
.sacr-balance > div { flex:1; min-width:120px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:14px 16px; display:flex; flex-direction:column; gap:4px; }
.sacr-balance span { font-family:'Inter'; font-size:11.5px; color:var(--text-soft); text-transform:uppercase; }
.sacr-balance strong { font-size:20px; }
.sacr-total { border-color:var(--secondary) !important; }
.sacr-total strong { color:var(--secondary); }
.sacr-intro { font-family:'Inter'; font-size:14px; color:var(--text-soft); margin-bottom:18px; }
.sacr-packs { display:grid; grid-template-columns:repeat(auto-fill, minmax(120px,1fr)); gap:14px; }
.sacr-pack-form { margin:0; }
.sacr-pack { width:100%; cursor:pointer; background:var(--surface); border:1.5px solid var(--border); border-radius:var(--r-lg); padding:20px 12px; display:flex; flex-direction:column; align-items:center; gap:6px; transition:border-color .15s, box-shadow .15s; }
.sacr-pack:hover { border-color:var(--secondary); box-shadow:0 4px 14px rgba(37,99,235,.12); }
.sacr-pack-amount { font-size:24px; font-weight:800; color:var(--ink); }
.sacr-pack-label { font-family:'Inter'; font-size:12px; color:var(--secondary); font-weight:700; text-transform:uppercase; }

.ssub-current { display:flex; justify-content:space-between; align-items:center; gap:16px; background:var(--surface); border:1.5px solid var(--secondary); border-radius:var(--r-lg); padding:20px 22px; margin-bottom:28px; flex-wrap:wrap; }
.ssub-current-label { font-family:'Inter'; font-size:12px; color:var(--text-soft); text-transform:uppercase; letter-spacing:.03em; }
.ssub-current-plan { font-size:24px; margin:4px 0; }
.ssub-current-meta { font-family:'Inter'; font-size:13.5px; color:var(--text-soft); }
.ssub-current-canceling { font-family:'Inter'; font-size:13px; color:#b45309; background:var(--accent-soft); padding:8px 12px; border-radius:var(--r); margin-top:10px; }
.ssub-current-pastdue { font-family:'Inter'; font-size:13px; color:#dc2626; background:#fee2e2; padding:8px 12px; border-radius:var(--r); margin-top:10px; }
.ssub-choose-title { font-size:18px; margin-bottom:14px; }
.ssub-current-badge { margin-top:auto; text-align:center; font-family:'Inter'; font-weight:700; font-size:12.5px; color:var(--secondary); background:var(--secondary-light); padding:11px; border-radius:var(--r); }

.sphoto-count-full { color:#dc2626 !important; font-weight:700; }
.sphoto-limit {
    margin-top:12px; padding:14px 16px;
    background:var(--accent-soft); border:1px solid var(--accent);
    border-radius:var(--r); font-family:'Inter'; font-size:13.5px;
    display:flex; align-items:center; gap:10px; flex-wrap:wrap;
}
.sphoto-limit a {
    color:var(--secondary); font-weight:700; text-decoration:none;
    white-space:nowrap;
}
.sphoto-limit a:hover { text-decoration:underline; }

.sshop-title { font-size:26px; margin-bottom:4px; }
.sshop-sub { font-family:'Inter'; font-size:13.5px; color:var(--text-soft); margin-bottom:20px; }
.sshop-sub a { color:var(--secondary); }
.sshop-form { margin-bottom:8px; }
.sshop-images { margin-top:8px; }
.sshop-img-row { display:flex; gap:24px; flex-wrap:wrap; }
.sshop-img-block { flex:1; min-width:220px; }
.sshop-img-label { font-family:'Inter'; font-weight:700; font-size:13px; display:block; margin-bottom:8px; }
.sshop-banner-preview { width:100%; height:120px; background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r); overflow:hidden; display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.sshop-banner-preview img { width:100%; height:100%; object-fit:cover; }
.sshop-logo-preview { width:96px; height:96px; background:var(--surface-2); border:1px solid var(--border); border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
.sshop-logo-preview img { width:100%; height:100%; object-fit:cover; }
.sshop-img-empty { font-family:'Inter'; font-size:12px; color:var(--text-soft); }
.sshop-faq-row { display:grid; grid-template-columns:1fr 2fr auto; gap:10px; align-items:start; margin-bottom:12px; padding:12px; background:var(--surface); border:1px solid var(--border); border-radius:var(--r); }
.sshop-faq-remove { align-self:center; }

.bq-hero { margin-bottom:8px; }
.bq-banner { width:100%; height:220px; background:var(--surface-2); overflow:hidden; }
.bq-banner-img { width:100%; height:100%; object-fit:cover; display:block; }
.bq-banner-placeholder { width:100%; height:100%; background:linear-gradient(135deg, var(--secondary-light), var(--surface-2)); }
.bq-identity { display:flex; align-items:flex-end; gap:18px; margin-top:-44px; position:relative; }
.bq-logo { width:96px; height:96px; border-radius:50%; overflow:hidden; border:4px solid var(--surface); background:var(--surface-2); flex-shrink:0; display:flex; align-items:center; justify-content:center; }
.bq-logo-img { width:100%; height:100%; object-fit:cover; }
.bq-logo-fallback { font-family:'Inter'; font-weight:800; font-size:32px; color:var(--secondary); }
.bq-identity-text { padding-bottom:8px; }
.bq-name { font-size:28px; margin:0 0 6px; }
.bq-social { display:flex; gap:14px; flex-wrap:wrap; }
.bq-social-link { font-family:'Inter'; font-size:13px; color:var(--secondary); text-decoration:none; font-weight:600; }
.bq-social-link:hover { text-decoration:underline; }
.bq-section { margin-bottom:36px; }
.bq-section-title { font-size:20px; margin-bottom:14px; }
.bq-count { font-family:'Inter'; font-size:14px; color:var(--text-soft); font-weight:400; }
.bq-description, .bq-terms { font-family:'Inter'; font-size:14.5px; line-height:1.7; color:var(--ink); white-space:pre-line; }
.bq-empty { padding:32px; text-align:center; color:var(--text-soft); background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); }
.bq-faq { display:flex; flex-direction:column; gap:10px; }
.bq-faq-item { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:14px 18px; }
.bq-faq-q { cursor:pointer; font-family:'Inter'; font-weight:700; font-size:14.5px; color:var(--ink); }
.bq-faq-a { margin-top:10px; font-family:'Inter'; font-size:14px; line-height:1.6; color:var(--text-soft); white-space:pre-line; }
.ps-name-link { color:var(--secondary); text-decoration:none; font-weight:700; }
.ps-name-link:hover { text-decoration:underline; }
.pshop[data-slug]:hover span:last-child { text-decoration:underline; color:var(--secondary); }
.pcard-shop-link { cursor:pointer; }
.pcard-shop-link:hover { color:var(--secondary); text-decoration:underline; }
.odi-download { display:flex; align-items:center; gap:12px; margin-top:10px; flex-wrap:wrap; }
.odi-dl-count { font-family:'Inter'; font-size:12px; color:var(--text-soft); }
.odi-dl-disabled { font-family:'Inter'; font-size:13px; color:#dc2626; font-weight:600; }
.pimg-photo { width:100%; height:100%; object-fit:cover; display:block; border-radius:inherit; }
.pg-main-img { width:100%; height:100%; object-fit:cover; display:block; }
.pg-thumb-img { width:100%; height:100%; object-fit:cover; display:block; border-radius:inherit; }

/* =====================================================================
   THÈME CLAIR — bannière blanche + fond blanc + bordures #a8bbd4
   ===================================================================== */

/* 1. Fond global du site en blanc */
body { background: #f0f0f0; }

/* 2. Bannière (hero) : fond blanc, bordure, suppression du dégradé bleu */
.hero {
    background: #ffffff;
    border: 1px solid #ffffff;
    box-shadow: none;
    color: var(--primary);
}
/* Halos décoratifs (cercles flous) : atténués sur fond blanc */
.hero::before { background: radial-gradient(circle, rgba(15,76,129,.06), transparent 70%); }
.hero::after  { background: radial-gradient(circle, rgba(249,115,22,.10), transparent 70%); }

/* Textes de la bannière → bleu de marque (lisibles sur blanc) */
.hero h1 { color: var(--primary); }
.hero h1 .hl { color: var(--accent); }            /* surlignage : orange de marque au lieu du jaune */
.hero p { color: var(--text); }                   /* sous-titre en gris foncé lisible */
.hero .eyebrow {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid var(--primary-soft);
    backdrop-filter: none;
}
.hero-stats { border-top: 1px solid var(--border); }
.hero-stat .n { color: var(--primary); }
.hero-stat .l { color: var(--text-soft); }

/* 3. Boutons de la bannière adaptés au fond blanc */
.hero .btn-light {
    background: var(--primary);
    color: #ffffff;
    border: 1px solid var(--primary);
}
.hero .btn-light:hover { background: var(--primary-hover); }
.hero .btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid #ffffff;
}
.hero .btn-outline:hover { background: var(--primary-light); }

/* 4. Cartes produits : bordure #a8bbd4 */
.pcard { border: 1px solid #ffffff; }

/* 5. Étapes "comment ça marche" de la home : bordure #a8bbd4 */
.steps-grid .step { border: 1px solid #ffffff; border-radius: var(--r-lg); }

/* 6. Couleur de texte normal du site */
/* 6. Couleur de texte normal + secondaire du site */
:root {
    --text:       #383f4c;
    --text-soft:  #383f4c;
    --text-faint: #383f4c;
}

/* 7. Images produits : produit entier centré, bords vides (style Kaufland/Amazon) */
.pcard .pimg {
    height: auto;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: grid;
    place-items: center;
    font-size: 58px;
    background: #ffffff;       /* fond blanc des bords vides */
    padding: 12px;             /* petite marge intérieure pour aérer */
}
.pcard .pimg-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;       /* ← changé de cover à contain : image entière visible */
    object-position: center;
    display: block;
}

/* Section produits phares — ajustements carte */

/* Fond du corps de carte */
.pcard .pbody {
    background: #ffffff;
    position: relative;       /* pour positionner le séparateur ::before */
}

/* Nom + prix en #3c3c3c */
.pcard .pname { color: #3c3c3c; }
.pcard .pprice .now { color: #3c3c3c; }

/* Séparateur image / corps : identique au trait au-dessus de "Boutique Test"
   (1px var(--border), en retrait des bords comme .pshop) */
.pcard .pbody::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;               /* même retrait que le padding de .pbody */
    right: 16px;              /* ne touche pas les extrémités */
    height: 1px;
    background: var(--border);
}
/* Couleur des titres / textes forts du site */
:root { --ink: #3c3c3c; }
/* Restaurer le fond foncé d'origine sur les sections qui utilisaient --ink comme BACKGROUND
   (le changement de --ink ne doit affecter que la couleur du TEXTE, pas ces fonds) */
.topbar { background: #0F172A; }
.seller { background: #0F172A; }
footer.site-footer { background: #0F172A; }

/* Hero en 2 colonnes : texte à gauche, zone image à droite */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-content { display: flex; flex-direction: column; }

.hero-media {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 340px;
    border-radius: var(--r-lg);
    overflow: hidden;
}
.hero-media-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: #ececf0;
    color: #9aa0ad;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    border: 1px dashed #c4c9d4;
    border-radius: var(--r-lg);
}
.hero-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--r-lg);
}
/* Sections à fond blanc (bloc continu en bas de la home) */
.block.bg-white { background: #ffffff; }

/* Panneau blanc de la fiche produit (galerie + infos + description + avis) */
.product-panel {
    background: #ffffff;
    border-radius: var(--r-xl);
    padding: 32px;
    margin-bottom: 32px;
}
.sform-attr-group-title { font-size:16px; font-weight:700; color:var(--ink); margin:22px 0 12px; }

.product-details-group { margin-bottom: 24px; }
.pdetails-group-title { font-size: 17px; font-weight: 700; color: var(--ink); margin: 20px 0 10px; }
.pdetails-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.pdetails-table tr { border-bottom: 1px solid var(--border); }
.pdetails-table tr:last-child { border-bottom: none; }
.pdetails-table th { width: 34%; text-align: left; vertical-align: top; padding: 12px 16px 12px 0; font-weight: 700; color: var(--text); }
.pdetails-table td { padding: 12px 0; color: var(--text); vertical-align: top; }

/* Note en haut de la fiche produit : étoiles plus grandes + texte proportionnel */
.pi-meta { font-size: 16px; }                    /* le texte "0.00 (0 Avis clients)" et "0 vendus" */
.pi-meta .pi-stars { font-size: 24px; letter-spacing: 2px; }   /* étoiles agrandies */
.pi-meta .pi-review-link { font-size: 16px; }    /* le lien note, taille cohérente */
/* Lien note cliquable vers les avis */
.pi-review-link { color: inherit; text-decoration: none; cursor: pointer; }
.pi-review-link:hover { text-decoration: underline; color: var(--primary); }
/* Défilement fluide vers l'ancre */
html { scroll-behavior: smooth; }
/* Décalage pour le header sticky (l'ancre ne se cache pas dessous) */
#reviews { scroll-margin-top: 90px; }

.btn-wishlist {
    width: 100%;
    margin-top: 18px;
    background: var(--surface);
    color: var(--primary);
    border: 1.5px solid var(--primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}
.btn-wishlist:hover { background: var(--primary-light); }
.btn-wishlist.is-active { background: var(--primary-light); }
.btn-wishlist .wish-icon { color: var(--primary); }

/* Cœur overlay sur la photo produit */
.pg-main { position: relative; }
.pg-main { overflow: hidden; }
.pg-heart {
    position: absolute; top: 14px; right: 14px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: none; cursor: pointer;
    display: grid; place-items: center;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    transition: all .15s; z-index: 2;
}
.pg-heart:hover { background: #fff; transform: scale(1.05); }
.pg-heart.is-active { color: var(--primary); }
/* Cœur bouton actif */
.btn-wishlist.is-active .wish-icon { color: var(--primary); }

.wishlist-card-wrap { position: relative; }
.wishlist-remove {
    position: absolute; top: 10px; right: 10px;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(255,255,255,.92); border: none; cursor: pointer;
    display: grid; place-items: center; color: #64748b;
    box-shadow: 0 2px 8px rgba(0,0,0,.12); z-index: 3; transition: all .15s;
}
.wishlist-remove:hover { background: #fff; color: #e11d48; transform: scale(1.05); }
.wishlist-empty { text-align: center; padding: 60px 20px; }
.wishlist-empty-icon { font-size: 48px; margin-bottom: 16px; }
.wishlist-empty h3 { margin-bottom: 8px; }
.wishlist-empty p { color: var(--text-soft); margin-bottom: 20px; }
.page-title { font-size: 28px; margin-bottom: 24px; }

/* ============================================================
   Cartes catalogue/wishlist (.pcard-* ) — alignées sur le style
   des cartes home (produit entier centré, fond blanc, style Kaufland)
   ============================================================ */

/* Image : carré uniforme, produit entier centré sur fond blanc */
.pcard-imgwrap {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    position: relative;
    display: grid;
    place-items: center;
    background: #ffffff;
    padding: 12px;
}
.pcard-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}
/* Placeholder si pas de photo */
.pcard-noimg {
    font-size: 58px;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
}

/* Corps de carte */
.pcard-body {
    padding: 16px;
    background: #ffffff;
    position: relative;
}
/* Séparateur image / corps (comme les cartes home) */
.pcard-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: var(--border);
}
.pcard-title {
    font-family: 'Inter';
    font-weight: 700;
    font-size: 15px;
    color: #3c3c3c;
    margin: 5px 0 8px;
    line-height: 1.35;
}
.pcard-shop {
    font-size: 12.5px;
    color: var(--text-soft);
    margin: 0 0 8px;
}
.pcard-price {
    font-weight: 700;
    font-size: 16px;
    color: #3c3c3c;
}

.wishlist-card-wrap > .pcard {
    width: 100%;
    height: 100%;
    display: block;
}

/* Cœur sur cartes (phares/catalogue) : plus grand, droit, cliquable */
.pheart {
    width: 38px;
    height: 38px;
    border: none;
    cursor: pointer;
    padding: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    z-index: 3;
}
.pheart .pheart-icon { display: block; }
.pheart:hover { color: var(--primary); background: #fff; transform: scale(1.05); }
.pheart.is-active { color: var(--primary); }
.pheart.is-active .pheart-icon { fill: currentColor; }

/* Étoiles des cartes produits : agrandies ×1.5, texte avis adapté */
.prate .stars { font-size: 15px; line-height: 1; display: inline-flex; align-items: center; }
.prate { font-size: 13px; align-items: center; }   /* le texte "(0 avis)" reste lisible, hiérarchie préservée */

/* Liste des conversations (messagerie) */
.conv-list { display: flex; flex-direction: column; gap: 2px; max-width: 760px; }
.conv-item {
    display: flex; gap: 14px; padding: 16px; border-radius: var(--r-lg);
    background: #fff; border: 1px solid var(--border); text-decoration: none;
    color: inherit; transition: all .15s; align-items: flex-start;
}
.conv-item:hover { border-color: var(--primary-soft); box-shadow: var(--shadow-xs); }
.conv-unread { background: #f6faff; border-color: var(--primary-soft); }
.conv-avatar {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: var(--primary); color: #fff; display: grid; place-items: center;
    font-weight: 700; font-size: 16px;
}
.conv-main { flex: 1; min-width: 0; }
.conv-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.conv-name { font-weight: 700; color: var(--ink); font-size: 15px; }
.conv-date { font-size: 12px; color: var(--text-soft); flex-shrink: 0; }
.conv-preview-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 3px; }
.conv-preview { color: var(--text-soft); font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.conv-unread .conv-preview { color: var(--ink); font-weight: 600; }
.conv-badge {
    background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
    min-width: 20px; height: 20px; border-radius: 10px; padding: 0 6px;
    display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.conv-subject { font-size: 12.5px; color: var(--primary); margin-top: 4px; }
.conv-empty { text-align: center; padding: 60px 20px; }
.conv-empty-icon { font-size: 48px; margin-bottom: 16px; }
.conv-empty h3 { margin-bottom: 8px; }
.conv-empty p { color: var(--text-soft); margin-bottom: 20px; }

/* En-tête conversation */
.conv-header {
    display: flex; align-items: center; gap: 14px; padding: 16px;
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
    margin-bottom: 16px; max-width: 760px;
}
.conv-back { color: var(--text-soft); display: grid; place-items: center; }
.conv-back:hover { color: var(--primary); }
.conv-header-avatar {
    width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
    background: var(--primary); color: #fff; display: grid; place-items: center;
    font-weight: 700; font-size: 16px;
}
.conv-header-name { font-weight: 700; color: var(--ink); font-size: 16px; }
.conv-header-subject { font-size: 13px; color: var(--primary); }

/* Fil des messages */
.msg-thread {
    max-width: 760px; max-height: 56vh; overflow-y: auto;
    display: flex; flex-direction: column; gap: 10px;
    padding: 16px; background: #f6faff;
    border: 1px solid var(--border); border-radius: var(--r-lg);
}
.msg-row { display: flex; }
.msg-mine { justify-content: flex-end; }
.msg-other { justify-content: flex-start; }
.msg-bubble {
    max-width: 70%; padding: 10px 14px; border-radius: 14px;
    font-size: 14px; line-height: 1.4;
}
.msg-mine .msg-bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.msg-other .msg-bubble { background: #fff; color: var(--ink); border: 1px solid var(--border); border-bottom-left-radius: 4px; }
.msg-body { white-space: pre-wrap; word-break: break-word; }
.msg-time { font-size: 11px; margin-top: 4px; opacity: .7; }
.msg-mine .msg-time { text-align: right; }

/* Zone de saisie */
.msg-compose {
    display: flex; gap: 10px; align-items: flex-end;
    max-width: 760px; margin-top: 14px;
}
.msg-compose textarea {
    flex: 1; resize: vertical; padding: 12px 14px; font-family: inherit;
    font-size: 14px; border: 1px solid var(--border); border-radius: var(--r-lg);
    min-height: 48px;
}
.msg-compose textarea:focus { outline: none; border-color: var(--primary); }
.msg-compose .btn { flex-shrink: 0; height: 48px; }
.msg-error { max-width: 760px; margin-top: 8px; color: #e11d48; font-size: 13px; }

.msgnew-card {
    max-width: 600px; background: #fff; border: 1px solid var(--border);
    border-radius: var(--r-lg); padding: 28px;
}
.msgnew-card .conv-back { display: inline-grid; margin-bottom: 12px; color: var(--text-soft); }
.msgnew-card .conv-back:hover { color: var(--primary); }
.msgnew-sub { color: var(--text-soft); font-size: 14px; margin-bottom: 18px; }
.msgnew-card textarea {
    width: 100%; resize: vertical; padding: 12px 14px; font-family: inherit;
    font-size: 14px; border: 1px solid var(--border); border-radius: var(--r-lg);
    margin-bottom: 12px; box-sizing: border-box;
}
.msgnew-card textarea:focus { outline: none; border-color: var(--primary); }
.msgnew-card .btn { width: 100%; justify-content: center; }

.pi-shipping {
    display: flex;
    gap: 10px;
    margin: 16px 0;
}

.ship-pill {
    flex: 1;                 /* chaque pastille prend une part égale de la largeur */
    display: inline-flex;
    align-items: center;
    justify-content: center; /* centre le texte dans la pastille élargie */
    text-align: center;
    padding: 10px 16px;
    border: 1px solid var(--line, #e2e5ea);
    border-radius: 10px;
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink, #1a2230);
}

.ship-pill.ship-free,
.ship-pill.return-free {
    color: #1f7a4d;
    border-color: #b7e0c8;
    background: #f1faf4;
}

/* ===================== MESSAGERIE ===================== */
.msg-layout {
    display: flex;
    gap: 0;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: #fff;
    min-height: 600px;
    margin-top: 20px;
}

/* ---- Colonne gauche ---- */
.msg-sidebar {
    width: 360px;
    flex-shrink: 0;
    border-right: 1.5px solid var(--border-strong);
    display: flex;
    flex-direction: column;
    background: var(--surface-2, #f8fafc);
}
.msg-toolbar {
    display: flex;
    gap: 10px;
    padding: 14px;
    align-items: center;
}
.msg-compose-btn {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 9px 18px;
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: all .15s;
}
.msg-compose-btn:hover { background: var(--primary-light); }
.msg-compose-btn.active { background: var(--primary); color: #fff; }
.msg-filter { flex: 1; }
.msg-filter select {
    width: 100%;
    height: 40px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    padding: 0 12px;
    font-family: 'Inter';
    font-size: 14px;
    color: var(--ink);
    background: #fff;
    cursor: pointer;
}
.msg-search { padding: 0 14px 14px; }
.msg-search input {
    width: 100%;
    height: 42px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    padding: 0 14px;
    font-family: 'Inter';
    font-size: 14px;
    color: var(--ink);
    background: #fff;
}
.msg-search input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.msg-conv-list { flex: 1; overflow-y: auto; }
.msg-conv-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    text-decoration: none;
    transition: background .12s;
}
.msg-conv-item:hover { background: var(--primary-light); }
.msg-conv-item.active { background: var(--primary-light); }
.msg-conv-dot {
    width: 9px; height: 9px;
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
    background: transparent;
}
.msg-conv-dot.on { background: var(--primary); }
.msg-conv-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--primary-light);
    color: var(--primary);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 15px;
    font-family: 'Inter';
}
.msg-conv-avatar.lg { width: 44px; height: 44px; font-size: 17px; }
.msg-conv-body { flex: 1; min-width: 0; }
.msg-conv-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}
.msg-conv-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.msg-conv-date { font-size: 12px; color: var(--muted, #94a3b8); flex-shrink: 0; }
.msg-conv-preview {
    display: block;
    font-size: 13px;
    color: var(--muted, #64748b);
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.msg-conv-item.is-unread .msg-conv-name,
.msg-conv-item.is-unread .msg-conv-preview { font-weight: 700; color: var(--ink); }
.msg-conv-empty { padding: 30px 14px; text-align: center; color: var(--muted, #94a3b8); font-size: 14px; }

/* ---- Colonne droite ---- */
.msg-panel { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.msg-panel-empty {
    flex: 1;
    display: grid;
    place-items: center;
    color: var(--muted, #94a3b8);
    font-size: 15px;
    padding: 40px;
    text-align: center;
}
.msg-panel-conv { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.msg-conv-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1.5px solid var(--border-strong);
}
.msg-conv-header-name { font-weight: 700; font-size: 16px; color: var(--primary); }
.msg-thread {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.msg-bubble {
    max-width: 70%;
    padding: 11px 15px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
    word-wrap: break-word;
}
.msg-bubble.theirs {
    align-self: flex-start;
    background: var(--surface-2, #f1f5f9);
    color: var(--ink);
    border-bottom-left-radius: 4px;
}
.msg-bubble.mine {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.msg-bubble-time { display: block; font-size: 11px; opacity: .65; margin-top: 4px; }
.msg-composer {
    display: flex;
    gap: 10px;
    padding: 14px 20px;
    border-top: 1.5px solid var(--border-strong);
    align-items: flex-end;
}
.msg-composer textarea, .msg-new-compose textarea {
    flex: 1;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-family: 'Inter';
    font-size: 14px;
    color: var(--ink);
    resize: vertical;
    min-height: 44px;
}
.msg-composer textarea:focus, .msg-new-compose textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* ---- Nouveau message ---- */
.msg-panel-new { flex: 1; padding: 24px 28px; display: flex; flex-direction: column; }
.msg-new-title { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.msg-new-label { font-weight: 600; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
#sellerSearch {
    width: 100%;
    height: 46px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    padding: 0 16px;
    font-family: 'Inter';
    font-size: 14px;
    color: var(--ink);
}
#sellerSearch:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }
.msg-seller-results { margin-top: 8px; }
.msg-seller-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--r-sm);
    margin-bottom: 8px;
    cursor: pointer;
    transition: all .12s;
}
.msg-seller-result:hover { border-color: var(--primary); background: var(--primary-light); }
.msg-new-compose { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg-new-target {
    font-weight: 600;
    font-size: 14px;
    color: var(--primary);
    padding: 10px 14px;
    background: var(--primary-light);
    border-radius: var(--r-sm);
}

.msg-panel-conv[hidden],
.msg-panel-new[hidden],
.msg-new-compose[hidden],
.msg-panel-empty[hidden] { display: none !important; }

.msg-rate-banner {
    display: none;
    background: #fef3f2;
    color: #b42318;
    border: 1px solid #fecdca;
    border-radius: var(--r-sm);
    padding: 12px 16px;
    margin: 12px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.cat-cascade { display: flex; flex-direction: column; gap: 8px; }
.cat-cascade .cat-level {
    width: 100%;
    height: 44px;
    border: 1.5px solid var(--border-strong);
    border-radius: var(--r-sm);
    padding: 0 12px;
    font-family: 'Inter';
    font-size: 14px;
    color: var(--ink);
    background: #fff;
}
.cat-cascade .cat-level:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

/* ===== Menu Catégories : sous-menu latéral (desktop) ===== */
.ndm-has-sub {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: default;
}
.ndm-sub-caret { flex-shrink: 0; opacity: .5; }

.ndm-submenu {
    position: absolute;
    top: -8px;
    left: 100%;
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
    flex-direction: column;
    z-index: 50;
}
.ndm-has-sub:hover .ndm-submenu { display: flex; }

.ndm-subitem {
    padding: 9px 14px;
    border-radius: var(--r-sm);
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
}
.ndm-subitem:hover { background: var(--primary-light); color: var(--primary); }

/* ===== Accordéon mobile ===== */
.mm-acc-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
}
.mm-acc-toggle svg { transition: transform .2s; }
.mm-acc.open .mm-acc-toggle svg { transform: rotate(180deg); }
.mm-acc-body { display: none; flex-direction: column; padding-left: 16px; }
.mm-acc.open .mm-acc-body { display: flex; }
.mm-sublink {
    padding: 8px 12px;
    font-size: 14px;
    color: var(--muted, #64748b);
    text-decoration: none;
}
.mm-sublink:hover { color: var(--primary); }

.filters {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 20px;
    box-shadow: var(--shadow-xs);
    align-self: start;
}
.filter-block h4 {
    font-size: 14px; font-weight: 700; color: var(--ink);
    margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.filter-pill {
    display: inline-block; margin: 0 6px 6px 0; padding: 6px 14px;
    border: 1px solid var(--border-strong); border-radius: 999px;
    font-size: 13px; color: var(--ink); text-decoration: none;
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-radio, .filter-check {
    display: flex; align-items: center; gap: 10px; padding: 7px 4px;
    font-size: 14px; color: var(--ink); text-decoration: none; border-radius: 6px;
}
.filter-radio:hover, .filter-check:hover { background: var(--primary-light); }
.filter-radio.active, .filter-check.active { color: var(--primary); font-weight: 600; }
.filter-check .fc-box {
    width: 18px; height: 18px; border: 1.5px solid var(--border-strong);
    border-radius: 4px; flex-shrink: 0;
}
.filter-check.active .fc-box {
    background: var(--primary); border-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: center;
}
.filter-price-range {
    display: flex; align-items: center; gap: 6px; margin-top: 12px;
}
.filter-price-range input[type="number"] {
    width: 100%; height: 38px; padding: 0 10px;
    border: 1.5px solid var(--border-strong); border-radius: 6px; font-size: 13px;
}
.filter-price-range button {
    width: 38px; height: 38px; flex-shrink: 0; border: none;
    background: var(--primary); color: #fff; border-radius: 6px; cursor: pointer; font-size: 18px;
}
.filter-reset { font-size: 13px; color: var(--primary); text-decoration: underline; }

.fr-dot {
    width: 18px; height: 18px; flex-shrink: 0;
    border: 1.5px solid var(--border-strong); border-radius: 50%;
    position: relative;
}
.filter-radio.active .fr-dot {
    border-color: var(--primary);
}
.filter-radio.active .fr-dot::after {
    content: ""; position: absolute; inset: 3px;
    background: var(--primary); border-radius: 50%;
}

.acat-node > .acat-children { display:none; }
.acat-node.open > .acat-children { display:block; }
.acat-row:hover { background:var(--primary-light); }
.acat-toggle { background:none; border:none; cursor:pointer; padding:2px; display:flex; align-items:center; color:var(--text-faint); flex-shrink:0; }
.acat-chevron { transition:transform .15s; }
.acat-node.open > .acat-row .acat-chevron { transform:rotate(90deg); }
.acat-leaf-dot { width:6px; height:6px; border-radius:50%; background:var(--border-strong); flex-shrink:0; margin:0 7px; }
.acat-count { color:var(--text-faint); font-weight:400; font-size:13px; }
.acat-inactive > .acat-row { opacity:.55; }
.acat-badge-notrans { font-size:11px; padding:1px 6px; border-radius:6px;
    background:#fef3c7; color:#92400e; font-weight:600; margin-left:6px; }

/* ===== Page À propos (about) ===== */
.about-hero { background:var(--primary-light); border-radius:var(--r-xl); padding:56px 32px; text-align:center; margin-bottom:24px; }
.about-badge { display:inline-flex; align-items:center; gap:6px; background:var(--surface); padding:6px 16px; border-radius:999px; font-size:13px; font-weight:600; color:var(--primary); margin-bottom:18px; box-shadow:var(--shadow-xs); }
.about-hero h1 { font-size:34px; font-weight:800; color:var(--ink); margin:0 0 14px; letter-spacing:-0.02em; }
.about-hero p { font-size:17px; line-height:1.7; color:var(--text); margin:0 auto; max-width:480px; }

.about-duo { display:grid; grid-template-columns:1fr 1fr; gap:16px; margin-bottom:32px; }
.about-card { background:var(--surface-2); border-radius:var(--r-lg); padding:24px; }
.about-card-ico { width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.about-card h2 { font-size:18px; font-weight:700; color:var(--ink); margin:0 0 8px; }
.about-card p { font-size:14.5px; line-height:1.6; color:var(--text); margin:0; }

.about-features-title { font-size:24px; font-weight:700; color:var(--ink); text-align:center; margin:0 0 22px; }
.about-features { display:grid; grid-template-columns:repeat(auto-fit, minmax(180px, 1fr)); gap:16px; margin-bottom:36px; }
.about-feature { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:22px; transition:transform .15s, box-shadow .15s; }
.about-feature:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(15,23,42,.08); }
.about-feature svg { width:26px; height:26px; }
.about-feature h3 { font-size:15.5px; font-weight:700; color:var(--ink); margin:12px 0 5px; }
.about-feature p { font-size:13.5px; line-height:1.55; color:var(--text); margin:0; }

/* Accents de couleur (icônes + pastilles) */
.acc-blue   { background:var(--primary-light); color:var(--primary); }
.acc-orange { background:var(--accent-soft); color:var(--accent); }
.acc-green  { background:#e7f6ee; color:#15803d; }
.acc-amber  { background:#fef3c7; color:#b45309; }
.acc-purple { background:#f0ebfb; color:#7c3aed; }
.acc-pink   { background:#fce7f0; color:#be185d; }
.ic-blue   { color:var(--primary); }
.ic-orange { color:var(--accent); }
.ic-green  { color:#15803d; }
.ic-amber  { color:#b45309; }
.ic-purple { color:#7c3aed; }
.ic-pink   { color:#be185d; }

.about-cta { background:var(--primary-light); border-radius:var(--r-xl); padding:40px 32px; text-align:center; }
.about-cta h2 { font-size:26px; font-weight:800; color:var(--ink); margin:0 0 10px; }
.about-cta p { font-size:15.5px; line-height:1.6; color:var(--text); margin:0 auto 22px; max-width:440px; }
.about-cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ===== Page Contact ===== */
.contact-channels { display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px; margin-bottom:32px; }
.contact-channel { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:26px 24px; text-align:center; transition:transform .15s, box-shadow .15s; }
.contact-channel:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(15,23,42,.08); }
.contact-channel-ico { width:52px; height:52px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.contact-channel-ico svg { width:24px; height:24px; }
.contact-channel h3 { font-size:16.5px; font-weight:700; color:var(--ink); margin:0 0 6px; }
.contact-channel p { font-size:14px; line-height:1.55; color:var(--text); margin:0 0 14px; }
.contact-channel a.contact-link { font-size:14.5px; font-weight:700; color:var(--primary); text-decoration:none; word-break:break-word; }
.contact-channel a.contact-link:hover { text-decoration:underline; }

.contact-address { display:flex; align-items:flex-start; gap:18px; background:var(--surface-2); border-radius:var(--r-lg); padding:24px 26px; }
.contact-address-ico { flex-shrink:0; width:44px; height:44px; border-radius:50%; background:var(--primary-light); color:var(--primary); display:flex; align-items:center; justify-content:center; }
.contact-address h2 { font-size:17px; font-weight:700; color:var(--ink); margin:0 0 6px; }
.contact-address address { font-style:normal; font-size:14.5px; line-height:1.7; color:var(--text); }

/* ===== Pages juridiques (épuré, lisible) ===== */
.legal-hero { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:36px 32px; margin-bottom:28px; }
.legal-hero h1 { font-size:30px; font-weight:800; color:var(--ink); margin:0 0 8px; letter-spacing:-0.02em; }
.legal-updated { font-size:13.5px; color:var(--text-faint); margin:0; }

.legal-notice { display:flex; gap:12px; align-items:flex-start; background:var(--accent-soft); border-radius:var(--r); padding:14px 16px; margin-bottom:32px; }
.legal-notice svg { flex-shrink:0; width:20px; height:20px; color:var(--accent); margin-top:1px; }
.legal-notice p { font-size:13.5px; line-height:1.55; color:#7c3a0c; margin:0; }

.legal-toc { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:20px 24px; margin-bottom:36px; }
.legal-toc h2 { font-size:14px; font-weight:700; color:var(--text-faint); text-transform:uppercase; letter-spacing:0.04em; margin:0 0 12px; }
.legal-toc ol { margin:0; padding:0; list-style:none; counter-reset:toc; columns:2; column-gap:32px; }
.legal-toc li { counter-increment:toc; padding:5px 0; break-inside:avoid; }
.legal-toc a { font-size:14px; color:var(--text); text-decoration:none; display:flex; gap:8px; }
.legal-toc a:hover { color:var(--primary); }
.legal-toc a::before { content:counter(toc); color:var(--primary); font-weight:700; min-width:18px; }

.legal-section { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:24px 28px; margin-bottom:18px; scroll-margin-top:80px; }
.legal-section h2 { font-size:20px; font-weight:700; color:var(--ink); margin:0 0 12px; padding-bottom:8px; border-bottom:1px solid var(--border); }
.legal-section p { font-size:15px; line-height:1.75; color:var(--text); margin:0 0 12px; }
.legal-section p:last-child { margin-bottom:0; }
.legal-section address { font-style:normal; font-size:15px; line-height:1.8; color:var(--text); }

/* ===== Page Tarifs ===== */
.pricing-grid { display:grid; grid-template-columns:repeat(4, 1fr); gap:18px; margin-bottom:36px; align-items:start; }
.pricing-card { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); padding:28px 24px; display:flex; flex-direction:column; position:relative; transition:transform .15s, box-shadow .15s; }
.pricing-card:hover { transform:translateY(-4px); box-shadow:0 12px 28px rgba(15,23,42,.1); }
.pricing-card.featured { border:2px solid var(--primary); box-shadow:0 8px 24px rgba(15,76,129,.12); }
.pricing-badge { position:absolute; top:-12px; left:50%; transform:translateX(-50%); background:var(--primary); color:#fff; font-size:12px; font-weight:700; padding:4px 14px; border-radius:999px; white-space:nowrap; }
.pricing-name { font-size:18px; font-weight:700; color:var(--ink); margin:0 0 6px; }
.pricing-price { display:flex; align-items:baseline; gap:4px; margin-bottom:6px; }
.pricing-price .amount { font-size:38px; font-weight:800; color:var(--ink); letter-spacing:-0.02em; }
.pricing-price .period { font-size:14px; color:var(--text-faint); font-weight:600; }
.pricing-goal { font-size:13.5px; line-height:1.5; color:var(--text); margin:0 0 18px; min-height:40px; }
.pricing-features { list-style:none; padding:0; margin:0 0 20px; display:flex; flex-direction:column; gap:9px; }
.pricing-features li { display:flex; gap:9px; align-items:flex-start; font-size:13.5px; line-height:1.5; color:var(--text); }
.pricing-features svg { flex-shrink:0; width:16px; height:16px; color:#15803d; margin-top:2px; }
.pricing-credit { background:var(--accent-soft); border-radius:var(--r); padding:10px 14px; font-size:13px; color:#7c3a0c; margin-bottom:18px; }
.pricing-credit strong { color:var(--accent); }
.pricing-card .btn { margin-top:auto; justify-content:center; }

.pricing-note { background:var(--surface-2); border-radius:var(--r-lg); padding:20px 24px; font-size:14px; line-height:1.7; color:var(--text); }
.pricing-note h2 { font-size:16px; font-weight:700; color:var(--ink); margin:0 0 8px; }

/* ===== Page FAQ ===== */
.faq-cat { margin-bottom:32px; }
.faq-cat-title { display:flex; align-items:center; gap:10px; font-size:18px; font-weight:700; color:var(--ink); margin:0 0 14px; }
.faq-cat-title svg { width:22px; height:22px; color:var(--primary); }
.faq-item { background:var(--surface); border:1px solid var(--border); border-radius:var(--r-lg); margin-bottom:10px; overflow:hidden; }
.faq-q { display:flex; align-items:center; justify-content:space-between; gap:12px; width:100%; text-align:left; background:none; border:none; cursor:pointer; padding:18px 20px; font-family:inherit; font-size:15px; font-weight:600; color:var(--ink); }
.faq-q:hover { background:var(--surface-2); }
.faq-q .faq-chevron { flex-shrink:0; width:18px; height:18px; color:var(--text-faint); transition:transform .2s; }
.faq-item.open .faq-chevron { transform:rotate(180deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height .25s ease; }
.faq-item.open .faq-a { max-height:400px; }
.faq-a p { padding:0 20px 18px; margin:0; font-size:14.5px; line-height:1.7; color:var(--text); }
.faq-a a { color:var(--primary); }

/* === Liste de livraison (style modèle) === */
.pi-shipping .ship-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: .55rem;
}
.pi-shipping .ship-item {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .95rem;
    line-height: 1.4;
    color: var(--primary);
}
.pi-shipping .ship-bullet {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    margin-top: .45rem;
    border-radius: 50%;
    background: var(--accent);
}
.pi-shipping .ship-text {
    color: #334155;
}

.pi-variants .pv-select {
    width: 100%;
    padding: .7rem .9rem;
    margin-top: .5rem;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    background: var(--surface);
    font-size: .95rem;
    color: var(--primary);
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.pi-variants .pv-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}
/* État d'erreur quand on tente d'ajouter sans choisir */
.pi-variants .pv-select.pv-select-error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, .15);
}

/* ============================================================
   RESPONSIVE — MEDIA QUERIES
   Desktop-first (max-width) : ordre DÉCROISSANT 980 → 680 → 560 → 520.
   Placées en fin de fichier pour surcharger les règles générales.
   ============================================================ */

/* ---- Tablette (≤980px) ---- */
@media (max-width:980px){
    .hero-grid { grid-template-columns:1fr; }
    .cats { display:none; }
    .trust-grid { grid-template-columns:repeat(2,1fr); }
    .prod-grid { grid-template-columns:repeat(2,1fr); }
    .why-grid { grid-template-columns:1fr; }
    .seller-inner { grid-template-columns:1fr; gap:34px; }
    .steps-grid { grid-template-columns:repeat(2,1fr); }
    .foot-top { grid-template-columns:1fr 1fr; gap:30px; }
    .search { display:none; }
    .hero h1 { font-size:34px; }
    .hero { padding:38px 30px; }
    /* Nav : réduire les espacements pour faire tenir les actions */
    .nav { gap:14px; }
    .nav-actions { gap:4px; }
    /* Liens nav : garder les icônes, masquer le texte */
    .nav-link { font-size:0; }
    .nav-link svg { width:22px; height:22px; }
    .nav-link .badge { font-size:10px; }
    /* Section vendeur : réduire le padding sur tablette */
    .seller { padding:36px 28px; }
    .seller h2 { font-size:30px; }
    .catalog-layout { grid-template-columns:1fr; }
    .catalog-layout .filters { display:block; margin-bottom:20px; }
    .product-top { grid-template-columns:1fr; gap:28px; }
    .product-gallery { position:static; }
    .pg-main { height:340px; font-size:90px; }
    .pi-title { font-size:26px; }
    .auth-card { grid-template-columns:1fr; }
    .auth-aside { display:none; }
    .cart-layout { grid-template-columns:1fr; }
    .cart-summary { position:static; }
    .checkout-layout { grid-template-columns:1fr; }
    .checkout-summary { position:static; }
    .order-detail-grid { grid-template-columns:1fr; }
    .seller-cards { grid-template-columns:repeat(2, 1fr); }
    .seller-grid { grid-template-columns:1fr; }
    .adash-cards { grid-template-columns:repeat(2, 1fr); }
    .nav-menu { display:none; }
    .search-expand { display:none; }
    .nav-user { display:none; }
    .foot-top { grid-template-columns:1fr 1fr; gap:28px; }
    .pricing-grid { grid-template-columns:repeat(2, 1fr); }
}

/* Responsive : une seule colonne sur petit écran */
@media (max-width: 860px) {
    .hero { grid-template-columns: 1fr; gap: 28px; }
    .hero-media { min-height: 220px; }
}

@media (max-width: 820px) {
    .msg-layout { flex-direction: column; min-height: auto; }
    .msg-sidebar { width: 100%; border-right: none; border-bottom: 1.5px solid var(--border-strong); }
}

/* ---- Petit écran / grande tablette (≤680px) ---- */
@media (max-width:680px){
    .nav { height:64px; gap:10px; }
    .nav-link { padding:8px; }
    .nav-actions .btn { padding:9px 14px; font-size:13px; }
    .order-row { grid-template-columns:1fr auto; gap:8px 14px; }
    .or-items { grid-column:1; }
    .or-total { grid-column:2; grid-row:1; text-align:right; }
    .or-status { grid-column:1 / -1; }
    .or-arrow { display:none; }
    .sell-hero h1 { font-size:28px; }
    .sell-type-choice { flex-direction:column; }
    .sprod-table-wrap { overflow-x:auto; }
    .sprod-table { min-width:560px; }
    .sprod-head { flex-direction:column; }
    .svar-table-wrap { overflow-x:auto; }
    .svar-table { min-width:560px; }
    .cookie-banner-inner { padding:0 16px; }
    .cookie-banner-text { font-size:13px; }
    .cookie-banner-actions { width:100%; justify-content:space-between; }
    .sord-table-wrap { overflow-x:auto; }
    .sord-table { min-width:680px; }
    .sord-head { flex-direction:column; align-items:flex-start; }
    .searn-table-wrap { overflow-x:auto; }
    .searn-table { min-width:560px; }
    .akyc-table-wrap { overflow-x:auto; }
    .akyc-table { min-width:640px; }
    .akyc-head { flex-direction:column; align-items:flex-start; }
    .akyc-detail-head { flex-direction:column; align-items:flex-start; }
    /* Admin modération produits */
    .amod-table-wrap { overflow-x:auto; }
    .amod-table { min-width:640px; }
    .amod-head, .amod-detail-head { flex-direction:column; align-items:flex-start; }
    .amod-grid { grid-template-columns:1fr; }

    .adash-grid { grid-template-columns:1fr; }
    .adash-head { flex-direction:column; align-items:flex-start; }
    .adash-config { grid-template-columns:1fr; }

    .acat-head { flex-direction:column; align-items:flex-start; }
    .acat-row { align-items:flex-start; }
    .acat-actions { margin-left:0; width:100%; }
}

/* Responsive — portefeuilles pub */
@media (max-width: 640px) {
    .awal-balances { flex-direction:column; gap:10px; }
    .awal-table { display:block; overflow-x:auto; white-space:nowrap; }
    .awal-credit-form { padding:16px; }
    .awal-title { font-size:22px; }
    .scmp-title { font-size:22px; }
    .scmp-row { flex-direction:column; gap:0; }
    .scmp-cards { grid-template-columns:1fr; }
    .scmp-card-body { grid-template-columns:1fr 1fr; }
    .padbadge { font-size:9.5px; padding:2px 7px; top:8px; left:8px; }
    .cstat-title { font-size:22px; }
    .cstat-summary { grid-template-columns:repeat(2, 1fr); }
    .cstat-kpi strong { font-size:22px; }
    .cstat-table-wrap { display:block; overflow-x:auto; }
    .cstat-table { min-width:640px; }
    .splc-title { font-size:22px; }
    .splc-grid { grid-template-columns:1fr; }
    .splc-row { flex-direction:column; gap:0; }
    .splc-table { min-width:560px; }
    .sacr-title { font-size:22px; }
    .sacr-balance { flex-direction:column; }
    .sacr-packs { grid-template-columns:repeat(2, 1fr); }
    .ssub-current { flex-direction:column; align-items:flex-start; }
    .ssub-current-actions { width:100%; }
    .ssub-current-actions form, .ssub-current-actions button { width:100%; }
    .sphoto-limit { flex-direction:column; align-items:flex-start; gap:6px; }
    .sshop-title { font-size:22px; }
    .sshop-img-row { flex-direction:column; }
    .sshop-faq-row { grid-template-columns:1fr; }
    .bq-banner { height:140px; }
    .bq-identity { flex-direction:column; align-items:flex-start; gap:10px; margin-top:-36px; }
    .bq-name { font-size:22px; }
    .bq-section-title { font-size:18px; }
    .pdetails-table th, .pdetails-table td { display: block; width: 100%; }
    .pdetails-table th { padding: 12px 0 4px; }
    .pdetails-table td { padding: 0 0 12px; }
    .about-hero { padding:40px 20px; }
    .about-hero h1 { font-size:27px; }
    .about-hero p { font-size:15.5px; }
    .about-duo { grid-template-columns:1fr; }
    .about-cta { padding:32px 20px; }
    .about-cta h2 { font-size:22px; }
    .contact-address { flex-direction:column; gap:12px; }
    .legal-hero { padding:28px 22px; }
    .legal-hero h1 { font-size:25px; }
    .legal-toc ol { columns:1; }
    .legal-dl { grid-template-columns:1fr; gap:2px 0; }
    .legal-dl dd { margin-bottom:10px;}
    .legal-section { padding:20px 18px; }
    .pricing-card { padding:24px 20px; }
}

/* ---- Grand mobile (≤560px) ---- */
@media (max-width:560px){
    .trust-grid, .prod-grid { grid-template-columns:1fr; }
    .hero-stats { gap:20px; flex-wrap:wrap; }
    /* Section vendeur : padding compact sur mobile */
    .seller { padding:28px 20px; border-radius:var(--r-lg); }
    .seller h2 { font-size:25px; }
    .seller p.lead { font-size:15px; }
    .sb .sbd { font-size:12.5px; }
    /* Hero : padding réduit aussi */
    .hero { padding:30px 22px; }
    .hero h1 { font-size:29px; }
    .hero p { font-size:15.5px; }
    /* Sections génériques : moins de padding latéral */
    section.block { padding:32px 0; }
    .final-cta h2 { font-size:26px; }
    .seller-card { padding:22px; }
    .cart-item { grid-template-columns:64px 1fr auto; gap:12px; }
    .ci-img { width:64px; height:64px; font-size:28px; }
    .ci-qty { grid-column:2; justify-self:start; margin-top:8px; }
    .ci-total { grid-column:3; grid-row:1; }
    .ci-remove { grid-column:3; grid-row:2; justify-self:end; }
    .field-row { grid-template-columns:1fr; }
    .odi-item { grid-template-columns:48px 1fr; gap:10px; }
    .odi-img { width:48px; height:48px; }
    .odi-qty, .odi-total { grid-column:2; text-align:left; }
    .step-label { font-size:11px; }
    .seller-cards { grid-template-columns:1fr; }
    .seller-head { flex-direction:column; }
    .field-row-3 { grid-template-columns:1fr; }
    .sform-actions { flex-direction:column-reverse; }
    .sform-actions .btn { width:100%; text-align:center; }
    .sform-action-buttons { flex-direction:column; }
    .sform-action-form { width:100%; }
    .sform-action-form .btn { width:100%; text-align:center; }
    .sphoto-grid { grid-template-columns:repeat(auto-fill, minmax(90px, 1fr)); }
    .sphoto-upload { flex-direction:column; align-items:stretch; }
    .sphoto-upload .btn { width:100%; text-align:center; }
    .sfile-card { flex-direction:column; }
    .sfile-upload { flex-direction:column; align-items:stretch; }
    .sfile-upload .btn { width:100%; text-align:center; }
    .errpage-title { font-size:24px; }
    .errpage-icon { font-size:56px; }
    /* KYC : upload form en colonne, boutons pleine largeur */
    .skyc-upload-form { flex-direction:column; align-items:stretch; }
    .skyc-upload-form .btn { width:100%; text-align:center; }
    .skyc-file-input { min-width:0; width:100%; }
    .skyc-item-head { flex-direction:column; }
    /* Earnings : entête en colonne */
    .searn-card-hint { font-size:11.5px; }
    /* Admin KYC : infos et décision empilées */
    .akyc-info-grid { grid-template-columns:1fr; }
    .akyc-decision-actions { flex-direction:column; }
    .akyc-approve-form, .akyc-approve-form .btn { width:100%; }
    .akyc-approve-form .btn { text-align:center; }
    .akyc-reject-form { min-width:0; }
    .akyc-reject-form .btn { width:100%; text-align:center; }
    .akyc-docs { grid-template-columns:1fr; }
    /* Admin modération produits — compact */
    .amod-info-grid { grid-template-columns:1fr; }
    .amod-decision-actions { flex-direction:column; }
    .amod-approve-form, .amod-approve-form .btn { width:100%; }
    .amod-approve-form .btn { text-align:center; }
    .amod-reject-form { min-width:0; }
    .amod-reject-form .btn { width:100%; text-align:center; }

    .adash-cards { grid-template-columns:1fr; }
    .adash-queues { grid-template-columns:1fr; }

    .adata-consent { flex-direction:column; align-items:flex-start; }
    .adata-consent-form, .adata-consent-locked { width:100%; justify-content:space-between; }
    .foot-top { grid-template-columns:1fr; gap:24px; }
    .foot-newsletter { max-width:100%; }
    .pricing-grid { grid-template-columns:1fr; }
}

/* ---- Mobile (≤520px) ----
   On masque les liens de nav ET les boutons header :
   tout passe dans le menu burger. */
@media (max-width:520px){
    .topbar { font-size:11px; }
    .topbar .tb-right { gap:12px; }
    .nav { gap:8px; }
    .logo { font-size:19px; }
    .logo .mark { width:32px; height:32px; font-size:17px; }
    .nav-link { display:none; }
    .nav-actions .btn { display:none; }
    .burger { display:flex; }   /* gagne sur .burger{display:none} défini plus haut */
}