/* ============================================================
   AFFUTEXPRESS - storefront "EDGE"
   Premium, precis et technique. Charcoal + paper, rouge + or.
   Servi en static (pas de Vite) : le layout charge /storefront.css.
   ============================================================ */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/inter-latin-variable.woff2') format('woff2');
}

:root {
  /* Surfaces */
  --ink: #15171c;
  --ink-2: #1d2027;
  --ink-3: #262a32;
  --paper: #ffffff;
  --paper-2: #f4f2ee;
  --paper-3: #f8f6f2;
  --white: #ffffff;

  /* Text */
  --tx: #16181d;
  --tx-soft: #545a63;
  --tx-mut: #8b919b;
  --tx-inv: #f3f1ec;
  --tx-inv-mut: #9aa0aa;

  /* Lines */
  --line: #ebe7df;
  --line-2: #ded8cd;
  --line-dk: rgba(255, 255, 255, 0.12);
  --line-dk-2: rgba(255, 255, 255, 0.07);

  /* Brand */
  --red: #c8362b;
  --red-dk: #a82a20;
  --red-ink: #7a1d16;
  --gold: #c79a45;
  --gold-soft: #d9a441;

  --radius: 4px;
  --radius-lg: 8px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(20, 22, 28, 0.06);
  --shadow: 0 18px 48px -20px rgba(20, 22, 28, 0.28);
  --shadow-lg: 0 40px 90px -30px rgba(20, 22, 28, 0.4);

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  color: var(--tx);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv05' 1, 'ss01' 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
  display: block;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
}

/* ---------- Type primitives ---------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.04;
}
.display {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.98;
  text-wrap: balance;
}

.mono {
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0;
}
.mono-tick {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--red);
}
.mono-tick::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--red);
}
.mono-tick--gold {
  color: var(--gold-soft);
}
.mono-tick--gold::before {
  background: var(--gold);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: 0.005em;
  padding: 15px 28px;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  transition:
    transform 0.18s var(--ease),
    background 0.18s var(--ease),
    box-shadow 0.18s var(--ease);
}
.btn:hover {
  background: var(--red-dk);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn svg {
  width: 17px;
  height: 17px;
}
.btn--ghost {
  background: transparent;
  color: var(--tx);
  border: 1px solid var(--line-2);
}
.btn--ghost:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--on-dark.btn--ghost {
  color: #fff;
  border-color: var(--line-dk);
}
.btn--on-dark.btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.btn--lg {
  padding: 18px 34px;
  font-size: 1rem;
}
.btn--block {
  width: 100%;
}
.btn--ink {
  background: var(--ink);
}
.btn--ink:hover {
  background: #000;
}
.btn:disabled {
  background: var(--tx-mut);
  cursor: not-allowed;
  transform: none;
}

/* ============================================================
   ANNOUNCEMENT STRIP
   ============================================================ */
.strip {
  background: var(--ink);
  color: var(--tx-inv);
}
.strip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 36px;
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.015em;
  color: var(--tx-inv-mut);
}
.strip__inner span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.strip__inner span::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--gold);
  border-radius: 50%;
}
@media (max-width: 720px) {
  .strip__inner span:nth-child(n + 2) {
    display: none;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.hdr {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.hdr__bar {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
}
.hdr__logo img {
  height: 30px;
  width: auto;
}
.hdr__nav {
  display: flex;
  gap: 22px;
  margin-left: 14px;
  flex-wrap: wrap;
}
.hdr__nav a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--tx-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.15s var(--ease);
}
.hdr__nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 1.5px;
  background: var(--red);
  transition: right 0.22s var(--ease);
}
.hdr__nav a:hover {
  color: var(--tx);
}
.hdr__nav a:hover::after,
.hdr__nav a.is-active::after {
  right: 0;
}
.hdr__nav a.is-active {
  color: var(--tx);
}
.hdr__spacer {
  flex: 1;
}
.hdr__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hdr__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: none;
  transition: background 0.15s var(--ease);
}
.hdr__icon:hover {
  background: rgba(20, 22, 28, 0.06);
}
.hdr__icon svg {
  width: 20px;
  height: 20px;
}
.hdr__cart {
  position: relative;
}
.hdr__cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  background: var(--red);
  color: #fff;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
}
@media (max-width: 860px) {
  .hdr__nav {
    display: none;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
.ftr {
  background: var(--ink);
  color: var(--tx-inv-mut);
  margin-top: auto;
}
.ftr__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--line-dk);
}
.ftr__brand img {
  height: 30px;
  margin-bottom: 18px;
}
.ftr__brand p {
  max-width: 280px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--tx-inv-mut);
  margin: 0 0 22px;
}
.ftr__col h4 {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx-inv-mut);
  margin-bottom: 18px;
}
.ftr__col a {
  display: block;
  color: var(--tx-inv);
  font-size: 0.92rem;
  padding: 6px 0;
  transition: color 0.15s var(--ease);
}
.ftr__col a:hover {
  color: var(--gold-soft);
}
.ftr__news-lead {
  font-size: 0.9rem;
  color: var(--tx-inv-mut);
  margin: 0 0 14px;
}
.ftr__news {
  display: flex;
  border: 1px solid var(--line-dk);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 320px;
}
.ftr__news input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 13px 14px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
}
.ftr__news input::placeholder {
  color: var(--tx-inv-mut);
}
.ftr__news button {
  border: none;
  background: var(--red);
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.ftr__news button svg {
  width: 17px;
  height: 17px;
}
.ftr__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.01em;
  color: var(--tx-inv-mut);
}
.ftr__pay {
  display: flex;
  gap: 8px;
}
.ftr__pay span {
  border: 1px solid var(--line-dk);
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 0.6rem;
}
@media (max-width: 860px) {
  .ftr__top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 28px;
  }
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section {
  padding: 96px 0;
}
.section--tight {
  padding: 64px 0;
}
.section--flush-top {
  padding-top: 0;
}
.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
}
.section__title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}
.section__lead {
  max-width: 420px;
  color: var(--tx-soft);
  font-size: 1rem;
}
.eyebrow {
  margin-bottom: 18px;
}

/* ============================================================
   HERO (variante A : promesse editoriale)
   ============================================================ */
.hero {
  position: relative;
}
.heroA {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.heroA__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  gap: 56px;
  padding: 72px 0 0;
}
.heroA__body {
  padding-bottom: 80px;
  align-self: center;
}
.heroA__title {
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  margin: 22px 0 22px;
}
.heroA__title em {
  font-style: normal;
  color: var(--red);
}
.heroA__sub {
  font-size: 1.12rem;
  color: var(--tx-soft);
  max-width: 460px;
  margin: 0 0 30px;
}
.heroA__cta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.heroA__flow {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.heroA__flow .chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-size: 0.78rem;
  color: var(--tx-soft);
}
.heroA__flow .chip b {
  color: var(--red);
}
.heroA__flow .arrow {
  color: var(--line-2);
}
.heroA__media {
  position: relative;
  align-self: stretch;
  min-height: 440px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
}
.heroA__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.heroA__badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  background: rgba(21, 23, 28, 0.86);
  backdrop-filter: blur(6px);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.heroA__badge .big {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.heroA__badge .lbl {
  font-family: var(--font);
  font-size: 0.66rem;
  color: var(--tx-inv-mut);
  line-height: 1.3;
}
@media (max-width: 860px) {
  .heroA__inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 40px;
  }
  .heroA__body {
    padding-bottom: 44px;
  }
  .heroA__media {
    min-height: 320px;
    border-radius: var(--radius-lg);
  }
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.trust__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 8px;
}
.trust__item svg {
  width: 26px;
  height: 26px;
  color: var(--red);
  flex-shrink: 0;
  stroke-width: 1.5;
}
.trust__item h4 {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.trust__item p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--tx-mut);
}
@media (max-width: 760px) {
  .trust__row {
    grid-template-columns: 1fr 1fr;
    gap: 1px 24px;
  }
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--white);
  padding: 32px 28px 30px;
  position: relative;
}
.step__no {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--line-2);
  line-height: 1;
}
.step__icon {
  width: 36px;
  height: 36px;
  color: var(--ink);
  margin-bottom: 16px;
}
.step__icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.4;
}
.step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.step p {
  margin: 0;
  color: var(--tx-soft);
  font-size: 0.92rem;
  line-height: 1.6;
}
.steps--compact .step {
  padding: 24px 22px;
}
.steps--compact .step h3 {
  font-size: 1.02rem;
}
@media (max-width: 760px) {
  .steps {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRODUCT CARD + GRID
   ============================================================ */
.pcard {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.pcard:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--line-2);
}
.pcard__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
  overflow: hidden;
}
.pcard__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.pcard:hover .pcard__media img {
  transform: scale(1.045);
}
.pcard__tag {
  position: absolute;
  top: 12px;
  left: 12px;
  white-space: nowrap;
  background: var(--ink);
  color: #fff;
  font-family: var(--font);
  font-size: 0.62rem;
  letter-spacing: 0.015em;
  padding: 5px 9px;
  border-radius: 3px;
}
.pcard__tag--red {
  background: var(--red);
}
.pcard__body {
  padding: 20px 20px 22px;
}
.pcard__type {
  font-family: var(--font);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx-mut);
  margin-bottom: 8px;
}
.pcard__title {
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 10px;
}
.pcard__foot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
}
.pcard__price {
  font-weight: 800;
  font-size: 1.12rem;
}
.pcard__date {
  font-family: var(--font);
  font-size: 0.74rem;
  color: var(--tx-mut);
  margin-top: 6px;
}
.stars {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-size: 0.82rem;
}
.stars span {
  color: var(--tx-mut);
  font-family: var(--font);
  font-size: 0.78rem;
  white-space: nowrap;
}

.grid-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 22px;
}
@media (max-width: 560px) {
  .grid-products {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

/* ============================================================
   FEATURE / SPLIT (restauration)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.split--dark {
  background: var(--ink);
  color: var(--tx-inv);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
  gap: 0;
}
.split__media {
  overflow: hidden;
  align-self: stretch;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__body {
  padding: 56px 56px 56px 8px;
}
.split__body h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  margin: 16px 0;
}
.split__body p {
  color: var(--tx-inv-mut);
  font-size: 1.02rem;
  margin: 0 0 26px;
  max-width: 460px;
}
.specs {
  display: flex;
  flex-direction: column;
  margin: 0 0 28px;
  border-top: 1px solid var(--line-dk);
}
.spec {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line-dk);
  font-size: 0.92rem;
}
.spec__k {
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  color: var(--tx-inv-mut);
}
.spec__v {
  font-weight: 600;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .split__body {
    padding: 36px 28px;
  }
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.review__stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 14px;
}
.review__text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--tx);
  margin: 0 0 18px;
}
.review__who {
  font-family: var(--font);
  font-size: 0.74rem;
  color: var(--tx-mut);
}
@media (max-width: 860px) {
  .reviews {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  text-align: center;
}
.cta-band .mono-tick {
  justify-content: center;
  display: inline-flex;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  margin: 16px 0 26px;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.news {
  background: var(--ink);
  color: var(--tx-inv);
  text-align: center;
}
.news h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-bottom: 12px;
}
.news p {
  color: var(--tx-inv-mut);
  margin: 0 auto 28px;
  max-width: 460px;
}
.news__form {
  display: flex;
  gap: 8px;
  max-width: 420px;
  margin: 0 auto;
}
.news__form input {
  flex: 1;
  border: 1px solid var(--line-dk);
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  padding: 14px 16px;
  color: #fff;
  font-family: var(--font);
  font-size: 0.95rem;
  outline: none;
}
.news__form input::placeholder {
  color: var(--tx-inv-mut);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 22px 0 0;
  font-family: var(--font);
  font-size: 0.74rem;
  letter-spacing: 0.01em;
  color: var(--tx-mut);
}
.crumb a:hover {
  color: var(--tx);
}
.crumb span.sep {
  color: var(--line-2);
}

/* ============================================================
   PRODUCT PAGE
   ============================================================ */
.pdp {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  padding: 28px 0 64px;
  align-items: start;
}
.pdp__gallery {
  position: sticky;
  top: 96px;
}
.gal__main {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.gal__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6%;
}
.gal__edge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-soft), transparent);
}
.gal__thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.gal__thumb {
  aspect-ratio: 1 / 1;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  transition: border-color 0.15s var(--ease);
}
.gal__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gal__thumb.is-active {
  border-color: var(--ink);
}
.gal__thumb:hover {
  border-color: var(--line-2);
}

.pdp__type {
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.pdp__title {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  margin-bottom: 16px;
}
.pdp__rate {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.pdp__rate .mono {
  white-space: nowrap;
  color: var(--tx-mut);
}
.pdp__price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.pdp__price .now {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pdp__price .was {
  font-size: 1.1rem;
  color: var(--tx-mut);
  text-decoration: line-through;
}
.pdp__taxnote {
  font-size: 0.82rem;
  color: var(--tx-mut);
  margin: 6px 0 26px;
}
.pdp__lead {
  font-size: 1.02rem;
  color: var(--tx-soft);
  line-height: 1.65;
  margin: 0 0 28px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.opt {
  margin-bottom: 24px;
}
.opt__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.opt__label {
  font-family: var(--font);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tx-soft);
}
.opt__pick {
  font-size: 0.86rem;
  font-weight: 600;
}
.opt__choices {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.chipopt {
  border: 1px solid var(--line-2);
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 16px;
  cursor: pointer;
  text-align: left;
  min-width: 84px;
  font-family: var(--font);
  transition:
    border-color 0.15s var(--ease),
    background 0.15s var(--ease);
}
.chipopt .t {
  font-size: 0.92rem;
  font-weight: 600;
  display: block;
}
.chipopt:hover {
  border-color: var(--ink);
}
.chipopt.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.pdp__buy {
  display: flex;
  gap: 12px;
  align-items: stretch;
  margin: 28px 0 18px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.qty button {
  width: 46px;
  align-self: stretch;
  border: none;
  background: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--tx-soft);
  transition: background 0.15s var(--ease);
}
.qty button:hover {
  background: var(--paper-2);
}
.qty input,
.qty span {
  min-width: 44px;
  width: 44px;
  text-align: center;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 1rem;
  -moz-appearance: textfield;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdp__assure {
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 8px;
}
.assure {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
}
.assure:last-child {
  border-bottom: none;
}
.assure svg {
  width: 22px;
  height: 22px;
  color: var(--red);
  flex-shrink: 0;
  stroke-width: 1.5;
}
.assure b {
  font-size: 0.92rem;
}
.assure span {
  color: var(--tx-mut);
  font-size: 0.84rem;
}

.pdp__desc {
  border-top: 1px solid var(--line);
}
.pdp__desc-inner {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 56px;
  padding: 64px 0;
}
@media (max-width: 860px) {
  .pdp {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pdp__gallery {
    position: static;
  }
  .pdp__desc-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 44px 0;
  }
}

/* ============================================================
   RICH TEXT (description produit, page, article)
   ============================================================ */
.rte {
  font-size: 1.04rem;
  color: var(--tx-soft);
  line-height: 1.75;
}
.rte h1,
.rte h2,
.rte h3,
.rte h4 {
  color: var(--tx);
  margin: 1.6em 0 0.6em;
  line-height: 1.2;
}
.rte h2 {
  font-size: 1.6rem;
}
.rte h3 {
  font-size: 1.3rem;
}
.rte p {
  margin: 0 0 1.1em;
}
.rte a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rte img {
  border-radius: var(--radius-lg);
  margin: 1.4em 0;
}
.rte ul,
.rte ol {
  margin: 0 0 1.2em;
  padding-left: 0;
  list-style: none;
}
.rte ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
}
.rte ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 12px;
  height: 1.5px;
  background: var(--red);
}
.rte ol {
  counter-reset: rte;
}
.rte ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  counter-increment: rte;
}
.rte ol li::before {
  content: counter(rte);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--red);
  font-variant-numeric: tabular-nums;
}
.rte blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--gold-soft);
  color: var(--tx);
  font-style: italic;
}

/* ============================================================
   COLLECTION
   ============================================================ */
.coll__head {
  padding: 28px 0 40px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.coll__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 16px 0 14px;
}
.coll__desc {
  max-width: 600px;
  color: var(--tx-soft);
  font-size: 1.02rem;
}
.coll__count {
  font-family: var(--font);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--tx-mut);
  margin-bottom: 26px;
}

/* ============================================================
   CART
   ============================================================ */
.cart {
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 48px;
  padding: 28px 0 80px;
  align-items: start;
}
.cart__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}
.cart__title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.cart__head .mono {
  color: var(--tx-mut);
}
.cart__list {
  border-top: 1px solid var(--line);
}
.crow {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.crow__media {
  width: 96px;
  height: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.crow__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8%;
}
.crow__title {
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.crow__variant {
  font-family: var(--font);
  font-size: 0.74rem;
  color: var(--tx-mut);
  margin-bottom: 12px;
}
.crow__ctrls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.crow__qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.crow__rm button {
  border: none;
  background: none;
  color: var(--tx-mut);
  font-size: 0.82rem;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
}
.crow__rm button:hover {
  color: var(--red);
}
.crow__price {
  text-align: right;
}
.crow__price .lt {
  font-weight: 800;
  font-size: 1.1rem;
}
.crow__price .ut {
  font-size: 0.78rem;
  color: var(--tx-mut);
}
.qty--sm button {
  width: 36px;
  height: 36px;
  font-size: 1rem;
}
.qty--sm input {
  min-width: 36px;
  width: 36px;
}
.crow__qty .okbtn {
  border: 1px solid var(--line-2);
  background: var(--white);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--tx-soft);
}
.crow__qty .okbtn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.summary {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.summary h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.sumline {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 0.94rem;
  color: var(--tx-soft);
}
.sumline.total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--tx);
}
.sumline .free {
  color: var(--red);
  font-weight: 600;
}
.summary .btn {
  margin-top: 18px;
}
.summary__note {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--tx-mut);
}
.summary__note svg {
  width: 14px;
  height: 14px;
}
.cart__empty {
  text-align: center;
  padding: 80px 0;
}
.cart__empty p {
  color: var(--tx-mut);
  margin-bottom: 24px;
}
@media (max-width: 860px) {
  .cart {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .summary {
    position: static;
  }
}

/* ============================================================
   ARTICLE / PAGE (contenu editorial)
   ============================================================ */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px 0 80px;
}
.article__meta {
  font-family: var(--font);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--tx-mut);
  margin: 14px 0 22px;
}
.article__title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}
.article__hero {
  width: 100%;
  border-radius: var(--radius-lg);
  margin: 8px 0 36px;
}
.page-doc {
  max-width: 820px;
  margin: 0 auto;
  padding: 12px 0 80px;
}
.page-doc__head {
  padding: 16px 0 32px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.page-doc__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-top: 14px;
}

/* ============================================================
   CONFIRMATION (checkout success)
   ============================================================ */
.confirm {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 0 96px;
  text-align: center;
}
.confirm__badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.confirm__badge svg {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}
.confirm .mono-tick {
  justify-content: center;
  display: inline-flex;
}
.confirm__title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 14px 0;
}
.confirm__sub {
  color: var(--tx-soft);
  font-size: 1.05rem;
  margin: 0 auto 36px;
  max-width: 460px;
}
.confirm__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: left;
  overflow: hidden;
  margin-bottom: 32px;
}
.confirm__cardhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.confirm__num {
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.confirm__row {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}
.confirm__row:last-child {
  border-bottom: none;
}
.confirm__row span:first-child {
  color: var(--tx-mut);
}
.confirm__row.tot {
  font-weight: 800;
  font-size: 1.1rem;
}
.confirm__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   ERREURS (404 / 500)
   ============================================================ */
.errpage {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 96px 0;
}
.errpage h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 12px;
}
.errpage p {
  color: var(--tx-soft);
  font-size: 1.05rem;
  margin: 0 auto 28px;
  max-width: 440px;
}

/* ============================================================
   MAINTENANCE (boutons d'achat grisés) & FAQ
   ============================================================ */
.maint-note {
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-2);
  color: var(--tx-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: '+';
  font-size: 1.4rem;
  line-height: 1;
  color: var(--tx-soft);
}
.faq__item[open] summary::after {
  content: '\2212';
}
.faq__a {
  padding: 0 20px 18px;
  color: var(--tx-soft);
  line-height: 1.6;
}
.faq__a p {
  margin: 0;
}
