/* AKRAAF : identité propre à ce site.
   Sujet : des colis venus de Chine, photographiés avant l'envoi. D'où le carton d'emballage comme seule couleur vive,
   un graphite froid pour le fond, une seule famille (Archivo) jouée en très large et gras pour les titres, en normal pour le texte.
   L'élément qu'on retient : l'étiquette en carton collée sur la photo, avec le nombre de photos QC. Le reste reste calme.
   Chargé en dernier : il remplace le style de base. */
:root, :root:root {
  --bg: #16171a;
  --surface: #1f2125;
  --surface-2: #2a2d32;
  --line: #34373d;
  --text: #f1f1ee;
  --muted: #9ea1a8;
  --accent: #d8b88c;
  --accent-2: #e6c9a2;
  --accent-ink: #1d150a;
  --ok: #5ee0a0;
  --warn: #ff9a8f;
  --foot-bg: #101113;
  --foot-ink: #9ea1a8;
  --r-photo: 10px;
  --r-ui: 12px; /* encadrés ; les boutons et champs en pilule ont leur propre arrondi */
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
body { font-stretch: 100%; background-color: #14152b;
  background-image: radial-gradient(900px 600px at 8% -5%, rgba(94,92,230,.38), transparent 65%), radial-gradient(800px 560px at 95% 5%, rgba(232,110,60,.26), transparent 65%), radial-gradient(900px 700px at 50% 105%, rgba(40,150,170,.22), transparent 65%), linear-gradient(180deg, #181a36 0%, #15162b 55%, #121a2a 100%);
  background-attachment: fixed; }
h1, h2, h3, .logo { font-family: var(--display); font-stretch: 118%; text-transform: none; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: .02em; text-transform: none; }
.topbar { background: rgba(20,21,43,.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav a { border-bottom: 0; }
.nav a.active { color: var(--accent); }
select.pref { border-radius: 999px; background: var(--surface); border-color: var(--line); }
.btn { border-radius: 999px; border-color: var(--line); }
.btn:hover { background: var(--surface-2); color: var(--text); border-color: var(--accent); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn-primary:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--accent-ink); }

/* accueil : un grand titre très large, une barre de recherche, rien d'autre au-dessus */
.hero { grid-template-columns: minmax(0, 1fr); padding: 56px 0 8px; gap: 0; }
.hero h1 { font-size: clamp(36px, 6.6vw, 88px); line-height: .98; letter-spacing: -.04em; font-weight: 800; font-stretch: 125%; margin: 0 0 22px; max-width: 14em; }
.hero p.lead { font-size: 16px; max-width: 34em; margin-bottom: 22px; }
.hero .hint, .hero .stat { display: none; }
.searchbar { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 6px 6px 22px; max-width: 720px; }
.searchbar:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216,184,140,.18); }

/* liens utiles : une liste sobre, pas des cartes colorées */
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0; margin: 30px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.promo { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 18px 0; position: relative; }
.promo + .promo { padding-left: 20px; border-left: 1px solid var(--line); }
.promo b { font: 700 16px/1.25 var(--font); }
.promo .pd { font-size: 13.5px; color: var(--muted); }
.promo .pc { font-size: 13.5px; font-weight: 600; color: var(--accent); margin-top: 4px; }
.promo .pb { position: absolute; top: 14px; right: 16px; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
.promo:hover b { text-decoration: underline; text-underline-offset: 3px; }
.promo.p0 { background: none; color: var(--text); }

/* catégories : cercles */
.cats { gap: 14px; padding-top: 28px; }
.cat { width: 74px; text-align: center; font-size: 12.5px; }
.cat .bub { width: 68px; height: 68px; margin: 0 auto 8px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); outline-offset: 3px; }
.cat .bub.all i { background: var(--text); border-radius: 50%; }
.cat.active .bub, .cat:hover .bub { outline-color: var(--accent); }
.cat.active { color: var(--accent); }

/* sections */
.sec { margin-top: 48px; }
.sec-head h2 { font-size: 24px; letter-spacing: -.03em; font-weight: 800; font-stretch: 118%; }
.sec-head h2::before { content: none; }
.sec-head a { text-decoration: none; color: var(--accent); font-size: 14px; font-weight: 600; }
.band { background: var(--accent); color: var(--accent-ink); border: 0; border-radius: 14px; }
.band h2 { color: var(--accent-ink); }
.band .btn { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }

/* cartes produit : sans cadre ; photo à angles peu arrondis, étiquette QC en carton, zoom léger au survol */
.grid { gap: 26px 16px; }
.card { background: none; border: 0; border-radius: 0; overflow: visible; box-shadow: none; transition: none; }
.card:hover { transform: none; box-shadow: none; border: 0; }
.card .im { border-radius: var(--r-photo); background: var(--surface); }
.card .im img { transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .im img { transform: scale(1.07); }
.card .bd { padding: 12px 2px 0; gap: 3px; }
.card .seller { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; text-transform: none; }
.card .seller i { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); flex: none; }
.card .t { font-weight: 600; }
.card .pr b { font-size: 16px; font-weight: 700; }
.badge { background: rgba(22,23,26,.78); border: 0; border-radius: 6px; padding: 3px 8px; font-weight: 500; }
.qctag { position: absolute; left: 0; bottom: 14px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; padding: 5px 12px 5px 10px; border-radius: 0 6px 6px 0; box-shadow: 0 2px 6px rgba(0,0,0,.35); }
@media (prefers-reduced-motion: reduce) { .card .im img { transition: none; } .card:hover .im img { transform: none; } }

/* pop-up QC (survol long) */
.qcpop { position: fixed; z-index: 80; width: 300px; padding: 10px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.6); opacity: 0; transform: translateY(6px); transition: opacity .18s, transform .18s; pointer-events: none; }
.qcpop.on { opacity: 1; transform: none; }
.qcpop-h { display: flex; align-items: center; gap: 10px; margin: 2px 2px 10px; font-size: 13px; color: var(--muted); }
.qcpop-h b { background: var(--accent); color: var(--accent-ink); border-radius: 4px; padding: 2px 8px; font-size: 12px; }
.qcpop-g { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.qcpop-g img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; background: var(--surface); }
.qcpop p { margin: 0 2px 4px; font-size: 13px; color: var(--muted); }

/* rails horizontaux (un par catégorie, défilement automatique 3 s) */
.rail-ctl { display: flex; align-items: center; gap: 8px; }
.rail-ctl button { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: transparent; font-size: 20px; line-height: 1; display: grid; place-items: center; }
.rail-ctl button:hover { border-color: var(--accent); color: var(--accent); }
.rail-ctl a { margin-left: 6px; }
.rail-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track .card { flex: 0 0 clamp(190px, 21vw, 250px); scroll-snap-align: start; }
.rails .sec:first-child { margin-top: 36px; }
@media (max-width: 700px) { .rail-ctl button { display: none; } .rail-track .card { flex-basis: 56vw; } }

/* boutiques */
.rail-track.sellers { gap: 12px; }
.shop { flex: 0 0 clamp(200px, 22vw, 250px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; padding: 10px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s; }
.shop:hover { border-color: var(--accent); }
.shop-im { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 4 / 3; margin-bottom: 10px; border-radius: 8px; overflow: hidden; background: var(--surface-2); }
.shop-im img { width: 100%; height: 100%; object-fit: cover; }
.shop-im img:first-child { grid-row: 1 / 3; }
.shop-im span { grid-column: 1 / 3; grid-row: 1 / 3; display: grid; place-items: center; font: 800 44px var(--display); font-stretch: 125%; color: var(--line); }
.shop b { font-size: 15px; padding: 0 2px; }
.shop > span { font-size: 13px; color: var(--muted); padding: 0 2px 2px; }

/* fiche produit */
.info .brand { font-size: 14px; color: var(--muted); margin-top: 6px; }
.info h1 { font-weight: 700; font-stretch: 112%; letter-spacing: -.025em; line-height: 1.08; margin: 4px 0 12px; font-size: clamp(26px, 3.2vw, 38px); }
.headline { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.headline .cat-name { color: var(--muted); }
.headline .price b { font-size: 28px; font-weight: 700; font-stretch: 112%; }
.seller.big { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.seller.big i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.opt { margin-top: 22px; }
.opt .lbl { display: flex; align-items: baseline; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.opt .lbl .cname { color: var(--muted); font-weight: 400; }
.opt .lbl em { margin-left: auto; font-style: normal; font-weight: 400; color: var(--muted); font-size: 13px; }
.lvls { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.lvl { display: flex; justify-content: center; gap: 10px; padding: 15px 12px; border-radius: 12px; border: 1px solid var(--line); background: transparent; }
.lvl span { color: var(--muted); }
.lvl.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.lvl.on span { color: var(--accent-ink); opacity: .7; }
.swatches { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.sw { aspect-ratio: 1; padding: 4px; border-radius: 10px; border: 2px solid transparent; background: var(--surface); display: grid; place-items: center; overflow: hidden; font-size: 11px; }
.sw img { width: 100%; height: 100%; object-fit: contain; }
.sw.on { border-color: var(--accent); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sz { padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); font-size: 14px; }
.cta .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.gallery .main { border-radius: 14px; background: var(--surface); }

@media (max-width: 700px) {
  .searchbar { flex-wrap: nowrap; padding: 5px 5px 5px 14px; }
  .searchbar input { flex: 1; min-width: 0; }
  .searchbar .btn { flex: none; padding: 11px 16px; }
  .hero { padding-top: 26px; }
  .hero p.lead { display: none; }
  .promos { grid-template-columns: 1fr; }
  .promo + .promo { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* ── accueil : premier écran, entrée, survols ── */
/* 1. l'accueil tient seul sur le premier écran, la phrase de chiffres reste visible */
.hero { min-height: calc(100svh - 64px); align-content: center; padding-block: 32px 48px; }
.hero .stat { display: block; margin-top: 18px; font-size: 15px; color: var(--muted); }
.hero .stat b { color: var(--accent); }
.promos-sec { margin-top: 0; padding-top: 24px; }
.promos { margin-top: 0; }

/* 2. une seule animation d'entrée, au chargement de l'accueil */
@media (prefers-reduced-motion: no-preference) {
  .hero > div > * { animation: hero-in .7s cubic-bezier(.2,.7,.2,1) both; }
  .hero > div > :nth-child(2) { animation-delay: .08s; }
  .hero > div > :nth-child(3) { animation-delay: .16s; }
  .hero > div > :nth-child(n+4) { animation-delay: .24s; }
  @keyframes hero-in { from { opacity: 0; transform: translateY(14px); } }
}

/* 3. le survol répond partout : carte -2 px, photo 1.03, boutons qui avancent puis s'enfoncent, soulignement qui se trace */
.card { transition: transform .2s; }
.card:hover { transform: translateY(-2px); }
.card:hover .im img { transform: scale(1.03); }
.btn { transition: transform .15s, background .15s, border-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.97); }
.ul, .sec-head a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; padding-bottom: 2px; }
.ul:hover, .sec-head a:hover { background-size: 100% 1px; }
.shop { transition: transform .2s, border-color .2s; }
.shop:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card, .btn, .shop { transition: none; } .card:hover, .shop:hover, .btn:hover { transform: none; } }
@media (min-width: 900px) { .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); } }
.wall a { border-radius: 10px; border: 0; }
.wall .wp { background: var(--accent); color: var(--accent-ink); border-radius: 4px; }

/* ── corrections de mise en page (vérifiées en 1440 et 390) ── */
/* icônes de catégorie par défaut : ramenées dans la palette (une image choisie dans l'admin garde ses couleurs) */

/* filtres du catalogue */
.filters { gap: 8px; }
.filters input[type="number"], .filters input[type="text"], .filters .sel { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 999px; padding: 9px 14px; font: inherit; font-size: 14px; width: 120px; }
.filters input:focus-visible { border-color: var(--accent); outline: none; }
.fchk input { accent-color: var(--accent); width: 16px; height: 16px; }
.toolbar select, .toolbar .sel { border-radius: 999px; }

/* menu : « Favoris » n'apparaît que dans le menu du téléphone */
.nav .nav-fav { display: none; }

@media (max-width: 899px) {
  .hero { min-height: 0; padding: 28px 0 8px; }
}
@media (max-width: 700px) {
  .topbar-in { gap: 10px; }
  .favlink { display: none; }
  .nav .nav-fav { display: flex; }
  select.pref { padding: 7px 6px; font-size: 12.5px; }
  .hero h1 { font-size: clamp(32px, 9.4vw, 44px); }
  .promos-sec { padding-top: 8px; }
  .filters input[type="number"] { width: calc(50% - 4px); }
  .sec { margin-top: 36px; }
}
.promos-sec { padding-top: 0; margin-top: 48px; }
@media (max-width: 700px) {
  .filters .fchk { flex: 1 0 100%; }
  .filters input[type="number"] { width: calc(50% - 50px); flex: 1 1 0; min-width: 0; }
}

/* ── barre du haut : un dock flottant, détaché des bords ── */
.dock-head { position: sticky; top: 0; z-index: 40; padding: 12px 16px 0; pointer-events: none; }
.dock { pointer-events: auto; position: relative; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 16px; height: 60px; padding: 0 8px 0 18px; background: rgba(31,33,37,.84); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 32px rgba(0,0,0,.38); }
.dock-logo { display: inline-flex; align-items: center; font-size: 19px; letter-spacing: .04em; }
.dock-logo::before { content: ""; width: 14px; height: 14px; margin-right: 10px; border-radius: 3px; background: var(--accent); box-shadow: 4px 4px 0 rgba(216,184,140,.35); }
.dock .nav { display: flex; gap: 2px; margin: 0 auto; height: auto; }
.dock .nav a { height: auto; padding: 9px 14px; margin: 0; border: 0; border-radius: 10px; color: var(--muted); font-weight: 500; font-size: 15px; }
.dock .nav a:hover { color: var(--text); background: var(--surface-2); }
.dock .nav a.active { color: var(--text); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.dock .nav .nav-fav { display: none; }
.dock-tools { display: flex; align-items: center; gap: 4px; }
.dock-ico, .dock-pref, .dock .favlink { height: 40px; min-width: 40px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 18px; }
.dock-pref { padding: 0 10px; font: 600 13px var(--font); letter-spacing: .02em; }
.dock-ico:hover, .dock-pref:hover, .dock-pref[aria-expanded="true"], .dock .favlink:hover, .dock .favlink.active { background: var(--surface-2); color: var(--text); }
.dock .favlink.has { color: var(--accent); }
.dock .favlink b { background: var(--accent); color: var(--accent-ink); top: 2px; right: 0; }
.prefwrap { position: relative; }
.dock .prefs { display: none; position: absolute; right: 0; top: calc(100% + 10px); z-index: 5; flex-direction: column; gap: 10px; min-width: 210px; padding: 14px; margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.dock .prefs.open { display: flex; }
.pref-l { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.pref-l select.pref { width: 100%; border-radius: 8px; padding: 9px 10px; font-size: 14px; }
.dock #navcta { margin-left: 6px; border-radius: 10px; padding: 10px 16px; }
.dock .burger { display: none; }
main { padding-top: 6px; }

@media (max-width: 1080px) { .dock #navcta { display: none; } }
@media (max-width: 900px) {
  .dock-head { padding: 8px 10px 0; }
  .dock { height: 56px; gap: 8px; padding: 0 6px 0 14px; }
  .dock .burger { display: block; }
  .dock .favlink { display: none; }
  .dock .nav { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); flex-direction: column; gap: 2px; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
  .dock .nav.open { display: flex; }
  .dock .nav a { padding: 13px 14px; font-size: 16px; }
  .dock .nav .nav-fav { display: block; }
  .dock-tools { margin-left: auto; }
}

/* ── accueil : la pile de colis (l'élément qu'on retient) ── */
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.hchip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 500; transition: border-color .15s, color .15s; }
.hchip:hover { border-color: var(--accent); color: var(--text); }
.hchip.qc { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.hero .stat { margin-top: 22px; }

.pile { position: relative; justify-self: center; width: min(400px, 100%); aspect-ratio: 4 / 5.2; margin: 10px 0; }
.pile::before { content: ""; position: absolute; inset: 8% -6% -4% 10%; border-radius: 18px; background: repeating-linear-gradient(90deg, transparent 0 46%, rgba(0,0,0,.12) 46% 54%, transparent 54% 100%), linear-gradient(160deg, #c9a679, #a9875c); transform: rotate(5deg); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.parcel { position: absolute; inset: 0 8% 8% 0; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.45); transition: transform .7s cubic-bezier(.2,.75,.2,1), opacity .5s; transform-origin: 50% 90%; }
.parcel:nth-child(1) { z-index: 4; transform: rotate(-3deg); }
.parcel:nth-child(2) { z-index: 3; transform: translate(9%, -3%) rotate(4deg) scale(.95); opacity: .9; }
.parcel:nth-child(3) { z-index: 2; transform: translate(-5%, 2%) rotate(-9deg) scale(.9); opacity: .7; }
.parcel:nth-child(n+4) { z-index: 1; transform: translate(2%, 4%) rotate(1deg) scale(.86); opacity: 0; }
.parcel:nth-child(1):hover { transform: rotate(-3deg) translateY(-4px); }
.parcel-im { position: relative; flex: 1; min-height: 0; background: var(--surface-2); overflow: hidden; }
.parcel-im img { width: 100%; height: 100%; object-fit: cover; }
.parcel-bd { display: grid; gap: 2px; padding: 12px 14px 14px; }
.parcel-s { font-size: 12.5px; color: var(--muted); }
.parcel-bd b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.parcel-p { font-weight: 700; font-size: 15px; }
@media (max-width: 899px) { .pile { width: min(300px, 78%); margin: 26px auto 8px; } }
@media (min-width: 900px) { .hero h1 { font-size: clamp(40px, 4.3vw, 66px); max-width: none; } }

/* ── haut de l'accueil : titre pleine largeur, pile de colis à gauche, étiquette d'expédition à droite ── */
.hero.hero-ak { display: grid; min-height: 0; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "t t" "pile label"; gap: 36px 64px; align-items: center; align-content: start; padding: 44px 0 20px; }
.hero-ak.no-pile { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "label"; }
.hero-ak .hero-t { grid-area: t; margin: 0; max-width: 15ch; font-size: clamp(38px, 7vw, 108px); line-height: .94; letter-spacing: -.045em; font-weight: 800; font-stretch: 125%; text-wrap: balance; }
.hero-ak .pile { grid-area: pile; }
.label { grid-area: label; position: relative; padding: 22px 24px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.label::before, .label::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); }
.label::before { left: -10px; clip-path: inset(0 0 0 50%); }
.label::after { right: -10px; clip-path: inset(0 50% 0 0); }
.label-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
.label-code { flex: none; width: 128px; height: 30px; opacity: .8; background: repeating-linear-gradient(90deg, var(--text) 0 2px, transparent 2px 4px, var(--text) 4px 7px, transparent 7px 9px, var(--text) 9px 10px, transparent 10px 13px, var(--text) 13px 16px, transparent 16px 17px); }
.label .lead { margin: 16px 0 18px; font-size: 16px; color: var(--muted); max-width: 46ch; }
.label .searchbar { max-width: none; background: var(--bg); }
.label .hero-chips { margin-top: 14px; }
.label-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 20px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); }
.label-facts > div + div { padding-left: 16px; border-left: 1px dashed var(--line); }
.label-facts dt { font-size: 12.5px; color: var(--muted); }
.label-facts dd { margin: 4px 0 0; font: 800 28px/1 var(--display); font-stretch: 118%; letter-spacing: -.03em; color: var(--text); }
.label-facts > div:nth-child(2) dd { color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { .hero-ak .hero-t, .hero-ak .label { animation: hero-in .7s cubic-bezier(.2,.7,.2,1) both; } .hero-ak .label { animation-delay: .12s; } }
@media (max-width: 899px) {
  .hero.hero-ak { grid-template-columns: minmax(0, 1fr); grid-template-areas: "t" "label" "pile"; gap: 20px; padding-top: 24px; }
  .hero-ak .hero-t { font-size: clamp(34px, 10vw, 54px); }
  .label { padding: 18px 16px 16px; }
  .label .lead { display: block; font-size: 15px; }
  .label-facts dd { font-size: 22px; }
  .label-facts > div + div { padding-left: 10px; }
}
@media (min-width: 900px) { .hero-ak .hero-t { max-width: 20ch; font-size: clamp(40px, 5.4vw, 88px); } .hero.hero-ak { gap: 28px 64px; padding-top: 36px; } .hero-ak .pile { width: min(360px, 100%); } }
@media (max-width: 899px) {
  .label .searchbar { padding-left: 12px; gap: 6px; }
  .label .searchbar input { font-size: 15px; }
  .label .searchbar .btn { padding: 10px 14px; font-size: 14px; }
}

/* ── fiche produit : rythme vertical régulier entre les blocs de droite ── */
.info .facts { margin: 22px 0 0; border-radius: 12px; background: var(--surface); }
.info .facts > div { padding: 12px 16px; font-size: 14.5px; }
.info .cta { margin: 22px 0 18px; }
.info .note { margin-top: 4px; }
.info .desc { margin-top: 16px; }
.info .headline { margin-top: 2px; }
.info .tags { margin-bottom: 8px; }
.info .tag { border-radius: 6px; }
.qc-head { margin-top: 56px; }
.chip, .toast, .lb-report, select.sel { border-radius: 999px; }
.empty { border-radius: 14px; }

/* champs de formulaire : un seul style partout (la barre de recherche reste une pilule) */
input.sel, select.sel, input.in, textarea.in,
.filters input[type="number"], .filters input[type="text"], .filters .sel, .toolbar select, .toolbar .sel {
  background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 10px; font: inherit; font-size: 15px;
}
input.sel, input.in { padding: 11px 14px; }
input.sel::placeholder, input.in::placeholder, textarea.in::placeholder { color: var(--muted); opacity: .8; }
input.sel:focus-visible, select.sel:focus-visible, input.in:focus-visible, textarea.in:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(216,184,140,.18); }
select.sel { padding: 11px 12px; }
.footer .logo, .footer a.logo { text-decoration: none; }
.card .seller.none { visibility: hidden; }

/* ── réseaux sociaux ── */
.soc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.soc-card { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; row-gap: 14px; align-items: center; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: transform .2s, border-color .2s; }
.soc-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.soc-card .soc-ic { width: 46px; height: 46px; border-radius: 12px; background: var(--surface-2); color: var(--text); display: grid; place-items: center; }
.soc-card:hover .soc-ic { background: var(--accent); color: var(--accent-ink); }
.soc-txt { display: grid; gap: 2px; min-width: 0; }
.soc-txt b { font-size: 16px; }
.soc-txt span { font-size: 13.5px; color: var(--muted); }
.soc-go { grid-column: 1 / -1; justify-self: start; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--accent); }
.soc-card:hover .soc-go { border-color: var(--accent); }

.soc-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.soc-label { margin-right: 6px; font-size: 14px; color: var(--muted); }
.soc-dot { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: transform .15s, background .15s, color .15s, border-color .15s; }
.soc-dot:hover { transform: translateY(-2px); background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.soc-dot .soc-ic { display: grid; }
.info ~ .soc-row, .pp ~ .soc-row { margin-top: 32px; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.footer .soc-row { margin-top: 16px; }
.footer .soc-row a { text-decoration: none; }
.footer .soc-dot { background: transparent; }

/* menu du téléphone : les réseaux en bas du menu (cachés dans le dock sur grand écran) */
.dock .nav .nav-soc { display: none; }
@media (max-width: 900px) {
  .dock .nav.open .nav-soc { display: flex; padding: 12px 6px 4px; margin-top: 6px; border-top: 1px solid var(--line); }
  .dock .nav .nav-soc a { padding: 0; }
}

/* ── réseaux mis en avant ── */
.soc-sec { margin-top: 36px; }
.soc-card { padding: 20px; }
.soc-card .soc-ic { width: 52px; height: 52px; border-radius: 14px; }
.soc-card .soc-ic svg { width: 26px; height: 26px; }
.soc-txt b { font-size: 17px; }
.label .soc-row { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.label .soc-label { font-size: 13.5px; }
.label .soc-dot { width: 38px; height: 38px; }
.dock-soc { display: none; gap: 2px; margin-right: 4px; padding-right: 8px; border-right: 1px solid var(--line); }
.dock-soc .soc-dot { width: 34px; height: 34px; border: 0; background: transparent; color: var(--muted); }
.dock-soc .soc-dot svg { width: 18px; height: 18px; }
.dock-soc .soc-dot:hover { color: var(--accent-ink); }
@media (min-width: 1180px) { .dock-soc { display: flex; } }

/* mention QC : discrète sur chaque vignette */
.qctag.none { background: rgba(22,23,26,.78); color: var(--muted); font-weight: 600; font-size: 11.5px; box-shadow: none; border: 1px solid var(--line); border-left: 0; backdrop-filter: blur(4px); }
/* classement : gros numéro dans le coin de la photo */
.rank { position: absolute; bottom: 8px; right: 12px; font: 800 38px/1 var(--font); font-stretch: 118%; letter-spacing: -.04em; color: #fff; text-shadow: 0 2px 10px rgba(0,0,0,.7); pointer-events: none; }
.rail-track.ranked .card:nth-child(-n+3) .rank { color: var(--accent); }
/* bandeau d'affiliation */
.aff-wrap { margin: 18px 0 6px; }
.aff { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px; text-decoration: none; color: #fff; background: linear-gradient(100deg, #e8431a, #f06a1f); box-shadow: 0 10px 30px rgba(232,67,26,.28), inset 0 1px 0 rgba(255,255,255,.25); transition: transform .2s, box-shadow .2s; margin: 18px 0; }
.aff-wrap .aff { margin: 0; }
.aff:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(232,67,26,.4), inset 0 1px 0 rgba(255,255,255,.25); }
.aff-logo { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: #fff; color: #e8431a; font: 800 13px/1 var(--font); letter-spacing: -.02em; text-align: center; }
.aff-logo i { font-style: normal; color: #1d150a; display: block; }
.aff-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.aff-txt b { font: 700 17px/1.2 var(--font); }
.aff-txt span { font-size: 13.5px; opacity: .92; }
.aff-go { flex: none; font-weight: 700; font-size: 14px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.2); }
@media (max-width: 700px) { .aff { padding: 10px 12px; gap: 10px; } .aff-logo { width: 44px; height: 44px; } .aff-txt b { font-size: 15px; } .aff-txt span { font-size: 12.5px; } .aff-go { display: none; } }
/* téléphone : léger flou sur le pourtour de l'écran */
@media (max-width: 700px) {
  body::after { content: ''; position: fixed; inset: 0; z-index: 30; pointer-events: none; backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
    -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 78%, #000 100%); mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, transparent 78%, #000 100%); }
}
.aff-wrap.top { margin: 14px 0 0; }
.btn-video { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 700; }

/* formulaire « Signaler un contenu » */
.nt-intro { color: var(--muted); line-height: 1.6; margin: 0 0 24px; }
.nt-form { display: grid; gap: 18px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.nt-row { display: grid; gap: 6px; min-width: 0; align-content: start; }
.nt-row label { font-weight: 700; font-size: 14px; }
.nt-row small { color: var(--muted); font-size: 12px; }
.nt-in { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.nt-in:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
textarea.nt-in { resize: vertical; min-height: 120px; line-height: 1.5; }
.nt-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.nt-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; padding: 4px; border-radius: 8px; }
.nt-check input { margin-top: 3px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.nt-form .bad { border-color: #e5484d; outline: 2px solid #e5484d; outline-offset: 1px; }
.nt-msg { margin: 0; color: #e5484d; font-weight: 600; min-height: 0; }
.nt-msg:empty { display: none; }
.nt-form .btn { justify-self: start; }
.nt-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nt-ok { padding: 28px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.nt-ok h2 { margin: 0 0 6px; }
.nt-ok p { margin: 0; color: var(--muted); }
.pp-report { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.pp-report:hover { color: var(--text); }
@media (max-width: 560px) { .nt-two { grid-template-columns: 1fr; } .nt-form { padding: 18px; } .nt-form .btn { justify-self: stretch; } }
