  /* ==========================================================
     THEME â€” dark fantasy, verre fumÃ© (alignÃ© profil)
     ========================================================== */
  :root{
    --bg-1:#f6f1e7; --bg-2:#e9e1d3;
    --panel:#fffaf2; --panel-2:#fff4e6;
    --wood:#2f5c9c; --wood-2:#4f86c7;
    --ink:#2b2a28; --muted:#6b6258; --accent:#3b6fb6;
    --accent-ink:#f7fbff;
    --ring:0 0 0 3px rgba(59,111,182,.28);
    --shadow-sm:0 6px 16px rgba(28,22,18,.12);
    --shadow-md:0 12px 28px rgba(28,22,18,.16);
    --shadow-lg:0 20px 46px rgba(28,22,18,.2);
    --radius:16px; --border:#d7cbb8;
    --danger:#dc3545; --success:#2aa865;
    --surface-1:#fffdf8;
    --surface-2:#f5f1ea;
    --surface-3:#eee7dc;
    --input-bg:#fffaf3;
    --h:"Cormorant Garamond", "Times New Roman", serif;
    --b:"Spectral", "Georgia", serif;
    --header-image: url("../logo_forge_temps.webp");
  }
  *{box-sizing:border-box}
  html{scrollbar-gutter:stable}
  html,body{height:100%}
  body{
    margin:0; color:var(--ink);
    background:
      radial-gradient(900px 420px at 50% -10%, rgba(59,111,182,.12), transparent 60%),
      radial-gradient(1100px 600px at -10% -10%, #efe6d8 0%, transparent 60%),
      radial-gradient(1200px 700px at 110% -10%, #f3ebde 0%, transparent 60%),
      linear-gradient(180deg, var(--bg-1), var(--bg-2));
    font-family:var(--b); line-height:1.6; overflow-x:hidden;
  }
  body:before{
    content:""; position:fixed; inset:0; pointer-events:none;
    background:
      repeating-linear-gradient(0deg, rgba(58,42,32,.04) 0, rgba(58,42,32,.04) 1px, transparent 1px, transparent 5px),
      repeating-linear-gradient(90deg, rgba(58,42,32,.03) 0, rgba(58,42,32,.03) 1px, transparent 1px, transparent 6px);
    mix-blend-mode:multiply;
    opacity:.25;
  }
  header{
    position:sticky; top:0; z-index:120;
    background:transparent;
    backdrop-filter: blur(8px) saturate(1.05);
    -webkit-backdrop-filter: blur(8px) saturate(1.05);
    border-bottom:1px solid var(--border);
    box-shadow:var(--shadow-sm);
    overflow:hidden;
    transition:box-shadow .18s ease;
    isolation:isolate;
    transform:translateZ(0);
    backface-visibility:hidden;
  }
  header.header-actions-open{
    overflow:visible;
    z-index:220;
  }
  header::before{
    content:""; position:absolute; inset:0; pointer-events:none;
    background-image: var(--header-image);
    background-position: center 24%;
    background-size: cover;
    background-repeat: no-repeat;
    opacity:.6;
    filter:saturate(1) contrast(1.12);
  }
  header::after{
    content:""; position:absolute; inset:0; pointer-events:none;
    background:
      linear-gradient(180deg, rgba(255,250,242,.68) 0%, rgba(244,238,230,.78) 55%, rgba(233,225,211,.82) 100%),
      linear-gradient(0deg, rgba(59,111,182,.12), rgba(59,111,182,.03));
  }
  header > *{ position:relative; z-index:1; }
  .hdr-wrap{
    max-width:1200px; margin:0 auto; padding:14px 20px;
    display:flex; align-items:center; justify-content:space-between; gap:16px;
    position:relative;
    z-index:3;
  }
  .hdr-wrap.big{
    padding:26px 24px;
    gap:24px;
  }
  .brand{ display:flex; align-items:center; gap:12px; color:inherit; text-decoration:none; }
  .hdr-wrap.big .brand{ gap:18px; }
  .brand .logo{
    width:60px; height:60px; border-radius:14px; border:1px solid var(--border);
    background:#fffdf8; object-fit:cover; box-shadow:var(--shadow-sm);
    filter:saturate(.85) contrast(1.05);
  }
  .hdr-wrap.big .brand .logo{
    width:110px; height:110px; border-radius:18px;
    border:1px solid var(--border); box-shadow:var(--shadow-md); background:#fffdf8;
  }
  .brand h1{
    margin:0; font:700 22px var(--h); letter-spacing:.4px; color:var(--ink);
    text-shadow:none;
  }
  .hdr-wrap.big .brand h1{
    font-family:var(--h); font-weight:800; font-size:34px;
    letter-spacing:.6px; margin:0; color:var(--ink);
    text-shadow:none;
  }
  .nav{ display:flex; align-items:center; justify-content:flex-end; gap:8px; flex-wrap:wrap; }
  .header-quick-actions{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
  }
  .header-quick-btn{
    position:relative;
    min-height:42px;
    padding:8px 12px;
    gap:7px;
  }
  .header-quick-btn.is-idle{
    opacity:.82;
  }
  .header-quick-ico{
    line-height:1;
    font-size:16px;
  }
  .header-quick-label{
    line-height:1;
    white-space:nowrap;
  }
  .header-quick-badge,
  .header-actions-inline-badge{
    --badge-top:#ef6974;
    --badge-mid:#cc2f45;
    --badge-bottom:#9f1730;
    --badge-outline:rgba(89,20,28,.18);
    --badge-glow:rgba(120,28,38,.25);
    position:relative;
    z-index:0;
    overflow:hidden;
    isolation:isolate;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:12px;
    height:12px;
    padding:0 3px;
    border-radius:999px;
    border:1px solid rgba(255,255,255,.5);
    background:
      radial-gradient(120% 100% at 24% 10%, rgba(255,255,255,.34), rgba(255,255,255,0) 44%),
      radial-gradient(90% 90% at 86% 84%, rgba(0,0,0,.20), rgba(0,0,0,0) 62%),
      linear-gradient(180deg, var(--badge-top) 0%, var(--badge-mid) 56%, var(--badge-bottom) 100%);
    color:#fff;
    font-family:ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size:7px;
    font-weight:800;
    line-height:1;
    font-variant-numeric:tabular-nums;
    letter-spacing:.01em;
    text-shadow:0 1px 0 rgba(0,0,0,.22);
    box-shadow:
      0 0 0 1px var(--badge-outline),
      0 3px 6px var(--badge-glow),
      inset 0 1px 0 rgba(255,255,255,.24),
      inset 0 -1px 0 rgba(0,0,0,.18);
    transform-origin:center;
    transition:transform .16s ease, filter .16s ease, box-shadow .16s ease;
    animation:badge-pop .2s cubic-bezier(.22,.9,.31,1.15);
  }
  .header-quick-badge.ok,
  .header-actions-inline-badge.ok{
    --badge-top:#58d89d;
    --badge-mid:#24ab72;
    --badge-bottom:#167a51;
    --badge-outline:rgba(13,76,47,.16);
    --badge-glow:rgba(18,112,69,.22);
    border-color:rgba(255,255,255,.52);
  }
  .header-quick-badge[hidden],
  .header-actions-inline-badge[hidden]{
    display:none !important;
  }
  .header-actions-toggle:hover .header-quick-badge,
  .header-actions-item:hover .header-actions-inline-badge,
  .header-actions-item:focus-visible .header-actions-inline-badge,
  .header-actions-toggle:focus-visible .header-quick-badge{
    transform:translateY(-1px) scale(1.02);
    filter:saturate(1.08) brightness(1.03);
  }
  @keyframes badge-pop{
    from{ transform:scale(.88); opacity:.75; }
    to{ transform:scale(1); opacity:1; }
  }
  @media (prefers-reduced-motion:reduce){
    .header-quick-badge,
    .header-actions-inline-badge{
      animation:none;
      transition:none;
    }
  }
  .btn{
    display:inline-flex; align-items:center; gap:8px; cursor:pointer;
    padding:10px 14px; border-radius:12px; border:1px solid var(--border);
    background:linear-gradient(180deg, #fffaf3, var(--surface-2));
    color:var(--ink); text-decoration:none; font-weight:700;
    transition:.18s ease; font-family:var(--h);
    box-shadow:var(--shadow-sm);
  }
  .hdr-wrap.big .nav .btn{
    padding:10px 14px;
    font-size:1rem;
    border-radius:12px;
    min-height:42px;
  }
  .btn:hover{ transform:translateY(-2px); filter:brightness(1.02); box-shadow:var(--shadow-md); }
  .btn.primary{
    background:linear-gradient(180deg, var(--wood-2), var(--wood));
    color:var(--accent-ink); border-color:rgba(47,92,156,.5);
    box-shadow:0 10px 22px rgba(59,111,182,.25);
  }
  .header-actions-menu{
    position:relative;
  }
  .header-actions-toggle{
    min-width:112px;
    justify-content:center;
    gap:8px;
  }
  .header-actions-toggle-label{
    line-height:1;
  }
  .header-actions-toggle-badges{
    display:inline-flex;
    align-items:center;
    gap:3px;
    line-height:1;
    padding:1px 4px;
    margin-left:1px;
    border-radius:999px;
    border:1px solid rgba(58,42,32,.12);
    background:
      linear-gradient(180deg, rgba(255,252,247,.84), rgba(239,232,220,.72));
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.72),
      inset 0 -1px 0 rgba(103,88,70,.08);
  }
  .header-actions-toggle::after{
    content:"\25BE";
    font-size:10px;
    line-height:1;
    opacity:.8;
    margin-left:2px;
  }
  .header-actions-panel{
    position:absolute;
    right:0;
    top:calc(100% + 10px);
    min-width:260px;
    display:none;
    flex-direction:column;
    gap:6px;
    padding:8px;
    background:var(--panel);
    color:var(--ink);
    border:1px solid var(--border);
    border-radius:12px;
    box-shadow:var(--shadow-lg);
    z-index:420;
  }
  .header-actions-panel.show{
    display:flex;
  }
  .header-actions-item{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:9px 11px;
    border-radius:10px;
    border:1px solid var(--border);
    background:var(--surface-1);
    color:var(--ink);
    text-decoration:none;
    font-family:var(--h);
    font-weight:700;
    font-size:15px;
    line-height:1.2;
  }
  .header-actions-heading{
    padding:2px 4px 0;
    font-size:11px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--muted);
    font-weight:800;
    font-family:var(--h);
  }
  .header-actions-sep{
    width:100%;
    height:1px;
    background:var(--border);
    opacity:.65;
    margin:3px 0;
  }
  .header-actions-item-btn{
    appearance:none;
    font:inherit;
    cursor:pointer;
  }
  .header-actions-item:focus-visible{
    box-shadow:var(--ring);
  }
  .header-actions-item:hover{
    background:var(--surface-2);
    transform:translateY(-1px);
    box-shadow:var(--shadow-sm);
  }
  .header-actions-item.is-muted{
    opacity:.82;
  }
  .header-actions-note{
    font-size:12px;
    color:var(--muted);
    font-weight:700;
  }
  .header-cart-item-left{
    display:inline-flex;
    align-items:center;
    gap:8px;
  }
  .icon-btn{ position:relative; min-width:44px; min-height:44px; display:grid; place-items:center; }
  .badge{
    position:absolute; top:-6px; right:-6px; padding:2px 6px; border-radius:999px;
    font-size:12px; font-weight:800; color:#fff; border:1px solid rgba(0,0,0,.25);
    background:#dc3545; box-shadow:var(--shadow-sm);
  }
  .badge.ok{ background:var(--success); }
  .notif.off{ opacity:.45; pointer-events:none; cursor:not-allowed; }

  /* header cart (global) */
  .header-cart{ position:relative; display:inline-flex; align-items:center; }
  .header-cart-btn{
    position:relative;
    min-width:108px;
    justify-content:center;
    padding-right:30px;
  }
  .header-cart-text{ line-height:1; }
  .header-cart-icon{
    width:17px; height:17px; flex:none;
    fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round;
  }
  .header-cart-count{
    position:absolute; top:-8px; right:-8px;
    min-width:20px; height:20px; padding:0 6px;
    border-radius:999px; border:1px solid rgba(0,0,0,.25);
    background:#dc3545; color:#fff;
    display:flex; align-items:center; justify-content:center;
    font-size:11px; font-weight:800; line-height:1;
    box-shadow:var(--shadow-sm);
  }
  .header-cart-count[hidden]{ display:none !important; }
  .google-header-auth{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:40px;
    min-height:40px;
  }
  .google-header-btn-mount{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:36px;
    min-height:36px;
    border-radius:999px;
  }

  .cart-drawer-backdrop{
    position:fixed;
    inset:0;
    z-index:950;
    background:rgba(0,0,0,.42);
  }
  .cart-drawer{
    position:fixed;
    top:0;
    right:0;
    width:min(390px, 100vw);
    max-width:100vw;
    box-sizing:border-box;
    height:100vh;
    height:var(--cart-visible-height, 100dvh);
    min-height:0;
    max-height:var(--cart-visible-height, 100dvh);
    top:var(--cart-visible-top, 0px);
    transform:translateX(100%);
    transition:transform .22s ease;
    z-index:960;
    padding:16px 14px 16px;
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
    background:var(--panel);
    border-left:1px solid var(--border);
    box-shadow:-8px 0 24px rgba(0,0,0,.35);
    display:flex;
    flex-direction:column;
    gap:10px;
    overflow:hidden;
  }
  .cart-drawer[hidden]{ display:none !important; }
  .cart-drawer.is-open{ transform:translateX(0); }
  .cart-drawer-head{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding-bottom:8px;
    border-bottom:1px solid var(--border);
  }
  .cart-drawer-head h3{
    margin:0;
    font-family:var(--h);
    font-size:18px;
    letter-spacing:.03em;
  }
  .cart-drawer-close{
    width:28px;
    height:28px;
    border-radius:50%;
    border:1px solid var(--border);
    background:var(--surface-2);
    color:var(--ink);
    cursor:pointer;
    font-size:16px;
    line-height:1;
  }
  .cart-drawer-groups{
    margin:0;
    padding:2px 4px 8px 0;
    display:flex;
    flex-direction:column;
    gap:10px;
    flex:1 1 auto;
    min-height:0;
    overflow:auto;
    overscroll-behavior:contain;
  }
  .cart-seller-group{
    padding:10px;
    border:1px solid var(--border);
    border-radius:12px;
    background:var(--surface-1);
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  .cart-seller-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:8px;
  }
  .cart-seller-main{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:2px;
  }
  .cart-seller-name{
    font-size:12px;
    font-weight:800;
    color:var(--ink);
    font-family:var(--h);
    letter-spacing:.06em;
    text-transform:uppercase;
  }
  .cart-seller-payment{
    font-size:12px;
    color:var(--muted);
    line-height:1.25;
  }
  .cart-seller-summary{
    font-size:12px;
    color:var(--muted);
    font-weight:700;
    white-space:nowrap;
  }
  .cart-drawer-items{
    margin:0;
    padding:0;
    list-style:none;
    display:flex;
    flex-direction:column;
    gap:8px;
  }
  .header-cart-empty{
    margin:4px 0;
    color:var(--muted);
    font-size:13px;
  }
  .header-cart-empty.is-hidden{ display:none; }
  .cart-reservation-note{
    margin:0;
    color:var(--muted);
    font-size:12px;
    text-align:left;
  }
  .cart-drawer-item{
    display:flex;
    align-items:center;
    gap:10px;
    padding:8px;
    border:1px solid var(--border);
    border-radius:10px;
    background:var(--surface-2);
  }
  .cart-drawer-item img{
    width:42px;
    height:58px;
    max-width:42px;
    flex:0 0 42px;
    object-fit:cover;
    border-radius:8px;
    border:1px solid var(--border);
    background:var(--input-bg);
  }
  .cart-item-info{
    min-width:0;
    flex:1 1 auto;
  }
  .cart-item-name{
    color:var(--ink);
    font-weight:700;
    font-size:13px;
    line-height:1.2;
    margin-bottom:3px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .cart-item-meta{
    color:var(--accent);
    font-size:13px;
  }
  .cart-item-details{
    display:flex;
    flex-direction:column;
    gap:2px;
    margin-bottom:4px;
    color:var(--muted);
    font-size:12px;
    line-height:1.25;
  }
  .cart-item-details span{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .cart-item-details .cart-item-comment{
    white-space:normal;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }
  .cart-item-remove{
    width:28px;
    height:28px;
    flex:0 0 28px;
    border-radius:999px;
    border:1px solid var(--border);
    background:var(--surface-2);
    color:var(--ink);
    display:grid;
    place-items:center;
    font-size:18px;
    line-height:1;
    cursor:pointer;
    transition:.16s transform, .16s filter, .16s opacity;
  }
  .cart-item-remove:hover{
    transform:translateY(-1px);
    filter:brightness(1.08);
  }
  .cart-item-remove:disabled,
  .cart-item-remove.is-loading{
    opacity:.45;
    cursor:not-allowed;
  }
  .cart-drawer-footer{
    margin-top:auto;
    flex:0 0 auto;
    border-top:1px solid var(--border);
    padding-top:10px;
    padding-bottom:4px;
    display:flex;
    flex-direction:column;
    gap:10px;
    background:linear-gradient(180deg, rgba(255,250,242,0), var(--panel) 22%);
  }
  .cart-drawer-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    font-size:14px;
    font-weight:700;
  }
  .cart-drawer-row strong{ color:var(--accent); }
  .cart-drawer-grand-total-row{
    font-size:15px;
    border-top:1px dashed var(--border);
    padding-top:8px;
  }
  .cart-drawer-shipping{
    display:flex;
    flex-direction:column;
    gap:6px;
  }
  .cart-drawer-shipping label{
    font-size:12px;
    font-weight:700;
    color:var(--muted);
    text-transform:uppercase;
    letter-spacing:.08em;
    font-family:var(--h);
  }
  .cart-drawer-shipping select{
    width:100%;
    border-radius:10px;
    border:1px solid var(--border);
    background:var(--input-bg);
    color:var(--ink);
    padding:9px 10px;
    font-size:13px;
  }
  .cart-drawer-shipping select:focus{ box-shadow:var(--ring); }
  .cart-drawer-shipping select:disabled{
    opacity:.6;
    cursor:not-allowed;
  }
  .cart-drawer-checkout-form{ margin:0; }
  .cart-drawer-checkout{
    width:100%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    border:1px solid var(--border);
    padding:10px 14px;
    text-decoration:none;
    background:linear-gradient(180deg, var(--wood-2), var(--wood));
    color:var(--accent-ink);
    font-weight:700;
    letter-spacing:.1em;
    text-transform:uppercase;
    font-size:11px;
    cursor:pointer;
    font-family:var(--h);
    box-shadow:var(--shadow-sm);
    transition:.16s transform, .16s filter, .16s opacity, .16s box-shadow;
  }
  .cart-drawer-checkout:hover{
    transform:translateY(-1px);
    filter:brightness(1.05);
    box-shadow:var(--shadow-md);
  }
  .cart-drawer-checkout:disabled{
    opacity:.55;
    cursor:not-allowed;
    transform:none;
    filter:none;
    box-shadow:none;
  }
  .cart-drawer-fallback{
    text-align:center;
    color:var(--muted);
    font-size:12px;
    text-decoration:none;
  }
  .cart-drawer-fallback:hover{ color:var(--ink); }
  body.cart-drawer-open{ overflow:hidden; }

  .player-profile-modal-backdrop{
    position:fixed;
    inset:0;
    z-index:1500;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:12px;
    background:rgba(0,0,0,.65);
    opacity:0;
    pointer-events:none;
    transition:opacity .2s ease-out;
  }
  .player-profile-modal-backdrop[hidden]{ display:none !important; }
  .player-profile-modal-backdrop.is-open{
    opacity:1;
    pointer-events:auto;
  }
  .player-profile-modal{
    width:min(1180px, 100%);
    max-height:92vh;
    background:var(--panel);
    color:var(--ink);
    border:1px solid var(--border);
    border-radius:var(--radius);
    box-shadow:0 10px 32px rgba(0,0,0,.6);
    display:flex;
    flex-direction:column;
    overflow:hidden;
  }
  .player-profile-modal-header{
    padding:10px 14px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    background:var(--panel-2);
    border-bottom:1px solid var(--border);
  }
  .player-profile-modal-header h2{
    margin:0;
    min-width:0;
    flex:1 1 auto;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    font-family:var(--h);
    font-size:15px;
    text-transform:uppercase;
    letter-spacing:.12em;
  }
  .player-profile-modal-actions{
    display:flex;
    flex:0 0 auto;
    align-items:center;
    gap:8px;
  }
  .player-profile-open-page{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:34px;
    padding:8px 12px;
    border-radius:10px;
    border:1px solid var(--border);
    background:var(--surface-2);
    color:var(--ink);
    text-decoration:none;
    font-family:var(--h);
    font-size:11px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
  }
  .player-profile-open-page:hover{
    filter:brightness(1.05);
    transform:translateY(-1px);
    box-shadow:var(--shadow-sm);
  }
  .player-profile-close{
    width:34px;
    height:34px;
    border:0;
    border-radius:999px;
    background:transparent;
    color:var(--ink);
    cursor:pointer;
    font-size:20px;
    line-height:1;
  }
  .player-profile-close:hover{
    background:rgba(255,255,255,.08);
    transform:scale(1.05);
  }
  .player-profile-modal-body{
    padding:0;
    min-height:180px;
    overflow:auto;
  }
  .player-profile-modal-status{
    padding:16px;
    color:var(--muted);
    text-align:center;
  }
  .player-profile-modal-body .pp{
    margin:0;
    border-radius:0;
    border:0;
    box-shadow:none;
  }
  body.player-profile-modal-open{ overflow:hidden; }

  .cart-toast{
    position:fixed;
    right:16px;
    bottom:calc(16px + env(safe-area-inset-bottom));
    z-index:980;
    max-width:min(360px, calc(100vw - 28px));
    padding:10px 12px;
    border-radius:10px;
    border:1px solid var(--border);
    background:var(--panel);
    color:var(--ink);
    font-size:13px;
    line-height:1.35;
    box-shadow:var(--shadow-md);
    opacity:0;
    transform:translateY(8px);
    pointer-events:none;
    transition:opacity .18s ease, transform .18s ease;
  }
  .cart-toast.is-visible{
    opacity:1;
    transform:translateY(0);
  }
  .cart-toast.is-error{ border-color:#a24545; }

  .menu-wrap{
    border-top:1px solid var(--border);
    background:linear-gradient(180deg, rgba(255,250,242,.72), rgba(245,241,234,.9));
    position:relative;
    z-index:2;
  }
  .menu{
    max-width:1200px; margin:0 auto; padding:10px 20px; display:flex; gap:10px; flex-wrap:wrap;
  }
  .menu .pill{
    padding:10px 14px; border-radius:12px; border:1px solid var(--border);
    background:#fffdf8; color:var(--ink); text-decoration:none; font-family:var(--h); font-weight:700;
  }
  .menu .pill:hover{ filter:brightness(1.02); transform:translateY(-2px); border-color:rgba(59,111,182,.35); box-shadow:var(--shadow-sm); }
  .menu .pill.is-active{
    background:linear-gradient(180deg, var(--wood-2), var(--wood));
    color:var(--accent-ink);
    border-color:rgba(47,92,156,.5);
    box-shadow:0 8px 20px rgba(59,111,182,.2);
  }

  /* menu messages */
  .msg-dd{ position:relative; }
  .msg-menu{
    position:absolute; right:0; top:calc(100% + 10px); min-width:260px; display:none;
    background:#fffaf2; color:#2b2a28; border:1px solid var(--border);
    border-radius:12px; box-shadow:0 16px 48px rgba(28,22,18,.22); overflow:hidden; z-index:100;
  }
  .msg-menu.show{ display:block; }
  .msg-item{
    display:flex; align-items:center; justify-content:space-between;
    padding:10px 12px; color:#2b2a28; text-decoration:none; border-bottom:1px solid #efe4d6;
  }
  .msg-item:last-child{ border-bottom:0; }
  .msg-item:hover{ background:#eef4ff; }

  .sect{
    max-width:1200px; margin:22px auto; padding:18px 20px;
    background:var(--panel); border:1px solid var(--border);
    border-radius:var(--radius); box-shadow:var(--shadow-md);
    position:relative;
  }
  .sect:before{
    content:""; position:absolute; inset:6px; pointer-events:none;
    border:1px solid rgba(255,227,193,.08); border-radius:calc(var(--radius) - 6px);
  }
  .sect-title{ margin:0 0 12px; font:700 22px var(--h); letter-spacing:.3px; }

  /* news */
  .news-list{ list-style:none; margin:0; padding:0; display:grid; gap:10px; }
  .news-item{
    display:flex; align-items:center; gap:10px; padding:12px 14px; background:var(--surface-1);
    border:1px solid var(--border); border-radius:12px; transition:.18s ease;
  }
  .news-item:hover{ transform:translateX(6px); border-color:rgba(59,111,182,.35); box-shadow:var(--shadow-sm); }
  .news-item a{ color:var(--ink); text-decoration:none; display:flex; gap:10px; align-items:center; flex:1; }

  /* Sets */
  .sets-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:12px; }
  .set-card{
    display:flex; gap:12px; align-items:flex-start;
    background:var(--surface-1); border:1px solid var(--border);
    border-radius:12px; padding:12px; transition:.18s ease;
  }
  .set-card:hover{ transform:translateY(-2px); border-color:rgba(59,111,182,.35); box-shadow:var(--shadow-sm); }
  .set-ico{
    width:52px; height:52px; border-radius:12px; flex:none;
    background:var(--input-bg); border:1px solid var(--border); display:grid; place-items:center;
  }
  .set-ico img{
    width:34px; height:34px; object-fit:contain; display:block;
    filter:none;
    opacity:.85;
  }
  .set-body{ min-width:0; }
  .set-name{ margin:.1rem 0 .2rem; font:700 18px var(--h); color:var(--ink); }
  .set-sub{ color:var(--muted); font-size:14px; }
  .set-actions{ margin-top:8px; display:flex; gap:8px; flex-wrap:wrap; }
  .set-pill{
    display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px;
    border:1px solid rgba(59,111,182,.3); background:rgba(59,111,182,.12); color:#2f5c9c; font-weight:800;
  }
  .set-skel{
    display:flex; gap:12px; align-items:center; background:var(--surface-1);
    border:1px solid var(--border); border-radius:12px; padding:12px; overflow:hidden;
  }
  .set-skel .ico{
    width:52px; height:52px; border-radius:12px; border:1px solid var(--border);
    background:linear-gradient(90deg,#eee7dc 25%,#f5f1ea 37%,#eee7dc 63%);
    background-size:400% 100%; animation:sheen 1.2s ease-in-out infinite;
  }
  .set-skel .lines{ flex:1; }
  .set-skel .lines>div{
    height:14px; margin:6px 0; border-radius:8px;
    background:linear-gradient(90deg,#eee7dc 25%,#f5f1ea 37%,#eee7dc 63%);
    background-size:400% 100%; animation:sheen 1.2s ease-in-out infinite;
  }
  .set-skel .lines .short{ width:40% }
  @keyframes sheen{ 0%{background-position:200% 0} 100%{background-position:-200% 0} }

  /* cards */
  .cards-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:12px; }
  .card{
    display:flex; gap:10px; align-items:flex-start; padding:12px; background:var(--surface-1);
    border:1px solid var(--border); border-radius:12px; transition:.18s ease;
  }
  .card:hover{ transform:translateY(-2px); border-color:rgba(59,111,182,.35); box-shadow:var(--shadow-sm); }
  .card img{
    width:96px; height:134px; border-radius:10px; border:1px solid var(--border); background:var(--input-bg); object-fit:cover;
  }
  .card .meta h4{ margin:.1rem 0 .3rem; font:700 18px var(--h); }
  .card .prices{ list-style:none; padding:0; margin:6px 0 0; color:var(--muted); font-size:14px; }
  .card .prices b{ color:var(--ink); }
  .card .actions{ margin-top:8px; display:flex; gap:8px; flex-wrap:wrap; }

  /* offres */
  .offers-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px,1fr)); gap:12px; }
  .offer{
    display:flex; gap:12px; padding:12px; background:var(--surface-1);
    border:1px solid var(--border); border-radius:12px; transition:.18s ease; align-items:center;
  }
  .offer:hover{ transform:translateY(-2px); border-color:rgba(59,111,182,.35); box-shadow:var(--shadow-sm); }
  .offer-img{
    width:96px; height:134px; border-radius:10px; border:1px solid var(--border);
    background:var(--input-bg); object-fit:cover; flex:none;
  }
  .offer .title{ font:800 16px var(--h); color:var(--ink); margin:0 0 4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .offer .sub{ color:var(--muted); font-size:14px; }
  .offer .row{ display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:6px; }
  .pill{
    display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border-radius:999px;
    border:1px solid rgba(59,111,182,.3); background:rgba(59,111,182,.12); font-weight:800; color:#2f5c9c;
  }

  .flash{
    width:min(1200px,92vw); margin:14px auto 0; padding:10px 12px;
    background:#eef4ff; border:1px solid #c8d8f2; color:#2f5c9c;
    border-radius:12px; text-align:center;
  }
  .err{
    margin:12px 0; padding:10px 12px; border-radius:10px;
    background:#3b1212; border:1px solid #5b2a2a; color:#ffb1b1; text-align:center;
  }

  /* footer */
  .site-footer{
    margin:28px 0 24px;
    color:var(--ink);
    background:linear-gradient(180deg, #fffaf2, var(--surface-2));
    border-top:1px solid var(--border);
    box-shadow:var(--shadow-sm);
  }
  .site-footer .ft-wrap{
    max-width:1200px; margin:0 auto; padding:28px 20px;
    display:grid; gap:20px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .site-footer .ft-col{
    background:var(--surface-1); border:1px solid var(--border); border-radius:12px; padding:14px; box-shadow:var(--shadow-sm);
  }
  .site-footer .ft-title{ font:800 16px var(--h); letter-spacing:.3px; margin:0 0 10px; color:var(--ink); }
  .site-footer .ft-title.small{ font-size:14px; }
  .site-footer .ft-text{ margin:0 0 8px; color:var(--muted); }
  .site-footer .ft-list{ list-style:none; padding:0; margin:0; display:grid; gap:6px; }
  .site-footer .ft-list a, .site-footer .link-like{
    color:var(--ink); text-decoration:none; font-weight:700; font-family:var(--h);
    padding:6px 10px; border:1px solid var(--border); border-radius:10px; background:var(--surface-2); display:inline-block;
  }
  .site-footer .ft-list a:hover, .site-footer .link-like:hover{
    filter:brightness(1.05); transform:translateY(-2px); box-shadow:var(--shadow-sm);
    border-color:rgba(59,111,182,.35);
  }
  .site-footer .link-like{ background:var(--surface-2); cursor:pointer; }
  .site-footer .ft-contact{ list-style:none; padding:0; margin:0 0 10px; color:var(--muted); display:grid; gap:4px; }
  .site-footer .ft-contact a{ color:var(--ink); text-decoration:none; }
  .site-footer .ft-social{ display:flex; gap:8px; margin:10px 0 12px; }
  .site-footer .ft-social .ico{
    min-width:38px; height:38px; padding:0 10px; width:auto;
    display:inline-flex; align-items:center; justify-content:center;
    border:1px solid var(--border); border-radius:10px; background:var(--surface-2); color:var(--ink);
    font-size:12px; font-weight:700; letter-spacing:.2px;
  }
  .site-footer .ft-social .ico:hover{
    filter:brightness(1.05); transform:translateY(-2px); box-shadow:var(--shadow-sm);
    border-color:rgba(59,111,182,.35);
  }
  .site-footer .ft-news-row{ display:flex; gap:8px; }
  .site-footer .ft-news input{
    flex:1; min-width:0; height:40px; padding:8px 10px;
    border-radius:10px; border:1px solid var(--border); background:var(--input-bg); color:var(--ink);
  }
  .site-footer .ft-note{ display:block; color:var(--muted); margin-top:6px; }
  .site-footer .ft-bottom{
    border-top:1px solid var(--border);
    background:linear-gradient(180deg, #fffaf2, var(--surface-2));
    padding:14px 20px; display:flex; flex-wrap:wrap; gap:12px; align-items:center; justify-content:space-between;
  }
  .site-footer .ft-badges{ display:flex; gap:8px; flex-wrap:wrap; }
  .site-footer .badge-ico{
    display:inline-flex; align-items:center; gap:6px; padding:6px 10px;
    border:1px solid rgba(59,111,182,.3); border-radius:999px; background:rgba(59,111,182,.12);
    font-weight:800; color:#2f5c9c;
  }
  .site-footer .ft-copy{ margin:0; color:var(--muted); }
  .site-footer .ft-copy a{ color:var(--ink); text-decoration:none; }
  .site-footer .ft-copy .sep{ opacity:.6; margin:0 8px; }
  .site-footer .ft-legal-note{
    display:block; margin-top:6px; color:var(--muted); font-size:12px; line-height:1.5;
  }
  .site-footer .back-top{
    margin-left:auto; border:1px solid var(--border); background:#fffdf8; color:var(--ink);
    border-radius:10px; padding:8px 12px; cursor:pointer; font-weight:800; font-family:var(--h);
  }
  .site-footer .back-top:hover{ filter:brightness(1.06); transform:translateY(-1px); box-shadow:var(--shadow-sm); }

  .sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

  /* ==========================================================
     THEME OVERRIDES â€” Feu
     ========================================================== */
  :root[data-theme="fire"]{
    --bg-1:#120c0b; --bg-2:#22140f;
    --panel:#1d120fe6; --panel-2:#241711f0;
    --wood:#5f1712; --wood-2:#7b1f17;
    --ink:#ecd7bf; --muted:#c4a488; --accent:#b95a2f;
    --accent-ink:#fff;
    --ring:0 0 0 2px rgba(191,103,56,.28);
    --shadow-sm:0 6px 18px rgba(0,0,0,.35);
    --shadow-md:0 10px 32px rgba(0,0,0,.45);
    --shadow-lg:0 16px 48px rgba(0,0,0,.55);
    --radius:16px; --border:#4a2d20;
    --danger:#dc3545; --success:#2aa865;
    --surface-1:#18100d;
    --surface-2:#1d130f;
    --surface-3:#261913;
    --input-bg:#120d0b;
    --h:"Cinzel", serif;
    --b:ui-sans-serif, system-ui, -apple-system, Segoe UI, Inter, Roboto, "Noto Sans", Arial;
    --header-image: url("../logo_forge_tempsfeu.webp");
  }
  html[data-theme="fire"] body{
    background:
      radial-gradient(1100px 600px at -10% -10%, #2f1611 0%, transparent 60%),
      radial-gradient(1200px 700px at 110% -10%, #3a2017 0%, transparent 60%),
      linear-gradient(180deg, var(--bg-1), var(--bg-2));
  }
  html[data-theme="fire"] body:before{
    background:
      radial-gradient(2px 2px at 10% 30%, rgba(255,255,255,.06), transparent 60%),
      radial-gradient(2px 2px at 70% 20%, rgba(255,255,255,.06), transparent 60%),
      radial-gradient(2px 2px at 50% 80%, rgba(255,255,255,.06), transparent 60%);
    mix-blend-mode:screen;
    opacity:1;
  }
  html[data-theme="fire"] header::after{
    background:linear-gradient(180deg, rgba(28,20,19,.9), rgba(28,20,19,.7));
  }
  html[data-theme="fire"] header::before{
    opacity:.82;
    filter:saturate(1.12) contrast(1.2) brightness(1.08);
  }
  html[data-theme="fire"] header::after{
    background:linear-gradient(180deg, rgba(28,20,19,.55), rgba(28,20,19,.45));
  }
  html[data-theme="fire"] .menu-wrap{
    border-top:1px solid var(--border);
    background:linear-gradient(180deg, rgba(28,20,19,.85), rgba(28,20,19,.65));
  }
  html[data-theme="fire"] .menu .pill{
    background:var(--surface-1);
    color:var(--ink);
    border:1px solid rgba(150,112,91,.36);
    box-shadow:
      inset 0 0 0 1px rgba(240,170,120,.06),
      0 0 0 1px rgba(122,74,49,.12),
      0 6px 14px rgba(0,0,0,.34);
  }
  html[data-theme="fire"] .menu .pill.is-active{
    background:var(--surface-2);
    color:var(--ink);
    border-color:rgba(176,129,103,.46);
    box-shadow:
      inset 0 0 0 1px rgba(249,183,132,.1),
      0 0 0 1px rgba(154,93,62,.16),
      0 0 10px rgba(196,104,62,.11),
      0 8px 18px rgba(0,0,0,.38);
  }
  html[data-theme="fire"] .menu .pill:hover{
    filter:brightness(1.01);
    transform:translateY(-1px);
    border-color:rgba(184,136,110,.48);
    box-shadow:
      inset 0 0 0 1px rgba(247,182,133,.1),
      0 0 0 1px rgba(156,95,64,.18),
      0 0 12px rgba(203,111,69,.12),
      0 8px 18px rgba(0,0,0,.38);
  }
  html[data-theme="fire"] .btn{
    background:var(--surface-1);
    color:var(--ink);
    border:1px solid rgba(150,112,91,.36);
    box-shadow:
      inset 0 0 0 1px rgba(240,170,120,.06),
      0 0 0 1px rgba(122,74,49,.12),
      0 8px 18px rgba(0,0,0,.36);
    text-shadow:none;
  }
  html[data-theme="fire"] .btn:hover{
    transform:translateY(-1px);
    filter:brightness(1.01);
    border-color:rgba(184,136,110,.48);
    box-shadow:
      inset 0 0 0 1px rgba(247,182,133,.1),
      0 0 0 1px rgba(156,95,64,.18),
      0 0 12px rgba(203,111,69,.12),
      0 9px 20px rgba(0,0,0,.4);
  }
  html[data-theme="fire"] .btn.primary{
    background:var(--surface-2);
    color:var(--ink);
    border-color:rgba(176,129,103,.46);
    box-shadow:
      inset 0 0 0 1px rgba(249,183,132,.1),
      0 0 0 1px rgba(154,93,62,.16),
      0 0 10px rgba(196,104,62,.11),
      0 10px 22px rgba(0,0,0,.42);
  }
  html[data-theme="fire"] .btn.primary:hover{
    filter:brightness(1.02);
    box-shadow:
      inset 0 0 0 1px rgba(252,195,145,.12),
      0 0 0 1px rgba(166,102,71,.2),
      0 0 12px rgba(214,118,74,.13),
      0 11px 24px rgba(0,0,0,.46);
  }
  html[data-theme="fire"] .news-item:hover{
    border-color:#4a342b;
  }
  html[data-theme="fire"] .set-card:hover{
    border-color:#4a342b;
  }
  html[data-theme="fire"] .card:hover{
    border-color:#4a342b;
  }
  html[data-theme="fire"] .offer:hover{
    border-color:#4a342b;
  }
  html[data-theme="fire"] .set-ico img{
    filter: invert(.92) sepia(.18) saturate(1.2) hue-rotate(-10deg) brightness(1.05);
    opacity:.95;
  }
  html[data-theme="fire"] .set-pill{
    border:1px solid rgba(150,112,91,.36);
    background:var(--surface-1);
    color:var(--ink);
    box-shadow:
      inset 0 0 0 1px rgba(240,170,120,.06),
      0 0 0 1px rgba(122,74,49,.12);
  }
  html[data-theme="fire"] .pill{
    border:1px solid rgba(150,112,91,.36);
    background:var(--surface-1);
    color:var(--ink);
    box-shadow:
      inset 0 0 0 1px rgba(240,170,120,.06),
      0 0 0 1px rgba(122,74,49,.12);
  }
  html[data-theme="fire"] .set-skel .ico,
  html[data-theme="fire"] .set-skel .lines>div{
    background:linear-gradient(90deg,#201614 25%,#261a18 37%,#201614 63%);
    background-size:400% 100%;
  }
  html[data-theme="fire"] .sect:before{ display:none; }
  html[data-theme="fire"] .msg-menu{
    background:#fff7ef; color:#5a3e2b; border:1px solid #d8bfa5;
    box-shadow:0 16px 48px rgba(0,0,0,.35);
  }
  html[data-theme="fire"] .msg-item{
    color:#5a3e2b; border-bottom:1px solid #ead9c8;
  }
  html[data-theme="fire"] .msg-item:hover{ background:#ffebd6; }
  html[data-theme="fire"] .site-footer{
    background:linear-gradient(180deg, rgba(28,20,19,.85), rgba(28,20,19,.65));
    border-top:1px solid var(--border);
  }
  html[data-theme="fire"] .site-footer .ft-list a,
  html[data-theme="fire"] .site-footer .link-like{
    background:#16100f; border:1px solid var(--border); color:var(--ink);
  }
  html[data-theme="fire"] .site-footer .ft-list a:hover,
  html[data-theme="fire"] .site-footer .link-like:hover{
    filter:brightness(1.05); transform:translateY(-1px); box-shadow:var(--shadow-sm);
  }
  html[data-theme="fire"] .site-footer .ft-social .ico{
    border:1px solid var(--border); background:#16100f; color:var(--ink);
  }
  html[data-theme="fire"] .site-footer .ft-social .ico:hover{
    filter:brightness(1.06); transform:translateY(-1px); box-shadow:var(--shadow-sm);
  }
  html[data-theme="fire"] .site-footer .ft-bottom{
    border-top:1px solid rgba(59,42,38,.6);
    background:linear-gradient(180deg, rgba(28,20,19,.75), rgba(28,20,19,.55));
  }
  html[data-theme="fire"] .site-footer .badge-ico{
    border:1px solid var(--border); background:#16100f; color:#ffcc99;
  }
  html[data-theme="fire"] .site-footer .back-top{
    border:1px solid var(--border); background:#16100f; color:var(--ink);
  }
  html[data-theme="fire"] .site-footer .back-top:hover{
    filter:brightness(1.06); transform:translateY(-1px); box-shadow:var(--shadow-sm);
  }

  @media (max-width: 1024px){
    .hdr-wrap.big .brand .logo{ width:120px; height:120px; }
    .hdr-wrap.big .brand h1{ font-size:28px; }
    .site-footer .ft-wrap{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 768px){
    .hdr-wrap{ flex-direction:column; gap:10px; }
    .brand h1{ font-size:20px; }
    .offer{ flex-direction:column; text-align:center; }
    .hdr-wrap.big{ flex-direction:column; align-items:center; text-align:center; gap:16px; }
    .hdr-wrap.big .brand .logo{ width:96px; height:96px; border-radius:16px; }
    .hdr-wrap.big .brand h1{ font-size:24px; }
    .hdr-wrap.big .nav{ width:100%; justify-content:center; gap:10px; }
    .hdr-wrap.big .nav .header-quick-actions{
      width:100%;
      justify-content:center;
    }
    .hdr-wrap.big .nav .header-quick-btn{
      min-width:0;
    }
    .hdr-wrap.big .nav .btn{ width:auto; max-width:none; justify-content:center; }
    .hdr-wrap.big .nav .header-actions-panel{
      right:50%;
      transform:translateX(50%);
      min-width:min(320px, calc(100vw - 28px));
    }
    .hdr-wrap.big .nav .google-header-auth{
      width:auto;
      justify-content:center;
    }
    .menu{
      padding:10px 12px;
      gap:8px;
      flex-wrap:nowrap;
      overflow-x:auto;
      -webkit-overflow-scrolling:touch;
      scrollbar-width:thin;
    }
    .menu .pill{
      white-space:nowrap;
      flex:0 0 auto;
    }
    .sect{
      margin:16px auto;
      padding:16px 14px;
    }
    .sect-title{ font-size:20px; }
    .set-card,
    .card,
    .offer{
      padding:10px;
      gap:10px;
    }
    .card img,
    .offer-img{
      width:88px;
      height:122px;
    }
    .offer .title{ white-space:normal; }
    .cart-drawer{ width:min(360px, 100vw); }
  }
  @media (max-width: 640px){
    .menu{
      padding:8px 10px;
      gap:7px;
    }
    .menu .pill{
      padding:8px 11px;
      font-size:14px;
    }
    .sect{
      margin:14px auto;
      padding:14px 12px;
      border-radius:14px;
    }
    .cart-drawer{
      width:100vw;
      border-left:0;
      border-radius:0;
    }
    .cart-drawer-head h3{ font-size:17px; }
    .cart-drawer-row{ font-size:13px; }
    .cart-toast{
      right:10px;
      left:10px;
      max-width:none;
      bottom:calc(10px + env(safe-area-inset-bottom));
    }
    .site-footer .ft-wrap{ grid-template-columns: 1fr; }
    .site-footer .ft-news-row{ flex-direction:column; }
    .site-footer .ft-news input, .site-footer .ft-news .btn{ width:100%; }
  }