/* ==========================================================
   PHARMAFLORE 2.0 – Thème « blanc & vert clair » (d'après la maquette)
   Chargé après theme.min.css : surcharge le thème d'origine.
   ========================================================== */
:root {
  --pf-green: #7bc65a;
  --pf-green-dark: #5fae3f;
  --pf-green-deep: #2f6b2a;
  --pf-green-soft: #eef7e9;
  --pf-gray-band: #f4f4f2;
  --pf-ink: #2d2d2d;
  --pf-text: #4a4f4a;
  --pf-muted: #8a908a;
  --pf-line: #e6e8e4;
  --pf-white: #fff;
  --pf-gold: #c9a96e;
  --pf-radius: 6px;
  --pf-shadow: 0 6px 24px rgba(40, 60, 30, .08);
  --pf-serif: 'Playfair Display', Georgia, serif;
  --pf-sans: 'Montserrat', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --pf-header-h: 76px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--pf-sans); color: var(--pf-text); background: #fff;
  padding-top: var(--pf-header-h); -webkit-font-smoothing: antialiased; font-size: .95rem;
}
h1, h2, h3, h4, h5, .pf-serif { font-family: var(--pf-serif); color: var(--pf-ink); font-weight: 500; letter-spacing: 0; }
a { color: var(--pf-green-dark); }
a:hover { color: var(--pf-green-deep); }
img { max-width: 100%; }

/* ---------- Boutons ---------- */
.btn { border-radius: var(--pf-radius); font-weight: 600; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease; }
.btn:active { transform: scale(.97); }
.btn-primary, .btn-pf, .btn-gold {
  background: var(--pf-green); border: 1px solid var(--pf-green); color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-pf:hover, .btn-gold:hover {
  background: var(--pf-green-dark); border-color: var(--pf-green-dark); color: #fff;
  transform: translateY(-2px); box-shadow: 0 8px 18px rgba(95, 174, 63, .35);
}
.btn-outline-pf { background: #fff; border: 1px solid var(--pf-ink); color: var(--pf-ink); }
.btn-outline-pf:hover { background: var(--pf-ink); color: #fff; }
.btn-outline-light-pf { border: 1.5px solid var(--pf-ink); color: var(--pf-ink); background: transparent; }
.btn-outline-light-pf:hover { background: var(--pf-ink); color: #fff; }
.btn-dark { background: var(--pf-ink); border-color: var(--pf-ink); }

/* ---------- Header ---------- */
.pf-topbar { display: none !important; }
.pf-header {
  position: fixed; top: 0; left: 0; right: 0; height: var(--pf-header-h); z-index: 1030; background: #fff;
  display: flex; align-items: center; transition: box-shadow .3s ease, height .3s ease;
}
.pf-header > .container { height: 100%; border-bottom: 1px solid var(--pf-line); }
.pf-scrolled .pf-header { box-shadow: 0 4px 18px rgba(40, 60, 30, .08); }
.pf-brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.pf-brand img { height: 46px; width: auto; border-radius: 6px; }
.pf-brand-text { line-height: 1; }
.pf-brand-text strong { display: block; font-family: var(--pf-serif); font-size: 1.55rem; font-weight: 500; color: var(--pf-green-deep); letter-spacing: .01em; }
.pf-brand-text small { font-family: var(--pf-serif); font-size: .72rem; color: #d4413a; letter-spacing: .06em; }
.pf-nav { display: flex; align-items: center; gap: 1.9rem; margin: 0; padding: 0; list-style: none; }
.pf-nav a { position: relative; color: var(--pf-ink); font-weight: 500; text-decoration: none; font-size: .78rem; padding: .3rem 0; }
.pf-nav a:hover, .pf-nav a.active { color: var(--pf-green-dark); }
.pf-nav .btn { color: #fff; font-size: .78rem; padding: .45rem 1.1rem; }
.pf-nav .btn:hover { color: #fff; }
.pf-burger { width: 42px; height: 42px; border: 0; background: transparent; color: var(--pf-green); font-size: 2.4rem; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.offcanvas.pf-offcanvas { background: #fff; }
.pf-offcanvas .pf-mnav a { display: block; padding: .9rem 0; font-family: var(--pf-serif); font-size: 1.25rem; color: var(--pf-ink); text-decoration: none; border-bottom: 1px solid var(--pf-line); }
.pf-cart-btn { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--pf-ink) !important; font-size: 1.25rem; text-decoration: none; }
.pf-cart-btn::after { display: none !important; }
.pf-cart-count { position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--pf-green); color: #fff; font-size: .66rem; font-weight: 700; display: grid; place-items: center; }

/* ---------- Hero (slider) ---------- */
.pf-hero { position: relative; background: #fff; padding: 2.5rem 0 1.5rem; overflow: hidden; }
.pf-slides { position: relative; }
.pf-slide { display: none; }
.pf-slide.on { display: block; animation: pf-fade .7s ease; }
@keyframes pf-fade { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.pf-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); margin: 0 0 .8rem; }
.pf-hero p.lead { color: var(--pf-text); font-size: .86rem; line-height: 1.7; max-width: 24rem; }
.pf-hero-img { position: relative; max-width: 400px; margin-inline: auto; }
.pf-hero-img .pf-frame { aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; background: var(--pf-green-soft); }
.pf-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.pf-hero-img::after { content: ''; position: absolute; left: 8%; right: 8%; bottom: -14px; height: 12px; background: radial-gradient(ellipse at center, rgba(0,0,0,.18), transparent 70%); }
.pf-dots { display: flex; justify-content: center; gap: .5rem; margin-top: 2.2rem; }
.pf-dots button { width: 9px; height: 9px; border-radius: 50%; border: 1px solid #b9beb7; background: #fff; padding: 0; }
.pf-dots button.on { background: #b9beb7; }
.pf-eyebrow { display: none; }
.pf-hero .pf-eyebrow, .pf-page-head .pf-eyebrow { display: inline-flex; }
.pf-eyebrow { align-items: center; gap: .6rem; text-transform: uppercase; letter-spacing: .2em; font-size: .68rem; font-weight: 600; color: var(--pf-green-dark); }
.pf-hero-badge { display: none; }

/* ---------- Avantages (bande grise, cercles verts) ---------- */
.pf-benefits { background: var(--pf-gray-band); padding: 3.2rem 0; margin-top: 1.5rem; }
.pf-benefit { text-align: center; padding: 0 .6rem; }
.pf-ico { width: 62px; height: 62px; margin: 0 auto .9rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: var(--pf-green); }
.pf-benefit h5 { font-family: var(--pf-sans); font-size: .82rem; font-weight: 500; color: var(--pf-ink); margin: 0 0 .5rem; }
.pf-benefit h5::after { content: ''; display: block; width: 34px; height: 2px; background: var(--pf-green); margin: .55rem auto 0; }
.pf-benefit p { color: var(--pf-muted); font-size: .72rem; margin: 0; line-height: 1.6; }

/* ---------- Sections ---------- */
.pf-section { padding: 4rem 0; }
.pf-section-title { text-align: center; margin-bottom: 2.4rem; }
.pf-section-title h2 { font-size: clamp(1.5rem, 3vw, 1.9rem); margin: 0; }
.pf-section-title p { color: var(--pf-muted); max-width: 36rem; margin: .6rem auto 0; font-size: .85rem; }
.pf-divider { display: none; }
.pf-alt { background: var(--pf-gray-band); }

/* ---------- Carte produit ---------- */
.pf-card { position: relative; display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--pf-line); border-radius: var(--pf-radius); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; padding: 10px; }
.pf-card:hover { transform: translateY(-5px); box-shadow: var(--pf-shadow); }
.pf-card-img { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; background: #f3f5f1; }
.pf-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; padding: 0; }
.pf-card:hover .pf-card-img img { transform: scale(1.06); }
.pf-tag { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--pf-green); color: #fff; font-size: .62rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .6rem; border-radius: 3px; }
.pf-tag.out { background: #b9beb7; }
.pf-card-body { padding: .9rem .4rem .5rem; display: flex; flex-direction: column; flex: 1; text-align: center; }
.pf-card-title { font-family: var(--pf-sans); font-size: .88rem; font-weight: 500; margin: 0 0 .25rem; line-height: 1.35; }
.pf-card-title a { color: var(--pf-ink); text-decoration: none; }
.pf-card-info { color: var(--pf-muted); font-size: .74rem; min-height: 2.4em; margin: 0; line-height: 1.2rem; }
.pf-price { margin: .4rem 0 .9rem; font-family: var(--pf-sans); font-size: 1rem; font-weight: 700; color: var(--pf-ink); }
.pf-card .btn { margin-top: auto; font-size: .8rem; padding: .5rem .8rem; }

/* Tuiles promo (comme la maquette) */
.pf-tile { position: relative; overflow: hidden; border-radius: var(--pf-radius); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 1.6rem 1rem; min-height: 200px; flex: 1; }
.pf-tile h3 { font-size: 1.5rem; margin: 0 0 1rem; }
.pf-tile-green { background: linear-gradient(145deg, #86cf66, #5fae3f); color: #fff; }
.pf-tile-green h3 { color: #fff; }
.pf-tile-green .btn { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.7); color: #fff; font-size: .78rem; }
.pf-tile-green .btn:hover { background: #fff; color: var(--pf-green-deep); }
.pf-tile-leaf { background: #fff; border: 1px solid var(--pf-line); }
.pf-tile-leaf .btn { font-size: .78rem; padding: .4rem 1.8rem; }
.pf-leaf { position: absolute; width: 120px; height: 120px; opacity: .22; pointer-events: none; }
.pf-leaf.a { top: -30px; left: -30px; transform: rotate(-20deg); }
.pf-leaf.b { bottom: -34px; right: -26px; transform: rotate(150deg); }
.pf-tile-leaf .pf-leaf { opacity: .55; }
.pf-stack { display: flex; flex-direction: column; gap: 1rem; height: 100%; }

/* ---------- Citation (remplace « Utisci korisnika ») ---------- */
.pf-quote-sec { position: relative; padding: 4rem 0; background: #fff; overflow: hidden; }
.pf-quote { position: relative; max-width: 620px; margin: 0 auto; border: 1px solid #d9dcd6; padding: 2.4rem 2rem 1.6rem; text-align: center; color: var(--pf-muted); font-size: .8rem; line-height: 1.8; background: #fff; }
.pf-quote::before { content: '“'; position: absolute; top: -26px; left: 50%; transform: translateX(-50%); background: #fff; padding: 0 .8rem; font-family: var(--pf-serif); font-size: 3rem; color: var(--pf-ink); line-height: 1; }
.pf-quote cite { display: block; margin-top: 1rem; color: var(--pf-ink); font-style: normal; font-weight: 600; font-size: .78rem; }
.pf-quote-sec .pf-leaf { opacity: .12; width: 170px; height: 170px; }
.pf-cta { background: var(--pf-green-soft); border-radius: 10px; padding: 2.6rem 1.5rem; text-align: center; }
.pf-cta h2 { font-size: 1.6rem; }
.pf-cta p { color: var(--pf-text); }
.pf-note { font-size: .74rem; color: var(--pf-muted); text-align: center; margin-top: 1.5rem; }
.pf-about-img { border-radius: 10px; overflow: hidden; background: var(--pf-green-soft); }
.pf-about-img img { width: 100%; display: block; }
.pf-check { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; }
.pf-check li { padding-left: 1.9rem; position: relative; margin-bottom: .6rem; }
.pf-check li::before { content: '✓'; position: absolute; left: 0; top: 0; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: var(--pf-green); color: #fff; text-align: center; font-weight: 700; line-height: 1.3rem; font-size: .75rem; }

/* ---------- Pages internes ---------- */
.pf-page-head { background: var(--pf-gray-band); padding: 2.4rem 0; text-align: center; margin-bottom: 2.2rem; }
.pf-page-head h1 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin: .3rem 0 0; }
.card { border-radius: var(--pf-radius); }
.text-primary { color: var(--pf-green-dark) !important; }
.bg-light { background: var(--pf-gray-band) !important; }
.form-control:focus, .form-select:focus { border-color: var(--pf-green); box-shadow: 0 0 0 .2rem rgba(123, 198, 90, .2); }
main { min-height: 50vh; }

/* ---------- Footer ---------- */
.pf-footer { background: var(--pf-gray-band); color: var(--pf-text); padding: 3.5rem 0 0; border-top: 1px solid var(--pf-line); }
.pf-footer h5 { color: var(--pf-ink); font-size: 1.05rem; margin-bottom: 1rem; }
.pf-footer a { color: var(--pf-text); text-decoration: none; }
.pf-footer a:hover { color: var(--pf-green-dark); }
.pf-footer ul { list-style: none; padding: 0; margin: 0; }
.pf-footer li { margin-bottom: .5rem; font-size: .85rem; }
.pf-footer li i { color: var(--pf-green-dark); margin-right: .5rem; }
.pf-footer-bottom { border-top: 1px solid var(--pf-line); margin-top: 2.5rem; padding: 1.1rem 0; font-size: .76rem; color: var(--pf-muted); }
.pf-social a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--pf-green); color: #fff !important; margin-right: .4rem; transition: transform .2s; }
.pf-social a:hover { transform: translateY(-3px); background: var(--pf-green-dark); }
.pf-wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 1040; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.7rem; box-shadow: 0 8px 22px rgba(37, 211, 102, .45); text-decoration: none; }
.pf-wa-float:hover { color: #fff; transform: scale(1.08); }

/* ---------- Page produit ---------- */
.pf-crumb { font-size: .74rem; color: var(--pf-muted); padding: 1.2rem 0 1.6rem; }
.pf-crumb a { color: var(--pf-muted); text-decoration: none; }
.pf-crumb a:hover { color: var(--pf-green-dark); }
.pf-gallery { max-width: 520px; margin-inline: auto; }
.pf-main-img { width: 100%; aspect-ratio: 1 / 1; border: 1px solid var(--pf-line); border-radius: 8px; background: #f3f5f1; display: grid; place-items: center; overflow: hidden; }
.pf-main-img img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
.pf-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; margin-top: .8rem; }
.pf-thumb { aspect-ratio: 1 / 1; border: 2px solid var(--pf-line); border-radius: 6px; overflow: hidden; padding: 0; background: #f3f5f1; cursor: pointer; transition: border-color .2s; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pf-thumb.on, .pf-thumb:hover { border-color: var(--pf-green); }
.pf-pinfo h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 0 0 .4rem; }
.pf-pinfo .sub { color: var(--pf-text); font-size: .95rem; margin-bottom: .8rem; }
.pf-pinfo .price { font-family: var(--pf-sans); font-size: 1.7rem; font-weight: 700; color: var(--pf-ink); margin-bottom: 1.2rem; }
.pf-stock-ok { color: var(--pf-green-dark); font-weight: 600; font-size: .8rem; }
.pf-stock-ko { color: #c0392b; font-weight: 600; font-size: .8rem; }
.pf-qty { display: inline-flex; align-items: stretch; border: 1px solid var(--pf-line); border-radius: var(--pf-radius); overflow: hidden; background: #fff; }
.pf-qty button { width: 42px; border: 0; background: var(--pf-gray-band); font-size: 1.2rem; color: var(--pf-ink); line-height: 1; }
.pf-qty button:hover { background: var(--pf-green); color: #fff; }
.pf-qty input { width: 64px; border: 0; text-align: center; font-weight: 600; font-size: 1rem; -moz-appearance: textfield; }
.pf-qty input::-webkit-outer-spin-button, .pf-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pf-qty input:focus { outline: none; }
.pf-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.2rem 0; }
.pf-actions .btn { padding: .8rem 1.4rem; }
.btn-wa { background: #25d366; border-color: #25d366; color: #fff; }
.btn-wa:hover { background: #1da851; border-color: #1da851; color: #fff; }
.pf-meta { border-top: 1px solid var(--pf-line); margin-top: 1.4rem; padding-top: 1rem; font-size: .85rem; }
.pf-meta div { display: flex; gap: 1rem; padding: .35rem 0; }
.pf-meta dt { min-width: 120px; font-weight: 600; color: var(--pf-ink); }
.pf-detail { max-width: 860px; margin: 0 auto; padding: 1.5rem 0 3rem; font-size: 1rem; line-height: 1.8; color: var(--pf-text); }
.pf-detail-head { text-align: center; border-bottom: 1px solid var(--pf-line); margin: 3rem 0 0; }
.pf-detail-head span { display: inline-block; padding: .6rem 1.4rem; border-bottom: 2px solid var(--pf-green); font-family: var(--pf-serif); font-size: 1.2rem; color: var(--pf-ink); margin-bottom: -1px; }

/* Barre de filtre (boutique) */
.pf-filter { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; justify-content: space-between; margin-bottom: 1.6rem; padding-bottom: 1rem; border-bottom: 1px solid var(--pf-line); }
.pf-filter .form-control, .pf-filter .form-select { border-radius: var(--pf-radius); font-size: .85rem; }
.pf-filter .count { color: var(--pf-muted); font-size: .82rem; }

/* ---------- Panier & commande ---------- */
.pf-bump { animation: pf-bump .5s ease; }
@keyframes pf-bump { 30% { transform: scale(1.35); } 60% { transform: scale(.92); } }
.pf-toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 20px); background: var(--pf-ink); color: #fff; padding: .8rem 1.3rem; border-radius: 6px; box-shadow: var(--pf-shadow); opacity: 0; transition: .35s; z-index: 1060; font-size: .88rem; max-width: 90vw; }
.pf-toast.show { opacity: 1; transform: translate(-50%, 0); }
.pf-cart-line { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--pf-line); border-radius: var(--pf-radius); padding: .9rem; margin-bottom: .9rem; }
.pf-cart-line img { width: 84px; height: 84px; object-fit: cover; background: #f3f5f1; border-radius: 4px; }
.pf-box { background: #fff; border: 1px solid var(--pf-line); border-radius: var(--pf-radius); padding: 1.4rem; margin-bottom: 1.1rem; }
.pf-box h4 { font-size: 1.2rem; margin-bottom: 1rem; }
.pf-summary { background: var(--pf-gray-band); border-radius: var(--pf-radius); padding: 1.4rem; position: sticky; top: calc(var(--pf-header-h) + 16px); }
.pf-choice { display: block; cursor: pointer; height: 100%; }
.pf-choice input { position: absolute; opacity: 0; }
.pf-choice > span { display: grid; grid-template-columns: 2.2rem 1fr; column-gap: .6rem; align-items: center; border: 1.5px solid var(--pf-line); border-radius: var(--pf-radius); padding: .85rem 1rem; transition: .2s; height: 100%; background: #fff; }
.pf-choice > span i { grid-row: span 2; font-size: 1.5rem; color: var(--pf-green-dark); }
.pf-choice small { color: var(--pf-muted); }
.pf-choice:hover > span { border-color: var(--pf-green); }
.pf-choice input:checked + span { border-color: var(--pf-green); background: var(--pf-green-soft); box-shadow: 0 0 0 3px rgba(123, 198, 90, .2); }
.pf-choice input:focus-visible + span { outline: 2px solid var(--pf-green-dark); }

/* ---------- Animations au défilement ---------- */
.pf-reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.pf-reveal.pf-in { opacity: 1; transform: none; }
@media (max-width: 991.98px) { :root { --pf-header-h: 66px; } .pf-hero { padding-top: 1.5rem; } }
@media (prefers-reduced-motion: reduce) {
  .pf-reveal { opacity: 1; transform: none; transition: none; }
  .pf-slide.on { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Habillage « affiches » (bleu profond, vert, jaune, rouge) ---------- */
:root { --pf-blue: #0b3d91; --pf-blue-deep: #082a66; --pf-yellow: #ffd21f; --pf-red: #d8232a; }
.pf-card { border-radius: 16px; border-color: #dfe8da; box-shadow: 0 2px 10px rgba(11, 61, 145, .05); }
.pf-card:hover { box-shadow: 0 14px 34px rgba(11, 61, 145, .14); }
/* les affiches ne sont jamais rognées */
.pf-card-img { border-radius: 12px; background: linear-gradient(160deg, #f4fbef, #eaf3fb); }
.pf-card-img img { object-fit: contain; }
.pf-card:hover .pf-card-img img { transform: scale(1.03); }
.pf-card-title a { color: var(--pf-blue-deep); font-weight: 700; }
.pf-price { display: inline-block; align-self: center; background: var(--pf-red); color: #fff; padding: .2rem .9rem; border-radius: 999px; font-size: .95rem; transform: rotate(-2deg); box-shadow: 0 3px 8px rgba(216, 35, 42, .25); }
.pf-card .btn-primary { background: var(--pf-blue); border-color: var(--pf-blue); border-radius: 999px; font-weight: 600; }
.pf-card .btn-primary:hover { background: var(--pf-blue-deep); border-color: var(--pf-blue-deep); }
.pf-dispo { margin: .7rem auto .2rem; display: inline-flex; align-items: center; justify-content: center; gap: .4rem; align-self: center; font-size: .74rem; font-weight: 700; color: #1f7a1f; background: #e8f6e1; border: 1px solid #bfe3b0; border-radius: 999px; padding: .25rem .8rem; }
.pf-dispo .dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb344; box-shadow: 0 0 0 3px rgba(47, 179, 68, .2); }
.pf-dispo.out { color: #8a3b3b; background: #fbeaea; border-color: #f1c4c4; }
.pf-dispo.out .dot { background: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .18); }
.pf-section-title h2 { color: var(--pf-blue-deep); }
.pf-section-title h2::after { content: ''; display: block; width: 64px; height: 5px; border-radius: 4px; background: linear-gradient(90deg, var(--pf-yellow), var(--pf-green)); margin: .6rem auto 0; }
.pf-hero { background: radial-gradient(900px 420px at 85% 10%, #e6f4dc, transparent 60%), radial-gradient(700px 400px at 0 100%, #e3eefb, transparent 60%), #fff; }
.pf-hero h1 { color: var(--pf-blue-deep); font-weight: 800; }
.pf-hero .btn-primary { background: var(--pf-blue); border-color: var(--pf-blue); border-radius: 999px; padding-inline: 2rem !important; box-shadow: 0 8px 20px rgba(11, 61, 145, .25); }
.pf-hero .btn-primary:hover { background: var(--pf-blue-deep); }
.pf-hero-img { max-width: 480px; }
.pf-hero-img .pf-frame { border-radius: 18px; background: linear-gradient(160deg, #f4fbef, #eaf3fb); box-shadow: 0 18px 44px rgba(11, 61, 145, .15); }
.pf-hero-img img { object-fit: contain; }
.pf-page-head { background: linear-gradient(120deg, #eaf3fb, #eef7e9); }
.pf-page-head h1 { color: var(--pf-blue-deep); }
.pf-gallery .pf-main-img, .pf-main-img { border-radius: 16px; background: linear-gradient(160deg, #f4fbef, #eaf3fb); }
.pf-thumb img { object-fit: contain; }
.pf-slide-bg { width: 100%; border-radius: 18px; display: block; }
.pf-ad-slide { position: relative; border-radius: 20px; overflow: hidden; background: #0b3d91; }
.pf-ad-slide img { width: 100%; height: auto; display: block; max-height: 520px; object-fit: contain; background: linear-gradient(160deg, #f4fbef, #eaf3fb); }
.pf-ad-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.4rem 1.2rem; background: linear-gradient(0deg, rgba(8,42,102,.88), transparent); color: #fff; text-align: center; }
.pf-ad-cap h2 { color: #fff; font-size: clamp(1.1rem, 2.6vw, 1.7rem); margin: 0 0 .2rem; }
.pf-ad-cap p { margin: 0 0 .7rem; font-size: .9rem; opacity: .95; }
.pf-ad-cap .btn { background: var(--pf-yellow); border-color: var(--pf-yellow); color: var(--pf-blue-deep); border-radius: 999px; font-weight: 700; }
.pf-promo-bar { background: linear-gradient(90deg, var(--pf-blue-deep), var(--pf-blue)); color: #fff; text-align: center; padding: .5rem 1rem; font-size: .85rem; }
.pf-promo-bar strong { color: var(--pf-yellow); }
.pf-old-price { text-decoration: line-through; color: var(--pf-muted); font-size: .8rem; font-weight: 500; display: block; margin-top: .3rem; }

/* ---------- Messagerie vocale ---------- */
.pf-thread { display: flex; flex-direction: column; gap: .6rem; max-height: 460px; overflow-y: auto; padding: .5rem .2rem; }
.pf-msg { max-width: 82%; padding: .55rem .8rem; border-radius: 14px; font-size: .9rem; line-height: 1.45; background: #eef7e9; align-self: flex-start; word-wrap: break-word; }
.pf-msg.me { align-self: flex-end; background: var(--pf-blue); color: #fff; }
.pf-msg small { display: block; opacity: .7; font-size: .68rem; margin-top: .2rem; }
.pf-msg audio { max-width: 100%; height: 36px; display: block; }
.pf-rec { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.pf-rec-btn { border: 1px solid var(--pf-line); background: #fff; border-radius: 999px; padding: .4rem .9rem; font-weight: 600; font-size: .82rem; cursor: pointer; }
.pf-rec-btn.stop { background: #d8232a; border-color: #d8232a; color: #fff; }
.pf-rec-btn.ok { background: var(--pf-green-dark); border-color: var(--pf-green-dark); color: #fff; }
.pf-rec-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #d8232a; animation: pfpulse 1s infinite; margin-right: .3rem; }
@keyframes pfpulse { 50% { opacity: .25; } }
.pf-rec-live, .pf-rec-prev { display: inline-flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.pf-rec [hidden] { display: none !important; }
.pf-nav { gap: 1.1rem !important; flex-wrap: nowrap; }
.pf-nav a { white-space: nowrap; font-size: .85rem; }
@media (max-width: 1199px) { .pf-nav { gap: .7rem !important; } .pf-nav a { font-size: .78rem; } }

/* ---------- Slider d'images (page produit) ---------- */
.pf-gal-view { position: relative; margin-bottom: 22px; touch-action: pan-y; outline-offset: 3px; }
.pf-gal-clip { position: relative; z-index: 1; overflow: hidden; border-radius: 16px; border: 1px solid var(--pf-line); background: linear-gradient(160deg, #f4fbef, #eaf3fb); aspect-ratio: 1 / 1; }
.pf-gal-track { position: absolute; inset: 0; display: flex; transition: transform .55s cubic-bezier(.22, .8, .25, 1); }
.pf-gal-slide { flex: 0 0 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 6px; }
.pf-gal-slide img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; user-select: none; -webkit-user-drag: none; }
.pf-gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--pf-blue-deep); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .2); opacity: 0; transition: opacity .25s, transform .25s; }
.pf-gal-nav.prev { left: 10px; } .pf-gal-nav.next { right: 10px; }
.pf-gal-view:hover .pf-gal-nav, .pf-gal-view:focus-within .pf-gal-nav { opacity: 1; }
.pf-gal-nav:hover { transform: translateY(-50%) scale(1.1); }
@media (hover: none) { .pf-gal-nav { opacity: .9; } }
.pf-gal-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 7px; }
.pf-gal-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(15, 79, 38, .35); cursor: pointer; transition: width .25s, background .25s; }
.pf-gal-dots button.on { width: 24px; border-radius: 6px; background: var(--pf-yellow, #ffd21f); box-shadow: 0 0 0 1px rgba(15, 79, 38, .35); }
.pf-gallery { margin-bottom: 1.2rem; }

/* ---------- Slider d'accueil : <picture> ---------- */
.pf-ad-slide picture { display: block; }

/* ---------- Mobile d'abord ---------- */
@media (max-width: 991.98px) {
  .pf-brand img { height: 40px; }
  .pf-brand-text strong { font-size: 1.25rem; }
  .pf-brand-text small { font-size: .62rem; }
}
@media (max-width: 575.98px) {
  .pf-header > .container { padding-left: 12px; padding-right: 12px; }
  .pf-brand { gap: .4rem; min-width: 0; }
  .pf-brand img { height: 34px; }
  .pf-brand-text strong { font-size: 1.02rem; letter-spacing: 0; }
  .pf-brand-text small { font-size: .56rem; }
  .pf-cart-btn { font-size: 1.15rem; }
  .pf-burger { font-size: 1.7rem; padding: .1rem .3rem; }
  .pf-hero { padding: 1rem 0 .5rem; }
  .pf-hero .container { padding-left: 10px; padding-right: 10px; }
  .pf-ad-slide { border-radius: 14px; }
  .pf-ad-cap { padding: .9rem .8rem .8rem; }
  .pf-ad-cap h2 { font-size: 1.05rem; }
  .pf-ad-cap p { font-size: .78rem; margin-bottom: .5rem; }
  .pf-page-head { padding: 1.4rem 0; }
  .pf-page-head h1 { font-size: 1.5rem; }
  .pf-section { padding: 2.2rem 0; }
  .pf-section-title { margin-bottom: 1.4rem; }
  .pf-section-title h2 { font-size: 1.15rem; padding: .35rem 1.1rem; }

  /* grille produits : un produit par ligne sur téléphone, grande carte lisible */
  #pfGrid, .row.row-cols-2 { --bs-gutter-y: 1.4rem; }
  #pfGrid > *, .row.row-cols-2 > * { flex: 0 0 auto; width: 100%; }
  .pf-card { padding: 12px 12px 16px; border-radius: 18px; }
  .pf-card-img { margin-bottom: 22px; }
  .pf-card-img::after { height: 22px; bottom: -13px; }
  .pf-card-title { font-size: 1.05rem; }
  .pf-card-info { font-size: .85rem; min-height: 0; }
  .pf-price { font-size: 1.05rem; padding: .25rem 1.1rem; }
  .pf-card .btn { font-size: .95rem; padding: .65rem 1rem; }
  .pf-toolbar, .pf-filters { gap: .5rem; }

  /* page produit */
  .pf-gal-view { margin-bottom: 18px; }
  .pf-thumbs { grid-template-columns: repeat(4, 1fr); gap: .4rem; }
  .pf-actions { flex-direction: column; align-items: stretch; }
  .pf-actions .btn { width: 100%; }
  .container { padding-left: 14px; padding-right: 14px; }
  .pf-wa-float { width: 50px; height: 50px; right: 12px; bottom: 12px; }
  /* calendrier */
  .rdv-cal { max-width: 100%; }
  .rdv-cal-grid { gap: 3px; }
  .rdv-cal-grid .day { border-radius: 8px; font-size: .8rem; }
}
/* ---------- Vidéo de présentation (premier slide) ---------- */
.pf-video { position: relative; aspect-ratio: 16 / 9; max-width: 960px; margin-inline: auto; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 22px 50px rgba(0, 0, 0, .28); }
.pf-video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #000; cursor: pointer; }
.pf-video-play[hidden] { display: none; }
.pf-video-play img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .5s ease, opacity .3s; }
.pf-video-play:hover img { transform: scale(1.03); opacity: 1; }
.pf-vplay { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(216, 35, 42, .96); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); animation: pfVplay 2.2s ease-in-out infinite; }
.pf-vplay::after { content: ''; position: absolute; left: 34px; top: 24px; border-left: 28px solid #fff; border-top: 18px solid transparent; border-bottom: 18px solid transparent; }
@keyframes pfVplay { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } }
.pf-video-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1rem .9rem; color: #fff; font-weight: 700; text-align: center; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent); }
.pf-video iframe, .pf-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; object-fit: contain; }
@media (max-width: 575.98px) { .pf-video { border-radius: 14px; } .pf-vplay { width: 64px; height: 64px; margin: -32px 0 0 -32px; } .pf-vplay::after { left: 26px; top: 18px; border-left-width: 21px; border-top-width: 14px; border-bottom-width: 14px; } }
@media (prefers-reduced-motion: reduce) { .pf-vplay { animation: none; } }
