/* ==========================================================================
   MAISON LOUD — Feuille de style
   ========================================================================== */

:root {
  --white: #ffffff;
  --ivory: #faf8f4;
  --sand: #f3efe8;
  --line: #e7e2da;
  --ink: #1b1a18;
  --ink-soft: #55514b;
  --muted: #8b857c;
  --gold: #a8844f;
  --gold-light: #c9a96e;
  --error: #a3402f;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Pinyon Script", cursive;

  --container: 1320px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 12px; }

/* ---------- Typo utilitaires ---------- */

.eyebrow {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.page-title, .section-title {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: .02em;
  line-height: 1.15;
}
.page-title { font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); text-align: center; margin-bottom: 48px; }

.link-underline {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid currentColor;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.link-underline:hover { color: var(--gold); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 40px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .26em;
  text-transform: uppercase;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: transparent; color: var(--white); border-color: var(--white); }
.btn-block { width: 100%; }

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  position: relative;
}
.icon-btn svg, .footer-social svg, .mobile-nav-insta svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-btn:hover { color: var(--gold); }

/* ---------- Bandeau & header ---------- */

.announcement {
  background: var(--ink);
  color: var(--white);
  text-align: center;
  font-size: 10.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  padding: 10px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 18px;
  padding-bottom: 10px;
}
.header-left { display: flex; gap: 4px; margin-left: -10px; }
.header-right { display: flex; justify-content: flex-end; margin-right: -10px; }
.menu-toggle { display: none; }

.logo { display: flex; flex-direction: column; align-items: center; line-height: 1; }
.logo-main {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
}
.logo-main.small { font-size: 18px; }
.logo-sub {
  font-family: var(--script);
  font-size: clamp(17px, 1.8vw, 21px);
  color: var(--gold);
  margin-top: 4px;
}

.cart-count {
  position: absolute;
  top: 5px;
  right: 3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  line-height: 17px;
  text-align: center;
  font-weight: 400;
}
.cart-count[hidden] { display: none; }

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(22px, 3.5vw, 52px);
  padding: 8px 0 16px;
}
.main-nav a {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--ink); border-color: var(--gold); }

/* ---------- Menu mobile ---------- */

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(27, 26, 24, .35);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.mobile-nav.open { opacity: 1; visibility: visible; }
.mobile-nav-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: min(86vw, 380px);
  background: var(--white);
  padding: 20px 28px 32px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .45s var(--ease);
}
.mobile-nav.open .mobile-nav-panel { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.mobile-nav-head .icon-btn { margin-right: -10px; }
.mobile-nav-label {
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 24px 0 8px;
}
.mobile-nav-list a {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 300;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav-list.secondary a { font-family: var(--sans); font-size: 14px; padding: 11px 0; }
.mobile-nav-insta { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; font-size: 13px; }

/* ---------- Recherche ---------- */

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(27, 26, 24, .3);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-panel {
  background: var(--white);
  max-width: none;
  padding-top: 28px;
  padding-bottom: 28px;
  transform: translateY(-20px);
  transition: transform .35s var(--ease);
}
.search-overlay.open .search-panel { transform: none; }
.search-form {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 8px;
}
.search-form > svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.1; flex: none; }
.search-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 300;
  background: transparent;
  color: var(--ink);
}
.search-form input::-webkit-search-cancel-button { display: none; }
.search-results { max-width: 760px; margin: 18px auto 0; }
.search-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.search-item img { width: 52px; aspect-ratio: 3 / 4; object-fit: cover; }
.search-item strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; }
.search-item em { font-style: normal; font-size: 13px; color: var(--muted); }
.search-all { display: inline-block; margin-top: 16px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; border-bottom: 1px solid; }
.search-empty { color: var(--muted); margin: 8px 0 0; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 60vh;
  min-height: 60svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  /* Photo cadrée sur la broderie du buste ; le dégradé ne sert que de repli si l'image manque */
  background:
    url("../images/hero.jpg") 50% 28% / cover no-repeat,
    radial-gradient(ellipse at 50% 30%, #6f5a40 0%, #3b3026 55%, #1f1a15 100%);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(59, 48, 38, .35) 0%, rgba(31, 26, 21, .6) 100%),
    linear-gradient(to top, rgba(31, 26, 21, .55), rgba(111, 90, 64, .25));
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 48px var(--gutter);
  max-width: 820px;
  animation: rise 1.2s var(--ease) both;
}
.hero .eyebrow { color: var(--gold-light); }
.hero h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 1.05;
  letter-spacing: .01em;
  margin-bottom: 20px;
}
.hero p { font-size: 15px; max-width: 520px; margin: 0 auto 34px; opacity: .9; }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */

.section { padding-top: clamp(64px, 10vw, 128px); }
.section:last-of-type { padding-bottom: clamp(64px, 10vw, 128px); }
.section-intro { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-intro .section-title { margin-bottom: 14px; }
.section-intro p { color: var(--ink-soft); }
.section-cta { text-align: center; margin-top: 48px; }

/* ---------- Cartes collections ---------- */

.collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
}
.collection-card { display: block; }
.collection-media { overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); }
.collection-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.collection-card:hover .collection-media img { transform: scale(1.04); }
.collection-caption { text-align: center; padding: 20px 0 0; }
.collection-caption h3 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: .04em;
  margin-bottom: 8px;
}
.collection-caption .link-underline { font-size: 10px; color: var(--ink-soft); }

/* ---------- Bloc éditorial ---------- */

.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.editorial-media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand); }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-text { max-width: 480px; }
.editorial-text p { color: var(--ink-soft); }
.editorial-text .section-title { text-align: left; margin-bottom: 24px; }
.signature { font-family: var(--script); font-size: 34px; color: var(--gold); margin: 10px 0 28px; }

/* ---------- Grille produits ---------- */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(28px, 3vw, 48px) clamp(12px, 1.6vw, 24px);
}
.product-card { display: block; }
.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--sand);
}
.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .6s var(--ease), transform 1.2s var(--ease);
}
.product-media .img-hover { opacity: 0; }
@media (hover: hover) {
  .product-card:hover .img-hover { opacity: 1; }
  .product-card:hover .product-media img { transform: scale(1.03); }
}
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--white);
  font-size: 9.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: 5px 10px;
}
.product-info { text-align: center; padding-top: 16px; }
.product-info h3 { font-family: var(--serif); font-size: 21px; font-weight: 400; letter-spacing: .02em; line-height: 1.25; }
.product-color { font-size: 12px; color: var(--muted); margin: 2px 0 4px; }
.product-price { font-size: 13.5px; letter-spacing: .06em; margin: 0; }

/* ---------- En-tête de page ---------- */

.page-header { text-align: center; padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-header p:last-child { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  margin-bottom: 40px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.toolbar select {
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  color: var(--ink);
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 4px 0;
}
.page-collection .section { padding-top: 0; }

/* ---------- Fiche produit ---------- */

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 24px;
  padding-bottom: 24px;
}
.breadcrumb a:hover { color: var(--ink); }

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.gallery { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; }
.gallery-main {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: var(--sand);
}
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 4; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.thumb { aspect-ratio: 3 / 4; opacity: .5; transition: opacity .3s; border: 1px solid transparent; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active, .thumb:hover { opacity: 1; }
.thumb.active { border-color: var(--ink); }

.product-details { position: sticky; top: 150px; padding-bottom: 24px; }
.product-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1.1;
  margin-bottom: 14px;
}
.product-price-lg { font-size: 18px; letter-spacing: .06em; margin-bottom: 6px; }
.product-color-lg { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.product-color-lg:has(+ .made-to-order) { margin-bottom: 6px; }
.made-to-order { font-size: 12px; font-style: italic; color: var(--gold); letter-spacing: .02em; margin: 0 0 32px; }
.made-to-order.small { font-size: 11px; margin: 2px 0 0; }

.size-picker { margin-bottom: 24px; }
.size-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.size-head .link-underline { font-size: 10px; color: var(--ink-soft); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  min-width: 56px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-size: 13px;
  letter-spacing: .08em;
  transition: border-color .25s, background .25s, color .25s;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.selected { background: var(--ink); color: var(--white); border-color: var(--ink); }
.size-error { color: var(--error); font-size: 13px; margin: 10px 0 0; }

.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty button { width: 40px; height: 44px; font-size: 16px; }
.qty button:hover { color: var(--gold); }
.qty input, .qty span {
  width: 40px;
  text-align: center;
  border: 0;
  font: inherit;
  font-size: 14px;
  letter-spacing: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.small button { width: 32px; height: 34px; }
.qty.small span { width: 28px; font-size: 13px; }

.product-note { text-align: center; font-size: 12px; color: var(--muted); margin: 14px 0 36px; }

.accordion details { border-top: 1px solid var(--line); }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 18px; font-weight: 300; transition: transform .3s; }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion details > :not(summary) { color: var(--ink-soft); padding-bottom: 20px; margin: 0; }
.accordion ul li { padding-left: 16px; position: relative; }
.accordion ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 1px; background: var(--gold); }
.accordion a { border-bottom: 1px solid; }

/* ---------- Panier ---------- */

.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(64px, 10vw, 128px);
}
.cart-line {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line:first-child { border-top: 1px solid var(--line); }
.cart-thumb { aspect-ratio: 3 / 4; background: var(--sand); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line-info h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 4px; }
.cart-line-info p { margin: 0; font-size: 13px; }
.cart-line-actions { display: flex; align-items: center; gap: 24px; margin-top: 16px; }
.cart-line-actions .link-underline { font-size: 10px; color: var(--muted); }
.cart-line-total { font-size: 14px; letter-spacing: .04em; margin: 0; white-space: nowrap; }

.summary {
  background: var(--ivory);
  padding: 32px;
  position: sticky;
  top: 150px;
}
.summary h2 { font-family: var(--serif); font-weight: 300; font-size: 28px; margin-bottom: 20px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.summary-row.total {
  border-top: 1px solid var(--line);
  margin: 12px 0 24px;
  padding-top: 18px;
  font-size: 16px;
  font-weight: 400;
}
.summary-note { font-size: 12px; color: var(--muted); margin: 16px 0; text-align: center; }
.summary > .link-underline { display: table; margin: 0 auto; font-size: 10px; color: var(--ink-soft); }

/* ---------- Commande ---------- */

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  padding-bottom: clamp(64px, 10vw, 128px);
}
.payment-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid var(--ink);
  padding: 20px 22px;
  margin-bottom: 40px;
}
.payment-method .dot { flex: none; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--ink); margin-top: 4px; position: relative; }
.payment-method .dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--ink); }
.payment-method strong { display: block; font-weight: 400; font-size: 15px; }
.payment-method p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

.form-title {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.field { margin-bottom: 24px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field label span { text-transform: none; letter-spacing: 0; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--ink); }
.field.invalid input, .field.invalid textarea { border-color: var(--error); }
.field-error { color: var(--error); font-size: 12px; margin-top: 6px; min-height: 0; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 16px; }

.mini-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.mini-line strong { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.mini-line p { margin: 0; font-size: 12px; }
.mini-thumb { position: relative; aspect-ratio: 3 / 4; background: var(--sand); }
.mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mini-thumb span {
  position: absolute;
  top: -8px; right: -8px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  line-height: 20px;
  text-align: center;
}

.confirmation {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 24px 0 clamp(64px, 10vw, 128px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.confirmation p { color: var(--ink-soft); margin-bottom: 24px; }
.confirmation .link-underline { margin-top: 24px; }

/* ---------- États vides ---------- */

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 0 clamp(64px, 10vw, 128px);
}
.empty-state p { color: var(--ink-soft); margin-bottom: 28px; }
.page-pad { padding-top: clamp(48px, 8vw, 96px); }

/* ---------- Pages de contenu ---------- */

.prose {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: clamp(64px, 10vw, 128px);
  color: var(--ink-soft);
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--ink);
  margin: 48px 0 14px;
}
.prose h2:first-child { margin-top: 0; }
.prose ul { margin: 0 0 1em; }
.prose ul li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 7px; height: 1px; background: var(--gold); }
.prose a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.prose .lead { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 27px); line-height: 1.5; color: var(--ink); font-weight: 300; }

.about-media { aspect-ratio: 16 / 7; overflow: hidden; background: var(--sand); margin-bottom: clamp(48px, 7vw, 88px); }
.about-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 0%; }

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 48px 0;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.values h3 { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-bottom: 8px; }
.values p { font-size: 14px; margin: 0; }

.table-wrap { overflow-x: auto; margin: 0 0 1.5em; }
.size-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.size-table th, .size-table td { padding: 14px 12px; text-align: center; border-bottom: 1px solid var(--line); }
.size-table th {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--ivory);
}
.size-table td:first-child { color: var(--ink); font-weight: 400; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 96px);
  max-width: 1040px;
  margin: 0 auto;
  padding-bottom: clamp(64px, 10vw, 128px);
}
.contact-card { border-top: 1px solid var(--line); padding: 24px 0; }
.contact-card h3 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.contact-card a { font-family: var(--serif); font-size: 24px; color: var(--ink); }
.contact-card a:hover { color: var(--gold); }
.contact-card p { color: var(--ink-soft); margin: 6px 0 0; font-size: 14px; }
.form-error { color: var(--error); font-size: 13px; }

/* ---------- Réassurance & footer ---------- */

.reassurance { background: var(--ivory); padding: clamp(48px, 7vw, 80px) 0; margin-top: 0; }
.reassurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; text-align: center; }
.reassurance h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin-bottom: 6px; }
.reassurance p { font-size: 13px; color: var(--ink-soft); margin: 0; }

.site-footer { background: #000; color: #d9d4cc; padding: clamp(56px, 8vw, 88px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { width: 240px; height: 84px; object-fit: cover; margin: 0 0 16px -36px; }
.footer-brand p { font-size: 13px; color: #9d968b; max-width: 300px; }
.site-footer h4 {
  font-size: 10.5px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
}
.site-footer li { margin-bottom: 10px; font-size: 13.5px; }
.site-footer a { transition: color .3s; }
.site-footer a:hover { color: var(--white); }
.footer-social { display: inline-flex; align-items: center; gap: 10px; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid #2a2724;
  font-size: 11px;
  letter-spacing: .1em;
  color: #7b756c;
}

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  max-width: calc(100vw - 32px);
  background: var(--ink);
  color: var(--white);
  padding: 16px 22px;
  font-size: 13px;
  transform: translate(-50%, 20px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s;
}
.toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.toast a {
  flex: none;
  font-size: 10.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--gold-light);
  color: var(--gold-light);
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .collections-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .checkout-summary { order: -1; }
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .main-nav { display: none; }
  .header-inner { padding-top: 12px; padding-bottom: 12px; }

  .product-layout { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; margin: 0 calc(var(--gutter) * -1); }
  .gallery-main, .gallery-thumbs { grid-column: 1; }
  .gallery-thumbs { grid-row: 2; flex-direction: row; justify-content: center; gap: 8px; }
  .thumb { width: 8px; height: 8px; aspect-ratio: auto; border-radius: 50%; background: var(--ink); opacity: .2; border: 0; }
  .thumb img { display: none; }
  .thumb.active { opacity: .9; }
  .product-details { position: static; }

  .editorial { grid-template-columns: 1fr; }
  .editorial-text { max-width: none; text-align: center; }
  .editorial-text .section-title { text-align: center; }

  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .announcement { font-size: 9.5px; letter-spacing: .24em; }
  .hero { min-height: 50vh; min-height: 50svh; background-position: 72% 30%, center; }
  .collections-grid { gap: 12px; }
  .product-grid { gap: 32px 12px; }
  .product-info h3 { font-size: 18px; }
  .reassurance-grid, .values { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .form-grid { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 88px 1fr; gap: 16px; }
  .cart-line-total { grid-column: 2; }
  .about-media { aspect-ratio: 4 / 5; }
  .summary { padding: 24px 20px; }
  .toast { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Avance & politique d'échange ---------- */

.deposit-box {
  background: var(--ivory);
  border-left: 2px solid var(--gold);
  padding: 24px 26px;
  margin-bottom: 40px;
}
.deposit-message {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 18px;
}
.deposit-amounts { border-top: 1px solid var(--line); padding-top: 10px; margin-bottom: 14px; }
.summary-row.deposit { color: var(--gold); font-weight: 400; }
.deposit-note { font-size: 13px; color: var(--ink-soft); margin: 0; }

.policy-reminder { text-align: center; font-size: 12px; color: var(--ink-soft); margin: -24px 0 36px; }
.policy-reminder a, .checkbox a { border-bottom: 1px solid var(--gold); }
#checkout-form .policy-reminder { text-align: left; margin: 0 0 18px; }

.field.check { margin-bottom: 14px; }
.checkbox {
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--ink) !important;
  cursor: pointer;
}
.checkbox input { flex: none; width: 17px; height: 17px; margin: 3px 0 0; accent-color: var(--ink); }
.field.check.invalid .checkbox input { outline: 1px solid var(--error); outline-offset: 2px; }
#checkout-form .btn { margin-top: 12px; }

@media (max-width: 640px) {
  .deposit-box { padding: 20px 18px; }
}

/* ---------- Bouton WhatsApp flottant ---------- */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .18);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(0, 0, 0, .22); }
.wa-float svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .toast { bottom: 84px; }
}
