/* ==========================================================================
   SSIMI — FEUILLE DE STYLE
   Couleurs et polices modifiables dans :root ci-dessous.
   ========================================================================== */

:root {
  --brown-900: #2e170d;
  --brown-800: #3b1f12;
  --brown-700: #5a3220;
  --copper:    #a8652f;
  --gold:      #c58f4a;
  --gold-soft: #e3c48f;
  --cream:     #fbf6ee;
  --cream-2:   #f4ead9;
  --sand:      #e9dcc6;
  --ink:       #24160f;
  --muted:     #6f5a4c;
  --white:     #ffffff;
  --wa:        #1f9d55;
  --wa-dark:   #17804a;
  --danger:    #b3261e;

  --grad-gold: linear-gradient(135deg, #d9a75f 0%, #b06c32 55%, #8a4f22 100%);

  --font-title: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:  "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 10px 30px rgba(59, 31, 18, .10);
  --shadow-lg: 0 24px 60px rgba(46, 23, 13, .22);
  --header-h:  68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; color: var(--brown-800); font-weight: 600; }
p { margin: 0 0 1em; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--brown-800); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 999; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 2px; }

.eyebrow {
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper); font-weight: 600; margin-bottom: .6rem;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .75rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 500; letter-spacing: .02em; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--grad-gold); color: #fff; box-shadow: 0 8px 20px rgba(168, 101, 47, .30); }
.btn--primary:hover { box-shadow: 0 10px 26px rgba(168, 101, 47, .42); }
.btn--ghost { background: rgba(255,255,255,.7); border-color: var(--sand); color: var(--brown-800); }
.btn--ghost:hover { background: #fff; }
.btn--outline { background: transparent; border-color: var(--brown-700); color: var(--brown-800); }
.btn--outline:hover { background: var(--brown-800); color: #fff; }
.btn--light { background: #fff; color: var(--brown-800); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--small { min-height: 40px; padding: .45rem 1rem; font-size: .92rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.wa-ico { fill: currentColor; stroke: none; }
.link-btn { background: none; border: 0; padding: .4rem 0; color: var(--copper); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Bandeau + Header ---------- */
.topbar { background: var(--brown-800); color: var(--gold-soft); font-size: .82rem; text-align: center; padding: 7px 16px; letter-spacing: .03em; }
.topbar p { margin: 0; }

.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 238, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--sand); }
.header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { text-decoration: none; display: flex; align-items: center; }
.logo__mark {
  font-family: var(--font-title); font-weight: 700; font-size: 1.9rem; letter-spacing: .08em;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo__mark--light { background: linear-gradient(135deg, #f1cf8e, #c98a45); -webkit-background-clip: text; background-clip: text; }

.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-size: .95rem; color: var(--brown-700); position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px; background: var(--gold); transition: width .2s; }
.nav a:hover::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; background: none; border: 0; border-radius: 50%; color: var(--brown-800); position: relative; }
.icon-btn:hover { background: var(--cream-2); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--copper); color: #fff; font-size: .7rem; font-weight: 600;
  display: grid; place-items: center;
}
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }

.burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { display: block; width: 20px; height: 1.8px; background: currentColor; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.searchbar { border-top: 1px solid var(--sand); padding: 12px 0; background: var(--cream); }
.searchbar input { width: 100%; height: 48px; border: 1px solid var(--sand); border-radius: 999px; padding: 0 20px; background: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 500px at 90% -10%, rgba(227, 196, 143, .45), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(197, 143, 74, .18), transparent 60%),
    var(--cream);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); font-weight: 600; letter-spacing: -.01em; }
.hero__lead { font-size: 1.12rem; color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: var(--brown-700); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }

.hero__visual { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; }
.arch { margin: 0; border-radius: 999px 999px 18px 18px; overflow: hidden; box-shadow: var(--shadow-lg); border: 4px solid #fff; background: var(--sand); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--1 { aspect-ratio: 9 / 20; }
.arch--2 { aspect-ratio: 9 / 16; margin-bottom: 40px; }
.arch--3 { aspect-ratio: 9 / 20; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--soft { background: var(--cream-2); }
.section__head { text-align: center; margin-bottom: 40px; }
.section__head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section__head h2::after { content: ""; display: block; width: 56px; height: 2px; margin: 16px auto 0; background: var(--grad-gold); }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.collection {
  position: relative; display: block; text-align: left; padding: 0; border: 0; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 3 / 4; background: var(--sand); box-shadow: var(--shadow);
}
.collection img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collection:hover img { transform: scale(1.04); }
.collection__body {
  position: absolute; inset: auto 0 0 0; padding: 70px 22px 22px; color: #fff;
  background: linear-gradient(to top, rgba(30, 14, 7, .88), rgba(30, 14, 7, 0));
}
.collection__title { display: block; font-family: var(--font-title); font-weight: 600; color: #fff; font-size: 1.5rem; line-height: 1.15; margin-bottom: .3em; }
.collection__text { display: block; margin: 0 0 .8em; font-size: .95rem; opacity: .92; }
.collection__link { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft); }

/* ---------- Engagements ---------- */
.promises { background: var(--brown-800); color: var(--cream); padding: 44px 0; }
.promises__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.promise { text-align: center; }
.promise__ico { width: 54px; height: 54px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--grad-gold); color: #fff; margin-bottom: 12px; }
.promise__ico svg { width: 24px; height: 24px; }
.promise h3 { color: var(--gold-soft); font-family: var(--font-body); font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.promise p { margin: 0; font-size: .93rem; opacity: .85; }

/* ---------- Boutique : barre d'outils ---------- */
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 16px; }
.shop-toolbar__right { display: flex; gap: 10px; align-items: center; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; max-width: 100%; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: 0 0 auto; min-height: 40px; padding: .4rem 1.1rem; border-radius: 999px; border: 1px solid var(--sand);
  background: #fff; font-size: .92rem; color: var(--brown-700); transition: all .15s;
}
.chip:hover { border-color: var(--gold); }
.chip[aria-selected="true"] { background: var(--brown-800); border-color: var(--brown-800); color: #fff; }
.chip .chip__n { opacity: .6; font-size: .8em; margin-left: 4px; }

.select select {
  height: 40px; border: 1px solid var(--sand); border-radius: 999px; padding: 0 36px 0 16px; background: #fff;
  appearance: none; -webkit-appearance: none; font-size: .92rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a3220' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
.filters-badge { background: var(--copper); color: #fff; border-radius: 10px; font-size: .72rem; padding: 0 7px; line-height: 18px; }

.filters {
  display: grid; grid-template-columns: 1.3fr 1fr auto auto; gap: 24px; align-items: end;
  background: #fff; border: 1px solid var(--sand); border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px;
}
.filters__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.filters__group legend { font-size: .85rem; color: var(--muted); margin-bottom: 10px; padding: 0; }
.size-filter { display: flex; flex-wrap: wrap; gap: 6px; }
.size-filter label { position: relative; }
.size-filter input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size-filter span { display: inline-grid; place-items: center; min-width: 44px; height: 36px; padding: 0 10px; border: 1px solid var(--sand); border-radius: var(--radius-sm); font-size: .85rem; }
.size-filter input:checked + span { background: var(--brown-800); color: #fff; border-color: var(--brown-800); }
.size-filter input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 2px; }
input[type="range"] { width: 100%; accent-color: var(--copper); }
.check { display: flex; gap: 8px; align-items: center; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--copper); }

.results-count { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }

/* ---------- Grille produits ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 26px 22px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 10px rgba(59,31,18,.05); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__media { position: relative; aspect-ratio: 3 / 4; background: var(--cream-2); border: 0; padding: 0; width: 100%; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badge { position: absolute; top: 12px; left: 12px; background: #fff; color: var(--brown-800); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; padding: 5px 10px; border-radius: 999px; }
.card__badge--out { background: var(--brown-800); color: #fff; }
.card__quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.95); color: var(--brown-800);
  border-radius: 999px; text-align: center; padding: 10px; font-size: .88rem; font-weight: 500;
  opacity: 0; transform: translateY(8px); transition: all .2s;
}
.card:hover .card__quick, .card__media:focus-visible .card__quick { opacity: 1; transform: none; }
.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__cat { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); }
.card__name { font-family: var(--font-title); font-size: 1.15rem; margin: 0; color: var(--brown-800); }
.card__name button { background: none; border: 0; padding: 0; text-align: left; font: inherit; color: inherit; }
.card__colors { display: flex; gap: 5px; margin: 2px 0; }
.card__colors i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.price { font-weight: 600; color: var(--brown-800); font-size: 1.05rem; white-space: nowrap; }
.price s { color: var(--muted); font-weight: 400; font-size: .85em; margin-left: 6px; }
.card__add { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--brown-800); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }
.card__add:hover { background: var(--copper); }
.card__add[disabled] { background: var(--sand); color: var(--muted); cursor: not-allowed; }

/* Visuel "photo à venir" */
.ph { width: 100%; height: 100%; display: grid; place-items: center; text-align: center; color: var(--brown-700);
  background: radial-gradient(circle at 30% 20%, #fff 0, transparent 55%), linear-gradient(160deg, var(--cream-2), var(--sand)); }
.ph b { display: block; font-family: var(--font-title); font-size: 3.2rem; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ph small { display: block; margin-top: 10px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .7; }

.empty { text-align: center; padding: 50px 0; color: var(--muted); }

/* ---------- Étapes ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: #fff; border-radius: var(--radius); padding: 28px 24px; border: 1px solid var(--sand); }
.steps span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--grad-gold); color: #fff; font-family: var(--font-title); font-size: 1.2rem; margin-bottom: 14px; }
.steps h3 { font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); }

/* ---------- Avis ---------- */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 10px rgba(59,31,18,.05); }
.review__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }
.review__text { font-style: italic; color: var(--brown-700); }
.review__who { font-size: .9rem; color: var(--muted); margin: 0; }
.review__who strong { color: var(--brown-800); }
.review--slot { border: 1.5px dashed var(--gold-soft); background: rgba(255,255,255,.55); box-shadow: none; text-align: center; display: grid; place-items: center; min-height: 180px; color: var(--muted); }
.review--slot p { margin: 0 0 12px; }
.reviews__empty { grid-column: 1 / -1; text-align: center; }

/* ---------- FAQ ---------- */
.faq details { background: #fff; border: 1px solid var(--sand); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 500; color: var(--brown-800); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--copper); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- Bandeau CTA ---------- */
.cta-band { background: var(--grad-gold); color: #fff; padding: 52px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); }
.cta-band p { margin: 0; opacity: .92; }

/* ---------- Footer ---------- */
.footer { background: var(--brown-900); color: rgba(251, 246, 238, .78); padding: 60px 0 0; font-size: .93rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h3 { color: var(--gold-soft); font-family: var(--font-body); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-soft); }
.footer__slogan { font-family: var(--font-title); font-style: italic; font-size: 1.1rem; color: var(--cream); margin-top: 8px; }
.footer__small, .footer__pay { font-size: .85rem; opacity: .75; }
.footer__pay { margin-top: 14px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 44px; padding-top: 18px; padding-bottom: 90px; font-size: .82rem; opacity: .7; }

/* ---------- WhatsApp flottant ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(31, 157, 85, .45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; stroke: none; }

/* ---------- Overlays / modales ---------- */
.overlay { position: fixed; inset: 0; z-index: 100; background: rgba(30, 14, 7, .55); display: grid; place-items: center; padding: 16px; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal { position: relative; background: var(--cream); border-radius: 18px; width: 100%; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: var(--shadow-lg); animation: rise .25s ease; }
@keyframes rise { from { transform: translateY(16px); opacity: 0; } }
.modal__close { position: absolute; top: 10px; right: 10px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.6rem; line-height: 1; color: var(--brown-800); }
.modal__close:hover { background: #fff; }
.modal > .modal__close { position: sticky; top: 10px; display: block; margin: 10px 10px -52px auto; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.modal--checkout > .modal__close { margin: -20px -20px -22px auto; }

/* Fiche produit */
.modal--product { max-width: 980px; }
.pm { display: grid; grid-template-columns: 1fr 1fr; }
.pm__gallery { background: var(--cream-2); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.pm__main { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: #fff; }
.pm__main img { width: 100%; height: 100%; object-fit: contain; background: #f6efe4; }
.pm__thumbs { display: flex; gap: 8px; }
.pm__thumbs button { width: 64px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #fff; }
.pm__thumbs button[aria-current="true"] { border-color: var(--copper); }
.pm__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pm__info { padding: 34px 30px 30px; }
.pm__cat { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); margin-bottom: .4rem; }
.pm__info h2 { font-size: 2rem; margin-bottom: .3em; }
.pm__price { font-size: 1.35rem; font-weight: 600; color: var(--brown-800); }
.pm__desc { color: var(--muted); }
.pm__opt { margin: 18px 0; }
.pm__label { font-size: .88rem; color: var(--muted); margin-bottom: 8px; }
.pm__label strong { color: var(--brown-800); font-weight: 500; }
.pm__err { color: var(--danger); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--sand); padding: 0; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--copper); }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 50px; height: 44px; padding: 0 14px; border: 1px solid var(--sand); border-radius: var(--radius-sm); background: #fff; font-size: .92rem; }
.size:hover { border-color: var(--brown-700); }
.size[aria-pressed="true"] { background: var(--brown-800); color: #fff; border-color: var(--brown-800); }
.sizes.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--sand); border-radius: 999px; background: #fff; }
.qty button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; color: var(--brown-800); }
.qty output { min-width: 28px; text-align: center; font-weight: 500; }
.qty--sm button { width: 32px; height: 32px; font-size: 1rem; }
.pm__actions { display: grid; gap: 10px; margin: 24px 0 18px; }
.pm__details { padding-left: 18px; color: var(--muted); font-size: .92rem; margin: 0 0 14px; }
.pm__details li { margin-bottom: 3px; }
.pm__note { font-size: .85rem; color: var(--muted); border-top: 1px solid var(--sand); padding-top: 14px; margin: 0; }

/* Panier (tiroir) */
.overlay.overlay--drawer { place-items: stretch end; padding: 0; }
.drawer { width: min(420px, 100%); height: 100%; background: var(--cream); display: flex; flex-direction: column; animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--sand); position: relative; }
.drawer__head h2 { margin: 0; font-size: 1.4rem; }
.drawer__head .modal__close { position: static; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer__foot { padding: 18px 20px 22px; border-top: 1px solid var(--sand); background: #fff; display: grid; gap: 10px; }
.drawer__foot .link-btn { justify-self: center; }
.drawer__hint { font-size: .82rem; color: var(--muted); margin: 0; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--sand); align-items: start; }
.cart-item__img { width: 72px; height: 92px; border-radius: 8px; overflow: hidden; background: var(--cream-2); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__img .ph b { font-size: 1.6rem; }
.cart-item__img .ph small { display: none; }
.cart-item h3 { font-size: 1rem; margin: 0 0 2px; }
.cart-item__meta { font-size: .82rem; color: var(--muted); margin: 0 0 8px; }
.cart-item__right { text-align: right; display: grid; gap: 6px; justify-items: end; }
.cart-item__remove { background: none; border: 0; font-size: .8rem; color: var(--muted); text-decoration: underline; padding: 0; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty .btn { margin-top: 10px; }
.line { display: flex; justify-content: space-between; gap: 12px; }
.line--total { font-size: 1.15rem; border-top: 1px solid var(--sand); padding-top: 12px; margin-top: 4px; color: var(--brown-800); }

/* Récapitulatif */
.modal--checkout { max-width: 1000px; padding: 30px; }
.modal--checkout > h2 { font-size: 1.8rem; padding-right: 40px; }
.checkout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.checkout fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.checkout legend { font-family: var(--font-title); font-size: 1.15rem; color: var(--brown-800); margin-bottom: 10px; padding: 0; }
.field { display: grid; gap: 5px; margin-bottom: 12px; }
.field span { font-size: .85rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--sand); border-radius: var(--radius-sm); background: #fff; font-size: 16px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--copper); outline: none; box-shadow: 0 0 0 3px rgba(168,101,47,.15); }
.field.invalid input, .field.invalid select { border-color: var(--danger); }
.pay-options { display: grid; gap: 8px; }
.pay { display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--sand); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.pay input { grid-row: span 2; width: 18px; height: 18px; accent-color: var(--copper); margin: 0; }
.pay strong { font-weight: 500; color: var(--brown-800); }
.pay small { color: var(--muted); font-size: .8rem; }
.pay:has(input:checked) { border-color: var(--copper); background: #fffaf3; }
.form-error { color: var(--danger); font-size: .9rem; }
.checkout__summary { background: #fff; border-radius: var(--radius); padding: 22px; border: 1px solid var(--sand); display: grid; gap: 10px; position: sticky; top: 0; }
.checkout__summary h3 { font-size: 1.2rem; margin: 0; }
.summary-list { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; font-size: .9rem; max-height: 240px; overflow-y: auto; }
.summary-list li { display: flex; justify-content: space-between; gap: 10px; }
.summary-list small { display: block; color: var(--muted); }
.summary-note { font-size: .8rem; color: var(--muted); margin: 0; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 200; background: var(--brown-800); color: #fff; padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-lg); font-size: .92rem; max-width: calc(100% - 32px); text-align: center; animation: rise .25s ease; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .nav { gap: 18px; }
  .filters { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .burger { display: inline-flex; }
  .header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .logo { margin-right: auto; }
  .nav {
    position: fixed; top: var(--nav-top, 100px); left: 0; right: 0; bottom: 0; z-index: 49;
    flex-direction: column; gap: 0; margin: 0; padding: 12px 16px 30px; background: var(--cream);
    transform: translateX(-100%); transition: transform .25s ease; overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a { font-family: var(--font-title); font-size: 1.35rem; padding: 14px 4px; border-bottom: 1px solid var(--sand); }
  .nav a::after { display: none; }

  .hero__inner { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 52px; }
  .hero__visual { max-width: 520px; margin: 0 auto; width: 100%; }
  .collections { grid-template-columns: 1fr 1fr; }
  .collections > :last-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .collections > :last-child img { object-position: 50% 15% !important; }
  .promises__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .pm { grid-template-columns: 1fr; }
  .pm__main { aspect-ratio: 4 / 5; }
  .pm__info { padding: 22px 20px 24px; }
  .checkout { grid-template-columns: 1fr; }
  .checkout__summary { position: static; }
}

@media (max-width: 600px) {
  :root { --header-h: 60px; }
  .topbar { font-size: .74rem; }
  .logo__mark { font-size: 1.6rem; }
  .section { padding: 58px 0; }
  .section__head { margin-bottom: 28px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__visual { gap: 8px; }
  .arch { border-width: 3px; }
  .arch--2 { margin-bottom: 24px; }
  .collections { grid-template-columns: 1fr; }
  .collections > * { aspect-ratio: 4 / 5; }
  .collections > :last-child { aspect-ratio: 4 / 5; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .shop-toolbar__right { justify-content: space-between; }
  .shop-toolbar__right .select, .shop-toolbar__right .select select { flex: 1; width: 100%; }
  .filters { grid-template-columns: 1fr; gap: 18px; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
  .card__body { padding: 12px 12px 14px; }
  .card__name { font-size: 1rem; }
  .card__quick { display: none; }
  .price { font-size: .95rem; }
  .price s { display: block; margin: 0; }
  .card__add { width: 38px; height: 38px; }
  .promises__grid { gap: 22px 14px; }
  .promise p { font-size: .85rem; }
  .cta-band__inner .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .modal--checkout { padding: 22px 16px; }
  .overlay { padding: 0; place-items: end stretch; }
  .overlay .modal { border-radius: 18px 18px 0 0; max-height: 94vh; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

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