/* public/shop/css/shop.css
   Design system boutique Brizprix — densité et hiérarchie inspirées des
   grandes places de marché (Temu / Alibaba / Amazon), sur la palette
   maison (teal #0D4D4A, or #F2C27A) déjà utilisée par le back-office.
   Mobile-first, aucun framework.

   Couleurs, rayons, ombres et animations partagées viennent désormais
   de /css/tokens.css (chargé avant ce fichier sur chaque page boutique)
   — seuls les alias propres à la boutique restent définis ici. */

:root {
  --text-main: #1C2B2A; /* alias local = --charcoal de tokens.css */
  --maxw: 1400px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--surface);
  color: var(--text-main);
  line-height: 1.5;
  font-size: 14px;
  /* ⚠️ Aucun padding-bottom global ici : la barre d'achat collante
     n'existe que sur la fiche produit en mobile, et c'est CETTE page
     qui réserve la place (.has-buybar plus bas). Un padding global
     créait une bande blanche sous le pied de page sur tout le site. */
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 14px; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.container-narrow { max-width: 900px; margin: 0 auto; padding: 0 16px; }

/* ══════════════ BARRE UTILITAIRE ══════════════ */
.utility-bar {
  background: var(--charcoal);
  color: rgba(255,255,255,0.62);
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.utility-bar .container { display: flex; align-items: center; justify-content: space-between; height: 34px; gap: 12px; }
.utility-bar a:hover { color: var(--gold); }
.utility-bar i { color: var(--teal-light); }

/* Bandeau de messages défilants — remplace la ligne fixe unique. Un
   seul message visible à la fois, fondu enchaîné vers le suivant, pour
   caser plusieurs arguments de réassurance dans le même espace plutôt
   que d'en sacrifier sur mobile. Cycle géré par JS (voir shop-core.js),
   la classe .show ne fait que l'entrée/sortie visuelle. */
.utility-left { position: relative; flex: 1; min-width: 0; height: 34px; overflow: hidden; }
.utility-msg {
  position: absolute; inset: 0; display: flex; align-items: center; gap: 7px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.35s var(--ease-out, ease), transform 0.35s var(--ease-out, ease);
}
.utility-msg.show { opacity: 1; transform: translateY(0); }
.utility-msg i { flex-shrink: 0; }

.utility-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.utility-right .u-text { display: none; }
@media (min-width: 620px) { .utility-right .u-text { display: inline; } }
.utility-right a { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 4px; transition: background 0.15s; }
.utility-right a:hover { background: rgba(255,255,255,0.08); }

/* ══════════════ EN-TÊTE ══════════════ */
.shop-header { background: var(--teal-deep); position: sticky; top: 0; z-index: 300; }
/* 🔒 Sélecteur d'enfant direct (">") volontaire, PAS un descendant
   générique : .mega-menu (donc .mega-menu-inner, qui porte aussi la
   classe .container pour son max-width) vit désormais À L'INTÉRIEUR de
   .shop-header. Avec un simple espace, cette règle attrapait N'IMPORTE
   QUEL .container descendant, y compris .mega-menu-inner — écrasant son
   display:grid par du display:flex et sa hauteur pleine par 62/56px. La
   modal catégories s'affichait alors écrasée sur une seule ligne au lieu
   du panneau à deux volets (bug réel signalé, cause confirmée en lisant
   les règles CSS effectivement appliquées à l'élément en production). */
.shop-header > .container {
  display: flex; align-items: center; gap: 14px;
  height: 62px;
}
@media (max-width: 599.98px) { .shop-header > .container { gap: 8px; height: 56px; } }
.brand { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.brand-name { font-size: 21px; font-weight: 900; color: var(--white); letter-spacing: -0.6px; }
.brand-tag { font-size: 8.5px; font-weight: 700; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; margin-top: 3px; }
/* Sous 600px, la recherche prend la rangée principale (façon Temu) : le
   sous-titre du logo cède la place plutôt que de forcer un retour à la
   ligne ou un input trop étroit pour être utilisable. */
@media (max-width: 599.98px) { .brand-tag { display: none; } .brand-name { font-size: 18px; } }

/* Visible à toutes les tailles depuis la refonte façon Temu (avant :
   masquée <860px, dupliquée dans .mobile-search en dessous). Le
   sélecteur "Toutes catégories" qui préfixait ce champ a été retiré à
   la demande — il flottait visuellement DANS la barre de recherche
   elle-même, distinct du lien "Catégories" à côté (.cat-trigger). */
.search-wrap { flex: 1; display: flex; min-width: 0; max-width: 720px; position: relative; }
.search-form { display: flex; width: 100%; background: var(--white); border-radius: var(--r-sm); overflow: hidden; height: 40px; }
.search-form input { flex: 1; min-width: 0; border: none; outline: none; padding: 0 14px; font-size: 14px; }
.search-form button { background: var(--gold); color: var(--charcoal); padding: 0 20px; font-size: 15px; flex-shrink: 0; }
.search-form button:hover { background: var(--gold-dark); }

/* Rangée de liens rapides, à côté de la recherche sur grand écran — façon
   Temu. Masquée sous 700px : pas la place à côté de logo + recherche +
   icônes ; sur desktop, "Catégories" (texte simple, pas un bouton plein,
   façon Temu) rejoint cette rangée juste avant la recherche — voir
   .cat-trigger plus bas — pendant que le hamburger disparaît (son
   équivalent mobile, voir .menu-toggle). */
.header-quicklinks { display: none; align-items: center; gap: 2px; flex-shrink: 0; }
@media (min-width: 700px) { .header-quicklinks { display: flex; } }
.header-quicklinks a, .cat-trigger {
  display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.85); white-space: nowrap;
  background: none; border: none; cursor: pointer; font-family: inherit;
}
.header-quicklinks a:hover, .cat-trigger:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.cat-trigger.active { background: rgba(255,255,255,0.16); color: var(--white); }
.cat-trigger i { font-size: 9px; transition: transform 0.18s var(--ease-out, ease); }
.cat-trigger.active i { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-shrink: 0; }
.hact {
  display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.9);
  padding: 7px 10px; border-radius: var(--r-sm); position: relative;
}
/* 3 icônes tiennent moins large sous 600px depuis l'ajout du suivi de
   commande dans .header-actions (avant : seulement dans le tiroir
   retiré) — resserré plutôt que de laisser la rangée déborder. */
@media (max-width: 599.98px) { .hact { padding: 7px 6px; } }
.hact:hover { background: rgba(255,255,255,0.1); }
.hact i { font-size: 17px; }
.hact-text { display: none; line-height: 1.15; }
@media (min-width: 1024px) { .hact-text { display: block; } }
.hact-text small { display: block; font-size: 10.5px; color: rgba(255,255,255,0.55); }
.hact-text strong { font-size: 12.5px; font-weight: 700; }
.cart-badge {
  position: absolute; top: 2px; left: 24px;
  background: var(--gold); color: var(--charcoal);
  font-size: 10px; font-weight: 800; min-width: 17px; height: 17px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
/* Déclencheur mobile du panneau catégories — remplacé par le lien texte
   "Catégories" (.cat-trigger, dans .header-quicklinks) à partir de
   700px, jamais les deux en même temps. */
.menu-toggle { display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 19px; padding: 8px; border-radius: var(--r-sm); flex-shrink: 0; }
.menu-toggle:hover, .menu-toggle.active { background: rgba(255,255,255,0.1); }
@media (min-width: 700px) { .menu-toggle { display: none; } }

/* Autocomplete de recherche — panneau de suggestions en direct */
.search-suggest {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 220;
  background: var(--white); border-radius: var(--r); box-shadow: var(--sh-3); overflow: hidden;
  max-height: 380px; overflow-y: auto; border: 1px solid var(--border);
}
.search-suggest.show { display: block; }
@media (prefers-reduced-motion: no-preference) { .search-suggest.show { animation: fadeInUp 0.16s var(--ease-out, ease); } }
.ss-item {
  display: flex; align-items: center; gap: 10px; padding: 9px 14px; color: var(--text-main);
  border-bottom: 1px solid var(--surface);
}
.ss-item:hover, .ss-item.active { background: var(--surface); }
.ss-item img, .ss-ph {
  width: 38px; height: 38px; border-radius: 6px; object-fit: cover; flex-shrink: 0; background: var(--surface);
  display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 13px;
}
.ss-info { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.ss-name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ss-price { font-size: 12px; font-weight: 700; color: var(--teal-deep); }
.ss-all {
  display: flex; align-items: center; gap: 8px; padding: 11px 14px; font-size: 12.5px; font-weight: 700;
  color: var(--teal-deep); background: var(--surface); border-bottom: none;
}
.ss-all:hover, .ss-all.active { background: var(--surface-2); }
.ss-empty { padding: 16px 14px; font-size: 12.5px; color: var(--text-muted); text-align: center; }

/* ══════════════ ONGLETS CATÉGORIES MOBILES (façon Temu) ══════════════
   Rangée d'onglets de catégories réelles, sous l'en-tête, uniquement en
   dessous de 700px — au-delà c'est .header-quicklinks (collé à la
   recherche) qui prend le relais, voir plus haut. Une seule rangée par
   taille d'écran, jamais les deux : pas de doublon, pas de scroll
   horizontal qui grandirait sans fin sur grand écran avec beaucoup de
   catégories. */
.quick-nav-mobile { position: relative; background: var(--white); border-bottom: 1px solid var(--border); }
@media (min-width: 700px) { .quick-nav-mobile { display: none; } }
.quick-nav-tabs {
  display: flex; align-items: center; gap: 4px; height: 42px;
  overflow-x: auto; white-space: nowrap; scrollbar-width: none;
}
.quick-nav-tabs::-webkit-scrollbar { display: none; }
.quick-nav-tabs a {
  display: flex; align-items: center; padding: 7px 11px; flex-shrink: 0;
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  border-bottom: 2px solid transparent; transition: color 0.15s, border-color 0.15s;
}
.quick-nav-tabs a:hover { color: var(--teal-deep); }
.quick-nav-tabs a.active { color: var(--teal-deep); font-weight: 700; border-bottom-color: var(--teal-deep); }

/* ══════════════ MÉGA-MENU CATÉGORIES (façon Temu) ══════════════
   Panneau à deux volets (liste à gauche, grille de produits à droite),
   ancré dans .shop-header (qui est position:sticky, donc "positionné" —
   sert de repère à .mega-menu en position:absolute) pour s'ouvrir juste
   sous la rangée logo + recherche. Sous 700px il devient plein écran
   (deux volets à scroll indépendant) au lieu d'un dropdown plafonné —
   c'est aussi l'unique navigateur de catégories mobile, ouvert par le
   hamburger ET par "Catégories" sur les écrans où ce dernier est visible
   (l'ancien tiroir séparé, doublon, a été retiré). */
.mega-menu {
  position: absolute; top: 100%; left: 0; right: 0; z-index: 302;
  background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--sh-3);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.22s var(--ease-out, ease), opacity 0.18s var(--ease-out, ease);
}
/* Plein écran sous 700px : le top réel est fixé en JS à l'ouverture
   (openMega(), shop-core.js), calculé depuis la hauteur du bandeau
   au-dessus plutôt que codé en dur ici. */
.mega-menu.open {
  max-height: none; opacity: 1;
  position: fixed; left: 0; right: 0; bottom: 0;
}
@media (min-width: 700px) { .mega-menu.open { position: absolute; top: 100%; bottom: auto; max-height: 80vh; } }
.mega-menu-inner {
  display: grid; grid-template-columns: 128px 1fr; gap: 0; padding: 0;
  height: 100%; overflow: hidden;
}
@media (min-width: 700px) {
  .mega-menu-inner { grid-template-columns: 250px 1fr; gap: 22px; padding: 16px; height: auto; max-height: 540px; overflow: visible; }
}
.mega-menu-mobile-head {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; border-bottom: 1px solid var(--border); background: var(--surface);
  font-size: 15px; font-weight: 800;
}
.mega-menu-mobile-head button {
  font-size: 16px; color: var(--text-muted); padding: 6px; border-radius: 50%; transition: background 0.15s;
}
.mega-menu-mobile-head button:hover { background: var(--surface-2); color: var(--text-main); }
@media (min-width: 700px) { .mega-menu-mobile-head { display: none; } }
.mega-cat-list {
  list-style: none; margin: 0; overflow-y: auto; height: 100%;
  background: var(--surface); padding: 6px 0;
}
@media (min-width: 700px) {
  .mega-cat-list { height: auto; max-height: 508px; background: none; padding: 0 14px 0 0; border-right: 1px solid var(--border); }
}
.mega-cat-list li a {
  display: block; padding: 13px 14px; font-size: 12.5px; font-weight: 600;
  color: var(--text-main); border-radius: 0 999px 999px 0; line-height: 1.3;
  transition: background 0.12s, color 0.12s;
}
@media (min-width: 700px) { .mega-cat-list li a { padding: 10px 14px; font-size: 13.5px; border-radius: var(--r-sm); } }
.mega-cat-list li:hover a { background: var(--surface-2); }
.mega-cat-list li.active a { background: var(--white); color: var(--teal-deep); font-weight: 700; box-shadow: inset 3px 0 0 var(--gold); }
@media (min-width: 700px) {
  .mega-cat-list li:hover a { background: var(--surface); }
  .mega-cat-list li.active a { background: var(--surface); box-shadow: none; }
}
.mega-cat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 12px; align-content: start;
  overflow-y: auto; height: 100%; padding: 18px 14px;
}
@media (min-width: 700px) { .mega-cat-grid { grid-template-columns: repeat(5, 1fr); height: auto; max-height: 508px; padding: 0; } }
.mega-tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.mega-tile .ico {
  width: 68px; height: 68px; border-radius: 50%; background: var(--surface-2); overflow: hidden;
  display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 20px;
  transition: box-shadow 0.15s;
}
.mega-tile:hover .ico { box-shadow: 0 0 0 2px var(--teal-light); }
.mega-tile .ico img { width: 100%; height: 100%; object-fit: cover; }
.mega-tile span {
  font-size: 11.5px; font-weight: 600; color: var(--text-main);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.mega-tile:hover span { color: var(--teal-deep); }
.mega-empty { grid-column: 1 / -1; text-align: center; color: var(--text-muted); font-size: 13px; padding: 40px 0; }
.mega-error {
  grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 10px;
  text-align: center; color: var(--text-muted); font-size: 13px; padding: 40px 16px;
}
.mega-error .mega-retry {
  padding: 8px 18px; border-radius: var(--r-sm); background: var(--teal-deep); color: var(--white);
  font-size: 12.5px; font-weight: 700;
}

.mega-menu-backdrop {
  position: fixed; inset: 0; background: rgba(16,33,31,0.45); z-index: 295;
  opacity: 0; pointer-events: none; transition: opacity 0.18s ease;
}
.mega-menu-backdrop.open { opacity: 1; pointer-events: auto; }

.sidebar-list li a {
  display: flex; align-items: center; gap: 10px; padding: 10px 15px;
  font-size: 13.5px; color: var(--text-main); border-bottom: 1px solid var(--surface);
  transition: background 0.12s, padding-left 0.12s;
}
.sidebar-list li:last-child a { border-bottom: none; }
.sidebar-list li a:hover { background: var(--surface); color: var(--teal-deep); padding-left: 19px; }
.sidebar-list li a.active { background: var(--surface-2); color: var(--teal-deep); font-weight: 700; }
.sidebar-list i { color: var(--teal-light); width: 17px; text-align: center; font-size: 13px; }
.sidebar-list .count { margin-left: auto; font-size: 11px; color: var(--text-muted); }

/* ══════════════ CARROUSEL BANNIÈRE ══════════════ */
.hero-carousel {
  position: relative; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(120deg, var(--teal-deep), var(--charcoal));
  min-height: 210px;
  display: none; /* masquée sur mobile — trop d'espace pris pour sa valeur, demande explicite */
}
/* Léger espace sous l'en-tête collant : sans lui la bannière touchait
   directement la barre d'outils (demande explicite de la décoller). */
@media (min-width: 700px) { .hero-carousel { display: block; min-height: 300px; margin-top: 18px; } }
@media (min-width: 1000px) { .hero-carousel { min-height: 340px; } }
.hero-slide {
  display: none; position: relative; min-height: inherit;
  padding: 32px 24px; color: var(--white);
}
@media (min-width: 700px) { .hero-slide { padding: 48px 44px; } }
.hero-slide.active { display: flex; flex-direction: column; justify-content: center; }
.hero-slide::before {
  content: ''; position: absolute; top: -90px; right: -70px; width: 360px; height: 360px;
  border-radius: 50%; background: radial-gradient(circle, rgba(242,194,122,0.22), transparent 70%);
  pointer-events: none;
}
.hero-slide img.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.34;
}
.hero-content { position: relative; z-index: 2; max-width: 560px; }
.hero-eyebrow {
  display: inline-block; background: var(--gold); color: var(--charcoal);
  font-size: 10.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px; margin-bottom: 12px;
}
.hero-slide h2 { font-size: 24px; font-weight: 900; letter-spacing: -0.7px; line-height: 1.15; margin-bottom: 10px; }
@media (min-width: 700px) { .hero-slide h2 { font-size: 36px; } }
.hero-slide p { color: rgba(255,255,255,0.78); font-size: 14px; margin-bottom: 20px; }
.hero-dots { position: absolute; bottom: 14px; left: 24px; display: flex; gap: 7px; z-index: 3; }
@media (min-width: 700px) { .hero-dots { left: 44px; } }
.hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: all 0.2s; }
.hero-dot.active { background: var(--gold); width: 22px; border-radius: 4px; }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.16);
  color: var(--white); display: none; align-items: center; justify-content: center;
}
@media (min-width: 700px) { .hero-arrow { display: flex; } }
.hero-arrow:hover { background: rgba(255,255,255,0.3); }
.hero-arrow.prev { left: 14px; }
.hero-arrow.next { right: 14px; }

/* ══════════════ BANDEAU CONFIANCE ÉLARGI (2e bannière) ══════════════
   Version agrandie de l'ancien .trust-strip (4 petites icônes) — même
   message (livraison, Mobile Money, paiement échelonné, paiement à la
   livraison), mais avec assez de présence visuelle pour se lire comme
   une vraie 2e bannière sous le carrousel, pas comme une ligne d'icônes
   oubliée. Desktop uniquement (≥700px), même convention que
   .hero-carousel juste au-dessus — pas de version mobile dédiée : sur
   petit écran, la place est mieux utilisée par les sections produits qui
   suivent (demande explicite d'origine, jamais remise en cause depuis).
   min-width:0 sur les items reste nécessaire : sans lui, un texte non
   coupé impose sa largeur intrinsèque à la piste 1fr et élargit toute la
   grille au-delà du viewport (bug réel déjà rencontré sur cette page). */
.trust-banner { display: none; }
@media (min-width: 700px) {
  .trust-banner {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
    background: var(--border); border: 1px solid var(--border);
    border-radius: var(--r); overflow: hidden; margin-top: 16px;
    box-shadow: var(--sh-2);
  }
}
@media (min-width: 760px) { .trust-banner { grid-template-columns: repeat(4, 1fr); } }
.trust-banner-item {
  background: var(--white); padding: 22px 20px; display: flex; align-items: center;
  gap: 14px; min-width: 0; transition: background 0.15s;
}
.trust-banner-item:hover { background: var(--surface); }
.tb-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(242,194,122,0.16); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center; font-size: 21px;
}
.tb-text { min-width: 0; }
.tb-text strong { display: block; font-size: 14.5px; font-weight: 800; color: var(--text-main); margin-bottom: 2px; overflow-wrap: break-word; }
.tb-text span { font-size: 12px; color: var(--text-muted); overflow-wrap: break-word; }

/* ══════════════ SECTIONS ══════════════ */
.section { margin-top: 26px; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px; gap: 12px;
}
.section-head h2 { font-size: 18px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
.section-head h2 i { color: var(--gold-dark); margin-right: 7px; }
.section-head a { font-size: 12.5px; font-weight: 700; color: var(--teal-mid); white-space: nowrap; }
.section-head a:hover { color: var(--teal-deep); }

.panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }

/* Rail de catégories (mobile / accueil) */
.cat-rail { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-tile {
  flex-shrink: 0; width: 92px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 12px 8px; text-align: center;
}
.cat-tile:hover { border-color: var(--teal-light); box-shadow: var(--sh-1); }
.cat-tile .ico {
  width: 44px; height: 44px; margin: 0 auto 8px; border-radius: 50%;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  color: var(--teal-mid); font-size: 17px; overflow: hidden;
}
.cat-tile .ico img { width: 100%; height: 100%; object-fit: cover; }
.cat-tile span { font-size: 11.5px; font-weight: 600; line-height: 1.25; display: block; }

/* ══════════════ GRILLE PRODUITS ══════════════ */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; transition: opacity 0.18s var(--ease-out, ease); }
@media (min-width: 560px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1200px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }

.pcard {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: box-shadow 0.16s, transform 0.16s, border-color 0.16s;
}
.pcard:hover { box-shadow: var(--sh-2); transform: translateY(-3px); border-color: var(--border-strong); }
.pcard-img { aspect-ratio: 1/1; background: var(--surface); position: relative; overflow: hidden; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s, opacity 0.35s; }
.pcard:hover .pcard-img img { transform: scale(1.05); }
/* Changement d'image au survol : la seconde image (galerie de la
   première variante, si elle diffère de l'image principale) est
   superposée en absolute, invisible au repos, et prend le dessus en
   fondu au survol — gratuit en requêtes (voir shopCatalogService). */
.pcard-img-hover { position: absolute; inset: 0; opacity: 0; }
.pcard:hover .pcard-img-hover { opacity: 1; }
.pcard:hover .pcard-img-main { opacity: 0; }
.pcard-img .ph {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  color: var(--border-strong); font-size: 30px;
}
.pcard-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 5px; z-index: 2; }
.badge {
  font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 4px;
  letter-spacing: 0.3px; text-transform: uppercase;
}
.badge-promo { background: var(--promo); color: var(--white); }
.badge-new { background: var(--teal-mid); color: var(--white); }
.badge-out { background: var(--red); color: var(--white); }
.badge-featured { background: var(--gold); color: var(--charcoal); }
.badge-bestseller { background: var(--charcoal, #1C2B2A); color: var(--white); display: flex; align-items: center; gap: 4px; }
.badge-bestseller i { color: #F97316; }
.badge-flash {
  background: linear-gradient(90deg, #DC2626, #EA580C);
  color: var(--white); display: flex; align-items: center; gap: 4px;
}
@media (prefers-reduced-motion: no-preference) {
  .badge-flash { animation: pulseRed 1.6s ease-in-out infinite; }
}

.pcard-body { padding: 10px 11px 12px; display: flex; flex-direction: column; flex: 1; }
.pcard-cat { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 3px; }
.pcard-name {
  font-size: 13px; font-weight: 600; line-height: 1.35; color: var(--text-main);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 35px; margin-bottom: 6px;
}
.pcard-rating { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.pcard-rating .stars { color: var(--gold-dark); letter-spacing: -1px; }
.pcard-price { margin-top: auto; }
.price-now { font-size: 16px; font-weight: 800; color: var(--teal-deep); letter-spacing: -0.3px; }
.price-was { font-size: 11.5px; color: var(--text-muted); text-decoration: line-through; margin-left: 6px; }
.price-hint { font-size: 10.5px; color: var(--green); font-weight: 700; margin-top: 4px; display: block; }

/* Badge incitatif "payez en ligne" — pulse doucement pour attirer
   l'œil sur l'économie réelle, sans jamais changer le chiffre annoncé
   (purement une mise en forme, la remise vient de shopPricingService). */
.price-hint-wave {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(22,163,74,0.12); border-radius: 999px; padding: 3px 9px 3px 7px;
}
@media (prefers-reduced-motion: no-preference) {
  .price-hint-wave { animation: pulseGreen 2.4s ease-in-out infinite; }
}
.tier-hint {
  font-size: 10px; color: var(--text-muted); font-weight: 700; margin-top: 4px;
  display: flex; align-items: center; gap: 4px;
}
.tier-hint i { color: var(--gold-dark); font-size: 9px; }

/* ══════════════ VENTES FLASH ══════════════ */
.pcard-flash {
  border-color: #FCA5A5;
  box-shadow: 0 0 0 1px rgba(220,38,38,0.12);
}
.flash-countdown {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 5px;
  font-size: 10.5px; font-weight: 800; color: #DC2626;
  background: rgba(220,38,38,0.08); border-radius: 6px; padding: 2px 7px;
  font-variant-numeric: tabular-nums;
}
.flash-countdown-ended { opacity: 0.5; }
.flash-stock-bar {
  height: 5px; border-radius: 999px; background: #FEE2E2; margin-top: 6px; overflow: hidden;
}
.flash-stock-bar-fill {
  height: 100%; background: linear-gradient(90deg, #DC2626, #F97316);
  border-radius: 999px; transition: width 0.4s var(--ease-spring, ease);
}
.flash-stock-label { font-size: 10px; color: #DC2626; font-weight: 700; margin-top: 3px; }

/* Section mise en avant : fond dégradé + bordure, pour qu'une vente
   flash saute aux yeux avant même les coups de cœur (juste en dessous,
   voir index.html) — jamais un simple bloc parmi d'autres. */
.flash-hero-section { margin-top: 20px; }
.flash-hero-inner {
  background: linear-gradient(135deg, #FEF2F2 0%, #FFF7ED 100%);
  border: 1.5px solid #FECACA;
  border-radius: var(--r-lg, 16px);
  padding: 18px 16px 20px;
  position: relative;
  overflow: hidden;
}
.flash-hero-inner::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at top right, rgba(220,38,38,0.10), transparent 60%);
}
.flash-hero-section .section-head { margin-bottom: 14px; position: relative; }
.flash-hero-section .section-head h2 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 20px; }
.flash-bolt-icon { color: #DC2626; }
@media (prefers-reduced-motion: no-preference) {
  .flash-bolt-icon { animation: bump 1.8s ease-in-out infinite; }
  .flash-hero-inner { animation: pulseRed 2.4s ease-in-out infinite; }
}
.flash-section-countdown {
  font-size: 12px; font-weight: 700; color: #DC2626;
  background: rgba(220,38,38,0.08); border-radius: 999px; padding: 3px 12px;
  font-variant-numeric: tabular-nums;
}

/* ══════════════ CADEAUX OFFERTS ══════════════ */
.gift-banner-row {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600;
  border-radius: 10px; padding: 10px 14px; margin-bottom: 10px;
}
.gift-banner-row i { font-size: 15px; }
.gift-banner-unlocked { background: rgba(22,163,74,0.1); color: var(--green, #16A34A); }
.gift-banner-progress { background: rgba(217,119,6,0.1); color: #B45309; }
@media (prefers-reduced-motion: no-preference) {
  .gift-banner-unlocked { animation: popIn 0.4s var(--ease-spring, ease); }
}
.cart-line-gift, .gift-free-tag {
  font-size: 11px; font-weight: 800; color: var(--green, #16A34A);
  background: rgba(22,163,74,0.1); border-radius: 6px; padding: 2px 8px; display: inline-block;
}
.cart-line-gift { margin-top: 4px; }

/* ══════════════ LIVRAISON GRATUITE ══════════════ */
.shipping-banner {
  background: rgba(15,110,99,0.06); border: 1px solid rgba(15,110,99,0.15);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 10px;
}
.shipping-banner-text { font-size: 12.5px; font-weight: 600; color: var(--teal-deep); margin-bottom: 7px; }
.shipping-bar { height: 6px; border-radius: 999px; background: rgba(15,110,99,0.12); overflow: hidden; }
.shipping-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--teal-mid), var(--teal-deep));
  border-radius: 999px; transition: width 0.5s var(--ease-spring, ease);
}
.shipping-banner-row {
  display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  color: var(--green, #16A34A); background: rgba(22,163,74,0.1);
  border-radius: 10px; padding: 10px 14px; margin-bottom: 10px;
}

/* ══════════════ BOUTONS ══════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--r-sm); font-weight: 700; font-size: 14px; padding: 11px 20px;
  transition: filter 0.14s, background 0.14s, border-color 0.14s; text-align: center;
}
.btn-primary { background: var(--gold); color: var(--charcoal); }
.btn-primary:hover { background: var(--gold-dark); }
.btn-dark { background: var(--teal-deep); color: var(--white); }
.btn-dark:hover { background: var(--teal-mid); }
.btn-outline { border: 1.5px solid var(--border-strong); color: var(--text-main); background: var(--white); }
.btn-outline:hover { border-color: var(--teal-mid); color: var(--teal-mid); }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 13px; font-size: 12.5px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ══════════════ FICHE PRODUIT ══════════════ */
.breadcrumb { font-size: 12px; color: var(--text-muted); padding: 14px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--teal-mid); }
.breadcrumb .sep { color: var(--border-strong); }

.pdp { display: grid; grid-template-columns: 1fr; gap: 22px; padding: 16px 0 32px; }
.pdp > * { min-width: 0; } /* même piège de grille que .layout-sidebar > main, voir plus haut */
@media (min-width: 900px) { .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 34px; } }
@media (min-width: 1200px) { .pdp { grid-template-columns: 480px minmax(0, 1fr) 300px; } }

.gallery { position: relative; }
.gallery-main {
  display: flex; aspect-ratio: 1/1; border: 1px solid var(--border); border-radius: var(--r);
  overflow-x: auto; overflow-y: hidden; background: var(--white);
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: center; height: 100%; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--border-strong); font-size: 54px; }
.gallery-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.gallery-dot { width: 6px; height: 6px; border-radius: 999px; background: var(--border-strong); cursor: pointer; transition: all 0.2s; }
.gallery-dot.active { width: 18px; background: var(--teal-deep); }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery-thumbs img {
  width: 62px; height: 62px; object-fit: cover; border-radius: var(--r-sm);
  border: 2px solid var(--border); cursor: pointer; flex-shrink: 0; background: var(--white);
}
.gallery-thumbs img:hover { border-color: var(--teal-light); }
.gallery-thumbs img.active { border-color: var(--gold); }

.pdp-title { font-size: 21px; font-weight: 800; line-height: 1.3; margin-bottom: 8px; letter-spacing: -0.3px; }
@media (min-width: 700px) { .pdp-title { font-size: 25px; } }
.pdp-brand { font-size: 12px; font-weight: 700; color: var(--teal-mid); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 6px; }
.pdp-meta { display: flex; align-items: center; gap: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px; flex-wrap: wrap; }
.pdp-rating { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--text-muted); }
.pdp-rating .stars { color: var(--gold-dark); }
.pdp-ref { font-size: 12px; color: var(--text-muted); }
.pdp-share {
  display: flex; align-items: center; gap: 6px; margin-left: auto; padding: 5px 12px;
  border: 1.5px solid var(--border); border-radius: 999px; background: var(--white);
  color: var(--text-main); font-size: 12.5px; font-weight: 600; cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.pdp-share:hover { border-color: var(--teal-mid); color: var(--teal-deep); }

.price-block { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 15px; margin-bottom: 16px; }
.price-main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-main .amount { font-size: 30px; font-weight: 900; color: var(--teal-deep); letter-spacing: -1px; }
.price-main .strike { font-size: 15px; color: var(--text-muted); text-decoration: line-through; }
.price-main .save-pill { background: #DCFCE7; color: var(--green); font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.price-alt { font-size: 12.5px; color: var(--text-muted); margin-top: 7px; }
.price-alt strong { color: var(--text-main); font-weight: 700; }

.opt-group { margin-bottom: 16px; }
.opt-label { font-size: 12.5px; font-weight: 700; margin-bottom: 8px; display: block; }
.opt-label span { font-weight: 400; color: var(--text-muted); }
.variant-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip {
  border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); padding: 8px 14px;
  font-size: 13px; font-weight: 600; background: var(--white); position: relative;
}
.vchip:hover { border-color: var(--teal-mid); }
.vchip.active { border-color: var(--teal-deep); background: var(--surface-2); color: var(--teal-deep); }
.vchip.disabled { opacity: 0.4; cursor: not-allowed; text-decoration: line-through; }
.vchip-with-thumb { display: inline-flex; align-items: center; gap: 7px; padding: 6px 14px 6px 6px; }
.vchip-thumb { width: 26px; height: 26px; border-radius: 5px; object-fit: cover; flex-shrink: 0; }

.qty-box { display: inline-flex; align-items: center; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); overflow: hidden; }
.qty-box button { width: 38px; height: 38px; font-size: 17px; font-weight: 700; color: var(--teal-deep); }
.qty-box button:hover { background: var(--surface); }
.qty-box input { width: 52px; height: 38px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); font-weight: 700; outline: none; }

.stock-line { font-size: 13px; font-weight: 600; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; width: fit-content; }
.stock-line.ok { color: var(--green); }
.stock-line.low {
  color: var(--amber); background: #FFFBEB; padding: 6px 12px; border-radius: 999px;
  animation: pulseYellow 1.8s infinite;
}
.stock-line.out { color: var(--red); }

/* ── Urgence (voir urgency.js) — éléments d'affichage, jamais montrés
   sur un produit réellement en rupture ── */
.urgency-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.urgency-chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700;
  padding: 6px 11px; border-radius: 999px;
}
.urgency-chip.viewers { background: #FFF7ED; color: var(--promo); }
.urgency-chip.timer { background: #FEF2F2; color: var(--red); }
.urgency-chip.timer strong { font-variant-numeric: tabular-nums; }
.urgency-chip i { font-size: 11px; }

/* Encart d'achat (colonne de droite en grand écran) */
.buy-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; }
@media (min-width: 1200px) { .buy-box { position: sticky; top: 76px; } }
.buy-box .bb-price { font-size: 24px; font-weight: 900; color: var(--teal-deep); letter-spacing: -0.6px; }
.buy-box .bb-alt { font-size: 12px; color: var(--text-muted); margin: 4px 0 12px; }
.buy-box .bb-row { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; color: var(--text-muted); padding: 7px 0; }
.buy-box .bb-row i { color: var(--teal-mid); margin-top: 2px; width: 15px; text-align: center; }
.buy-box .bb-actions { display: flex; flex-direction: column; gap: 9px; margin: 14px 0 12px; }

.pdp-tabs { border-bottom: 1px solid var(--border); display: flex; gap: 3px; margin-bottom: 18px; overflow-x: auto; }
.pdp-tab { padding: 11px 16px; font-size: 13.5px; font-weight: 700; color: var(--text-muted); border-bottom: 2.5px solid transparent; white-space: nowrap; }
.pdp-tab.active { color: var(--teal-deep); border-bottom-color: var(--teal-deep); }
.pdp-panel { font-size: 14px; line-height: 1.75; color: var(--text-main); }
.pdp-panel p { margin-bottom: 12px; }

/* Mise en forme des descriptions produit (voir renderRichText dans
   shop-core.js) : titres de section, listes de caractéristiques et
   passages en gras, pour que la fiche se parcoure en diagonale au lieu
   d'être un pavé uniforme. */
.pdp-panel h4 {
  font-size: 15px; font-weight: 800; color: var(--text-main);
  margin: 22px 0 10px; padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
}
.pdp-panel h4:first-child { margin-top: 0; }
.pdp-panel ul { list-style: none; margin: 0 0 14px; padding: 0; }
.pdp-panel li {
  position: relative; padding-left: 20px; margin-bottom: 7px;
}
.pdp-panel li::before {
  content: ''; position: absolute; left: 4px; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--teal-mid);
}
.pdp-panel strong { font-weight: 700; color: var(--text-main); }
.pdp-panel > *:last-child { margin-bottom: 0; }

/* Répartition des notes par étoile — onglet "Avis" de la fiche produit */
.rating-breakdown { display: flex; flex-direction: column; gap: 5px; margin-bottom: 18px; max-width: 340px; }
.rb-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.rb-star { display: flex; align-items: center; gap: 3px; width: 34px; flex-shrink: 0; font-weight: 600; }
.rb-star i { color: var(--gold-dark); font-size: 10px; }
.rb-bar { flex: 1; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.rb-fill { height: 100%; background: var(--gold-dark); border-radius: 999px; }
.rb-count { width: 22px; text-align: right; flex-shrink: 0; }

.review-verified {
  display: inline-flex; align-items: center; gap: 4px; margin-top: 4px;
  font-size: 11px; font-weight: 600; color: var(--teal-mid);
}

/* Barre d'achat collante — mobile uniquement, sur la fiche produit */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 9px 14px; display: flex; gap: 9px; align-items: center;
  box-shadow: 0 -3px 16px rgba(16,33,31,0.10);
}
/* Prix de la barre d'achat : hors du bouton (voir produit.html).
   flex-shrink:0 + white-space:nowrap — le montant ne doit jamais être
   coupé ni passer à la ligne, même sur un prix à 7 chiffres ; c'est le
   bouton, en flex:1, qui absorbe la place restante. */
.buybar-price { display: flex; flex-direction: column; justify-content: center; flex-shrink: 0; line-height: 1.15; }
.bb-label { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.bb-amount { font-size: 16.5px; font-weight: 800; color: var(--teal-deep); white-space: nowrap; }
@media (max-width: 359.98px) { .bb-amount { font-size: 15px; } }

@media (min-width: 900px) { .buybar { display: none; } }
/* Seules les pages qui affichent réellement la barre réservent la place */
body.has-buybar { padding-bottom: 66px; }
@media (min-width: 900px) { body.has-buybar { padding-bottom: 0; } }

/* ══════════════ PANIER / TUNNEL ══════════════ */
.two-col { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
.two-col > * { min-width: 0; } /* même piège de grille que .layout-sidebar > main, voir plus haut */
@media (min-width: 960px) { .two-col { grid-template-columns: minmax(0,1fr) 350px; } }
.side-sticky { position: static; }
@media (min-width: 960px) { .side-sticky { position: sticky; top: 76px; } }

.cart-line { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.cart-line:last-child { border-bottom: none; }
.cart-line img, .cart-line .ph {
  width: 84px; height: 84px; object-fit: cover; border-radius: var(--r-sm);
  background: var(--surface); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--border-strong);
}
.cart-line-main { flex: 1; min-width: 0; }
.cart-line-name { font-size: 13.5px; font-weight: 600; margin-bottom: 4px; }
.cart-line-price { font-size: 14px; font-weight: 800; color: var(--teal-deep); }
.cart-line-prepay-hint {
  display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700;
  color: var(--green); background: rgba(22,163,74,0.12); border-radius: 999px; padding: 2px 8px 2px 6px;
  margin-top: 3px;
}
.cart-line-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; gap: 10px; }
.link-danger { color: var(--red); font-size: 12.5px; font-weight: 600; }

.sum-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; color: var(--text-muted); }
.sum-row.strong { color: var(--text-main); font-weight: 700; }
.sum-row.save { color: var(--green); font-weight: 700; }
.sum-row.total { font-size: 18px; font-weight: 900; color: var(--ink); border-top: 1px solid var(--border); margin-top: 8px; padding-top: 12px; }
.sum-row.due { color: var(--teal-deep); font-weight: 800; font-size: 14.5px; }

/* Étapes du tunnel */
.steps { display: flex; align-items: center; justify-content: center; gap: 0; margin: 22px 0 24px; }
.step { display: flex; align-items: center; gap: 9px; }
.step .num {
  width: 30px; height: 30px; border-radius: 50%; background: var(--white);
  border: 2px solid var(--border-strong); color: var(--text-muted);
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800;
  flex-shrink: 0;
}
.step.active .num { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
.step.done .num { background: var(--green); border-color: var(--green); color: var(--white); }
.step .lbl { font-size: 12.5px; font-weight: 700; color: var(--text-muted); display: none; }
@media (min-width: 620px) { .step .lbl { display: block; } }
.step.active .lbl { color: var(--ink); }
.step-line { width: 30px; height: 2px; background: var(--border-strong); margin: 0 8px; }
@media (min-width: 620px) { .step-line { width: 56px; } }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm);
  padding: 11px 13px; outline: none; background: var(--white); transition: border-color 0.14s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal-mid); }
.field .hint { font-size: 11.5px; color: var(--text-muted); margin-top: 5px; }
.field .err { font-size: 11.5px; color: var(--red); margin-top: 5px; font-weight: 600; }

.ac-wrap { position: relative; }
.ac-wrap input:disabled { background: var(--surface-2); color: var(--text-muted); cursor: not-allowed; }
.ac-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 40;
  background: var(--white); border: 1.5px solid var(--border-strong); border-radius: var(--r-sm);
  max-height: 230px; overflow-y: auto; box-shadow: 0 8px 24px rgba(0,0,0,0.14); display: none;
}
.ac-list.open { display: block; }
.ac-item { padding: 10px 13px; font-size: 13.5px; cursor: pointer; }
.ac-item:hover, .ac-item.active { background: var(--surface); }
.ac-item.empty { color: var(--text-muted); cursor: default; }
.ac-item.empty:hover { background: none; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 0 14px; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.check-row { display: flex; align-items: center; gap: 9px; font-size: 13px; cursor: pointer; }
.check-row input { width: auto; }

.option-card {
  border: 1.5px solid var(--border-strong); border-radius: var(--r); padding: 14px;
  margin-bottom: 10px; cursor: pointer; background: var(--white); transition: border-color 0.14s, background 0.14s;
}
.option-card:hover { border-color: var(--teal-light); }
.option-card.selected { border-color: var(--teal-deep); background: var(--surface); }
.option-card .oc-head { display: flex; align-items: flex-start; gap: 11px; }
.option-card .radio {
  width: 19px; height: 19px; border-radius: 50%; border: 2px solid var(--border-strong);
  flex-shrink: 0; margin-top: 1px; transition: all 0.14s;
}
.option-card.selected .radio { border-color: var(--teal-deep); border-width: 6px; }
.option-card .oc-title { font-size: 14px; font-weight: 700; }
.option-card .oc-desc { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.option-card .oc-amount { margin-left: auto; font-size: 16px; font-weight: 800; color: var(--teal-deep); white-space: nowrap; }
.option-card .oc-extra { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.pill-tag { display: inline-block; background: var(--green); color: var(--white); font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; margin-left: 7px; text-transform: uppercase; letter-spacing: 0.4px; }

/* ══════════════ ÉTATS ══════════════ */
.state { text-align: center; padding: 56px 20px; }
.state i.big { font-size: 46px; color: var(--border-strong); margin-bottom: 14px; display: block; }
.state h2 { font-size: 19px; margin-bottom: 8px; }
.state p { color: var(--text-muted); margin-bottom: 18px; }
.spinner {
  width: 38px; height: 38px; border: 3.5px solid var(--surface-2); border-top-color: var(--teal-deep);
  border-radius: 50%; animation: spin 0.75s linear infinite; margin: 0 auto 14px;
}

.ussd-help {
  text-align: left; background: var(--surface-2); border-radius: var(--r); padding: 16px 18px;
  margin: 0 auto 18px; max-width: 420px;
}
.ussd-help-title { font-size: 13px; font-weight: 700; color: var(--text-main); margin-bottom: 10px; display: flex; align-items: center; gap: 7px; }
.ussd-help-title i { color: var(--teal-mid); }
.ussd-op { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--border); font-size: 13px; }
.ussd-op:first-of-type { border-top: none; padding-top: 0; }
.ussd-op strong { font-size: 12.5px; }
.ussd-op span { color: var(--text-muted); }
.ussd-op code {
  background: var(--white); border: 1px solid var(--border); border-radius: 5px;
  padding: 1px 7px; font-weight: 700; color: var(--teal-deep); font-family: inherit;
}
/* ══════════════ ANIMATIONS ══════════════
   Les @keyframes (fadeInUp, bump, popIn, checkPop, shimmer, spin)
   viennent de /css/tokens.css, chargé avant ce fichier — ne restent ici
   que les règles qui les APPLIQUENT à des sélecteurs propres à la
   boutique. */
@media (prefers-reduced-motion: no-preference) {
  .product-grid .pcard { animation: fadeInUp 0.36s var(--ease-out) backwards; }
  .product-grid .pcard:nth-child(1) { animation-delay: 0.02s; } .product-grid .pcard:nth-child(2) { animation-delay: 0.06s; }
  .product-grid .pcard:nth-child(3) { animation-delay: 0.10s; } .product-grid .pcard:nth-child(4) { animation-delay: 0.14s; }
  .product-grid .pcard:nth-child(5) { animation-delay: 0.18s; } .product-grid .pcard:nth-child(6) { animation-delay: 0.22s; }
  .product-grid .pcard:nth-child(n+7) { animation-delay: 0.26s; }

  .cat-tile, .trust-banner-item, .cart-line, .option-card { animation: fadeInUp 0.3s var(--ease-out) backwards; }

  .cart-badge.bump { animation: bump 0.45s var(--ease-spring); }
  .toast.show { animation: popIn 0.22s var(--ease-out); }
  .state i.big.fa-circle-check { animation: checkPop 0.45s var(--ease-spring); }

  body { animation: fadeInUp 0.25s var(--ease-out); }
}

.btn { transition: filter 0.14s, background 0.14s, border-color 0.14s, transform 0.1s; }
.btn:active { transform: scale(0.97); }
.pcard-img img { will-change: transform; }
.gallery-thumbs img { transition: border-color 0.15s, transform 0.15s; }
.gallery-thumbs img:hover { transform: translateY(-2px); }
.vchip { transition: border-color 0.14s, background 0.14s, transform 0.1s; }
.vchip:active:not(.disabled) { transform: scale(0.96); }
.qty-box button { transition: background 0.12s; }
.cat-tile, .trust-banner-item { transition: transform 0.16s, box-shadow 0.16s; }
.cat-tile:hover { transform: translateY(-3px); }

.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; border-radius: var(--r-sm); }

.status-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.status-chip.ok { background: #DCFCE7; color: #15803D; }
.status-chip.wait { background: #FEF3C7; color: #92400E; }
.status-chip.bad { background: #FEE2E2; color: #B91C1C; }
.status-chip.info { background: #DBEAFE; color: #1D4ED8; }

/* ══════════════ BOUTON EXPLICITE "VOIR LE DÉTAIL" ══════════════
   /suivi-commande et /avis : bouton plein, avec badge icône rempli et
   chevron animé — demande explicite d'un déclencheur visible, pas un
   petit "<details>" discret (voir shop-core/suivi-commande.html). Les
   infos de confiance (nom, lieu de livraison, statut) restent toujours
   visibles hors de ce bouton ; seul le détail articles/prix se replie. */
.order-details-toggle {
  display: flex; align-items: center; gap: 12px; width: 100%;
  background: var(--surface); border: 1.5px solid var(--border-strong);
  border-radius: var(--r); padding: 13px 14px; margin-top: 14px;
  font-family: inherit; text-align: left; cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.order-details-toggle:hover, .order-details-toggle:focus-visible {
  background: var(--surface-2); border-color: var(--teal-deep);
  box-shadow: 0 2px 10px rgba(13,77,74,.10);
}
.order-details-toggle:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 2px; }
.odt-icon {
  width: 36px; height: 36px; border-radius: 50%; background: var(--teal-deep);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.odt-text { flex: 1; min-width: 0; }
.odt-label { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink); }
.odt-sub { display: block; font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.odt-chevron { color: var(--teal-deep); font-size: 13px; transition: transform .2s ease; flex-shrink: 0; }
.order-details-toggle[aria-expanded="true"] .odt-chevron { transform: rotate(180deg); }
/* grid-template-rows 0fr → 1fr : glissement animé sans calcul JS de
   hauteur, plus fluide qu'un simple display:none/block. */
.order-details-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.order-details-wrap.open { grid-template-rows: 1fr; }
.order-details-inner { overflow: hidden; }
.order-details-inner > .odi-pad { padding-top: 14px; }

/* ══════════════ PIED DE PAGE ══════════════ */
.shop-footer { background: var(--charcoal); color: rgba(255,255,255,0.66); margin-top: 40px; }

/* Bandeau de confiance — arguments réels (rien de fabriqué, à la
   différence du module d'urgence) : ce que la boutique fait vraiment.
   Cliquable : chaque argument renvoie vers la page qui le prouve. */
.footer-trust {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
}
@media (min-width: 760px) { .footer-trust { grid-template-columns: repeat(4, 1fr); } }
.footer-trust-item {
  display: flex; align-items: center; gap: 11px; padding: 18px 20px; min-width: 0;
  border-right: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06);
  color: inherit; text-decoration: none; transition: background 0.15s;
}
.footer-trust-item:hover { background: rgba(255,255,255,0.04); }
@media (min-width: 760px) { .footer-trust-item:nth-child(4) { border-right: none; } .footer-trust-item { border-bottom: none; } }
.footer-trust-item i {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(242,194,122,0.12); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.footer-trust-item > div { min-width: 0; }
.footer-trust-item strong { display: block; font-size: 12.5px; color: var(--white); font-weight: 700; overflow-wrap: break-word; }
.footer-trust-item span { font-size: 11.5px; color: rgba(255,255,255,0.5); overflow-wrap: break-word; }

/* padding-top/bottom seulement : .footer-top porte aussi la classe
   .container, dont le padding horizontal (16px) ne doit surtout pas
   être écrasé — un shorthand "30px 0 24px" mettait le padding gauche/
   droite à 0 et collait tout le contenu du pied de page aux bords sur
   mobile (BRIZPRIX, Acheter, Aide, badges de paiement). */
.footer-top { padding-top: 30px; padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 26px; margin-bottom: 22px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 34px; } }
.footer-grid h4 { color: var(--white); font-size: 12px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800; }
.footer-grid a { display: block; padding: 4px 0; font-size: 13px; color: rgba(255,255,255,0.62); }
.footer-grid a:hover { color: var(--gold); }
.footer-about p { font-size: 13px; line-height: 1.65; margin: 10px 0 14px; }

/* "Acheter" / "Aide & garanties" — menus déroulants sur mobile (façon
   Temu : le pied de page mobile est fait de sections repliables plutôt
   que tout étalé verticalement), toujours dépliés sur desktop. */
.footer-col-head {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; padding: 14px 0; margin: 0; cursor: pointer; text-align: left;
  color: var(--white); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; font-weight: 800;
  font-family: inherit; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-col-head i { font-size: 11px; color: rgba(255,255,255,0.45); transition: transform 0.2s var(--ease-out, ease); }
.footer-col-head[aria-expanded="true"] i { transform: rotate(180deg); }
.footer-col-body { display: none; padding: 4px 0 6px; }
.footer-col-body.open { display: block; }
@media (min-width: 760px) {
  .footer-col-head { cursor: default; padding: 0 0 12px; border-bottom: none; pointer-events: none; }
  .footer-col-head i { display: none; }
  .footer-col-body { display: block !important; padding: 0; }
}

/* "Nos engagements" (bandeau de confiance) — même mécanique, mais son
   bouton n'a pas de rôle de titre de colonne sur desktop : la grille de
   4 cartes s'affiche telle quelle, sans intitulé au-dessus. */
.footer-trust-wrap .footer-trust-toggle { border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-trust-wrap .footer-col-body { padding: 0; }
@media (min-width: 760px) {
  .footer-trust-toggle { display: none; }
}
.marketing-optin-row {
  display: flex; align-items: flex-start; gap: 7px; margin: 10px 0; font-size: 11.5px; color: var(--text-muted);
}
.marketing-optin-row input { margin-top: 2px; flex-shrink: 0; }
.marketing-optin-row label { line-height: 1.4; cursor: pointer; }

.footer-social { display: flex; gap: 9px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 15px; padding: 0;
  transition: background 0.15s, transform 0.15s;
}
.footer-social a:hover { background: var(--gold); color: var(--charcoal); transform: translateY(-2px); }

/* Moyens de paiement — badges façon logo (couleur + typo de marque)
   plutôt qu'un simple carré de couleur, dans l'esprit de la ligne
   "Nous acceptons" de Temu, avec les moyens réellement acceptés. */
.footer-pay-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: rgba(255,255,255,0.45); margin-bottom: 10px; }
.footer-pay { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }

/* Moyens de paiement — même gabarit pour les trois badges (vrais logos
   MTN/Orange fournis + badge "à la livraison"), pour qu'aucun ne
   paraisse plus important qu'un autre. mtn.png a été repivoté à plat
   (le fichier source était un badge vertical) avant d'être déposé dans
   public/shop/img/payments/. */
.pay-badge {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 108px; height: 42px; padding: 6px 10px; border-radius: 8px;
  background: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,0.06), var(--sh-1);
}
.pay-badge img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.pay-badge-cash {
  background: var(--white); gap: 6px; font-size: 11px; font-weight: 800; color: var(--charcoal);
}
.pay-badge-cash i { font-size: 14px; color: var(--teal-deep); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09); padding-top: 15px; padding-bottom: 15px;
  font-size: 12px; color: rgba(255,255,255,0.58);
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; text-align: center;
}

/* ══════════════ FLOTTANT WHATSAPP ══════════════ */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 260;
  width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 27px;
  box-shadow: var(--sh-3);
}
.wa-float:hover { transform: scale(1.06); }
body.has-buybar .wa-float { bottom: 78px; }
@media (min-width: 900px) { body.has-buybar .wa-float { bottom: 16px; } }

/* ══════════════ RETOUR EN HAUT ══════════════ */
/* Empilé AU-DESSUS du bouton WhatsApp pour ne jamais le recouvrir, et
   volontairement plus sobre que lui : c'est un confort de navigation,
   pas un appel à l'action. L'anneau qui l'entoure se remplit avec la
   progression de lecture — le bouton indique donc AUSSI où l'on en est
   dans la page, au lieu d'être une simple flèche posée par-dessus.
   Masqué via opacity + pointer-events comme .toast, jamais via display,
   pour rester animable. */
.to-top {
  position: fixed; right: 16px; bottom: 80px; z-index: 259;
  width: 46px; height: 46px; border-radius: 50%; padding: 0;
  background: var(--white); color: var(--teal-deep);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; cursor: pointer;
  box-shadow: 0 3px 14px rgba(15, 40, 38, 0.16), 0 1px 3px rgba(15, 40, 38, 0.1);
  opacity: 0; pointer-events: none; transform: translateY(10px) scale(0.92);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.2s ease, color 0.2s ease;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
.to-top:hover {
  color: var(--teal-mid);
  box-shadow: 0 6px 20px rgba(15, 40, 38, 0.22), 0 1px 3px rgba(15, 40, 38, 0.12);
  transform: translateY(-2px) scale(1.04);
}
.to-top:active { transform: translateY(0) scale(0.97); }
.to-top:focus-visible { outline: 2px solid var(--teal-deep); outline-offset: 3px; }
.to-top i { position: relative; z-index: 1; transition: transform 0.2s ease; }
.to-top:hover i { transform: translateY(-2px); }

/* Anneau de progression : pivoté pour démarrer à midi. */
.tt-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
/* cx/cy/r sont posés comme ATTRIBUTS du SVG, pas ici : ces propriétés
   géométriques en CSS ne sont pas comprises par les WebView Android
   anciennes, où l'anneau ne s'afficherait tout simplement pas. */
.tt-ring circle { fill: none; stroke-width: 2.5; }
.tt-ring-bg { stroke: var(--border); }
.tt-ring-fg {
  stroke: var(--teal-mid); stroke-linecap: round;
  stroke-dasharray: 128.8; stroke-dashoffset: 128.8;
  transition: stroke-dashoffset 0.1s linear;
}

body.has-buybar .to-top { bottom: 142px; }
@media (min-width: 900px) { body.has-buybar .to-top { bottom: 80px; } }
@media (prefers-reduced-motion: reduce) {
  .to-top { transition: opacity 0.22s ease; transform: none; }
  .to-top.show { transform: none; }
  .to-top:hover, .to-top:active { transform: none; }
  .to-top:hover i { transform: none; }
  .tt-ring-fg { transition: none; }
}

/* ══════════════ MASQUER LE BOUTON WHATSAPP ══════════════ */
/* Petite croix ancrée sur le coin du bouton WhatsApp. Le masquage vaut
   pour la session de navigation en cours (sessionStorage) : le bouton
   revient à la visite suivante, donc aucun risque de le perdre
   définitivement d'un clic malheureux. */
.wa-hide {
  position: fixed; right: 8px; bottom: 58px; z-index: 261;
  width: 22px; height: 22px; border-radius: 50%; padding: 0;
  background: var(--charcoal); color: var(--white);
  border: 2px solid var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; cursor: pointer; box-shadow: var(--sh-2);
  opacity: 0; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
/* Apparaît au survol du bouton WhatsApp (souris) ; sur tactile, où le
   survol n'existe pas, elle reste visible en permanence. */
.wa-float:hover + .wa-hide, .wa-hide:hover, .wa-hide:focus-visible { opacity: 1; pointer-events: auto; }
.wa-hide:hover { transform: scale(1.12); }
.wa-hide:focus-visible { outline: 2px solid var(--white); outline-offset: 1px; }
@media (hover: none) { .wa-hide { opacity: 1; pointer-events: auto; } }
body.has-buybar .wa-hide { bottom: 120px; }
@media (min-width: 900px) { body.has-buybar .wa-hide { bottom: 58px; } }

/* ══════════════ TOAST ══════════════ */
.toast {
  position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%) translateY(14px);
  background: var(--charcoal); color: var(--white); padding: 12px 20px; border-radius: 999px;
  font-size: 13px; font-weight: 600; z-index: 500; box-shadow: var(--sh-3);
  opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; max-width: 90vw;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
body.has-buybar .toast { bottom: 80px; }

/* ══════════════ TOAST "ACHAT RÉCENT" (voir urgency.js) ══════════════ */
.fomo-toast {
  position: fixed; left: 16px; bottom: 16px; z-index: 240;
  display: flex; align-items: center; gap: 10px; max-width: 300px;
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 11px 14px; box-shadow: var(--sh-3); color: var(--text-main); text-decoration: none;
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity 0.25s var(--ease-out, ease), transform 0.25s var(--ease-out, ease);
}
.fomo-toast.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.fomo-toast i { color: var(--green); font-size: 16px; flex-shrink: 0; }
.fomo-toast strong { display: block; font-size: 12px; font-weight: 800; color: var(--ink); }
.fomo-toast span { font-size: 11.5px; color: var(--text-muted); line-height: 1.35; }
/* Mobile : carte compacte à gauche plutôt qu'une bannière pleine
   largeur — une seule ligne tronquée, pas le paragraphe complet. */
@media (max-width: 600px) {
  .fomo-toast {
    left: 8px; right: auto; bottom: 70px; max-width: 240px;
    padding: 7px 10px; border-radius: 10px; gap: 7px;
  }
  .fomo-toast i { font-size: 13px; }
  .fomo-toast strong { font-size: 10.5px; }
  .fomo-toast span { font-size: 10px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 175px; }
}

/* ══════════════ DIVERS ══════════════ */
/* Barre de titre + tri des pages catalogue.
   Volontairement NON collante : elle défilait auparavant avec la page
   sous l'en-tête, ce qui empilait deux bandeaux fixes et mangeait de la
   hauteur utile sur les petits écrans. Seul .shop-header reste collant. */
.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-bottom: 14px;
  background: var(--surface); padding: 10px 0;
}
.chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip { padding: 6px 13px; border-radius: 999px; border: 1.5px solid var(--border-strong); font-size: 12.5px; font-weight: 600; background: var(--white); }
.chip:hover { border-color: var(--teal-light); }
.chip.active { background: var(--teal-deep); border-color: var(--teal-deep); color: var(--white); }
select.sort { border: 1.5px solid var(--border-strong); border-radius: var(--r-sm); padding: 8px 12px; font-size: 13px; background: var(--white); }
.auth-wrap { max-width: 430px; margin: 34px auto; padding: 0 16px; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r); padding: 22px; }
.card h1 { font-size: 20px; font-weight: 800; color: var(--teal-deep); margin-bottom: 5px; }
.divider { height: 1px; background: var(--border); margin: 16px 0; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
