/* ═════════════════════════════════════════════════════════════════
   ecommerce.css — composants visuels uniques à la page /ecommerce/
   Thème : vitrine de magasin (storefront)
   ─────────────────────────────────────────────────────────────────
   Composants : devanture SVG hero, néon OPEN, auvent rayé,
   chaînes d'enseigne, étiquettes de prix (tags), tampons rotatifs,
   ticket de caisse (bord dentelé), code-barre, cards rayon, étagères.
═════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────────
   1 · DEVANTURE / STOREFRONT — hero SVG enveloppé
───────────────────────────────────────────────────────────────── */
.storefront-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 6;
  max-width: 520px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .storefront-stage { max-width: none; aspect-ratio: 4 / 5; }
}

.storefront-svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Auvent rayé bordeaux + cream — pattern défini en SVG via <pattern> mais on
   prévoit ici les variables si on veut overrider sans toucher le HTML */
.storefront-svg .awning-stripe-a { fill: #5a1224; }
.storefront-svg .awning-stripe-b { fill: #f5ecd9; }
.storefront-svg .awning-edge     { fill: #3a0a17; }

/* Vitrine reflet — gradient discret pour donner du volume au verre */
.storefront-svg .window-glass     { fill: rgba(243, 234, 213, 0.35); }
.storefront-svg .window-frame     { fill: #0c0f1a; }
.storefront-svg .window-reflection {
  fill: rgba(255, 255, 255, 0.18);
}

/* Plancher / sol sous la vitrine */
.storefront-svg .shop-floor       { fill: #1a0a10; }
.storefront-svg .shop-floor-line  { stroke: rgba(245, 236, 217, 0.18); stroke-width: 1; fill: none; }

/* Enseigne suspendue */
.storefront-svg .sign-board       { fill: #0c0f1a; }
.storefront-svg .sign-border      { fill: none; stroke: #e2a8a0; stroke-width: 1.5; }
.storefront-svg .sign-chain       { stroke: #6b6557; stroke-width: 1.6; fill: none; }
.storefront-svg .sign-chain-link  { fill: none; stroke: #6b6557; stroke-width: 1.4; }


/* ─────────────────────────────────────────────────────────────────
   2 · NÉON "OPEN" — animation subtile de scintillement
───────────────────────────────────────────────────────────────── */
.neon-open {
  fill: none;
  stroke: #e2a8a0;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(226, 168, 160, 0.85))
          drop-shadow(0 0 10px rgba(226, 168, 160, 0.4));
  animation: neon-flicker 4.8s ease-in-out infinite;
}
.neon-open-bg {
  fill: rgba(12, 15, 26, 0.92);
  stroke: rgba(226, 168, 160, 0.35);
  stroke-width: 1;
}

@keyframes neon-flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
  20%, 24%, 55%                      { opacity: 0.45; }
}

@media (prefers-reduced-motion: reduce) {
  .neon-open { animation: none; }
}


/* ─────────────────────────────────────────────────────────────────
   3 · CLOCHE de porte — petite oscillation
───────────────────────────────────────────────────────────────── */
.shop-bell {
  fill: #e2a8a0;
  transform-origin: 50% 0;
  animation: bell-sway 3.8s ease-in-out infinite;
}
.shop-bell-string { stroke: #6b6557; stroke-width: 1.2; fill: none; }

@keyframes bell-sway {
  0%, 100% { transform: rotate(-2deg); }
  50%      { transform: rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .shop-bell { animation: none; }
}


/* ─────────────────────────────────────────────────────────────────
   4 · ÉTIQUETTES DE PRIX (price-tag) — suspendues à une ficelle
───────────────────────────────────────────────────────────────── */
.price-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.95rem 0.55rem 1.5rem;
  background: #f5ecd9;
  border: 1px solid rgba(12, 15, 26, 0.18);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0c0f1a;
  /* Coin gauche entaillé en triangle (forme étiquette classique) */
  clip-path: polygon(
    0.7rem 0,
    100% 0,
    100% 100%,
    0.7rem 100%,
    0 50%
  );
}
.price-tag::before {
  /* Œillet gauche (le trou pour la ficelle) */
  content: "";
  position: absolute;
  top: 50%;
  left: 0.95rem;
  width: 0.32rem;
  height: 0.32rem;
  background: rgba(12, 15, 26, 0.55);
  border-radius: 50%;
  transform: translateY(-50%);
}

.price-tag-bordeaux {
  background: #5a1224;
  color: #f5ecd9;
  border-color: rgba(245, 236, 217, 0.25);
}
.price-tag-bordeaux::before { background: rgba(245, 236, 217, 0.7); }

.price-tag-ink {
  background: #0c0f1a;
  color: #f5ecd9;
  border-color: rgba(245, 236, 217, 0.18);
}
.price-tag-ink::before { background: rgba(245, 236, 217, 0.7); }

.price-tag-accent {
  background: #6b8169;
  color: #f5ecd9;
}
.price-tag-accent::before { background: rgba(245, 236, 217, 0.85); }

/* Étiquette suspendue verticalement à un cordon */
.price-tag-hanging {
  display: inline-block;
  position: relative;
  padding-top: 1.4rem;
}
.price-tag-hanging::before {
  /* Cordon */
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 1.4rem;
  background: #6b6557;
  transform: translateX(-50%);
}
.price-tag-hanging .price-tag {
  display: flex;
  align-items: baseline;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.8rem 1.1rem 0.9rem 1.5rem;
  text-align: left;
  min-width: 9rem;
}


/* ─────────────────────────────────────────────────────────────────
   5 · TAMPONS (shop-stamp) — encre + rotation subtile
───────────────────────────────────────────────────────────────── */
.shop-stamp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border: 2px solid currentColor;
  border-radius: 4px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5a1224;
  background: transparent;
  position: relative;
  transform: rotate(-3deg);
  /* Double bordure type tampon */
  box-shadow: inset 0 0 0 1px rgba(90, 18, 36, 0.35);
}
.shop-stamp.is-skew-right { transform: rotate(2deg); }
.shop-stamp.is-skew-left  { transform: rotate(-5deg); }

.shop-stamp-ink   { color: #0c0f1a; box-shadow: inset 0 0 0 1px rgba(12, 15, 26, 0.35); }
.shop-stamp-accent { color: #6b8169; box-shadow: inset 0 0 0 1px rgba(107, 129, 105, 0.35); }


/* ─────────────────────────────────────────────────────────────────
   6 · CODE-BARRE — pattern décoratif
───────────────────────────────────────────────────────────────── */
.barcode {
  display: inline-block;
  height: 32px;
  width: 110px;
  background-image: linear-gradient(
    90deg,
    #0c0f1a 0,   #0c0f1a 2px,
    transparent 2px,  transparent 4px,
    #0c0f1a 4px, #0c0f1a 5px,
    transparent 5px,  transparent 8px,
    #0c0f1a 8px, #0c0f1a 11px,
    transparent 11px, transparent 13px,
    #0c0f1a 13px, #0c0f1a 14px,
    transparent 14px, transparent 17px,
    #0c0f1a 17px, #0c0f1a 20px,
    transparent 20px, transparent 22px,
    #0c0f1a 22px, #0c0f1a 23px,
    transparent 23px, transparent 26px,
    #0c0f1a 26px, #0c0f1a 28px,
    transparent 28px, transparent 32px
  );
  background-size: 32px 100%;
  background-repeat: repeat-x;
  position: relative;
}
.barcode-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: #6b6557;
  margin-top: 2px;
  display: block;
}
.barcode-cream {
  background-image: linear-gradient(
    90deg,
    #f5ecd9 0,   #f5ecd9 2px,
    transparent 2px,  transparent 4px,
    #f5ecd9 4px, #f5ecd9 5px,
    transparent 5px,  transparent 8px,
    #f5ecd9 8px, #f5ecd9 11px,
    transparent 11px, transparent 13px,
    #f5ecd9 13px, #f5ecd9 14px,
    transparent 14px, transparent 17px,
    #f5ecd9 17px, #f5ecd9 20px,
    transparent 20px, transparent 22px,
    #f5ecd9 22px, #f5ecd9 23px,
    transparent 23px, transparent 26px,
    #f5ecd9 26px, #f5ecd9 28px,
    transparent 28px, transparent 32px
  );
}


/* ─────────────────────────────────────────────────────────────────
   7 · TICKET DE CAISSE (receipt) — bord dentelé bas + ombre
───────────────────────────────────────────────────────────────── */
.receipt {
  position: relative;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-bottom: none;
  padding: 1.5rem 1.5rem 2.2rem;
  box-shadow: 0 14px 28px -18px rgba(12, 15, 26, 0.25);
  /* Bord dentelé bas via mask */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 14px), transparent calc(100% - 14px)),
                      radial-gradient(circle 7px at 7px 100%, transparent 6.5px, #000 7px);
  -webkit-mask-composite: source-over;
          mask-image: linear-gradient(180deg, #000 calc(100% - 14px), transparent calc(100% - 14px)),
                      radial-gradient(circle 7px at 7px 100%, transparent 6.5px, #000 7px);
}
.receipt::after {
  /* Frange dentelée bottom — simulée par radial-gradient repeat */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 14px;
  background:
    radial-gradient(circle at 7px 14px, transparent 6px, #fdf6e3 6.5px) 0 0 / 14px 14px repeat-x;
}

.receipt-head {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6557;
  text-align: center;
  border-bottom: 1px dashed rgba(12, 15, 26, 0.25);
  padding-bottom: 0.8rem;
  margin-bottom: 0.9rem;
}
.receipt-line {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
  color: #0c0f1a;
}
.receipt-line.is-total {
  border-top: 1px dashed rgba(12, 15, 26, 0.35);
  margin-top: 0.5rem;
  padding-top: 0.7rem;
  font-weight: 600;
  font-size: 0.88rem;
}


/* ─────────────────────────────────────────────────────────────────
   8 · CARDS RAYON (modules anatomie) — étagère + numéro géant
───────────────────────────────────────────────────────────────── */
.aisle-card {
  position: relative;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 14px;
  padding: 2rem 1.75rem 1.75rem;
  overflow: hidden;
  transition: border-color 0.5s ease, transform 0.5s ease;
}
.aisle-card::before {
  /* Étagère décorative bas */
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background: linear-gradient(180deg, #5a1224 0, #3a0a17 100%);
}
.aisle-card::after {
  /* Trait clair sur l'étagère pour effet de lumière */
  content: "";
  position: absolute;
  left: 8%; right: 8%; bottom: 6px;
  height: 1px;
  background: rgba(245, 236, 217, 0.2);
}
.aisle-card:hover {
  border-color: rgba(90, 18, 36, 0.4);
  transform: translateY(-3px);
}
.aisle-card-num {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  font-family: "Fraunces", "Times New Roman", serif;
  font-style: italic;
  font-size: 4.5rem;
  line-height: 0.85;
  color: rgba(90, 18, 36, 0.08);
  pointer-events: none;
  user-select: none;
}
.aisle-card-tag {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6557;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(12, 15, 26, 0.1);
  margin-bottom: 1.1rem;
}


/* ─────────────────────────────────────────────────────────────────
   9 · PAYMENT TICKETS — moyens de paiement style cartes vintage
───────────────────────────────────────────────────────────────── */
.payment-ticket {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.4rem 1.3rem 1.2rem;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.12);
  border-radius: 8px;
  box-shadow: 0 6px 18px -12px rgba(12, 15, 26, 0.25);
  overflow: hidden;
}
.payment-ticket::before {
  /* Perforation gauche type carte de transport */
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 14px;
  width: 1px;
  border-left: 1.2px dashed rgba(12, 15, 26, 0.2);
}
.payment-ticket-corner {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  background: #5a1224;
  transform: rotate(45deg);
}


/* ─────────────────────────────────────────────────────────────────
   10 · MARQUEE STRIP "shop" — variante avec pictogrammes commerce
───────────────────────────────────────────────────────────────── */
.shop-strip {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(12, 15, 26, 0.1);
  border-bottom: 1px solid rgba(12, 15, 26, 0.1);
  background: #5a1224;
  color: #f5ecd9;
  padding: 0.85rem 0;
}
.shop-strip-track {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  white-space: nowrap;
  animation: shop-strip-scroll 32s linear infinite;
  width: max-content;
}
.shop-strip-item {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f5ecd9;
}
.shop-strip-glyph {
  color: #e2a8a0;
  font-size: 0.9rem;
}
@keyframes shop-strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .shop-strip-track { animation: none; }
}


/* ─────────────────────────────────────────────────────────────────
   11 · BIG "OPEN" — pour les sections cassantes
───────────────────────────────────────────────────────────────── */
.open-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid #e2a8a0;
  border-radius: 999px;
  background: rgba(226, 168, 160, 0.08);
  color: #e2a8a0;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.open-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e2a8a0;
  animation: pulse-dot 1.6s ease-in-out infinite;
  box-shadow: 0 0 6px rgba(226, 168, 160, 0.8);
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .open-badge .dot { animation: none; }
}


/* ─────────────────────────────────────────────────────────────────
   12 · MOTIF AUVENT RAYÉ — overlay sectionnable
───────────────────────────────────────────────────────────────── */
.awning-strip {
  background-image: repeating-linear-gradient(
    -45deg,
    #5a1224 0,
    #5a1224 14px,
    #f5ecd9 14px,
    #f5ecd9 28px
  );
  height: 14px;
  width: 100%;
  border-bottom: 1px solid rgba(12, 15, 26, 0.18);
}

.awning-strip-ink {
  background-image: repeating-linear-gradient(
    -45deg,
    #0c0f1a 0,
    #0c0f1a 14px,
    #e2a8a0 14px,
    #e2a8a0 28px
  );
}


/* ─────────────────────────────────────────────────────────────────
   13 · ÉTAGÈRES (shelf) — séparateur de section type rayon
───────────────────────────────────────────────────────────────── */
.shelf-divider {
  position: relative;
  height: 28px;
  margin: 0;
  background: linear-gradient(180deg, #5a1224 0, #3a0a17 100%);
}
.shelf-divider::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: rgba(245, 236, 217, 0.25);
}


/* ─────────────────────────────────────────────────────────────────
   14 · "CART-COUNTER" — petit compteur de panier dans le hero
───────────────────────────────────────────────────────────────── */
.cart-counter {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.9rem;
  border: 1px dashed rgba(12, 15, 26, 0.3);
  background: rgba(245, 236, 217, 0.5);
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0c0f1a;
}
.cart-counter-num {
  font-family: "Fraunces", "Times New Roman", serif;
  font-style: italic;
  font-size: 1.2rem;
  font-weight: 600;
  color: #5a1224;
  line-height: 0.8;
}


/* ═════════════════════════════════════════════════════════════════
   PARTIE 2 — vrais composants e-commerce
   Sub-navbar shop · fiches produits · tracker commande ·
   reviews · checkout · paiement · badges & étoiles
═════════════════════════════════════════════════════════════════ */


/* ─────────────────────────────────────────────────────────────────
   15 · SHOP TOPBAR — bandeau promo type "free shipping"
───────────────────────────────────────────────────────────────── */
.shop-topbar {
  background: #0c0f1a;
  color: #f5ecd9;
  padding: 0.5rem 1rem;
  text-align: center;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  z-index: 5;
  border-bottom: 1px solid rgba(245, 236, 217, 0.1);
}
.shop-topbar-track {
  display: inline-flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
  justify-content: center;
}
.shop-topbar-gift {
  color: #e2a8a0;
  font-style: normal;
  letter-spacing: 0;
}
.shop-topbar a {
  color: #f5ecd9;
  text-decoration: underline;
  text-decoration-color: rgba(245, 236, 217, 0.4);
  text-underline-offset: 3px;
}
.shop-topbar a:hover { color: #e2a8a0; }


/* ─────────────────────────────────────────────────────────────────
   16 · SHOP SUB-NAVBAR — logo + search + icons compte/wishlist/panier
───────────────────────────────────────────────────────────────── */
.shop-subnav {
  background: #fdf6e3;
  border-bottom: 1px solid rgba(12, 15, 26, 0.12);
  padding: 0.85rem 0;
  position: sticky;
  top: var(--navbar-h, 72px);
  z-index: 4;
  backdrop-filter: blur(6px);
  background: rgba(253, 246, 227, 0.95);
}
.shop-subnav-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.shop-subnav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.15rem;
  color: #0c0f1a;
  white-space: nowrap;
  flex: none;
}
.shop-subnav-logo-glyph {
  width: 24px;
  height: 24px;
  background: #5a1224;
  position: relative;
  flex: none;
}
.shop-subnav-logo-glyph::before,
.shop-subnav-logo-glyph::after {
  content: "";
  position: absolute;
  inset: 0;
}
.shop-subnav-logo-glyph::before {
  background: #e2a8a0;
  clip-path: polygon(0 100%, 50% 30%, 100% 100%);
}
.shop-subnav-logo-glyph::after {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f5ecd9;
  inset: auto auto 4px 4px;
}
.shop-subnav-logo small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6557;
  margin-top: -2px;
}

.shop-search {
  flex: 1;
  position: relative;
  max-width: 460px;
}
.shop-search-input {
  width: 100%;
  padding: 0.55rem 0.9rem 0.55rem 2.4rem;
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  background: rgba(245, 236, 217, 0.55);
  border: 1px solid rgba(12, 15, 26, 0.15);
  border-radius: 999px;
  color: #0c0f1a;
  transition: border-color 0.2s, background 0.2s;
}
.shop-search-input::placeholder { color: rgba(107, 101, 87, 0.7); font-style: italic; }
.shop-search-input:focus {
  outline: none;
  border-color: #5a1224;
  background: #f5ecd9;
}
.shop-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #6b6557;
  font-size: 0.85rem;
  pointer-events: none;
}

.shop-icons {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}
.shop-icon-btn {
  position: relative;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(12, 15, 26, 0.15);
  border-radius: 50%;
  background: rgba(245, 236, 217, 0.4);
  color: #0c0f1a;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
  cursor: pointer;
}
.shop-icon-btn:hover {
  background: #5a1224;
  color: #f5ecd9;
  border-color: #5a1224;
  transform: translateY(-1px);
}
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #5a1224;
  color: #f5ecd9;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fdf6e3;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-badge.is-pulse {
  animation: cart-bump 0.55s ease-out;
}
@keyframes cart-bump {
  0%   { transform: scale(1); }
  35%  { transform: scale(1.35); }
  60%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}


/* ─────────────────────────────────────────────────────────────────
   17 · STARS RATING — système d'étoiles
───────────────────────────────────────────────────────────────── */
.stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  color: #d4af3a;
  font-size: 0.85rem;
  line-height: 1;
}
.stars-lg { font-size: 1.1rem; }
.stars-sm { font-size: 0.72rem; }
.stars-empty { color: rgba(12, 15, 26, 0.18); }
.stars-rating {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  color: #6b6557;
  margin-left: 0.4rem;
  letter-spacing: 0.06em;
}
.stars-rating strong { color: #0c0f1a; font-weight: 600; }


/* ─────────────────────────────────────────────────────────────────
   18 · PRODUCT CARDS — fiche produit complète
───────────────────────────────────────────────────────────────── */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -22px rgba(12, 15, 26, 0.3);
  border-color: rgba(90, 18, 36, 0.4);
}

.product-card-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #5a1224 0%, #3a0a17 100%);
}
.product-card-cover.is-marine {
  background: linear-gradient(135deg, #13234f 0%, #0a1538 100%);
}
.product-card-cover.is-accent {
  background: linear-gradient(135deg, #6b8169 0%, #4d5e4b 100%);
}
.product-card-cover.is-ink {
  background: linear-gradient(135deg, #0c0f1a 0%, #1a1a26 100%);
}
.product-card-cover.is-cream {
  background: linear-gradient(135deg, #ece5d6 0%, #d8cfb8 100%);
  color: #0c0f1a;
}
.product-card-cover.is-warn {
  background: repeating-linear-gradient(45deg, #1a0a10 0 10px, #2a1218 10px 20px);
}

/* Glyphe filigrane dans le cover */
.product-card-glyph {
  position: absolute;
  top: -10%;
  right: -5%;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 11rem;
  color: rgba(245, 236, 217, 0.12);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
}
.product-card-cover.is-cream .product-card-glyph { color: rgba(90, 18, 36, 0.08); }

.product-card-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: rgba(245, 236, 217, 0.8);
  font-size: 4rem;
}
.product-card-cover.is-cream .product-card-icon { color: #5a1224; }

/* Badges flottants sur le cover */
.product-card-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.32rem 0.7rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  z-index: 2;
}
.product-card-badge.is-bestseller {
  background: #e2a8a0;
  color: #5a1224;
}
.product-card-badge.is-new {
  background: #6b8169;
  color: #f5ecd9;
}
.product-card-badge.is-limited {
  background: #0c0f1a;
  color: #e2a8a0;
}
.product-card-badge.is-avoid {
  background: #b00020;
  color: #f5ecd9;
  letter-spacing: 0.15em;
}
.product-card-badge.is-included {
  background: #f5ecd9;
  color: #5a1224;
  border: 1.5px solid #5a1224;
  letter-spacing: 0.14em;
}

/* Wishlist heart top-right */
.product-card-wishlist {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 236, 217, 0.9);
  color: #5a1224;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  z-index: 2;
  border: none;
}
.product-card-wishlist:hover {
  background: #5a1224;
  color: #f5ecd9;
  transform: scale(1.1);
}

.product-card-body {
  padding: 1.1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1;
}
.product-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6557;
}
.product-card-title {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  color: #0c0f1a;
  letter-spacing: -0.01em;
}
.product-card-title em { color: #5a1224; font-style: italic; }
.product-card-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: rgba(12, 15, 26, 0.78);
  line-height: 1.55;
}
.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(12, 15, 26, 0.08);
}
.product-card-price {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.2rem;
  color: #5a1224;
  line-height: 1;
}
.product-card-price-from {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b6557;
  font-style: normal;
  display: block;
  margin-bottom: 1px;
}
.product-card-price s {
  font-family: "JetBrains Mono", monospace;
  font-style: normal;
  font-size: 0.78rem;
  color: #6b6557;
  margin-right: 0.4rem;
}
.product-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: #0c0f1a;
  color: #f5ecd9;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.product-card-cta:hover {
  background: #5a1224;
  transform: translateY(-1px);
}
.product-card-cta.is-disabled {
  background: rgba(12, 15, 26, 0.15);
  color: rgba(12, 15, 26, 0.4);
  cursor: not-allowed;
}


/* Variantes swatches */
.product-swatches {
  display: flex;
  gap: 0.4rem;
}
.product-swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #fdf6e3;
  outline: 1px solid rgba(12, 15, 26, 0.15);
  cursor: pointer;
}


/* ─────────────────────────────────────────────────────────────────
   19 · PRODUCT TOOLBAR — filtres + tri + nb résultats
───────────────────────────────────────────────────────────────── */
.product-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(245, 236, 217, 0.55);
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 10px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
}
.product-toolbar-count {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b6557;
}
.product-toolbar-count strong {
  color: #0c0f1a;
  font-weight: 600;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.15rem;
  margin-right: 0.3rem;
}
.product-toolbar-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b6557;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.product-toolbar-sort select {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  background: transparent;
  border: none;
  color: #0c0f1a;
  font-weight: 500;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: none;
}
.product-toolbar-view {
  display: inline-flex;
  gap: 0.25rem;
  margin-left: auto;
}
.product-toolbar-view button {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(12, 15, 26, 0.15);
  background: transparent;
  color: rgba(12, 15, 26, 0.5);
  cursor: pointer;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
}
.product-toolbar-view button.is-active {
  background: #0c0f1a;
  color: #f5ecd9;
  border-color: #0c0f1a;
}


/* ─────────────────────────────────────────────────────────────────
   20 · PRODUCT CHIPS — filtres catégories pill cliquables
───────────────────────────────────────────────────────────────── */
.product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.product-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.95rem;
  background: rgba(245, 236, 217, 0.6);
  border: 1px solid rgba(12, 15, 26, 0.15);
  border-radius: 999px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c0f1a;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.product-chip:hover {
  background: #f5ecd9;
  border-color: #5a1224;
}
.product-chip.is-active {
  background: #0c0f1a;
  color: #f5ecd9;
  border-color: #0c0f1a;
}
.product-chip-count {
  font-size: 0.62rem;
  padding: 0.05rem 0.4rem;
  background: rgba(12, 15, 26, 0.12);
  border-radius: 999px;
  font-weight: 600;
}
.product-chip.is-active .product-chip-count {
  background: rgba(245, 236, 217, 0.2);
  color: #f5ecd9;
}


/* ─────────────────────────────────────────────────────────────────
   21 · PRODUCT TABS — Description / Specs / Avis
───────────────────────────────────────────────────────────────── */
.product-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid rgba(12, 15, 26, 0.12);
  margin-bottom: 1rem;
}
.product-tab {
  padding: 0.7rem 0;
  margin-right: 1.5rem;
  border: none;
  background: transparent;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(12, 15, 26, 0.5);
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}
.product-tab:hover { color: #0c0f1a; }
.product-tab.is-active {
  color: #5a1224;
  font-weight: 500;
}
.product-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: #5a1224;
}
.product-tab-panel { display: none; }
.product-tab-panel.is-active { display: block; }


/* ─────────────────────────────────────────────────────────────────
   22 · GUARANTEE BADGES — comme une fiche produit Amazon
───────────────────────────────────────────────────────────────── */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.guarantee-badge {
  display: flex;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: rgba(245, 236, 217, 0.06);
  border: 1px solid rgba(245, 236, 217, 0.12);
  border-radius: 10px;
  align-items: flex-start;
  transition: background 0.3s;
}
.guarantee-badge:hover {
  background: rgba(245, 236, 217, 0.1);
  border-color: rgba(226, 168, 160, 0.4);
}
.guarantee-badge-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(226, 168, 160, 0.15);
  color: #e2a8a0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.guarantee-badge-title {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  color: #f5ecd9;
  line-height: 1.2;
  margin-bottom: 0.2rem;
}
.guarantee-badge-desc {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(245, 236, 217, 0.72);
}


/* ─────────────────────────────────────────────────────────────────
   23 · ORDER TRACKER — progress bar 6 étapes type Amazon
───────────────────────────────────────────────────────────────── */
.order-tracker {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  padding: 2rem 0 0;
}
@media (max-width: 768px) {
  .order-tracker {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    padding-top: 0;
  }
}
.order-tracker-line {
  position: absolute;
  top: 2rem;
  left: 8.33%;
  right: 8.33%;
  height: 2px;
  background: rgba(245, 236, 217, 0.15);
  z-index: 0;
}
.order-tracker-line-fill {
  height: 100%;
  background: #e2a8a0;
  width: 0;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (max-width: 768px) {
  .order-tracker-line { display: none; }
}

.order-tracker-step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 0 0.5rem;
}
@media (max-width: 768px) {
  .order-tracker-step {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
    gap: 1rem;
    padding: 0;
  }
}
.order-tracker-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0c0f1a;
  border: 2px solid rgba(245, 236, 217, 0.15);
  color: rgba(245, 236, 217, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: none;
  position: relative;
  transition: all 0.5s ease;
}
.order-tracker-step.is-done .order-tracker-dot {
  background: #e2a8a0;
  border-color: #e2a8a0;
  color: #5a1224;
}
.order-tracker-step.is-current .order-tracker-dot {
  background: #5a1224;
  border-color: #e2a8a0;
  color: #f5ecd9;
  box-shadow: 0 0 0 6px rgba(226, 168, 160, 0.18);
  animation: tracker-pulse 2s ease-in-out infinite;
}
@keyframes tracker-pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(226, 168, 160, 0.18); }
  50%      { box-shadow: 0 0 0 12px rgba(226, 168, 160, 0.06); }
}
.order-tracker-step-num {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px;
  height: 22px;
  background: #fdf6e3;
  color: #0c0f1a;
  border-radius: 50%;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-tracker-step.is-done .order-tracker-step-num,
.order-tracker-step.is-current .order-tracker-step-num {
  background: #5a1224;
  color: #f5ecd9;
}
.order-tracker-step-label {
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
  color: #f5ecd9;
  line-height: 1.2;
}
.order-tracker-step-date {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.55);
}
.order-tracker-step.is-current .order-tracker-step-date { color: #e2a8a0; }


/* ─────────────────────────────────────────────────────────────────
   24 · REVIEW CARDS — avis vérifiés type Trustpilot
───────────────────────────────────────────────────────────────── */
.review-card {
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 12px;
  padding: 1.8rem;
  position: relative;
}
.review-card-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(12, 15, 26, 0.08);
}
.review-avatar {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #5a1224;
  color: #f5ecd9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 500;
}
.review-name {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  color: #0c0f1a;
  line-height: 1.1;
}
.review-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #6b6557;
  margin-top: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.5rem;
  background: rgba(107, 129, 105, 0.12);
  color: #4d5e4b;
  border-radius: 4px;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}
.review-stars-row {
  margin-left: auto;
}
.review-title {
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #0c0f1a;
  line-height: 1.2;
  margin-bottom: 0.8rem;
}
.review-body {
  font-family: "Inter", sans-serif;
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(12, 15, 26, 0.82);
}
.review-body p + p { margin-top: 0.7rem; }
.review-photos {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.review-photo {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  background: linear-gradient(135deg, #5a1224 0%, #3a0a17 100%);
  flex: none;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(245, 236, 217, 0.6);
  font-size: 1.2rem;
}
.review-photo.is-marine { background: linear-gradient(135deg, #13234f 0%, #0a1538 100%); }
.review-photo.is-accent { background: linear-gradient(135deg, #6b8169 0%, #4d5e4b 100%); }

.review-reply {
  margin-top: 1.2rem;
  padding: 1rem 1.2rem;
  background: rgba(245, 236, 217, 0.6);
  border-left: 3px solid #5a1224;
  border-radius: 4px;
}
.review-reply-head {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a1224;
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.review-reply-body {
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: rgba(12, 15, 26, 0.75);
  line-height: 1.55;
}
.review-helpful {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(12, 15, 26, 0.1);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  color: #6b6557;
}
.review-helpful button {
  background: transparent;
  border: 1px solid rgba(12, 15, 26, 0.15);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  color: #0c0f1a;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
}
.review-helpful button:hover { background: rgba(12, 15, 26, 0.05); }


/* ─────────────────────────────────────────────────────────────────
   25 · PAYMENT LOGOS BAR — méthodes acceptées
───────────────────────────────────────────────────────────────── */
.payment-logos-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
}
.payment-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  min-width: 60px;
  padding: 0 0.85rem;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.12);
  border-radius: 6px;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  color: #0c0f1a;
  letter-spacing: -0.01em;
}
.payment-logo.is-visa { color: #1a1f71; font-style: italic; font-size: 0.9rem; }
.payment-logo.is-mc {
  background: linear-gradient(90deg, #fdf6e3 50%, #fdf6e3 50%);
  position: relative;
  font-size: 0.7rem;
  padding-left: 2.4rem;
}
.payment-logo.is-mc::before, .payment-logo.is-mc::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translateY(-50%);
}
.payment-logo.is-mc::before { left: 0.6rem; background: #eb001b; opacity: 0.85; }
.payment-logo.is-mc::after { left: 1.3rem; background: #f79e1b; opacity: 0.85; mix-blend-mode: multiply; }
.payment-logo.is-amex { background: #006fcf; color: #fff; font-size: 0.7rem; }
.payment-logo.is-apple {
  background: #0c0f1a;
  color: #f5ecd9;
  font-size: 0.85rem;
}
.payment-logo.is-google {
  background: #fff;
  color: #5f6368;
  font-size: 0.8rem;
}
.payment-logo.is-stripe {
  background: #635bff;
  color: #fff;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
}
.payment-logo.is-paypal {
  background: #fff;
  color: #003087;
  font-style: italic;
  font-size: 0.82rem;
}
.payment-logo.is-mollie {
  background: #fff;
  color: #000;
  font-size: 0.85rem;
  font-weight: 700;
}
.payment-logo.is-sepa {
  background: #fdf6e3;
  color: #003087;
  font-weight: 700;
}


/* Trust badges sécurité */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  background: rgba(107, 129, 105, 0.1);
  color: #4d5e4b;
  border: 1px solid rgba(107, 129, 105, 0.3);
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.trust-badge i { color: #6b8169; }


/* ─────────────────────────────────────────────────────────────────
   26 · CHECKOUT RECAP — récap commande final
───────────────────────────────────────────────────────────────── */
.checkout-recap {
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.12);
  border-radius: 14px;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}
.checkout-recap::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #5a1224 0%, #e2a8a0 50%, #5a1224 100%);
}
.checkout-recap-title {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6557;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(12, 15, 26, 0.1);
  margin-bottom: 0.95rem;
  display: flex;
  justify-content: space-between;
}
.checkout-line {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px dashed rgba(12, 15, 26, 0.08);
  align-items: center;
}
.checkout-line:last-of-type { border-bottom: none; }
.checkout-line-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(135deg, #5a1224, #3a0a17);
  color: #f5ecd9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.checkout-line-thumb.is-marine { background: linear-gradient(135deg, #13234f, #0a1538); }
.checkout-line-thumb.is-accent { background: linear-gradient(135deg, #6b8169, #4d5e4b); }
.checkout-line-thumb.is-ink { background: linear-gradient(135deg, #0c0f1a, #1a1a26); }
.checkout-line-name {
  font-family: "Fraunces", serif;
  font-size: 0.95rem;
  color: #0c0f1a;
  line-height: 1.15;
}
.checkout-line-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
  margin-top: 0.15rem;
}
.checkout-line-price {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1rem;
  color: #5a1224;
}
.checkout-line-price.is-free { color: #6b8169; }
.checkout-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(12, 15, 26, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.checkout-total-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0c0f1a;
  font-weight: 600;
}
.checkout-total-value {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.85rem;
  color: #5a1224;
  line-height: 1;
}


/* ─────────────────────────────────────────────────────────────────
   27 · LIVE NOTIFICATIONS — toast type "X vient d'acheter"
───────────────────────────────────────────────────────────────── */
.live-notif {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  max-width: 320px;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  background: rgba(12, 15, 26, 0.92);
  backdrop-filter: blur(8px);
  color: #f5ecd9;
  border-radius: 10px;
  border: 1px solid rgba(226, 168, 160, 0.25);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 18px 40px -16px rgba(12, 15, 26, 0.7);
  z-index: 50;
  opacity: 0;
  transform: translateY(20px) translateX(-10px);
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.live-notif.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
  pointer-events: auto;
}
.live-notif-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e2a8a0;
  color: #5a1224;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.95rem;
  flex: none;
}
.live-notif-body {
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  line-height: 1.4;
  color: #f5ecd9;
}
.live-notif-body strong { color: #e2a8a0; font-weight: 600; }
.live-notif-body small {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.6rem;
  color: rgba(245, 236, 217, 0.55);
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}
.live-notif-close {
  position: absolute;
  top: 0.3rem;
  right: 0.5rem;
  background: transparent;
  border: none;
  color: rgba(245, 236, 217, 0.4);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.2rem;
}
.live-notif-close:hover { color: #e2a8a0; }


/* ─────────────────────────────────────────────────────────────────
   28 · CART TOAST — confirmation "ajouté au panier"
───────────────────────────────────────────────────────────────── */
.cart-toast {
  position: fixed;
  top: 5.5rem;
  right: 1.2rem;
  max-width: 320px;
  padding: 0.95rem 1.1rem;
  background: #6b8169;
  color: #f5ecd9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: 0 14px 32px -14px rgba(12, 15, 26, 0.5);
  z-index: 60;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.35s, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
}
.cart-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cart-toast i {
  font-size: 1.1rem;
  color: #f5ecd9;
}


/* ─────────────────────────────────────────────────────────────────
   29 · HELP CATEGORIES — centre d'aide
───────────────────────────────────────────────────────────────── */
.help-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}
.help-search-input {
  width: 100%;
  padding: 1rem 1.4rem 1rem 3rem;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.15);
  border-radius: 999px;
  color: #0c0f1a;
  box-shadow: 0 4px 16px -8px rgba(12, 15, 26, 0.15);
}
.help-search-input::placeholder { font-style: italic; color: #6b6557; }
.help-search-input:focus { outline: none; border-color: #5a1224; }
.help-search-icon {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: #5a1224;
  font-size: 1rem;
  pointer-events: none;
}

.help-cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto 3rem;
}
.help-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.4rem 1rem;
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 10px;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.help-cat:hover {
  border-color: #5a1224;
  transform: translateY(-2px);
}
.help-cat-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(90, 18, 36, 0.08);
  color: #5a1224;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
}
.help-cat-title {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  color: #0c0f1a;
  margin-bottom: 0.3rem;
}
.help-cat-count {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
}


/* ─────────────────────────────────────────────────────────────────
   30 · STOCK INDICATOR — "Plus que X en stock"
───────────────────────────────────────────────────────────────── */
.stock-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.65rem;
  background: rgba(107, 129, 105, 0.1);
  color: #4d5e4b;
  border-radius: 4px;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}
.stock-indicator i { font-size: 0.7rem; }
.stock-indicator.is-low {
  background: rgba(176, 0, 32, 0.1);
  color: #b00020;
}
.stock-indicator.is-out {
  background: rgba(12, 15, 26, 0.08);
  color: rgba(12, 15, 26, 0.55);
}
.stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: stock-blink 1.4s ease-in-out infinite;
}
@keyframes stock-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .stock-dot { animation: none; }
}


/* ─────────────────────────────────────────────────────────────────
   31 · BREADCRUMB SHOP — fil d'Ariane
───────────────────────────────────────────────────────────────── */
.shop-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6557;
  margin-bottom: 1rem;
}
.shop-breadcrumb a {
  color: #6b6557;
  text-decoration: none;
}
.shop-breadcrumb a:hover { color: #5a1224; }
.shop-breadcrumb .sep { color: rgba(12, 15, 26, 0.25); }
.shop-breadcrumb .current { color: #0c0f1a; font-weight: 500; }


/* ─────────────────────────────────────────────────────────────────
   32 · SPECS SHEET — caractéristiques techniques style Apple
───────────────────────────────────────────────────────────────── */
.spec-sheet {
  background: #fdf6e3;
  border: 1px solid rgba(12, 15, 26, 0.1);
  border-radius: 12px;
  overflow: hidden;
}
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid rgba(12, 15, 26, 0.08);
}
.spec-row:last-child { border-bottom: none; }
.spec-row:nth-child(odd) { background: rgba(245, 236, 217, 0.4); }
@media (max-width: 640px) {
  .spec-row { grid-template-columns: 1fr; gap: 0.4rem; }
}
.spec-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6557;
  align-self: center;
}
.spec-value {
  font-family: "Fraunces", serif;
  font-size: 1rem;
  color: #0c0f1a;
  font-weight: 500;
  align-self: center;
}
.spec-value em { color: #5a1224; font-style: italic; }


/* ─────────────────────────────────────────────────────────────────
   33 · PROMO BANNER — countdown / discount
───────────────────────────────────────────────────────────────── */
.promo-banner {
  position: relative;
  background: linear-gradient(135deg, #5a1224 0%, #3a0a17 100%);
  color: #f5ecd9;
  padding: 1.5rem 1.8rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  overflow: hidden;
}
.promo-banner::before {
  /* Motif décoratif côté droit (auvent rayé) */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px;
  height: 100%;
  background: repeating-linear-gradient(45deg, transparent 0 10px, rgba(245, 236, 217, 0.06) 10px 20px);
  opacity: 0.7;
}
.promo-banner-title {
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  line-height: 1.2;
}
.promo-banner-title em { color: #e2a8a0; font-style: italic; }
.promo-banner-meta {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(245, 236, 217, 0.75);
}


/* ─────────────────────────────────────────────────────────────────
   34 · MINI-CART FLOATING — sticky bottom-right pendant le scroll
───────────────────────────────────────────────────────────────── */
.mini-cart-float {
  position: fixed;
  bottom: 1.2rem;
  right: 1.2rem;
  z-index: 40;
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}
.mini-cart-float.is-visible { display: flex; }

.mini-cart-bubble {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 1rem 0.7rem 0.7rem;
  background: #0c0f1a;
  color: #f5ecd9;
  border-radius: 999px;
  box-shadow: 0 14px 32px -14px rgba(12, 15, 26, 0.6);
  border: 1px solid rgba(226, 168, 160, 0.3);
  cursor: pointer;
  transition: transform 0.2s;
}
.mini-cart-bubble:hover { transform: translateY(-2px); }
.mini-cart-bubble-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #5a1224;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #f5ecd9;
}
.mini-cart-bubble-text {
  font-family: "JetBrains Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mini-cart-bubble-text strong {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 600;
  color: #e2a8a0;
  margin-right: 0.3rem;
}

/* Helpers responsive : on cache la float-cart sur petits écrans */
@media (max-width: 640px) {
  .live-notif { display: none; }
}

