/* Boutique client AG — reprend le design de la maquette (AG Core + AG Storefront Theme). */
:root {
  --ag-bg-000: #050F14; --ag-bg-100: #071419; --ag-bg-200: #0A181D; --ag-bg-300: #0E2127;
  --ag-border-100: #183139; --ag-border-200: #2A4A53;
  --ag-ink: #F2F7F6; --ag-ink-muted: #B9C8CC; --ag-ink-subtle: #9DB1B6;
  --ag-on-accent: #04241A; --ag-accent-tint: #0B2A22; --ag-wa-green: #0B5A41; --ag-wa-ink: #EFFFF8;
  --ag-warning: #F5D27A; --ag-warning-bg: #2A2410; --ag-danger: #FFB4A8; --ag-danger-bg: #2A1414;
  --ag-info: #8FD3F5; --ag-info-bg: #0E2A33;
  --accent: #1AF0A8; /* remplacé par la couleur du commerçant */
  --radius-card: 22px; --radius-ctl: 14px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--ag-bg-000); color: var(--ag-ink); font-family: "Plus Jakarta Sans", system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 16px; } }

/* Bandeau et en-tête */
.announce { background: var(--ag-wa-green); color: var(--ag-wa-ink); font-size: 13px; font-weight: 500; text-align: center; padding: 9px 16px; }
header.top { background: var(--ag-bg-100); border-bottom: 1px solid var(--ag-border-100); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; flex-wrap: nowrap; align-items: center; gap: 14px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; }
.mono { width: 44px; height: 44px; border-radius: 14px; background: var(--accent); color: var(--ag-on-accent); display: grid; place-items: center; font-weight: 800; font-size: 18px; flex: none; }
.brand b { display: block; font-size: 19px; font-weight: 800; }
.brand small { display: block; font-size: 12px; color: var(--ag-ink-subtle); }
nav.cats { flex: 1 1 auto; min-width: 0; display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 18px; font-weight: 600; font-size: 15px; white-space: nowrap; scrollbar-width: none; }
nav.cats a[aria-current="page"] { color: var(--accent); }
.search { flex: 0 1 280px; min-width: 180px; display: flex; align-items: center; gap: 10px; height: 46px; border-radius: var(--radius-ctl); background: var(--ag-bg-300); border: 1px solid var(--ag-border-100); padding: 0 14px; }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 14px; }
.search input::placeholder { color: var(--ag-ink-subtle); }
.actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--ag-border-100); background: var(--ag-bg-300); display: grid; place-items: center; cursor: pointer; }
.cart-btn { height: 44px; padding: 0 16px; border-radius: 14px; background: var(--accent); color: var(--ag-on-accent); display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; }
.cart-btn:hover { color: var(--ag-on-accent); filter: brightness(1.05); }
@media (max-width: 1100px) { .top .wrap { flex-wrap: wrap; } nav.cats { order: 5; flex-basis: 100%; } .search { order: 4; flex: 1 1 240px; } .actions { margin-left: auto; } }
@media (max-width: 720px) { .brand small { display: none; } .search { flex-basis: 100%; } }

/* Éléments communs */
main { padding: 28px 0 0; min-height: 60vh; }
h1 { margin: 0; font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
h2 { margin: 0; font-size: 22px; font-weight: 800; }
.muted { color: var(--ag-ink-subtle); }
.card { background: var(--ag-bg-200); border: 1px solid var(--ag-border-100); border-radius: var(--radius-card); padding: 20px; }
.btn { height: 48px; padding: 0 20px; border-radius: var(--radius-ctl); border: 0; background: var(--accent); color: var(--ag-on-accent); font-weight: 800; font-size: 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
.btn:hover { color: var(--ag-on-accent); filter: brightness(1.05); }
.btn[disabled] { background: var(--ag-bg-300); color: var(--ag-ink-subtle); border: 1px solid var(--ag-border-200); cursor: not-allowed; filter: none; }
.btn.ghost { background: var(--ag-bg-300); color: var(--ag-ink); border: 1px solid var(--ag-border-200); }
.btn.wa { background: var(--ag-wa-green); color: var(--ag-wa-ink); }
.btn.small { height: 40px; font-size: 13px; padding: 0 14px; }
.chip { display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1.2; text-decoration: none; color: inherit; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--ag-border-200); background: var(--ag-bg-300); font-weight: 700; font-size: 13px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--ag-on-accent); border-color: var(--accent); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ag-ink-muted); }
.field input, .field select, .field textarea { height: 48px; border-radius: 12px; border: 1px solid var(--ag-border-200); background: var(--ag-bg-300); padding: 0 14px; font-size: 15px; font-weight: 400; color: var(--ag-ink); }
.field input, .field select, .field textarea { min-width: 0; width: 100%; box-sizing: border-box; }
.field textarea { height: 90px; padding: 12px 14px; resize: vertical; }
[hidden] { display: none !important; }
.note { border-radius: 14px; padding: 12px 16px; font-size: 14px; line-height: 1.5; }
.note.ok { background: var(--ag-accent-tint); border: 1px solid rgba(26, 240, 168, .3); color: #D7FFF0; }
.note.warn { background: var(--ag-warning-bg); border: 1px solid #5A4A1A; color: #E8DDB8; }
.note.err { background: var(--ag-danger-bg); border: 1px solid #6B2A2A; color: #FFD6CF; }
.note.info { background: var(--ag-info-bg); border: 1px solid #1E4A57; color: #CDEBF7; }
.badge { background: var(--ag-bg-000); color: var(--ag-ink); font-size: 12px; font-weight: 700; border-radius: 999px; padding: 5px 10px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr)); gap: 18px; }
@media (max-width: 720px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.split { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.split > .side { flex: 1 1 260px; }
.split > .body { flex: 999 1 520px; min-width: 0; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.crumbs { font-size: 13px; color: var(--ag-ink-subtle); display: flex; gap: 8px; margin-bottom: 10px; }

/* Carte produit */
.product { background: var(--ag-bg-200); border: 1px solid var(--ag-border-100); border-radius: var(--radius-card); padding: 10px; display: flex; flex-direction: column; gap: 10px; }
.product .ph { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #E9E3DE; }
.product .ph img { width: 100%; height: 100%; object-fit: cover; }
.product .ph .badge { position: absolute; top: 10px; left: 10px; }
.product .meta { display: flex; justify-content: space-between; gap: 8px; padding: 0 6px; font-weight: 700; }
.product .meta span:last-child { font-weight: 800; white-space: nowrap; }
/* Cartes étroites (téléphone, 2 colonnes) : le prix passe sous le nom au lieu de déborder */
@media (max-width: 720px) { .product { min-width: 0; } .product .meta { flex-direction: column; gap: 4px; } .product .meta span:first-child { overflow-wrap: anywhere; } }
.product .sub { padding: 0 6px; font-size: 13px; color: var(--ag-ink-subtle); }

/* Accueil */
.hero { position: relative; border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 75% 30%, #0E3A2E 0%, var(--ag-bg-200) 55%); border: 1px solid var(--ag-border-100); padding: clamp(24px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 28px; align-items: center; }
.hero .txt { flex: 1 1 360px; display: flex; flex-direction: column; gap: 18px; }
.hero .txt p { margin: 0; color: var(--ag-ink-muted); font-size: 16px; line-height: 1.65; max-width: 520px; }
.hero .pic { flex: 0 1 340px; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; border: 1px solid var(--ag-border-200); background: #E9E3DE; }
.hero .pic img { width: 100%; height: 100%; object-fit: cover; }
/* Bannière de la boutique : en fond derrière le texte (ordinateur), en haut au format 16:9 (téléphone) */
.hero.has-banner { min-height: clamp(320px, 34vw, 480px); }
.hero.has-banner .banner { position: absolute; inset: 0; z-index: 0; }
.hero.has-banner .banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero.has-banner .banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,15,20,.92) 0%, rgba(5,15,20,.72) 42%, rgba(5,15,20,.15) 75%, rgba(5,15,20,0) 100%); }
.hero.has-banner > .txt, .hero.has-banner > .pic { position: relative; z-index: 1; }
@media (max-width: 720px) {
  .hero.has-banner { min-height: 0; padding-top: 0; flex-direction: column; align-items: stretch; }
  .hero.has-banner .banner { position: relative; inset: auto; margin: 0 calc(-1 * clamp(24px, 5vw, 56px)); aspect-ratio: 16 / 9; }
  .hero.has-banner .banner::after { background: linear-gradient(0deg, var(--ag-bg-200) 0%, rgba(5,15,20,0) 45%); }
  .hero.has-banner > .pic { display: none; }
  .hero.has-banner > .txt { flex: none; }
}
.section { margin-top: 44px; display: flex; flex-direction: column; gap: 18px; }
.cat-tile { border-radius: 20px; border: 1px solid var(--ag-border-100); background: var(--ag-bg-200); padding: 18px; font-weight: 800; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; align-items: center; }
.cat-tile .muted { font-weight: 500; font-size: 13px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 14px; }
.steps div { border-radius: 18px; background: var(--ag-bg-200); border: 1px solid var(--ag-border-100); padding: 18px; display: flex; gap: 12px; align-items: flex-start; }
.steps b { width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--ag-on-accent); display: grid; place-items: center; flex: none; }

/* Fiche produit */
.pdp { display: flex; flex-wrap: wrap; gap: 32px; }
.pdp .gal { flex: 1 1 420px; display: flex; gap: 12px; }
.pdp .thumbs { display: flex; flex-direction: column; gap: 10px; }
.pdp .thumbs button { width: 72px; aspect-ratio: 4 / 5; padding: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--ag-border-100); background: #E9E3DE; cursor: pointer; }
.pdp .thumbs button[aria-pressed="true"] { border: 2px solid var(--accent); }
.pdp .thumbs img, .pdp .main img { width: 100%; height: 100%; object-fit: cover; }
.pdp .main { flex: 1; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #E9E3DE; }
.pdp .details { flex: 1 1 360px; display: flex; flex-direction: column; gap: 16px; }
.price { font-size: 28px; font-weight: 800; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--ag-border-200); border-radius: 12px; background: var(--ag-bg-300); }
.qty button { width: 40px; height: 44px; border: 0; background: transparent; font-size: 18px; cursor: pointer; }
.qty span { min-width: 32px; text-align: center; font-weight: 700; }

/* Panier et commande */
.line { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ag-border-100); }
.line img { width: 72px; height: 88px; object-fit: cover; border-radius: 12px; background: #E9E3DE; flex: none; }
.line .grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
/* Téléphone : quantité et « Retirer » passent sous le nom du produit au lieu de le recouvrir */
@media (max-width: 520px) { .line { flex-wrap: wrap; row-gap: 10px; } .line .grow { flex: 1 1 calc(100% - 90px); } .line > .qty { margin-left: 86px; } }
.totals div { display: flex; justify-content: space-between; padding: 6px 0; }
.totals .big { font-size: 20px; font-weight: 800; border-top: 1px solid var(--ag-border-100); padding-top: 12px; margin-top: 6px; }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--ag-border-100); background: var(--ag-bg-300); cursor: pointer; }
.choice:has(input:checked) { border-color: var(--accent); background: rgba(26, 240, 168, .06); }
.choice input { accent-color: var(--accent); margin-top: 3px; }
.timeline { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.timeline li { display: flex; gap: 12px; }
.timeline li::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); margin-top: 5px; flex: none; }

footer.bottom { margin-top: 64px; border-top: 1px solid var(--ag-border-100); background: var(--ag-bg-100); }
footer.bottom .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; font-size: 13px; color: var(--ag-ink-subtle); align-items: center; }
footer.bottom nav { display: flex; flex-wrap: wrap; gap: 16px; }
footer.bottom img { height: 36px; width: auto; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ag-bg-300); border: 1px solid var(--accent); border-radius: 14px; padding: 12px 18px; font-size: 14px; z-index: 50; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.skeleton { background: var(--ag-bg-200); border-radius: 16px; min-height: 220px; animation: pulse 1.2s infinite alternate; }
@keyframes pulse { to { opacity: .55; } }

/* Ajustements de mise en page */
main.wrap { padding-top: 28px; }
.cart-btn, .brand b { white-space: nowrap; }
.brand small { max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
nav.cats { gap: 16px; font-size: 14px; }
@media (max-width: 1360px) { .brand small { display: none; } }

/* Discussion directe avec le vendeur */
.chat-fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 58px; height: 58px; border-radius: 50%; border: 0; background: var(--accent); color: var(--ag-on-accent, #04241A); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.chat-fab:hover { transform: translateY(-2px); }
.chat-badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; border-radius: 999px; background: #F59E0B; color: #1A1200; font-size: 12px; font-weight: 800; display: grid; place-items: center; padding: 0 6px; }
.chat-panel { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100vh - 36px)); display: flex; flex-direction: column;
  background: var(--ag-bg-100); border: 1px solid var(--ag-border-200); border-radius: 20px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,.55); animation: chat-in .22s ease-out; }
@keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.chat-panel header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--ag-border-100); background: var(--ag-bg-200); }
.chat-panel header .mono { width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--ag-on-accent, #04241A); display: grid; place-items: center; font-weight: 800; font-size: 14px; flex: 0 0 auto; }
.chat-panel header div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-panel header small { color: var(--ag-ink-subtle); font-size: 12px; }
.chat-body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.chat-intro { padding: 18px; overflow: auto; }
.chat-intro .field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.chat-intro input { height: 46px; border-radius: 12px; border: 1px solid var(--ag-border-200); background: var(--ag-bg-300); color: var(--ag-ink); padding: 0 12px; font: inherit; }
.chat-list { flex: 1; min-height: 0; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.chat-msg { align-self: flex-start; max-width: 82%; background: var(--ag-bg-300); border-radius: 4px 14px 14px 14px; padding: 8px 11px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.me { align-self: flex-end; background: color-mix(in srgb, var(--accent) 22%, var(--ag-bg-200)); border-radius: 14px 4px 14px 14px; }
.chat-msg small { align-self: flex-end; color: var(--ag-ink-subtle); font-size: 11px; }
.chat-prod { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: inherit; padding: 4px; border-radius: 10px; background: rgba(0,0,0,.18); }
.chat-prod img, .chat-attach img { width: 36px; height: 45px; object-fit: cover; border-radius: 6px; }
.chat-attach { display: flex; align-items: center; gap: 8px; margin: 0 12px 8px; padding: 6px 8px; border-radius: 12px; border: 1px solid var(--accent); font-size: 13px; }
.chat-attach span { flex: 1; min-width: 0; }
.chat-attach button { background: none; border: 0; color: var(--ag-ink-subtle); cursor: pointer; font-size: 14px; }
.chat-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--ag-border-100); align-items: flex-end; }
.chat-form textarea { flex: 1; min-height: 44px; max-height: 120px; resize: none; border-radius: 22px; border: 1px solid var(--ag-border-200); background: var(--ag-bg-300); color: var(--ag-ink); padding: 11px 14px; font: inherit; }
.chat-form .btn { width: 46px; height: 46px; padding: 0; border-radius: 50%; display: grid; place-items: center; }
.chat-cta { width: 100%; justify-content: center; }
@media (max-width: 520px) { .chat-panel { right: 0; bottom: 0; width: 100vw; height: 88vh; border-radius: 20px 20px 0 0; } .chat-fab { right: 14px; bottom: 14px; } }
@media print { .chat-fab, .chat-panel { display: none !important; } }

/* Œil des champs mot de passe (pw-eye.js) */
.pw-box { position: relative; display: block; width: 100%; }
.pw-box > input { width: 100%; padding-right: 52px !important; box-sizing: border-box; }
.pw-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; cursor: pointer; }
.pw-eye:hover, .pw-eye:focus-visible { background: rgba(26,240,168,.22); color: #1AF0A8; outline: none; }

/* Bandeau Wenze en haut de chaque boutique */
.wz-bar { background: rgba(255,255,255,.04); border-bottom: 1px solid var(--ag-border-100); }
.wz-bar .wrap { display: flex; align-items: center; gap: 8px; min-height: 46px; padding-top: 6px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
.wz-pill { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 700; text-decoration: none; color: #fff; cursor: pointer; font-family: inherit;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); white-space: nowrap; }
.wz-pill:hover, .wz-pill:focus-visible { border-color: var(--accent); color: var(--accent); }
.wz-pill.accent { background: linear-gradient(180deg, rgba(26,240,168,.28), rgba(26,240,168,.12)); border-color: rgba(26,240,168,.55); margin-left: auto; }
@media (max-width: 520px) { .wz-pill.accent { margin-left: 0; } }

/* Promotions en cours, en haut de l'accueil de la boutique */
.promo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; margin-bottom: 22px; }
.promo-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, rgba(255,159,67,.28), rgba(255,159,67,.08)); border: 1px solid rgba(255,159,67,.6); }
.promo-card:hover { transform: translateY(-2px); }
.promo-card span:not(.promo-tag) { color: rgba(255,255,255,.85); }
.promo-card small { color: rgba(255,255,255,.65); }
.promo-tag { align-self: flex-start; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; background: #FF9F43; color: #1a0d00; }

/* ---------- Bandeau défilant de Wenze (ticker.js) : bande réservée, jamais par-dessus le contenu ---------- */
.wz-slot { height: 0; overflow: hidden; transition: height .35s ease; }
.wz-slot.open { height: 64px; }
.wt-row-in { height: 64px; display: flex; align-items: center; padding: 0 20px; box-sizing: border-box; }
.wt-logo { position: relative; z-index: 2; flex: 0 0 auto; height: 46px; width: 39px; overflow: hidden; opacity: 0; transform-origin: 20px 50%; }
.wt-logo img { display: block; height: 46px; width: auto; max-width: none; }
.wt-band { position: relative; z-index: 1; height: 38px; width: 0; margin-left: 10px; overflow: hidden; border-radius: 19px; display: flex; align-items: center; box-sizing: border-box; opacity: 0;
  background: linear-gradient(90deg, rgba(198,247,92,.16), rgba(26,240,168,.08)); border: 1px solid rgba(198,247,92,.5); }
.wt-track { display: inline-flex; align-items: center; gap: 18px; white-space: nowrap; padding-left: 16px; color: var(--ag-ink, #fff); font-size: 15px; will-change: transform; }
.wt-track.static { white-space: normal; transform: none !important; font-size: 14px; }
.wt-item { color: inherit; text-decoration: none; } a.wt-item { text-decoration: underline; text-underline-offset: 3px; }
.wt-item b { color: #C6F75C; }
.wt-sep { color: #C6F75C; font-size: 10px; }
.wt-close { position: relative; z-index: 3; margin-left: -32px; width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(12,24,27,.9); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.wt-close.shown { opacity: 1; pointer-events: auto; }
@media (max-width: 600px) { .wz-slot.open, .wt-row-in { height: 56px; } .wt-row-in { padding: 0 12px; } .wt-logo { height: 38px; width: 32px; } .wt-logo img { height: 38px; } .wt-band { height: 34px; } .wt-track { font-size: 14px; } }
/* Centre de notifications : bouton gyrophare (alertes) ou enveloppe (messages), fenêtre au clic */
.wt-beacon-wrap { display: inline-flex; }
.wt-beacon { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--ag-border-200, rgba(255,255,255,.2)); background: rgba(255,255,255,.05); color: #fff; cursor: pointer; overflow: hidden; }
.wt-beacon.alert { border-color: rgba(255,90,90,.6); background: rgba(255,59,59,.12); animation: wt-blink 1.6s ease-in-out infinite; }
@keyframes wt-blink { 50% { box-shadow: 0 0 0 4px rgba(255,59,59,.25); } }
.wt-count { font-weight: 800; font-size: 13px; }
.wt-mail { font-size: 17px; }
.wt-siren { position: relative; width: 22px; height: 22px; display: block; overflow: hidden; }
.wt-dome { position: absolute; left: 18%; right: 18%; top: 20%; bottom: 10%; border-radius: 50% 50% 18% 18%; background: radial-gradient(circle at 50% 35%, #ffd0d0, #ff3b3b 45%, #9b0d0d 100%); box-shadow: 0 0 8px #ff3b3b; }
.wt-siren::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: 0; height: 18%; border-radius: 2px; background: #3a3a3a; }
.wt-beam { position: absolute; inset: -55%; background: conic-gradient(from 0deg, rgba(255,59,59,0), rgba(255,59,59,.55) 12%, rgba(255,59,59,0) 26%, rgba(255,59,59,0) 50%, rgba(255,59,59,.55) 62%, rgba(255,59,59,0) 76%); animation: wt-spin 1.1s linear infinite; }
@keyframes wt-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .wt-beam, .wt-beacon.alert { animation: none; } }
.wt-modal { position: fixed; inset: 0; z-index: 100; background: rgba(3,8,10,.6); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: grid; place-items: start center; padding: 80px 16px 16px; }
.wt-modal[hidden] { display: none; }
.wt-card { width: min(520px, 100%); max-height: calc(100vh - 110px); overflow: auto; background: #10191d; border: 1px solid var(--ag-border-200, rgba(255,255,255,.18)); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.6); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.wt-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wt-card-head h2 { margin: 0; font-size: 19px; }
.wt-x { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.wt-sec { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ag-ink-subtle, #9ab); margin-top: 4px; }
.wt-sec.alert { color: #FF8A8A; }
.wt-item-row { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.04); color: #fff; text-decoration: none; font-size: 14px; line-height: 1.45; border-left: 3px solid transparent; }
.wt-item-row.alert { border-left-color: #FF5A5A; } .wt-item-row.msg { border-left-color: #1AF0A8; }
a.wt-item-row:hover { background: rgba(255,255,255,.08); }
.wt-item-row b { font-size: 13px; } .wt-item-row.alert b { color: #FF8A8A; } .wt-item-row.msg b { color: #1AF0A8; }
.wt-item-row .chip { align-self: flex-start; margin-top: 4px; }
