/* =========================================================
   NADIA TARA — feuille de style principale
   Couleurs et dimensions modifiables ici (variables)
   ========================================================= */
:root {
  --bg: #edece8;          /* fond grège */
  --ink: #000000;         /* texte */
  --muted: #8a8a86;       /* prix, textes secondaires */
  --line: #a9a8a4;        /* bordures fines */
  --line-soft: #d9d8d3;
  --ph: #dedcd6;          /* fond des emplacements photo */
  --header-h: 48px;
  --gutter: 12px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }
main { padding-top: var(--header-h); }

/* ---------- Emplacement photo (en attendant les vraies images) ---------- */
.ph {
  position: relative;
  width: 100%; height: 100%;
  background: var(--ph);
  display: flex; align-items: center; justify-content: center;
  color: #9d9b95; font-size: 12px; letter-spacing: .04em; text-transform: uppercase;
  text-align: center; padding: 8px;
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top right, transparent calc(50% - .5px), #cfcdc6 50%, transparent calc(50% + .5px)),
    linear-gradient(to top left, transparent calc(50% - .5px), #cfcdc6 50%, transparent calc(50% + .5px));
  pointer-events: none; opacity: .7;
}
.ph span { position: relative; z-index: 1; background: var(--ph); padding: 2px 6px; }
.media { width: 100%; height: 100%; object-fit: cover; }

/* ---------- En-tête ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--header-h);
  background: var(--bg);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gutter);
}
.header__left { display: flex; align-items: center; gap: 24px; height: 100%; }
.logo { display: flex; align-items: center; height: 100%; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.logo img { height: 16px; width: auto; }
.nav { display: flex; gap: 12px; height: 100%; }
.nav__item { display: flex; align-items: center; height: 100%; }
.nav__item > a, .nav__item > button { line-height: 24px; }
.nav__item > a:hover, .nav__item > button:hover, .nav__item.is-active > a { text-decoration: underline; text-underline-offset: 3px; }

.cart-btn { position: relative; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute; top: -8px; right: -12px;
  min-width: 20px; height: 20px; border-radius: 10px; padding: 0 5px;
  background: #d3d3d3; font-size: 12px; line-height: 20px; text-align: center;
}

/* Menu déroulant Shop */
.mega {
  position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 49;
  background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  padding: 16px var(--gutter) 24px;
  display: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.mega.is-open { display: grid; }
.mega__col h4 { margin: 0 0 6px; font-size: 16px; font-weight: 400; }
.mega__col a { display: block; color: var(--ink); line-height: 26px; }
.mega__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.mega__col--sub a { color: var(--muted); }
.mega__col--sub a:hover { color: var(--ink); }

/* ---------- Accueil : hero ---------- */
.hero {
  position: relative;
  height: calc(100vh - var(--header-h));
  height: calc(100svh - var(--header-h));
  min-height: 420px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg .media, .hero__bg .ph { width: 100%; height: 100%; }
.hero__bg .ph { align-items: flex-end; padding-bottom: 24px; }
.hero__logo {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: min(50vw, 720px);
  opacity: .55; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
}
.hero__logo img { width: 100%; height: auto; }
.hero__logo .wordmark {
  font-size: clamp(48px, 11vw, 190px); font-weight: 800; letter-spacing: -.04em;
  line-height: .9; color: #6f6f6f; white-space: nowrap; text-transform: uppercase;
}

/* ---------- Accueil : grille de catégories 2x2 ---------- */
.tiles {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.tile {
  position: relative; display: block;
  aspect-ratio: 720 / 900;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.tile:nth-child(odd) { border-right: 1px solid var(--line); }
.tile__label {
  position: absolute; top: 8px; z-index: 2; font-size: 16px;
}
.tile:nth-child(odd) .tile__label { left: var(--gutter); }
.tile:nth-child(even) .tile__label { right: var(--gutter); }
.tile:hover .tile__label { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pied de page ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 16px var(--gutter) 12px;
  font-size: 16px;
}
.footer__cols { display: flex; justify-content: space-between; gap: 24px; }
.footer__col a { display: block; line-height: 40px; }
.footer__col--right { text-align: right; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; margin-top: 28px; }
.footer__bottom small { font-size: 12px; }

/* ---------- Shop : barre filtres + grille ---------- */
.filterbar {
  position: sticky; top: var(--header-h); z-index: 20;
  height: 34px; background: var(--bg);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center; gap: 16px;
  padding: 0 var(--gutter); font-size: 12px;
}
.filterbar__toggle { display: flex; align-items: center; gap: 8px; }
.filterbar__toggle svg { width: 20px; height: 20px; }
.filterbar__crumbs { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; }
.filterbar__crumbs::-webkit-scrollbar { display: none; }
.filterbar__crumbs a { color: var(--muted); white-space: nowrap; }
.filterbar__crumbs a.is-active, .filterbar__crumbs a:hover { color: var(--ink); }
.filterbar__crumbs { display: none; }
.filterbar.is-open .filterbar__crumbs { display: flex; }

.grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.card {
  display: flex; flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px; font-weight: 300;
}
.card__img { position: relative; aspect-ratio: 360 / 538; overflow: hidden; }
.card__img .media, .card__img .ph { position: absolute; inset: 0; }
.card__img .media--alt { opacity: 0; transition: opacity .25s ease; }
.card:hover .card__img .media--alt { opacity: 1; }
.card__meta {
  height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 12px; border-top: 1px solid var(--line);
}
.card__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__price { color: var(--muted); white-space: nowrap; }

.pager { display: flex; justify-content: center; align-items: center; gap: 4px; padding: 32px 0 48px; font-size: 12px; font-weight: 300; }
.pager__btn { display: inline-flex; align-items: center; justify-content: center; width: 158px; height: 44px; border: 1px solid var(--line); margin-top: 16px; }
.pager__btn:hover { background: var(--ink); color: var(--bg); }
.pager-wrap { display: flex; flex-direction: column; align-items: center; }
.empty { padding: 80px var(--gutter); text-align: center; color: var(--muted); }

/* ---------- Fiche produit ---------- */
.product { display: grid; grid-template-columns: 1fr 1fr; }
.product__gallery { border-right: 1px solid var(--line); }
.product__gallery figure { margin: 0; aspect-ratio: 720 / 900; border-bottom: 1px solid var(--line); overflow: hidden; }
.product__gallery figure:last-child { border-bottom: 0; }
.product__info { position: sticky; top: var(--header-h); align-self: start; }
.product__head { padding: 16px 24px 40px; }
.crumbs { font-size: 12px; display: flex; gap: 8px; margin-bottom: 10px; }
.crumbs a { text-decoration: underline; text-underline-offset: 2px; }
.product__title { display: flex; justify-content: space-between; gap: 16px; font-size: 18px; }
.product__title h1 { margin: 0; font-size: inherit; font-weight: 400; }
.product__actions { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product__actions > * { height: 64px; display: flex; align-items: center; justify-content: center; }
.product__actions > *:first-child { border-right: 1px solid var(--line); }
.btn-add:hover { background: var(--ink); color: var(--bg); }
.size-select { position: relative; }
.size-select select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; font: inherit; color: inherit;
  width: 100%; height: 100%; text-align: center; text-align-last: center; cursor: pointer;
}
.product__desc { padding: 28px 24px 30px; border-bottom: 1px solid var(--line); font-size: 14px; }
.product__desc p { margin: 0; }
.accordion { padding: 12px 24px 0; }
.acc { border-top: 1px solid var(--line-soft); }
.acc:last-child { border-bottom: 1px solid var(--line-soft); }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; height: 46px; cursor: pointer; font-size: 14px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 18px; }
.acc[open] summary::after { content: "–"; }
.acc div { padding: 0 0 16px; font-size: 13px; color: #333; }
.styled { padding: 24px; font-size: 14px; }
.styled__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 12px; border: 1px solid var(--line); }
.styled__row a { aspect-ratio: 360/538; border-right: 1px solid var(--line); overflow: hidden; }
.styled__row a:last-child { border-right: 0; }

/* ---------- Visuel (équivalent Runway) ---------- */
.stage {
  position: relative;
  height: calc(100vh - var(--header-h) - 42px);
  min-height: 420px;
  overflow: hidden;
  background: var(--ph);
}
.stage__blur { position: absolute; inset: -40px; filter: blur(28px); transform: scale(1.05); opacity: .9; }
.stage__blur .media, .stage__blur .ph { width: 100%; height: 100%; }
.stage__main {
  position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 100%; aspect-ratio: 526 / 810;
  overflow: hidden;
}
.stage__main .media, .stage__main .ph { width: 100%; height: 100%; }
.stage__main .ph { background: #d2d0c9; }
.stage .media, .stage .ph { transition: opacity .35s ease; }

.series { list-style: none; margin: 0; padding: 36px var(--gutter) 36px; }
.series li a { display: inline-block; line-height: 44px; font-size: 16px; }
.series li a:hover, .series li a.is-active { text-decoration: underline; text-underline-offset: 3px; }
.series li .year { color: var(--muted); margin-left: 8px; font-size: 12px; }

.serie-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px var(--gutter); border-bottom: 1px solid var(--line); }
.serie-head h1 { margin: 0; font-size: 16px; font-weight: 400; }
.serie-head a { font-size: 12px; text-decoration: underline; text-underline-offset: 2px; }
.looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.look { position: relative; aspect-ratio: 480 / 720; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; cursor: zoom-in; }
.look:nth-child(3n) { border-right: 0; }
.look__n { position: absolute; top: 8px; left: var(--gutter); font-size: 12px; z-index: 2; }

.lightbox {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: none; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox__img { height: calc(100vh - 96px); aspect-ratio: 480/720; max-width: calc(100vw - 24px); }
.lightbox__img .ph, .lightbox__img .media { width: 100%; height: 100%; object-fit: contain; }
.lightbox__close, .lightbox__prev, .lightbox__next { position: absolute; font-size: 14px; padding: 12px; }
.lightbox__close { top: 4px; right: var(--gutter); }
.lightbox__prev { left: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox__next { right: var(--gutter); top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; top: 16px; left: var(--gutter); font-size: 12px; }

/* ---------- Pages texte (À propos, CGV…) ---------- */
.page { max-width: 720px; padding: 40px var(--gutter) 80px; min-height: 60vh; }
.page h1 { font-size: 16px; font-weight: 400; margin: 0 0 24px; }
.page p { font-size: 14px; margin: 0 0 14px; }

/* ---------- Panier (tiroir) ---------- */
.drawer-veil { position: fixed; inset: 0; background: rgba(0,0,0,.15); z-index: 80; opacity: 0; pointer-events: none; transition: opacity .2s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90;
  width: min(440px, 100vw); background: var(--bg); border-left: 1px solid var(--line);
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column;
}
.cart-open .drawer { transform: none; }
.cart-open .drawer-veil { opacity: 1; pointer-events: auto; }
.drawer__head { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gutter); border-bottom: 1px solid var(--line); }
.drawer__body { flex: 1; overflow-y: auto; }
.line { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.line__img { aspect-ratio: 360/538; overflow: hidden; }
.line__top { display: flex; justify-content: space-between; gap: 8px; }
.line__meta { color: var(--muted); }
.line__qty { display: flex; gap: 10px; margin-top: 8px; align-items: center; }
.line__qty button { width: 22px; height: 22px; border: 1px solid var(--line); }
.line__rm { text-decoration: underline; color: var(--muted); font-size: 12px; margin-top: 8px; }
.drawer__foot { border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; padding: 14px var(--gutter); }
.drawer__checkout { width: 100%; height: 56px; border-top: 1px solid var(--line); }
.drawer__checkout:hover { background: var(--ink); color: var(--bg); }

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega { grid-template-columns: 1fr 1fr; }
  .looks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .look:nth-child(3n) { border-right: 1px solid var(--line); }
  .look:nth-child(2n) { border-right: 0; }
}
@media (max-width: 700px) {
  .header__left { gap: 16px; }
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 390 / 520; }
  .tile:nth-child(odd) { border-right: 0; }
  .tile:nth-child(even) .tile__label { right: auto; left: var(--gutter); }
  .product { grid-template-columns: 1fr; }
  .product__gallery { border-right: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .product__gallery figure { flex: 0 0 100%; scroll-snap-align: start; border-bottom: 0; border-right: 1px solid var(--line); }
  .product__info { position: static; border-top: 1px solid var(--line); }
  .product__head { padding: 16px var(--gutter) 28px; }
  .product__desc, .accordion, .styled { padding-left: var(--gutter); padding-right: var(--gutter); }
  .footer__col a { line-height: 34px; font-size: 14px; }
  .hero__logo { width: 80vw; }
  .stage__main { width: 72%; height: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); }
  .mega { grid-template-columns: 1fr; gap: 12px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
}

/* ---------- Calendrier de l'Avent : pièces uniques ---------- */
.header__next { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.header__next:hover { color: var(--ink); }
.filterbar { justify-content: space-between; }
.filterbar__next { color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }

.card__door {
  position: absolute; inset: 0; background: var(--ph);
  display: flex; align-items: center; justify-content: center;
}
.card__door span { font-size: clamp(56px, 9vw, 140px); font-weight: 300; letter-spacing: -.04em; color: #b9b7b0; line-height: 1; }
.card__door--big { position: relative; width: 100%; height: 100%; }
.card__door--big span { font-size: clamp(120px, 20vw, 320px); }
div.card { cursor: default; }

/* Vendu : image éteinte + mention claire */
.card--sold .card__img .media, .card--sold .card__img .ph,
.product--sold .product__gallery .media, .product--sold .product__gallery .ph { filter: grayscale(1); opacity: .45; }
.card__badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3;
  background: var(--ink); color: var(--bg);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 14px;
}
.card--reserved .card__badge { background: var(--bg); color: var(--ink); border: 1px solid var(--ink); }
.card--sold .card__price s, .product__title s { color: var(--muted); margin-right: 4px; }
.card--available .card__price { color: var(--ink); }
.product__gallery figure { position: relative; }

.product__state { font-size: 12px; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.product--available .product__state { color: var(--ink); }
.btn-buy { width: 100%; height: 100%; }
.btn-buy:not(:disabled):hover { background: var(--ink); color: var(--bg); }
.btn-buy:disabled { cursor: default; color: var(--muted); }
.product--sold .btn-buy:disabled { color: var(--ink); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
.size-static { color: var(--ink); }
.buy-msg { margin: 0; padding: 0 24px; font-size: 12px; color: var(--muted); }
.buy-msg:not(:empty) { padding: 12px 24px; border-bottom: 1px solid var(--line); }
.card--sold .ph span, .product--sold .product__gallery .ph span { display: none; }
.btn-buy:disabled { padding: 0 12px; font-size: 13px; line-height: 1.3; }
@media (max-width: 700px) {
  .header__next { font-size: 11px; }
  .header__next .lbl { display: none; }
  .card--sold .card__price s { display: none; }
}

/* ---------- Shop : catégories + Coming soon ---------- */
.filterbar__cats { display: flex; gap: 16px; white-space: nowrap; }
.filterbar__cats a { color: var(--muted); }
.filterbar__cats a.is-active, .filterbar__cats a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.soon { position: relative; height: calc(100vh - var(--header-h) - 34px); min-height: 420px; overflow: hidden; }
.soon__bg { position: absolute; inset: 0; }
.soon__bg .media, .soon__bg .ph { width: 100%; height: 100%; }
.soon__bg .ph { align-items: flex-end; padding-bottom: 24px; }
.soon__text { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 0 var(--gutter); }
.soon__text h1 { margin: 0; font-size: clamp(40px, 8vw, 120px); font-weight: 300; letter-spacing: -.03em; line-height: 1; }
.soon__text p { margin: 0; font-size: 14px; }
.soon__text a { font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 700px) {
  .filterbar { height: auto; flex-wrap: wrap; row-gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .filterbar__crumbs { width: 100%; }
}

/* ---------- Porte du jour : fermée jusqu'au clic, puis s'ouvre ---------- */
.card--door { cursor: pointer; }
.card--door .card__img, .product__gallery figure.card--door { perspective: 1800px; }
.product__gallery figure.card--door { cursor: pointer; }
.door {
  position: absolute; inset: 0; z-index: 4;
  background: var(--ink); color: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  transform-origin: left center;
  transition: transform 1.05s cubic-bezier(.65, 0, .25, 1), opacity .35s ease .75s;
  backface-visibility: hidden;
}
.door__n { font-size: clamp(64px, 10vw, 160px); font-weight: 300; letter-spacing: -.04em; line-height: 1; }
.product__gallery .door__n { font-size: clamp(120px, 20vw, 320px); }
.door__cta { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; animation: doorPulse 2.2s ease-in-out infinite; }
.card--door:hover .door, .card--door:focus-visible .door { transform: rotateY(-8deg); }
.card--door:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
.is-opening .door, .card--door.is-opening:hover .door { transform: rotateY(-104deg); opacity: 0; }
.card--door .card__name { color: var(--ink); }
.card--door .card__price { color: var(--ink); }
.btn-open { background: var(--ink); color: var(--bg); }
.btn-open:hover { opacity: .85; }
.card--revealed .card__img .media, .card--revealed .card__img .ph { animation: revealIn .9s ease both; }
.card--revealed .card__meta { animation: fadeIn .6s ease .2s both; }
@keyframes doorPulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes revealIn { from { transform: scale(1.06); filter: blur(6px); } to { transform: none; filter: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .door, .door__cta, .card--revealed .card__img .media, .card--revealed .card__img .ph, .card--revealed .card__meta { animation: none; transition: none; }
}

/* ---------- Croix : fermer la fiche et revenir au calendrier ---------- */
.close-btn {
  position: fixed; z-index: 30;
  top: calc(var(--header-h) + 12px); right: var(--gutter);
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s;
}
.close-btn svg { width: 20px; height: 20px; }
.close-btn:hover, .close-btn:focus-visible { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.product__head { padding-right: 64px; }
.card { scroll-margin-top: calc(var(--header-h) + 46px); }

/* Accueil : 3 portraits côte à côte */
.hero__trio { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; height: 100%; }
.hero__trio > div { position: relative; overflow: hidden; border-right: 1px solid var(--line); }
.hero__trio > div:last-child { border-right: 0; }
.hero__trio .media, .hero__trio .ph { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Fiche produit : même format portrait 2:3 que la grille */
.product__gallery figure { aspect-ratio: 2 / 3; }

/* Accueil, image paysage : affichée en entier (toute la largeur, sans rognage) */
.hero--fit { height: auto; min-height: 0; }
.hero--fit .hero__bg { position: relative; inset: auto; }
.hero--fit .hero__bg .media { width: 100%; height: auto; object-fit: contain; }
@media (max-width: 700px) { .hero--fit .hero__logo { width: 56vw; } }

/* ---------- Pages légales + pied de page 3 colonnes ---------- */
.page { max-width: 760px; }
.page h2 { font-size: 15px; font-weight: 600; margin: 32px 0 10px; }
.page h3 { font-size: 14px; font-weight: 600; margin: 22px 0 8px; }
.page p, .page li { font-size: 14px; line-height: 1.6; }
.page ul { margin: 0 0 14px; padding-left: 20px; }
.page a { text-decoration: underline; text-underline-offset: 2px; }
mark.todo { background: #ffe97a; color: var(--ink); padding: 0 2px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.footer__grid h4 { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.footer__grid .footer__col a { line-height: 30px; font-size: 14px; }
.footer__bottom small { max-width: 70%; }
@media (max-width: 700px) {
  .footer__grid { grid-template-columns: 1fr; gap: 18px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer__bottom small { max-width: none; }
}

/* Destination de livraison (fiche produit) */
.ship-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; border-bottom: 1px solid var(--line); font-size: 13px; }
.ship-row select { font: inherit; color: inherit; background: transparent; border: 1px solid var(--line); padding: 6px 10px; border-radius: 0; }
@media (max-width: 700px) { .ship-row { padding: 12px var(--gutter); } }
