/*
 * Thème Pharmavance (proposition C « Rayon », 02/11/2026).
 * Chargé après les feuilles FreshCart (Bootstrap 5) que les pages reprises utilisent encore :
 * les composants propres au thème sont préfixés « pv- » pour ne pas heurter Bootstrap (.btn…).
 */

/* ---------- Polices (licence SIL OFL), hébergées avec le thème ---------- */
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/atkinson-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/atkinson-700.woff2") format("woff2"); }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("../fonts/bricolage-500-800.woff2") format("woff2"); }

/* ---------- Charte ---------- */
:root {
  --pv-bg: #FFFFFF;
  --pv-surface: #FFFFFF;
  --pv-surface-2: #F6F7F3;
  --pv-ink: #4F3F37;
  --pv-muted: #74655C;
  --pv-line: #E6E2DC;
  --pv-vert: #3A8F28;
  --pv-vert-fonce: #2F7A22;
  --pv-vert-nuit: #1E4D17;
  --pv-pousse: #6ABF4B;
  --pv-brun: #4F3F37;
  --pv-lin: #F2E6D3;
  --pv-rouge: #C8352B;
  --pv-info: #EEF5E9;
  --pv-info-ink: #2F4A27;
  --pv-shadow: 0 1px 2px rgba(79, 63, 55, .08), 0 10px 30px rgba(79, 63, 55, .08);
  --pv-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --pv-text: "Atkinson Hyperlegible", "Segoe UI", system-ui, -apple-system, sans-serif;
  --pv-radius: 18px;
  --pv-gutter: clamp(16px, 4vw, 40px);
}

/* Bootstrap (FreshCart) aux couleurs et polices Pharmavance, pour les pages pas encore redessinées. */
body.theme-pv {
  --fc-primary: #3A8F28;
  --fc-primary-rgb: 58, 143, 40;
  --fc-success: #3A8F28;
  --fc-success-rgb: 58, 143, 40;
  --fc-light-primary: #EAF5E4;
  --fc-dark-primary: #1E4D17;
  --fc-primary-text-emphasis: #1E4D17;
  --fc-primary-bg-subtle: #EAF5E4;
  --fc-primary-border-subtle: #BFDDB4;
  --fc-link-color: #2F7A22;
  --fc-link-color-rgb: 47, 122, 34;
  --fc-link-hover-color: #1E4D17;
  --fc-body-color: #4F3F37;
  --fc-body-color-rgb: 79, 63, 55;
  --fc-heading-color: #4F3F37;
  --fc-body-font-family: var(--pv-text);
  --fc-font-sans-serif: var(--pv-text);
  --fc-body-font-size: 1rem;
  --fc-body-font-weight: 400;
  --fc-border-color: #E6E2DC;
  font-family: var(--pv-text);
  font-size: 17px;
  line-height: 1.55;
  color: var(--pv-ink);
  background: var(--pv-bg);
}
body.theme-pv h1, body.theme-pv h2, body.theme-pv h3, body.theme-pv h4,
body.theme-pv .h1, body.theme-pv .h2, body.theme-pv .h3, body.theme-pv .h4 { font-family: var(--pv-display); color: var(--pv-ink); letter-spacing: -0.01em; }
body.theme-pv .btn-primary, body.theme-pv .btn-success {
  --fc-btn-bg: var(--pv-vert); --fc-btn-border-color: var(--pv-vert);
  --fc-btn-hover-bg: var(--pv-vert-fonce); --fc-btn-hover-border-color: var(--pv-vert-fonce);
  --fc-btn-active-bg: var(--pv-vert-nuit); --fc-btn-active-border-color: var(--pv-vert-nuit);
  --fc-btn-disabled-bg: var(--pv-vert); --fc-btn-disabled-border-color: var(--pv-vert);
}
body.theme-pv .btn { border-radius: 999px; font-weight: 700; }
body.theme-pv .text-primary { color: var(--pv-vert-fonce) !important; }
body.theme-pv .bg-primary { background-color: var(--pv-vert) !important; }
body.theme-pv :focus-visible { outline: 3px solid var(--pv-pousse); outline-offset: 2px; }

.pv-wrap { max-width: 1200px; margin-inline: auto; padding-inline: var(--pv-gutter); }
.pv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pv-croix { width: 18px; height: 18px; flex: none; background: #FFFFFF; clip-path: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%); filter: drop-shadow(0 0 6px rgba(255, 255, 255, .85)); }

/* ---------- Barre verte du haut : statut ouvert / fermé, accès rapides ---------- */
.pv-barre-haut { background: var(--pv-vert); color: #FFFFFF; font-size: 14px; }
.pv-barre-haut .pv-wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; justify-content: space-between; padding-block: 8px; }
.pv-statut { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.pv-statut.ferme .pv-croix { background: rgba(255, 255, 255, .45); filter: none; }
@media (prefers-reduced-motion: no-preference) {
  .pv-statut:not(.ferme) .pv-croix { animation: pv-enseigne 2.6s ease-in-out infinite; }
  @keyframes pv-enseigne { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }
}
.pv-barre-haut nav { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.pv-barre-haut a { color: #FFFFFF; text-decoration: none; opacity: .92; }
.pv-barre-haut a:hover { color: #FFFFFF; opacity: 1; text-decoration: underline; }

/* ---------- En-tête ---------- */
header.pv-site { background: var(--pv-surface); border-bottom: 1px solid var(--pv-line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 1020; }
.pv-entete { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px 24px; align-items: center; padding-block: 12px; }
.pv-marque { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--pv-ink); min-width: 0; }
.pv-marque:hover { color: var(--pv-ink); }
.pv-marque img { width: 104px; height: auto; max-height: 74px; object-fit: contain; background: #FFFFFF; border: 1px solid var(--pv-line); border-radius: 12px; padding: 5px 7px; }
.pv-marque .pv-officine { border-left: 1px solid var(--pv-line); padding-left: 14px; min-width: 0; }
.pv-marque strong { display: block; font-family: var(--pv-display); font-size: 20px; font-weight: 800; line-height: 1.1; }
.pv-marque small { display: block; color: var(--pv-muted); font-size: 13px; }
.pv-recherche { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.pv-recherche form { display: flex; gap: 6px; border: 1.5px solid var(--pv-line); border-radius: 999px; padding: 4px; background: var(--pv-surface-2); }
.pv-recherche form:focus-within { border-color: var(--pv-vert); }
.pv-recherche input { flex: 1; min-width: 0; border: 0; padding: 8px 14px; background: transparent; font-size: 16px; color: var(--pv-ink); }
.pv-recherche input:focus { outline: none; }
.pv-recherche button { border: 0; background: var(--pv-vert); color: #FFFFFF; border-radius: 999px; padding: 8px 16px; font-weight: 700; }
.pv-recherche button:hover { background: var(--pv-vert-fonce); }
.pv-outils { display: flex; gap: 8px; }
.pv-outil { display: inline-flex; align-items: center; gap: 8px; background: var(--pv-bg); border: 1px solid var(--pv-line); border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 15px; text-decoration: none; color: var(--pv-ink); cursor: pointer; }
.pv-outil:hover { background: var(--pv-surface-2); border-color: var(--pv-vert); color: var(--pv-ink); }
.pv-outil svg { width: 18px; height: 18px; }
.pv-outil b { background: var(--pv-vert); color: #FFFFFF; border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 13px; padding-inline: 6px; }
nav.pv-rayons { border-top: 1px solid var(--pv-line); }
nav.pv-rayons ul { list-style: none; margin-block: 0; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; }
nav.pv-rayons ul::-webkit-scrollbar { display: none; }
nav.pv-rayons a { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--pv-brun); }
nav.pv-rayons a:hover { background: var(--pv-surface-2); color: var(--pv-brun); }
nav.pv-rayons a[aria-current="page"] { background: var(--pv-vert); color: #FFFFFF; }
nav.pv-rayons a.promo { color: var(--pv-rouge); }
nav.pv-rayons a.promo:hover { background: #FBEAE8; }
nav.pv-rayons a.promo[aria-current="page"] { background: var(--pv-rouge); color: #FFFFFF; }
/* Sous-rayons et pages services (liens du méga-menu de l'ancien thème) : menu au survol ou au clavier sur ordinateur. */
nav.pv-rayons li { position: relative; }
.pv-sous-menu { display: none; position: absolute; top: calc(100% + 4px); left: 0; z-index: 1040; min-width: 240px; max-width: min(560px, 90vw); background: var(--pv-surface); border: 1px solid var(--pv-line); border-radius: 14px; box-shadow: var(--pv-shadow); padding: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px; }
.pv-sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
nav.pv-rayons .pv-sous-menu a { font-weight: 400; padding: 7px 12px; border-radius: 8px; white-space: normal; }
/* Onglet Parapharmacie : grand menu sur toute la largeur, une colonne par rayon. */
nav.pv-rayons ul.pv-wrap { position: relative; }
nav.pv-rayons li.pv-li-mega { position: static; }
.pv-sous-menu.pv-mega { top: calc(100% - 12px); left: 0; right: 0; max-width: none; padding: 16px; gap: 14px 18px; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.pv-sous-menu.pv-mega::before { top: -14px; height: 14px; }
.pv-mega-col { display: flex; flex-direction: column; gap: 1px; }
nav.pv-rayons .pv-mega a.pv-mega-titre { font-weight: 700; color: var(--pv-vert); }
nav.pv-rayons .pv-mega a.pv-mega-titre[aria-current="page"] { background: var(--pv-surface-2); }
nav.pv-rayons .pv-mega a { padding: 5px 10px; font-size: 14px; }
@media (min-width: 861px) and (hover: hover) {
  nav.pv-rayons li:hover > .pv-sous-menu, nav.pv-rayons li:focus-within > .pv-sous-menu { display: grid; }
}
/* Résultats de recherche instantanée (composant FreshCart) sous l'en-tête. */
header.pv-site #search-products { position: absolute; left: 0; right: 0; z-index: 1030; }

/* ---------- Pied de page brun ---------- */
footer.pv-site { margin-top: 40px; padding-block: 28px 40px; background: var(--pv-brun); color: #E9DDCB; font-size: 14px; }
footer.pv-site .pv-wrap { display: grid; gap: 22px; }
footer.pv-site a { color: #E9DDCB; text-decoration: none; }
footer.pv-site a:hover { color: #FFFFFF; text-decoration: underline; }
.pv-pied-haut { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
body.theme-pv .pv-pied-haut h3 { font-family: var(--pv-display); font-size: 16px; color: #FFFFFF; margin: 0 0 8px; }
.pv-pied-haut ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pv-reseaux { display: flex; gap: 12px; margin-top: 10px; }
.pv-reseaux svg { width: 22px; height: 22px; }
.pv-pied-bas { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(242, 230, 211, .25); padding-top: 18px; }
.pv-pied-bas nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.pv-valeurs { font-family: var(--pv-display); font-weight: 800; letter-spacing: .1em; font-size: 13px; color: var(--pv-pousse); }
.pv-labels { display: flex; flex-wrap: wrap; gap: 8px; }
.pv-labels span { border: 1px solid rgba(242, 230, 211, .45); border-radius: 6px; padding: 2px 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }

/* Sur ordinateur, les rayons passent à la ligne plutôt que de défiler (aucun onglet caché). */
@media (min-width: 861px) {
  nav.pv-rayons ul { flex-wrap: wrap; overflow: visible; }
}

/* ---------- Écrans étroits ---------- */
@media (max-width: 1080px) {
  .pv-pied-haut { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pv-entete { grid-template-columns: minmax(0, 1fr) auto; }
  .pv-recherche { grid-column: 1 / -1; grid-row: 2; max-width: none; }
  .pv-outil .pv-libelle { display: none; }
}
@media (max-width: 560px) {
  .pv-barre-haut nav { display: none; }
  .pv-marque .pv-officine { display: none; }
  .pv-pied-haut { grid-template-columns: minmax(0, 1fr); }
}

/* ==================== Composants communs (étape 2) ==================== */
.pv-eyebrow { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--pv-muted); margin: 0; }
section.pv-bloc { padding-block: 36px; }
.pv-titre { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: end; justify-content: space-between; margin-bottom: 22px; }
.pv-titre h2 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 800; margin: 0; line-height: 1.08; }
.pv-titre h2 em { font-style: normal; color: var(--pv-vert); }
.pv-titre a { font-weight: 700; color: var(--pv-vert-fonce); text-decoration: none; }
.pv-titre a:hover { text-decoration: underline; color: var(--pv-vert-fonce); }
.pv-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; background: none; color: var(--pv-ink); }
.pv-btn.pv-plein, .pv-btn.pv-brun { background: var(--pv-brun); color: #FFFFFF; }
.pv-btn.pv-plein:hover, .pv-btn.pv-brun:hover { background: var(--pv-vert-fonce); color: #FFFFFF; }
.pv-btn.pv-ligne { border-color: var(--pv-brun); }
.pv-btn.pv-ligne:hover { border-color: var(--pv-vert); color: var(--pv-vert-fonce); }
.pv-btn.pv-blanc { background: #FFFFFF; color: var(--pv-vert-nuit); justify-self: start; }
.pv-btn.pv-blanc:hover { background: var(--pv-lin); color: var(--pv-vert-nuit); }

/* Cartes produit en étiquettes de rayon */
.pv-produits { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 14px; }
.pv-article { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; position: relative; }
.pv-article .pv-photo { position: relative; aspect-ratio: 1; background: var(--pv-surface-2); border-radius: var(--pv-radius); display: grid; place-items: center; }
.pv-article .pv-photo img { width: 74%; height: 74%; object-fit: contain; mix-blend-mode: multiply; }
.pv-article h3 { font-family: var(--pv-text); font-size: 15px; font-weight: 700; line-height: 1.3; margin: 0; color: var(--pv-ink); letter-spacing: 0; }
.pv-article h3 small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--pv-muted); margin-bottom: 2px; }
.pv-lien-produit { text-decoration: none; color: inherit; }
.pv-lien-produit:hover { color: var(--pv-vert-fonce); }
.pv-lien-produit::after { content: ""; position: absolute; inset: 0; border-radius: var(--pv-radius); }
.pv-pastille-remise { position: absolute; right: -6px; top: -6px; width: 66px; height: 66px; border-radius: 50%; background: var(--pv-rouge); color: #FFFFFF; display: flex; align-items: baseline; justify-content: center; padding-top: 22px; gap: 1px; white-space: nowrap; font-family: var(--pv-display); font-weight: 800; font-size: 18px; line-height: 1; transform: rotate(-10deg); box-shadow: 0 6px 14px rgba(200, 53, 43, .3); }
.pv-pastille-remise small { font-size: 13px; }
.pv-pastille-remise.lot { flex-direction: column; align-items: center; justify-content: center; padding-top: 0; white-space: normal; font-size: 15px; }
.pv-pastille-remise.lot small { display: block; font-size: 11px; font-weight: 700; }
.pv-etiquette { position: relative; z-index: 1; display: flex; align-items: stretch; min-height: 68px; border-radius: 10px; overflow: hidden; border: 1.5px solid var(--pv-brun); background: #FFFFFF; }
.pv-etiquette .pv-valeurs { flex: 1; padding: 5px 10px; display: grid; align-content: center; margin: 0; }
.pv-avant { font-size: 13px; text-decoration: line-through; color: var(--pv-muted); line-height: 1.25; }
.pv-apres { font-family: var(--pv-display); font-size: 22px; font-weight: 800; color: var(--pv-brun); line-height: 1.05; font-variant-numeric: tabular-nums; }
.pv-lot { font-size: 12px; color: var(--pv-muted); line-height: 1.25; }
.pv-etiquette button { border: 0; background: var(--pv-brun); color: #FFFFFF; width: 46px; display: grid; place-items: center; }
.pv-etiquette button:hover { background: var(--pv-vert-fonce); }
.pv-etiquette svg { width: 20px; height: 20px; }
.pv-en-pharmacie { position: relative; z-index: 1; margin: 0; font-size: 14px; font-weight: 700; color: var(--pv-vert-fonce); }

/* ==================== Accueil ==================== */
.pv-besoin { background: #F1F6EC; padding-block: 34px 62px; position: relative; overflow: hidden; }
.pv-besoin::before, .pv-besoin::after { content: ""; position: absolute; }
.pv-besoin::before { width: 260px; height: 260px; right: -60px; top: -80px; background: var(--pv-pousse); opacity: .14; clip-path: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%); }
.pv-besoin::after { width: 120px; height: 120px; left: 46%; bottom: -50px; border-radius: 50%; background: var(--pv-lin); opacity: .9; }
.pv-besoin .pv-wrap { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 34px; align-items: end; }
.pv-besoin .pv-accroche { font-family: var(--pv-display); color: var(--pv-ink); font-size: clamp(38px, 5.4vw, 70px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; margin: 0; }
.pv-besoin .pv-accroche > span { color: var(--pv-vert); }
.pv-champ-recherche { margin-top: 22px; display: flex; gap: 8px; background: #FFFFFF; border: 1.5px solid var(--pv-line); border-radius: 999px; padding: 6px; box-shadow: 0 8px 22px rgba(79, 63, 55, .08); max-width: 640px; }
.pv-champ-recherche:focus-within { border-color: var(--pv-vert); }
.pv-champ-recherche input { flex: 1; min-width: 0; border: 0; padding: 12px 18px; font-size: 18px; background: transparent; color: var(--pv-ink); }
.pv-champ-recherche input:focus { outline: none; }
.pv-champ-recherche button { border: 0; background: var(--pv-vert); color: #FFFFFF; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 16px; }
.pv-champ-recherche button:hover { background: var(--pv-vert-fonce); }
.pv-besoins { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pv-besoins a { text-decoration: none; background: #FFFFFF; border: 1px solid var(--pv-line); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 15px; color: var(--pv-ink); }
.pv-besoins a:hover { background: var(--pv-vert); border-color: var(--pv-vert); color: #FFFFFF; }
.pv-en-ligne { display: grid; gap: 10px; }
.pv-en-ligne a { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 14px; align-items: center; background: #FFFFFF; border: 1.5px solid var(--pv-line); border-radius: 16px; padding: 14px 16px; text-decoration: none; color: var(--pv-ink); transition: transform .15s, border-color .15s; }
.pv-en-ligne a:hover { transform: translateY(-2px); border-color: var(--pv-vert); color: var(--pv-ink); }
.pv-en-ligne i { grid-row: 1 / 3; width: 44px; height: 44px; border-radius: 12px; background: var(--pv-lin); display: grid; place-items: center; color: var(--pv-vert-fonce); }
.pv-en-ligne svg { width: 22px; height: 22px; }
.pv-en-ligne b { font-family: var(--pv-display); font-size: 19px; font-weight: 800; line-height: 1.2; }
.pv-en-ligne span { font-size: 14px; color: var(--pv-muted); }
.pv-en-ligne a:first-child { background: var(--pv-vert); border-color: var(--pv-vert); color: #FFFFFF; }
.pv-en-ligne a:first-child span { color: inherit; opacity: .9; }
.pv-en-ligne a:first-child i { background: rgba(255, 255, 255, .18); color: inherit; }

/* Bannières (carrousel FreshCart conservé) qui chevauchent le bandeau de recherche */
.pv-bannieres { margin-top: -30px; position: relative; z-index: 1; }
.pv-bannieres .mb-lg-14, .pv-bannieres .mb-5 { margin-bottom: 0 !important; }
.pv-bannieres .hero-slider { border-radius: 24px; overflow: hidden; box-shadow: var(--pv-shadow); }

.pv-rayons-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pv-rayon { border-radius: var(--pv-radius); padding: 20px; min-height: 150px; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: var(--pv-ink); overflow: hidden; transition: transform .15s; }
.pv-rayon:hover { transform: translateY(-3px); color: var(--pv-ink); }
.pv-rayon h3 { font-size: 24px; font-weight: 800; margin: 0; }
.pv-rayon span { font-size: 14px; color: var(--pv-muted); display: block; margin-top: 4px; }
.pv-rayon span::first-letter { text-transform: uppercase; }
.pv-rayon .pv-photos { display: flex; justify-content: center; align-items: end; margin-top: 10px; }
.pv-rayon:has(.pv-photos) { padding-bottom: 0; min-height: 230px; }
.pv-rayon .pv-photos img { width: 46%; aspect-ratio: 1; object-fit: contain; margin-inline: -3%; mix-blend-mode: multiply; }
.pv-rayon:nth-child(4n+1) { background: #EAF5E4; }
.pv-rayon:nth-child(4n+2) { background: var(--pv-lin); }
.pv-rayon:nth-child(4n+3) { background: #E8F1F6; }
.pv-rayon:nth-child(4n+4) { background: #F6EBE3; }

.pv-duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.pv-conseil { background: var(--pv-vert-nuit); color: #FFFFFF; border-radius: var(--pv-radius); padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 14px; align-content: start; }
.pv-conseil .pv-eyebrow { color: #B8E3A6; }
body.theme-pv .pv-conseil h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; color: #FFFFFF; margin: 0; }
.pv-conseil p { opacity: .9; margin: 0; }
.pv-conseil ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.pv-conseil li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; }
.pv-conseil li i { width: 12px; height: 12px; background: var(--pv-pousse); margin-top: 6px; clip-path: polygon(33% 0, 67% 0, 67% 33%, 100% 33%, 100% 67%, 67% 67%, 67% 100%, 33% 100%, 33% 67%, 0 67%, 0 33%, 33% 33%); }
.pv-white { background: var(--pv-lin); color: var(--pv-brun); border-radius: var(--pv-radius); padding: clamp(24px, 3.5vw, 40px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 18px; align-items: center; }
.pv-white h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; margin: 0; }
.pv-white p { margin: 10px 0 0; }
.pv-white dl { margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 8px 22px; }
.pv-white dl > div { display: flex; flex-direction: column; justify-content: space-between; }
.pv-white dt { font-size: 13px; color: var(--pv-muted); font-weight: 400; }
.pv-white dd { margin: 0; font-family: var(--pv-display); font-weight: 800; font-size: 20px; white-space: nowrap; }
.pv-white .pv-white-note { font-weight: 700; margin-top: 16px; }
.pv-carte-white { aspect-ratio: 1.586; width: 100%; max-width: 240px; justify-self: center; border-radius: 14px; background: #FFFFFF; box-shadow: 0 16px 34px rgba(79, 63, 55, .22); padding: 16px; display: grid; align-content: space-between; transform: rotate(6deg); }
.pv-carte-white b { font-family: var(--pv-display); font-weight: 800; font-size: 22px; letter-spacing: .02em; display: block; }
.pv-carte-white small { display: block; font-size: 10px; letter-spacing: .18em; color: var(--pv-muted); }
.pv-carte-white span { letter-spacing: .14em; font-size: 13px; }

.pv-icones-services { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.pv-icones-services a { border: 1.5px solid var(--pv-line); border-radius: var(--pv-radius); padding: 18px 14px; display: grid; gap: 8px; justify-items: center; align-content: start; text-align: center; text-decoration: none; color: var(--pv-ink); transition: border-color .15s; }
.pv-icones-services a:hover { border-color: var(--pv-vert); color: var(--pv-ink); }
.pv-icones-services i { width: 52px; height: 52px; border-radius: 50%; background: #EAF5E4; color: var(--pv-vert-fonce); display: grid; place-items: center; }
.pv-icones-services svg { width: 26px; height: 26px; }
.pv-icones-services a { min-width: 0; }
.pv-icones-services b { font-family: var(--pv-display); font-weight: 800; font-size: 17px; line-height: 1.15; hyphens: auto; overflow-wrap: anywhere; }

.pv-infos { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 14px; }
.pv-infos > div { border-radius: var(--pv-radius); padding: clamp(20px, 3vw, 32px); }
.pv-adresse { background: var(--pv-surface-2); display: grid; gap: 14px; align-content: start; }
.pv-adresse h2 { font-size: 30px; font-weight: 800; margin: 0; }
.pv-adresse a.pv-tel { font-family: var(--pv-display); font-size: 30px; font-weight: 800; color: var(--pv-vert-fonce); text-decoration: none; }
.pv-boutons { display: flex; flex-wrap: wrap; gap: 10px; }
.pv-horaires { border: 1.5px solid var(--pv-line); }
.pv-semaine { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 2px; }
.pv-semaine li { display: grid; grid-template-columns: 150px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.pv-semaine li.aujourdhui { background: #EAF5E4; font-weight: 700; }
.pv-semaine .pv-barre { height: 8px; border-radius: 4px; background: var(--pv-surface-2); position: relative; overflow: hidden; }
.pv-semaine .pv-barre i { position: absolute; top: 0; bottom: 0; background: var(--pv-vert); border-radius: 4px; }
.pv-semaine .pv-garde { color: var(--pv-muted); font-size: 14px; }
.pv-garde-note { font-size: 14px; color: var(--pv-muted); margin: 10px 0 0; }

@media (max-width: 1080px) {
  .pv-produits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pv-rayons-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-icones-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .pv-besoin .pv-wrap, .pv-duo, .pv-white, .pv-infos { grid-template-columns: minmax(0, 1fr); }
  .pv-bannieres { margin-top: 18px; }
}
@media (max-width: 560px) {
  .pv-produits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-rayons-grille { grid-template-columns: minmax(0, 1fr); }
  .pv-icones-services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pv-white dl { grid-template-columns: minmax(0, 1fr); }
  .pv-semaine li { grid-template-columns: 96px 1fr auto; gap: 8px; }
  .pv-champ-recherche button { padding-inline: 16px; }
  .pv-pastille-remise { width: 56px; height: 56px; padding-top: 18px; font-size: 16px; }
}

/* ==================== Pages intérieures : en-tête de page ==================== */
.pv-page-tete { padding-block: 28px 8px; }
.pv-fil { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--pv-muted); margin-bottom: 10px; }
.pv-fil a { color: var(--pv-muted); text-decoration: none; }
.pv-fil a:hover { color: var(--pv-ink); text-decoration: underline; }
.pv-fil span[aria-hidden] { opacity: .6; }
body.theme-pv .pv-page-tete h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; margin: 2px 0 0; line-height: 1.08; }
.pv-page-tete .pv-chapo { color: var(--pv-muted); margin-top: 10px; max-width: 64ch; font-size: 18px; }
.pv-puces { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pv-puce { border: 1px solid var(--pv-line); background: var(--pv-surface); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 700; text-decoration: none; color: var(--pv-ink); }
.pv-puce:hover { border-color: var(--pv-vert); color: var(--pv-vert-fonce); }
.pv-puce[aria-current="page"] { background: var(--pv-brun); border-color: var(--pv-brun); color: #FFFFFF; }
section.pv-bloc.pv-bloc-serre { padding-top: 20px; }

/* ==================== Rayon : filtres + grille ==================== */
.pv-catalogue { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.pv-produits.pv-quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pv-outils { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pv-outils p { margin: 0; }
.pv-stock { font-size: 13px; color: var(--pv-vert-fonce); font-weight: 700; display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.pv-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pv-pousse); }
.pv-stock.pv-stock-non { color: var(--pv-muted); }
.pv-stock.pv-stock-non::before { background: var(--pv-line); }
.pv-etiquette button:disabled { background: var(--pv-line); cursor: not-allowed; }
.pv-vide { font-size: 18px; color: var(--pv-muted); padding: 24px 0; }

/* Filtres FreshCart (tri, marques, prix, catégories) à la charte */
.pv-filtres { position: sticky; top: 150px; }
.pv-filtres-tete { display: flex; align-items: center; justify-content: space-between; font-family: var(--pv-display); font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.pv-filtres .sub-categories { padding: 0 !important; }
body.theme-pv .trier-dropdown, body.theme-pv .marque-dropdown, body.theme-pv .prix-dropdown, body.theme-pv .categories-dropdown { border: 1.5px solid var(--pv-line) !important; border-radius: 14px !important; background: #FFFFFF; }
body.theme-pv .trier-dropdown.active, body.theme-pv .marque-dropdown.active, body.theme-pv .prix-dropdown.active, body.theme-pv .categories-dropdown.active { border-color: var(--pv-vert) !important; }
body.theme-pv .sub-categories label.fs-5 { font-family: var(--pv-display); font-size: 17px !important; text-transform: none !important; }
body.theme-pv .price-order, body.theme-pv .marque-item, body.theme-pv .filter-item { border-radius: 10px !important; border-color: var(--pv-line) !important; font-size: 15px; text-transform: none !important; }
body.theme-pv .price-order span { text-transform: none !important; }
body.theme-pv .sub-categories .clear, .pv-filtres-tete .clear { background: var(--pv-rouge) !important; color: #FFFFFF; border-radius: 999px; padding: 2px 10px; font-family: var(--pv-text); font-size: 13px; font-weight: 700; cursor: pointer; }
body.theme-pv .filter-btn { background: var(--pv-vert) !important; border-color: var(--pv-vert) !important; }

@media (max-width: 1080px) {
  .pv-produits.pv-quatre { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .pv-catalogue { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .pv-produits.pv-quatre { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==================== Fiche produit ==================== */
.pv-page-tete.pv-sans-bas { padding-bottom: 0; }
.pv-fiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; padding-block: 12px 32px; }
.pv-galerie .pv-grande { position: relative; aspect-ratio: 1; background: var(--pv-surface-2); border-radius: calc(var(--pv-radius) + 6px); display: grid; place-items: center; }
.pv-galerie .pv-grande img { width: 72%; height: 72%; object-fit: contain; mix-blend-mode: multiply; }
.pv-galerie .pv-pastille-remise { right: 14px; top: 14px; width: 80px; height: 80px; padding-top: 28px; font-size: 22px; }
.pv-achat { display: grid; gap: 18px; }
.pv-marque-produit { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--pv-muted); font-weight: 700; margin: 0 0 4px; }
body.theme-pv .pv-achat h1 { font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; margin: 0; line-height: 1.08; }
.pv-prix-fiche { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pv-prix-fiche .pv-avant { font-size: 18px; }
.pv-normal { font-family: var(--pv-display); font-size: 34px; font-weight: 800; color: var(--pv-brun); font-variant-numeric: tabular-nums; }
.pv-condition { background: var(--pv-rouge); color: #FFFFFF; border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 14px; }
.pv-economie { margin: -8px 0 0; color: var(--pv-rouge); font-weight: 700; }
.pv-dispo { font-size: 15px; color: var(--pv-vert-fonce); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.pv-dispo::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--pv-pousse); }
.pv-dispo.pv-dispo-non { color: var(--pv-muted); }
.pv-dispo.pv-dispo-non::before { background: var(--pv-line); }
.pv-ligne-achat { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pv-ligne-achat #addToCartBtn { flex: 1; min-width: 220px; }
.pv-quantite { display: inline-flex; align-items: center; border: 1.5px solid var(--pv-line); border-radius: 999px; background: var(--pv-surface); }
.pv-quantite button { width: 44px; height: 48px; border: 0; background: none; font-size: 20px; font-weight: 700; color: var(--pv-ink); }
.pv-quantite input { width: 44px; text-align: center; border: 0; background: none; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--pv-ink); -moz-appearance: textfield; }
.pv-quantite input::-webkit-outer-spin-button, .pv-quantite input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pv-btn.pv-large { width: 100%; padding-block: 14px; font-size: 18px; }
.pv-btn:disabled { opacity: .45; cursor: not-allowed; }
.pv-en-boutique { margin: 0; background: var(--pv-info); color: var(--pv-info-ink); border-radius: 12px; padding: 14px 16px; font-weight: 700; }
.pv-atouts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pv-atouts div { border: 1.5px solid var(--pv-line); border-radius: 12px; padding: 12px; font-size: 14px; background: var(--pv-surface); color: var(--pv-muted); }
.pv-atouts b { display: block; font-size: 15px; color: var(--pv-ink); }

body.theme-pv .pv-onglets { border-bottom: 1px solid var(--pv-line); display: flex; flex-wrap: nowrap; gap: 4px; overflow-x: auto; list-style: none; margin: 0; padding: 0; }
body.theme-pv .pv-onglets .nav-link { border: 0; background: none; padding: 12px 14px; font-weight: 700; color: var(--pv-muted); border-bottom: 3px solid transparent; border-radius: 0; white-space: nowrap; }
body.theme-pv .pv-onglets .nav-link.active { color: var(--pv-ink); border-bottom-color: var(--pv-pousse); background: none; }
.pv-contenu-onglet { padding-block: 20px; max-width: 80ch; }
.pv-contenu-onglet ul { padding-left: 20px; }

.pv-flottant { display: flex; align-items: center; gap: 16px; background: #FFFFFF; border: 1.5px solid var(--pv-line); border-radius: 18px; box-shadow: var(--pv-shadow); padding: 10px 14px; }
.pv-flottant img { object-fit: contain; border-radius: 10px; background: var(--pv-surface-2); }
.pv-flottant-nom { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pv-flottant .pv-normal { font-size: 22px; }

@media (max-width: 860px) {
  .pv-fiche { grid-template-columns: minmax(0, 1fr); }
  .pv-flottant-nom { display: none; }
}

/* Filtres de la page Promotions (listes et cases FreshCart) */
.pv-filtres-promos .form-group { background: #FFFFFF; border: 1.5px solid var(--pv-line); border-radius: 14px; padding: 12px 14px; margin: 0 0 10px !important; }
.pv-filtres-promos label { font-family: var(--pv-display); font-weight: 800; font-size: 17px; text-transform: none; }
.pv-filtres-promos select, .pv-filtres-promos input[type=text] { border: 1.5px solid var(--pv-line) !important; border-radius: 10px !important; min-height: 40px; }
.pv-filtres-promos .brand-section { max-height: 260px; overflow: auto; padding: 8px 4px !important; }
.pv-filtres-promos .bg-white.px-6 { padding: 6px 0 !important; }
.pv-filtres-promos input[type=checkbox] { accent-color: var(--pv-vert); width: 18px; height: 18px; }

/* ==================== Base commune des pages reprises de FreshCart ==================== */
body.theme-pv main .container, body.theme-pv main .container-fluid.pv-limite { max-width: 1200px; }
body.theme-pv .breadcrumb { --fc-breadcrumb-divider: "›"; font-size: 14px; background: none; padding: 0; margin-bottom: 14px; }
body.theme-pv .breadcrumb a, body.theme-pv .breadcrumb .text-primary { color: var(--pv-muted) !important; text-decoration: none; }
body.theme-pv .breadcrumb a:hover { color: var(--pv-ink) !important; text-decoration: underline; }
body.theme-pv .breadcrumb-item.active { color: var(--pv-ink); }
body.theme-pv .card { border: 1.5px solid var(--pv-line); border-radius: var(--pv-radius); }
body.theme-pv .card-header { background: var(--pv-surface-2); border-bottom-color: var(--pv-line); border-radius: var(--pv-radius) var(--pv-radius) 0 0 !important; }
body.theme-pv .form-control, body.theme-pv .form-select { border: 1.5px solid var(--pv-line); border-radius: 10px; min-height: 46px; font-size: 16px; color: var(--pv-ink); }
body.theme-pv .form-control:focus, body.theme-pv .form-select:focus { border-color: var(--pv-vert); box-shadow: 0 0 0 3px rgba(106, 191, 75, .25); }
body.theme-pv .form-check-input:checked { background-color: var(--pv-vert); border-color: var(--pv-vert); }
body.theme-pv label, body.theme-pv .form-label { font-weight: 700; }
body.theme-pv .btn-soft-primary, body.theme-pv .btn-light-primary { background: #EAF5E4; color: var(--pv-vert-fonce); border-color: transparent; }
body.theme-pv .btn-soft-primary:hover { background: var(--pv-vert); color: #FFFFFF; }
body.theme-pv .btn-outline-primary { color: var(--pv-vert-fonce); border-color: var(--pv-vert); }
body.theme-pv .btn-outline-primary:hover { background: var(--pv-vert); color: #FFFFFF; }
body.theme-pv .badge.bg-danger, body.theme-pv .bg-danger { background-color: var(--pv-rouge) !important; }
body.theme-pv .text-danger { color: var(--pv-rouge) !important; }
body.theme-pv .section-title-color strong, body.theme-pv .site-text-color { color: var(--pv-brun) !important; font-family: var(--pv-display); }
body.theme-pv .section-title-color span, body.theme-pv .site-text-second-color { color: var(--pv-vert) !important; }
body.theme-pv .nav-tabs .nav-link.active, body.theme-pv .nav-pills .nav-link.active { color: var(--pv-ink); border-bottom-color: var(--pv-pousse); }
body.theme-pv .offcanvas-title, body.theme-pv .modal-title { font-family: var(--pv-display); font-weight: 800; }
body.theme-pv .modal-content, body.theme-pv .offcanvas { border-radius: var(--pv-radius); }
body.theme-pv .offcanvas.offcanvas-end { border-radius: var(--pv-radius) 0 0 var(--pv-radius); }
body.theme-pv .table { --fc-table-border-color: var(--pv-line); }
body.theme-pv .alert-success { background: #EAF5E4; color: var(--pv-vert-nuit); border-color: #BFDDB4; }
body.theme-pv .toast.text-bg-success { background-color: var(--pv-vert-nuit) !important; }
/* Bandeau des cookies aux couleurs du thème */
body.theme-pv #cc-main { --cc-font-family: var(--pv-text); --cc-btn-primary-bg: var(--pv-brun); --cc-btn-primary-border-color: var(--pv-brun); --cc-btn-primary-hover-bg: var(--pv-vert-fonce); --cc-btn-primary-hover-border-color: var(--pv-vert-fonce); --cc-modal-border-radius: 18px; --cc-btn-border-radius: 999px; }

/* ==================== Qui sommes-nous ==================== */
.pv-pharmacie { display: grid; gap: 14px; }
.pv-pharmacie-photo img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: calc(var(--pv-radius) + 6px); }
.pv-carte { height: 260px; border-radius: 14px; overflow: hidden; margin-top: 6px; }
.pv-pharmacie .pv-infos { align-items: start; }
.pv-equipe { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.pv-membre { display: flex; align-items: center; gap: 14px; border: 1.5px solid var(--pv-line); border-radius: var(--pv-radius); padding: 14px 16px; background: #FFFFFF; }
.pv-membre img, .pv-membre-initiale { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.pv-membre-initiale { display: grid; place-items: center; background: #EAF5E4; color: var(--pv-vert-fonce); font-family: var(--pv-display); font-weight: 800; font-size: 26px; }
.pv-membre b { display: block; font-family: var(--pv-display); font-size: 18px; font-weight: 800; }
.pv-membre span { color: var(--pv-muted); font-size: 14px; }

/* ==================== Panneaux et formulaires (contact, compte, commande) ==================== */
.pv-deux-colonnes { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.pv-panneau { background: var(--pv-surface); border: 1.5px solid var(--pv-line); border-radius: calc(var(--pv-radius) + 4px); padding: clamp(18px, 3vw, 28px); min-width: 0; }
.pv-panneau > * + * { margin-top: 16px; }
body.theme-pv .pv-panneau h2 { font-size: 24px; font-weight: 800; margin: 0; }
.pv-champ { display: grid; gap: 6px; }
.pv-champ label { font-size: 15px; }
.pv-case { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400 !important; }
.pv-case input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pv-vert); flex: none; }
.pv-case a { color: var(--pv-vert-fonce); }
.pv-contact-infos a.pv-tel { font-family: var(--pv-display); font-size: 26px; font-weight: 800; color: var(--pv-vert-fonce); text-decoration: none; display: block; }
.pv-semaine-compacte li { grid-template-columns: 110px 1fr; padding: 6px 10px; }
@media (max-width: 860px) { .pv-deux-colonnes { grid-template-columns: minmax(0, 1fr); } }

/* ==================== Services ==================== */
.pv-banniere-services { width: 100%; border-radius: calc(var(--pv-radius) + 6px); margin-bottom: 22px; max-height: 420px; object-fit: cover; }
.pv-services-cartes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pv-service-carte { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: start; border: 1.5px solid var(--pv-line); border-radius: var(--pv-radius); padding: 20px; text-decoration: none; color: var(--pv-ink); background: #FFFFFF; transition: border-color .15s, transform .15s; }
.pv-service-carte:hover { border-color: var(--pv-vert); transform: translateY(-2px); color: var(--pv-ink); }
.pv-service-carte i { width: 56px; height: 56px; border-radius: 50%; background: #EAF5E4; color: var(--pv-vert-fonce); display: grid; place-items: center; }
.pv-service-carte svg { width: 28px; height: 28px; }
body.theme-pv .pv-service-carte h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; }
.pv-service-carte p { color: var(--pv-muted); margin: 0 0 8px; }
.pv-en-savoir { font-weight: 700; color: var(--pv-vert-fonce); }
@media (max-width: 860px) { .pv-services-cartes { grid-template-columns: minmax(0, 1fr); } }

/* Créneaux de rendez-vous et boutons verts FreshCart restants */
body.theme-pv .btn-success { --fc-btn-bg: var(--pv-vert); --fc-btn-border-color: var(--pv-vert); --fc-btn-hover-bg: var(--pv-vert-fonce); --fc-btn-hover-border-color: var(--pv-vert-fonce); }
body.theme-pv .text-success { color: var(--pv-vert-fonce) !important; }
body.theme-pv .bg-success { background-color: var(--pv-vert) !important; }

/* ==================== Panier (volet et page) ==================== */
body.theme-pv .pv-volet-panier { width: min(440px, 100vw); border-left: 0; }
.pv-volet-panier .offcanvas-header { border-bottom: 1px solid var(--pv-line); align-items: flex-start; }
.pv-volet-titre { font-family: var(--pv-display); font-weight: 800; font-size: 24px; margin: 0; }
.pv-volet-panier small { color: var(--pv-muted); }
.pv-panier-vide { text-align: center; padding-block: 28px; display: grid; gap: 10px; justify-items: center; }
.pv-panier-vide p { margin: 0; }
.pv-lignes-panier { list-style: none; margin: 0; padding: 0; display: grid; }
.pv-ligne-panier { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding-block: 14px; border-bottom: 1px solid var(--pv-line); }
.pv-ligne-panier:last-child { border-bottom: 0; }
.pv-visuel { width: 64px; height: 64px; border-radius: 12px; background: var(--pv-surface-2); display: grid; place-items: center; overflow: hidden; }
.pv-visuel img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.pv-lignes-larges .pv-ligne-panier { grid-template-columns: 96px minmax(0, 1fr) auto; }
.pv-lignes-larges .pv-visuel { width: 96px; height: 96px; }
.pv-ligne-infos { display: grid; gap: 4px; min-width: 0; }
.pv-ligne-nom { margin: 0; font-weight: 700; line-height: 1.3; }
.pv-ligne-marque { color: var(--pv-muted); text-transform: uppercase; letter-spacing: .06em; font-size: 12px; }
.pv-ligne-prix { margin: 0; color: var(--pv-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.pv-ligne-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 4px; }
.pv-quantite-petite button { width: 34px; height: 36px; font-size: 18px; }
.pv-quantite-petite input { width: 34px; }
.pv-retirer { color: var(--pv-muted); font-size: 14px; text-decoration: underline; }
.pv-retirer:hover { color: var(--pv-rouge); }
.pv-ligne-total { font-family: var(--pv-display); font-size: 18px; font-weight: 800; color: var(--pv-brun); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pv-alerte-quantite { margin: 4px 0 0; color: var(--pv-rouge); font-size: 14px; }
.pv-recap { display: grid; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--pv-line); }
.pv-recap-ligne { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.pv-recap-total { font-family: var(--pv-display); font-weight: 800; font-size: 22px; padding-top: 8px; border-top: 1px solid var(--pv-line); }
.pv-voir-panier { text-align: center; color: var(--pv-vert-fonce); font-weight: 700; }
.pv-colle { position: sticky; top: 150px; }
@media (max-width: 860px) { .pv-colle { position: static; } }
@media (max-width: 560px) {
  .pv-lignes-larges .pv-ligne-panier { grid-template-columns: 64px minmax(0, 1fr); }
  .pv-lignes-larges .pv-visuel { width: 64px; height: 64px; }
  .pv-lignes-larges .pv-ligne-total { grid-column: 2; }
}

/* ==================== Commande (étapes FreshCart habillées) ==================== */
.pv-commande .pv-page-tete { padding-inline: 0; }
.pv-commande-grille { margin-top: 18px; }
.pv-commande .card { border: 1.5px solid var(--pv-line); border-radius: calc(var(--pv-radius) + 4px); }
.pv-commande .card-body { padding: clamp(18px, 3vw, 28px); }
body.theme-pv .pv-commande h4 { font-family: var(--pv-display); font-weight: 800; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.pv-commande h4 .badge { width: 32px; height: 32px; border-radius: 50%; display: inline-grid; place-items: center; padding: 0; font-size: 15px; background: var(--pv-vert) !important; }
body.theme-pv .pv-commande h5 { font-family: var(--pv-display); font-weight: 800; }
.pv-commande .form-check { border: 1.5px solid var(--pv-line); border-radius: 12px; padding: 14px 16px 14px 44px; background: #FFFFFF; }
.pv-commande .form-check:has(input:checked) { border-color: var(--pv-vert); box-shadow: 0 0 0 1px var(--pv-vert) inset; }
.pv-commande .form-check .form-check-input { margin-left: -28px; margin-top: 4px; }
.pv-commande .sticky-top { top: 120px !important; }
.pv-commande .text-primary.h4 { font-family: var(--pv-display); font-weight: 800; color: var(--pv-brun) !important; }

/* ==================== Espace client ==================== */
.pv-tuiles-compte { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.pv-deconnexion { margin-top: 28px; }

/* Boutons et liens verts des feuilles FreshCart chargées après celle-ci (template.css) */
body.theme-pv .btn-primary, body.theme-pv .btn-success { background-color: var(--pv-vert) !important; border-color: var(--pv-vert) !important; color: #FFFFFF !important; }
body.theme-pv .btn-primary:hover, body.theme-pv .btn-success:hover { background-color: var(--pv-vert-fonce) !important; border-color: var(--pv-vert-fonce) !important; }
body.theme-pv .btn-primary:disabled, body.theme-pv .btn-success:disabled { opacity: .45; }
.pv-commande a:not(.btn) { color: var(--pv-vert-fonce); }
.pv-commande .btn-google { border: 1.5px solid var(--pv-line) !important; border-radius: 999px; }

/* ==================== Ordonnance et rendez-vous (maquette C) ==================== */
[v-cloak] .pv-depot-fichier { display: none; }
.pv-formulaire { display: grid; gap: 18px; }
.pv-formulaire fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pv-rdv-groupe { display: grid; gap: 10px; }
.pv-rdv-groupe > legend { margin-bottom: 10px; float: none; width: auto; padding: 0; }
.pv-champ input:not([type=checkbox]):not([type=radio]), .pv-champ select, .pv-champ textarea, .pv-ligne-champs > input, .pv-ligne-champs > select { width: 100%; border: 1.5px solid var(--pv-line); background: var(--pv-surface); border-radius: 10px; padding: 12px 14px; font-size: 16px; color: var(--pv-ink); min-height: 48px; }
.pv-champ input:not([type=checkbox]):not([type=radio]):focus, .pv-champ select:focus, .pv-champ textarea:focus, .pv-ligne-champs > input:focus, .pv-ligne-champs > select:focus { outline: 2px solid var(--pv-pousse); outline-offset: 0; border-color: var(--pv-vert); }
.pv-champ textarea { min-height: 110px; resize: vertical; }
.pv-champ label { font-weight: 700; }
.pv-champ label small { font-weight: 400; color: var(--pv-muted); }
.pv-aide { font-size: 14px; color: var(--pv-muted); margin: 0; }
.pv-aide a { color: var(--pv-vert-fonce); font-weight: 700; }
.pv-ligne-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pv-encart { border-radius: 14px; padding: 14px 16px; background: var(--pv-info); color: var(--pv-info-ink); font-size: 15px; margin: 0; }
.pv-encart b { display: block; }
.pv-encart-ok { background: #E3F3DC; color: var(--pv-vert-nuit); border: 1.5px solid var(--pv-pousse); }
.pv-encart-erreur { background: #FBE9E7; color: #8A231B; border: 1.5px solid #F0B8B2; }
.pv-legende { font-size: 13px; color: var(--pv-muted); }

/* Étapes numérotées */
.pv-etapes { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; counter-reset: pv-etape; }
.pv-etapes li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--pv-muted); font-size: 15px; }
.pv-etapes li::before { counter-increment: pv-etape; content: counter(pv-etape); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--pv-surface-2); color: var(--pv-muted); font-size: 14px; flex: none; }
.pv-etapes li.encours { color: var(--pv-ink); }
.pv-etapes li.encours::before { background: var(--pv-brun); color: #FFFFFF; }
.pv-etapes li.faite { color: var(--pv-ink); }
.pv-etapes li.faite::before { content: "✓"; background: var(--pv-vert); color: #FFFFFF; }
.pv-etapes-liste { display: grid; gap: 12px; }
.pv-etapes-liste li { font-weight: 400; color: var(--pv-ink); }

/* Dépôt de fichier : tout le cadre est cliquable (champ fichier transparent par-dessus) */
.pv-depot { position: relative; border: 2px dashed var(--pv-line); border-radius: 14px; background: var(--pv-surface-2); padding: 26px 18px; display: grid; gap: 8px; justify-items: center; text-align: center; cursor: pointer; margin: 0; font-weight: 400; }
.pv-depot:hover, .pv-depot:focus-within { border-color: var(--pv-vert); }
.pv-depot:focus-within { outline: 2px solid var(--pv-pousse); outline-offset: 2px; }
.pv-depot input[type=file] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.pv-depot input[type=file]:disabled { cursor: not-allowed; }
.pv-depot svg { width: 36px; height: 36px; color: var(--pv-vert); }
.pv-depot b { font-family: var(--pv-display); font-size: 19px; font-weight: 800; }
.pv-depot span { color: var(--pv-muted); font-size: 15px; }
.pv-depot .pv-btn { margin-top: 6px; color: var(--pv-ink); }
.pv-depot-petit { padding: 18px 14px; }
.pv-depot-petit b { font-size: 16px; }
.pv-depot-pret { border-style: solid; border-color: var(--pv-vert); background: #F1F8EE; }
.pv-depot .pv-depot-fichier { color: var(--pv-vert-fonce); font-weight: 700; overflow-wrap: anywhere; }
.pv-renouvellement { display: grid; gap: 14px; background: var(--pv-surface-2); border-radius: 14px; padding: 16px !important; }
.pv-renouvellement legend { font-family: var(--pv-display); font-weight: 800; font-size: 17px; float: left; width: 100%; padding: 0; margin: 0; }

/* Choix du service */
.pv-choix { display: grid; gap: 10px; }
.pv-choix label { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; border: 1.5px solid var(--pv-line); background: var(--pv-surface); border-radius: 12px; padding: 14px 16px; cursor: pointer; margin: 0; font-weight: 400; }
.pv-choix label:has(input:checked) { border-color: var(--pv-vert); box-shadow: 0 0 0 1px var(--pv-vert) inset; }
.pv-choix input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--pv-vert); }
.pv-choix b { display: block; }
.pv-choix span span { color: var(--pv-muted); font-size: 15px; }

/* Jours (défilement horizontal) et créneaux */
.pv-jours-defile { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.pv-defile { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--pv-line); background: var(--pv-surface); font-size: 22px; line-height: 1; color: var(--pv-ink); }
.pv-defile:hover { border-color: var(--pv-vert); color: var(--pv-vert-fonce); }
.pv-jours { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 2px; }
.pv-jours::-webkit-scrollbar { display: none; }
.pv-jours button { flex: 0 0 calc((100% - 40px) / 6); min-width: 64px; scroll-snap-align: start; border: 1.5px solid var(--pv-line); background: var(--pv-surface); border-radius: 12px; padding: 10px 4px; display: grid; gap: 2px; justify-items: center; color: var(--pv-ink); }
.pv-jours button b { font-family: var(--pv-display); font-size: 22px; font-weight: 800; }
.pv-jours button span { font-size: 13px; color: var(--pv-muted); }
.pv-jours button[aria-pressed="true"] { border-color: var(--pv-vert); background: var(--pv-vert); color: #FFFFFF; }
.pv-jours button[aria-pressed="true"] span { color: inherit; opacity: .9; }
.pv-creneaux { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.pv-creneaux button { border: 1.5px solid var(--pv-line); background: var(--pv-surface); border-radius: 10px; padding: 10px 6px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--pv-ink); }
.pv-creneaux button:hover:not(:disabled) { border-color: var(--pv-vert); }
.pv-creneaux button:disabled { color: var(--pv-muted); text-decoration: line-through; opacity: .55; cursor: not-allowed; }
.pv-creneaux button[aria-pressed="true"] { border-color: var(--pv-vert); background: var(--pv-vert); color: #FFFFFF; }
.pv-creneaux-titre { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pv-recap-rdv dl { margin: 0; display: grid; gap: 10px; }
.pv-recap-rdv dl div { display: flex; justify-content: space-between; gap: 12px; }
.pv-recap-rdv dt { font-weight: 400; color: var(--pv-muted); }
.pv-recap-rdv dd { margin: 0; font-weight: 700; text-align: right; }
.pv-rdv-visuel { width: 100%; max-height: 260px; object-fit: cover; border-radius: 14px; }
.pv-rdv-texte { color: var(--pv-muted); }
@media (max-width: 560px) {
  .pv-ligne-champs { grid-template-columns: minmax(0, 1fr); }
  .pv-jours button { flex-basis: calc((100% - 16px) / 3); }
  .pv-defile { display: none; }
  .pv-jours-defile { grid-template-columns: minmax(0, 1fr); }
}
body.theme-pv .pv-depot span, body.theme-pv .pv-choix span span, body.theme-pv .pv-case span { font-weight: 400; }
body.theme-pv .pv-depot .pv-depot-fichier, body.theme-pv .pv-depot .pv-btn { font-weight: 700; }

/* ==================== Détail service, promotion, pages légales, connexion ==================== */
.pv-prose { line-height: 1.6; min-width: 0; overflow-wrap: anywhere; }
.pv-prose > :first-child { margin-top: 0; }
.pv-prose > :last-child { margin-bottom: 0; }
.pv-prose p, .pv-prose ul, .pv-prose ol { margin: 0 0 14px; }
.pv-prose ul, .pv-prose ol { padding-left: 22px; }
.pv-prose li + li { margin-top: 4px; }
.pv-prose a { color: var(--pv-vert-fonce); }
.pv-prose img { max-width: 100%; height: auto; border-radius: 12px; }
body.theme-pv .pv-prose h2 { font-size: 22px; font-weight: 800; margin: 26px 0 8px; }
body.theme-pv .pv-prose h1.pv-bloc-titre { font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.pv-legal { max-width: 860px; }
.pv-legal p:empty { display: none; }
.pv-mentions { margin: 0; display: grid; }
.pv-mentions div { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 12px; padding-block: 10px; border-bottom: 1px solid var(--pv-line); }
.pv-mentions dt { color: var(--pv-muted); font-weight: 400; }
.pv-mentions dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.pv-mentions + .pv-aide { margin-top: 18px; }
.pv-promo-mention { color: var(--pv-rouge); margin-bottom: 6px; }

.pv-service-visuel { width: 100%; max-height: 520px; object-fit: contain; border-radius: 14px; background: var(--pv-surface-2); display: block; }
.pv-service-visuel-petit { max-width: 320px; }
.pv-service-pdf { width: 100%; height: 600px; border: 0; border-radius: 14px; display: block; }
.pv-service-qr { width: 160px; height: 160px; object-fit: contain; }
.pv-service-icone { width: 56px; height: 56px; border-radius: 16px; background: var(--pv-info); color: var(--pv-vert-fonce); display: grid; place-items: center; font-style: normal; }
.pv-service-icone svg { width: 30px; height: 30px; }
.pv-colle .pv-btn.pv-large + .pv-btn.pv-large { margin-top: 10px; }
.pv-colle .pv-voir-panier { display: block; margin-top: 14px; text-decoration: none; }
.pv-recap-rdv dd a { color: var(--pv-vert-fonce); }
.pv-service-blocs { display: grid; gap: 28px; }
.pv-service-bloc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: center; background: var(--pv-surface); border: 1.5px solid var(--pv-line); border-radius: calc(var(--pv-radius) + 4px); padding: clamp(18px, 3vw, 28px); }
.pv-service-bloc.pv-inverse > img { order: -1; }
.pv-service-bloc > img { width: 100%; max-height: 300px; object-fit: contain; border-radius: 14px; }
@media (max-width: 860px) {
  .pv-service-bloc { grid-template-columns: minmax(0, 1fr); }
  .pv-service-bloc.pv-inverse > img { order: 0; }
  .pv-service-pdf { height: 70vh; }
}
@media (max-width: 560px) { .pv-mentions div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* Fenêtre de connexion */
.pv-modale .modal-content { border: 0; border-radius: calc(var(--pv-radius) + 4px); padding: clamp(20px, 4vw, 30px); display: grid; gap: 18px; box-shadow: var(--pv-shadow); }
.pv-modale-tete { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
body.theme-pv .pv-modale-titre { font-family: var(--pv-display); font-weight: 800; font-size: 26px; margin: 0 0 4px; }
.pv-mot-de-passe { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.pv-mot-de-passe button { border: 1.5px solid var(--pv-line); background: var(--pv-surface); border-radius: 10px; padding: 0 14px; font-weight: 700; color: var(--pv-ink); }
.pv-mot-de-passe button:hover { border-color: var(--pv-vert); }
.pv-champ .is-invalid { border-color: var(--pv-rouge) !important; }
.pv-erreur-champ { color: var(--pv-rouge); font-size: 14px; font-weight: 700; }
a.pv-aide { color: var(--pv-vert-fonce); justify-self: start; }
.pv-google { gap: 10px; }
.pv-google img { width: 22px; height: 22px; }
.pv-modale-pied { margin: 0; text-align: center; color: var(--pv-muted); }
.pv-modale-pied a { color: var(--pv-vert-fonce); font-weight: 700; }

/* Pages communes connexion / inscription / mot de passe (vues auth partagées, habillées ici) */
body.theme-pv #auth, body.theme-pv .container:has(> .row > .col-md-8 > .card) { padding-block: 28px 44px; }
body.theme-pv #auth .section-title { font-family: var(--pv-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); text-align: left !important; color: var(--pv-ink); margin-bottom: 18px !important; }
body.theme-pv #auth .section-title::after, body.theme-pv #auth .section-title::before { display: none; }
body.theme-pv #auth .card, body.theme-pv .container > .row > .col-md-8 > .card { border: 1.5px solid var(--pv-line); border-radius: calc(var(--pv-radius) + 4px); box-shadow: none; }
body.theme-pv #auth .card-body { padding: clamp(18px, 3vw, 30px) !important; margin-top: 0 !important; }
body.theme-pv #auth .card-header, body.theme-pv .container > .row > .col-md-8 > .card .card-header { background: none; border: 0; font-family: var(--pv-display); font-weight: 800; font-size: 22px; padding: 24px 24px 0; }
body.theme-pv #auth .col-form-label, body.theme-pv #auth .form-label, body.theme-pv #auth label { font-weight: 700; }
body.theme-pv #auth .btn-primary { border-radius: 999px; padding: 12px 28px; font-weight: 700; }
body.theme-pv #auth .btn-link { color: var(--pv-vert-fonce); }
body.theme-pv #auth .input-group-text { background: var(--pv-surface); border: 1.5px solid var(--pv-line); cursor: pointer; font-weight: 700; }
body.theme-pv #auth .btn-google { border: 1.5px solid var(--pv-line) !important; border-radius: 999px; padding-right: 18px !important; }
body.theme-pv #auth .form-control { background: #FFFFFF !important; border: 1.5px solid var(--pv-line) !important; border-radius: 10px; min-height: 46px; }
body.theme-pv #auth .form-control:focus { border-color: var(--pv-vert) !important; box-shadow: 0 0 0 3px rgba(106, 191, 75, .25); }
body.theme-pv #auth .btn-primary { background-color: var(--pv-brun) !important; border-color: var(--pv-brun) !important; }
body.theme-pv #auth .btn-primary:hover { background-color: var(--pv-vert-fonce) !important; border-color: var(--pv-vert-fonce) !important; }
.pv-service-bloc .pv-btn, .pv-service-contenu > .pv-btn { margin-top: 6px; }

/* ==================== Tunnel de commande (maquette C) ==================== */
.pv-etapes-commande { display: grid; gap: 18px; min-width: 0; }
.pv-etape-commande > * + * { margin-top: 14px; }
body.theme-pv .pv-etape-commande h2 { display: flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 800; margin: 0; }
.pv-numero { width: 30px; height: 30px; border-radius: 50%; background: var(--pv-brun); color: #FFFFFF; display: inline-grid; place-items: center; font-family: var(--pv-text); font-size: 15px; flex: none; }
.pv-connecte { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; align-items: baseline; }
.pv-connecte p { margin: 0; }
.pv-connecte a { color: var(--pv-vert-fonce); font-weight: 700; }
.pv-bascule { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--pv-surface-2); border-radius: 999px; padding: 4px; }
.pv-bascule button { border: 0; background: none; border-radius: 999px; padding: 10px 12px; font-weight: 700; color: var(--pv-muted); }
.pv-bascule button[aria-selected="true"] { background: #FFFFFF; color: var(--pv-ink); box-shadow: 0 1px 4px rgba(79, 63, 55, .15); }
.pv-choix label:has(.pv-tarif) { grid-template-columns: 22px minmax(0, 1fr) auto; }
.pv-tarif { font-weight: 700; color: var(--pv-ink) !important; font-size: 16px !important; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pv-choix-groupe { display: grid; gap: 10px; }
.pv-choix .pv-eyebrow { margin-bottom: 0; }
.pv-carte-bancaire { border: 1.5px solid var(--pv-line); border-radius: 10px; padding: 14px; background: #FFFFFF; min-height: 48px; }
.pv-carte-bancaire.StripeElement--focus { border-color: var(--pv-vert); box-shadow: 0 0 0 3px rgba(106, 191, 75, .25); }
.pv-carte-bancaire.StripeElement--invalid { border-color: var(--pv-rouge); }
.pv-securise { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--pv-muted); font-size: 14px; }
.pv-securise svg { width: 20px; height: 20px; flex: none; color: var(--pv-vert); }
.pv-cp-ville { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.pv-recap-commande dl { margin: 0; display: grid; gap: 10px; }
.pv-recap-commande dl div { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.pv-recap-commande dt { font-weight: 400; min-width: 0; }
.pv-recap-commande dd { margin: 0; font-weight: 700; white-space: nowrap; }
.pv-qte { color: var(--pv-muted); white-space: nowrap; }
.pv-recap-sous-total { border-top: 1px solid var(--pv-line); padding-top: 10px; }
.pv-recap-total { border-top: 1px solid var(--pv-line); padding-top: 12px; font-family: var(--pv-display); font-size: 22px; }
.pv-recap-total dt { font-weight: 800 !important; }
.pv-recap-total dd { font-weight: 800; color: var(--pv-brun); }
.pv-recap-commande .pv-voir-panier { display: block; text-decoration: none; }
.pv-modale-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 860px) { .pv-recap-commande { order: -1; } }
@media (max-width: 560px) { .pv-cp-ville { grid-template-columns: minmax(0, 1fr); } }

/* Notification « ajouté au panier » */
.pv-notif-panier { position: fixed; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; z-index: 1080; width: min(360px, calc(100vw - 32px)); background: #FFFFFF; border: 1.5px solid var(--pv-line); border-radius: var(--pv-radius); box-shadow: var(--pv-shadow); padding: 16px 18px; display: grid; gap: 10px; transform: translateY(-12px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.pv-notif-panier.pv-visible { opacity: 1; transform: none; visibility: visible; }
.pv-notif-tete { display: flex; align-items: center; gap: 10px; }
.pv-notif-tete b { flex: 1; font-family: var(--pv-display); font-size: 18px; font-weight: 800; }
.pv-notif-coche { width: 26px; height: 26px; border-radius: 50%; background: var(--pv-vert); color: #FFFFFF; display: grid; place-items: center; font-size: 14px; }
.pv-notif-fermer { border: 0; background: none; font-size: 24px; line-height: 1; color: var(--pv-muted); }
.pv-notif-corps { display: grid; gap: 4px; }
.pv-notif-corps p { margin: 0; }
.pv-notif-actions { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.pv-notif-actions .pv-btn { padding: 9px 18px; }

/* Mes commandes */
.pv-commandes { display: grid; gap: 18px; max-width: 860px; }
.pv-commande-tete { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; align-items: flex-start; }
body.theme-pv .pv-commande-tete h2 { font-size: 22px; font-weight: 800; margin: 0; }
.pv-commande-tete .pv-aide { margin: 2px 0 0; }
.pv-etat-commande { background: var(--pv-info); color: var(--pv-info-ink); border-radius: 999px; padding: 4px 12px; font-weight: 700; font-size: 14px; }
.pv-etat-commande.pv-etat-prete { background: var(--pv-vert); color: #fff; }
.pv-etat-commande.pv-etat-terminee { background: var(--pv-lin); color: var(--pv-brun); }
.pv-etat-commande.pv-etat-annulee { background: #FBE9E7; color: #8E2A20; }
.pv-ligne-commande { display: flex; justify-content: space-between; gap: 12px; padding-block: 8px; border-bottom: 1px solid var(--pv-line); font-variant-numeric: tabular-nums; }
.pv-ligne-commande b { white-space: nowrap; }
.pv-commande-totaux { margin: 0; display: grid; gap: 8px; }
.pv-commande-totaux div { display: flex; justify-content: space-between; gap: 12px; }
.pv-commande-totaux dd { margin: 0; font-weight: 700; }

/* Fenêtres SweetAlert (commande passée, alertes) */
body.theme-pv .swal2-popup { border-radius: calc(var(--pv-radius) + 4px); font-family: var(--pv-text); color: var(--pv-ink); padding: 28px 24px; }
body.theme-pv .swal2-title { font-family: var(--pv-display); font-weight: 800; color: var(--pv-ink); }
body.theme-pv .swal2-html-container, body.theme-pv .swal2-content { color: var(--pv-ink); font-size: 18px; }
body.theme-pv .swal2-styled.swal2-confirm { background: var(--pv-brun) !important; border-radius: 999px !important; padding: 12px 28px !important; font-weight: 700; box-shadow: none !important; }
body.theme-pv .swal2-styled.swal2-cancel { border-radius: 999px !important; }
body.theme-pv .swal2-icon.swal2-success { border-color: var(--pv-pousse) !important; color: var(--pv-vert) !important; }
body.theme-pv .swal2-icon.swal2-success [class^="swal2-success-line"] { background-color: var(--pv-vert) !important; }
body.theme-pv .swal2-icon.swal2-success .swal2-success-ring { border-color: rgba(106, 191, 75, .35) !important; }
