/* ============================================================================
   BASE SUR MESURE · aucune feuille de style de Dawn n'est chargée.
   Remise à zéro, jetons, utilitaires, en-tête, menu cell, pied de page,
   panier tiroir, page panier, cartes, formulaires, micro-animations.
   1rem = 10px. Espacements : échelle de 4 px (0.4rem).
   ========================================================================== */

:root {
  --pd-marine: #1B2A52;
  --pd-menthe: #C4E4E2;
  --pd-menthe-2: #AAC5C0;
  --pd-menthe-clair: #EAF5F4;
  --pd-sarcelle: #64B4B8;
  --pd-vert: #2E7D72;
  --pd-vert-fonce: #1F5C53;
  --pd-texte: #1B2A52;
  --pd-texte-doux: rgba(27, 42, 82, 0.76);
  --pd-ligne: rgba(27, 42, 82, 0.12);
  --pd-ligne-2: rgba(27, 42, 82, 0.2);
  --pd-ombre: 0 1px 2px rgba(27, 42, 82, 0.06), 0 14px 34px -16px rgba(27, 42, 82, 0.28);
  --pd-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pd-ressort: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Échelle d'espacement (4 px) */
  --pd-e1: 0.4rem; --pd-e2: 0.8rem; --pd-e3: 1.2rem; --pd-e4: 1.6rem; --pd-e5: 2.4rem;
  --pd-e6: 3.2rem; --pd-e7: 4.8rem; --pd-e8: 6.4rem; --pd-e9: 9.6rem;
  /* Échelle typographique */
  --pd-t-xs: 1.2rem; --pd-t-s: 1.4rem; --pd-t-m: 1.6rem; --pd-t-l: 1.8rem; --pd-t-xl: 2.4rem;

  --pd-largeur: 124rem;
  --pd-entete-h: 6.4rem;
  --font-body-family: 'Nunito', ui-rounded, 'SF Pro Rounded', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ---------- Remise à zéro ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--pd-entete-h) + 1.6rem); }
html, body { overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  font-family: var(--font-body-family); font-size: var(--pd-t-m); line-height: 1.55; font-weight: 400;
  color: var(--pd-texte); background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
.pd-principal { flex: 1 0 auto; outline: none; }
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote { margin: 0; }
h1, h2, h3, h4 { font-weight: 900; line-height: 1.15; letter-spacing: -0.01em; }
a { color: inherit; text-underline-offset: 0.3rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
ul[role='list'], ol[role='list'] { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--pd-menthe); color: var(--pd-marine); }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--pd-marine); outline-offset: 3px; border-radius: 0.8rem; }
.pd-fond--marine :focus-visible, .pd-pied :focus-visible { outline-color: var(--pd-menthe); }
html.pd-sans-defilement { overflow: hidden; }

/* ---------- Utilitaires ---------- */
.page-width { width: 100%; max-width: calc(var(--pd-largeur) + 6.4rem); margin: 0 auto; padding: 0 var(--pd-e5); }
.page-width--narrow { max-width: 80rem; }
@media screen and (min-width: 990px) { .page-width { padding: 0 var(--pd-e6); } }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.rte > * + * { margin-top: var(--pd-e3); }
.rte ul, .rte ol { padding-left: var(--pd-e5); }
.rte a { color: var(--pd-vert); font-weight: 700; }
.rte img { border-radius: 1.6rem; }
.rte table { width: 100%; border-collapse: collapse; }
.rte th, .rte td { padding: var(--pd-e2); border-bottom: 1px solid var(--pd-ligne); text-align: left; }
.pd-saut {
  position: absolute; left: var(--pd-e4); top: -10rem; z-index: 100; padding: var(--pd-e3) var(--pd-e4);
  border-radius: 1.2rem; background: var(--pd-marine); color: #fff; font-weight: 800; text-decoration: none;
}
.pd-saut:focus { top: var(--pd-e4); }

/* ---------- Motif maison (pattes + gouttelettes) ---------- */
.pd-motif-ok .pd-fond--menthe, .pd-motif-ok .pd-motif {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23ffffff' fill-opacity='.38'%3E%3Ccircle cx='24' cy='30' r='4'/%3E%3Ccircle cx='33' cy='23' r='4'/%3E%3Ccircle cx='43' cy='25' r='4'/%3E%3Ccircle cx='49' cy='34' r='3.5'/%3E%3Cpath d='M28 45c0-6 4.5-11 9-11s9 5 9 11c0 4-3 5.5-6 5.5-2 0-2-1-3-1s-1 1-3 1c-3 0-6-1.5-6-5.5z'/%3E%3Cpath d='M118 96s8 8.8 8 14a8 8 0 0 1-16 0c0-5.2 8-14 8-14z'/%3E%3Ccircle cx='96' cy='34' r='2.5'/%3E%3Ccircle cx='60' cy='122' r='2.5'/%3E%3Ccircle cx='140' cy='146' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 160px;
}
.pd-motif-ok .pd-fond--menthe-clair.pd-motif {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23C4E4E2' fill-opacity='.55'%3E%3Ccircle cx='24' cy='30' r='4'/%3E%3Ccircle cx='33' cy='23' r='4'/%3E%3Ccircle cx='43' cy='25' r='4'/%3E%3Ccircle cx='49' cy='34' r='3.5'/%3E%3Cpath d='M28 45c0-6 4.5-11 9-11s9 5 9 11c0 4-3 5.5-6 5.5-2 0-2-1-3-1s-1 1-3 1c-3 0-6-1.5-6-5.5z'/%3E%3Cpath d='M118 96s8 8.8 8 14a8 8 0 0 1-16 0c0-5.2 8-14 8-14z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 160px 160px;
}

/* ---------- Boutons : états ---------- */
.pd-icone-bouton {
  display: inline-flex; align-items: center; justify-content: center; position: relative;
  width: 4.4rem; height: 4.4rem; border: 0; border-radius: 1.2rem; background: transparent; color: var(--pd-marine);
  text-decoration: none; transition: background-color 0.2s, transform 0.15s var(--pd-ease);
}
.pd-icone-bouton:hover { background: var(--pd-menthe-clair); }
.pd-icone-bouton:active { transform: scale(0.94); }
.pd-bouton:focus-visible { outline: 3px solid var(--pd-marine); outline-offset: 4px; }
/* Bouton vivant : un reflet passe doucement, toutes les 6 secondes */
.pd-bouton--vivant { overflow: hidden; isolation: isolate; }
.pd-anime .pd-bouton--vivant::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.22) 50%, transparent 65%);
  transform: translateX(-120%); animation: pd-reflet 6s var(--pd-ease) 2s infinite;
}
@keyframes pd-reflet { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.pd-bouton__ok {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: var(--pd-e2);
  background: var(--pd-vert-fonce); color: #fff; border-radius: inherit; opacity: 0; transform: scale(0.9);
  transition: opacity 0.2s, transform 0.25s var(--pd-ressort); pointer-events: none;
}
.pd-bouton.est-ajoute .pd-bouton__ok { opacity: 1; transform: none; }
.pd-bump { animation: pd-bump 0.35s var(--pd-ressort); display: inline-block; }
@keyframes pd-bump { 0% { transform: scale(1); } 40% { transform: scale(1.14); } 100% { transform: scale(1); } }

/* ---------- En-tête ---------- */
.pd-section-entete { position: relative; z-index: 20; }
.pd-entete { background: #fff; border-bottom: 1px solid var(--pd-ligne); transition: box-shadow 0.25s; }
/* Pas de backdrop-filter ici : il briserait le menu cell en position fixe. */
.pd-entete.est-defile { box-shadow: 0 8px 24px -16px rgba(27, 42, 82, 0.35); }
.pd-section-entete:has(.pd-entete--collant) { position: sticky; top: 0; z-index: 20; }
.pd-entete__inner { display: flex; align-items: center; gap: var(--pd-e4); min-height: var(--pd-entete-h); }
.pd-entete__logo-titre { margin: 0; font-size: inherit; }
.pd-entete__logo { display: inline-flex; align-items: center; text-decoration: none; color: var(--pd-marine); border-radius: 1.2rem; }
.pd-entete__logo-texte { display: inline-flex; align-items: center; gap: var(--pd-e2); font-size: 2.2rem; font-weight: 900; letter-spacing: -0.02em; white-space: nowrap; }
.pd-entete__logo-goutte {
  display: inline-flex; align-items: center; justify-content: center; width: 3.6rem; height: 3.6rem; border-radius: 50%;
  background: var(--pd-menthe); color: var(--pd-marine); transition: transform 0.4s var(--pd-ressort);
}
.pd-entete__logo:hover .pd-entete__logo-goutte { transform: rotate(-12deg) scale(1.06); }
.pd-nav { display: none; margin-left: var(--pd-e5); }
.pd-nav__liste { display: flex; gap: var(--pd-e1); }
.pd-nav__lien {
  position: relative; display: inline-flex; align-items: center; min-height: 4.4rem; padding: 0 var(--pd-e3);
  border-radius: 1.2rem; font-weight: 800; font-size: 1.5rem; text-decoration: none; color: var(--pd-marine); transition: background-color 0.2s;
}
.pd-nav__lien::after {
  content: ''; position: absolute; left: var(--pd-e3); right: var(--pd-e3); bottom: 0.8rem; height: 3px; border-radius: 3px;
  background: var(--pd-sarcelle); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--pd-ease);
}
.pd-nav__lien:hover::after, .pd-nav__lien.est-courant::after { transform: scaleX(1); }
.pd-entete__actions { display: flex; align-items: center; gap: var(--pd-e1); margin-left: auto; }
.pd-entete__compteur {
  position: absolute; top: 0.4rem; right: 0.2rem; min-width: 2rem; height: 2rem; padding: 0 0.4rem; border-radius: 99px;
  display: flex; align-items: center; justify-content: center; background: var(--pd-vert); color: #fff;
  font-size: 1.1rem; font-weight: 900; border: 2px solid #fff;
}
.pd-entete__compteur.est-vide { display: none; }
.pd-saute { animation: pd-bump 0.45s var(--pd-ressort); }
@media screen and (min-width: 990px) {
  .pd-nav { display: block; }
  .pd-menu-cell { display: none; }
  :root { --pd-entete-h: 7.2rem; }
}
@media screen and (max-width: 989px) {
  .pd-entete__inner { display: grid; grid-template-columns: 4.4rem 1fr auto; }
  .pd-entete__logo, .pd-entete__logo-titre { justify-self: center; }
  .pd-entete__logo-texte { font-size: 2rem; }
  .pd-entete__logo-goutte { width: 3.2rem; height: 3.2rem; }
}

/* Menu cell (details) */
.pd-menu-cell__bouton { list-style: none; }
.pd-menu-cell__bouton::-webkit-details-marker { display: none; }
.pd-menu-cell__barres { position: relative; width: 2.2rem; height: 1.6rem; display: block; }
.pd-menu-cell__barres span { position: absolute; left: 0; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--pd-ease), opacity 0.2s, width 0.3s; }
.pd-menu-cell__barres span:nth-child(1) { top: 0; width: 100%; }
.pd-menu-cell__barres span:nth-child(2) { top: 50%; margin-top: -1.25px; width: 100%; }
.pd-menu-cell__barres span:nth-child(3) { bottom: 0; width: 64%; }
.pd-menu-cell[open] .pd-menu-cell__barres span:nth-child(1) { transform: translateY(6.75px) rotate(45deg); }
.pd-menu-cell[open] .pd-menu-cell__barres span:nth-child(2) { opacity: 0; }
.pd-menu-cell[open] .pd-menu-cell__barres span:nth-child(3) { width: 100%; transform: translateY(-6.75px) rotate(-45deg); }
.pd-menu-cell__panneau {
  position: fixed; left: 0; right: 0; top: var(--pd-panneau-haut, var(--pd-entete-h)); bottom: 0; z-index: 30;
  display: flex; flex-direction: column; gap: var(--pd-e5); padding: var(--pd-e5) var(--pd-e5) calc(var(--pd-e5) + env(safe-area-inset-bottom));
  background: #fff; overflow-y: auto; border-top: 1px solid var(--pd-ligne);
}
.pd-anime .pd-menu-cell[open] .pd-menu-cell__panneau { animation: pd-glisse-bas 0.32s var(--pd-ease); }
@keyframes pd-glisse-bas { from { opacity: 0; transform: translateY(-1.2rem); } to { opacity: 1; transform: none; } }
.pd-menu-cell__liste a {
  display: flex; align-items: center; justify-content: space-between; min-height: 5.6rem; padding: 0 var(--pd-e1);
  font-size: 2.2rem; font-weight: 900; text-decoration: none; border-bottom: 1px solid var(--pd-ligne);
}
.pd-menu-cell__cta { width: 100%; }
.pd-menu-cell__confiance { display: grid; gap: var(--pd-e2); font-size: var(--pd-t-s); font-weight: 800; }
.pd-menu-cell__confiance li { display: flex; align-items: center; gap: var(--pd-e2); }
.pd-menu-cell__confiance .pd-icone { color: var(--pd-vert); }
.pd-menu-cell__illu { margin-top: auto; max-width: 24rem; align-self: center; }

/* ---------- Pied de page ---------- */
.pd-pied { position: relative; padding: var(--pd-e8) 0 var(--pd-e5); margin-top: var(--pd-e7); color: #fff; }
.pd-pied__vague { position: absolute; left: 0; right: 0; top: -4.7rem; height: 4.8rem; color: var(--pd-marine); line-height: 0; }
.pd-pied__vague svg { width: 100%; height: 100%; }
.pd-pied__grille { display: grid; gap: var(--pd-e6); }
@media screen and (min-width: 750px) { .pd-pied__grille { grid-template-columns: 1.3fr 0.7fr 1.2fr; gap: var(--pd-e7); } }
.pd-pied__logo { display: flex; align-items: center; gap: var(--pd-e2); font-size: 2.2rem; font-weight: 900; }
.pd-pied__texte { margin-top: var(--pd-e3); color: rgba(255, 255, 255, 0.78); font-size: 1.5rem; max-width: 40ch; }
.pd-pied__confiance { display: grid; gap: var(--pd-e2); margin-top: var(--pd-e4); font-size: var(--pd-t-s); font-weight: 800; }
.pd-pied__confiance li { display: flex; align-items: center; gap: var(--pd-e2); }
.pd-pied__confiance .pd-icone { color: var(--pd-menthe); }
.pd-pied__titre { font-size: var(--pd-t-m); font-weight: 900; margin-bottom: var(--pd-e3); }
.pd-pied__menu ul { display: grid; gap: var(--pd-e1); }
.pd-pied__menu a { display: inline-flex; min-height: 3.6rem; align-items: center; color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 1.5rem; transition: color 0.2s; }
.pd-pied__menu a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--pd-sarcelle); text-decoration-thickness: 2px; }
.pd-pied__petit { color: rgba(255, 255, 255, 0.7); font-size: var(--pd-t-s); margin-bottom: var(--pd-e3); }
.pd-pied__social { display: flex; gap: var(--pd-e2); margin-top: var(--pd-e4); }
.pd-pied__social a {
  display: inline-flex; align-items: center; justify-content: center; width: 4.4rem; height: 4.4rem; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: #fff; transition: background-color 0.2s, transform 0.2s var(--pd-ressort);
}
.pd-pied__social a:hover { background: var(--pd-vert); transform: translateY(-2px); }
.pd-pied__bas {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--pd-e3) var(--pd-e5); margin-top: var(--pd-e7); padding-top: var(--pd-e5);
  border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: var(--pd-t-xs); color: rgba(255, 255, 255, 0.62);
}
.pd-pied__politiques { display: flex; flex-wrap: wrap; gap: var(--pd-e1) var(--pd-e4); }
.pd-pied__politiques a { color: inherit; }
.pd-pied__paiements { display: flex; flex-wrap: wrap; gap: var(--pd-e2); margin-left: auto; }
.pd-paiement { width: 3.8rem; height: 2.4rem; }

/* Infolettre */
.pd-infolettre__champ { position: relative; display: flex; }
.pd-infolettre__champ input {
  width: 100%; min-height: 5.2rem; padding: 0 6rem 0 var(--pd-e4); border-radius: 1.6rem;
  border: 2px solid rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.06); color: #fff; font-size: var(--pd-t-m);
  transition: border-color 0.2s, background-color 0.2s;
}
.pd-infolettre__champ input::placeholder { color: rgba(255, 255, 255, 0.55); }
.pd-infolettre__champ input:focus { border-color: var(--pd-menthe); background: rgba(255, 255, 255, 0.1); outline: none; }
.pd-infolettre__bouton {
  position: absolute; right: 0.4rem; top: 0.4rem; bottom: 0.4rem; width: 4.4rem; border: 0; border-radius: 1.2rem;
  background: var(--pd-menthe); color: var(--pd-marine); display: flex; align-items: center; justify-content: center;
  transition: transform 0.2s var(--pd-ressort), background-color 0.2s;
}
.pd-infolettre__bouton:hover { transform: translateX(2px); background: #fff; }
.pd-infolettre__merci { display: flex; align-items: center; gap: var(--pd-e2); font-weight: 800; color: var(--pd-menthe); }
.pd-infolettre--clair .pd-infolettre__champ input { border-color: var(--pd-ligne-2); background: #fff; color: var(--pd-texte); }
.pd-infolettre--clair .pd-infolettre__champ input::placeholder { color: var(--pd-texte-doux); }
.pd-infolettre--clair .pd-infolettre__champ input:focus { border-color: var(--pd-marine); }
.pd-infolettre--clair .pd-infolettre__bouton { background: var(--pd-vert); color: #fff; }
.pd-infolettre--clair .pd-infolettre__merci { color: var(--pd-vert); }
.pd-erreur--clair { color: #FFB4A8 !important; }

/* ---------- Panier tiroir ---------- */
.pd-tiroir { position: fixed; inset: 0; z-index: 80; visibility: hidden; pointer-events: none; }
.pd-tiroir.est-ouvert { visibility: visible; pointer-events: auto; }
.pd-tiroir__voile { position: absolute; inset: 0; background: rgba(27, 42, 82, 0.42); opacity: 0; transition: opacity 0.3s; }
.pd-tiroir.est-ouvert .pd-tiroir__voile { opacity: 1; }
.pd-tiroir__panneau {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(44rem, 100%); background: #fff; outline: none;
  display: flex; flex-direction: column; transform: translateX(100%); transition: transform 0.36s var(--pd-ease);
  box-shadow: -24px 0 60px -30px rgba(27, 42, 82, 0.5); border-radius: 2.4rem 0 0 2.4rem; overflow: hidden;
}
.pd-tiroir.est-ouvert .pd-tiroir__panneau { transform: none; }
.pd-tiroir__panneau > .shopify-section, .pd-section-tiroir { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.pd-tiroir__contenu { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.pd-tiroir__tete { display: flex; align-items: center; justify-content: space-between; padding: var(--pd-e4) var(--pd-e4) var(--pd-e3) var(--pd-e5); border-bottom: 1px solid var(--pd-ligne); }
.pd-tiroir__titre { font-size: 2rem; font-weight: 900; display: flex; align-items: center; gap: var(--pd-e2); }
.pd-tiroir__nombre { display: inline-flex; align-items: center; justify-content: center; min-width: 2.4rem; height: 2.4rem; padding: 0 0.8rem; border-radius: 99px; background: var(--pd-menthe); font-size: 1.3rem; }
.pd-tiroir__corps { flex: 1; overflow-y: auto; padding: var(--pd-e4) var(--pd-e5); overscroll-behavior: contain; }
.pd-tiroir__pied { padding: var(--pd-e4) var(--pd-e5) calc(var(--pd-e4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--pd-ligne); background: #fff; }
.pd-tiroir__vide { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--pd-e3); padding: var(--pd-e6); text-align: center; }
.pd-tiroir__illu { width: 22rem; margin-bottom: var(--pd-e2); }
.pd-tiroir__vide p:not(.pd-h3) { color: var(--pd-texte-doux); }
@media screen and (max-width: 749px) { .pd-tiroir__panneau { border-radius: 0; } }

/* Lignes */
.pd-lignes { display: grid; gap: var(--pd-e1); margin: var(--pd-e3) 0; }
.pd-ligne { display: grid; grid-template-columns: 7.2rem minmax(0, 1fr) auto; gap: var(--pd-e3); align-items: start; padding: var(--pd-e3) 0; border-bottom: 1px solid var(--pd-ligne); transition: opacity 0.2s; }
.pd-ligne.est-en-cours { opacity: 0.45; pointer-events: none; }
.pd-ligne__image { width: 7.2rem; height: 7.2rem; border-radius: 1.6rem; overflow: hidden; background: var(--pd-menthe-clair); display: flex; align-items: center; justify-content: center; color: var(--pd-vert); }
.pd-ligne__image img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pd-ligne__titre { font-weight: 800; font-size: 1.5rem; line-height: 1.3; text-decoration: none; }
.pd-ligne__variante, .pd-ligne__rabais { font-size: 1.3rem; color: var(--pd-texte-doux); margin-top: 0.4rem; }
.pd-ligne__rabais { color: var(--pd-vert); font-weight: 700; }
.pd-ligne__bas { display: flex; align-items: center; gap: var(--pd-e2); margin-top: var(--pd-e2); }
.pd-ligne__prix { display: flex; flex-direction: column; align-items: flex-end; font-weight: 900; font-size: var(--pd-t-m); }
.pd-ligne__barre { font-weight: 600; font-size: 1.3rem; color: var(--pd-texte-doux); }
.pd-ligne__retirer { display: inline-flex; align-items: center; justify-content: center; width: 4rem; height: 4rem; border-radius: 1.2rem; color: var(--pd-texte-doux); transition: color 0.2s, background-color 0.2s; }
.pd-ligne__retirer:hover { color: #B42318; background: #FDECEA; }
.pd-qte { display: inline-flex; align-items: center; border: 2px solid var(--pd-ligne-2); border-radius: 1.2rem; overflow: hidden; height: 4rem; }
.pd-qte__bouton { width: 4rem; height: 100%; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; transition: background-color 0.2s; }
.pd-qte__bouton:hover { background: var(--pd-menthe-clair); }
.pd-qte__champ { width: 3.6rem; height: 100%; border: 0; text-align: center; font-weight: 800; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.pd-qte__champ::-webkit-outer-spin-button, .pd-qte__champ::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Résumé */
.pd-resume { display: grid; gap: var(--pd-e2); }
.pd-resume__ligne, .pd-resume__total { display: flex; justify-content: space-between; gap: var(--pd-e3); }
.pd-resume__ligne { font-size: var(--pd-t-s); color: var(--pd-texte-doux); }
.pd-resume__gratuit { color: var(--pd-vert); font-weight: 800; }
.pd-resume__total { font-size: 2rem; font-weight: 900; padding-top: var(--pd-e2); border-top: 1px dashed var(--pd-ligne-2); }
.pd-resume__eco { display: flex; align-items: center; gap: var(--pd-e1); color: var(--pd-vert); font-weight: 800; font-size: var(--pd-t-s); }
.pd-resume__mention { font-size: 1.3rem; color: var(--pd-texte-doux); }
.pd-resume__caisse { width: 100%; min-height: 5.6rem; margin-top: var(--pd-e1); font-size: 1.8rem; }
.pd-resume__securite { text-align: center; font-size: var(--pd-t-xs); color: var(--pd-texte-doux); }

/* Page panier */
.pd-panier-page__grille { display: grid; gap: var(--pd-e6); align-items: start; }
@media screen and (min-width: 990px) { .pd-panier-page__grille { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--pd-e7); } }
.pd-panier-page__resume { padding: var(--pd-e5); border-radius: 2.4rem; background: var(--pd-menthe-clair); }
@media screen and (min-width: 990px) { .pd-panier-page__resume { position: sticky; top: calc(var(--pd-entete-h) + var(--pd-e5)); } }
.pd-panier-page__vide { display: flex; flex-direction: column; align-items: center; gap: var(--pd-e3); text-align: center; padding: var(--pd-e7) 0; }
.pd-panier-page__illu { width: 26rem; }
.pd-panier-page__note { display: grid; gap: var(--pd-e2); margin: var(--pd-e4) 0; font-weight: 800; }
.pd-panier-page__note textarea { border: 2px solid var(--pd-ligne-2); border-radius: 1.2rem; padding: var(--pd-e3); font-size: var(--pd-t-m); }

/* ---------- Cartes, grilles, pagination ---------- */
.pd-grille-cartes { display: grid; gap: var(--pd-e4); }
@media screen and (min-width: 600px) { .pd-grille-cartes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (min-width: 990px) { .pd-grille-cartes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--pd-e5); } }
.pd-carte { height: 100%; border-radius: 2.4rem; background: #fff; border: 1px solid var(--pd-ligne); overflow: hidden; transition: transform 0.3s var(--pd-ease), box-shadow 0.3s; }
.pd-carte:hover { transform: translateY(-4px); box-shadow: var(--pd-ombre); }
.pd-carte__lien { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.pd-carte__media { aspect-ratio: 1; background: var(--pd-menthe-clair); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-carte__media--large { aspect-ratio: 16 / 10; }
.pd-carte__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--pd-ease); }
.pd-carte--produit .pd-carte__media img { object-fit: contain; background: #fff; }
.pd-carte:hover .pd-carte__media img { transform: scale(1.04); }
.pd-carte__media .pd-illu { width: 60%; }
.pd-carte__corps { display: flex; flex-direction: column; gap: var(--pd-e2); padding: var(--pd-e5); flex: 1; }
.pd-carte__meta { font-size: var(--pd-t-xs); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pd-vert); }
.pd-carte__titre { font-size: 1.9rem; font-weight: 900; }
.pd-carte__prix { font-weight: 800; }
.pd-carte__epuise { color: #B42318; }
.pd-carte__extrait { color: var(--pd-texte-doux); font-size: 1.5rem; }
.pd-carte__cta { margin-top: auto; display: inline-flex; align-items: center; gap: var(--pd-e1); font-weight: 800; color: var(--pd-vert); }
.pd-carte:hover .pd-carte__cta .pd-icone { transform: translateX(3px); }
.pd-carte__cta .pd-icone { transition: transform 0.2s var(--pd-ease); }
.pd-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--pd-e2); margin-top: var(--pd-e7); }
.pd-pagination__page, .pd-pagination__fleche {
  display: inline-flex; align-items: center; justify-content: center; min-width: 4.4rem; height: 4.4rem; padding: 0 var(--pd-e2);
  border-radius: 1.2rem; font-weight: 800; text-decoration: none; border: 2px solid var(--pd-ligne);
}
.pd-pagination__page.est-courant { background: var(--pd-marine); border-color: var(--pd-marine); color: #fff; }
.pd-pagination a:hover { border-color: var(--pd-sarcelle); }

/* ---------- Formulaires ---------- */
.pd-formulaire { display: grid; gap: var(--pd-e4); }
.pd-formulaire__deux { display: grid; gap: var(--pd-e4); }
@media screen and (min-width: 750px) { .pd-formulaire__deux { grid-template-columns: 1fr 1fr; } }
.pd-champ { display: grid; gap: var(--pd-e2); font-weight: 800; font-size: 1.5rem; }
.pd-champ abbr { text-decoration: none; color: var(--pd-vert); }
.pd-champ input, .pd-champ textarea, .pd-recherche__form input, .pd-mdp__form input {
  width: 100%; min-height: 5.2rem; padding: var(--pd-e3) var(--pd-e4); border-radius: 1.6rem; border: 2px solid var(--pd-ligne-2);
  background: #fff; font-size: var(--pd-t-m); font-weight: 400; transition: border-color 0.2s, box-shadow 0.2s;
}
.pd-champ input:hover, .pd-champ textarea:hover { border-color: var(--pd-sarcelle); }
.pd-champ input:focus, .pd-champ textarea:focus, .pd-recherche__form input:focus, .pd-mdp__form input:focus {
  outline: none; border-color: var(--pd-marine); box-shadow: 0 0 0 4px rgba(100, 180, 184, 0.3);
}
.pd-formulaire .pd-bouton { justify-self: start; }
.pd-formulaire__merci { display: flex; align-items: center; gap: var(--pd-e2); padding: var(--pd-e4); border-radius: 1.6rem; background: var(--pd-menthe-clair); color: var(--pd-vert); font-weight: 800; }
.pd-formulaire__petit { font-size: 1.3rem; color: var(--pd-texte-doux); }

/* ---------- Recherche, 404, mot de passe ---------- */
.pd-recherche__form { display: flex; gap: var(--pd-e2); max-width: 64rem; margin: 0 auto var(--pd-e6); }
.pd-recherche__form .pd-bouton { padding: 0 var(--pd-e4); }
.pd-recherche__nombre { text-align: center; margin-bottom: var(--pd-e4); color: var(--pd-texte-doux); font-weight: 700; }
.pd-recherche__vide { display: flex; flex-direction: column; align-items: center; gap: var(--pd-e3); text-align: center; }
.pd-recherche__illu, .pd-404__illu { width: 22rem; }
.pd-404__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--pd-e3); }
.pd-404__inner .pd-intro { margin-left: auto; margin-right: auto; }
.pd-404__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--pd-e4); margin-top: var(--pd-e4); }
.pd-anime .pd-404__illu { animation: pd-flotte 4s ease-in-out infinite; }
@keyframes pd-flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.pd-mdp { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: var(--pd-e5); }
.pd-mdp__carte {
  width: min(56rem, 100%); padding: var(--pd-e6); border-radius: 3.2rem; background: #fff; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: var(--pd-e4); box-shadow: var(--pd-ombre);
}
.pd-mdp__logo { justify-content: center; }
.pd-mdp__illu { width: 26rem; }
.pd-mdp .pd-infolettre { width: 100%; }
.pd-mdp__acces { width: 100%; font-size: var(--pd-t-s); color: var(--pd-texte-doux); }
.pd-mdp__acces summary { cursor: pointer; font-weight: 700; min-height: 4.4rem; display: flex; align-items: center; justify-content: center; }
.pd-mdp__form { display: flex; gap: var(--pd-e2); margin-top: var(--pd-e2); }
.pd-carte-cadeau__code { font-size: 2.4rem; font-weight: 900; letter-spacing: 0.12em; padding: var(--pd-e3) var(--pd-e5); border-radius: 1.6rem; border: 2px dashed var(--pd-menthe-2); background: var(--pd-menthe-clair); }

/* ---------- Illustrations ---------- */
.pd-illu { display: block; width: 100%; height: auto; }
.pd-anime .pd-illu--chien path:nth-of-type(1), .pd-anime .pd-illu--chien path:nth-of-type(2) { transform-box: fill-box; transform-origin: top center; animation: pd-oreille 3.2s ease-in-out infinite; }
.pd-anime .pd-illu--chien path:nth-of-type(2) { animation-delay: 0.3s; }
@keyframes pd-oreille { 0%, 80%, 100% { transform: rotate(0); } 88% { transform: rotate(-6deg); } }

/* ---------- Compteur 30 secondes ---------- */
.pd-chrono { position: relative; width: 9.6rem; height: 9.6rem; margin: 0 auto var(--pd-e4); }
.pd-chrono svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pd-chrono__fond { fill: #fff; stroke: var(--pd-menthe); stroke-width: 10; }
.pd-chrono__arc { fill: none; stroke: var(--pd-vert); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 30; stroke-dashoffset: 0; }
.pd-chrono__n { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-weight: 900; font-size: 3.2rem; font-variant-numeric: tabular-nums; }
.pd-chrono__n small { font-size: 1.1rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pd-vert); margin-top: 0.4rem; }
.pd-chrono.est-fini { animation: pd-bump 0.5s var(--pd-ressort); }
