/* Bulle Nature - la boutique. S'appuie sur les variables et les classes de site.css.
   Reprise du 05/11/2026 16:27 (Nils : « brouillon visuellement, il y en a partout », la carte cadeau
   doit passer devant). Une seule chose par ecran : la carte cadeau en tete, des produits calmes, une
   seule barre qui suit la lecture (les marques et « Ma reservation »). Le terracotta est reserve au
   geste d'achat ; le vert sapin porte le reste. prefers-reduced-motion coupe tout mouvement. */
[hidden] { display: none !important; }
.bt-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--vert-eau-fonce); outline-offset: 3px; }
.bt-offrir :focus-visible, .cc-offre :focus-visible { outline-color: var(--creme); }

/* ===== L'EN-TETE DES TROIS PAGES : clair, un titre, une phrase =============== */
.bn-tete { padding: var(--e-xl) 0 var(--e-l); }
.bn-tete .fil { color: var(--encre-douce); margin-bottom: var(--e-s); }
.bn-tete .fil a { color: inherit; text-decoration: underline; text-decoration-color: var(--sable-fonce); text-underline-offset: 3px; }
.bn-tete .fil a:hover { color: var(--sapin); }
.bn-tete h1 { font-family: var(--font-titre); font-weight: 300; font-size: var(--t-7); line-height: 1; color: var(--sapin); margin: 0 0 var(--e-s); letter-spacing: -.01em; }
.cc-promo { margin: 1rem 0 0; max-width: 58ch; padding: .7rem 1rem; border: 1px solid var(--vert-eau-trait); border-left: 3px solid var(--sapin); border-radius: var(--rayon-bloc); color: var(--encre-douce); font-size: .98rem; line-height: 1.5; }
.cc-promo strong { color: var(--sapin); font-weight: 600; }
.cc-promo-code { letter-spacing: .06em; white-space: nowrap; }
.cc-promo[hidden] { display: none; }
.bn-intro { color: var(--encre-douce); font-size: 1.05rem; line-height: 1.55; max-width: 58ch; margin: 0; }

/* ===== LE VOL VERS L'ENTREE « PANIER » DE L'EN-TETE ===== */
.bn-vol { position: fixed; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; z-index: 960; pointer-events: none;
  background: radial-gradient(circle at 30% 28%, #fff 0 12%, rgba(255,255,255,0) 30%), conic-gradient(rgba(255,170,205,.7), rgba(150,205,255,.7), rgba(160,240,195,.8), rgba(255,170,205,.7));
  box-shadow: inset 0 0 6px rgba(255,255,255,.8), 0 4px 12px rgba(30,51,39,.25); }
.bn-eclat { position: absolute; left: var(--ex); bottom: var(--et); width: 12px; height: 12px; border-radius: 50%; pointer-events: none; z-index: 5; opacity: 0;
  background: radial-gradient(circle at 30% 28%, #fff 0 14%, rgba(255,255,255,0) 40%), radial-gradient(circle, rgba(220,234,228,.5), rgba(63,122,101,.45));
  box-shadow: inset 0 0 4px rgba(255,255,255,.9), 0 0 0 1px rgba(63,122,101,.25);
  animation: bn-monte var(--ed) cubic-bezier(.25,.6,.35,1) var(--er) forwards; }
@keyframes bn-monte { 0% { opacity: 0; transform: translate(0, 0) scale(.4); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--edx), -120px) scale(1.5); } }

/* ===== LA CARTE CADEAU EN VOLUME ============================================== */
/* Les polices du livrable de Chloe (carte-cadeau_2026-10, v12), reduites au latin. */
@font-face { font-family: "Noto Sans Carte"; font-weight: 400; font-display: swap; src: url("/assets/fonts/carte-NotoSans-Regular.woff2") format("woff2"); }
@font-face { font-family: "Noto Sans Carte"; font-weight: 700; font-display: swap; src: url("/assets/fonts/carte-NotoSans-Bold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat Carte"; font-weight: 600; font-display: swap; src: url("/assets/fonts/carte-Montserrat-SemiBold.woff2") format("woff2"); }
.cv-scene { perspective: 1300px; perspective-origin: 50% 40%; padding: 18px 10px 34px; }
.cv-entree, .cv-inclin, .cv-cadre { transform-style: preserve-3d; }
.cv-entree.cv-attend:not(.vu) { opacity: 0; transform: rotateY(-72deg) rotateX(10deg) translateY(36px) scale(.88); }
.cv-entree { transition: transform 1.5s var(--pose), opacity .9s ease; }
.cv-entree-charge { animation: cv-entre 1.6s var(--pose) .2s both; }
@keyframes cv-entre { from { opacity: 0; transform: rotateY(-72deg) rotateX(10deg) translateY(36px) scale(.88); } to { opacity: 1; transform: none; } }
.cv-inclin { --rx: 0deg; --ry: 0deg; --gx: 30%; --ox: 0px; position: relative; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s ease-out; will-change: transform; }
.cv-inclin-fixe { --ry: -7deg; --rx: 4deg; }
.cv-cadre { position: relative; width: 100%; border-radius: 3.4% / 4.8%; }
.cv-face { position: relative; container-type: inline-size; aspect-ratio: 148 / 105; overflow: hidden; border-radius: 3.4% / 4.8%;
  background: #B1CEC1 url("/assets/img/carte-grain-sauge.jpg") 0 0 / 100% 100% no-repeat; color: #4B524C; font-family: "Noto Sans Carte", "Noto Sans", sans-serif;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.cv-tranche { position: absolute; inset: 0; border-radius: inherit; background: #7fa392; transform: translateZ(-7px); box-shadow: 0 0 0 1px rgba(63,122,101,.25); }
.cv-ombre { position: absolute; left: 6%; right: 6%; bottom: -7%; height: 9%; border-radius: 50%; background: radial-gradient(ellipse, rgba(30,51,39,.38), rgba(30,51,39,0) 70%); filter: blur(7px);
  transform: translate3d(var(--ox), 0, -40px); transition: transform .35s ease-out; }
/* Les textes de la carte sont des <p> : sur un chapitre sombre, la regle `.section-sapin p` de site.css
   (creme a 82 %) les emportait sur la couleur de la carte et les rendait fantomes sur le blanc. */
.cv-face > p { color: #4B524C; }
.cv-face > p.cv-nom { color: #5E7A69; }
.cv-face > p.cv-adr { color: #1F2420; }
/* Toutes les cotes sont celles de la carte papier, en millimetres du fini (148 x 105). */
/* Les textes de la carte fixent leur couleur : une section sombre de la page (« .section-sapin p », site.css,
   specificite plus forte) les rendait creme sur le blanc du bas, adresse illisible (accueil, 12/11/2026). */
.cv-face > p { color: #4B524C; } .cv-face > p.cv-nom { color: #5E7A69; } .cv-face > p.cv-adr { color: #1F2420; }
.cv-face > * { --mm: calc(100cqw / 148); position: absolute; margin: 0; }
.cv-rond { left: calc(var(--mm) * -12.5); top: calc(var(--mm) * 8.1); width: calc(var(--mm) * 63); height: calc(var(--mm) * 63); border-radius: 50%; background: #fff; }
.cv-logo { left: calc(var(--mm) * 19); top: calc(var(--mm) * 39.6); width: calc(var(--mm) * 34); height: auto; transform: translate(-50%, -50%); filter: brightness(.5) saturate(1.25); }
.cv-titre { right: calc(var(--mm) * 13); text-align: right; font-size: calc(var(--mm) * 7.76); line-height: calc(var(--mm) * 7.1); letter-spacing: .1em; margin-right: -.1em !important; top: calc(var(--mm) * 5.44); white-space: nowrap; }
.cv-titre span { display: block; }
.cv-champ { left: calc(var(--mm) * 53.4); width: calc(var(--mm) * 88.6); height: calc(var(--mm) * 5); top: calc(var(--y) * var(--mm) - var(--mm) * 5); display: flex; align-items: flex-end; font-size: calc(var(--mm) * 2.646); }
.cv-champ:not(:has(.cv-libelle)), .cv-valeur { border-bottom: calc(var(--mm) * .25) dotted rgba(75, 82, 76, .85); }
.cv-c1 { --y: 27.2; } .cv-c2 { --y: 33; } .cv-c3 { --y: 38.5; } .cv-c4 { --y: 45.8; } .cv-c5 { --y: 54.2; } .cv-c6 { --y: 60.3; }
.cv-libelle { flex: none; line-height: 1; letter-spacing: .03em; padding-bottom: calc(var(--mm) * .12); white-space: nowrap; }
.cv-valeur { flex: 1; min-width: 0; height: 100%; margin-left: calc(var(--mm) * 1.2); padding-bottom: calc(var(--mm) * .5); display: flex; align-items: flex-end; font-size: calc(var(--mm) * 3.528); line-height: 1; color: #1F2420; white-space: nowrap; overflow: hidden; }
.cv-valeur.cv-long { font-size: calc(var(--mm) * 2.9); }
.cv-n { left: calc(var(--mm) * 33); top: calc(var(--mm) * 69.67); font-size: calc(var(--mm) * 2.646); letter-spacing: .03em; line-height: 1; white-space: nowrap; }
.cv-valable { right: calc(var(--mm) * 49); top: calc(var(--mm) * 65.27); text-align: center; font-size: calc(var(--mm) * 2.646); line-height: calc(var(--mm) * 3.4); white-space: nowrap; }
.cv-valable small { display: block; font-size: 1em; }
.cv-blanc { left: 0; right: 0; top: calc(var(--mm) * 74); height: calc(var(--mm) * 22.5); background: #fff; }
.cv-nom { left: 0; right: 0; top: calc(var(--mm) * 79.74); text-align: center; font-family: "Montserrat Carte", "Montserrat", sans-serif; font-weight: 600; font-size: calc(var(--mm) * 4.34); letter-spacing: .115em; line-height: 1; color: #5E7A69; white-space: nowrap; padding-left: .115em; }
.cv-adr { left: 0; right: 0; text-align: center; font-size: calc(var(--mm) * 3.528); letter-spacing: .035em; line-height: 1; color: #1F2420; white-space: nowrap; }
.cv-adr1 { top: calc(var(--mm) * 84.43); } .cv-adr2 { top: calc(var(--mm) * 88.83); }
.cv-bas { left: 0; right: 0; top: calc(var(--mm) * 96.5); bottom: 0; background: #9DBFAE url("/assets/img/carte-grain-papier.jpg") 0 0 / 100% 100% no-repeat; background-blend-mode: multiply;
  display: flex; align-items: center; justify-content: center; font-size: calc(var(--mm) * 3.03); font-weight: 700; letter-spacing: .03em; color: #3E443F; white-space: nowrap; }
.cv-bas svg { width: calc(var(--mm) * 5.2); height: calc(var(--mm) * 5.2); flex: none; }
.cv-g { margin: 0 calc(var(--mm) * 1.8) 0 calc(var(--mm) * 3); } .cv-t { margin: 0 calc(var(--mm) * 1.5) 0 calc(var(--mm) * 4.3); }
.cv-reflet { inset: 0; pointer-events: none; mix-blend-mode: soft-light; opacity: .95;
  background: linear-gradient(112deg, rgba(255,255,255,0) 28%, rgba(255,255,255,.75) 42%, rgba(255,255,255,.15) 50%, rgba(255,255,255,0) 62%) var(--gx, 30%) 0 / 260% 100% no-repeat; transition: background-position .25s ease-out; }
.cv-face::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0) 35%, rgba(255,255,255,.7) 48%, rgba(255,255,255,0) 60%) 0 0 / 300% 100% no-repeat; }
.cv-face.balaie::after { animation: cv-balaie 1.2s var(--pose); }
@keyframes cv-balaie { from { opacity: 1; background-position: 100% 0; } to { opacity: 1; background-position: 0 0; } }
.cc-vitrine { position: relative; z-index: 3; }

/* ===== /CARTES-CADEAUX ======================================================== */
.cc-page { padding-bottom: var(--air); }
.cc-grille { display: grid; gap: var(--e-l); }
.cc-titre { padding-bottom: 0; }
.cc-vitrine .cv-scene { padding: 6px 4px 30px; }
.cc-offre { margin-top: var(--e-s); background: var(--sapin); color: rgba(250,247,242,.88); border-radius: var(--rayon-bloc); padding: 1.3rem 1.4rem 1.1rem; }
.cc-offre h2 { font-family: var(--font-titre); font-weight: 400; font-size: 1.55rem; line-height: 1.15; color: var(--creme); margin: 0 0 .8rem; }
.cc-offre ul { list-style: none; padding: 0; margin: 0; }
.cc-offre li { display: grid; grid-template-columns: 5.6rem 1fr; gap: .9rem; align-items: baseline; padding: .55rem 0; border-top: 1px solid rgba(250,247,242,.14); transition: color .3s; }
.cc-offre li strong { font-family: var(--font-titre); font-weight: 500; font-size: 1.3rem; color: var(--creme); }
.cc-offre li small { font-size: .85em; color: rgba(250,247,242,.62); }
.cc-offre li.atteint { color: var(--creme); }
.cc-offre li.atteint strong { color: var(--vert-eau-trait); }
.cc-offre li.atteint strong::after { content: ""; display: inline-block; width: 5px; height: 10px; margin-left: .55rem; border: solid var(--vert-eau-trait); border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); }
.cc-mention { font-size: .85rem; color: rgba(250,247,242,.62); margin: .7rem 0 0; }
.cc-form { display: grid; gap: var(--e-m); }
.cc-groupe { border: 0; padding: 0; margin: 0; min-width: 0; }
.cc-groupe legend { padding: 0; margin-bottom: .65rem; font-weight: 600; font-size: .98rem; color: var(--encre); }
.cc-choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 480px) { .cc-choix { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cc-option { position: relative; display: block; }
.cc-option input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; z-index: 2; }
.cc-option span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 66px; padding: .5rem; text-align: center; box-sizing: border-box;
  border: 1.5px solid var(--sable-fonce); border-radius: var(--rayon-bloc); background: var(--blanc); font-family: var(--font-titre); font-size: 1.65rem; line-height: 1.05; color: var(--sapin);
  transition: background .25s, color .25s, border-color .25s; }
.cc-option span small { font-family: var(--font-texte); font-size: .88rem; color: var(--encre-douce); margin-top: 3px; transition: color .25s; }
.cc-soin span { font-size: 1.35rem; }
.cc-option:hover span { border-color: var(--sauge); }
.cc-option input:checked + span { background: var(--sapin); border-color: var(--sapin); color: var(--creme); }
.cc-option input:checked + span small { color: var(--vert-eau-trait); }
.cc-option input:focus-visible + span { outline: 3px solid var(--vert-eau-fonce); outline-offset: 3px; }
/* « Autre montant » : une pastille sur toute la rangee, le champ en est le contenu. Meme hauteur, meme arrondi,
   meme etat coche que `.cc-option span` ; le radio cache (valeur vide) porte l'etat. */
.cc-libre { grid-column: 1 / -1; }
.cc-libre-champ { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 66px; padding: .5rem; box-sizing: border-box; cursor: text;
  border: 1.5px solid var(--sable-fonce); border-radius: var(--rayon-bloc); background: var(--blanc); font-family: var(--font-titre); font-size: 1.65rem; line-height: 1.05; color: var(--sapin);
  transition: background .25s, color .25s, border-color .25s; }
.cc-libre input[data-libre] { width: 9.5rem; max-width: 60%; cursor: text;
  font: inherit; line-height: 1.2; text-align: right; color: inherit; background: transparent; border: 0; border-bottom: 1.5px dashed var(--sable-fonce); border-radius: 0; padding: .1rem .25rem; margin: 0; }
.cc-libre input[data-libre]::placeholder { font-family: var(--font-texte); font-size: 1rem; color: #7d756a; }
.cc-libre input[data-libre]:focus { outline: none; border-bottom-color: var(--sapin); }
.cc-libre:hover .cc-libre-champ { border-color: var(--sauge); }
.cc-libre input[data-autre]:checked + .cc-libre-champ { background: var(--sapin); border-color: var(--sapin); color: var(--creme); }
.cc-libre input[data-autre]:checked + .cc-libre-champ input[data-libre] { border-bottom-color: var(--vert-eau-trait); }
.cc-libre input[data-autre]:checked + .cc-libre-champ input[data-libre]::placeholder { color: var(--vert-eau-trait); }
.cc-libre:focus-within .cc-libre-champ { outline: 3px solid var(--vert-eau-fonce); outline-offset: 3px; }
.cc-libre input[data-libre][aria-invalid="true"] { border-bottom: 2px solid var(--terracotta-clair); }
.cc-libre-aide { margin: .55rem 0 0; font-size: .88rem; color: var(--encre-douce); }
.cc-libre-aide.erreur { color: var(--terracotta); font-weight: 600; }
.cc-noms { display: grid; gap: .7rem; }
@media (min-width: 480px) { .cc-noms { grid-template-columns: 1fr 1fr; } }
.cc-noms label { display: grid; gap: .35rem; font-size: .9rem; font-weight: 600; color: var(--encre-douce); }
.cc-noms input { font: inherit; font-size: 1.05rem; font-weight: 400; padding: .75rem .95rem; border: 1.5px solid var(--sable-fonce); border-radius: var(--rayon-bloc); background: var(--blanc); color: var(--encre); width: 100%; box-sizing: border-box; }
.cc-noms input:focus { outline: none; border-color: var(--sapin); box-shadow: 0 0 0 3px rgba(63,122,101,.18); }
.cc-noms input::placeholder { color: #a39c90; }
.cc-noms-aide { margin: .55rem 0 0; font-size: .88rem; color: var(--encre-douce); }
.cc-code summary { cursor: pointer; width: max-content; color: var(--sapin); font-weight: 600; font-size: .95rem; text-decoration: underline; text-decoration-color: var(--sable-fonce); text-underline-offset: 4px; }
.cc-code[open] summary { margin-bottom: .6rem; }
.cc-code-ligne { display: flex; gap: .5rem; max-width: 420px; }
.cc-code-ligne input { flex: 1; min-width: 0; text-transform: uppercase; font: inherit; font-size: 1rem; padding: .65rem .9rem; border: 1px solid var(--sable-fonce); border-radius: var(--rayon-pilule); background: var(--blanc); color: var(--encre); }
.cc-code-ligne input:focus { outline: 2px solid var(--sapin); outline-offset: 1px; }
.cc-code-retour { margin: .5rem 0 0; color: var(--encre-douce); font-size: .95rem; }
.cc-code-retour.ok { color: var(--vert-eau-fonce); font-weight: 600; }
.cc-recap { display: grid; gap: .8rem; border-top: var(--filet); padding-top: var(--e-s); }
.cc-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.cc-total-val { display: inline-flex; align-items: baseline; gap: .7rem; overflow: hidden; padding-block: 2px; }
.cc-total strong { font-family: var(--font-titre); font-size: 2.4rem; font-weight: 500; color: var(--sapin); display: inline-block; line-height: 1.05; }
.cc-total strong.promo { color: var(--vert-eau-fonce); }
.cc-avant { font-family: var(--font-titre); font-size: 1.3rem; color: var(--encre-douce); text-decoration: line-through; text-decoration-color: var(--terracotta); }
.cc-attention { position: relative; margin: 0; color: var(--vert-eau-fonce); font-weight: 600; line-height: 1.4; }
.cc-attention.revele { animation: cc-revele .7s var(--pose); }
@keyframes cc-revele { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cc-payer { width: 100%; justify-content: center; padding-block: 16px; font-size: 1rem; background: var(--terracotta); border-color: var(--terracotta); color: #fff; }
.cc-payer:hover { background: #8f4c32; border-color: #8f4c32; }
.cc-aide { margin: 0; color: var(--encre-douce); font-size: .92rem; line-height: 1.5; }
.cc-aide a { color: var(--sapin); }
@media (max-width: 999px) {
  .cc-gauche { display: contents; }
  .cc-titre { order: 1; } .cc-vitrine { order: 2; } .cc-form { order: 3; } .cc-offre { order: 4; margin-top: 0; }
}
@media (min-width: 1000px) {
  .cc-grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "gauche titre" "gauche form"; grid-template-rows: auto 1fr; column-gap: var(--e-2xl); row-gap: var(--e-l); align-items: start; }
  .cc-titre { grid-area: titre; }
  .cc-gauche { grid-area: gauche; position: sticky; top: calc(var(--haut-entete) + 18px); padding-top: var(--e-xl); }
  .cc-form { grid-area: form; }
}

/* ===== /BOUTIQUE ============================================================== */
/* La carte cadeau d'abord : un seul bloc sombre, le seul bouton terracotta de la page. */
.bt-offrir { display: grid; gap: var(--e-m); align-items: center; background: var(--sapin); color: rgba(250,247,242,.88); border-radius: var(--rayon-image); padding: var(--e-l) var(--pad) var(--e-m); overflow: hidden; }
.bt-offrir-quand { font-family: var(--font-titre); font-style: italic; font-size: 1.3rem; color: var(--vert-eau-trait); margin: 0 0 .35rem; }
.bt-offrir h2 { font-family: var(--font-titre); font-weight: 300; font-size: var(--t-6); line-height: 1.04; color: var(--creme); margin: 0 0 var(--e-m); max-width: 16ch; }
.bt-paliers { list-style: none; padding: 0; margin: 0 0 var(--e-m); max-width: 34rem; }
.bt-paliers li { display: grid; grid-template-columns: 5.6rem 1fr; gap: .9rem; align-items: baseline; padding: .55rem 0; border-top: 1px solid rgba(250,247,242,.14); }
.bt-paliers strong { font-family: var(--font-titre); font-weight: 500; font-size: 1.3rem; color: var(--creme); }
.bt-offrir-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem; }
.bt-offrir-actions span { font-size: .92rem; color: rgba(250,247,242,.72); max-width: 30ch; }
.bt-offrir-cta { background: var(--terracotta); border-color: var(--terracotta); color: #fff; padding: 14px 26px; }
.bt-offrir-cta:hover { background: #8f4c32; border-color: #8f4c32; color: #fff; }
.bt-mention { font-size: .85rem; color: rgba(250,247,242,.6); margin: var(--e-s) 0 0; }
.bt-offrir-carte { display: block; max-width: 560px; width: 100%; justify-self: center; }
.bt-offrir .cv-scene { padding: 4px 4px 26px; }
@media (max-width: 899px) { .bt-offrir-carte { order: -1; max-width: 420px; } .bt-offrir { padding-top: var(--e-m); } }
@media (min-width: 900px) { .bt-offrir { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--e-xl); padding: var(--e-xl) var(--e-2xl); } }

/* Les produits : pas de cadre, pas d'ombre ; la photo, le nom, un geste discret. */
.bt-rayons { margin-top: var(--e-xl); padding-bottom: var(--air); }
.bt-rayons > .barre-contexte { box-shadow: none; }
.bt-marques { flex: 1; min-width: 0; position: relative; }
.bt-marques-piste { position: relative; display: flex; align-items: center; gap: .2rem; height: var(--h-contexte); overflow-x: auto; scrollbar-width: none; }
.bt-marques-piste::-webkit-scrollbar { display: none; }
.bt-marques-piste { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 28px; }
.bt-marques a { position: relative; z-index: 1; flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 1rem; border-radius: var(--rayon-pilule); font-size: .95rem; font-weight: 600; color: var(--encre-douce); white-space: nowrap; text-decoration: none; transition: color .3s; }
.bt-marques a:hover, .bt-marques a[aria-current="true"] { color: var(--sapin); }
.bt-pastille { position: absolute; z-index: 0; top: calc((var(--h-contexte) - 40px) / 2); left: 0; height: 40px; width: var(--pw, 0px); transform: translateX(var(--px, 0px)); border-radius: var(--rayon-pilule); background: var(--vert-eau); opacity: 0; }
.bt-pastille.pose { opacity: 1; transition: transform .5s var(--pose), width .5s var(--pose), opacity .3s; }
@media (max-width: 400px) { .bt-marques a { padding: 0 .7rem; font-size: .9rem; } }
.bt-chapitre { scroll-margin-top: calc(var(--haut-entete) + var(--h-contexte) + 8px); padding-top: var(--e-xl); }
.bt-chapitre-tete { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-bottom: var(--filet); padding-bottom: .7rem; }
.bt-chapitre-tete h2 { font-family: var(--font-titre); font-size: var(--t-6); font-weight: 300; line-height: 1; color: var(--sapin); margin: 0; }
.bt-chapitre-tete p { margin: 0; color: var(--encre-douce); font-size: .92rem; white-space: nowrap; }
.bn-garantie { color: var(--encre-douce); font-size: .95rem; margin: var(--e-m, 1.5rem) 0 var(--e-l, 2.5rem); text-align: center; }
.bn-garantie-haut { margin: var(--e-m, 1.25rem) 0 0; font-size: 1.05rem; line-height: 1.55; max-width: 58ch; }
.bn-garantie-haut a, .pa-garantie a { color: inherit; font-weight: 600; text-decoration: underline; }
.bn-garantie a { color: inherit; text-decoration: underline; }
.bt-chapitre-mot { color: var(--encre-douce); max-width: 62ch; margin: var(--e-s) 0 0; }
.bt-grille { list-style: none; margin: var(--e-m) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-l) .9rem; }
.bt-produit { display: flex; flex-direction: column; min-width: 0; }
.bt-vue { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--rayon-bloc); background: var(--sable); margin-bottom: .75rem; }
.bt-vue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--pose); }
.bt-produit:hover .bt-vue img { transform: scale(1.04); }
.bt-vue.sans-photo::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; margin: -19% 0 0 -19%; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(63,122,101,.3); background: rgba(180,207,195,.35); }
.bt-nom { text-wrap: balance; font-family: var(--font-titre); font-weight: 500; font-size: 1.22rem; line-height: 1.15; color: var(--sapin); margin: 0 0 .3rem; }
.bt-desc { color: var(--encre-douce); margin: 0; font-size: .9rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bt-pied { display: flex; align-items: center; gap: .6rem; margin-top: auto; padding-top: .75rem; }
.bt-prix { font-family: var(--font-titre); font-size: 1.3rem; font-weight: 600; color: var(--sapin); margin: 0; }
.bt-contenance { margin: 0; font-size: .9rem; color: var(--encre-douce); }
.bt-contenance-nc, .fp-contenance-nc { font-style: italic; }
.bt-unite, .fp-unite { display: block; font-family: var(--font-courant, inherit); font-size: .8rem; font-weight: 400; color: var(--encre-douce); }
.bt-prix-nc { font-family: var(--font-courant, inherit); font-size: .95rem; font-weight: 500; color: var(--encre-douce); }
.bt-prix + .bt-ajout { margin-left: auto; }
.bt-ajout { flex: none; min-height: 40px; padding: 0 1.05rem; border-radius: var(--rayon-pilule); border: 1.5px solid var(--sapin); background: transparent; color: var(--sapin); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.bt-ajout:hover { background: var(--sapin); color: var(--creme); }
.bt-ajout.est-ajoute { background: var(--vert-eau-fonce); border-color: var(--vert-eau-fonce); color: #fff; }
@media (min-width: 720px) { .bt-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 1.4rem; } .bt-nom { font-size: 1.32rem; } }
@media (min-width: 1024px) { .bt-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 1.6rem; } }
.bt-lien { display: block; color: inherit; text-decoration: none; }
.bt-nom a { color: inherit; text-decoration: none; }
.bt-nom a:hover { text-decoration: underline; text-decoration-color: var(--sable-fonce); text-underline-offset: 3px; }

/* ===== LA FICHE PRODUIT ======================================================= */
.fp { padding: var(--e-xl) 0 var(--air); }
.fp .fil { color: var(--encre-douce); margin: 0 0 var(--e-m); overflow-wrap: anywhere; }
.fp .fil a { color: inherit; text-decoration: underline; text-decoration-color: var(--sable-fonce); text-underline-offset: 3px; }
.fp-corps { display: grid; gap: var(--e-m); align-items: start; }
.fp-vue { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--rayon-bloc); background: var(--sable); }
.fp-vue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-vue.sans-photo::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38%; aspect-ratio: 1; margin: -19% 0 0 -19%; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(63,122,101,.3); background: rgba(180,207,195,.35); }
.fp-texte { min-width: 0; }
.fp-marque { margin: 0 0 .4rem; font-size: .85rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--vert-eau-fonce); }
.fp h1 { font-family: var(--font-titre); font-weight: 300; font-size: var(--t-6, 2.4rem); line-height: 1.05; color: var(--sapin); margin: 0 0 var(--e-s); overflow-wrap: anywhere; }
.fp-prix { font-family: var(--font-titre); font-size: 1.8rem; font-weight: 600; color: var(--sapin); margin: 0 0 var(--e-s); }
.fp-contenance { margin: 0 0 .4rem; font-size: 1rem; color: var(--encre-douce); }
.fp-prix-nc { font-family: inherit; font-size: 1.05rem; font-weight: 500; color: var(--encre-douce); }
.fp-desc { color: var(--encre-douce); font-size: 1.05rem; line-height: 1.6; margin: 0 0 var(--e-m); max-width: 56ch; }
.fp-achat { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.fp-qte { display: inline-flex; align-items: center; border: 1.5px solid var(--sable-fonce); border-radius: var(--rayon-pilule); background: var(--blanc); }
.fp-qte button { width: 44px; height: 44px; border: 0; background: transparent; color: var(--sapin); font: inherit; font-size: 1.3rem; cursor: pointer; border-radius: var(--rayon-pilule); }
.fp-qte input { width: 2.6rem; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--encre); -moz-appearance: textfield; appearance: textfield; padding: 0; }
.fp-qte input::-webkit-outer-spin-button, .fp-qte input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fp-ajout { flex: 1 1 14rem; justify-content: center; min-height: 48px; }
.fp-ajout.bouton-plein.est-ajoute:hover { background: var(--vert-eau-fonce); }
.fp-ajout.est-ajoute { background: var(--vert-eau-fonce); border-color: var(--vert-eau-fonce); color: #fff; }
.fp-note { color: var(--encre-douce); font-size: .92rem; margin: var(--e-s) 0 0; }
.fp-retour { margin: var(--e-m) 0 0; }
.fp-retour a { color: var(--sapin); font-weight: 600; text-underline-offset: 3px; }
.fp-memes { margin-top: var(--air); }
.fp-memes h2 { font-family: var(--font-titre); font-weight: 400; font-size: 1.6rem; color: var(--sapin); margin: 0; }
@media (min-width: 860px) { .fp-corps { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--e-xl); } .fp-texte { padding-top: var(--e-s); } .fp h1 { font-size: var(--t-7, 3rem); } }

/* ===== /PANIER ================================================================ */
.pn-page { padding-bottom: var(--air); }
.pn-aide { color: var(--encre-douce); font-size: .95rem; margin: 0; }
.cc-code label, .pn-form label { display: grid; gap: .35rem; font-weight: 600; font-size: .95rem; }
.pn-form small { font-weight: 400; color: var(--encre-douce); }
.pn-form input, .pn-form textarea { font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1px solid var(--sable-fonce); border-radius: var(--rayon); background: var(--blanc); color: var(--encre); width: 100%; box-sizing: border-box; }
.pn-form input:focus, .pn-form textarea:focus { outline: 2px solid var(--sapin); outline-offset: 1px; border-color: var(--sapin); }
.pn-form .bouton { width: 100%; justify-content: center; }
@keyframes cc-gonfle { 0% { transform: scale(0); } 55% { transform: scale(1.35); } 100% { transform: scale(1); } }
.pn-bande { display: grid; gap: var(--e-l); align-items: start; max-width: 1040px; }
.pn-bande > [data-vide] { grid-column: 1 / -1; }
.pn-lignes { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .75rem; }
.pn-ligne { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "vue nom prix" "vue qte qte"; gap: .3rem .85rem; align-items: center; padding: .75rem; background: var(--blanc); border: var(--filet); border-radius: var(--rayon-bloc); box-shadow: var(--ombre-douce); }
.pn-vue { grid-area: vue; position: relative; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; background: radial-gradient(circle at 30% 25%, #fff, var(--sable) 80%); }
.pn-vue img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pn-vue.sans-photo::after { content: ""; position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(63,122,101,.35); background: radial-gradient(circle at 30% 28%, #fff 0 12%, rgba(255,255,255,0) 36%), rgba(180,207,195,.4); }
.pn-nom { grid-area: nom; font-family: var(--font-titre); font-size: 1.25rem; line-height: 1.15; }
.pn-prix { grid-area: prix; justify-self: end; color: var(--sapin); font-weight: 600; text-align: right; }
.pn-qte { grid-area: qte; display: inline-flex; align-items: center; gap: .3rem; }
.pn-qte button { width: 44px; height: 44px; border-radius: var(--rayon-pilule); border: 1.5px solid var(--sapin); background: transparent; color: var(--sapin); font-size: 1.3rem; cursor: pointer; transition: background .3s, color .3s, transform .35s var(--pose); }
.pn-qte button:hover { background: var(--sapin); color: var(--creme); }
.pn-qte button:active { transform: scale(.88); }
.pn-qte b { display: inline-block; min-width: 2rem; text-align: center; font-family: var(--font-titre); font-size: 1.5rem; color: var(--sapin); }
.pn-total { margin: 0; font-weight: 600; color: var(--creme); background: var(--sapin); border-radius: var(--rayon-bloc); padding: 1rem 1.2rem; font-family: var(--font-titre); font-size: 1.3rem; font-weight: 500; line-height: 1.25; }
.pn-form { display: grid; gap: 1rem; margin-top: 0; padding: 1.3rem; background: var(--blanc); border: var(--filet); border-radius: var(--rayon-bloc); box-shadow: var(--ombre-bloc); }
.pn-cote { display: grid; gap: 1rem; }
.pn-form h2 { margin: 0; }
.pn-form label.pn-cgv { display: flex; align-items: flex-start; gap: .6rem; font-weight: 400; }
.pn-form label.pn-cgv input { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .15rem; padding: 0; accent-color: var(--sapin); }
.pn-form[hidden], .pn-cote [hidden] { display: none; }
.pn-piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pn-erreur { color: #8f2d1f; font-weight: 600; }
.pn-ok { position: relative; grid-column: 1 / -1; text-align: center; background: var(--vert-eau); border: 1px solid var(--vert-eau-trait); border-radius: var(--rayon-bloc); padding: 2.6rem 1.5rem 2rem; overflow: hidden; }
.pn-ok::before { content: ""; display: block; width: 74px; height: 74px; margin: 0 auto 1rem; border-radius: 50%; box-sizing: border-box;
  background: radial-gradient(circle at 30% 26%, #fff 0 10%, rgba(255,255,255,0) 30%), conic-gradient(rgba(255,170,205,.4), rgba(150,205,255,.4), rgba(160,240,195,.5), rgba(255,170,205,.4)); border: 3px solid var(--vert-eau-fonce); }
.pn-ok::after { content: ""; position: absolute; left: 50%; top: 2.6rem; width: 14px; height: 26px; margin-left: -8px; margin-top: 11px; border: solid var(--vert-eau-fonce); border-width: 0 4px 4px 0; transform: rotate(45deg); }
.pn-ok.revele::before { animation: cc-gonfle 1s var(--pose); }
.pn-ok.revele::after { animation: pn-coche .8s var(--pose) .3s both; }
@keyframes pn-coche { from { clip-path: inset(0 100% 100% 0); } to { clip-path: inset(0 0 0 0); } }
.pn-ok h2 { font-size: var(--t-5); margin-top: 0; }
@media (min-width: 560px) { .pn-ligne { grid-template-columns: 84px 1fr auto auto; grid-template-areas: "vue nom qte prix"; gap: 1rem; padding: .85rem 1rem; } .pn-vue { width: 84px; height: 84px; } }
@media (min-width: 1000px) {
  .pn-bande { grid-template-columns: minmax(0, 1fr) minmax(340px, 420px); gap: var(--e-xl); }
  .pn-recap { grid-column: 1; }
  .pn-cote { grid-column: 2; position: sticky; top: calc(var(--haut-entete) + 20px); }
}

/* ===== /CARTES-CADEAUX/IMPRIMER : la carte remplie, seule a l'impression ====== */
.ci-page { padding-bottom: var(--air); }
.ci-bande { max-width: 760px; }
.ci-carte { max-width: 640px; }
.ci-actions { display: grid; gap: .8rem; max-width: 640px; margin-top: var(--e-m); }
.ci-imprimer { width: auto; justify-self: start; padding-inline: 2.2rem; }
@media print {
  @page { size: A4; margin: 0; }
  html, body { height: 297mm !important; max-height: 297mm; overflow: hidden !important; margin: 0 !important; background: #fff !important; }
  body * { visibility: hidden !important; }
  .ci-carte, .ci-carte * { visibility: visible !important; }
  .ci-carte { position: fixed; left: 31mm; top: 25mm; width: 148mm; max-width: none; margin: 0; }
  .ci-carte .cv-scene { padding: 0; perspective: none; }
  .ci-carte .cv-entree, .ci-carte .cv-inclin { transform: none !important; animation: none !important; opacity: 1 !important; }
  .ci-carte .cv-ombre, .ci-carte .cv-reflet, .ci-carte .cv-tranche { display: none; }
  .ci-carte .cv-face, .ci-carte .cv-face * { box-shadow: none; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== MOUVEMENT REDUIT : rien ne bouge, tout reste lisible ==================== */
@media (prefers-reduced-motion: reduce) {
  .bn-bulle, .bt-pastille, .bt-vue img, .cc-option span, .cc-libre-champ, .cv-entree, .cv-inclin, .cv-reflet { transition: none !important; animation: none !important; }
  .cv-entree-charge, .cv-face.balaie::after, .cc-attention.revele, .pn-ok.revele::before, .pn-ok.revele::after { animation: none !important; }
  .cv-entree.cv-attend:not(.vu) { opacity: 1; transform: none; }
  .bn-eclat, .bn-vol { display: none; }
}
.cc-accords { display: grid; gap: .6rem; margin: 0 0 1rem; }
.cc-accord { display: flex; align-items: flex-start; gap: .65rem; font-size: .92rem; line-height: 1.45; font-weight: 400; }
.cc-accord input { width: 1.3rem; height: 1.3rem; flex: none; accent-color: var(--sapin); margin-top: .1rem; }
.cc-accord a { color: var(--sapin); }

/* Les pages juridiques de la boutique (/cgv, /confidentialite, /retractation, src/composants/PageLegale.astro) :
   le chapeau et la prose de /mentions-legales.html, plus ce que ces textes portent en propre. Un texte que la loi
   impose de reproduire tel quel (annexe D211-2, formulaire de rétractation) se lit dans un encart sable, distinct
   des conditions elles-mêmes ; un lien se voit dans le texte. */
.legal .prose a { color: var(--sapin); text-decoration: underline; text-decoration-color: var(--sable-fonce); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal .prose a:hover { text-decoration-color: currentColor; }
.legal .prose h2 { scroll-margin-top: calc(var(--haut-entete, 80px) + 14px); }
.legal .prose blockquote { margin: 26px 0 32px; padding: 24px 28px; background: var(--sable); border-left: 2px solid var(--terracotta); border-radius: 0 var(--rayon-bloc) var(--rayon-bloc) 0; }
.legal .prose blockquote p { color: var(--encre); font-size: .97rem; line-height: 1.6; margin-bottom: 12px; max-width: none; }
.legal .prose blockquote p:last-child { margin-bottom: 0; }
.legal .prose blockquote ul { margin-bottom: 12px; }
@media (max-width: 600px) { .legal .prose blockquote { padding: 18px 18px 18px 20px; margin-inline: 0; } }
