/* =============================================================
   FROM ARUSHA — Système de design
   Artisanal chaleureux : crème, rose magenta, vert sapin, blobs.
   ============================================================= */

/* Polices achetées par le client (celles de la maquette) */
@font-face {
  font-family: "Dolcissimo Script";
  src: url("/fonts/Dolcissimo-Script.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Dolcissimo";
  src: url("/fonts/Dolcissimo.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --cream:        #F7F0E0;   /* fond de page */
  --cream-deep:   #F3EAD6;   /* fond hero */
  --paper:        #FDFAF2;   /* cartes / sections claires */
  --ink:          #2E2823;   /* texte principal */
  --muted:        #7C7266;   /* texte secondaire */

  --pink:         #E5397F;   /* accent principal */
  --pink-dark:    #C92E6C;
  --pink-soft:    #F9DCE7;   /* bandeaux doux */
  --teal:         #0F7C6C;   /* vert sapin (footer) */
  --teal-deep:    #12776A;   /* cartes UMOJA */
  --yellow:       #F3C23B;   /* boutons secondaires */
  --yellow-dark:  #E0A81E;

  --c-pink:   #E5397F;
  --c-lime:   #7FB539;
  --c-blue:   #2F7DB5;
  --c-yellow: #F3C23B;
  --c-orange: #EE7B33;
  --c-purple: #7E57C2;
  --c-black:  #2E2823;
  --c-white:  #F4EFE6;

  --radius:    18px;
  --radius-lg: 32px;
  --shadow:    0 10px 30px rgba(60, 45, 20, .08);
  --shadow-lg: 0 20px 50px rgba(60, 45, 20, .12);

  --font-display: "Fraunces", Georgia, serif;
  --font-script:  "Dolcissimo Script", "Caveat", cursive;
  --font-body:    "Nunito Sans", system-ui, sans-serif;

  --wrap: 1200px;
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;   /* les blobs débordent sans créer de scroll horizontal */
  min-height: 100vh;             /* le body remplit toujours l'écran… */
  display: flex;
  flex-direction: column;        /* …et le footer (.trust margin-top:auto) colle en bas */
}

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

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 32px; }

/* ── Typographie ────────────────────────────────────────── */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; color: var(--ink); }
.script { font-family: var(--font-script); color: var(--pink); font-weight: 600; }

.section-title { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.eyebrow { font-family: var(--font-script); font-size: 1.5rem; color: var(--pink); }

/* Grands titres : serif Fraunces (comme la maquette d'origine) */
.hero__title { margin-bottom: .5rem; line-height: 1.12; }

/* ── Boutons ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.8rem; border-radius: 999px;
  font-weight: 700; font-size: .98rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--pink   { background: var(--pink); color: #fff; box-shadow: 0 8px 20px rgba(229,57,127,.28); }
.btn--pink:hover { background: var(--pink-dark); }
.btn--yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 8px 20px rgba(243,194,59,.32); }
.btn--yellow:hover { background: var(--yellow-dark); }
.btn--ghost  { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.btn--outline{ border: 2px solid var(--pink); color: var(--pink); }
.btn--outline:hover { background: var(--pink); color: #fff; }

/* ── Navigation ─────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50; background: var(--cream); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand__icon { width: 48px; height: 34px; }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a { font-weight: 600; font-size: .98rem; color: var(--ink); position: relative; padding: .3rem 0; transition: color .2s; }
.nav__links a:hover { color: var(--pink); }
.nav__links a.is-active { color: var(--pink); }
.nav__links a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--pink); border-radius: 2px;
}
.nav__actions { display: flex; align-items: center; gap: .6rem; }
/* Bouton hamburger (mobile uniquement) */
.nav__toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; background: none; border: none; cursor: pointer; border-radius: 10px; }
.nav__toggle span { display: block; height: 2.4px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }
.lang-switch { display: flex; gap: .3rem; margin-right: .3rem; }
.lang-switch a { font-size: .78rem; font-weight: 800; padding: .3rem .55rem; border-radius: 8px; color: var(--muted); }
.lang-switch a:hover { background: var(--paper); color: var(--ink); }
.lang-switch a.is-active { background: var(--pink); color: #fff; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); transition: background .2s; }
.icon-btn:hover { background: #fff; }
.icon-btn svg { width: 24px; height: 24px; }
.cart-badge { position: absolute; top: 4px; right: 3px; background: var(--pink); color: #fff; font-size: .68rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }

/* ── Visuel de hero (photo organique + formes liquides) ─── */
.hero-visual { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 32px rgba(60, 45, 20, .12)); }
/* Image de template toute prête (formes déjà intégrées), collée au bord droit */
.hero__topimg { display: block; width: 100%; height: auto; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { background: var(--cream-deep); border-bottom-left-radius: 46px; border-bottom-right-radius: 46px; overflow: hidden; }
/* La colonne texte reste alignée sur le conteneur ; la photo file jusqu'au bord droit
   de l'écran ET colle au bas de la section (pas de padding-bottom côté image). */
.hero__inner {
  display: grid; grid-template-columns: 1fr 1.22fr; gap: 2.5rem; align-items: center;
  min-height: 540px;
  padding-top: 3.5rem; padding-bottom: 0;
  padding-left: max(32px, calc((100% - var(--wrap)) / 2 + 32px));
  padding-right: 0;
}
.hero__media { align-self: end; }                 /* la photo touche le bas de la section */
.hero__topimg { display: block; width: 100%; height: auto; }
.hero__title { font-size: clamp(2.9rem, 5.6vw, 4.8rem); font-weight: 600; letter-spacing: -.5px; }
.hero__script { font-family: var(--font-script); color: var(--pink); font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.15; margin: .4rem 0 1.4rem; display: block; }
.hero__text { color: var(--muted); font-size: 1.08rem; max-width: 42ch; margin-bottom: 1.6rem; }
.hero__text strong { color: var(--pink); font-weight: 700; }
.hero__media { position: relative; }
.hero__photo { position: relative; z-index: 2; border-radius: 46px 46px 46px 96px; aspect-ratio: 4/3.4; box-shadow: var(--shadow-lg); overflow: hidden; background: var(--cream-deep); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ── Placeholders photo (gradients chaleureux) ──────────── */
.ph { display: grid; place-items: center; color: #fff; text-align: center; font-weight: 700; }
.ph span { font-size: 3rem; filter: drop-shadow(0 4px 8px rgba(0,0,0,.2)); }
.ph small { display: block; font-size: .78rem; opacity: .85; font-weight: 600; margin-top: .4rem; letter-spacing: .3px; }
.ph--savanna { background: linear-gradient(140deg, #E8A15A, #C4632E 55%, #7a3d84); }
.ph--field   { background: linear-gradient(140deg, #9BB84E, #5c7a2e); }
.ph--warm    { background: linear-gradient(140deg, #EFA35B, #D2542F); }
.ph--rose    { background: linear-gradient(140deg, #F19AB8, #E5397F); }
.ph--teal    { background: linear-gradient(140deg, #35a08c, #0F7C6C); }
.ph--sky     { background: linear-gradient(140deg, #6Fb2d8, #2F7DB5); }
.ph--sun     { background: linear-gradient(140deg, #F6D06B, #EE7B33); }
.ph--violet  { background: linear-gradient(140deg, #A98BD0, #7E57C2); }

/* ── Barre de catégories ────────────────────────────────── */
.cats { background: var(--paper); }
.cats__row { display: flex; gap: 1.8rem; justify-content: space-between; padding: 2.4rem 0; overflow-x: auto; }
.cat { flex: 1; min-width: 130px; display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.4rem .4rem; border-radius: 22px; transition: background .2s, transform .2s; }
.cat:hover { transform: translateY(-4px); }
.cat__icon { height: 58px; display: flex; align-items: center; justify-content: center; }
.cat__icon img { height: 58px; width: auto; object-fit: contain; }
.cat span { font-weight: 700; font-size: 1rem; text-align: center; line-height: 1.25; }
.cat.is-active { background: var(--pink-soft); }
.cat.is-active span { color: var(--pink); }

/* ── Layout boutique (sidebar + grille) ─────────────────── */
.shop { background: var(--paper); padding: 1rem 0 4rem; }
.shop__grid { display: grid; grid-template-columns: 250px 1fr; gap: 2.4rem; }

.filters { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); align-self: start; position: sticky; top: 100px; }
.filters__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1.4rem; }
.filters__head h3 { font-size: 1.4rem; color: var(--pink); }
.filters__reset { font-size: .82rem; font-weight: 700; color: var(--muted); }
.filters__reset:hover { color: var(--pink); }
.filter-block { margin-bottom: 1.6rem; }
.filter-block > label, .filter-legend { display: flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .5px; color: var(--ink); margin-bottom: .8rem; }
.size-row { display: flex; gap: .5rem; }
.size-pill { width: 40px; height: 38px; display: grid; place-items: center; border-radius: 11px; border: 1.5px solid #E7DFCF; background: #fff; font-weight: 700; font-size: .85rem; transition: all .18s; }
.size-pill:hover { border-color: var(--pink); }
.size-pill.is-active { background: var(--pink); color: #fff; border-color: var(--pink); }
.check-list { display: flex; flex-direction: column; gap: .6rem; }
.check-list label { display: flex; align-items: center; gap: .6rem; font-size: .92rem; cursor: pointer; }
.check-list input { width: 17px; height: 17px; accent-color: var(--pink); }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: .55rem; }
.swatch { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1.5px #E7DFCF; cursor: pointer; transition: transform .15s; }
.swatch:hover { transform: scale(1.15); }
.price-row { display: flex; justify-content: space-between; font-weight: 700; font-size: .9rem; margin-top: .8rem; }
.range { width: 100%; accent-color: var(--pink); }
.filter-card { margin-top: 1.4rem; background: var(--cream); border-radius: var(--radius); padding: 1rem; display: flex; gap: .7rem; align-items: flex-start; }
.filter-card svg { width: 26px; height: 26px; color: var(--teal); flex-shrink: 0; }
.filter-card strong { display: block; font-size: .9rem; }
.filter-card p { font-size: .8rem; color: var(--muted); }

/* ── Barre résultats ────────────────────────────────────── */
.shop__bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.shop__count { color: var(--muted); font-weight: 600; }
.sort { background: #fff; border: 1.5px solid #E7DFCF; border-radius: 999px; padding: .6rem 1.1rem; font-weight: 600; font-family: inherit; color: var(--ink); }

/* ── Grille produits ────────────────────────────────────── */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; position: relative; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 1/1; }
.card__media .ph { height: 100%; }
.card__fav { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); display: grid; place-items: center; color: var(--pink); transition: transform .15s, background .15s; }
.card__fav:hover { transform: scale(1.12); background: #fff; }
.card__fav svg { width: 18px; height: 18px; }
/* Lien "étiré" : toute la carte est cliquable, le bouton favori passe au-dessus */
.card__stretch { position: absolute; inset: 0; z-index: 1; }
.card__fav-form { position: absolute; top: 12px; right: 12px; z-index: 2; margin: 0; }
.card__fav-form .card__fav { position: static; border: none; cursor: pointer; padding: 0; font: inherit; }
.card__fav.is-fav { color: var(--pink); }
.card__fav.is-fav svg path { fill: var(--pink); }
.card__body { padding: 1rem 1.1rem 1.2rem; }
.card__name { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; margin-bottom: .7rem; }
.card__sizes { display: flex; gap: .35rem; margin-bottom: .8rem; }
.card__sizes span, .card__tag { font-size: .7rem; font-weight: 700; padding: .2rem .5rem; border-radius: 7px; background: var(--cream); color: var(--muted); }
.card__tag { background: var(--pink-soft); color: var(--pink); }
.card__foot { display: flex; justify-content: space-between; align-items: center; }
.card__dots { display: flex; gap: .28rem; }
.dot { width: 15px; height: 15px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(0,0,0,.08); }
.card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--ink); }

/* ── Bandeau aide (guide des tailles) ───────────────────── */
.help { background: var(--paper); padding: 0 0 3rem; }
.help__inner { background: var(--pink-soft); border-radius: var(--radius-lg); padding: 2rem 2.4rem; display: flex; align-items: center; gap: 1.6rem; overflow: hidden; position: relative; }
.help__heart { width: 60px; height: 60px; flex-shrink: 0; color: var(--pink); }
.help__text { flex: 1; }
.help__text h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.help__text p { color: #9a5a72; font-size: .95rem; max-width: 46ch; }
.help__media { width: 180px; height: 120px; border-radius: 18px; overflow: hidden; flex-shrink: 0; }

/* ── Section impact (4 / 3 colonnes) ────────────────────── */
.impact { padding: 4rem 0; position: relative; }
.impact__head { text-align: center; margin-bottom: 2.6rem; }
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; align-items: start; }
.features--3 { grid-template-columns: repeat(3, 1fr); }
.feature { text-align: left; }
.feature__icon { width: 46px; height: 46px; margin-bottom: .9rem; }
.feature h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: .4rem; }
.feature p { color: var(--muted); font-size: .92rem; }
.feature--pink   .feature__icon { color: var(--pink); }
.feature--lime   .feature__icon { color: var(--c-lime); }
.feature--teal   .feature__icon { color: var(--teal); }
.feature--orange .feature__icon { color: var(--c-orange); }
.feature--blue   .feature__icon { color: var(--c-blue); }

/* ── Section deux colonnes (texte + image) ──────────────── */
.split { padding: 3.5rem 0; }
.split__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.split--reverse .split__media { order: -1; }
.split__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 1rem; }
.split p { color: var(--muted); margin-bottom: 1rem; }
.split .accent { font-family: var(--font-script); color: var(--pink); font-size: 1.5rem; line-height: 1.2; display: block; margin: 1rem 0 1.4rem; }
.split__photo { border-radius: 34px 34px 34px 80px; aspect-ratio: 4/3; overflow: hidden; box-shadow: var(--shadow-lg); }
.split__img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }

/* ── Timeline (parcours) ────────────────────────────────── */
.timeline-sec { padding: 3.5rem 0; }
.timeline-sec__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.timeline-sec__head h2 { font-size: clamp(1.8rem,3vw,2.5rem); }
.timeline-sec__head h2 small { font-family: var(--font-script); color: var(--muted); font-size: 1.3rem; font-weight: 500; }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem; position: relative; }
.timeline::before { content: ""; position: absolute; top: 7px; left: 4%; right: 4%; height: 2px; background: repeating-linear-gradient(90deg, #d8cdb6 0 8px, transparent 8px 16px); }
.tl { position: relative; }
.tl__dot { width: 16px; height: 16px; border-radius: 50%; margin-bottom: 1rem; position: relative; z-index: 1; box-shadow: 0 0 0 4px var(--cream); }
.tl__date { font-family: var(--font-script); font-size: 1.3rem; font-weight: 700; }
.tl__title { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; margin: .2rem 0 .5rem; }
.tl__text { font-size: .84rem; color: var(--muted); margin-bottom: .9rem; }
.tl__img { border-radius: 14px; aspect-ratio: 3/2; overflow: hidden; }
.tl--pink   .tl__dot { background: var(--c-pink); }
.tl--lime   .tl__dot { background: var(--c-lime); }
.tl--orange .tl__dot { background: var(--c-orange); }
.tl--blue   .tl__dot { background: var(--c-blue); }
.tl--purple .tl__dot { background: var(--c-purple); }
.timeline-sec__note { text-align: center; color: var(--muted); margin-top: 2.4rem; }

/* ── Carte UMOJA (teal) ─────────────────────────────────── */
.umoja { padding: 2rem 0 4rem; }
.umoja__card { background: var(--teal-deep); color: #F4EFE6; border-radius: var(--radius-lg); display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; box-shadow: var(--shadow-lg); }
.umoja__media { min-height: 320px; }
.umoja__body { padding: 2.6rem; }
.umoja__body h2 { color: #fff; font-size: 2rem; margin-bottom: 1rem; }
.umoja__body p { color: rgba(255,255,255,.86); margin-bottom: 1.2rem; }
.umoja__list { list-style: none; margin-bottom: 1.6rem; display: flex; flex-direction: column; gap: .6rem; }
.umoja__list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.umoja__list .k { color: var(--yellow); font-weight: 800; }

/* ── CTA générique ──────────────────────────────────────── */
.cta-band { text-align: center; padding: 4rem 0; }
.cta-band h2 { font-size: clamp(1.9rem,3vw,2.6rem); margin-bottom: .6rem; }
.cta-band p { color: var(--muted); max-width: 50ch; margin: 0 auto 1.6rem; }

/* ── Comment ça marche (étapes) ─────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.2rem; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 26px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, #d8cdb6 0 8px, transparent 8px 16px); z-index: 0;
}
.step { position: relative; text-align: center; z-index: 1; }
.step__num {
  width: 52px; height: 52px; margin: 0 auto 1.1rem; border-radius: 50%; background: var(--pink); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(229,57,127,.28);
}
.step h4 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .92rem; }

/* ── FAQ (accordéon natif <details>, sans JS) ───────────── */
.faq { display: flex; flex-direction: column; gap: .9rem; }
.faq__item { background: #fff; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--cream);
  display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; color: var(--pink);
  transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item[open] summary { color: var(--pink); }
.faq__item p { padding: 0 1.4rem 1.2rem; color: var(--muted); font-size: .93rem; }

/* ── Grille artisans / articles ─────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.tile { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }
.tile:hover { transform: translateY(-5px); }
.tile__media { aspect-ratio: 4/3; }
.tile__body { padding: 1.3rem 1.4rem 1.6rem; }
.tile__meta { font-family: var(--font-script); color: var(--pink); font-size: 1.15rem; }
.tile__body h3 { font-size: 1.2rem; margin: .1rem 0 .5rem; }
.tile__body p { color: var(--muted); font-size: .92rem; }

/* ── Formulaire contact ─────────────────────────────────── */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 2.4rem; box-shadow: var(--shadow); max-width: 620px; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .4rem; }
.field input, .field textarea { width: 100%; padding: .85rem 1rem; border: 1.5px solid #E7DFCF; border-radius: 14px; font-family: inherit; font-size: .95rem; background: var(--paper); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--pink); }
.field textarea { min-height: 140px; resize: vertical; }

/* ── Trust / footer ─────────────────────────────────────── */
.trust { background: var(--teal); color: #EAF3EF; margin-top: auto; }
.trust__inner { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.4rem 32px; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; }
.trust__item svg { width: 22px; height: 22px; color: var(--yellow); flex-shrink: 0; }
.trust__base { display: flex; justify-content: space-between; align-items: center; padding: 1rem 32px; border-top: 1px solid rgba(255,255,255,.14); font-size: .84rem; color: rgba(255,255,255,.75); flex-wrap: wrap; gap: .6rem; }
.trust__links { display: flex; gap: 1.2rem; }
.trust__links a:hover { color: #fff; }

/* ── Utilitaires ────────────────────────────────────────── */
.page { min-height: 60vh; flex: 1 0 auto; }   /* remplit la hauteur → footer en bas sur les grands écrans */
.pad { padding-block: 4rem; }
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; }

/* ── Apparition au chargement ───────────────────────────── */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.rise-2 { animation-delay: .1s; } .rise-3 { animation-delay: .2s; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 980px) {
  .nav__toggle { display: flex; }
  /* Liens de nav = panneau déroulant sous le header */
  .nav__links {
    display: none; position: absolute; top: 84px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    padding: .5rem 24px 1rem; box-shadow: 0 12px 24px rgba(0,0,0,.08);
    border-top: 1px solid rgba(0,0,0,.06);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: .9rem 0; font-size: 1.05rem; border-bottom: 1px solid rgba(0,0,0,.05); }
  .nav__links a.is-active::after { display: none; }
  .hero__inner, .split__inner, .umoja__card { grid-template-columns: 1fr; }
  /* Hero empilé : texte lisible (padding latéral), image pleine largeur collée au bas */
  .hero__inner { min-height: 0; gap: 1.6rem; padding: 2.6rem 24px 0; text-align: center; }
  .hero__inner .rise > div { justify-content: center; }
  .hero__text { margin-left: auto; margin-right: auto; }
  .hero__media { align-self: auto; margin: 0 -24px; }
  .shop__grid { grid-template-columns: 1fr; }
  .filters { position: static; }
  .products { grid-template-columns: repeat(2, 1fr); }
  .features, .features--3, .tiles { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .steps::before { display: none; }
  .split--reverse .split__media { order: 0; }
  .umoja__media { min-height: 220px; }
}
@media (max-width: 560px) {
  .container { padding-inline: 20px; }
  .products, .features, .features--3, .tiles, .timeline, .help__inner { grid-template-columns: 1fr; }
  .help__inner { flex-direction: column; text-align: center; }
  .trust__inner { flex-direction: column; }
}

/* =============================================================
   ADMINISTRATION
   ============================================================= */
.admin { min-height: 100vh; background: var(--cream); display: flex; flex-direction: column; }
.admin__bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem 32px; background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 20; }
.admin__brand { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.admin__link { font-weight: 700; color: var(--pink); font-size: .9rem; }
.admin__main { padding-block: 2.4rem; width: 100%; }
.admin__main--narrow { max-width: 780px; }
.admin__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.8rem; gap: 1rem; flex-wrap: wrap; }
.admin__head h1 { font-size: 2rem; }
.admin__sub { color: var(--muted); font-weight: 600; }
.admin__back { display: inline-block; color: var(--muted); font-weight: 700; margin-bottom: 1rem; }
.admin__back:hover { color: var(--pink); }
.admin__empty { background: #fff; border-radius: var(--radius); padding: 3rem; text-align: center; color: var(--muted); box-shadow: var(--shadow); }

.admin__tablewrap { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow-x: auto; }
.admin__table { width: 100%; border-collapse: collapse; min-width: 720px; }
.admin__table th { text-align: left; font-size: .74rem; text-transform: uppercase; letter-spacing: .5px; color: var(--muted); padding: 1rem 1.2rem; border-bottom: 2px solid var(--cream); }
.admin__table td { padding: .8rem 1.2rem; border-bottom: 1px solid var(--cream); vertical-align: middle; }
.admin__table tr:last-child td { border-bottom: none; }
.admin__thumb { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; font-size: 1.3rem; }
.badge { font-size: .74rem; font-weight: 800; padding: .25rem .6rem; border-radius: 999px; }
.badge--on { background: #E3F4E4; color: #2E8B57; }
.badge--off { background: #F0E9DA; color: var(--muted); }
.admin__actions { display: flex; gap: .5rem; align-items: center; }
.admin__actions form { display: inline; }
.mini-btn { font-size: .8rem; font-weight: 700; padding: .4rem .8rem; border-radius: 999px; background: var(--cream); color: var(--ink); transition: background .15s; }
.mini-btn:hover { background: #EDE4D2; }
.mini-btn--danger { color: #C0392B; background: #FBE6E3; }
.mini-btn--danger:hover { background: #F5CFC9; }
.mini-btn--warn { color: #9A6300; background: #FBEECB; border: none; font-family: inherit; cursor: pointer; }
.mini-btn--warn:hover { background: #F5E1A8; }

.admin__form { background: #fff; border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); margin-top: 1rem; }
.admin__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.admin__form .field { margin-bottom: 1.4rem; }
.admin__form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .45rem; }
.admin__form input[type=text], .admin__form input[type=number], .admin__form select, .admin__form textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid #E7DFCF; border-radius: 14px; font-family: inherit; font-size: .95rem; background: var(--paper); color: var(--ink);
}
.admin__form input:focus, .admin__form select:focus, .admin__form textarea:focus { outline: none; border-color: var(--pink); }
.admin__form textarea { min-height: 110px; resize: vertical; }
.inline-check { display: flex !important; align-items: center; gap: .5rem; font-weight: 600 !important; margin-bottom: .7rem; cursor: pointer; }
.inline-check input { width: 17px; height: 17px; accent-color: var(--pink); }
.pill-checks { display: flex; gap: .5rem; flex-wrap: wrap; }
.pill-check { display: flex !important; align-items: center; gap: .4rem; background: var(--paper); border: 1.5px solid #E7DFCF; border-radius: 12px; padding: .5rem .9rem; margin: 0 !important; font-weight: 700 !important; cursor: pointer; }
.pill-check input { accent-color: var(--pink); }
.color-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .5rem; }
.color-check { display: flex !important; align-items: center; gap: .5rem; margin: 0 !important; font-weight: 600 !important; font-size: .9rem; cursor: pointer; }
.color-check input { accent-color: var(--pink); }
.admin__formfoot { display: flex; gap: .8rem; align-items: center; }
@media (max-width: 640px) { .admin__grid { grid-template-columns: 1fr; } }

/* =============================================================
   AUTHENTIFICATION (connexion / inscription / compte)
   ============================================================= */
.auth-page { display: flex; }
.auth-wrap { flex: 1; display: grid; place-items: center; padding: 3.5rem 32px 5rem; }
.auth-card { background: #fff; border-radius: var(--radius-lg); padding: 2.6rem; box-shadow: var(--shadow-lg); width: 100%; max-width: 440px; }
.auth-card h1 { font-size: 2rem; margin: .2rem 0 1.4rem; }
.auth-card .field { margin-bottom: 1.1rem; }
.auth-submit { width: 100%; justify-content: center; }
.auth-alt { text-align: center; margin-top: 1.3rem; color: var(--muted); font-size: .92rem; }
.auth-alt a { color: var(--pink); font-weight: 700; }
.alert { background: #FBE6E3; color: #C0392B; padding: .8rem 1rem; border-radius: 12px; font-size: .9rem; font-weight: 600; margin-bottom: 1.2rem; }
.icon-btn.is-connected { color: var(--pink); }
.account-info { list-style: none; margin: 0 0 1.6rem; border: 1.5px solid var(--cream); border-radius: 16px; overflow: hidden; }
.account-info li { display: flex; justify-content: space-between; padding: .85rem 1.1rem; border-bottom: 1px solid var(--cream); }
.account-info li:last-child { border-bottom: none; }
.account-info span { color: var(--muted); font-weight: 600; }

/* =============================================================
   BOUTIQUE — page produit, panier, commande
   ============================================================= */
.muted-txt { color: var(--muted); font-size: .88rem; }

/* ── Page produit (détail) ──────────────────────────────── */
.pdp { padding: 2.4rem 0 3.5rem; }
.pdp__back { color: var(--muted); font-weight: 700; display: inline-block; margin-bottom: 1.4rem; }
.pdp__back:hover { color: var(--pink); }
.pdp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.pdp__media { position: relative; }
.pdp__photo { position: relative; z-index: 2; border-radius: 40px 40px 40px 90px; aspect-ratio: 1/1; overflow: hidden; box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.pdp__photo img { width: 100%; height: 100%; object-fit: cover; }
.pdp__photo span { font-size: 5rem; }
.pdp__title { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: .3rem 0 .5rem; }
.pdp__price { font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; color: var(--pink); margin-bottom: 1.2rem; }
.pdp__desc { color: var(--muted); margin-bottom: 1.6rem; }
.pdp__form { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); }
.pdp__field { margin-bottom: 1.2rem; }
.pdp__field > label { display: block; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; margin-bottom: .6rem; }
.size-radio { position: relative; }
.size-radio input { position: absolute; opacity: 0; width: 0; height: 0; }
.size-radio span { display: grid; place-items: center; width: 44px; height: 42px; border: 1.5px solid #E7DFCF; border-radius: 12px; font-weight: 700; cursor: pointer; transition: all .15s; }
.size-radio input:checked + span { background: var(--pink); color: #fff; border-color: var(--pink); }
.size-radio span:hover { border-color: var(--pink); }
.size-radio.is-out span { opacity: .4; text-decoration: line-through; cursor: not-allowed; border-style: dashed; }
.size-radio.is-out span:hover { border-color: #E7DFCF; }
.pdp__qty { width: 100px; padding: .7rem 1rem; border: 1.5px solid #E7DFCF; border-radius: 12px; font-family: inherit; font-size: 1rem; background: var(--paper); }
.pdp__add { width: 100%; justify-content: center; margin-top: .4rem; }
/* Achat en 1 clic (bouton distinct sous l'ajout au panier) */
.pdp__buynow-form { margin-top: .9rem; padding-top: .9rem; border-top: 1px dashed var(--line, #EADFC8); }
.pdp__buynow { width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; cursor: pointer;
  background: #2E2823; color: #fff; border: none; border-radius: 999px; padding: .95rem 1.4rem; font: inherit; font-weight: 800; font-size: 1rem;
  transition: transform .12s ease, background .2s ease; }
.pdp__buynow:hover { background: #1d1a16; transform: translateY(-1px); }
.pdp__buynow:active { transform: translateY(0); }
.pdp__buynow-hint { font-size: .8rem; color: var(--muted); text-align: center; margin: .5rem 0 0; }
.pdp__stock { font-size: .85rem; margin-top: .7rem; text-align: center; }
.pdp__stock.in { color: #2E8B57; }
.pdp__reassure { list-style: none; margin-top: 1.6rem; display: flex; flex-direction: column; gap: .5rem; color: var(--muted); font-weight: 600; font-size: .92rem; }
.pdp__stock.low { color: #B45309; font-weight: 700; }
.pdp__stock.out { color: #C0392B; font-weight: 700; }

/* Message flash côté public (ex : rupture de stock au panier) */
.site-toast { position: fixed; bottom: 22px; left: 50%; transform: translate(-50%, 14px); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 12px; font-weight: 700; font-size: .9rem; box-shadow: 0 12px 30px rgba(0,0,0,.25); opacity: 0; transition: all .25s ease; z-index: 200; pointer-events: none; max-width: 90vw; text-align: center; }
.site-toast.show { opacity: 1; transform: translate(-50%, 0); }
.site-toast--error { background: #C0392B; }
.site-toast--ok { background: var(--teal); }

/* ── Galerie photos (miniatures en dessous) ─────────────── */
.pdp__gallery { position: sticky; top: 100px; }
.pdp__thumbs { display: flex; gap: .7rem; margin-top: .9rem; flex-wrap: wrap; }
.pdp__thumb { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; box-shadow: 0 0 0 1.5px #E7DFCF; cursor: pointer; padding: 0; transition: border-color .15s; background: none; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumb:hover { box-shadow: 0 0 0 1.5px var(--pink); }
.pdp__thumb.is-active { border-color: var(--pink); box-shadow: 0 0 0 1.5px var(--pink); }

/* ── Détails & caractéristiques ─────────────────────────── */
.pdp__details { display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem; margin-top: 3rem; padding-top: 2.4rem; border-top: 1.5px solid #EDE4D2; }
.pdp__detailtitle { font-size: 1.4rem; margin-bottom: 1rem; }
.pdp__detailcol p { color: var(--muted); line-height: 1.7; }
.pdp__specs { display: flex; flex-direction: column; gap: 0; }
.pdp__spec { display: grid; grid-template-columns: 40% 60%; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid #F0E9DA; }
.pdp__spec:last-child { border-bottom: none; }
.pdp__spec dt { font-weight: 700; color: var(--ink); }
.pdp__spec dd { color: var(--muted); }
@media (max-width: 900px) {
  .pdp__gallery { position: static; }
  .pdp__details { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* ── Panier ─────────────────────────────────────────────── */
.cart-empty { background: #fff; border-radius: var(--radius-lg); padding: 3.5rem; text-align: center; box-shadow: var(--shadow); }
.cart-empty__icon { font-size: 3rem; margin-bottom: .6rem; }
.cart-empty p { color: var(--muted); margin-bottom: 1.4rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 2rem; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-item { background: #fff; border-radius: 18px; box-shadow: var(--shadow); padding: 1rem 1.2rem; display: flex; align-items: center; gap: 1rem; }
.cart-item__media { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; font-size: 1.8rem; flex-shrink: 0; }
.cart-item__info { flex: 1; display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.cart-item__name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.cart-item__name:hover { color: var(--pink); }
.cart-item__meta { font-size: .82rem; color: var(--muted); }
.cart-item__qty input { width: 62px; padding: .5rem; border: 1.5px solid #E7DFCF; border-radius: 10px; font-family: inherit; text-align: center; }
.cart-item__total { font-family: var(--font-display); font-weight: 700; min-width: 62px; text-align: right; }
.cart-item__remove { width: 30px; height: 30px; border-radius: 50%; background: var(--cream); color: var(--muted); font-weight: 700; }
.cart-item__remove:hover { background: #FBE6E3; color: #C0392B; }
.cart-summary { background: #fff; border-radius: var(--radius-lg); padding: 1.6rem; box-shadow: var(--shadow); position: sticky; top: 100px; }
.cart-summary h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.cart-summary__row { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; font-size: .95rem; }
.cart-summary__total { display: flex; justify-content: space-between; padding: .9rem 0; margin: .5rem 0 1rem; border-top: 2px solid var(--cream); font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; }
.cart-summary__continue { display: block; text-align: center; margin-top: .9rem; color: var(--muted); font-weight: 700; font-size: .9rem; }
.cart-summary__continue:hover { color: var(--pink); }
.cart-promo { display: flex; gap: 8px; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--cream); }
.cart-promo input { flex: 1; min-width: 0; padding: .6rem .8rem; border: 1.5px solid #E7DFCF; border-radius: 10px; font-family: inherit; font-size: .88rem; }
.cart-promo input:focus { outline: none; border-color: var(--pink); }
.cart-promo--active { align-items: center; justify-content: space-between; color: var(--teal); font-weight: 700; font-size: .92rem; }
.cart-promo--active form { display: inline; }
.cart-promo__remove { background: none; border: none; color: var(--muted); font-size: .82rem; font-weight: 700; cursor: pointer; text-decoration: underline; }
.cart-promo__remove:hover { color: #C0392B; }
.promo-code { letter-spacing: .04em; }

/* ── Confirmation de commande ───────────────────────────── */
.confirm { background: #fff; border-radius: var(--radius-lg); padding: 3rem 2.4rem; box-shadow: var(--shadow); text-align: center; }
.confirm__check { width: 70px; height: 70px; border-radius: 50%; background: #E3F4E4; color: #2E8B57; font-size: 2.2rem; display: grid; place-items: center; margin: 0 auto 1.2rem; font-weight: 800; }
.confirm h1 { font-size: 2rem; margin-bottom: .6rem; }
.confirm p { color: var(--muted); margin-bottom: 1.4rem; }
.confirm__recap { text-align: left; background: var(--paper); border-radius: 16px; padding: 1.2rem 1.4rem; margin-bottom: 1.6rem; }

/* ── Admin : navigation + statuts commandes ─────────────── */
.admin__nav { display: flex; gap: 1.4rem; }
.admin__nav a { font-weight: 700; color: var(--muted); padding: .3rem 0; }
.admin__nav a:hover, .admin__nav a.is-active { color: var(--pink); }
.statut-select { border: 1.5px solid #E7DFCF; border-radius: 999px; padding: .4rem .8rem; font-family: inherit; font-weight: 700; font-size: .82rem; cursor: pointer; }
.statut--payee         { background: #E3F4E4; color: #2E8B57; border-color: #C5E8C8; }
.statut--en_preparation{ background: #EDE7FB; color: #6D4FC0; border-color: #DBD0F3; }
.statut--expediee      { background: #E0EEF9; color: #2F7DB5; border-color: #C6DEF2; }
.statut--livree        { background: #DFF3EC; color: #12836B; border-color: #C2E7DB; }
.statut--annulee       { background: #FBE6E3; color: #C0392B; border-color: #F3CFC9; }
.statut--rembourse     { background: #F0E9DA; color: #8a6d1a; border-color: #E3D6B4; }
.statut--en_attente    { background: #FFF6D9; color: #9A7B1A; border-color: #F0E4B4; }

@media (max-width: 900px) {
  .pdp__grid, .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}

/* ── Pages légales ────────────────────────────────────────────── */
.legal-wrap { max-width: 760px; }
.legal-maj { color: var(--muted); font-size: .85rem; margin: .3rem 0 2rem; }
.legal h2 { font-family: var(--font-display); font-size: 1.25rem; margin: 1.8rem 0 .6rem; color: var(--ink); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: #4a423a; line-height: 1.7; margin-bottom: .8rem; font-size: .96rem; }
.legal a { color: var(--pink); font-weight: 600; text-decoration: underline; }

/* Liens légaux dans le pied de page */
.trust__legal { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: .3rem 32px 1.2rem; font-size: .8rem; }
.trust__legal a { color: rgba(255,255,255,.6); }
.trust__legal a:hover { color: #fff; }

/* Bannière cookies */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; max-width: 720px; margin: 0 auto; background: var(--paper); border: 1px solid var(--line, #EADFC8); box-shadow: var(--shadow-lg); border-radius: 16px; padding: 1.1rem 1.3rem; display: flex; align-items: center; gap: 1.2rem; z-index: 200; }
.cookie-banner p { font-size: .9rem; color: var(--ink); margin: 0; flex: 1; line-height: 1.5; }
.cookie-banner p a { color: var(--pink); font-weight: 600; text-decoration: underline; }
.cookie-banner .btn { flex: none; padding: .6rem 1.3rem; }
.cookie-banner[hidden] { display: none; }
@media (max-width: 560px) { .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; } }

/* ── Espace client ────────────────────────────────────────────── */
.alert--ok { background: #E3F4E4; color: #2E8B57; }

/* Pages auth (mot de passe oublié / réinit / vérif) */
.auth-text { color: var(--muted); font-size: .95rem; margin-bottom: 1.3rem; line-height: 1.55; }
.auth-forgot { text-align: right; margin: 1rem 0 .2rem; }
.pw-actions { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.pw-forgot { color: var(--muted); font-size: .88rem; font-weight: 600; }
.pw-forgot:hover { color: var(--pink); }
.auth-forgot a { color: var(--muted); font-size: .85rem; font-weight: 600; }
.auth-forgot a:hover { color: var(--pink); }

/* Boutons complémentaires */
.mini-btn--pink { background: var(--pink-soft); color: var(--pink); border: none; font-family: inherit; cursor: pointer; }
.mini-btn--pink:hover { background: #F6CFDF; }
button.mini-btn { border: none; font-family: inherit; cursor: pointer; }
.btn--danger { background: #C0392B; color: #fff; box-shadow: 0 8px 20px rgba(192,57,43,.24); }
.btn--danger:hover { background: #A93226; }

/* Actions sur le détail de commande client */
.order-detail__actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.4rem; }
.order-detail__actions form { margin: 0; }

/* Zone dangereuse (suppression de compte) */
.account-danger { border: 1.5px solid #F3CFC9; }
.account-danger .account-block__head h2 { color: #C0392B; }

/* Carnet d'adresses */
.addr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; margin-bottom: 1.6rem; }
.addr-card { position: relative; background: var(--paper); border: 1.5px solid var(--line, #EADFC8); border-radius: 14px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .18rem; font-size: .92rem; }
.addr-card.is-default { border-color: var(--pink); }
.addr-card__badge { position: absolute; top: -9px; right: 12px; background: var(--pink); color: #fff; font-size: .68rem; font-weight: 800; padding: .18rem .55rem; border-radius: 999px; }
.addr-card__label { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--pink); }
.addr-card strong { font-size: 1rem; }
.addr-card__actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.addr-card__actions form { margin: 0; }
/* Cartes de paiement (réutilise la grille .addr-grid) */
.pay-card { position: relative; background: linear-gradient(135deg, #2E2823, #4a423a); color: #fff; border-radius: 14px; padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; min-height: 130px; }
.pay-card.is-default { box-shadow: 0 0 0 2px var(--pink); }
.pay-card__brand { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; letter-spacing: .04em; }
.pay-card__ico { font-size: 1.3rem; }
.pay-card__num { font-family: 'Courier New', monospace; font-size: 1.05rem; letter-spacing: .12em; margin-top: .3rem; }
.pay-card .muted-txt { color: rgba(255,255,255,.7); }
.pay-card .addr-card__actions { margin-top: auto; }
.pay-card .mini-btn { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.pay-card .mini-btn:hover { background: rgba(255,255,255,.24); }
.addr-default-check { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--muted); margin-bottom: 1rem; cursor: pointer; }
.addr-default-check input { width: 17px; height: 17px; accent-color: var(--pink); }
.addr-form-actions { display: flex; gap: .7rem; align-items: center; }

/* Grille des favoris (dans l'espace compte) */
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1.4rem; }

/* Sélecteur d'adresses au checkout */
.addr-choice { display: grid; gap: .6rem; margin-bottom: 1.4rem; }
.addr-choice__opt { text-align: left; background: #fff; border: 1.5px solid #E7DFCF; border-radius: 12px; padding: .7rem .9rem; cursor: pointer; font-family: inherit; display: flex; flex-direction: column; gap: .15rem; transition: border-color .15s; }
.addr-choice__opt:hover { border-color: var(--pink); }
.addr-choice__opt.is-selected { border-color: var(--pink); background: var(--pink-soft); }
.addr-choice__opt strong { font-size: .95rem; }
.addr-choice__opt span { font-size: .84rem; color: var(--muted); }
.addr-choice__new { text-align: center; align-items: center; color: var(--pink); font-weight: 700; }

/* Formulaire de commande épuré : titres de section + grille 2 colonnes */
.checkout-login { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; background: var(--pink-soft); border-radius: 12px; padding: .8rem 1.1rem; margin-bottom: 1.2rem; font-size: .92rem; }
.checkout-login span { color: var(--muted); font-weight: 600; }
.checkout-login a { color: var(--pink); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.checkout-form__h { font-size: 1.05rem; margin: 1.8rem 0 1rem; padding-bottom: .5rem; border-bottom: 1px solid #EFE7D6; }
.checkout-form__h:first-of-type { margin-top: 0; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
.checkout-grid__full { grid-column: 1 / -1; }
.field-hint { font-size: .78rem; color: var(--muted); margin: .35rem 0 0; }
@media (max-width: 560px) { .checkout-grid { grid-template-columns: 1fr; } }

/* Autocomplétion d'adresse (liste de suggestions sous le champ Rue) */
.addr-ac { position: relative; }
.addr-ac__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% - .8rem); background: #fff; border: 1.5px solid #E7DFCF; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; max-height: 260px; overflow-y: auto; }
.addr-ac__item { display: block; width: 100%; text-align: left; background: none; border: none; border-bottom: 1px solid #F1EADB; padding: .7rem .95rem; font-family: inherit; font-size: .9rem; cursor: pointer; color: var(--ink, #2E2823); }
.addr-ac__item:last-child { border-bottom: none; }
.addr-ac__item:hover { background: var(--pink-soft); color: var(--pink); }
.addr-ac__status { font-size: .82rem; font-weight: 600; color: var(--muted); margin: .35rem 0 0; min-height: 1em; }
.addr-ac__status.is-ok { color: var(--teal); }

/* Listes de sélection (adresses / cartes) sur le checkout fluide */
.pick-list { display: grid; gap: .6rem; margin-bottom: .8rem; }
.pick { display: flex; align-items: center; gap: .8rem; text-align: left; width: 100%; background: #fff; border: 1.5px solid #E7DFCF; border-radius: 14px; padding: .85rem 1rem; cursor: pointer; font-family: inherit; transition: border-color .15s, background .15s; }
.pick:hover { border-color: var(--pink); }
.pick.is-selected { border-color: var(--pink); background: var(--pink-soft); }
.pick__radio { flex: 0 0 auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #CBBfa8; position: relative; }
.pick.is-selected .pick__radio { border-color: var(--pink); }
.pick.is-selected .pick__radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--pink); }
.pick__body { display: flex; flex-direction: column; gap: .12rem; }
.pick__body strong { font-size: .95rem; }
.pick__body span { font-size: .84rem; color: var(--muted); }
.pick__brand { font-weight: 800; letter-spacing: .03em; }
.pick-add { display: inline-flex; align-items: center; gap: .3rem; background: none; border: 1.5px dashed #CBBfa8; color: var(--pink); font-family: inherit; font-weight: 700; font-size: .9rem; border-radius: 12px; padding: .7rem 1rem; width: 100%; justify-content: center; cursor: pointer; transition: border-color .15s, background .15s; }
.pick-add:hover { border-color: var(--pink); background: var(--pink-soft); }
.checkout-err { color: #C0392B; font-weight: 600; font-size: .88rem; margin: 1rem 0 0; }

/* Popups (modales) */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity .2s ease; }
.modal.is-open { opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(46, 40, 35, .55); }
.modal__box { position: relative; background: #fff; border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.25); width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; transform: translateY(12px) scale(.98); transition: transform .2s ease; }
.modal.is-open .modal__box { transform: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem .6rem; }
.modal__title { font-size: 1.15rem; margin: 0; }
.modal__close { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--muted); line-height: 1; padding: .3rem; }
.modal__close:hover { color: var(--pink); }
.modal__body { padding: .4rem 1.4rem 1.4rem; }
.modal__foot { display: flex; gap: .7rem; justify-content: flex-end; margin-top: 1.2rem; }
.modal-check { display: flex; align-items: flex-start; gap: .5rem; font-size: .86rem; font-weight: 600; color: var(--muted); margin-top: .8rem; cursor: pointer; line-height: 1.4; }
.modal-check input { margin-top: .15rem; }
.modal-err { color: #C0392B; font-weight: 600; font-size: .86rem; margin: .8rem 0 0; }

/* Bannière "email non confirmé" */
.verify-banner { display: flex; align-items: center; gap: .8rem 1rem; flex-wrap: wrap; background: #FFF6D9; color: #8a6d1a; border: 1px solid #F0E4B4; border-radius: 12px; padding: .8rem 1.1rem; font-size: .9rem; font-weight: 600; margin-bottom: 1.4rem; }
.verify-banner span { flex: 1; min-width: 200px; }
.verify-banner a, .verify-banner button { background: #8a6d1a; color: #fff; border: none; font-family: inherit; font-weight: 700; font-size: .82rem; padding: .5rem .9rem; border-radius: 999px; cursor: pointer; white-space: nowrap; }
.verify-banner a:hover, .verify-banner button:hover { background: #6f5713; }

.account-layout { display: grid; grid-template-columns: 250px 1fr; gap: 1.6rem; align-items: start; }

.account-side { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.2rem; position: sticky; top: 90px; }
.account-side__head { display: flex; align-items: center; gap: .75rem; padding-bottom: 1rem; border-bottom: 1px solid var(--cream); margin-bottom: .8rem; }
.account-side__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--pink); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.account-side__name { display: block; font-size: .98rem; line-height: 1.2; }
.account-side__email { display: block; font-size: .78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; max-width: 150px; white-space: nowrap; }
.account-side__nav { display: flex; flex-direction: column; gap: .2rem; }
.account-side__nav a { display: flex; align-items: center; gap: .7rem; padding: .65rem .8rem; border-radius: 12px; font-weight: 700; color: var(--ink); font-size: .92rem; }
.account-side__nav a:hover { background: var(--cream); }
.account-side__nav a.is-active { background: var(--pink-soft); color: var(--pink); }
.account-side__ico { width: 20px; text-align: center; font-size: 1rem; }
.account-side__logout { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--cream); }
.account-side__logout button { width: 100%; background: none; border: none; color: var(--muted); font-family: inherit; font-weight: 700; font-size: .88rem; cursor: pointer; padding: .5rem; border-radius: 10px; }
.account-side__logout button:hover { color: var(--pink); background: var(--cream); }

.account-main { min-width: 0; display: flex; flex-direction: column; gap: 1.4rem; }

.account-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.account-stat { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.3rem 1.4rem; }
.account-stat__num { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--pink); line-height: 1; }
.account-stat__label { display: block; margin-top: .35rem; color: var(--muted); font-weight: 700; font-size: .85rem; }

.account-block { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.5rem; }
.account-block__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.account-block__head h2 { font-family: var(--font-display); font-size: 1.2rem; }
.account-block__link { color: var(--pink); font-weight: 700; font-size: .88rem; }
.account-cols { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.4rem; align-items: start; }

.account-empty { text-align: center; padding: 2.4rem 1rem; }
.account-empty__icon { font-size: 2.4rem; margin-bottom: .6rem; }
.account-empty p { color: var(--muted); margin-bottom: 1.2rem; }

.order-list { display: flex; flex-direction: column; gap: .6rem; }
.order-row { display: grid; grid-template-columns: 1fr auto auto auto; align-items: center; gap: 1rem; padding: .9rem 1.1rem; border: 1.5px solid var(--cream); border-radius: 14px; transition: border-color .15s, transform .15s; }
.order-row:hover { border-color: var(--pink); transform: translateY(-1px); }
.order-row__main { display: flex; flex-direction: column; }
.order-row__id { font-size: 1rem; }
.order-row__date { color: var(--muted); font-size: .82rem; }
.order-row__items { color: var(--muted); font-size: .85rem; font-weight: 600; }
.order-row__total { font-size: 1.05rem; min-width: 62px; text-align: right; }

.st-badge { display: inline-block; padding: .28rem .7rem; border-radius: 999px; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.st-badge--lg { padding: .45rem 1rem; font-size: .9rem; }

.order-detail__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.order-detail__title { font-family: var(--font-display); font-size: 1.7rem; }
.order-detail__date { color: var(--muted); font-weight: 600; }

.order-note { background: var(--cream); border-radius: 14px; padding: .9rem 1.1rem; font-weight: 600; font-size: .9rem; }
.order-note--cancel { background: #FBE6E3; color: #C0392B; }
.order-note--track { background: var(--pink-soft); display: flex; align-items: center; justify-content: space-between; gap: .8rem 1rem; flex-wrap: wrap; }
.order-note--track span { color: var(--muted); }
.track-btn { display: inline-flex; align-items: center; gap: .3rem; background: var(--pink); color: #fff; font-weight: 700; font-size: .85rem; padding: .5rem .9rem; border-radius: 999px; white-space: nowrap; }
.track-btn:hover { background: #c72e6c; }

.order-track { display: flex; list-style: none; padding: 0; margin: 0; counter-reset: step; }
.order-track__step { flex: 1; display: flex; flex-direction: column; align-items: center; gap: .5rem; position: relative; text-align: center; }
.order-track__step::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 3px; background: var(--cream); z-index: 0; }
.order-track__step:first-child::before { display: none; }
.order-track__step.is-done::before { background: var(--teal); }
.order-track__dot { position: relative; z-index: 1; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 3px solid var(--cream); color: var(--muted); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.order-track__step.is-done .order-track__dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.order-track__step.is-current .order-track__dot { box-shadow: 0 0 0 4px rgba(15,124,108,.18); }
.order-track__label { font-size: .82rem; font-weight: 700; color: var(--muted); }
.order-track__step.is-done .order-track__label { color: var(--ink); }

.order-detail__items { display: flex; flex-direction: column; gap: .55rem; }
.order-detail__addr { display: flex; flex-direction: column; gap: .3rem; line-height: 1.5; }

.account-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.2rem; }
.account-form .field:nth-child(4) { grid-column: 1 / -1; }
.account-form .field { margin: 0; }

@media (max-width: 860px) {
  .account-layout { grid-template-columns: 1fr; }
  .account-side { position: static; }
  .account-side__nav { flex-direction: row; flex-wrap: wrap; }
  .account-side__nav a { flex: 1; justify-content: center; }
  .account-cols, .account-form { grid-template-columns: 1fr; }
  .order-track__label { font-size: .72rem; }
}
@media (max-width: 560px) {
  .account-stats { grid-template-columns: 1fr; }
  .order-row { grid-template-columns: 1fr auto; row-gap: .5rem; }
  .order-row__items { display: none; }
}

/* ── Filtres boutique fonctionnels ──────────────────────────── */
.filter-search { width: 100%; padding: .6rem .8rem; border: 1.5px solid #E7DFCF; border-radius: 10px; font-family: inherit; font-size: .9rem; background: #fff; }
.filter-search:focus { outline: none; border-color: var(--pink); }
.filter-check { display: flex; align-items: center; gap: .55rem; font-size: .92rem; font-weight: 600; cursor: pointer; color: var(--ink); }
.filter-check input { width: 17px; height: 17px; accent-color: var(--pink); }
.filters .btn { margin-top: .4rem; }
.shop__sortform { display: flex; align-items: center; gap: .5rem; }
.sort-label { font-size: .85rem; color: var(--muted); font-weight: 600; }
.shop-empty { text-align: center; padding: 3rem 1rem; }
.shop-empty__icon { font-size: 2.6rem; margin-bottom: .6rem; }
.shop-empty h3 { font-family: var(--font-display); font-size: 1.35rem; margin-bottom: .4rem; }
.shop-empty p { color: var(--muted); margin-bottom: 1.4rem; }

/* ── Avis clients ───────────────────────────────────────────── */
.reviews__head { display: flex; align-items: baseline; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.4rem; }
.reviews__avg { display: flex; align-items: center; gap: .5rem; font-size: 1.05rem; }
.stars { color: #d9cfbe; letter-spacing: 1px; font-size: 1.1rem; }
.stars .on { color: #F3C23B; }
.stars--sm { font-size: .9rem; }
.reviews__list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.review { background: #fff; border: 1px solid #EDE4D2; border-radius: 14px; padding: 1rem 1.2rem; }
.review__top { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; margin-bottom: .4rem; }
.review__top strong { font-size: .98rem; }
.review__date { color: var(--muted); font-size: .8rem; margin-left: auto; }
.review__text { color: #4a423a; font-size: .93rem; line-height: 1.55; }
.review-form { background: #fff; border: 1px solid #EDE4D2; border-radius: 16px; padding: 1.4rem 1.6rem; }
.review-form h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1rem; }
.review-form .field { margin-bottom: 1rem; }
.review-form label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: .4rem; }
.review-form textarea { width: 100%; padding: .7rem .9rem; border: 1.5px solid #E7DFCF; border-radius: 10px; font-family: inherit; font-size: .92rem; resize: vertical; }
.star-input { display: inline-flex; flex-direction: row-reverse; }
.star-input input { display: none; }
.star-input label { font-size: 1.9rem; line-height: 1; color: #d9cfbe; cursor: pointer; padding: 0 .06rem; transition: color .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #F3C23B; }

/* Sélecteur de pays (checkout) */
.field-select { width: 100%; padding: .7rem .9rem; border: 1.5px solid #E7DFCF; border-radius: 12px; font-family: inherit; font-size: .95rem; background: #fff; cursor: pointer; }
.field-select:focus { outline: none; border-color: var(--pink); }

/* Bouton favori sur la page produit */
.pdp__fav { display: inline-flex; align-items: center; gap: .45rem; background: #fff; border: 1.5px solid #E7DFCF; border-radius: 999px; padding: .5rem 1.1rem; font-family: inherit; font-weight: 700; font-size: .88rem; color: var(--muted); cursor: pointer; transition: border-color .15s, color .15s, background .15s; }
.pdp__fav:hover { border-color: var(--pink); color: var(--pink); }
.pdp__fav svg { width: 18px; height: 18px; }
.pdp__fav.is-fav { border-color: var(--pink); color: var(--pink); background: var(--pink-soft); }
.pdp__fav.is-fav svg path { fill: var(--pink); }

/* Note moyenne près du titre produit */
.pdp__rating { display: inline-flex; align-items: center; gap: .4rem; margin: .3rem 0; font-size: .95rem; }
.pdp__rating:hover { text-decoration: underline; }
/* Badge "Épuisé" sur les cartes */
.card__soldout { position: absolute; top: 12px; left: 12px; z-index: 2; background: rgba(46,40,35,.85); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 999px; }

/* Favori en cours d'envoi (AJAX) + petit "pop" quand on aime */
.card__fav.is-loading, .pdp__fav.is-loading { opacity: .5; pointer-events: none; }
.card__fav svg, .pdp__fav svg { transition: transform .18s ease; }
.card__fav.fav-pop svg, .pdp__fav.fav-pop svg { animation: favPop .32s ease; }
@keyframes favPop { 0% { transform: scale(1); } 45% { transform: scale(1.35); } 100% { transform: scale(1); } }
