/* =========================================================================
   KING OF COINS — COLLECTIBLES
   Boutique de figurines & statues World of Warcraft.
   Thème repris fidèlement de thekingsofcoins.com (orange × rose × violet).
   ========================================================================= */

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

:root {
    /* ---- Palette (identique au site King of Coins) ---- */
    --bg-0:        #0a0420;
    --bg-1:        #14082e;
    --bg-2:        #1a0d3a;
    --card:        #1d1142;
    --card-2:      #251650;
    --line:        rgba(168, 85, 247, 0.18);
    --line-2:      rgba(168, 85, 247, 0.32);

    --txt:         #f1ecff;
    --txt-dim:     #b3a8d4;
    --txt-mute:    #8678b0;

    --orange:      #fb923c;
    --orange-2:    #f97316;
    --orange-3:    #ea580c;
    --orange-soft: #fed7aa;

    --purple:      #a855f7;
    --purple-2:    #8b5cf6;
    --purple-3:    #6d28d9;
    --pink:        #f472b6;

    --grad: linear-gradient(135deg, #fb923c 0%, #f472b6 50%, #a855f7 100%);

    --green:       #22c55e;
    --red:         #ef4444;
    --frost:       #38bdf8;

    --panel:       rgba(29, 17, 66, 0.7);
    --panel-hi:    rgba(37, 22, 80, 0.85);
    --input-bg:    rgba(10, 4, 32, 0.7);

    --font-body:   'Manrope', system-ui, -apple-system, sans-serif;

    --radius-lg:   16px;
    --radius:      12px;
    --radius-sm:   8px;
    --radius-pill: 999px;

    --shadow:        0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-gold:   0 0 0 1px rgba(251, 146, 60, 0.5), 0 10px 30px rgba(251, 146, 60, 0.35);
    --transition:    0.18s ease;

    --maxw: 1280px;
}

html { scroll-behavior: smooth; }

html, body {
    background: var(--bg-0);
    font-family: var(--font-body);
    color: var(--txt);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

body { background: var(--bg-0); position: relative; }
/* Calque de halos fixe (GPU-friendly : évite background-attachment:fixed
   qui sature le rendu et saccade sur mobile) */
body::before {
    content: "";
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(900px 500px at 20% 0%, rgba(251, 146, 60, 0.06), transparent 60%),
        radial-gradient(1200px 800px at 80% 30%, rgba(168, 85, 247, 0.10), transparent 60%);
}

a { color: var(--orange); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--orange-soft); }

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

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-0); }
::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.25); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(168, 85, 247, 0.45); }

.wrap { max-width: var(--maxw); margin: 0 auto; width: 100%; padding: 0 20px; }
.grad-text {
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ============================================================
   ANNONCE / BANDEAU HAUT
   ============================================================ */
.announce {
    text-align: center;
    font-size: 12.5px; font-weight: 600; letter-spacing: 0.3px;
    color: var(--txt);
    padding: 8px 16px;
    background: var(--grad);
}
.announce a { color: #1a0d00; font-weight: 800; text-decoration: underline; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
    position: sticky; top: 0; z-index: 100;
    background: linear-gradient(180deg, rgba(20, 8, 46, 0.95), rgba(10, 4, 32, 0.95));
    border-bottom: 1px solid var(--line);
}
.header-inner {
    max-width: var(--maxw); margin: 0 auto; width: 100%;
    display: flex; align-items: center; gap: 16px;
    padding: 12px 20px;
}
.logo {
    display: inline-flex; align-items: center; gap: 11px;
    flex-shrink: 0; white-space: nowrap; color: var(--txt);
}
.logo .crest {
    width: 46px; height: 46px; border-radius: 10px;
    background: transparent;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 16px rgba(251, 146, 60, 0.35);
    flex-shrink: 0; overflow: hidden;
}
.logo .crest img { width: 100%; height: 100%; object-fit: contain; }
.logo .crest svg { width: 22px; height: 22px; }
.logo .logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo .logo-text .name {
    font-weight: 800; font-size: 15px; letter-spacing: 0.3px;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo .logo-text .sub {
    font-size: 9px; font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; color: var(--txt-mute);
}

.nav {
    display: flex; align-items: center; gap: 4px;
    margin-left: 8px;
}
.nav a {
    padding: 8px 14px; border-radius: var(--radius-sm);
    color: var(--txt-dim); font-weight: 700; font-size: 13.5px;
    transition: var(--transition);
}
.nav a:hover, .nav a.active { background: rgba(168, 85, 247, 0.15); color: var(--txt); }

.header-right { display: flex; align-items: center; gap: 6px; margin-left: auto; flex-shrink: 0; }
.header-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px; border-radius: var(--radius-sm);
    cursor: pointer; color: var(--txt-dim);
    font-size: 12px; font-weight: 700;
    background: transparent; border: none; font-family: inherit;
    transition: var(--transition);
}
.header-link:hover { background: rgba(168, 85, 247, 0.15); color: var(--txt); }
.header-link svg { width: 19px; height: 19px; }
.header-link.cart-link { position: relative; }
.cart-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 5px;
    background: var(--orange); color: #1a0d00;
    font-size: 10px; font-weight: 800; border-radius: 10px;
}

.menu-btn {
    display: none;
    width: 40px; height: 40px; align-items: center; justify-content: center;
    background: var(--purple-2); border-radius: 10px; border: none;
    cursor: pointer; box-shadow: 0 0 20px rgba(168, 85, 247, 0.4); flex-shrink: 0;
}
.menu-btn svg { width: 20px; height: 20px; color: #fff; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    padding: 72px 20px 52px;
    background:
        linear-gradient(180deg, rgba(10, 4, 32, 0.4) 0%, rgba(10, 4, 32, 0.92) 100%),
        radial-gradient(circle at 20% 20%, rgba(251, 146, 60, 0.18), transparent 50%),
        radial-gradient(circle at 80% 60%, rgba(168, 85, 247, 0.25), transparent 50%),
        var(--bg-0);
    text-align: center; overflow: hidden;
}
.hero .kicker {
    display: block;
    font-size: clamp(10px, 2vw, 13px); letter-spacing: 6px; font-weight: 600;
    text-transform: uppercase; opacity: 0.7; margin-bottom: 16px; color: var(--txt-dim);
}
.hero h1 {
    margin: 0; font-weight: 800; font-size: clamp(2rem, 6vw, 56px);
    line-height: 1.05; letter-spacing: -1.5px; color: var(--txt);
}
.hero h1 .accent {
    display: inline-block;
    background: var(--grad);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 0 30px rgba(251, 146, 60, 0.25));
}
.hero .sub {
    color: var(--txt-dim); font-size: clamp(0.95rem, 2vw, 1.1rem);
    max-width: 600px; margin: 20px auto 26px; line-height: 1.6;
}
.hero-badges {
    display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px;
}
.badge-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: var(--radius-pill);
    background: rgba(29, 17, 66, 0.7); border: 1px solid var(--line);
    font-size: 13px; font-weight: 600; color: var(--txt);
}
.badge-pill svg { width: 16px; height: 16px; color: var(--orange); }

/* Trustpilot strip */
.trustpilot {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; margin: 26px auto 0;
    font-size: 13px; color: var(--txt-dim); flex-wrap: wrap;
}
.trustpilot .stars { display: inline-flex; gap: 2px; }
.trustpilot .star {
    width: 22px; height: 22px; border-radius: 3px;
    background: #00b67a; color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
}
.trustpilot .star svg { width: 14px; height: 14px; }

/* ============================================================
   SECTIONS
   ============================================================ */
section.block { padding: 48px 0; }
.section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 16px; margin-bottom: 28px; flex-wrap: wrap;
}
.section-head .eyebrow {
    font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: var(--orange); margin-bottom: 8px;
}
.section-head h2 {
    font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 800;
    letter-spacing: -0.5px; color: var(--txt);
}
.section-head p { color: var(--txt-dim); font-size: 14px; margin-top: 6px; max-width: 520px; }
.section-head .view-all { color: var(--orange); font-weight: 700; font-size: 14px; white-space: nowrap; }
.section-head .cat-count { color: var(--txt-dim); font-weight: 700; font-size: 13px; white-space: nowrap; }
.catalog-cat + .catalog-cat { margin-top: 56px; }

/* ============================================================
   GRILLE PRODUITS
   ============================================================ */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
/* --ac = couleur d'accent (hex) ; --acg = même couleur en "r, g, b".
   Réglées par carte depuis products.js (champ "accent"). Fallback violet/orange. */
.prod {
    background: var(--card);
    border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; display: flex; flex-direction: column;
    transition: var(--transition); color: var(--txt);
    position: relative;
    box-shadow: 0 0 22px rgba(var(--acg, 168, 85, 247), 0.13);
}
.prod:hover {
    transform: translateY(-4px);
    border-color: var(--ac, var(--orange));
    box-shadow: 0 0 0 1px rgba(var(--acg, 251, 146, 60), 0.45),
                0 18px 44px rgba(var(--acg, 251, 146, 60), 0.32);
}
.prod .thumb {
    aspect-ratio: 1 / 1; position: relative;
    background:
        radial-gradient(circle at 50% 30%, rgba(var(--acg, 168, 85, 247), 0.20) 0%, transparent 60%),
        radial-gradient(circle at 50% 35%, #20123f 0%, #0d0726 100%);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
}
.prod .thumb img {
    width: 100%; height: 100%; object-fit: contain; padding: 14px;
    transition: transform 0.4s ease;
}
.prod:hover .thumb img { transform: scale(1.05); }
.prod .badge {
    position: absolute; top: 10px; left: 10px; z-index: 2;
    padding: 5px 10px; font-size: 10px; font-weight: 800; letter-spacing: 0.4px;
    text-transform: uppercase;
    background: rgba(168, 85, 247, 0.9); color: #fff; border-radius: 6px;
    display: inline-flex; align-items: center; gap: 4px;
}
.prod .badge.hot   { background: linear-gradient(135deg, var(--orange-2), #f43f5e); }
.prod .badge.new   { background: linear-gradient(135deg, var(--purple-2), var(--purple)); }
.prod .badge.presale { background: linear-gradient(135deg, #0ea5e9, #38bdf8); color:#04293b;}
.prod .heart {
    position: absolute; top: 10px; right: 10px; z-index: 2;
    width: 30px; height: 30px; border-radius: 50%;
    background: rgba(10, 4, 32, 0.7);
    display: flex; align-items: center; justify-content: center;
    color: var(--txt-dim); border: none; cursor: pointer;
}
.prod .heart svg { width: 16px; height: 16px; }
.prod .heart:hover, .prod .heart.on { color: var(--pink); }

.prod .body { padding: 14px 15px 16px; flex: 1; display: flex; flex-direction: column; }
.prod .brand { font-size: 11px; font-weight: 700; color: var(--txt-mute); letter-spacing: 0.4px; margin-bottom: 4px; text-transform: uppercase; }
.prod .title { font-size: 15.5px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.2px; color: var(--txt); line-height: 1.25; }
.prod .meta { font-size: 12px; color: var(--txt-dim); margin-bottom: 12px; }
.prod .price {
    display: flex; align-items: baseline; gap: 8px;
    border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto;
}
.prod .price .amt { font-weight: 800; font-size: 20px; letter-spacing: -0.3px; color: var(--txt); }
.prod .price .strike { font-size: 12px; color: var(--txt-mute); text-decoration: line-through; }
.prod .price .add {
    margin-left: auto; width: 38px; height: 38px; border-radius: 10px;
    background: var(--grad); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: #fff; box-shadow: 0 8px 20px rgba(251, 146, 60, 0.3);
    transition: var(--transition);
}
.prod .price .add:hover { transform: translateY(-1px); filter: brightness(1.08); }
.prod .price .add svg { width: 18px; height: 18px; }
.prod-link { color: inherit; display: flex; flex-direction: column; flex: 1; }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
    padding: 13px 24px; border: none; border-radius: 10px;
    font-weight: 800; font-size: 14px; letter-spacing: 0.3px;
    cursor: pointer; transition: var(--transition); font-family: inherit;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 12px 30px rgba(251, 146, 60, 0.35); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); color: #fff; }
.btn-secondary { background: var(--panel); color: var(--txt); border: 1px solid var(--line); }
.btn-secondary:hover { border-color: var(--orange); color: var(--orange); }
.btn-ghost { background: transparent; color: var(--txt-dim); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--purple-2); color: var(--txt); }
.btn-wa { background: #25d366; color: #053d22; }
.btn-wa:hover { filter: brightness(1.05); color: #053d22; }
.btn-discord { background: #5865F2; color: #fff; }
.btn-discord:hover { filter: brightness(1.08); color: #fff; }
.btn-full { width: 100%; }
.btn-lg { padding: 16px 28px; font-size: 15px; }

/* ============================================================
   FICHE PRODUIT
   ============================================================ */
.pp { padding: 32px 0 56px; }
.breadcrumb { font-size: 13px; color: var(--txt-mute); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--txt-dim); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--txt); }

.pp-grid {
    display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px; align-items: start;
}

/* Galerie */
.gallery { position: sticky; top: 90px; }
.gallery .main {
    aspect-ratio: 1 / 1; border-radius: var(--radius-lg);
    background: radial-gradient(circle at 50% 30%, #20123f 0%, #0a0420 100%);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; position: relative;
}
.gallery .main img { width: 100%; height: 100%; object-fit: contain; padding: 28px; }
.gallery .main .zoom-tag {
    position: absolute; bottom: 12px; right: 12px;
    font-size: 11px; color: var(--txt-dim); background: rgba(10,4,32,0.7);
    padding: 5px 10px; border-radius: var(--radius-pill);
    display: inline-flex; align-items: center; gap: 6px;
}
.gallery .main .zoom-tag svg { width: 13px; height: 13px; }
.gallery .thumbs {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 12px;
}
.gallery .thumbs button {
    aspect-ratio: 1 / 1; border-radius: var(--radius-sm);
    background: radial-gradient(circle at 50% 35%, #1a0f38 0%, #0d0726 100%);
    border: 1.5px solid var(--line); cursor: pointer; overflow: hidden; padding: 0;
    transition: var(--transition);
}
.gallery .thumbs button img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.gallery .thumbs button:hover { border-color: var(--purple-2); }
.gallery .thumbs button.active { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.gallery .main video { width: 100%; height: 100%; }
.gallery .thumbs .th-vid { position: relative; display: block; width: 100%; height: 100%; }
.gallery .thumbs .th-vid > img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.gallery .thumbs .th-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(5,1,15,0.45); }
.gallery .thumbs .th-play svg { width: 20px; height: 20px; }

/* Sélecteur de taille (variantes) */
.pp-sizes { margin: 14px 0 4px; }
.pp-sizes-head { font-size: 13px; font-weight: 700; color: var(--txt); margin-bottom: 8px; }
.pp-sizes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(94px, 1fr)); gap: 8px; }
.size-opt {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 6px; border-radius: var(--radius-sm);
  background: var(--card); border: 1.5px solid var(--line); color: var(--txt);
  cursor: pointer; transition: var(--transition);
}
.size-opt:hover { border-color: var(--purple-2); }
.size-opt.active { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.size-opt .so-label { font-size: 13px; font-weight: 700; }
.size-opt .so-price { font-size: 12px; color: var(--txt-dim); }

/* Sélecteur de design/modèle (miniatures) */
.pp-designs { margin: 12px 0 4px; }
.pp-designs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 8px; }
.design-opt {
  display: flex; flex-direction: column; gap: 4px; padding: 4px;
  border-radius: var(--radius-sm); background: var(--card);
  border: 1.5px solid var(--line); cursor: pointer; transition: var(--transition);
}
.design-opt img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; display: block; }
.design-opt .do-label { font-size: 10px; line-height: 1.2; color: var(--txt-dim); text-align: center; }
.design-opt:hover { border-color: var(--purple-2); }
.design-opt.active { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }

/* Infos produit */
.pp-info .brand-row {
    display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.pp-info .brand-tag {
    font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
    color: var(--orange); background: rgba(251,146,60,0.12);
    border: 1px solid var(--border-gold, rgba(251,146,60,0.22));
    padding: 5px 10px; border-radius: var(--radius-pill);
}
.pp-info .stars-inline { display: inline-flex; align-items: center; gap: 4px; color: var(--txt-dim); font-size: 12.5px; }
.pp-info .stars-inline .s { color: #fbbf24; }
.pp-info h1 {
    font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800;
    letter-spacing: -0.8px; line-height: 1.1; margin-bottom: 8px; color: var(--txt);
}
.pp-info .subtitle { color: var(--txt-dim); font-size: 14.5px; margin-bottom: 22px; line-height: 1.6; }

.price-box {
    display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap;
    padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    margin-bottom: 22px;
}
.price-box .now { font-size: 36px; font-weight: 800; letter-spacing: -1px; color: var(--txt); }
.price-box .was { font-size: 17px; color: var(--txt-mute); text-decoration: line-through; }
.price-box .save {
    font-size: 12px; font-weight: 800; color: #fff;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    padding: 5px 11px; border-radius: var(--radius-pill);
}
.price-box .tax { width: 100%; font-size: 12px; color: var(--txt-mute); margin-top: 2px; }

.feat-list { list-style: none; margin: 0 0 24px; display: grid; gap: 10px; }
.feat-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--txt-dim); }
.feat-list li svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; margin-top: 1px; }
.feat-list li b { color: var(--txt); font-weight: 700; }

/* --- Promo / preuve sociale / urgence / scarcité --- */
.saved-line {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; color: #34d399;
    margin: -10px 0 18px;
}
.saved-line svg { width: 16px; height: 16px; }
.saved-line b { color: #6ee7b7; }

.brand-row .instock-tag {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11.5px; font-weight: 800; color: var(--green);
    background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 5px 10px; border-radius: var(--radius-pill);
}
.brand-row .instock-tag svg { width: 14px; height: 14px; }

.social-proof { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 16px; }
.social-proof .sp-item { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--txt-dim); }
.social-proof .sp-item svg { width: 15px; height: 15px; color: var(--orange); }
.social-proof .sp-item b { color: var(--txt); font-weight: 800; }
.social-proof .sp-live .live-dot {
    width: 9px; height: 9px; border-radius: 50%; background: var(--green);
    animation: livePulse 1.8s infinite;
}
@keyframes livePulse {
    0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.stock-bar { margin: 0 0 20px; }
.stock-bar-head { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--txt-dim); margin-bottom: 8px; }
.stock-bar-head b { color: var(--orange); }
.stock-bar-head .lvl-low { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); font-weight: 800; }
.stock-bar-head .lvl-low svg { width: 14px; height: 14px; }
.stock-track { height: 9px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, 0.06); overflow: hidden; border: 1px solid var(--line); }
.stock-fill { height: 100%; border-radius: var(--radius-pill); background: linear-gradient(90deg, #f97316, #ef4444); box-shadow: 0 0 12px rgba(249, 115, 22, 0.5); }

.ship-urgency {
    display: flex; align-items: center; gap: 9px;
    font-size: 13px; color: var(--txt-dim);
    margin: 0 0 22px; padding: 11px 14px;
    border: 1px dashed rgba(251, 146, 60, 0.35); border-radius: var(--radius);
    background: rgba(251, 146, 60, 0.06);
}
.ship-urgency svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
.ship-urgency b { color: var(--txt); font-weight: 800; }

.card-proof { display: flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; color: var(--orange); margin-bottom: 10px; }
.card-proof svg { width: 13px; height: 13px; }

/* --- Livraison --- */
.delivery-note {
    display: flex; align-items: flex-start; gap: 11px;
    margin: 0 0 22px; padding: 13px 15px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--panel);
}
.delivery-note > svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; margin-top: 1px; }
.delivery-note .dn-title { font-size: 13.5px; font-weight: 800; color: var(--txt); }
.delivery-note .dn-sub { font-size: 12px; color: var(--txt-mute); margin-top: 2px; line-height: 1.4; }

.ship-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.ship-item { display: flex; align-items: flex-start; gap: 11px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.ship-item svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; }
.ship-item b { display: block; font-size: 13.5px; font-weight: 800; color: var(--txt); margin-bottom: 3px; }
.ship-item span { font-size: 12px; color: var(--txt-mute); line-height: 1.4; }
@media (max-width: 700px) { .ship-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CHECKOUT — modale paiement Carte/PayPal + USDT
   ============================================================ */
.co-overlay {
    position: fixed; inset: 0; background: rgba(5, 2, 16, 0.72);
    z-index: 300; opacity: 0; pointer-events: none; transition: opacity 0.25s ease;
}
.co-overlay.open { opacity: 1; pointer-events: auto; }
.co-modal {
    position: fixed; z-index: 301; top: 50%; left: 50%;
    transform: translate(-50%, -47%) scale(0.97);
    width: min(460px, calc(100% - 28px)); max-height: 92vh; overflow-y: auto;
    background: var(--bg-1); border: 1px solid var(--line-2); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.co-modal.open { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }
.co-close {
    position: absolute; top: 12px; right: 12px; z-index: 2;
    width: 34px; height: 34px; border-radius: 9px; border: none; cursor: pointer;
    background: rgba(255,255,255,0.06); color: var(--txt-dim);
    display: flex; align-items: center; justify-content: center;
}
.co-close:hover { background: rgba(255,255,255,0.12); color: var(--txt); }
.co-close svg { width: 20px; height: 20px; }
.co-body { padding: 24px; }

.co-head { margin-bottom: 16px; padding-right: 30px; }
.co-head h3 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 9px; }
.co-head h3 svg { width: 19px; height: 19px; color: var(--orange); }
.co-head p { font-size: 13px; color: var(--txt-dim); margin-top: 4px; }

.co-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 16px; }
.co-summary .co-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; color: var(--txt-dim); padding: 3px 0; }
.co-summary .co-total { font-size: 16px; font-weight: 800; color: var(--txt); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 9px; }
.co-summary .co-total span:last-child { color: var(--orange); }
.co-ship { font-size: 11.5px; color: var(--txt-mute); display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.co-ship svg { width: 14px; height: 14px; color: var(--orange); }

.co-ship-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 800; color: var(--txt); text-transform: uppercase; letter-spacing: 0.4px; margin: 0 0 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.co-ship-head svg { width: 16px; height: 16px; color: var(--orange); }
.co-field { margin-bottom: 12px; }
.co-field label, .co-lbl { display: block; font-size: 11.5px; font-weight: 700; color: var(--txt-dim); text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 5px; }
.co-field input, .co-field textarea {
    width: 100%; background: var(--input-bg); border: 1px solid var(--line); border-radius: 9px;
    padding: 11px 13px; color: var(--txt); font: inherit; font-size: 14px; outline: none; resize: vertical;
}
.co-field input:focus, .co-field textarea:focus { border-color: var(--orange); }
.co-field input::placeholder, .co-field textarea::placeholder { color: var(--txt-mute); }

.co-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 16px; }
.co-tab {
    padding: 11px; border-radius: 9px; border: 1px solid var(--line); cursor: pointer;
    background: var(--panel); color: var(--txt-dim); font: inherit; font-size: 13px; font-weight: 700; transition: var(--transition);
}
.co-tab:hover { color: var(--txt); }
.co-tab.active { background: rgba(168,85,247,0.18); border-color: var(--purple-2); color: var(--txt); box-shadow: 0 0 0 1px rgba(168,85,247,0.4); }

.co-paypal { min-height: 50px; }
.co-loading, .co-pp-err { text-align: center; padding: 16px; font-size: 13px; color: var(--txt-dim); }
.co-pp-err { color: var(--red); }
.co-secure { font-size: 11.5px; color: var(--txt-mute); display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; line-height: 1.5; }
.co-secure svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; margin-top: 1px; }

.co-crypto-total {
    display: flex; justify-content: space-between; align-items: center;
    background: rgba(251,146,60,0.1); border: 1px solid rgba(251,146,60,0.24);
    border-radius: 10px; padding: 12px 14px; margin: 4px 0 14px;
}
.co-crypto-total span { font-size: 13px; color: var(--txt-dim); }
.co-crypto-total strong { font-size: 18px; color: var(--orange); }
.co-addr { display: flex; gap: 8px; margin-bottom: 12px; }
.co-addr input { flex: 1; min-width: 0; background: var(--input-bg); border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; color: var(--txt); font: inherit; font-size: 12px; outline: none; }
.co-addr button { padding: 0 16px; border-radius: 9px; border: none; cursor: pointer; background: var(--grad); color: #fff; font: inherit; font-weight: 800; font-size: 12.5px; white-space: nowrap; }
.co-qr { display: flex; justify-content: center; margin-bottom: 14px; }
.co-qr img { border-radius: 10px; border: 4px solid #fff; background: #fff; }
.co-warn { font-size: 12px; color: var(--orange-soft); background: rgba(251,146,60,0.08); border: 1px solid rgba(251,146,60,0.25); border-radius: 9px; padding: 10px 12px; margin-bottom: 14px; line-height: 1.5; }

.co-confirm { text-align: center; padding: 14px 4px; }
.co-check { width: 64px; height: 64px; border-radius: 50%; background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.co-check svg { width: 32px; height: 32px; color: var(--green); }
.co-confirm h3 { font-size: 21px; font-weight: 800; margin-bottom: 8px; }
.co-confirm p { font-size: 14px; color: var(--txt-dim); line-height: 1.6; max-width: 360px; margin: 0 auto 14px; }
.co-ref { font-size: 12.5px; color: var(--txt-dim); background: var(--card); border: 1px solid var(--line); border-radius: 9px; padding: 10px; margin-bottom: 14px; word-break: break-all; }
.co-ref b { color: var(--orange); }
.co-ship-note { font-size: 12px !important; color: var(--txt-mute) !important; display: flex; align-items: center; justify-content: center; gap: 6px; }
.co-ship-note svg { width: 14px; height: 14px; color: var(--orange); }

.co-empty { text-align: center; padding: 30px 10px; color: var(--txt-mute); }
.co-empty svg { width: 48px; height: 48px; color: var(--line-2); margin-bottom: 14px; }
.co-empty p { margin-bottom: 16px; }

/* Sélecteur quantité + actions */
.buy-row { display: flex; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.qty {
    display: inline-flex; align-items: center;
    border: 1px solid var(--line); border-radius: 10px; background: var(--input-bg);
    overflow: hidden;
}
.qty button {
    width: 46px; height: 50px; background: transparent; border: none; cursor: pointer;
    color: var(--txt); font-size: 20px; font-weight: 700; transition: var(--transition);
}
.qty button:hover { background: rgba(168,85,247,0.15); color: var(--orange); }
.qty input {
    width: 48px; height: 50px; text-align: center; background: transparent; border: none;
    color: var(--txt); font-size: 16px; font-weight: 800; font-family: inherit; outline: none;
}
.buy-row .btn { flex: 1; min-width: 180px; }

.order-channels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 22px; }

/* Réassurance */
.assurance {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
    padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--panel); margin-bottom: 24px;
}
.assurance .item { display: flex; align-items: center; gap: 11px; }
.assurance .item svg { width: 22px; height: 22px; color: var(--orange); flex-shrink: 0; }
.assurance .item .t { font-size: 13px; font-weight: 800; color: var(--txt); }
.assurance .item .d { font-size: 11.5px; color: var(--txt-mute); }

/* Onglets / description longue */
.pp-section { margin-top: 48px; }
.pp-section h2 {
    font-size: 22px; font-weight: 800; letter-spacing: -0.4px; margin-bottom: 16px; color: var(--txt);
    display: flex; align-items: center; gap: 10px;
}
.pp-section h2::before { content: ''; width: 4px; height: 22px; border-radius: 3px; background: var(--grad); }
.pp-section p { color: var(--txt-dim); font-size: 14.5px; line-height: 1.75; margin-bottom: 14px; max-width: 760px; }
.pp-section p b { color: var(--txt); }

/* Tableau de specs */
.spec-table {
    display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
    background: var(--line); border: 1px solid var(--line);
    border-radius: var(--radius); overflow: hidden;
}
.spec-table .row { display: grid; grid-template-columns: 0.9fr 1.1fr; background: var(--card); }
.spec-table .row .k {
    padding: 13px 16px; font-size: 12.5px; color: var(--txt-mute); font-weight: 700;
    background: rgba(10,4,32,0.4);
}
.spec-table .row .v { padding: 13px 16px; font-size: 13.5px; color: var(--txt); font-weight: 600; }
@media (max-width: 640px) { .spec-table { grid-template-columns: 1fr; } }

/* ============================================================
   PANIER (drawer + page)
   ============================================================ */
.drawer-overlay {
    position: fixed; inset: 0; background: rgba(5, 2, 16, 0.6);
    z-index: 200; opacity: 0; pointer-events: none;
    transition: opacity 0.25s ease;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
    position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
    background: var(--bg-1); border-left: 1px solid var(--line); z-index: 201;
    transform: translateX(100%); transition: transform 0.28s ease;
    display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer .dhead {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid var(--line);
}
.cart-drawer .dhead h3 { font-size: 17px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cart-drawer .dhead .close { background: none; border: none; color: var(--txt-dim); cursor: pointer; padding: 4px; }
.cart-drawer .dhead .close svg { width: 22px; height: 22px; }
.cart-drawer .ditems { flex: 1; overflow-y: auto; padding: 12px 16px; }
.cart-drawer .dfoot { padding: 18px 20px; border-top: 1px solid var(--line); background: var(--bg-0); }

.cart-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-item .ci-img {
    width: 64px; height: 64px; border-radius: var(--radius-sm); flex-shrink: 0;
    background: radial-gradient(circle at 50% 35%, #1a0f38 0%, #0d0726 100%);
    border: 1px solid var(--line); overflow: hidden;
}
.cart-item .ci-img img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.cart-item .ci-info { flex: 1; min-width: 0; }
.cart-item .ci-info .ci-title { font-size: 13.5px; font-weight: 800; color: var(--txt); margin-bottom: 2px; }
.cart-item .ci-info .ci-brand { font-size: 11px; color: var(--txt-mute); margin-bottom: 8px; }
.cart-item .ci-qty { display: inline-flex; align-items: center; gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.cart-item .ci-qty button { width: 26px; height: 26px; background: transparent; border: none; color: var(--txt); cursor: pointer; font-size: 15px; }
.cart-item .ci-qty button:hover { background: rgba(168,85,247,0.15); color: var(--orange); }
.cart-item .ci-qty span { min-width: 28px; text-align: center; font-size: 13px; font-weight: 800; }
.cart-item .ci-right { text-align: right; display: flex; flex-direction: column; justify-content: space-between; }
.cart-item .ci-price { font-size: 15px; font-weight: 800; color: var(--txt); }
.cart-item .ci-remove { background: none; border: none; color: var(--txt-mute); cursor: pointer; font-size: 11px; padding: 0; }
.cart-item .ci-remove:hover { color: var(--red); }

.cart-empty { text-align: center; padding: 60px 20px; color: var(--txt-mute); }
.cart-empty svg { width: 54px; height: 54px; color: var(--line-2); margin-bottom: 16px; }
.cart-empty p { margin-bottom: 18px; font-size: 14px; }

.cart-totals { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.cart-totals .row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--txt-dim); }
.cart-totals .row.total { font-size: 18px; font-weight: 800; color: var(--txt); padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.cart-totals .row.total .amt { color: var(--orange); }

/* Page panier complète */
.cartpage { padding: 32px 0 60px; }
.cartpage h1 { font-size: clamp(1.6rem,4vw,2.2rem); font-weight: 800; letter-spacing: -0.6px; margin-bottom: 24px; }
.cartpage-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(0,1fr); gap: 28px; align-items: start; }
.cartpage-list { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 20px; }
.summary {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 22px; position: sticky; top: 90px;
}
.summary h3 { font-size: 17px; font-weight: 800; margin-bottom: 16px; }
.checkout-note { font-size: 12px; color: var(--txt-mute); margin-top: 12px; text-align: center; line-height: 1.5; }

/* ============================================================
   BANDEAU CTA EXPERT
   ============================================================ */
.expert-strip {
    margin: 8px 0 0; border-radius: 14px; overflow: hidden;
    background: linear-gradient(90deg, rgba(251, 146, 60, 0.18), rgba(168, 85, 247, 0.18));
    border: 1px solid rgba(251, 146, 60, 0.3);
    padding: 22px 28px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.expert-strip .copy { flex: 1; min-width: 220px; }
.expert-strip h3 { margin: 0 0 5px; font-size: 19px; font-weight: 800; color: var(--txt); }
.expert-strip h3 b { color: var(--orange); }
.expert-strip p { margin: 0; font-size: 13px; color: var(--txt-dim); line-height: 1.5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, transparent, rgba(20,8,46,0.6)); margin-top: 40px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 48px 20px 28px; }
.footer-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 28px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { color: var(--txt-dim); font-size: 13px; line-height: 1.7; max-width: 300px; margin-bottom: 16px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--panel); display: flex; align-items: center; justify-content: center;
    color: var(--txt-dim);
}
.footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-social a svg { width: 18px; height: 18px; }
.footer-col h4 { font-size: 13px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; color: var(--txt); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--txt-dim); font-size: 13.5px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
    max-width: var(--maxw); margin: 0 auto; padding: 20px;
    border-top: 1px solid var(--line); display: flex; justify-content: space-between;
    gap: 14px; flex-wrap: wrap; color: var(--txt-mute); font-size: 12.5px;
}
.footer-bottom .pay { display: flex; gap: 8px; align-items: center; }
.footer-bottom .pay span { padding: 3px 9px; border: 1px solid var(--line); border-radius: 5px; font-size: 10px; font-weight: 700; color: var(--txt-dim); }

/* ============================================================
   TOAST
   ============================================================ */
.toast-zone { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 300; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
    display: flex; align-items: center; gap: 10px;
    padding: 13px 20px; border-radius: 12px;
    background: var(--card-2); border: 1px solid var(--orange);
    box-shadow: var(--shadow-gold); color: var(--txt); font-size: 13.5px; font-weight: 700;
    animation: toastIn 0.3s ease;
}
.toast svg { width: 18px; height: 18px; color: var(--green); }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .pp-grid { grid-template-columns: 1fr; gap: 28px; }
    .gallery { position: static; }
    .cartpage-grid { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 28px; }
    .nav { display: none; }
    .menu-btn { display: flex; }
}
@media (max-width: 560px) {
    .order-channels { grid-template-columns: 1fr; }
    .assurance { grid-template-columns: 1fr; }
    .footer-cols { grid-template-columns: 1fr; }
    .gallery .thumbs { grid-template-columns: repeat(6, 1fr); }
    .hero { padding: 52px 16px 40px; }
    .nav-mobile-open .nav {
        display: flex; position: absolute; top: 100%; left: 0; right: 0;
        flex-direction: column; align-items: stretch; gap: 2px;
        background: var(--bg-1); border-bottom: 1px solid var(--line); padding: 12px;
    }
}

/* ============================================================
   AUDIT PROD — accessibilité, bannière cookies, page légale
   ============================================================ */
.skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 2000;
    background: var(--orange); color: #1a0e00; font-weight: 800;
    padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top .15s;
}
.skip-link:focus { top: 8px; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--orange); outline-offset: 2px; border-radius: 6px;
}
#main-content:focus { outline: none; }

/* Champ honeypot anti-spam (invisible, hors écran) */
.hp-field {
    position: absolute !important; left: -9999px !important;
    width: 1px; height: 1px; opacity: 0; pointer-events: none;
}

/* Bannière cookies (RGPD) */
.cookie-banner {
    position: fixed; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 1500;
    width: min(720px, calc(100% - 24px));
    background: rgba(16,8,38,.97); border: 1px solid var(--line);
    border-radius: 14px; padding: 16px 18px; box-shadow: 0 18px 50px rgba(0,0,0,.5);
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.cookie-banner p { color: var(--txt-dim); font-size: 13.5px; margin: 0; flex: 1 1 260px; line-height: 1.5; }
.cookie-banner a { color: var(--orange); }
.cookie-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.cookie-actions .btn { padding: 9px 18px; font-size: 14px; }

/* Page légale */
.legal { padding: 40px 0 60px; }
.legal h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: var(--txt); margin-bottom: 18px; }
.legal h2 { font-size: 1.2rem; font-weight: 800; color: var(--txt); margin: 28px 0 10px; }
.legal p { color: var(--txt-dim); font-size: 14.5px; line-height: 1.7; margin: 0 0 12px; max-width: 760px; }
.legal a { color: var(--orange); }
.legal code { background: rgba(255,255,255,.06); padding: 1px 6px; border-radius: 5px; font-size: 13px; }
.legal-en { font-size: 13px; color: var(--txt-dim); opacity: .8; border-left: 2px solid var(--line); padding-left: 12px; }
.legal-fill { background: rgba(251,146,60,.12); border: 1px solid rgba(251,146,60,.4); color: var(--txt); border-radius: 10px; padding: 12px 14px; font-size: 13.5px; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.legal-toc a { background: var(--card); border: 1px solid var(--line); color: var(--txt); padding: 7px 14px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 700; }
.legal-toc a:hover { border-color: var(--orange); }
.legal-sec { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 8px; scroll-margin-top: 90px; }
.legal-updated { font-size: 12px; opacity: .6; margin-top: 28px; }
/* Bascule de langue de la page légale (suit le toggle FR/EN du header) */
.lang-fr { display: none; }
html[lang="fr"] .lang-fr { display: revert; }
html[lang="fr"] .lang-en { display: none; }
.legal-hint { font-size: 13px; color: var(--txt-dim); background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; margin-bottom: 18px; }
.legal-hint b { color: var(--txt); }
