:root {
  --red: #f5212f;
  --red-dark: #b8131e;
  --white: #f2f2f2;
  --grey: #8a8a8a;
  --bg: #000;
  --panel: rgba(18, 18, 18, 0.85);
  --border: rgba(255, 255, 255, 0.1);
  --mx: 50vw;
  --my: 50vh;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body { min-height: 100%; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: "Montserrat", system-ui, sans-serif;
  overflow-x: hidden;
}

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

[hidden] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ===== Fond animé ===== */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.cursor-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mx) var(--my), rgba(245, 33, 47, 0.13), transparent 60%);
  transition: background 0.05s;
}

/* ===== Header ===== */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 48px);
  background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0));
  backdrop-filter: blur(2px);
}

.brand {
  font-family: "Exo 2", sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 1.6rem;
  text-decoration: none;
  letter-spacing: -0.5px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .3s, transform .3s;
}
.brand.visible { opacity: 1; transform: none; }
.brand-white { color: var(--white); }
.brand-red { color: var(--red); }

.actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  color: var(--white);
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn-red { background: var(--red); }
.btn-red:hover { box-shadow: 0 6px 24px rgba(245, 33, 47, .45); }
.btn-red:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }

.btn-ghost { border: 1px solid var(--border); background: rgba(255,255,255,.04); }
.btn-ghost:hover { border-color: var(--red); }

.btn-discord { background: #5865f2; }
.btn-discord:hover { box-shadow: 0 6px 24px rgba(88, 101, 242, .5); }

.btn-icon {
  position: relative;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
}
.btn-icon:hover { border-color: var(--red); }

.cart-count {
  position: absolute;
  top: -4px; right: -4px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  font-size: .72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.cart-count.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.35); } }

.btn-block { width: 100%; padding: 13px; }
.btn:disabled { cursor: wait; opacity: .6; transform: none; }

/* Compte connecté : bouton + menu déroulant */
.user-menu { position: relative; }
.user-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  transition: border-color .2s, background .2s;
}
.user-btn:hover, .user-btn[aria-expanded="true"] { border-color: var(--red); background: rgba(245,33,47,.08); }
.user-chevron { color: var(--grey); transition: transform .2s; }
.user-btn[aria-expanded="true"] .user-chevron { transform: rotate(180deg); }
.user-avatar {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  font-family: "Exo 2", sans-serif;
  font-weight: 800;
}
.user-name { font-weight: 600; font-size: .9rem; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 250px;
  padding: 8px;
  border-radius: 18px;
  background: #0e0e0e;
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0,0,0,.75);
  animation: fadeUp .18s ease-out;
  z-index: 30;
}
.ud-head { display: flex; align-items: center; gap: 12px; padding: 10px 10px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--border); }
.ud-head strong { display: block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ud-head span:not(.user-avatar) { color: var(--grey); font-size: .78rem; }
.ud-avatar { width: 40px; height: 40px; font-size: 1.1rem; }
.user-dropdown a, .user-dropdown button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  color: var(--white);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 500;
  text-align: left;
  transition: background .15s, color .15s;
}
.user-dropdown a svg, .user-dropdown button svg { color: var(--grey); transition: color .15s; }
.user-dropdown a:hover, .user-dropdown button:hover { background: rgba(245,33,47,.12); }
.user-dropdown a:hover svg { color: var(--red); }
.user-dropdown .ud-admin { color: #facc15; margin-bottom: 4px; background: rgba(250,204,21,.07); }
.user-dropdown .ud-admin svg { color: #facc15; }
.user-dropdown .ud-admin:hover { background: rgba(250,204,21,.14); }
.user-dropdown .ud-logout { margin-top: 6px; border-top: 1px solid var(--border); border-radius: 0 0 12px 12px; color: var(--grey); }
.user-dropdown .ud-logout:hover, .user-dropdown .ud-logout:hover svg { color: var(--red); }

/* Fenêtre de confirmation */
.confirm-overlay { z-index: 90; }
.confirm-modal { text-align: center; display: grid; justify-items: center; gap: 10px; padding-top: 30px; }
.confirm-modal h2 { font-family: "Exo 2", sans-serif; font-size: 1.25rem; }
.confirm-modal p { color: var(--grey); font-size: .9rem; line-height: 1.5; }
.confirm-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: "Exo 2", sans-serif; font-weight: 800; font-size: 1.6rem; background: rgba(96,165,250,.12); color: #60a5fa; }
.confirm-icon.danger { background: rgba(245,33,47,.12); color: var(--red); }
.confirm-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; width: 100%; }
.confirm-actions .btn { flex: 1; min-width: 140px; }
.btn-danger-solid { background: var(--red); color: var(--white); }
.btn-danger-solid:hover { background: var(--red-dark); box-shadow: 0 6px 24px rgba(245,33,47,.45); }

/* Petit message en bas de l'écran */
.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 80;
  transform: translateX(-50%);
  padding: 14px 22px;
  border-radius: 14px;
  background: #111;
  border: 1px solid rgba(245,33,47,.5);
  box-shadow: 0 14px 40px rgba(0,0,0,.6);
  font-weight: 600;
  font-size: .9rem;
  animation: fadeUp .25s ease-out;
  transition: opacity .4s, transform .4s;
}
.toast.hide { opacity: 0; transform: translate(-50%, 10px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 90px 16px 40px;
}

.logo-wrap {
  position: relative;
  width: min(1100px, 100%);
  perspective: 900px;
  margin-bottom: -4%;
}

/* halo rouge derrière le logo, plus fort au survol */
.logo-wrap::before {
  content: "";
  position: absolute;
  inset: 25% 20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(245,33,47,.18), transparent);
  filter: blur(30px);
  opacity: .5;
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.logo-wrap:hover::before { opacity: 1; transform: scale(1.1); }

.logo-img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  /* contraste = le gris très foncé de l'image devient noir pur,
     puis "screen" rend le noir transparent → les effets du fond passent derrière */
  filter: contrast(1.3);
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 48%, #000 75%, transparent 100%);
  mask-image: radial-gradient(ellipse 55% 60% at 50% 48%, #000 75%, transparent 100%);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .15s ease-out;
  animation: logoIn 1s ease-out both;
  user-select: none;
  -webkit-user-drag: none;
}

@keyframes logoIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; }
}

/* ===== Compteur d'articles disponibles ===== */
.stock-pill {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(18,18,18,.8);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  font-size: .85rem;
  color: var(--grey);
  animation: fadeUp .8s .2s ease-out both;
}
.stock-pill strong {
  color: var(--white);
  font-family: "Exo 2", sans-serif;
  font-size: 1.05rem;
  min-width: 2ch;
  text-align: right;
}
.stock-dot {
  position: relative;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
}
.stock-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #4ade80;
  animation: stockPulse 1.8s ease-out infinite;
}
@keyframes stockPulse {
  from { transform: scale(1); opacity: .8; }
  to { transform: scale(3); opacity: 0; }
}

/* ===== Barre de recherche ===== */
.search {
  position: relative;
  width: min(720px, 100%);
  z-index: 5;
  animation: fadeUp .8s .3s ease-out both;
}

.search-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 20px;
  border-radius: 999px;
  background: var(--panel);
  border: 1px solid var(--border);
  box-shadow: 0 10px 40px rgba(0,0,0,.6);
  transition: transform .3s cubic-bezier(.2,.9,.3,1.3), border-color .3s, box-shadow .3s;
}
.search-bubble:hover { transform: scale(1.04); border-color: rgba(245,33,47,.5); }
.search-bubble:focus-within {
  transform: scale(1.06);
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(245,33,47,.15), 0 14px 50px rgba(245,33,47,.25);
}

.search-icon { color: var(--grey); flex-shrink: 0; transition: color .3s; }
.search-bubble:focus-within .search-icon { color: var(--red); }

#search-input {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  outline: none;
  color: var(--white);
  font: inherit;
  font-size: 1rem;
  padding: 10px 0;
}
#search-input::placeholder { color: #666; }

.search-submit {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--red);
  font-weight: 600;
  transition: background .2s, box-shadow .2s;
}
.search-submit:hover { background: var(--red-dark); box-shadow: 0 0 20px rgba(245,33,47,.5); }

.suggestions {
  list-style: none;
  position: absolute;
  top: calc(100% + 14px);
  left: 0; right: 0;
  background: #0e0e0e;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0,0,0,.8);
  max-height: 380px;
  overflow-y: auto;
  overflow: hidden;
  display: none;
}
.suggestions.open { display: block; animation: fadeUp .2s ease-out; }
.suggestions li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  cursor: pointer;
  transition: background .15s;
}
.suggestions li:hover, .suggestions li.active { background: rgba(245,33,47,.12); }
.suggestions .s-thumb {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 10px;
  object-fit: cover;
  background: #1a1a1a;
}
.suggestions .s-text { flex: 1; min-width: 0; }
.suggestions .s-price { font-weight: 600; color: var(--red); white-space: nowrap; }
.suggestions .s-go { color: var(--grey); transition: transform .2s, color .2s; }
.suggestions li:hover .s-go, .suggestions li.active .s-go { color: var(--red); transform: translateX(4px); }
.suggestions .s-name { font-weight: 600; }
.suggestions .s-meta { color: var(--grey); font-size: .82rem; }
.suggestions .s-best {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(245,33,47,.15);
  color: var(--red);
  font-size: .68rem;
  font-weight: 600;
  vertical-align: middle;
}
.suggestions .s-empty { color: var(--grey); cursor: default; }
.suggestions .s-empty:hover { background: none; }

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--grey);
  font-size: .85rem;
  animation: fadeUp .8s .45s ease-out both;
}
.tag {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: .82rem;
  color: var(--white);
  transition: border-color .2s, background .2s;
}
.tag:hover { border-color: var(--red); background: rgba(245,33,47,.1); }

/* ===== Étapes ===== */
.steps {
  list-style: none;
  /* 3 colonnes de même largeur : chaque étape est centrée dans sa partie de la bande */
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 10px 14px;
  width: min(1000px, 100%);
  margin-top: 34px;
  padding: 12px 18px;
  border-radius: 16px;
  background: rgba(15,15,15,.6);
  border: 1px solid var(--border);
  animation: fadeUp .8s .6s ease-out both;
}
.steps li { display: flex; align-items: center; justify-content: center; gap: 10px; }
.steps li div { display: grid; line-height: 1.25; }
.steps strong { font-family: "Exo 2", sans-serif; font-size: .92rem; }
.steps li div span { color: var(--grey); font-size: .75rem; }
.step-num { font-family: "Exo 2", sans-serif; font-style: italic; font-weight: 800; font-size: 1.3rem; color: var(--red); }
.step-arrow { color: #444; font-size: 1.4rem; }

/* ===== Flèches vers les articles, sur les côtés (seulement à l'arrivée) ===== */
.scroll-hint {
  position: fixed;
  bottom: 18px;
  z-index: 15;
  display: grid;
  justify-items: center;
  width: 44px;
  color: #fff;
  /* "difference" : la flèche reste visible quel que soit le fond (clair, sombre ou bleu) */
  mix-blend-mode: difference;
  opacity: .6;
  pointer-events: none;
  transition: opacity .35s;
  animation: hintIn .6s .8s backwards;
}
.scroll-hint-left { left: max(12px, calc((100vw - 1100px) / 4 - 22px)); }
.scroll-hint-right { right: max(12px, calc((100vw - 1100px) / 4 - 22px)); }
.scroll-hint.gone { opacity: 0; }
.scroll-hint svg {
  display: block;
  width: 44px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: hintFlow 1.8s ease-in-out infinite;
}
.scroll-hint svg:nth-child(2) { margin-top: -10px; animation-delay: .2s; }
.scroll-hint svg:nth-child(3) { margin-top: -10px; animation-delay: .4s; }
@keyframes hintIn { from { opacity: 0; } }
@keyframes hintFlow {
  0%   { opacity: 0; transform: translateY(-8px); }
  45%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(8px); }
}
/* Sans marge libre sur les côtés, les flèches passeraient sur le catalogue */
@media (max-width: 1239px) { .scroll-hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .scroll-hint svg { animation: none; }
}

.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 30px 16px;
  color: #555;
  font-size: .8rem;
  letter-spacing: 1px;
}

/* ===== Catalogue (page d'accueil) ===== */
.catalog { width: min(1100px, 100%); margin-top: 44px; animation: fadeUp .8s .7s ease-out both; }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.cat-head h2 { font-family: "Exo 2", sans-serif; font-size: 1.6rem; }
.cat-sub { color: var(--grey); font-size: .85rem; margin-top: 2px; }
.cat-sort { display: inline-flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--grey); }
.cat-sort select {
  padding: 10px 36px 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(18,18,18,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--white);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color .2s;
}
.cat-sort select:hover, .cat-sort select:focus { border-color: var(--red); }
.cat-sort select option { background: #111; }

.cat-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.cat-chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: rgba(18,18,18,.7); font-size: .82rem; font-weight: 600; color: var(--grey); transition: color .2s, border-color .2s, background .2s; }
.cat-chip span { margin-left: 4px; opacity: .6; font-weight: 500; }
.cat-chip:hover { color: var(--white); border-color: rgba(245,33,47,.5); }
.cat-chip.active { color: var(--white); border-color: var(--red); background: rgba(245,33,47,.15); }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.cat-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(13,13,13,.85);
  border: 1px solid var(--border);
  color: var(--white);
  text-decoration: none;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.cat-card:hover { transform: translateY(-5px); border-color: rgba(245,33,47,.55); box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.cat-img { aspect-ratio: 4 / 3; background: #111; overflow: hidden; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cat-brand { color: var(--grey); font-size: .68rem; letter-spacing: 2px; text-transform: uppercase; }
.cat-name { font-size: .92rem; line-height: 1.3; }
.cat-meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: var(--grey); font-size: .75rem; margin-top: auto; }
.cat-dots { display: inline-flex; align-items: center; gap: 4px; }
.cat-dots span { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.cat-dots em { font-style: normal; margin-left: 2px; }
.cat-price { font-family: "Exo 2", sans-serif; font-weight: 800; color: var(--red); font-size: 1.05rem; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ===== Overlays (modale + panier) ===== */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  animation: fade .2s;
}
.overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }

.close {
  position: absolute;
  top: 14px; right: 16px;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--grey);
  transition: color .2s, transform .2s;
}
.close:hover { color: var(--red); transform: rotate(90deg); }

.modal {
  position: relative;
  width: min(420px, calc(100% - 32px));
  padding: 34px 28px 28px;
  border-radius: 22px;
  background: #0d0d0d;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(245,33,47,.15);
  animation: pop .25s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes pop { from { transform: scale(.92); opacity: 0; } }

.tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
}
.tab {
  flex: 1;
  padding: 10px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--grey);
  transition: background .2s, color .2s;
}
.tab.active { background: var(--red); color: var(--white); }

.auth-form { display: none; flex-direction: column; gap: 14px; }
.auth-form.active { display: flex; }
.auth-form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--grey); }
.auth-form input {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--white);
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.auth-form input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(245,33,47,.15); }
.form-msg { font-size: .85rem; color: var(--red); text-align: center; min-height: 1em; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 100%);
  display: flex;
  flex-direction: column;
  background: #0b0b0b;
  border-left: 1px solid var(--border);
  animation: slideIn .3s ease-out;
}
@keyframes slideIn { from { transform: translateX(100%); } }
.drawer-head { position: relative; padding: 24px; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-family: "Exo 2", sans-serif; font-size: 1.3rem; }
.drawer-head .close { top: 20px; }
.cart-items { list-style: none; flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-items li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-items .empty { color: var(--grey); text-align: center; border: none; justify-content: center; padding-top: 40px; }
.ci-img { flex-shrink: 0; }
.ci-img img { display: block; width: 72px; height: 72px; object-fit: cover; border-radius: 12px; background: #1a1a1a; }
.ci-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ci-name { color: var(--white); font-weight: 600; text-decoration: none; font-size: .92rem; }
.ci-name:hover { color: var(--red); }
.ci-meta { color: var(--grey); font-size: .8rem; }
.ci-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.ci-price { font-weight: 600; }
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
}
.qty button { width: 28px; height: 28px; color: var(--grey); font-size: 1rem; }
.qty button:hover { color: var(--red); }
.qty span { min-width: 22px; text-align: center; font-size: .85rem; }
.cart-items .remove { color: var(--grey); font-size: 1.3rem; line-height: 1; padding: 0 2px; }
.cart-items .remove:hover { color: var(--red); }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--border); }
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; color: var(--grey); }
.cart-total-row strong { color: var(--white); font-size: 1.25rem; font-family: "Exo 2", sans-serif; }

/* ===== Page article ===== */
.product-page {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 96px clamp(16px, 4vw, 40px) 40px;
  min-height: 100vh;
  animation: fadeUp .5s ease-out both;
}

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--grey); margin-bottom: 22px; }
.breadcrumb a { color: var(--grey); text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .current { color: var(--white); }

.p-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

/* Galerie */
.g-main {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 20px;
  overflow: hidden;
  background: #0c0c0c;
  border: 1px solid var(--border);
  cursor: zoom-in;
}
.g-main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.g-main img.fade-in { animation: imgIn .35s ease-out; }
@keyframes imgIn { from { opacity: 0; transform: scale(.985); } }

.g-badge, .g-count, .g-zoom {
  position: absolute;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(6px);
  font-size: .75rem;
  font-weight: 600;
  pointer-events: none;
}
.g-badge { top: 14px; left: 14px; color: var(--red); border: 1px solid rgba(245,33,47,.4); }
.g-count { bottom: 14px; left: 14px; }
.g-zoom { bottom: 14px; right: 14px; display: inline-flex; align-items: center; gap: 6px; opacity: 0; transition: opacity .2s; }
.g-main:hover .g-zoom { opacity: 1; }

.g-nav {
  position: absolute;
  top: 50%;
  width: 44px; height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border);
  font-size: 1.6rem;
  line-height: 1;
  opacity: 0;
  transition: opacity .2s, background .2s, border-color .2s;
}
.g-prev { left: 14px; }
.g-next { right: 14px; }
.g-main:hover .g-nav { opacity: 1; }
.g-nav:hover { background: var(--red); border-color: var(--red); }

.g-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.g-thumb {
  flex-shrink: 0;
  width: 84px; height: 84px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: .55;
  transition: opacity .2s, border-color .2s, transform .2s;
}
.g-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.g-thumb:hover { opacity: 1; transform: translateY(-2px); }
.g-thumb.active { opacity: 1; border-color: var(--red); }

/* Infos */
.p-info {
  position: sticky;
  top: 96px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(13,13,13,.8);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
}
.p-brand { color: var(--grey); font-size: .78rem; letter-spacing: 3px; text-transform: uppercase; }
.p-title { font-family: "Exo 2", sans-serif; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; margin: 6px 0 10px; }
.p-price { font-family: "Exo 2", sans-serif; font-weight: 800; font-size: 1.8rem; color: var(--red); margin-bottom: 22px; }
.p-weight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: -10px 0 22px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  font-size: .82rem;
  color: var(--grey);
}
.p-weight svg { color: var(--red); }
.p-weight strong { color: var(--white); }
.p-weight span, .p-weight strong { white-space: nowrap; }

.p-block { margin-bottom: 22px; }
.p-block[hidden] { display: none; }
.p-label { font-size: .85rem; color: var(--grey); margin-bottom: 10px; }
.p-label strong { color: var(--white); }
.p-hint { color: var(--red); font-weight: 600; margin-left: 6px; }
.p-color-note { margin: -4px 0 10px; font-size: .75rem; color: var(--grey); font-style: italic; }

.options { display: flex; flex-wrap: wrap; gap: 8px; }
.opt {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  font-weight: 600;
  font-size: .88rem;
  transition: border-color .2s, background .2s, transform .15s;
}
.opt:hover { border-color: rgba(245,33,47,.6); transform: translateY(-1px); }
.opt.active { border-color: var(--red); background: rgba(245,33,47,.15); }
.opt-size { min-width: 56px; }
.opt-model { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; }
.opt-model img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: #1a1a1a; }
.opt-model-soon { width: 44px; height: 44px; border-radius: 8px; flex-shrink: 0; opacity: .5; border: 1px dashed rgba(255,255,255,.4); }

.swatches { display: flex; gap: 10px; }
.swatch {
  width: 40px; height: 40px;
  padding: 3px;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: border-color .2s, transform .2s;
}
.swatch span { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.swatch:hover { transform: scale(1.1); }
.swatch.active { border-color: var(--red); }

/* Couleur bientôt disponible */
.swatch.soon { position: relative; }
.swatch.soon span { opacity: .45; }
.swatch.soon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 70%; height: 2px;
  background: var(--red);
  transform: translate(-50%, -50%) rotate(-45deg);
  border-radius: 2px;
}

.g-main.is-soon { cursor: default; }
.g-main.is-soon img, .g-main.is-soon .g-nav, .g-main.is-soon .g-zoom, .g-main.is-soon .g-count { display: none; }
.g-soon {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
  background: radial-gradient(circle at center, rgba(245,33,47,.08), transparent 70%);
}
.g-soon[hidden] { display: none; }
.g-soon strong { font-family: "Exo 2", sans-serif; font-size: 1.4rem; }
.g-soon span:last-child { color: var(--grey); font-size: .9rem; }
.g-soon-dot { width: 64px; height: 64px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); margin-bottom: 6px; }

.options.disabled { opacity: .35; pointer-events: none; }

.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.btn-add { font-size: 1rem; padding: 15px; margin-top: 4px; }
.p-added { margin-top: 12px; font-size: .88rem; color: #4ade80; text-align: center; }
.p-added button { color: var(--white); text-decoration: underline; font-size: .88rem; margin-left: 6px; }
.p-added button:hover { color: var(--red); }

.p-perks { list-style: none; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); display: grid; gap: 10px; }
.p-perks li { position: relative; padding-left: 26px; font-size: .86rem; color: var(--grey); }
.p-perks li::before { content: "✓"; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.p-perks a { color: var(--white); }
.p-perks a:hover { color: var(--red); }

.p-empty { text-align: center; padding: 80px 16px; display: grid; justify-items: center; gap: 14px; }
.p-empty h1 { font-family: "Exo 2", sans-serif; }
.p-empty p { color: var(--grey); }

/* Visionneuse plein écran */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,.92);
  animation: fade .2s;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: 12px; }
.lb-close { position: absolute; top: 16px; right: 22px; font-size: 2.4rem; color: var(--grey); }
.lb-close:hover { color: var(--red); }
.lb-nav {
  position: absolute;
  top: 50%;
  width: 52px; height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  font-size: 2rem;
  line-height: 1;
}
.lb-nav:hover { background: var(--red); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-count { position: absolute; bottom: 20px; color: var(--grey); font-size: .85rem; }

/* ===== Mobile ===== */
/* ===== Espace compte ===== */
.account-page {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 96px clamp(16px, 4vw, 40px) 40px;
  min-height: 100vh;
  animation: fadeUp .5s ease-out both;
}

.acc-guest { text-align: center; padding: 70px 16px; display: grid; justify-items: center; gap: 14px; }
.acc-guest h1 { font-family: "Exo 2", sans-serif; font-size: 1.8rem; }
.acc-guest p { color: var(--grey); max-width: 420px; }
.acc-guest-icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; color: var(--red); background: rgba(245,33,47,.1); border: 1px solid rgba(245,33,47,.35); }
.acc-guest-actions { display: flex; gap: 10px; margin-top: 6px; }

.acc-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }

.acc-side {
  position: sticky;
  top: 96px;
  padding: 18px;
  border-radius: 20px;
  background: rgba(13,13,13,.85);
  border: 1px solid var(--border);
}
.acc-user { display: flex; align-items: center; gap: 12px; padding: 4px 4px 16px; margin-bottom: 10px; border-bottom: 1px solid var(--border); }
.acc-user strong { display: block; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acc-user span:not(.user-avatar) { color: var(--grey); font-size: .78rem; }
.acc-avatar { width: 46px; height: 46px; font-size: 1.3rem; }

.acc-nav { display: grid; gap: 4px; }
.acc-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-radius: 12px;
  color: var(--grey);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  transition: background .15s, color .15s;
}
.acc-nav a:hover { color: var(--white); background: rgba(255,255,255,.04); }
.acc-nav a.active { color: var(--white); background: rgba(245,33,47,.15); box-shadow: inset 3px 0 0 var(--red); }
.acc-count:not(:empty) { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: var(--red); color: var(--white); font-size: .72rem; text-align: center; }

.acc-section h1 { font-family: "Exo 2", sans-serif; font-size: 1.7rem; }
.acc-sub { color: var(--grey); font-size: .88rem; margin: 4px 0 20px; line-height: 1.5; }
.acc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.acc-head .btn { flex-shrink: 0; white-space: nowrap; }

.acc-card {
  position: relative;
  padding: 24px;
  margin-bottom: 18px;
  border-radius: 18px;
  background: rgba(13,13,13,.85);
  border: 1px solid var(--border);
}
.acc-card h2 { font-family: "Exo 2", sans-serif; font-size: 1.15rem; margin-bottom: 14px; }
.acc-card .acc-sub { margin-top: -6px; }

.acc-form { display: grid; gap: 14px; max-width: 560px; }
.acc-form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; color: var(--grey); }
.acc-form label small { color: #666; }
.acc-form input, .acc-form select {
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--white);
  font: inherit;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.acc-form select option { background: #111; }
.acc-form input:focus, .acc-form select:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(245,33,47,.15); }
.acc-form .acc-check { flex-direction: row; align-items: center; gap: 10px; color: var(--white); cursor: pointer; }
.acc-check input { width: 18px; height: 18px; accent-color: var(--red); }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.acc-grid .full { grid-column: 1 / -1; }
.addr-form { max-width: none; }

.acc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.acc-actions .form-msg { text-align: left; }
.form-msg.ok { color: #4ade80; }

.btn-danger { background: transparent; border: 1px solid rgba(245,33,47,.6); color: var(--red); }
.btn-danger:hover { background: var(--red); color: var(--white); }
.acc-danger { border-color: rgba(245,33,47,.3); }
.acc-danger h2 { color: var(--red); }

/* Adresses */
.addr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 18px; }
.addr-card { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.addr-card p { color: var(--grey); font-size: .88rem; line-height: 1.55; }
.addr-card.is-default { border-color: rgba(245,33,47,.55); }
.addr-badge { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: rgba(245,33,47,.15); color: var(--red); font-size: .72rem; font-weight: 700; }
.addr-phone { color: var(--white) !important; }
.addr-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border); }
.addr-actions button { font-size: .82rem; font-weight: 600; color: var(--white); }
.addr-actions button:hover { color: var(--red); }
.addr-actions .danger { color: var(--grey); }

.acc-empty { text-align: center; display: grid; justify-items: center; gap: 14px; padding: 36px 20px; color: var(--grey); }
.acc-empty svg { color: var(--red); }
.addr-list .acc-empty { grid-column: 1 / -1; border: 1px dashed var(--border); border-radius: 18px; }

/* Étapes d'une commande */
.order-steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; counter-reset: step; }
.order-steps li {
  counter-increment: step;
  padding: 16px 12px;
  border-radius: 14px;
  background: rgba(13,13,13,.7);
  border: 1px solid var(--border);
  display: grid;
  gap: 4px;
  font-size: .8rem;
}
.order-steps li::before { content: counter(step); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: rgba(245,33,47,.15); color: var(--red); font-weight: 700; margin-bottom: 6px; }
.order-steps span { color: var(--grey); }

/* Favoris */
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.fav-grid .acc-empty { grid-column: 1 / -1; }
.fav-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(13,13,13,.85);
  border: 1px solid var(--border);
  transition: transform .2s, border-color .2s;
}
.fav-card:hover { transform: translateY(-4px); border-color: rgba(245,33,47,.5); }
.fav-img { display: block; aspect-ratio: 4 / 3; background: #111; }
.fav-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fav-noimg { display: grid; place-items: center; height: 100%; color: var(--grey); font-size: .8rem; }
.fav-info { padding: 12px 14px 14px; display: grid; gap: 4px; }
.fav-name { color: var(--white); text-decoration: none; font-weight: 600; font-size: .9rem; }
.fav-name:hover { color: var(--red); }
.fav-price { color: var(--red); font-weight: 700; font-family: "Exo 2", sans-serif; }
.fav-remove {
  position: absolute;
  top: 10px; right: 10px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  color: var(--red);
  font-size: 1.1rem;
  transition: transform .2s, background .2s;
}
.fav-remove:hover { transform: scale(1.1); background: rgba(0,0,0,.85); }

/* Bouton ♥ sur la page article */
.p-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.fav-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  margin-top: 4px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--grey);
  transition: color .2s, border-color .2s, transform .2s, background .2s;
}
.fav-btn svg { fill: none; transition: fill .2s; }
.fav-btn:hover { color: var(--red); border-color: var(--red); transform: scale(1.06); }
.fav-btn.active { color: var(--red); border-color: var(--red); background: rgba(245,33,47,.12); }
.fav-btn.active svg { fill: var(--red); animation: bump .35s; }
.p-empty .fav-btn { margin: 0; }

/* ===== Page d'achat ===== */
.checkout-page {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 96px clamp(16px, 4vw, 40px) 40px;
  min-height: 100vh;
  animation: fadeUp .5s ease-out both;
}
.co-title { font-family: "Exo 2", sans-serif; font-size: 1.9rem; margin-bottom: 20px; }
.co-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.co-main .acc-card { margin-bottom: 16px; }
.co-step h2 { display: flex; align-items: center; gap: 10px; }
.co-step h2 small { color: var(--grey); font-family: "Montserrat", sans-serif; font-size: .78rem; font-weight: 500; }
.co-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-size: .85rem; flex-shrink: 0; }
.co-step-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.co-step-head h2 { margin: 0; }
.co-muted { color: var(--grey); font-size: .82rem; }
.co-link { color: var(--white); font-weight: 600; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.co-link:hover { color: var(--red); }
.co-warning { padding: 12px 14px; border-radius: 12px; background: rgba(245,33,47,.1); border: 1px solid rgba(245,33,47,.35); font-size: .88rem; margin-bottom: 14px; }

/* Adresses à choisir */
.co-addresses { display: grid; gap: 10px; margin-bottom: 12px; }
.co-address {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.02);
  cursor: pointer;
  font-size: .88rem;
  line-height: 1.55;
  transition: border-color .2s, background .2s;
}
.co-address:hover { border-color: rgba(245,33,47,.5); }
.co-address.selected { border-color: var(--red); background: rgba(245,33,47,.08); }
.co-address input { position: absolute; opacity: 0; pointer-events: none; }
.co-radio { width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; border: 2px solid var(--grey); flex-shrink: 0; display: grid; place-items: center; }
.co-address.selected .co-radio { border-color: var(--red); }
.co-address.selected .co-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.co-address input:focus-visible + .co-radio { outline: 2px solid var(--red); outline-offset: 2px; }
.co-address .addr-badge { vertical-align: middle; margin-left: 4px; }
.co-addr-form { margin-top: 6px; }

/* Articles */
.co-items { list-style: none; display: grid; gap: 12px; }
.co-item { display: flex; align-items: center; gap: 14px; }
.co-item img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: #111; flex-shrink: 0; }
.co-item-info { flex: 1; min-width: 0; display: grid; gap: 2px; }
.co-item-info strong { font-size: .92rem; }
.co-item-price { white-space: nowrap; }

.co-note {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--white);
  font: inherit;
  font-size: .9rem;
  resize: vertical;
  outline: none;
}
.co-note:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(245,33,47,.15); }

.co-pay-soon { display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; border: 1px dashed var(--border); color: var(--grey); font-size: .88rem; line-height: 1.55; }
.co-pay-soon svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.co-pay-soon strong { color: var(--white); }

/* Récapitulatif */
.co-summary { position: sticky; top: 96px; margin: 0; }
.co-row { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; font-size: .9rem; }
.co-total { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--border); align-items: baseline; }
.co-total strong { font-family: "Exo 2", sans-serif; font-size: 1.5rem; color: var(--red); }
.co-how { margin: 16px 0; padding: 14px 14px 14px 32px; border-radius: 12px; background: rgba(255,255,255,.03); color: var(--grey); font-size: .8rem; line-height: 1.7; }
.co-how strong { color: var(--white); }
.co-check { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--white); cursor: pointer; margin-bottom: 14px; line-height: 1.4; }
.co-check input { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--red); }
.co-summary .form-msg { margin-top: 10px; }

.co-done-icon { color: #4ade80; background: rgba(74,222,128,.1); border-color: rgba(74,222,128,.35); }

/* Livraison (estimation) */
.ship-estimate { margin-bottom: 16px; }
.ship-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ship-result > div { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: rgba(255,255,255,.03); border: 1px solid var(--border); }
.ship-result strong { font-family: "Exo 2", sans-serif; font-size: 1.1rem; }
.ship-price { color: var(--red); }
.ship-parcels { font-family: "Montserrat", sans-serif; font-size: .72rem; font-weight: 500; color: var(--grey); }
.ship-pending { padding: 12px 14px; border-radius: 12px; border: 1px dashed var(--border); color: var(--grey); font-size: .86rem; line-height: 1.55; }
.ship-rates { padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.02); border: 1px solid var(--border); margin-bottom: 14px; }
.ship-rates-title { font-weight: 700; font-size: .85rem; margin-bottom: 10px; }
.ship-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 10px; }
.ship-grid li { display: grid; gap: 2px; text-align: center; padding: 8px 4px; border-radius: 10px; background: rgba(245,33,47,.08); font-size: .78rem; }
.ship-grid span { color: var(--grey); }
.ship-grid strong { font-size: .9rem; }
.ship-notes { list-style: none; display: grid; gap: 8px; }
.ship-notes li { position: relative; padding-left: 20px; font-size: .82rem; color: var(--grey); line-height: 1.5; }
.ship-notes li::before { content: "•"; position: absolute; left: 6px; color: var(--red); font-weight: 700; }
.ship-notes strong { color: var(--white); }

.co-later { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }
.co-later .co-row { font-size: .84rem; color: var(--grey); padding: 5px 0; }
.co-later .co-row small { font-size: .72rem; }
.co-later .co-row-strong { color: var(--white); font-weight: 600; }
.co-later p { font-size: .75rem; margin-top: 4px; }

/* ===== Commandes (espace compte) ===== */
.order-card { margin-bottom: 16px; }
.order-card.is-cancelled { opacity: .6; }
.orders-cancelled { margin-top: 10px; }
.orders-cancelled summary { cursor: pointer; padding: 12px 4px; color: var(--grey); font-weight: 600; font-size: .9rem; list-style: none; }
.orders-cancelled summary::-webkit-details-marker { display: none; }
.orders-cancelled summary::before { content: "▸ "; }
.orders-cancelled[open] summary::before { content: "▾ "; }
.orders-cancelled summary:hover { color: var(--white); }
.order-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.order-head > div { display: grid; gap: 2px; }
.order-number { font-family: "Exo 2", sans-serif; font-size: 1.1rem; letter-spacing: .5px; }
.order-status { padding: 5px 12px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.tone-wait { background: rgba(250,204,21,.12); color: #facc15; }
.tone-ok { background: rgba(96,165,250,.12); color: #60a5fa; }
.tone-done { background: rgba(74,222,128,.12); color: #4ade80; }
.tone-off { background: rgba(255,255,255,.06); color: var(--grey); }

.order-progress { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-bottom: 18px; }
.order-progress li { position: relative; padding-top: 14px; font-size: .72rem; color: var(--grey); text-align: center; }
.order-progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; border-radius: 999px; background: rgba(255,255,255,.08); }
.order-progress li.done::before { background: var(--red); }
.order-progress li.done { color: var(--white); }
.order-progress li.current { font-weight: 700; }

.order-items { list-style: none; display: grid; gap: 10px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.order-items li { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.order-items img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #111; flex-shrink: 0; }
.order-items li > div { flex: 1; min-width: 0; display: grid; gap: 2px; }
.order-items a { color: var(--white); text-decoration: none; font-weight: 600; }
.order-items a:hover { color: var(--red); }
.order-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 14px; font-size: .88rem; }
.order-total strong { color: var(--red); font-family: "Exo 2", sans-serif; font-size: 1.1rem; }
.order-note { margin-top: 10px; font-size: .85rem; }
.order-ship { margin-top: 8px; font-size: .85rem; }
.order-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.order-actions .btn { padding: 8px 14px; font-size: .8rem; }

/* ===== Espace admin ===== */
.admin-page {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 96px clamp(16px, 4vw, 40px) 40px;
  min-height: 100vh;
  animation: fadeUp .5s ease-out both;
}
.adm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.adm-head h1 { font-family: "Exo 2", sans-serif; font-size: 1.9rem; }

.adm-tabs { display: flex; gap: 6px; padding: 5px; margin-bottom: 20px; border-radius: 16px; background: rgba(13,13,13,.85); border: 1px solid var(--border); overflow-x: auto; }
.adm-tabs a { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; color: var(--grey); text-decoration: none; font-weight: 600; font-size: .9rem; transition: background .15s, color .15s; }
.adm-tabs a:hover { color: var(--white); }
.adm-tabs a.active { background: var(--red); color: var(--white); }
.adm-tabs a.active .acc-count { background: var(--white); color: var(--red); }

.adm-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.adm-card { display: grid; gap: 4px; padding: 18px; border-radius: 16px; background: rgba(13,13,13,.85); border: 1px solid var(--border); }
.adm-card-label { color: var(--grey); font-size: .78rem; }
.adm-card strong { font-family: "Exo 2", sans-serif; font-size: 1.7rem; line-height: 1.1; }
.adm-card-sub { color: var(--grey); font-size: .75rem; }
.adm-card.tone-wait { border-color: rgba(250,204,21,.35); }
.adm-card.tone-wait strong { color: #facc15; }
.adm-card.tone-ok strong { color: #60a5fa; }
.adm-card.tone-red { border-color: rgba(245,33,47,.45); }
.adm-card.tone-red strong { color: var(--red); }

.adm-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.adm-two .acc-card { margin-bottom: 18px; }

.adm-bars { list-style: none; display: grid; gap: 12px; }
.adm-bar-top { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; margin-bottom: 5px; }
.adm-bar-top a { color: var(--white); text-decoration: none; }
.adm-bar-top a:hover { color: var(--red); }
.adm-bar { height: 8px; border-radius: 999px; background: rgba(255,255,255,.06); overflow: hidden; }
.adm-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--red-dark), var(--red)); }
.adm-bars-grey .adm-bar span { background: linear-gradient(90deg, #4b5563, #9ca3af); }
.adm-empty { list-style: none; }

.adm-mini { list-style: none; display: grid; gap: 8px; }
.adm-mini li { display: grid; grid-template-columns: 120px 1fr 160px 90px auto; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.03); font-size: .85rem; }
.adm-mini a { color: var(--white); text-decoration: none; }
.adm-mini a:hover { color: var(--red); }

.adm-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.adm-filters .acc-sub { margin: 0; }
.adm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adm-chip { padding: 7px 12px; border-radius: 999px; border: 1px solid var(--border); font-size: .8rem; font-weight: 600; color: var(--grey); transition: border-color .2s, color .2s, background .2s; }
.adm-chip span { margin-left: 4px; opacity: .7; }
.adm-chip:hover { color: var(--white); border-color: rgba(245,33,47,.5); }
.adm-chip.active { color: var(--white); border-color: var(--red); background: rgba(245,33,47,.15); }
.adm-search { min-width: 240px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--white); font: inherit; font-size: .88rem; outline: none; }
.adm-search:focus { border-color: var(--red); }

.adm-order { padding: 0; overflow: hidden; }
.adm-order-head { display: grid; grid-template-columns: 1fr auto auto 20px; align-items: center; gap: 14px; padding: 18px 22px; cursor: pointer; transition: background .15s; }
.adm-order-head:hover { background: rgba(255,255,255,.02); }
.adm-order-main { display: grid; gap: 2px; min-width: 0; }
.adm-order-amount { font-family: "Exo 2", sans-serif; }
.adm-chevron { color: var(--grey); transition: transform .2s; }
.adm-order.open .adm-chevron { transform: rotate(180deg); }
.adm-order-body { display: none; padding: 0 22px 22px; border-top: 1px solid var(--border); }
.adm-order.open .adm-order-body { display: block; }
.adm-order-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 22px; padding-top: 18px; }
.adm-order-body h3 { font-family: "Exo 2", sans-serif; font-size: .95rem; margin: 0 0 8px; }
.adm-side h3:not(:first-child) { margin-top: 16px; }
.adm-side p { font-size: .88rem; line-height: 1.6; }
.adm-address { user-select: all; }

.adm-order-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.02); border: 1px solid var(--border); }
.adm-order-form label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; color: var(--grey); }
.adm-order-form small { color: #666; }
.adm-order-form input, .adm-order-form select, .adm-order-form textarea { padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(255,255,255,.04); color: var(--white); font: inherit; font-size: .88rem; outline: none; width: 100%; }
.adm-order-form select option { background: #111; }
.adm-order-form input:focus, .adm-order-form select:focus, .adm-order-form textarea:focus { border-color: var(--red); }
.adm-full { grid-column: 1 / -1; }
.adm-inline { display: flex; gap: 6px; }
.adm-calc { padding: 8px 12px; font-size: .78rem; flex-shrink: 0; }
.adm-history { margin-top: 12px; font-size: .78rem; }

.adm-table-wrap { padding: 0; overflow-x: auto; }
.adm-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.adm-table th { text-align: left; padding: 14px 16px; color: var(--grey); font-weight: 600; font-size: .78rem; border-bottom: 1px solid var(--border); white-space: nowrap; }
.adm-table td { padding: 12px 16px; border-bottom: 1px solid rgba(255,255,255,.05); white-space: nowrap; }
.adm-table tr:last-child td { border-bottom: none; }
.adm-table tbody tr:hover { background: rgba(255,255,255,.02); }

@media (max-width: 760px) {
  .topbar { padding: 12px 16px; }
  .brand { display: none; }
  .actions { width: 100%; justify-content: flex-end; gap: 6px; }
  .btn { padding: 9px 12px; font-size: .8rem; }
  .btn-discord .label { display: none; }
  .btn-icon { width: 40px; height: 40px; }
  .user-name { display: none; }
  .user-btn { padding: 3px 8px 3px 3px; gap: 4px; }
  .user-dropdown { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; }

  .account-page { padding-top: 80px; }
  .acc-layout { grid-template-columns: 1fr; gap: 18px; }
  .acc-side { position: static; padding: 12px; }
  .acc-user { display: none; }
  .acc-nav { display: flex; overflow-x: auto; gap: 6px; padding-bottom: 2px; }
  .acc-nav a { flex-shrink: 0; padding: 9px 12px; font-size: .82rem; gap: 6px; }
  .acc-nav a.active { box-shadow: none; }
  .acc-head { flex-direction: column; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-card { padding: 18px; }
  .order-steps { grid-template-columns: 1fr; }

  .checkout-page { padding-top: 80px; }
  .co-title { font-size: 1.5rem; }
  .co-layout { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .co-item img { width: 54px; height: 54px; }
  .order-progress li { font-size: 0; padding-top: 8px; }
  .order-head { flex-direction: column; }
  .ship-result { grid-template-columns: 1fr; }
  .ship-grid { grid-template-columns: repeat(3, 1fr); }

  .admin-page { padding-top: 80px; }
  .adm-head { flex-direction: column; }
  .adm-two { grid-template-columns: 1fr; }
  .adm-mini li { grid-template-columns: 1fr auto; }
  .adm-mini li > :nth-child(3), .adm-mini li > :nth-child(4) { display: none; }
  .adm-order-head { grid-template-columns: 1fr auto; padding: 14px 16px; }
  .adm-order-head .order-status { grid-column: 1; justify-self: start; }
  .adm-chevron { display: none; }
  .adm-order-body { padding: 0 16px 16px; }
  .adm-order-grid { grid-template-columns: 1fr; }
  .adm-order-form { grid-template-columns: 1fr; }
  .adm-search { min-width: 0; width: 100%; }
  .hero { padding-top: 80px; }
  .search-submit { padding: 12px 14px; }
  .search-submit { font-size: 0; }
  .search-submit::after { content: "OK"; font-size: .85rem; }
  .steps { grid-template-columns: 1fr; padding: 12px 14px; margin-top: 26px; }
  .step-arrow { display: none !important; }
  .steps li { justify-content: flex-start; }
  .catalog { margin-top: 50px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cat-info { padding: 10px; }
  .cat-name { font-size: .82rem; }
  .cat-sort { width: 100%; justify-content: space-between; }

  .product-page { padding-top: 80px; }
  .p-grid { grid-template-columns: 1fr; }
  .p-info { position: static; padding: 22px; }
  .g-nav { opacity: 1; width: 38px; height: 38px; margin-top: -19px; }
  .g-zoom { display: none; }
  .g-thumb { width: 68px; height: 68px; }
  .suggestions .s-price { display: none; }
  .lb-nav { width: 42px; height: 42px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

/* ===== Liens du site (header et bas de page) ===== */
.site-links { display: flex; align-items: center; gap: 4px; margin-left: auto; margin-right: 10px; }
.site-links a, .site-links button {
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
}
.site-links a:hover, .site-links button:hover, .site-links [aria-current="page"] { background: rgba(255, 255, 255, .12); }

.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 14px; letter-spacing: 0; }
.footer-links a, .footer-links button { color: inherit; font-size: .85rem; font-weight: 600; text-decoration: none; }
.footer-links a:hover, .footer-links button:hover { color: var(--red); }

/* Sur petit écran, les liens passent sur une 2e ligne du header */
@media (max-width: 1000px) {
  .topbar { flex-wrap: wrap; row-gap: 6px; }
  .topbar .actions { margin-left: auto; }
  .site-links { order: 3; flex-basis: 100%; justify-content: center; margin: 0; }
  .site-links a, .site-links button { padding: 4px 12px; }
  .product-page, .account-page, .checkout-page, .admin-page { padding-top: 118px; }
}

/* ===== Catalogue : 2e photo au survol et badges ===== */
.cat-img { position: relative; }
.cat-img .cat-img-2 { position: absolute; inset: 0; opacity: 0; transition: opacity .3s, transform .4s; }
.cat-card:hover .cat-img-2[src] { opacity: 1; }
.cat-badges { position: absolute; left: 8px; bottom: 8px; display: flex; flex-wrap: wrap; gap: 5px; pointer-events: none; }
.cat-badge {
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(16, 24, 40, .88);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
}
.cat-badge-new { background: var(--red); }

/* ===== Couleurs qui ne sont plus disponibles ===== */
.cat-dots .gone { position: relative; background: #9a9a9a; opacity: .75; overflow: hidden; }
.cat-dots .gone::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  height: 1.5px;
  background: #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}
.cat-gone { color: var(--grey); font-size: .72rem; font-weight: 600; line-height: 1.3; }
.cat-img.is-gone img { filter: grayscale(1); opacity: .75; }

.swatch.gone { position: relative; }
.swatch.gone span { filter: grayscale(1); opacity: .4; }
.swatch.gone::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 70%;
  height: 2px;
  border-radius: 2px;
  background: var(--grey);
  transform: translate(-50%, -50%) rotate(-45deg);
}
.g-main.is-gone img, .g-thumbs.is-gone img { filter: grayscale(1); opacity: .7; }
.g-gone {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(16, 24, 40, .88);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  pointer-events: none;
}

/* ===== Estimation de la livraison ===== */
.estimate-modal h2 { font-size: 1.3rem; margin-bottom: 4px; }
.estimate-sub { color: var(--grey); font-size: .88rem; line-height: 1.5; margin-bottom: 18px; }
.estimate-field { display: grid; gap: 6px; font-size: .85rem; color: var(--grey); }
.estimate-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-weight: 600;
}
.estimate-input:focus-within { border-color: var(--white); }
.estimate-input input {
  flex: 1;
  min-width: 0;
  padding: 13px 0;
  border: none;
  outline: none;
  background: none;
  color: var(--white);
  font: inherit;
  font-size: 1.05rem;
}
.estimate-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 16px; }
.estimate-chips button {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--grey);
  font-size: .8rem;
  font-weight: 600;
  transition: color .2s, border-color .2s;
}
.estimate-chips button:hover { color: var(--white); border-color: var(--white); }
.estimate-result { min-height: 104px; }
.estimate-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: .9rem; }
.estimate-total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--border); align-items: baseline; }
.estimate-total strong { font-size: 1.4rem; font-weight: 700; }
.estimate-hint { color: var(--grey); font-size: .86rem; line-height: 1.5; }
.estimate-error { color: var(--red); font-size: .86rem; line-height: 1.5; font-weight: 600; }
.estimate-notes { list-style: none; display: grid; gap: 6px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--grey); font-size: .78rem; line-height: 1.5; }

/* ===== FAQ ===== */
.faq-intro { color: var(--grey); line-height: 1.6; max-width: 680px; margin: -10px 0 26px; }
.faq-section { margin-bottom: 30px; }
.faq-section > h2 { font-size: 1.15rem; margin-bottom: 10px; }
.faq-item { margin-bottom: 8px; border: 1px solid var(--border); border-radius: 10px; background: var(--panel); }
.faq-item summary {
  position: relative;
  padding: 15px 44px 15px 18px;
  cursor: pointer;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.4;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  color: var(--grey);
  font-size: 1.3rem;
  font-weight: 400;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer { padding: 0 18px 16px; color: var(--grey); font-size: .9rem; line-height: 1.65; }
.faq-answer p + p, .faq-answer p + ul, .faq-answer ul + p, .faq-answer ol + p, .faq-answer p + ol, .faq-answer p + .ship-grid, .faq-answer .ship-grid + p { margin-top: 10px; }
.faq-answer ul, .faq-answer ol { padding-left: 20px; }
.faq-answer strong { color: var(--white); }
.faq-answer a, .faq-answer button { color: var(--white); font-weight: 600; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
.faq-answer a:hover, .faq-answer button:hover { color: var(--red); }
.faq-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.faq-help strong { display: block; margin-bottom: 2px; }
.faq-help span { color: var(--grey); font-size: .88rem; }

/* ===== Avis clients ===== */
.rv-stars { color: #e8a200; letter-spacing: 2px; white-space: nowrap; }
.rv-summary { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rv-average { font-size: 2.2rem; font-weight: 700; line-height: 1; }
.rv-summary .rv-stars { display: block; font-size: 1.1rem; }
.rv-count { color: var(--grey); font-size: .82rem; }
.rv-box-text { color: var(--grey); font-size: .9rem; line-height: 1.55; margin-bottom: 12px; }
.rv-box-text:last-child { margin-bottom: 0; }
.rv-picker { display: flex; gap: 2px; margin-bottom: 14px; }
.rv-picker label { padding: 0 3px; color: var(--border); font-size: 1.9rem; line-height: 1; cursor: pointer; transition: color .15s, transform .15s; }
.rv-picker label.on { color: #e8a200; }
.rv-picker label:hover { transform: scale(1.12); }
.rv-picker input { position: absolute; opacity: 0; pointer-events: none; }
.rv-picker input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; border-radius: 4px; }
.rv-text { width: 100%; padding: 13px 16px; border: 1px solid var(--border); border-radius: 8px; background: none; color: var(--white); font: inherit; font-size: .92rem; line-height: 1.5; resize: vertical; outline: none; }
.rv-text:focus { border-color: var(--white); }
.rv-length { margin: 6px 0 12px; color: var(--grey); font-size: .75rem; text-align: right; }
.rv-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.rv-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--panel); }
.rv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.rv-author { font-weight: 700; overflow-wrap: anywhere; }
.rv-date { display: block; margin-top: 2px; color: var(--grey); font-size: .75rem; font-weight: 400; }
.rv-body { color: var(--white); font-size: .9rem; line-height: 1.55; white-space: pre-line; overflow-wrap: anywhere; }
.rv-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; font-size: .75rem; color: var(--grey); }
.rv-delete { color: var(--grey); font-size: .75rem; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.rv-delete:hover { color: var(--red); }
.rv-list .acc-empty { grid-column: 1 / -1; border: 1px dashed var(--border); border-radius: 12px; }

/* ===== Notifications : pastille sur le compte ===== */
.user-btn { position: relative; }
.unread-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.ud-count:not(:empty) { margin-left: auto; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; text-align: center; }

.notif-list { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.notif { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0; padding: 16px 18px; }
.notif p { font-size: .9rem; line-height: 1.5; }
.notif p a { color: inherit; font-weight: 600; }
.notif .co-muted { font-size: .75rem; }
.notif.unread { border-left: 3px solid var(--red); }
.notif-title { font-size: 1.15rem; margin-bottom: 2px; }

/* ===== Panier : jauge du colis et livraison estimée ===== */
.cart-ship { display: grid; gap: 6px; margin-bottom: 10px; }
.cart-gauge { padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 6px; }
.cart-gauge-title { font-size: .85rem; line-height: 1.4; }
.cart-gauge-bar { height: 8px; margin: 8px 0 6px; border-radius: 999px; background: var(--border); overflow: hidden; }
.cart-gauge-bar span { display: block; height: 100%; border-radius: 999px; background: var(--red); transition: width .4s ease; }
.cart-gauge-hint { color: var(--grey); font-size: .72rem; line-height: 1.4; }
.cart-row { display: flex; justify-content: space-between; gap: 10px; color: var(--grey); font-size: .85rem; }
.cart-row small { font-size: .72rem; }
.cart-ship-note { color: var(--grey); font-size: .78rem; line-height: 1.45; }

/* ===== Catalogue : ♥ et promo ===== */
.cat-item { position: relative; display: flex; }
.cat-item > .cat-card { flex: 1; min-width: 0; }
.cat-fav {
  position: absolute;
  z-index: 2;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(40, 40, 40, .35);
  color: #fff;
  transition: transform .2s, color .2s, background .2s;
}
.cat-fav svg { width: 14px; height: 14px; fill: none; transition: fill .2s; }
.cat-fav:hover { transform: scale(1.1); background: rgba(40, 40, 40, .55); }
.cat-fav.active { color: var(--red); }
.cat-fav.active svg { fill: var(--red); animation: bump .35s; }
.cat-price-old { margin-right: 6px; color: var(--grey); font-size: .85rem; font-weight: 500; }
.cat-badge-promo { background: #ffd23f; color: #101828; }

/* ===== Fiche article : promo, alerte, tenue ===== */
.p-price-old { margin-right: 10px; color: var(--grey); font-size: 1.2rem; font-weight: 500; }
.p-promo { margin-left: 10px; padding: 3px 8px; border-radius: 6px; background: #ffd23f; color: #101828; font-size: .85rem; font-weight: 700; vertical-align: middle; }
.p-alert { margin-top: 10px; font-size: .88rem; }
.p-alert.active { border-color: var(--grey); color: var(--grey); }
.p-outfit { margin-top: 40px; }
.p-outfit h2 { font-size: 1.3rem; margin-bottom: 14px; }
.outfit-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }

/* ===== Commandes : suivi du colis ===== */
.order-tracking { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: .88rem; }
.order-tracking a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.order-tracking a:hover { color: var(--red); }

/* ===== Admin : catalogue ===== */
.adm-prod .adm-order-head { grid-template-columns: 1fr auto 20px; }
.adm-prod-main { display: flex; align-items: center; gap: 12px; min-width: 0; }
.adm-prod-main img { width: 48px; height: 48px; flex-shrink: 0; border-radius: 8px; object-fit: cover; }
.adm-prod-main div { display: grid; gap: 2px; min-width: 0; }
.adm-prod-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.adm-prod-form { display: grid; gap: 16px; padding-top: 18px; }
.adm-model { border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px; display: grid; gap: 12px; }
.adm-model legend { padding: 0 6px; font-weight: 700; font-size: .9rem; }
.adm-price-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.adm-price-row label { display: flex; flex-direction: column; gap: 6px; font-size: .8rem; color: var(--grey); }
.adm-price-row input, .adm-price-row select { padding: 10px 12px; border-radius: 8px; border: 1px solid var(--border); background: transparent; color: var(--white); font: inherit; font-size: .9rem; }
.adm-price-row select option { background: var(--panel); }
.adm-colors { display: flex; flex-wrap: wrap; gap: 8px; }
.adm-color { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: .85rem; cursor: pointer; }
.adm-color input { accent-color: var(--red); }
/* case cochée = couleur indisponible */
.adm-color em { font-style: normal; font-weight: 700; font-size: .75rem; }
.adm-color .adm-on { color: #15803d; }
.adm-color .adm-off { display: none; color: var(--red); }
.adm-color:has(input:checked) { border-color: var(--red); }
.adm-color:has(input:checked) .adm-on { display: none; }
.adm-color:has(input:checked) .adm-off { display: inline; }
.adm-color small { color: var(--grey); }
.adm-color.is-soon { cursor: default; opacity: .6; }
.adm-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(127, 127, 127, .4); flex-shrink: 0; }
.adm-hint { color: var(--grey); font-size: .78rem; line-height: 1.5; }
.adm-span2 { grid-column: span 2; }

@media (max-width: 760px) {
  .adm-price-row { grid-template-columns: 1fr; }
  .adm-span2 { grid-column: auto; }
  .adm-prod .adm-order-head { grid-template-columns: 1fr auto; }
  .adm-prod-tags { grid-column: 1 / -1; justify-content: flex-start; }
}

/* ===== Fiche article : choix de la quantité ===== */
.p-qty { border-radius: 10px; }
.p-qty button { width: 40px; height: 40px; font-size: 1.2rem; }
.p-qty span { min-width: 34px; font-size: 1rem; font-weight: 700; }
.p-qty.disabled { opacity: .35; pointer-events: none; }

/* ===== Téléphone : fiche produit à la largeur de l'écran, ♥ facile à toucher, petits textes plus lisibles ===== */
/* minmax(0, 1fr) : la rangée de miniatures défile au lieu d'élargir la page */
.gallery { min-width: 0; }
@media (max-width: 760px) {
  .p-grid { grid-template-columns: minmax(0, 1fr); }
}
/* zone de toucher de 44 px autour du petit ♥ (le cœur visible ne change pas) */
.cat-fav::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; }
.cat-brand { font-size: .75rem; }
.cat-badge { font-size: .75rem; }

/* ===== Paiement ===== */
.pay-test { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 6px; background: #fef3c7; color: #92400e; font-size: .72rem; font-weight: 700; }
.order-actions .pay-test { margin: 0; }
