/* Annaÿs Crochet : couleurs et polices reprises du site d'origine. */
:root {
  --bg: #fefbf6;
  --surface: #ffffff;
  --ink: #2d2424;
  --muted: #8d6e63;
  --primary: #ff529d;
  --primary-ink: #fefbf6;
  --primary-dark: #c41a68;
  --pink: #ffe0ea;
  --pink-2: #ffb8ce;
  --soft: #fbf2f4;
  --border: #efe1e5;
  --prairie: #74a12e;
  --radius: 1rem;
  --radius-lg: 2rem;
  --shadow: 0 10px 30px -12px rgb(45 36 36 / 0.18);
  --font-head: "Fredoka", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; }
h3 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: 16px; }
@media (min-width: 640px) { .wrap { padding-inline: 24px; } }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.lead { font-size: 1.125rem; }
.center { text-align: center; }
.grow { flex: 1; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border: 1px solid transparent; border-radius: 999px; padding: 0.7rem 1.4rem;
  font-weight: 600; cursor: pointer; transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgb(255 82 157 / 0.6); }
.btn-primary:hover { background: #ff3d91; }
.btn-ghost { background: var(--surface); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--pink-2); }
.btn-sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn-lg { padding: 0.95rem 1.7rem; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px;
  border-radius: 999px; border: 0; background: transparent; cursor: pointer;
}
.icon-btn:hover { background: var(--soft); }
.icon-btn .ico { width: 20px; height: 20px; }
.link { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--primary-dark); font-weight: 600; font-size: 0.9rem; }
.link:hover { text-decoration: underline; }

/* ---------- En-tête ---------- */
#site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgb(254 251 246 / 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-in { display: flex; align-items: center; gap: 1rem; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }
.brand img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.nav { display: flex; gap: 0.25rem; margin-inline: auto; }
.nav a { padding: 0.45rem 0.9rem; border-radius: 999px; font-size: 0.92rem; font-weight: 500; color: #5b4a47; }
.nav a:hover { background: var(--soft); }
.nav a[aria-current="page"] { color: var(--primary-dark); background: var(--pink); }
.header-actions { display: flex; align-items: center; gap: 0.25rem; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px;
}
.menu-btn { display: none; }
@media (max-width: 860px) {
  .header-actions { margin-left: auto; }
  .menu-btn { display: inline-grid; }
  .nav {
    display: none; position: absolute; inset: 68px 0 auto; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 0.5rem 16px 1rem;
  }
  .nav a { padding: 0.8rem 0.9rem; font-size: 1rem; }
  .menu-open .nav { display: flex; }
}

/* ---------- Accueil ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.85rem;
  background: var(--pink); color: var(--primary-dark); border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}
.hl { color: var(--primary); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.trust { display: flex; flex-wrap: wrap; gap: 1.25rem; padding: 0; margin: 0; list-style: none; }
.trust li { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust .ico { color: var(--primary); }
.trust li + li .ico { color: var(--prairie); }

/* Haut de page : texte à gauche, photographie dominante à droite. */
.hero {
  --sand: #f3e9dd;
  --sand-2: #e8d9c7;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  display: grid; gap: 2.75rem; align-items: center;
  padding-block: 2.5rem 3.5rem;
}
.hero-text { display: grid; gap: 1.35rem; justify-items: start; max-width: 34rem; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.hero-eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--pink-2); }
.hero h1 {
  font-size: clamp(2.35rem, 4.4vw + 0.6rem, 3.7rem); line-height: 1.06; letter-spacing: -0.02em;
  text-wrap: balance;
}
/* Mot mis en valeur : souligné comme un fil de laine. */
.hero .hl {
  color: var(--primary-dark); white-space: nowrap;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8c18-6 30 3 46-1s30-5 44 0 18 1 26-2' fill='none' stroke='%23ffb8ce' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E")
    no-repeat 0 100% / 100% 0.32em;
  padding-bottom: 0.08em;
}
.hero-lead { font-size: 1.125rem; line-height: 1.65; color: var(--muted); max-width: 31rem; }
.hero .actions { margin-top: 0.4rem; }
.hero .btn-lg { padding: 0.9rem 1.4rem; font-size: 0.97rem; }
.hero .btn { transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, border-color 0.25s; }
.hero .btn .ico { transition: transform 0.35s var(--ease); }
.hero .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgb(255 82 157 / 0.55); }
.hero .btn-primary:hover .ico { transform: translateX(3px); }
.hero .btn-ghost { background: transparent; border-color: var(--sand-2); }
.hero .btn-ghost:hover { transform: translateY(-2px); background: var(--surface); border-color: var(--pink-2); }
.hero .btn:active { transform: translateY(0) scale(0.98); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; padding: 1.1rem 0 0; margin: 0.4rem 0 0; list-style: none;
  border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--muted);
}
.hero-trust li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero-trust li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--pink-2); }

.hero-media { position: relative; margin: 0; isolation: isolate; }
.hero-media img {
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 100% 50%;
  border-radius: var(--radius-lg); background: var(--sand);
  box-shadow: 0 1px 2px rgb(93 64 55 / 0.06), 0 28px 60px -32px rgb(93 64 55 / 0.45);
}
/* Surface sable décalée derrière la photo, comme un tissu posé. */
.hero-backdrop {
  position: absolute; z-index: -1; inset: 14% -2% -4% 10%;
  border-radius: calc(var(--radius-lg) + 0.5rem); background: var(--sand);
}
.hero-yarn {
  position: absolute; z-index: 1; top: -18px; left: -14px; width: 56px; height: 56px;
  fill: var(--pink); stroke: var(--pink-2); stroke-width: 2.2; stroke-linecap: round;
}
.hero-yarn path { fill: none; }
.hero-label {
  position: absolute; z-index: 1; left: 1rem; bottom: 1rem;
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem;
  background: rgb(254 251 246 / 0.92); border: 1px solid rgb(255 255 255 / 0.7); border-radius: 999px;
  box-shadow: 0 10px 24px -14px rgb(93 64 55 / 0.45);
  font-size: 0.85rem; font-weight: 600; color: var(--ink);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-label .ico { width: 1rem; height: 1rem; color: var(--primary); fill: currentColor; }

@media (min-width: 640px) {
  .hero-media img { aspect-ratio: 16 / 10; }
  .hero-label { left: 1.5rem; bottom: 1.5rem; }
}
@media (min-width: 820px) {
  .hero { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 4vw, 4.5rem); padding-block: 3.5rem 4.5rem; }
  .hero-media img { aspect-ratio: 5 / 4; }
  .hero-label { left: -1.25rem; bottom: 2rem; }
  .hero-yarn { top: -24px; left: auto; right: 12%; width: 64px; height: 64px; }
  .hero-backdrop { inset: 12% 8% -5% -4%; }
}
@media (min-width: 1100px) {
  .hero { grid-template-columns: minmax(31rem, 5fr) minmax(0, 7fr); padding-block: 4.5rem 5.5rem; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .hero-backdrop { inset: 14% -3% -6% -5%; }
}

/* Apparition douce (désactivée si l'utilisateur limite les animations). */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: hero-rise 0.9s var(--ease) both; }
  .hero-text > :nth-child(2) { animation-delay: 0.08s; }
  .hero-text > :nth-child(3) { animation-delay: 0.18s; }
  .hero-text > :nth-child(4) { animation-delay: 0.28s; }
  .hero-text > :nth-child(5) { animation-delay: 0.38s; }
  .hero .hl { animation: hero-thread 1s 0.6s var(--ease) both; }
  .hero-media img { animation: hero-settle 1.2s 0.1s var(--ease) both; }
  .hero-backdrop { animation: hero-fade 1.2s 0.3s var(--ease) both; }
  .hero-label { animation: hero-fade 0.8s 0.9s var(--ease) both, hero-float 7s 1.7s ease-in-out infinite; }
  .hero-yarn { animation: hero-fade 0.8s 1s var(--ease) both, hero-float 8s 1.8s ease-in-out infinite reverse; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes hero-settle { from { opacity: 0; transform: translateY(20px) scale(0.985); } }
@keyframes hero-fade { from { opacity: 0; } }
@keyframes hero-thread { from { background-size: 0% 0.32em; } }
@keyframes hero-float { 50% { transform: translateY(-6px); } }

.section { padding-block: 3rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.center-head { text-align: center; display: grid; gap: 0.4rem; justify-items: center; margin-bottom: 2rem; }
.band { background: #fbf6f1; }

.cat-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
.cat-card { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(45 36 36 / 0.65), transparent 55%); }
.cat-label { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.1rem; z-index: 1; color: #fff; display: grid; gap: 0.2rem; }
.cat-label strong { font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; }
.cat-label span { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.85rem; opacity: 0.9; }

.product-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } .product-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.product-card { overflow: hidden; display: flex; flex-direction: column; border-radius: 1.5rem; transition: box-shadow 0.2s, transform 0.2s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--soft); }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { display: flex; flex-direction: column; gap: 0.35rem; padding: 0.9rem 1rem 1rem; flex: 1; }
.product-body h3 a:hover { color: var(--primary-dark); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-top: auto; padding-top: 0.5rem; flex-wrap: wrap; }
.price { font-family: var(--font-head); font-size: 1.05rem; }
@media (max-width: 480px) { .product-body { padding: 0.75rem; } .product-foot .btn { width: 100%; } }

.feature-grid { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } .feature-grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .feature-grid-3 { grid-template-columns: 1fr; } }
.feature { padding: 1.5rem 1.25rem; text-align: center; display: grid; gap: 0.5rem; justify-items: center; }
.feature-ico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: var(--pink); color: var(--primary-dark); }

.ig-link { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--primary-dark); font-weight: 600; }
.ig-grid { display: grid; gap: 0.75rem; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 800px) { .ig-grid { grid-template-columns: repeat(6, 1fr); } }
.ig-item { border-radius: 1.25rem; overflow: hidden; aspect-ratio: 1; }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.ig-item:hover img { transform: scale(1.06); }

/* ---------- Titres de page ---------- */
.page-head { padding-block: 3rem 2rem; display: grid; gap: 0.6rem; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }

/* ---------- Boutique ---------- */
.shop { display: grid; gap: 1.5rem; padding-bottom: 4rem; }
@media (min-width: 900px) { .shop { grid-template-columns: 240px 1fr; align-items: start; } .filters { position: sticky; top: 88px; } }
.filters { padding: 1.25rem; display: grid; gap: 1.25rem; border-radius: 1.5rem; }
.filters-title { display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 0.4rem; }
.filters legend { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.4rem; }
.radio { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-size: 0.95rem; }
input[type="radio"], input[type="checkbox"], input[type="range"] { accent-color: var(--primary); }
input[type="range"] { width: 100%; }
@media (max-width: 899px) { .filters { grid-template-columns: 1fr 1fr; } .filters-title { grid-column: 1 / -1; } }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.shop-bar select { margin-left: 0.4rem; padding: 0.45rem 0.8rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); }
.empty { padding: 3rem 0; text-align: center; }

/* ---------- Fiche produit ---------- */
.crumbs { display: flex; align-items: center; gap: 0.3rem; padding-block: 1.25rem; flex-wrap: wrap; }
.crumbs a:hover { color: var(--ink); }
.crumbs .ico { width: 14px; height: 14px; }
.pdp { display: grid; gap: 2rem; padding-bottom: 2rem; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1fr 1fr; gap: 3rem; } }
.gallery { display: grid; gap: 0.75rem; align-content: start; }
.gallery-main img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); }
.thumbs { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 1rem; overflow: hidden; cursor: pointer; background: none; width: 80px; height: 80px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current="true"] { border-color: var(--primary); }
.pdp-info { display: grid; gap: 1.1rem; align-content: start; }
.tags { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.tag { padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
.tag-dark { background: #8d6e63; color: #fff; }
.tag-pink { background: var(--pink); color: var(--primary-dark); }
.pdp-info h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.pdp-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; color: var(--primary); }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.perks li { display: grid; justify-items: center; gap: 0.35rem; padding: 0.9rem 0.5rem; border: 1px solid var(--border); border-radius: 1.2rem; font-size: 0.8rem; font-weight: 500; text-align: center; background: var(--surface); }
.perks .ico { color: var(--primary); width: 20px; height: 20px; }
.custom-box { padding: 1.1rem 1.25rem; border-radius: 1.4rem; background: var(--soft); display: grid; gap: 0.6rem; }
.custom-box h2 { font-size: 1.05rem; }
.buy { display: flex; gap: 0.75rem; align-items: stretch; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); }
.qty button { width: 40px; height: 100%; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.qty output { min-width: 1.5rem; text-align: center; font-weight: 600; }
.details { margin: 0; display: grid; gap: 0.6rem; padding-top: 1rem; border-top: 1px solid var(--border); font-size: 0.92rem; }
.details div { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.details .ico { color: var(--prairie); }
.details dt { color: var(--muted); }
.details dd { margin: 0; font-weight: 500; }

/* ---------- Formulaires ---------- */
.field { display: grid; gap: 0.4rem; border: 0; padding: 0; margin: 0; }
.field > span, .field > legend { font-size: 0.88rem; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; padding: 0.75rem 1rem; border: 1px solid var(--border); border-radius: 1rem; background: var(--surface);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--pink-2); border-color: var(--pink-2); }
.form, .wizard { padding: 1.5rem; display: grid; gap: 1rem; }
@media (min-width: 640px) { .form, .wizard { padding: 2rem; } }
.two { display: grid; gap: 1rem; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.form-error { color: #b42318; }
.newsletter { display: flex; gap: 0.5rem; margin-top: 0.75rem; }
.field-inline { flex: 1; display: flex; align-items: center; gap: 0.4rem; padding: 0 0.8rem; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--muted); }
.field-inline input { border: 0; outline: 0; background: none; padding: 0.5rem 0; width: 100%; min-width: 0; color: var(--ink); }

/* Sur mesure */
.stepper { display: flex; justify-content: center; gap: 0.5rem; list-style: none; padding: 0; margin: 0 0 1.5rem; counter-reset: s; }
.stepper li { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 999px; background: var(--soft); color: var(--muted); font-weight: 700; font-size: 0.9rem; position: relative; }
.stepper li + li { margin-left: 2rem; }
.stepper li + li::before { content: ""; position: absolute; right: 100%; width: 2rem; height: 2px; background: var(--border); }
.stepper li[aria-current="step"], .stepper li.done { background: var(--primary); color: #fff; }
.wizard { margin-bottom: 4rem; }
.step { display: grid; gap: 1rem; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.choice input, .swatch input, .pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: grid; justify-items: center; gap: 0.5rem; padding: 1.25rem 0.5rem; border: 2px solid var(--border); border-radius: 1.4rem; cursor: pointer; font-weight: 600; background: var(--surface); }
.choice .ico { width: 26px; height: 26px; color: var(--primary); }
.choice input:checked + span, .pill input:checked + span, .swatch input:checked + span { border-color: var(--primary); background: var(--pink); }
.choice input:focus-visible + span, .pill input:focus-visible + span, .swatch input:focus-visible + span { outline: 3px solid var(--primary); outline-offset: 2px; }
.swatches, .choice-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.swatch span { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.35rem 0.9rem 0.35rem 0.35rem; border: 2px solid var(--border); border-radius: 999px; cursor: pointer; font-size: 0.88rem; font-weight: 500; background: var(--surface); }
.swatch i { width: 24px; height: 24px; border-radius: 999px; border: 1px solid rgb(0 0 0 / 0.1); }
.pill span { display: inline-block; padding: 0.55rem 1rem; border: 2px solid var(--border); border-radius: 999px; cursor: pointer; font-size: 0.9rem; font-weight: 500; background: var(--surface); }
.recap { padding: 1rem 1.25rem; border-radius: 1.2rem; background: var(--soft); display: grid; gap: 0.3rem; font-size: 0.92rem; }
.wizard-nav { display: flex; justify-content: space-between; gap: 0.75rem; }

/* ---------- Pages de texte ---------- */
.prose { display: grid; gap: 1rem; font-size: 1.05rem; padding-bottom: 1rem; }
.prose h2 { font-size: 1.3rem; margin-top: 1rem; }
.legal { padding-bottom: 4rem; }
.note { margin-top: 1.5rem; font-style: italic; }
.about-img { border-radius: var(--radius-lg); }
.faq { display: grid; gap: 0.75rem; padding-bottom: 4rem; }
.faq details { border-radius: 1.4rem; padding: 0 1.25rem; }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--primary); transition: transform 0.2s; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.1rem; }
.contact { display: grid; gap: 1.5rem; padding-bottom: 4rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 1.6fr 1fr; align-items: start; } }
.contact-side { display: grid; gap: 1rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border-radius: 1.5rem; }
.contact-card > span:last-child { display: grid; }
.contact-card:hover { border-color: var(--pink-2); }

/* ---------- Pied de page ---------- */
#site-footer { margin-top: 3rem; padding-block: 3.5rem 2rem; border-top: 1px solid var(--border); background: #fbf6f1; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } }
@media (max-width: 560px) { .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; } }
.footer-grid > div { display: grid; gap: 0.75rem; align-content: start; }
.footer-grid h3 { font-size: 0.95rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; font-size: 0.9rem; color: #5b4a47; }
.footer-grid ul a:hover, .footer-legal a:hover { color: var(--primary-dark); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.footer-legal { display: flex; gap: 1rem; flex-wrap: wrap; }
.heart { color: var(--primary); display: inline-flex; vertical-align: -2px; }

/* ---------- Panier ---------- */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer-bg { position: absolute; inset: 0; background: rgb(45 36 36 / 0.4); }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  background: var(--bg); display: flex; flex-direction: column; box-shadow: var(--shadow);
  animation: slide 0.25s ease-out;
}
@keyframes slide { from { transform: translateX(100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); }
.drawer-head h2 { font-size: 1.3rem; }
.drawer-body { flex: 1; overflow: auto; padding: 1.25rem; display: grid; gap: 1rem; align-content: start; }
.drawer-foot { padding: 1.25rem; border-top: 1px solid var(--border); display: grid; gap: 0.75rem; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 0.9rem; align-items: center; }
.cart-line img { width: 64px; height: 64px; border-radius: 1rem; object-fit: cover; }
.cart-line:not(:has(img)) { grid-template-columns: 1fr auto; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.1rem; }
.cart-row { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--muted); }
.cart-zone { grid-template-columns: auto 1fr; align-items: center; gap: 0.75rem; }
.drawer-foot .btn svg { width: 18px; height: 18px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink); text-decoration: underline; cursor: pointer; font-size: inherit; }
.merci { padding-bottom: 4rem; display: grid; gap: 1.5rem; }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 150%);
  display: flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 0.9rem; box-shadow: var(--shadow); transition: transform 0.3s;
  max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); }

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