/* Olphène — maquettes vitrine, mobile-first, épuré */
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #0B0B0B;
  --gold: #C9A24A;
  --gold-l: #D4AF5A;
  --ivory: #FFFFFF;
  --ivory-d: #F5F5F5;
  --paper: #FFFFFF;
  --muted: #6B6B6B;
  --line: #E8E8E8;
  --wa: #25D366;
  --danger: #8A3B2A;
  --max: 1200px;
  --header: 76px;
  --sans: "Inter", "Source Sans 3", "Helvetica Neue", sans-serif;
  --serif: "Playfair Display", "Georgia", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--black);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0; }

.skip { position: absolute; left: -999px; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Banner */
.banner {
  background: var(--black);
  color: var(--gold-l);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__bar {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header); gap: 1rem;
}
.header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.header__logo img { height: 48px; width: auto; }
.nav { display: none; gap: 1.75rem; }
.nav a {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--black); border-bottom: 1px solid var(--black); padding-bottom: 2px; }
.header__actions { display: flex; align-items: center; gap: 0.85rem; }
.icon-btn {
  background: none; border: 0; padding: 0.4rem;
  display: grid; place-items: center; position: relative;
}
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.cart-count {
  position: absolute; top: 0; right: 0;
  background: var(--black); color: var(--ivory);
  font-size: 0.6rem; width: 16px; height: 16px; border-radius: 50%;
  display: grid; place-items: center;
}
.burger { display: grid; gap: 5px; background: none; border: 0; padding: 8px; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--black); }

.drawer {
  display: none; flex-direction: column; gap: 1rem;
  padding: 0.5rem 20px 1.25rem;
  border-top: 1px solid var(--line);
}
.drawer.is-open { display: flex; }
.drawer a { letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; padding: 0.4rem 0; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .burger { display: none; }
  .header__logo img { height: 56px; }
  .wrap { width: min(var(--max), calc(100% - 64px)); }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  border: 1px solid var(--black); background: var(--black); color: var(--ivory);
  letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.72rem; font-weight: 500;
  transition: background .2s, color .2s;
}
.btn:hover { background: #1a1a1a; }
.btn--ghost { background: transparent; color: var(--black); }
.btn--ghost:hover { background: var(--black); color: var(--ivory); }
.btn--gold { background: transparent; color: var(--black); border-color: var(--gold); }
.btn--gold:hover { background: var(--gold); color: var(--black); }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn--block { width: 100%; }

/* Price */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.45rem 0.7rem; }
.price__old {
  color: var(--muted); text-decoration: line-through;
  text-decoration-thickness: 1px; font-size: 0.92rem;
}
.price__new, .price__now { font-weight: 560; font-size: 1.02rem; letter-spacing: 0.02em; }
.price__hint { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.badge {
  display: inline-flex; align-items: center;
  font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.2rem 0.45rem; border: 1px solid var(--black);
  background: var(--black); color: var(--ivory);
}
.badge--sale { background: var(--black); }
.badge--stock { background: transparent; color: var(--muted); border-color: var(--line); }

/* Hero */
.hero { padding: 2.5rem 0 3rem; }
.hero__grid {
  display: grid; gap: 2rem; align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 7vw, 4.2rem); letter-spacing: -0.02em; max-width: 12ch; }
.hero__lead { color: var(--muted); max-width: 36ch; margin: 1.1rem 0 1.8rem; font-size: 1.02rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero__visual { background: var(--ivory-d); overflow: hidden; }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
@media (min-width: 900px) {
  .hero { padding: 4rem 0 5rem; }
  .hero__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .hero__visual img { aspect-ratio: 4/5; }
}

/* Sections */
.section { padding: 3rem 0; }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.75rem; }
.section__head h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); }
.link-arrow { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }

/* Collections */
.cols-3, .grid-products { display: grid; gap: 1.25rem; }
.cols-3 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .cols-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.5rem; }
}
@media (min-width: 1024px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
}
.tile {
  position: relative; display: block; background: var(--ivory-d);
  overflow: hidden;
}
.tile img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .6s ease; }
.tile:hover img { transform: scale(1.03); }
.tile__cap {
  padding: 0.9rem 0 0;
  display: flex; justify-content: space-between; align-items: baseline;
}
.tile__cap h3 { font-size: 1.25rem; }

/* Product card */
.card { display: flex; flex-direction: column; gap: 0.7rem; }
.card__media { position: relative; background: var(--ivory-d); overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.card__badge { position: absolute; top: 12px; left: 12px; }
.card h3 { font-size: 1.15rem; font-weight: 500; }
.card__cat { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* Trust */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 2rem 0; }
.trust__grid { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .trust__grid { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.trust h3 { font-size: 1rem; margin-bottom: 0.35rem; }
.trust p { margin: 0; color: var(--muted); font-size: 0.88rem; }

/* Reviews */
.quotes { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote { border-top: 1px solid var(--gold); padding: 1.2rem 0 0; }
.quote p { font-family: var(--serif); font-size: 1.15rem; line-height: 1.4; margin: 0 0 0.8rem; }
.quote cite { font-style: normal; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Footer */
.footer { background: var(--black); color: #F5F5F5; padding: 3rem 0 1.5rem; margin-top: 2rem; }
.footer a { color: #F5F5F5; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__logo { height: 64px; width: auto; margin-bottom: 1rem; filter: none; }
.footer p, .footer li { color: #B0B0B0; font-size: 0.88rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.footer h4 { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-l); margin-bottom: 0.8rem; }
.footer__legal { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid #2a2a2a; font-size: 0.75rem; color: #8A8A8A; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }

/* WhatsApp FAB */
.fab-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(11,11,11,.18);
}
.fab-wa svg { width: 28px; height: 28px; fill: currentColor; }
.fab-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; }

/* Page title */
.page-head { padding: 2rem 0 1.5rem; }
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.chip {
  border: 1px solid var(--line); background: transparent;
  min-height: 40px; padding: 0.4rem 0.85rem;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.7rem;
}
.chip.is-active, .chip[aria-pressed="true"] { border-color: var(--black); background: var(--black); color: var(--ivory); }

/* Product page */
.pdp { display: grid; gap: 2rem; padding-bottom: 3rem; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; align-items: start; } }
.gallery { background: var(--ivory-d); }
.gallery img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
@media (max-width: 899px) {
  /* Keep title, price and sticky CTA visible on first paint */
  .gallery img { aspect-ratio: auto; max-height: 42vh; object-fit: contain; object-position: center; }
  .thumbs button { width: 56px; }
}
.thumbs { display: flex; gap: 0.5rem; margin-top: 0.5rem; }
.thumbs button { border: 1px solid transparent; padding: 0; background: var(--ivory-d); width: 72px; }
.thumbs button[aria-current="true"] { border-color: var(--black); }
.thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pdp__cat { margin-bottom: 0.4rem; }
.pdp h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.8rem; }
.variants { margin: 1.4rem 0; }
.variants label { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 0.5rem; }
.swatches { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.swatch {
  min-width: 44px; min-height: 44px; padding: 0 0.7rem;
  border: 1px solid var(--line); background: transparent; font-size: 0.8rem;
}
.swatch.is-on { border-color: var(--black); }
.swatch--color { width: 32px; height: 32px; min-width: 32px; min-height: 32px; padding: 0; border-radius: 50%; }
.auth {
  border: 1px solid var(--gold); padding: 1rem 1.1rem; margin: 1.4rem 0;
  display: grid; gap: 0.3rem;
}
.auth strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 500; }
.auth p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.pdp__actions { display: grid; gap: 0.6rem; margin: 1.2rem 0; }
.pdp__desc { color: var(--muted); }
.reviews { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.review { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.review strong { display: block; font-size: 0.85rem; margin-bottom: 0.25rem; }

/* Cart + checkout */
.checkout { display: grid; gap: 2.5rem; padding-bottom: 4rem; }
@media (min-width: 960px) { .checkout { grid-template-columns: 1.15fr 0.85fr; align-items: start; } }
.cart-row {
  display: grid; grid-template-columns: 88px 1fr auto; gap: 1rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--line);
}
.cart-row img { width: 88px; aspect-ratio: 3/4; object-fit: cover; background: var(--ivory-d); }
.qty { display: inline-flex; border: 1px solid var(--line); }
.qty button, .qty span { width: 36px; height: 36px; display: grid; place-items: center; background: none; border: 0; }
.summary, .panel, .form {
  background: var(--paper); border: 1px solid var(--line); padding: 1.4rem;
}
.summary h2, .form h2, .panel h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.line { display: flex; justify-content: space-between; margin: 0.45rem 0; font-size: 0.95rem; }
.line--total { border-top: 1px solid var(--line); margin-top: 0.8rem; padding-top: 0.8rem; font-weight: 600; }
.field { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; }
.field label { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  min-height: 48px; border: 1px solid var(--line); background: #fff;
  padding: 0.6rem 0.75rem; width: 100%;
}
.field textarea { min-height: 90px; resize: vertical; }
.pay-opt {
  display: grid; gap: 0.4rem; border: 1px solid var(--line);
  padding: 0.9rem 1rem; margin-bottom: 0.6rem; cursor: pointer;
}
.pay-opt:has(input:checked), .pay-opt.is-on { border-color: var(--black); }
.pay-opt input { accent-color: var(--black); }
.om-box {
  border: 1px solid var(--gold); padding: 1.1rem 1.15rem; margin: 1rem 0;
  background: #FFFFFF;
}
.om-box h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.om-box ol { margin: 0.5rem 0 0.8rem 1.1rem; padding: 0; color: var(--black); }
.om-box .om-num { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.04em; }
.reassure { font-size: 0.85rem; color: var(--muted); margin-top: 0.8rem; }

.notice {
  font-size: 0.8rem; color: var(--muted); margin: 0 0 1rem;
}

.confirm {
  border: 1px solid var(--gold); padding: 1.4rem; margin-top: 1.2rem;
  display: none;
}
.confirm.is-visible { display: block; }
.confirm h2 { margin-bottom: 0.5rem; }

/* Utility */
.muted { color: var(--muted); }
.mt-0 { margin-top: 0; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* Sticky CTA on product (mobile) */
.pdp-sticky {
  display: none;
}
@media (max-width: 899px) {
  .pdp-sticky {
    display: flex; gap: 0.5rem; align-items: center;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: rgba(255,255,255,.96);
    border-top: 1px solid var(--line);
    padding: 0.55rem 1rem calc(0.55rem + env(safe-area-inset-bottom));
  }
  .pdp-sticky .btn { flex: 1; min-height: 46px; }
  .pdp-sticky .price { flex: 0 0 auto; }
  body.has-sticky-buy { padding-bottom: 84px; }
  body.has-sticky-buy .fab-wa { display: none; }
}

/* ========== Démo shared extras ========== */
.banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.35rem 0.9rem;
}
.banner a, .banner button {
  background: none; border: 0; color: var(--gold-l);
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.68rem;
  text-decoration: underline; text-underline-offset: 3px; padding: 0; cursor: pointer;
}
.banner a:hover, .banner button:hover { color: #fff; }
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
  z-index: 80; background: var(--black); color: #fff;
  padding: 0.75rem 1.1rem; font-size: 0.85rem; display: none;
  max-width: min(92vw, 420px); text-align: center;
}
.toast.is-on { display: block; }
.demo-note { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }

/* Cart line qty in demo */
.cart-row { align-items: center; }
.cart-remove { background: none; border: 0; text-decoration: underline; font-size: 0.8rem; color: var(--muted); }

/* ========== Back-office ========== */
body.admin { padding-bottom: 88px; background: #fff; }
body.admin .wrap { width: min(1180px, calc(100% - 2rem)); }
.bo-topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; min-height: 58px; padding: 0.4rem 1rem;
}
.bo-topbar .brand { display: flex; align-items: center; gap: 0.65rem; }
.bo-topbar .brand img { height: 32px; width: 32px; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--serif); font-size: 1.05rem; }
.brand__role { font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.bo-topbar h1 { font-family: var(--sans); font-size: 0.95rem; font-weight: 560; margin: 0; }

.sidenav { display: none; }
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  height: 72px; background: #fff; border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  padding-bottom: env(safe-area-inset-bottom);
}
.bottomnav a, .sidenav a {
  display: flex; align-items: center; justify-content: center; gap: 0.35rem;
  color: var(--muted); text-decoration: none;
  font-size: 0.58rem; letter-spacing: 0.04em; text-transform: uppercase;
  flex-direction: column;
}
.bottomnav a[aria-current="page"], .sidenav a[aria-current="page"] { color: var(--black); font-weight: 600; }
.bottomnav svg, .sidenav svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.quickbar {
  display: flex; gap: 0.5rem; padding: 0.7rem 1rem; overflow-x: auto;
  border-bottom: 1px solid var(--line);
}
.quickbar .btn { flex: 1 1 0; min-width: 150px; }

.bo-login {
  max-width: 440px; margin: 3rem auto; border: 1px solid var(--line); padding: 1.75rem;
}
.bo-login h1 { margin-bottom: 0.5rem; }
.creds { background: var(--ivory-d); padding: 0.8rem 1rem; margin: 1rem 0; font-size: 0.9rem; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; }
@media (min-width: 900px) { .kpis { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } }
.kpi { border: 1px solid var(--line); padding: 0.95rem; background: #fff; }
.kpi__label { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.kpi__value { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem); }
.kpi__hint { margin-top: 0.3rem; font-size: 0.7rem; color: var(--muted); }

.bo-card { border: 1px solid var(--line); background: #fff; padding: 1.15rem; margin-bottom: 1.1rem; }
.bo-card h2 { font-size: 1.25rem; margin-bottom: 0.85rem; }
.bo-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; margin-bottom: 0.85rem; }
.bo-card__head h2 { margin: 0; }
.grid-2 { display: grid; gap: 1.1rem; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: start; } }

.chart-box { position: relative; height: 220px; }
.chart-box--sm { height: 200px; }

.status {
  display: inline-flex; align-items: center; min-height: 28px; padding: 0.15rem 0.5rem;
  border: 1px solid var(--line); font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; background: #fff;
}
.status--wait { border-color: var(--black); }
.status--ok { background: var(--black); color: #fff; border-color: var(--black); }
.status--prep { border-color: var(--gold); }
.status--done, .status--ship { color: var(--muted); }

.row-list .row { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.row-list .row:last-child { border-bottom: 0; }
.row__top { display: flex; justify-content: space-between; gap: 0.75rem; align-items: baseline; }
.row.is-on { background: var(--ivory-d); margin: 0 -1.15rem; padding-left: 1.15rem; padding-right: 1.15rem; }
.row__meta { color: var(--muted); font-size: 0.85rem; }

.bo-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.bo-table th {
  text-align: left; font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 0.45rem 0.5rem 0.55rem; border-bottom: 1px solid var(--line);
}
.bo-table td { padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.bo-table .num { text-align: right; }
.table-scroll { overflow-x: auto; }
.prod-cell { display: flex; align-items: center; gap: 0.7rem; }
.prod-cell img { width: 48px; height: 64px; object-fit: cover; background: var(--ivory-d); }

@media (min-width: 960px) {
  body.admin { padding-bottom: 0; padding-left: 240px; }
  body.admin .banner { margin-left: 240px; }
  .sidenav {
    display: flex; flex-direction: column;
    position: fixed; left: 0; top: 0; bottom: 0; width: 240px;
    border-right: 1px solid var(--line); background: #fff; padding: 1.1rem 0 1.25rem; z-index: 35;
  }
  .sidenav .brand { padding: 0.4rem 1.15rem 1.2rem; display: flex; align-items: center; gap: 0.65rem; }
  .sidenav .brand img { height: 44px; width: 44px; }
  .sidenav nav { display: grid; gap: 0.15rem; padding: 0 0.65rem; }
  .sidenav nav a {
    flex-direction: row; justify-content: flex-start;
    font-size: 0.9rem; text-transform: none; letter-spacing: 0;
    padding: 0.55rem 0.75rem 0.55rem 1rem; min-height: 44px;
  }
  .sidenav a[aria-current="page"] { border-left: 2px solid var(--gold); padding-left: calc(1rem - 2px); background: var(--ivory-d); }
  .sidenav .side-actions { margin-top: auto; padding: 1rem 1rem 0; display: grid; gap: 0.5rem; border-top: 1px solid var(--line); }
  .sidenav .btn { color: #fff; white-space: normal; line-height: 1.25; text-align: center; }
  .sidenav .btn--ghost { color: var(--black); background: #fff; }
  .bottomnav, .bo-topbar .brand, .quickbar { display: none; }
  .bo-topbar { padding: 0.5rem 1.75rem; min-height: 64px; }
  .bo-topbar h1 { font-family: var(--serif); font-size: 1.65rem; font-weight: 500; }
  body.admin .wrap { width: min(1180px, calc(100% - 3.5rem)); padding-top: 1.5rem; }
}

/* Social */
.accounts { display: grid; gap: 0.7rem; }
@media (min-width: 700px) { .accounts { grid-template-columns: 1fr 1fr; } }
.account {
  border: 1px solid var(--line); padding: 0.9rem 1rem;
  display: flex; justify-content: space-between; align-items: center; gap: 0.75rem;
}
.account__sim { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.previews { display: grid; gap: 0.8rem; }
@media (min-width: 800px) { .previews { grid-template-columns: repeat(2, 1fr); } }
.preview {
  border: 1px solid var(--line); padding: 0.8rem; background: #fff; min-height: 180px;
}
.preview__net { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; }
.preview img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--ivory-d); margin-bottom: 0.5rem; }
.preview--tiktok img { aspect-ratio: 3/4; }
.preview p { font-size: 0.85rem; white-space: pre-wrap; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal__head, .cal__cell { font-size: 0.7rem; text-align: center; padding: 0.35rem 0.15rem; }
.cal__head { color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.cal__cell { border: 1px solid var(--line); min-height: 64px; text-align: left; padding: 0.3rem; }
.cal__cell.is-today { border-color: var(--black); }
.cal__dot { display: block; font-size: 0.62rem; margin-top: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cal__dot--pub { color: var(--black); }
.cal__dot--plan { color: #8A6B24; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.actions-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.product-picks { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.product-pick {
  border: 1px solid var(--line); padding: 0.35rem 0.5rem; display: flex; align-items: center; gap: 0.4rem;
  min-height: 44px; background: #fff; cursor: pointer; font-size: 0.8rem;
}
.product-pick.is-on { border-color: var(--black); }
.product-pick img { width: 28px; height: 36px; object-fit: cover; }
.hidden { display: none !important; }


/* ===== Site V1 additions ===== */
.hint { font-size: 0.8rem; color: var(--muted); margin: 0.35rem 0 0; }
.flash {
  max-width: var(--max); margin: 0.8rem auto 0; width: min(var(--max), calc(100% - 40px));
  padding: 0.85rem 1rem; border: 1px solid var(--line);
}
.flash--ok { border-color: #1B7A4A; color: #145C38; background: #F3FBF6; }
.flash--err { border-color: #8A3B2A; color: #8A3B2A; background: #FBF4F2; }
.flash--info { border-color: var(--gold); }
.alert { padding: 0.85rem 1rem; border: 1px solid var(--line); margin: 0 0 1rem; }
.alert--ok { border-color: #1B7A4A; color: #145C38; background: #F3FBF6; }
.alert--err { border-color: #8A3B2A; color: #8A3B2A; background: #FBF4F2; }
.alert--wait { border-color: #C47D12; color: #7A4E0B; background: #FFF8EC; }
.test-pill {
  display: inline-flex; align-items: center;
  font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.15rem 0.4rem; border: 1px solid var(--line); color: var(--muted);
}
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.4rem; margin: 2rem 0 0.7rem; }
.legal h3 { font-size: 1.15rem; margin: 1.4rem 0 0.5rem; }
.legal p, .legal li { color: #333; }
.legal ul, .legal ol { padding-left: 1.2rem; }
.size-table { width: 100%; max-width: 640px; border-collapse: collapse; margin: 1rem 0 2rem; }
.size-table th, .size-table td { border-bottom: 1px solid var(--line); padding: 0.7rem 0.5rem; text-align: left; }
.size-table th { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.soon { font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); padding: 0.1rem 0.35rem; margin-left: 0.35rem; }
.stock-ok { color: #1B7A4A; }
.stock-low { color: #C47D12; }
.stock-out { color: #8A3B2A; }
.qty-input { width: 3.2rem; text-align: center; border: 0; min-height: 36px; }
.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Status colours: green paid/delivered, orange waiting, red problem — never gold for status */
.status--ok, .status--payee, .status--livree {
  background: #1B7A4A; color: #fff; border-color: #1B7A4A;
}
.status--wait, .status--nouvelle, .status--paiement_en_attente, .status--en_livraison {
  background: #FFF4E0; color: #7A4E0B; border-color: #C47D12;
}
.status--problem, .status--annulee {
  background: #8A3B2A; color: #fff; border-color: #8A3B2A;
}

/* Admin extras */
.btn--ok { background: #1B7A4A; border-color: #1B7A4A; color: #fff; }
.btn--ok:hover { background: #15633C; }
.btn--danger { background: #8A3B2A; border-color: #8A3B2A; color: #fff; }
.btn--danger:hover { background: #722F22; }
.btn--wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.fields-2 { display: grid; gap: 0 0.75rem; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } }
.delivery-card, .bo-action-card {
  border: 1px solid var(--line); padding: 1.1rem; margin-bottom: 0.85rem; background: #fff;
}
.delivery-card h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.amount-due { font-family: var(--serif); font-size: 1.4rem; margin: 0.4rem 0; }
.amount-due.paid { color: #1B7A4A; }
.nav-soon { opacity: 0.7; pointer-events: none; }
.sidenav .nav-soon { pointer-events: none; }
.vis-hide, .hidden { display: none !important; }

/* Fix typo-safe hidden */
.visually-hidden { position: absolute; left: -9999px; }

.confirm-box { border: 1px solid var(--gold); padding: 1.5rem; }
.confirm-box .order-no { font-family: var(--serif); font-size: 2rem; margin: 0.4rem 0 1rem; }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 1.2rem; align-items: center; }

/* Mobile back-office: compact bar + full menu, readable type */
@media (max-width: 959px) {
  body.admin {
    font-size: 16px;
    padding-bottom: calc(64px + env(safe-area-inset-bottom));
  }
  body.admin .wrap {
    width: min(1180px, calc(100% - 1.5rem));
    padding-top: 0.85rem;
  }
  .bo-topbar {
    min-height: 0;
    padding: 0.4rem 0.85rem 0.45rem;
    gap: 0.15rem 0.6rem;
  }
  .bo-topbar .brand img { height: 28px; width: 28px; }
  .brand__name { font-size: 0.95rem; }
  .brand__role {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  .bo-topbar h1 {
    font-size: 1.15rem;
    line-height: 1.25;
    padding: 0.1rem 0 0.2rem;
    letter-spacing: 0;
    text-transform: none;
  }
  .bo-topbar__pwd {
    font-size: 0.85rem;
    letter-spacing: 0;
  }
  .quickbar { display: none !important; }
  .bottomnav {
    height: auto;
    min-height: 60px;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    padding: 0.3rem 0.15rem calc(0.3rem + env(safe-area-inset-bottom));
  }
  .bottomnav a, .bottomnav a span {
    font-size: 0.72rem;
    letter-spacing: 0;
    text-transform: none;
    font-weight: 500;
    line-height: 1.15;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .bottomnav a {
    gap: 0.15rem;
    min-width: 0;
    padding: 0.2rem 0.15rem;
  }
  .bottomnav svg { width: 22px; height: 22px; }
  .kpi__label {
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    text-transform: none;
  }
  .bo-table th {
    font-size: 0.75rem;
    letter-spacing: 0.03em;
  }
  .link-back {
    font-size: 0.9rem;
    letter-spacing: 0;
    text-transform: none;
  }
  .chip, .period-tabs .chip {
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.9rem;
  }
}

.dash-shortcuts { display: none; }
@media (max-width: 959px) {
  .dash-shortcuts {
    display: grid;
    gap: 0.45rem;
    margin: 0 0 1rem;
  }
  .dash-shortcuts a {
    display: block;
    border: 1px solid var(--line);
    padding: 0.7rem 0.9rem;
    text-decoration: none;
    color: var(--black);
    font-size: 1rem;
    line-height: 1.3;
    background: #fff;
  }
}

.bo-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #fff;
  flex-direction: column;
  overflow: auto;
  padding: 0 0 calc(72px + env(safe-area-inset-bottom));
}
.bo-menu:target, .bo-menu.is-open { display: flex; }
.bo-menu__head {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  background: #fff;
  z-index: 1;
  font-size: 1.2rem;
}
.bo-menu__close {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--black);
  text-decoration: none;
  font-size: 1rem;
}
.bo-menu__close svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.5; }
.bo-menu nav a {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.8rem;
  padding: 0.85rem 1.15rem;
  min-height: 48px;
  font-size: 1.05rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.bo-menu nav a svg { width: 22px; height: 22px; flex-shrink: 0; }
.bo-menu nav a[aria-current="page"] { background: var(--ivory-d); font-weight: 600; }
.bo-menu nav a.nav-soon { color: var(--muted); }
.bo-menu__actions {
  padding: 1rem 1.15rem 1.4rem;
  display: grid;
  gap: 0.5rem;
}
@media (min-width: 960px) {
  .bo-menu, .dash-shortcuts { display: none !important; }
}

/* Install */
.install { max-width: 560px; margin: 3rem auto; border: 1px solid var(--line); padding: 2rem 1.5rem; }
.install h1 { margin-bottom: 0.5rem; }

/* Tables on mobile already in admin block */
.bo-login .field { margin-top: 0.8rem; }
.link-back { font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; border-bottom: 1px solid var(--gold); }
.kpi--alert { border-color: #8A3B2A; }
.actions-stack { display: grid; gap: 0.5rem; }
@media (min-width: 700px) {
  .actions-stack { grid-template-columns: repeat(2, 1fr); }
}
.thumb-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.thumb-list img, .thumb-list .add-photo {
  width: 88px; height: 88px; object-fit: cover; background: var(--ivory-d); border: 1px solid var(--line);
}
.add-photo { display: grid; place-items: center; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.var-row { display: grid; grid-template-columns: 1fr 1fr 1fr 5.5rem 5rem auto; gap: 0.4rem; align-items: center; margin-bottom: 0.4rem; }
@media (max-width: 799px) {
  .var-row { grid-template-columns: 1fr 1fr; }
}
.period-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }

/* Footer social */
.footer__social { display: flex; gap: 0.8rem; margin-top: 0.8rem; }

/* Comptes de l’équipe */
.bo-topbar__pwd {
  margin-left: auto;
  font-size: 0.72rem;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
}
@media (max-width: 959px) {
  .bo-topbar {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "brand pwd"
      "title title";
    align-items: center;
  }
  .bo-topbar .brand { grid-area: brand; }
  .bo-topbar h1 {
    grid-area: title;
    font-size: 1.05rem;
    padding: 0.15rem 0 0.35rem;
  }
  .bo-topbar__pwd { grid-area: pwd; justify-self: end; margin-left: 0; }
}
@media (min-width: 960px) {
  .bo-topbar__pwd { display: none; }
  .sidenav { overflow-y: auto; }
}
.account-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.1rem 1.15rem;
  margin-bottom: 0.85rem;
}
.account-card--off { opacity: 0.78; background: #FAFAFA; }
.account-card h2 { font-size: 1.2rem; margin: 0 0 0.25rem; }
.account-card__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.35rem;
}
.account-card__meta { margin: 0; color: var(--muted); word-break: break-word; }
.account-card__badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.account-card__actions {
  display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.75rem;
}
.inline-form { display: inline; margin: 0; }
.temp-pass {
  border: 2px solid var(--gold);
  padding: 1.2rem 1.15rem;
  margin-bottom: 1.2rem;
  background: #fff;
}
.temp-pass h2 { font-size: 1.25rem; margin: 0 0 0.5rem; }
.temp-pass__code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  padding: 0.75rem 0.9rem;
  background: var(--ivory-d);
  border: 1px solid var(--line);
  margin: 0.8rem 0 0;
  word-break: break-all;
}

/* Comptabilité */
.amt-in { color: #1B7A4A; }
.amt-out { color: #8A3B2A; }
.period-tabs .btn { margin-left: auto; }


/* Clients et relances */
.customer-search { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.9rem; align-items: end; }
.customer-search .field { flex: 1 1 16rem; margin: 0; }
.customer-search .btn { height: 2.6rem; }
.customer-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.1rem 1.15rem;
  margin-bottom: 0.85rem;
}
.customer-card__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.25rem;
}
.customer-card h2 { font-size: 1.2rem; margin: 0; }
.customer-card__meta { margin: 0.15rem 0 0; color: var(--muted); word-break: break-word; }
.customer-card__stats { margin: 0.45rem 0 0; }
.customer-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.75rem; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.tag-chip, .consent-yes, .consent-no {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 0.15rem 0.45rem;
}
.consent-yes { border-color: #1B7A4A; color: #1B7A4A; }
.consent-no { color: var(--muted); }
.tag-choices { display: flex; flex-wrap: wrap; gap: 0.65rem 1.1rem; margin: 0.4rem 0 0.8rem; }
.tag-choices label { display: flex; gap: 0.4rem; align-items: center; margin: 0; font-weight: 400; }
.relance-log { margin-top: 0.6rem; }
.relance-log .row { border-top: 1px solid var(--line); padding: 0.7rem 0; }
.btn[disabled], button[disabled] { opacity: 0.45; cursor: not-allowed; }


/* Suivi des campagnes */
.banner--campaign { background: var(--ivory-d); color: var(--black); border-bottom: 1px solid var(--line); }
.campaign-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 1.1rem 1.15rem;
  margin-bottom: 0.85rem;
}
.campaign-card__top {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.25rem;
}
.campaign-card h2 { font-size: 1.2rem; margin: 0; }
.campaign-card__meta { margin: 0.15rem 0 0; color: var(--muted); word-break: break-word; }
.campaign-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.7rem;
  margin-top: 0.85rem;
}
.campaign-metrics .kpi { margin: 0; }
.campaign-card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.85rem; }
.link-copy { display: flex; gap: 0.4rem; flex-wrap: wrap; align-items: center; }
.link-copy input {
  flex: 1 1 16rem;
  min-height: 2.6rem;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  background: var(--ivory-d);
}

/* Calendrier des posts */
.status--brouillon { color: var(--muted); border-color: var(--line); }
.status--a_publier { border-color: var(--black); }
.status--publie { background: var(--black); color: #fff; border-color: var(--black); }
.cal-range { margin: 0.4rem 0 1rem; color: var(--muted); }
.cal-week { display: grid; gap: 0.85rem; }
.cal-day {
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.85rem 1rem 1rem;
}
.cal-day h2 { font-size: 1.05rem; margin: 0 0 0.6rem; letter-spacing: 0; text-transform: none; }
.cal-day.is-today { border-color: var(--black); }
.post-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0;
  border-top: 1px solid var(--line);
}
.post-card:first-of-type { border-top: 0; padding-top: 0; }
.post-card__img { width: 56px; height: 56px; object-fit: cover; flex-shrink: 0; background: var(--ivory-d); }
.post-card__body { flex: 1; min-width: 0; }
.post-card__body h3 { font-size: 1rem; margin: 0.25rem 0 0.45rem; font-weight: 600; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.7rem; font-size: 0.9rem; margin: 0; }
.post-card__actions { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; align-items: center; }
.inline-form { display: inline; }
.cal-month { width: 100%; border-collapse: collapse; background: #fff; }
.cal-month th {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding: 0.4rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}
.cal-month td {
  vertical-align: top;
  width: 14.28%;
  min-height: 5.5rem;
  height: 5.5rem;
  border: 1px solid var(--line);
  padding: 0.3rem 0.35rem;
}
.cal-month td.is-out { background: var(--ivory-d); color: var(--muted); }
.cal-month td.is-today { outline: 1px solid var(--black); outline-offset: -1px; }
.cal-month__day { color: inherit; text-decoration: none; font-weight: 600; }
.cal-month__list { list-style: none; margin: 0.3rem 0 0; padding: 0; }
.cal-month__list li { margin: 0.2rem 0; font-size: 0.78rem; line-height: 1.3; }
.cal-month__list a { color: inherit; text-decoration: none; display: block; }
.cal-dots { display: none; gap: 0.15rem; margin-top: 0.15rem; }
.cal-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); display: inline-block; }
.cal-dot--a_publier { background: var(--black); }
.cal-dot--publie { background: var(--gold); }
.cal-dot--brouillon { background: var(--muted); }
.post-products { display: grid; gap: 0.4rem; }
.post-product {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem;
  border: 1px solid var(--line);
  cursor: pointer;
}
.post-product.is-checked { border-color: var(--black); background: var(--ivory-d); }
.post-product img { width: 44px; height: 44px; object-fit: cover; }
.post-product strong { display: block; }
.post-networks { display: grid; gap: 0.35rem; }
.post-status-line { margin: 0.6rem 0 0; }
.post-preview-tabs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.8rem; }
.post-preview { display: none; border: 1px solid var(--line); padding: 0.85rem; background: var(--ivory-d); }
.post-preview.is-active { display: block; }
.post-preview__net { font-size: 0.9rem; margin: 0 0 0.6rem; color: var(--muted); }
.post-preview__media { margin: 0 0 0.7rem; }
.post-preview__media img { width: 100%; max-height: 260px; object-fit: cover; display: block; background: #fff; }
.post-preview__media figcaption {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.4rem 0 0;
  font-size: 0.95rem;
}
.post-preview__caption, .post-preview__tags { white-space: pre-wrap; margin: 0.4rem 0 0; font-size: 1rem; }
.post-preview__tags { color: var(--muted); }
#post-copy { font: inherit; font-size: 1rem; width: 100%; }
@media (max-width: 959px) {
  .cal-month td { height: auto; min-height: 2.6rem; padding: 0.25rem; }
  .cal-month__list { display: none; }
  .cal-dots { display: flex; }
  .cal-day h2 { font-size: 1rem; }
  .post-card__actions .btn { font-size: 0.95rem; }
  .actions-row { display: flex; flex-wrap: wrap; gap: 0.45rem; }
}
@media (min-width: 960px) {
  .cal-week { grid-template-columns: 1fr; }
}

/* Front nav: keep Avis visible, hide category shortcuts on mid-width desktops */
@media (min-width: 900px) and (max-width: 1099px) {
  .nav { gap: 1.15rem; }
  .nav a { letter-spacing: 0.1em; font-size: 0.72rem; }
  .nav__cat { display: none; }
}

/* Avis clients */
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.stars { display: inline-flex; gap: 0.05rem; letter-spacing: 0; color: var(--black); }
.stars__on { color: var(--black); }
.stars__off { color: #d6d6d6; }
.stars--small { font-size: 0.95rem; }
.review-summary {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem;
  margin: 0.7rem 0 0; color: var(--muted);
}
.review-page { display: grid; gap: 2.5rem; }
.review-list { display: grid; gap: 1.25rem; }
.review-list--home { gap: 1rem; }
.review {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 0.2rem;
}
.review-list > .review:first-child { border-top: 0; padding-top: 0; }
.review__name { font-family: var(--serif); font-size: 1.15rem; margin: 0 0 0.25rem; }
.review__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem;
  margin: 0; font-size: 0.9rem; color: var(--muted);
}
.review__body { margin: 0.7rem 0 0; font-size: 1.02rem; line-height: 1.55; }
.review__reply {
  margin-top: 0.85rem; padding: 0.85rem 1rem;
  background: var(--ivory-d); border-left: 2px solid var(--black);
}
.review__reply-label {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  margin: 0 0 0.35rem; color: var(--muted);
}
.review__reply p { margin: 0; }
.review-compose {
  border-top: 1px solid var(--line);
  padding-top: 1.8rem;
}
.review-compose h2, .review-compose h3 { margin-bottom: 0.5rem; }
.review-form { max-width: 36rem; margin-top: 1rem; }
.review-pdp { padding-top: 0.5rem; }
.stars-input { border: 0; padding: 0; margin: 0 0 1rem; }
.stars-input legend { font-weight: 500; margin-bottom: 0.4rem; }
.stars-input__row {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 0.15rem;
}
.stars-input__row input { position: absolute; opacity: 0; pointer-events: none; }
.stars-input__row label {
  cursor: pointer;
  font-size: 1.8rem;
  line-height: 1;
  color: #d6d6d6;
  min-width: 44px; min-height: 44px;
  display: grid; place-items: center;
}
.stars-input__row label:hover,
.stars-input__row label:hover ~ label,
.stars-input__row input:checked ~ label,
.stars-input__row input:focus-visible + label {
  color: var(--black);
}
.review-admin__top { margin-bottom: 0.6rem; }
@media (max-width: 959px) {
  .review__name { font-size: 1.1rem; }
  .review__body, .review-form, .review-form textarea, .review-form input, .review-form select {
    font-size: 1rem;
  }
}
