/* BIBIS Club, refonte 2026. Carnet de bébé, dans la retenue éditoriale.
   Palette pinnée : rose poudré, olive, vert profond, beige du logo, papier blanc cassé. */

@font-face { font-family: "Gloock"; src: url("fonts/Gloock-normal-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("fonts/Caveat-normal-500-700.woff2") format("woff2"); font-weight: 500 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-normal-400-700.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("fonts/Figtree-italic-400-700.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

:root {
  --paper: #fbf7f2;
  --paper-2: #f5eee6;
  --rose: #bd9994;
  --rose-pale: #f1e3de;
  --rose-deep: #8f6761;
  --olive: #899064;
  --olive-pale: #e8eadb;
  --olive-deep: #66704a;
  --vert: #17383e;
  --vert-2: #395155;
  --beige: #e1ccbe;
  --ink: #1f3438;
  --ink-soft: #4f6165;
  --line: rgba(23, 56, 62, .14);
  --wa: #1f8a5b;
  --display: "Gloock", "Georgia", serif;
  --hand: "Caveat", "Segoe Script", cursive;
  --body: "Figtree", "Segoe UI", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --r: 4px;
  --gutter: 16px;
  --max: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--body); font-size: 16px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--rose-pale); color: var(--vert); }
:focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; border-radius: var(--r); }
input, textarea { caret-color: var(--vert); font: inherit; }
html { scrollbar-color: var(--rose) var(--paper-2); scrollbar-width: thin; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Typographie */
h1, h2, h3, .display { font-family: var(--display); font-weight: 400; line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.display-xl { font-size: clamp(2.5rem, 6.4vw, 5rem); }
.display-l { font-size: clamp(2rem, 4.2vw, 3.4rem); }
.display-m { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.hand { font-family: var(--hand); font-weight: 700; line-height: 1.3; }
.hand-l { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.hand-m { font-size: clamp(1.25rem, 1.9vw, 1.55rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); max-width: 60ch; }
.small { font-size: .85rem; }
.muted { color: var(--ink-soft); }
p { margin: 0 0 1em; }

/* Boutons et stickers */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 52px; padding: 0 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary { background: var(--vert); color: var(--paper); box-shadow: 0 10px 24px -14px rgba(23, 56, 62, .7); }
.btn-primary:hover { background: var(--vert-2); }
.btn-paper { background: var(--paper); color: var(--vert); box-shadow: 0 10px 24px -16px rgba(23, 56, 62, .5); }
.btn-paper:hover { background: #fff; }
.btn-line { border: 1.5px solid var(--vert); color: var(--vert); background: transparent; }
.btn-line:hover { background: var(--vert); color: var(--paper); }
.btn svg { width: 22px; height: 22px; flex: none; }
.btn-block { width: 100%; }
.btn[aria-disabled="true"] { background: var(--paper-2); color: var(--ink-soft); box-shadow: none; cursor: not-allowed; }

.sticker {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .38rem .8rem; border-radius: 999px;
  font-family: var(--hand); font-weight: 700; font-size: 1.05rem; line-height: 1;
  transform: rotate(var(--tilt, -3deg));
  box-shadow: 0 3px 10px -4px rgba(23, 56, 62, .35);
}
.sticker-rose { background: var(--rose); color: var(--vert); }
.sticker-olive { background: var(--olive-deep); color: var(--paper); }
.sticker-vert { background: var(--vert); color: var(--paper); }
.sticker-paper { background: var(--paper); color: var(--vert); }
.sticker-beige { background: var(--beige); color: var(--vert); }

/* Bandeau d'annonce et en-tête */
.strip {
  background: var(--olive-pale); color: var(--vert);
  font-size: .8rem; letter-spacing: .04em; text-align: center; padding: .5rem var(--gutter);
}
.strip span + span::before { content: "·"; margin: 0 .6rem; color: var(--olive); }
@media (max-width: 599px) { .strip { font-size: .78rem; } .strip span:nth-child(3) { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in oklab, var(--paper) 92%, white); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 66px; gap: 1rem;
}
.logo img { height: 40px; width: auto; }
.nav { display: none; gap: 1.6rem; font-size: .95rem; font-weight: 500; }
.nav a { padding: .4rem 0; border-bottom: 1.5px solid transparent; transition: border-color .3s; }
.nav a:hover, .nav a[aria-current] { border-color: var(--rose); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: .3rem; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px;
  transition: background-color .3s;
}
@media (hover: hover) { .icon-btn:hover { background: var(--rose-pale); } }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; translate: 11px -11px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--vert); color: var(--paper); font-size: .7rem; font-weight: 700;
  display: grid; place-items: center;
}
.burger { display: inline-grid; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .burger { display: none; }
  .logo img { height: 48px; }
  .site-header .wrap { min-height: 84px; }
}

/* Menu mobile */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: inherit; }
.drawer[open] { display: block; }
.drawer::backdrop { background: transparent; }
.drawer-bg { position: absolute; inset: 0; background: rgba(23, 56, 62, .45); }
.drawer-panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 380px);
  background: var(--paper); padding: 1.2rem var(--gutter) 2rem; overflow: auto;
  box-shadow: 20px 0 60px -30px rgba(23, 56, 62, .6);
}
.drawer-panel .logo img { height: 36px; }
.drawer-nav { display: grid; gap: .2rem; margin-top: 1.5rem; }
.drawer-nav a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.6rem; }
.drawer-foot { margin-top: 1.5rem; display: grid; gap: .6rem; }

/* Fond biberons */
.endpaper { position: relative; isolation: isolate; }
.endpaper::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("img/motif-biberon.png"); background-size: 520px auto; background-repeat: repeat;
  opacity: var(--motif, .45);
}

/* Hero */
.hero { position: relative; }
.hero-media { position: relative; overflow: hidden; background: var(--rose-pale); }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; aspect-ratio: 4 / 5; max-height: 58vh; }
.hero-copy { position: relative; z-index: 2; margin-top: -2.4rem; padding: 1.4rem var(--gutter) 1.4rem; background: var(--rose-pale); border-radius: 18px 18px 0 0; }
.hero-inset { position: absolute; left: 4%; bottom: 3.2rem; width: 34%; margin: 0; rotate: -4deg; z-index: 1; }
.hero-inset img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; border: 5px solid var(--paper); box-shadow: 0 16px 34px -16px rgba(0, 0, 0, .55); }
.hero-inset .sticker { position: absolute; right: -8%; bottom: -10px; --tilt: 4deg; font-size: 1rem; }
.hero-copy .wrap { width: 100%; }
.hero-copy .display-xl { color: var(--vert); }
.hero-copy .hand-l { color: var(--rose-deep); margin: .5rem 0 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }

.hero-note .sticker { --tilt: -5deg; font-size: 1.15rem; }
.hero-note .arrow { width: 54px; height: 44px; color: var(--paper); margin-left: 1.2rem; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
@media (min-width: 900px) {
  .hero { display: grid; grid-template-columns: 1.15fr .85fr; min-height: clamp(560px, 46vw, 780px); }
  .hero-media { position: relative; min-height: 100%; }
  .hero-media > img { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; max-height: none; }
  .hero-inset { width: 25%; left: 5%; bottom: 7%; }
  .hero-copy { display: flex; flex-direction: column; justify-content: center; margin: 0; border-radius: 0; padding: 3rem clamp(2rem, 5vw, 5rem); background: var(--rose-pale); }
  .hero-copy.endpaper::before { --motif: .35; }
  .hero-copy .hand-l { margin: .8rem 0 1.6rem; }
}

/* Sections */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .6rem 2rem; margin-bottom: clamp(1.4rem, 3vw, 2.4rem); padding-bottom: .9rem; border-bottom: 1.5px dashed color-mix(in oklab, var(--olive) 55%, transparent); }
.section-head .hand-m { color: var(--rose-deep); margin-top: .35rem; }
.section-head a.more { font-weight: 600; border-bottom: 1.5px solid var(--rose); padding-bottom: .1rem; }

/* Photos collées */
.pasted { position: relative; }
.pasted img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 2px; box-shadow: 0 18px 40px -22px rgba(23, 56, 62, .55); }
.pasted::after {
  content: ""; position: absolute; top: -10px; left: 50%; width: 92px; height: 26px; translate: -50% 0; rotate: -3deg;
  background: color-mix(in oklab, var(--tape, var(--rose)) 80%, transparent); opacity: .9;
  border-radius: 1px; box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}
.pasted.tape-olive { --tape: var(--olive); }
.pasted.tape-beige { --tape: var(--beige); }
.pasted .cap { margin-top: .9rem; color: var(--vert); }

/* Comment ça marche */
.steps { background: var(--olive-pale); }
.steps.endpaper::before { --motif: .3; }
.steps-grid { display: grid; gap: 2.2rem 1.6rem; grid-template-columns: 1fr; counter-reset: step; }
.step { max-width: 420px; margin-inline: auto; }
.step .pasted { rotate: var(--rot, -1.5deg); transition: rotate .7s var(--ease); }
.step:hover .pasted { rotate: 0deg; }
.step .cap { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; }
.step .num { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--olive-deep); }
.step .cap strong { display: block; font-family: var(--hand); font-size: 1.5rem; font-weight: 700; line-height: 1.05; }
.step .cap span { display: block; color: var(--ink-soft); font-size: .95rem; margin-top: .25rem; }
@media (min-width: 760px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } .step { margin: 0; } }

/* Grille produits */
.grid { display: grid; gap: 1.8rem 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 2.4rem 1.4rem; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { position: relative; display: grid; gap: .55rem; align-content: start; }
.card-media { position: relative; overflow: hidden; border-radius: 2px; background: var(--paper-2); aspect-ratio: 4 / 5; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt, .card:focus-within .card-media img.alt { opacity: 1; }
.card:hover .card-media img.main { transform: scale(1.03); }
.card .sticker { position: absolute; z-index: 2; top: 10px; left: 10px; }
.card-zip { position: absolute; z-index: 2; right: 8px; bottom: 8px; width: 30%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid var(--paper); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.card-zip img { position: static; width: 100%; height: 100%; object-fit: cover; opacity: 1; }
.card-zip span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(23, 56, 62, .75); color: var(--paper); font-family: var(--hand); font-weight: 700; font-size: .8rem; text-align: center; line-height: 1.3; }
@media (min-width: 900px) { .card-zip { display: none; } }
.card-body { display: grid; gap: .15rem; }
.card-name { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.card-name a::after { content: ""; position: absolute; inset: 0; }
.card-price { display: flex; gap: .5rem; align-items: baseline; font-weight: 600; }
.card-price s { color: var(--ink-soft); font-weight: 400; font-size: .9rem; }
.card-sizes { font-size: .8rem; color: var(--ink-soft); letter-spacing: .02em; }
.card-sizes s { opacity: .55; }
.card.out .card-media img { filter: saturate(.55); opacity: .85; }
.card.out .card-name, .card.out .card-price { color: var(--ink-soft); }
.card-more .card-media { background: var(--olive-pale); display: grid; place-items: center; }
.more-tile { display: grid; gap: 1.2rem; justify-items: center; text-align: center; padding: 1.5rem; color: var(--vert); }
.more-tile .hand-l { color: var(--olive-deep); }
.card .notify { position: relative; z-index: 3; justify-self: start; margin-top: .2rem; font-size: .85rem; font-weight: 600; color: var(--vert); border-bottom: 1.5px solid var(--rose); }

/* Réassurance */
.reassure { background: var(--rose-pale); }
.reassure.endpaper::before { --motif: .4; }
.reassure-grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .reassure-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.reassure-item { display: grid; grid-template-columns: 56px 1fr; gap: 1rem; align-items: start; }
.reassure-item svg { width: 56px; height: 56px; color: var(--vert); }
.reassure-item strong { display: block; font-family: var(--display); font-size: 1.35rem; line-height: 1.1; margin-bottom: .3rem; }
.reassure-item span { color: var(--ink-soft); font-size: .95rem; }
.todo { background: #fff3c4; color: #5b4a00; padding: 0 .35rem; border-radius: 3px; font-size: .85em; }

/* Collections */
.collections-grid { display: grid; gap: 2.4rem 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .collections-grid { grid-template-columns: repeat(3, 1fr); } }
.collection { position: relative; display: grid; gap: .8rem; }
.collection .pasted { rotate: var(--rot, 0deg); transition: rotate .7s var(--ease); }
.collection:hover .pasted { rotate: 0deg; }
.collection .cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.collection .cap strong { font-family: var(--hand); font-size: 1.7rem; font-weight: 700; }
.collection .cap span { font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
.collection a::after { content: ""; position: absolute; inset: 0; }

/* À propos */
.about { background: var(--vert); color: var(--paper); }
.about-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); } }
.about .pasted::after { --tape: var(--beige); }
.about .display-l { color: var(--paper); }
.about .hand-m { color: var(--beige); margin-bottom: 1rem; }
.about p { color: color-mix(in oklab, var(--paper) 85%, var(--vert)); max-width: 56ch; }
.about .btn-paper { margin-top: .6rem; }

/* Rejoins le club */
.join { text-align: center; }
.join form { display: flex; gap: .6rem; max-width: 520px; margin: 1.4rem auto 0; }
.join input {
  flex: 1; min-height: 52px; padding: 0 1.1rem; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink);
}
.join input::placeholder { color: var(--ink-soft); }
.join input:focus { border-color: var(--vert); outline: none; }
.join .socials { display: flex; justify-content: center; gap: .8rem; margin-top: 1.4rem; flex-wrap: wrap; }
.join .placeholder { max-width: 520px; margin: 1.4rem auto 0; padding: .9rem 1rem; border: 1.5px dashed var(--olive); border-radius: 12px; color: var(--ink-soft); font-size: .9rem; }

/* Pied de page */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: 3rem 0 6.5rem; font-size: .92rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } .site-footer { padding-bottom: 3rem; } }
.footer-brand img { height: 44px; margin-bottom: .8rem; }
.footer-brand p { color: var(--ink-soft); max-width: 32ch; }
.site-footer h4 { font-family: var(--hand); font-size: 1.4rem; font-weight: 700; margin: 0 0 .6rem; color: var(--rose-deep); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer a:hover { color: var(--rose-deep); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; margin-top: 2.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .82rem; }

/* Barre mobile fixe */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--paper) 94%, white); border-top: 1px solid var(--line); backdrop-filter: blur(10px);
}
.mobile-bar .btn { min-height: 50px; }
.mobile-bar.single { grid-template-columns: 1fr; }
@media (min-width: 900px) { .mobile-bar { display: none; } }

/* Fiche produit */
.crumbs { font-size: .85rem; color: var(--ink-soft); padding: 1rem 0 0; }
.crumbs a:hover { color: var(--vert); }
.pdp { display: grid; gap: 1.6rem; padding: 1rem 0 3rem; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.2fr .8fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-top: 1.5rem; } }
.gallery { display: flex; gap: .6rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.gallery::-webkit-scrollbar { display: none; }
.gallery figure { flex: 0 0 86%; margin: 0; scroll-snap-align: start; position: relative; }
.gallery img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 2px; }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; }
@media (min-width: 900px) {
  .gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; overflow: visible; margin: 0; padding: 0; }
  .gallery figure { flex: none; }
  .gallery figure:first-child { grid-column: 1 / -1; }
  .gallery figure:first-child img { aspect-ratio: 5 / 4; }
}
.buybox { display: grid; gap: 1.1rem; align-content: start; }
@media (min-width: 900px) { .buybox { position: sticky; top: 100px; } }
.buybox .display-l { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
.price { display: flex; align-items: baseline; gap: .7rem; font-size: 1.35rem; font-weight: 600; }
.price s { font-size: 1rem; color: var(--ink-soft); font-weight: 400; }
.price .sticker { font-size: .95rem; --tilt: -4deg; }
.pdp-hand { color: var(--rose-deep); margin-top: .4rem; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; margin-bottom: .55rem; display: flex; justify-content: space-between; width: 100%; }
legend a { font-weight: 500; color: var(--ink-soft); border-bottom: 1.5px solid var(--rose); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.05rem; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; font-weight: 600; transition: all .3s var(--ease);
}
.chip input:checked + span { background: var(--vert); color: var(--paper); border-color: var(--vert); }
.chip input:focus-visible + span { outline: 2px solid var(--vert); outline-offset: 2px; }
.chip.out span { color: var(--ink-soft); text-decoration: line-through; background: var(--paper-2); }
.chip.out small { text-decoration: none; margin-left: .35rem; font-size: .7rem; font-weight: 500; }
.swatch span { gap: .5rem; }
.swatch i { width: 16px; height: 16px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0, 0, 0, .12); }
.buy-actions { display: grid; gap: .6rem; }
.buy-reassure { display: grid; gap: .5rem; padding: 1rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .92rem; }
.buy-reassure div { display: flex; gap: .6rem; align-items: center; }
.buy-reassure svg { width: 22px; height: 22px; color: var(--olive-deep); flex: none; }
.how-mini { display: grid; grid-template-columns: 72px 1fr; gap: .9rem; align-items: center; background: var(--olive-pale); padding: .8rem; border-radius: 6px; }
.how-mini img { aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.how-mini strong { font-family: var(--hand); font-size: 1.3rem; font-weight: 700; display: block; }
.how-mini span { font-size: .9rem; color: var(--ink-soft); }
details { border-top: 1px solid var(--line); }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: .9rem 0; font-weight: 600; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 18px; height: 18px; background: currentColor; color: var(--rose-deep); mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'><path d='M12 5v14M5 12h14'/></svg>") center / contain no-repeat; transition: rotate .4s var(--ease); }
details[open] summary::after { rotate: 45deg; }
details .body { padding: 0 0 1rem; color: var(--ink-soft); }
details ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.voice { font-size: 1.05rem; }
.voice p:first-child { font-family: var(--hand); font-size: 1.5rem; color: var(--vert); line-height: 1.15; }

/* Boutique */
.shop-head { padding: 1.6rem 0 1rem; display: grid; gap: 1rem; }
.filters { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding: .2rem var(--gutter); }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; transition: all .3s var(--ease); }
.filters button[aria-pressed="true"] { background: var(--vert); color: var(--paper); border-color: var(--vert); }
.shop-note { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--ink-soft); font-size: .9rem; }
.card[hidden] { display: none; }

/* Entrées au scroll : stickers qui se posent, photos qui arrivent */
.settle { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .settle { opacity: 0; transform: translateY(14px) scale(1.04) rotate(var(--tilt-in, 1.5deg)); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
  .settle.in { opacity: 1; transform: none; }
  .sticker.settle.in { transform: rotate(var(--tilt, -3deg)); }
}
html.no-motion .settle { opacity: 1; transform: none; transition: none; }
html.no-motion .sticker.settle { transform: rotate(var(--tilt, -3deg)); }

/* ---- Intégration WordPress / WooCommerce (ajouté au style du prototype) ---- */
.bc { margin: 0; }
.bc #wpadminbar ~ .site-header { top: 32px; }
.bc .site-header { top: var(--wp-admin--admin-bar--height, 0); }

/* Formulaire de variation WooCommerce : on garde la mécanique, on cache ses contrôles, nos puces les pilotent */
.bc .bc-wc-form form.cart { display: grid; gap: .6rem; margin: 0; }
.bc .bc-wc-form table.variations, .bc .bc-wc-form .reset_variations, .bc .bc-wc-form .quantity,
.bc .bc-wc-form .woocommerce-variation-price, .bc .bc-wc-form .woocommerce-variation-description { display: none !important; }
.bc .bc-wc-form .woocommerce-variation-availability { font-size: .9rem; color: var(--ink-soft); }
.bc .bc-wc-form .woocommerce-variation-availability p { margin: 0; }
.bc .bc-wc-form .stock.out-of-stock { color: var(--rose-deep); font-weight: 600; }
.bc .bc-wc-form .single_add_to_cart_button {
  display: inline-flex; align-items: center; justify-content: center; width: 100%;
  min-height: 52px; padding: 0 1.5rem; border-radius: 999px; border: 0;
  background: var(--vert); color: var(--paper); font: 600 1rem/1 var(--body);
  box-shadow: 0 10px 24px -14px rgba(23, 56, 62, .7); cursor: pointer;
  transition: transform .5s var(--ease), background-color .3s, opacity .3s;
}
.bc .bc-wc-form .single_add_to_cart_button:hover { background: var(--vert-2); transform: translateY(-2px); }
.bc .bc-wc-form .single_add_to_cart_button.disabled, .bc .bc-wc-form .single_add_to_cart_button:disabled { background: var(--paper-2); color: var(--ink-soft); box-shadow: none; cursor: not-allowed; opacity: 1; }
.bc .bc-wc-form .single_variation_wrap { display: contents; }
.bc .bc-wc-form .woocommerce-variation-add-to-cart { display: grid; gap: .4rem; }
.bc .bc-wc-form .added_to_cart { font-weight: 600; text-align: center; border-bottom: 1.5px solid var(--rose); justify-self: center; }

/* Messages WooCommerce (ajouté au panier, erreurs) */
.bc .bc-notices { margin-top: .8rem; }
.bc .woocommerce-message, .bc .woocommerce-error, .bc .woocommerce-info {
  list-style: none; margin: 0 0 .6rem; padding: .9rem 1.1rem; border-radius: 12px; border: 1.5px dashed var(--olive);
  background: var(--olive-pale); color: var(--vert); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; font-size: .95rem;
}
.bc .woocommerce-error { border-color: var(--rose); background: var(--rose-pale); }
.bc .woocommerce-message .button, .bc .woocommerce-info .button, .bc .woocommerce-error .button {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; background: var(--vert); color: var(--paper); font-weight: 600; order: 2;
}
.bc .woocommerce-message .button:hover { background: var(--vert-2); }
.bc .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Images WordPress dans nos cadres */
.bc .card-media img, .bc .pasted img, .bc .gallery img, .bc .hero-inset img, .bc .how-mini img { max-width: 100%; }
.bc .card-zip img { position: static; }

/* Filtres de la boutique rendus en liens (pages de collection réelles) */
.bc .filters a[role="button"] { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .92rem; white-space: nowrap; transition: all .3s var(--ease); }
.bc .filters a[aria-pressed="true"] { background: var(--vert); color: var(--paper); border-color: var(--vert); }
/* Logos avec attributs width/height WordPress */
.bc .footer-brand img, .bc .logo img, .bc .drawer-panel .logo img { width: auto; }

/* ---- Fiche produit, conversion (26/10/2026) : réassurance au-dessus du pli, zip près de l'achat, WhatsApp visible, guide des tailles ---- */
.bc .price-block { display: grid; gap: .35rem; }
.bc .price-note { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.bc .pdp-reassure { list-style: none; margin: 0; padding: .7rem .9rem; display: grid; gap: .4rem; background: var(--olive-pale); border-radius: 8px; font-size: .92rem; font-weight: 600; color: var(--vert); }
.bc .pdp-reassure li { display: flex; align-items: center; gap: .55rem; }
.bc .pdp-reassure svg { width: 18px; height: 18px; color: var(--olive-deep); flex: none; }
@media (min-width: 600px) { .bc .pdp-reassure { grid-template-columns: 1fr 1fr 1fr; font-size: .86rem; } }
.bc a.how-mini { background: var(--rose-pale); border: 1.5px dashed var(--rose); color: inherit; }
.bc a.how-mini:hover { background: #f6ebe7; }
.bc .how-mini img { width: 72px; height: 72px; }
.bc .link-guide { font-weight: 500; color: var(--ink-soft); border-bottom: 1.5px solid var(--rose); padding: 0; line-height: 1.3; }
.bc .link-guide:hover { color: var(--vert); }
.bc .btn-wa { background: var(--wa); color: #fff; border: 0; box-shadow: 0 10px 24px -14px rgba(31, 138, 91, .8); }
.bc .btn-wa:hover { background: #197349; color: #fff; }
.bc .buy-actions .btn-wa { width: 100%; }
@media (min-width: 600px) { .bc .buy-actions { grid-template-columns: 1fr 1fr; align-items: start; } }
.bc .buy-hint { margin: -.3rem 0 0; }
.bc .voice ul { margin: 0 0 1em; padding-left: 1.1rem; font-size: .98rem; }
.bc .voice li { margin: .2rem 0; }
.bc details.open-first { border-top: 0; }
/* Guide des tailles */
.bc .size-guide { position: fixed; inset: 0; z-index: 70; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(23, 56, 62, .5); color: inherit; }
.bc .size-guide:not([open]) { display: none; }
.bc .size-guide-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow: auto; background: var(--paper); border-radius: 18px 18px 0 0; padding: 1.2rem var(--gutter) calc(1.2rem + env(safe-area-inset-bottom)); display: grid; gap: .8rem; }
@media (min-width: 700px) { .bc .size-guide-panel { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: min(92vw, 520px); border-radius: 12px; padding: 1.6rem; } }
.bc .size-guide-head { display: flex; justify-content: space-between; align-items: center; }
.bc .size-guide table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.bc .size-guide th { text-align: left; font-weight: 600; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); padding: .3rem 0; border-bottom: 1.5px solid var(--line); }
.bc .size-guide td { padding: .55rem 0; border-bottom: 1px solid var(--line); }
.bc .size-guide tr.out td { color: var(--ink-soft); }
.bc .size-guide tr.out small { color: var(--rose-deep); }
.bc .size-guide-notes { margin: 0; padding-left: 1.1rem; font-size: .9rem; color: var(--ink-soft); display: grid; gap: .3rem; }
/* Message « ajouté au panier » : aller commander sans passer par le panier */
.bc .woocommerce-message .button.bc-go-checkout { background: var(--wa); }
.bc .woocommerce-message .bc-see-cart { font-weight: 600; border-bottom: 1.5px solid var(--rose); }
