/* ============================================================
   PRAZ SPORTS — booking-horizon-2027.css  (V1.1)
   ============================================================
   Surcouche visuelle de la page publique de réservation
   (louer-materiel / booking.php).

   RÈGLE D'OR : ce fichier ne fait QUE de l'habillage visuel.
   - Aucun id, aucune classe utilisée par le JavaScript n'est
     renommé, supprimé ou réutilisé pour un autre rôle.
   - Aucune catégorie ni aucun produit n'est écrit en dur : tous
     les sélecteurs ciblent des motifs génériques générés par le
     moteur (.expand-link, .pg-outer, .dynamic_product, etc.).
   - Le bloc prix (.pdb-tarif / .pdb-tarif-web-row / .pdb-tarif-btn)
     dépend d'un positionnement absolu hérité de la grille
     Bootstrap (.col-md-2 => position:relative). Aucune propriété
     position/top/bottom/left/width n'est modifiée sur ce bloc.
   - Ne modifie pas praz.cleaned.css / booking.cleaned.css /
     mods-2025-style.cleaned.css. Charger CE fichier en dernier :
     <link href="styles/booking-horizon-2027.css" rel="stylesheet">

   CHANGEMENTS V1 -> V1.1 (corrections demandées) :
   - #priceSummary existe deux fois dans le HTML du moteur
     (#bookingStep3 et #payment_modal) : tous les sélecteurs sont
     désormais scopés via #bookingStep3 #priceSummary pour ne
     jamais affecter le récapitulatif de la modale de paiement.
   - Documentation sticky corrigée : c'est un total sticky en BAS
     de sa section, pas un panneau latéral collé à droite.
   - Toutes les graisses font-weight:700 remplacées par 600, seule
     graisse la plus haute réellement chargée par l'import Google
     Fonts (identique à la homepage, aucune approximation).
   - Import Fraunces/Inter revérifié caractère pour caractère contre
     le <link> réel de la homepage (index.html, ligne 31) : identique.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,300;0,500;0,600;1,400&family=Inter:wght@400;500;600&display=swap');

:root{
  --ph-red:#F02E2C;
  --ph-maroon:#8B231F;
  --ph-ivory:#FBF7F0;
  --ph-linen:#EFEDDF; /* teinte réelle des blocs .bg-pale / .bg-booking-fawn du moteur */
  --ph-dark:#161512;
  --ph-white:#ffffff;
  --ph-muted:#8a8375;
  --ph-border:rgba(22,21,18,.10);
  --ph-shadow:0 10px 28px rgba(22,21,18,.10);
  --ph-shadow-lg:0 18px 44px rgba(22,21,18,.16);
  --ph-radius-sm:8px;
  --ph-radius-md:14px;
  --ph-radius-lg:20px;
  --ph-ease:cubic-bezier(.22,.61,.36,1);
}

/* Variables identiques (mêmes noms, mêmes valeurs) à celles du
   <style> de la vraie homepage (index.html, lignes 33-41). Ajoutées
   telles quelles pour pouvoir coller le CSS réel du header/footer de
   la home ci-dessous sans aucune substitution de valeur — copie
   fidèle demandée par Victor, zéro risque d'écart de couleur. */
:root{
  --red:#F02E2C;
  --maroon:#8B231F;
  --ivory:#FBF7F0;
  --linen:#EDE4D3;
  --dark:#161512;
  --white:#ffffff;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ============================================================
   0. BASE
   ============================================================ */

html, body.booking{
  overflow-x:hidden !important; /* même filet de sécurité que la home (body{overflow-x:hidden}) contre toute barre de défilement latérale */
}
body.booking{
  font-family:'Inter',-apple-system,sans-serif !important;
  background:var(--ph-white) !important; /* la home est en blanc pur, pas ivoire */
  color:var(--ph-dark) !important;
  -webkit-font-smoothing:antialiased;
}

#booking.container{
  max-width:1180px;
  /* padding-top (compense le header fixed) déclaré une seule fois,
     avec le bloc HEADER / NAV plus bas dans ce fichier, pour rester
     à côté de la valeur de hauteur réelle du header dont il dépend. */
}

.txt1{
  font-family:'Inter',sans-serif !important;
  font-size:.72rem !important;
  letter-spacing:.16em !important;
  text-transform:uppercase !important;
  color:var(--ph-red) !important;
  font-weight:600 !important; /* 600 = graisse Inter la plus haute réellement chargée (homepage) */
}
.txt2{
  font-family:'Fraunces',serif !important;
  font-size:clamp(1.25rem,2.3vw,1.7rem) !important;
  font-weight:500 !important;
  color:var(--ph-maroon) !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}

/* ============================================================
   HEADER / NAV — composant réel de la homepage, copié verbatim
   (index.html, lignes 59-133), zéro approximation.
   ============================================================
   Seule adaptation fonctionnelle, justifiée par le contexte de
   cette page (pas de hero plein écran à traverser comme sur la
   home) : le header démarre avec la classe "scrolled" déjà posée
   dans le HTML (voir <header id="siteHeader" class="scrolled">),
   au lieu d'être ajoutée par un scroll-listener JS. Le composant
   .scrolled lui-même — couleurs, tailles, espacements, ombre — est
   identique au caractère près à celui de la home. Aucune règle CSS
   ci-dessous n'a été réinventée. */

header{
  position:fixed;top:0;left:0;right:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 32px;
  transition:background .4s var(--ease), padding .4s var(--ease);
}
header.scrolled{
  background:rgba(251,247,240,.94);
  backdrop-filter:blur(8px);
  padding:10px 32px;
  box-shadow:0 1px 0 rgba(0,0,0,.06);
}
.logo-mark{display:flex;align-items:center;gap:10px;}
.logo-mark img{height:38px;width:auto;background:var(--maroon);border-radius:8px;padding:8px 12px;transition:height .4s var(--ease);}
header.scrolled .logo-mark img{height:32px;}
nav.mainnav{display:flex;align-items:center;gap:26px;}
nav.mainnav a{
  font-size:.82rem;letter-spacing:.03em;color:#fff;
  text-shadow:0 1px 6px rgba(0,0,0,.35);
  transition:color .4s var(--ease), opacity .2s;
  opacity:.92;
}
nav.mainnav a:hover{opacity:1;}
header.scrolled nav.mainnav a{color:var(--maroon);text-shadow:none;}
.call-link{
  opacity:0;pointer-events:none;
  font-weight:600;color:#fff!important;
  background:var(--red);
  padding:9px 18px;border-radius:100px;
  margin-left:6px;
  transition:opacity .4s var(--ease), background .25s var(--ease), transform .2s var(--ease);
}
.call-link:hover{background:var(--maroon);transform:translateY(-1px);}
header.scrolled .call-link{opacity:1;pointer-events:auto;}
.nav-toggle{
  display:none;flex-direction:column;justify-content:center;gap:5px;
  width:34px;height:34px;background:none;border:none;cursor:pointer;padding:0;
  z-index:110;position:relative;
}
.nav-toggle span{
  display:block;width:100%;height:2px;background:#fff;border-radius:2px;
  filter:drop-shadow(0 1px 4px rgba(0,0,0,.4));
  transition:background .3s var(--ease), transform .3s var(--ease), opacity .3s var(--ease);
}
header.scrolled .nav-toggle span{background:var(--maroon);filter:none;}
.nav-toggle.open span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle.open span:nth-child(2){opacity:0;}
.nav-toggle.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

@media (max-width:760px){
  .nav-toggle{display:flex;}
  nav.mainnav{
    position:fixed;top:0;left:0;right:0;z-index:99;
    flex-direction:column;align-items:stretch;gap:0;
    background:rgba(20,19,16,.97);backdrop-filter:blur(10px);
    padding:88px 28px 28px;
    max-height:0;overflow:hidden;opacity:0;visibility:hidden;
    transition:max-height .4s var(--ease), opacity .3s var(--ease), visibility 0s linear .4s;
  }
  nav.mainnav.open{
    max-height:100vh;opacity:1;visibility:visible;
    transition:max-height .4s var(--ease), opacity .3s var(--ease), visibility 0s;
  }
  nav.mainnav a{
    display:block;color:#fff;text-shadow:none;opacity:1;
    font-size:1.05rem;padding:16px 0;
    border-bottom:1px solid rgba(255,255,255,.12);
  }
  /* Adaptation nécessaire (pas une réinvention stylistique) : sur la
     home, "header.scrolled nav.mainnav a{color:maroon}" n'est actif
     que ponctuellement (après un scroll de 60px sur le hero). Sur
     cette page, le header est TOUJOURS .scrolled (pas de hero) — sans
     ce correctif de spécificité, ce texte marron gagnerait même dans
     le panneau plein écran sombre du menu mobile, illisible sur fond
     presque noir. On rétablit donc explicitement le blanc voulu ici,
     avec la même spécificité que la règle .scrolled pour la battre
     (elle est déclarée après dans la feuille de style). */
  header.scrolled nav.mainnav a{ color:#fff; text-shadow:none; }
  nav.mainnav .call-link{
    display:block;margin:20px 0 0;text-align:center;
    opacity:1;pointer-events:auto;border-bottom:none;
  }
  body.nav-open{overflow:hidden;}
}

/* Compense la sortie du header du flux normal (position:fixed) :
   hauteur réelle du header en état .scrolled (toujours actif ici)
   ≈ 10px + 32px (logo) + 10px = 52px ; on garde une marge de
   confort. Remplace l'ancien padding-top:76px calé sur l'ancien
   header (plus haut, structure Bootstrap). */
#booking.container{ padding-top:64px !important; }

/* ============================================================
   1. HERO COMPACT
   ============================================================ */

.title-row{
  top:0 !important;
  margin-top:34px !important;
}
.title-txt{
  font-family:'Fraunces',serif !important;
  font-size:clamp(1.7rem,3.4vw,2.3rem) !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  color:var(--ph-maroon) !important;
  text-transform:none !important;
}
.sub-title-row{
  top:0 !important;
  margin-top:8px !important;
  margin-bottom:0 !important;
}
.sub-title-txt{
  font-family:'Fraunces',serif !important;
  font-style:italic;
  font-weight:300 !important;
  font-size:1rem !important;
  color:var(--ph-dark) !important;
  opacity:.8;
}

/* Reservation / Tarifs quick pills
   ATTENTION : ces deux blocs sont eux-mêmes des .col-md-6 Bootstrap
   (50%/50%). Leur donner une margin horizontale en plus des 50%
   fait déborder le total au-delà de 100% et Bootstrap les repasse
   à la ligne (c'était le bug "l'une au-dessus de l'autre, collées
   à gauche"). On réduit donc la largeur elle-même via calc() pour
   laisser la place à l'espace visuel, au lieu d'ajouter une margin
   par-dessus les 50% déjà pleins. */
#bookingNavSelection{ margin-top:22px !important; }
#bookingNavSelection .row.mt-40{
  display:flex !important;
  flex-wrap:wrap;
}
#bookingNavSelection .title-bar{
  background:var(--ph-white) !important;
  border:1px solid var(--ph-border);
  border-radius:100px !important;
  padding:12px 18px !important;
  flex:0 0 calc(50% - 6px) !important;
  max-width:calc(50% - 6px) !important;
  margin:0 3px 10px !important;
  box-shadow:var(--ph-shadow);
  transition:transform .25s var(--ph-ease), box-shadow .25s var(--ph-ease);
}
@media (max-width:575px){
  #bookingNavSelection .title-bar{
    flex:0 0 100% !important;
    max-width:100% !important;
    margin:0 0 10px !important;
    display:block;
  }
}
#bookingNavSelection .title-bar:hover{
  transform:translateY(-2px);
  box-shadow:var(--ph-shadow-lg);
}
#bookingNavSelection .plain-link{
  font-family:'Inter',sans-serif;
  font-size:.82rem;
  font-weight:600;
  color:var(--ph-maroon) !important;
  text-decoration:none !important;
}
#bookingNavSelection .fa{ color:var(--ph-red); }

/* ============================================================
   2. INDICATEUR DE PROGRESSION (bloc décoratif ajouté en HTML)
   Classes créées pour ce projet, non utilisées par le JS :
   .ph-steps / .ph-step / .ph-step-num / .ph-step-label
   ============================================================ */

.ph-steps{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  max-width:640px;
  margin:20px auto 0;
  padding:0 20px;
}
.ph-step{
  display:flex;
  align-items:center;
  gap:8px;
  flex:1;
}
.ph-step-num{
  display:flex;
  align-items:center;
  justify-content:center;
  width:24px;
  height:24px;
  min-width:24px;
  border-radius:100%;
  background:var(--ph-white);
  border:1.5px solid var(--ph-border);
  color:var(--ph-muted);
  font-family:'Inter',sans-serif;
  font-size:.72rem;
  font-weight:600;
}
.ph-step.is-current .ph-step-num{
  background:var(--ph-red);
  border-color:var(--ph-red);
  color:#fff;
}
.ph-step-label{
  font-family:'Inter',sans-serif;
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.02em;
  color:var(--ph-muted);
  white-space:nowrap;
}
.ph-step.is-current .ph-step-label{ color:var(--ph-maroon); }
.ph-step-line{
  flex:1;
  height:1px;
  background:var(--ph-border);
  min-width:12px;
}

@media (max-width:640px){
  .ph-step-label{ display:none; }
  .ph-steps{ gap:4px; }
}

/* ============================================================
   3. ÉTAPE 1 — CALENDRIER
   ============================================================ */

#bookingStep1{
  background:var(--ph-white);
  border-radius:var(--ph-radius-lg);
  box-shadow:var(--ph-shadow);
  padding:32px 26px 26px;
  margin-top:24px !important;
}
#bookingStep1 .txt1, #bookingStep1 .txt2{ text-align:center; }

#datesBlock{ max-width:660px; margin:0 auto; }

.calendar_np{
  border-color:var(--ph-maroon) !important;
  color:var(--ph-maroon) !important;
  transition:background .2s var(--ph-ease), color .2s var(--ph-ease);
}
.calendar_np:hover{ background:var(--ph-linen); }

.cal-month-name{
  font-family:'Fraunces',serif !important;
  font-size:1.1rem !important;
  font-weight:500 !important;
  color:var(--ph-maroon) !important;
  text-transform:capitalize !important;
  letter-spacing:.02em !important;
}

.cal-day{
  background:transparent !important;
  border:none !important;
  color:var(--ph-muted) !important;
  font-size:.68rem !important;
  letter-spacing:.06em;
  text-transform:uppercase;
  font-weight:600;
}

.cal-date{
  background:var(--ph-ivory) !important;
  border:none !important;
  border-radius:100px !important;
  margin:2px 0;
  font-family:'Inter',sans-serif !important;
  font-size:.85rem !important;
  font-weight:500 !important;
  color:var(--ph-dark) !important;
  transition:background .18s var(--ph-ease), transform .18s var(--ph-ease);
}
.cal-date.avb:hover{
  background:var(--ph-linen) !important;
  transform:translateY(-1px);
}
.cal-date.disable_date{
  color:#c8c2b4 !important;
  background:transparent !important;
}
.cal-date.cal-today{
  box-shadow:inset 0 0 0 1.5px var(--ph-red);
}
.cal-date.daystart,
.cal-date.dayend{
  background:var(--ph-red) !important;
  color:#fff !important;
  font-weight:600 !important;
}
.cal-date.within_date{
  background:rgba(240,46,44,.14) !important;
  color:var(--ph-maroon) !important;
  border-radius:0 !important;
}

#submitDates{ margin-top:22px; }
#submitDates .btn-praz{ min-width:150px; }

.ph-booking-note{
  max-width:520px;
  margin:16px auto 0;
  font-family:'Fraunces',serif;
  font-style:italic;
  font-weight:300;
  font-size:.9rem;
  color:var(--ph-muted);
  text-align:center;
  line-height:1.5;
}

/* ============================================================
   BOUTONS — langage commun à tout le tunnel
   ============================================================ */

.btn-praz,
.btn-link.modal_popup,
.modal_validator_next,
.final_modal_validator,
.final_payment_modal,
div.user-form-btn,
a.user-form-btn{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  font-family:'Inter',sans-serif !important;
  font-size:.85rem !important;
  font-weight:600 !important;
  letter-spacing:.02em;
  color:#fff !important;
  background:var(--ph-red) !important;
  border:none !important;
  border-radius:100px !important;
  padding:13px 26px !important;
  text-decoration:none !important;
  text-transform:none !important;
  box-shadow:none !important;
  transition:background .25s var(--ph-ease), transform .18s var(--ph-ease) !important;
}
.btn-praz:hover,
.btn-link.modal_popup:not(.disabled):hover,
.modal_validator_next:hover,
.final_modal_validator:hover,
.final_payment_modal:hover,
div.user-form-btn:hover,
a.user-form-btn:hover{
  background:var(--ph-maroon) !important;
  transform:translateY(-1px);
  color:#fff !important;
  border-bottom:none !important;
}
.btn-praz.date_reset{
  background:transparent !important;
  color:var(--ph-maroon) !important;
  box-shadow:inset 0 0 0 1px var(--ph-border) !important;
}
.btn-praz.date_reset:hover{
  background:var(--ph-linen) !important;
  color:var(--ph-maroon) !important;
}
.btn-link.modal_popup.disabled,
a.disabled{
  background:#e7e2d4 !important;
  color:#a49c8b !important;
  cursor:not-allowed;
  pointer-events:none;
}

.circle, .circle-teal{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px; height:38px;
  border-radius:100%;
  background:var(--ph-white) !important;
  border-color:var(--ph-border) !important;
  color:var(--ph-maroon) !important;
  box-shadow:var(--ph-shadow);
}

/* ============================================================
   4. NAVIGATION ENTRE CATÉGORIES
   ============================================================ */

#bookingStep2{
  background:var(--ph-linen) !important;
  border-radius:var(--ph-radius-lg);
  margin-top:26px;
  padding-bottom:34px;
}
#bookingStep2 .txt2{ margin-top:2px; }

/* ATTENTION — dès qu'on met overflow-x:auto, la spec CSS force
   overflow-y à devenir "auto" aussi (on ne peut pas avoir un axe
   scrollable et l'autre "visible" librement). Résultat : la moindre
   valeur de padding-top trop juste coupe le haut des pastilles
   (leur ombre, leur légère translation au survol). On donne donc
   une marge verticale généreuse pour que rien ne dépasse jamais
   de la zone scrollable. */
#innerBlock .row.justify-content-md-center{
  flex-wrap:nowrap;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  justify-content:flex-start !important;
  gap:8px;
  padding:12px 4px 16px;
  scrollbar-width:thin;
}
/* Sur mobile, ce mécanisme de défilement horizontal masquait toutes
   les catégories sauf la première (Randonée) hors du cadre visible,
   avec juste une barre de défilement latérale pour deviner qu'il y
   en a d'autres. Demandé : toutes les catégories visibles sans
   scroll latéral. On repasse donc en wrap normal (plusieurs lignes),
   comme n'importe quelle liste de boutons qui déborde. */
@media (max-width:767px){
  #innerBlock .row.justify-content-md-center{
    flex-wrap:wrap !important;
    overflow-x:visible !important;
    overflow-y:visible !important;
    justify-content:center !important;
    -webkit-overflow-scrolling:auto;
  }
  #innerBlock .row.justify-content-md-center::-webkit-scrollbar{ display:none; }
}
#innerBlock .row.justify-content-md-center::-webkit-scrollbar{ height:5px; }
#innerBlock .row.justify-content-md-center::-webkit-scrollbar-thumb{
  background:var(--ph-border);
  border-radius:10px;
}
#innerBlock .col-md-auto{ flex:0 0 auto; }

.expand-link.title-bar{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:6px;
  background:var(--ph-white) !important;
  border:1px solid var(--ph-border);
  border-radius:100px !important;
  padding:11px 20px !important;
  margin:0 !important;
  font-family:'Inter',sans-serif !important;
  font-size:.82rem !important;
  font-weight:600 !important;
  color:var(--ph-maroon) !important;
  text-transform:none !important;
  white-space:nowrap;
  transition:background .2s var(--ph-ease), color .2s var(--ph-ease), transform .2s var(--ph-ease);
}
.expand-link.title-bar:hover{
  transform:translateY(-2px);
  background:var(--ph-linen) !important;
  color:var(--ph-maroon) !important;
}
.expand-link .fa{ color:var(--ph-red); margin:0; }

/* Catégorie active : Bootstrap met à jour aria-expanded sur le
   trigger quand le .collapse cible s'ouvre/se ferme — 100% natif,
   aucune modif JS. */
.expand-link.title-bar[aria-expanded="true"]{
  background:var(--ph-maroon) !important;
  color:#fff !important;
}
.expand-link.title-bar[aria-expanded="true"] .fa{ color:#fff; }

/* padding-left/right ajoutés : #pgName est un .row Bootstrap (margin
   -15px de chaque côté) directement dans .pg-outer, qui lui n'avait
   aucun padding pour compenser — le titre ("Randonée" etc.) démarrait
   donc pile au bord de .pg-outer, sans marge de sécurité. Avec le
   filet overflow-x:hidden posé sur html/body, ce zéro de marge
   suffisait à faire "manger" le début du texte (le "R" coupé net).
   16px > 15px de compensation Bootstrap laisse une vraie respiration. */
.pg-outer{ max-width:1060px; margin:0 auto; padding-left:16px; padding-right:16px; }
.pg-outer hr{ border-top-color:var(--ph-border) !important; }
.product-group-title{
  font-family:'Fraunces',serif !important;
  font-size:1.25rem !important;
  font-weight:500 !important;
  color:var(--ph-maroon) !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  padding:20px 4px 8px !important;
}

/* ============================================================
   5 & 6. PRODUITS + PRIX
   (position/top/bottom/left/width volontairement non touchés
   sur .pdb-main / .pdb-tarif / .pdb-tarif-web-row / .pdb-tarif-btn)
   ============================================================ */

.dynamic_product.row.product{
  background:var(--ph-white);
  border-radius:var(--ph-radius-md);
  box-shadow:var(--ph-shadow);
  margin:0 0 16px !important;
  padding-bottom:0 !important;
  overflow:hidden;
  transition:box-shadow .25s var(--ph-ease);
}
.dynamic_product.row.product:hover{ box-shadow:var(--ph-shadow-lg); }

.product-title{
  font-family:'Fraunces',serif !important;
  font-size:.92rem !important;
  font-weight:600 !important;
  letter-spacing:.02em !important;
  text-transform:none !important;
  color:#fff !important;
  background:var(--ph-maroon);
  padding:9px 18px !important;
}

.product-detail-block{ background:var(--ph-white) !important; }

.pdb-main, .pdb-option{
  border:none !important;
  padding:16px 18px !important;
}
.pdb-main img{
  border-radius:var(--ph-radius-sm);
  box-shadow:0 4px 12px rgba(22,21,18,.14);
  /* Garde-fou : même si une future photo n'est pas déjà carrée,
     l'affichage reste uniforme (les fichiers eux-mêmes ont aussi
     été recadrés en carré, cf. journal). */
  aspect-ratio:1/1;
  object-fit:cover;
  height:110px;
  width:110px;
  max-width:110px;
}
.product-name{
  font-family:'Inter',sans-serif !important;
  font-size:.9rem !important;
  color:var(--ph-dark) !important;
  font-weight:500 !important;
  opacity:1 !important;
  padding-bottom:6% !important;
}

.container-chkbox{
  padding-left:30px !important;
}
.checkmark{
  background:var(--ph-white) !important;
  border:1.5px solid var(--ph-border) !important;
  border-radius:5px !important;
  top:2px !important;
}
.container-chkbox input:checked ~ .checkmark{
  background:var(--ph-red) !important;
  border-color:var(--ph-red) !important;
}
.checkmark:after{
  left:6px !important; top:2px !important;
  width:5px !important; height:10px !important;
  border:solid #fff !important;
  border-width:0 2px 2px 0 !important;
  border-radius:0 !important;
  background:none !important;
  transform:rotate(45deg);
}
.container-chkbox:hover input~.checkmark{ background:var(--ph-white) !important; }

.pdb-tarif{
  border:none !important;
  border-left:1px solid var(--ph-border) !important;
}
.pdb-tarif-store{
  font-family:'Inter',sans-serif !important;
  font-size:.76rem !important;
  color:var(--ph-muted) !important;
  text-decoration:line-through;
}
.pdb-tarif-web{
  font-family:'Fraunces',serif !important;
  font-size:1.5rem !important;
  font-weight:600 !important;
  color:var(--ph-red) !important;
}
.pdb-tarif-web-txt{
  font-family:'Inter',sans-serif !important;
  font-size:.66rem !important;
  color:var(--ph-muted) !important;
  text-transform:none !important;
  letter-spacing:0 !important;
}
.pdb-tarif-web-txt .fa-exclamation-triangle{ color:var(--ph-red) !important; }

.pdb-tarif-btn{
  background:var(--ph-red) !important;
  border-color:var(--ph-red) !important;
  font-family:'Inter',sans-serif !important;
  font-size:.78rem !important;
  font-weight:600 !important;
  letter-spacing:.02em;
  text-transform:none !important;
  border-radius:0 0 var(--ph-radius-md) 0 !important;
}
.pdb-tarif-btn:hover{ background:var(--ph-maroon) !important; }
.dynamic_product .btn-link.modal_popup.disabled{
  background:#e7e2d4 !important;
  color:#a49c8b !important;
}

@media (max-width:767px){
  .pdb-main{ flex-direction:column; }
  .pdb-main img{ width:100%; height:auto; max-width:220px; margin:0 auto; }
  .pdb-tarif{ border-left:none !important; border-top:1px solid var(--ph-border) !important; }
}

/* ============================================================
   8. MODALES
   ============================================================ */

.modal-content{
  border:none !important;
  border-radius:var(--ph-radius-lg) !important;
  box-shadow:var(--ph-shadow-lg) !important;
  overflow:hidden;
}
.product-user-block{ padding:28px 30px !important; }
.user-title{
  font-family:'Fraunces',serif !important;
  font-size:1.25rem !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  color:var(--ph-maroon) !important;
}
.user-txt{
  font-family:'Inter',sans-serif !important;
  font-size:.85rem !important;
  color:var(--ph-muted) !important;
  line-height:1.6 !important;
}
.close{
  border-color:var(--ph-border) !important;
  color:var(--ph-maroon) !important;
  text-shadow:none !important;
  opacity:.8 !important;
}
.close:hover{ opacity:1 !important; }

.bg-form{
  background:var(--ph-ivory) !important;
  border-radius:var(--ph-radius-md);
  padding:18px 16px 4px !important;
}
.form-control.user-form-control,
.user-select{
  border:1px solid var(--ph-border) !important;
  border-radius:var(--ph-radius-sm) !important;
  background:var(--ph-white) !important;
  font-family:'Inter',sans-serif !important;
  font-size:.88rem !important;
}
.user-form-control:focus, .user-select:focus{
  border:1.5px solid var(--ph-red) !important;
  color:var(--ph-dark) !important;
  box-shadow:0 0 0 3px rgba(240,46,44,.12) !important;
}
.user-label, label.user-label, .form-label-group label{
  font-family:'Inter',sans-serif !important;
  font-size:.7rem !important;
  letter-spacing:.03em;
  text-transform:uppercase;
  color:var(--ph-muted) !important;
  font-style:normal !important;
}
.pdb-tarif-web.t-20{ font-size:1.1rem !important; }

/* ============================================================
   9. RÉCAPITULATIF
   ============================================================ */

#bookingStep3{
  background:var(--ph-white);
  border-radius:var(--ph-radius-lg);
  box-shadow:var(--ph-shadow);
  margin-top:26px;
  padding:6px 6px 28px;
}
#bookingStep3 .row.bg-pale{
  background:var(--ph-ivory) !important;
  border-radius:var(--ph-radius-md);
}
#no-products{ font-size:.9rem; color:var(--ph-muted); }

.recap-block .card{
  border:none !important;
  border-radius:var(--ph-radius-md) !important;
  box-shadow:var(--ph-shadow);
  overflow:hidden;
}
.recap-block .card-header{
  background:var(--ph-maroon) !important;
  border:none !important;
}
.recap-fname{
  font-family:'Fraunces',serif !important;
  font-size:1rem !important;
  font-weight:500 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
  color:#fff !important;
}
.recap-pack{ color:rgba(255,255,255,.78) !important; }
.recap-block .card-header .fa{ color:#fff !important; opacity:.85; }
.recap-block .card-header .fa:hover{ opacity:1; }
.recap-txt-light{ color:var(--ph-muted) !important; opacity:1 !important; }
.recap-txt-bold{ color:var(--ph-dark) !important; opacity:1 !important; font-weight:600 !important; }
.recap-block hr{ border-color:var(--ph-border) !important; opacity:1 !important; }

/* ATTENTION — id="priceSummary" existe DEUX FOIS dans le HTML du
   moteur : le vrai récapitulatif dans #bookingStep3, et une reprise
   à l'identique dans #payment_modal (voir journal, section 3). Un
   sélecteur `#priceSummary` nu s'appliquerait aux deux. On scope
   donc systématiquement via l'ancêtre réel #bookingStep3 pour ne
   toucher QUE le récapitulatif principal. */
#bookingStep3 #priceSummary{
  border-radius:var(--ph-radius-md);
  padding:20px !important;
}
#bookingStep3 #priceSummary #final_total_price,
#bookingStep3 #priceSummary #deposit_total_price,
#bookingStep3 #priceSummary #balance_total_price{
  font-family:'Fraunces',serif;
  color:var(--ph-red);
  font-weight:600;
}

/* Sticky en bas de section uniquement — CE N'EST PAS un panneau
   latéral collé à droite. La page reste en une seule colonne ; ce
   bloc reste juste visible en bas de l'écran pendant qu'on parcourt
   la liste des équipements récapitulés, au lieu de sortir de l'écran.
   position:sticky ne déplace rien dans le DOM, ne modifie aucun
   comportement JS. Desktop large uniquement (V1 volontairement
   prudente, cf. journal). */
@media (min-width:992px){
  #bookingStep3 #priceSummary{
    position:sticky;
    bottom:0;
    z-index:5;
    box-shadow:0 -8px 24px rgba(22,21,18,.10);
  }
}

/* ============================================================
   TOASTS
   ============================================================ */

.toast{
  border:none !important;
  border-radius:var(--ph-radius-md) !important;
  box-shadow:var(--ph-shadow-lg) !important;
  font-family:'Inter',sans-serif !important;
}
.toast-header{
  background:var(--ph-maroon) !important;
  color:#fff !important;
  font-family:'Inter',sans-serif !important;
  letter-spacing:.02em !important;
  text-transform:none !important;
}

/* ============================================================
   10. FOOTER — composant réel de la homepage, copié verbatim
   (index.html, lignes 291-304), zéro approximation.
   ============================================================
   Le HTML utilise désormais un <footer> nu (comme la home), sans
   class="footer" ni id="footer" — donc les sélecteurs ci-dessous
   ciblent la balise "footer" elle-même, exactement comme sur la
   home, et n'héritent d'aucune ancienne règle du moteur (qui visait
   la classe .footer, désormais absente du HTML). Aucun media query
   n'est ajouté : la home n'en a aucun pour son footer (le flex-wrap
   de .wrap suffit à empiler proprement en mobile), donc on ne
   déclare rien de plus ici non plus. */

footer{background:#141310;color:#cfc9bc;padding:56px 24px 30px;}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px;align-items:flex-start;}
footer .flogo{display:flex;align-items:center;margin-bottom:6px;}
footer .flogo img{height:30px;width:auto;aspect-ratio:917/241;object-fit:contain;background:var(--maroon);border-radius:6px;padding:8px 12px;}
footer .finfo{font-size:.85rem;line-height:1.9;color:#a29c8e;}
footer .finfo a{color:#cfc9bc;}
footer .fcol h4{font-size:.75rem;letter-spacing:.08em;text-transform:uppercase;color:#8a8477;margin-bottom:10px;}
footer .fcol a{display:block;font-size:.85rem;color:#cfc9bc;margin-bottom:8px;}
footer .fcol a:hover{color:#fff;}
footer .socials{display:flex;gap:16px;}
footer .socials a{font-size:.85rem;color:#cfc9bc;border-bottom:1px solid transparent;}
footer .socials a:hover{border-color:#cfc9bc;}
footer .copy{margin-top:36px;padding-top:22px;border-top:1px solid rgba(255,255,255,.08);font-size:.78rem;color:#726c5f;text-align:center;}
footer .copy a{border-bottom:1px solid rgba(114,108,95,.5);}
footer .copy a:hover{color:#cfc9bc;border-color:#cfc9bc;}

/* .footer-bg est un élément décoratif SÉPARÉ du moteur (bandeau
   montagne dans la section récapitulatif de paiement), sans rapport
   avec le <footer> — conservé masqué comme avant, ce n'est pas la
   même chose que le footer du site. */
.footer-bg{ display:none !important; }

/* ============================================================
   RESPONSIVE GÉNÉRAL
   ============================================================ */

@media (max-width:767px){
  .title-txt{ font-size:1.5rem !important; }
  #bookingStep1, #bookingStep3{ padding:22px 14px 18px; }
  .modal-dialog{ margin:14px; }
  .product-user-block{ padding:20px 18px !important; }
}


.booking-data-notice{
  margin:4px 0 18px;
  color:#6f675b;
  font:400 .78rem/1.55 'Inter',sans-serif;
  text-align:left;
}
.booking-data-notice a{
  color:var(--ph-red);
  text-decoration:underline;
  text-underline-offset:2px;
}


/* --------------------------------------------------------------------------
   Booking pack modal — standardise the two actions on larger viewports.
   Mobile presentation intentionally remains stacked/full-width.
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .product-user-block .pack-modal-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 12px;
  }

  .product-user-block .pack-modal-actions .user-form-btn {
    display: flex;
    flex: 1 1 0;
    width: auto;
    max-width: 230px;
    margin: 0;
    padding: 0;
  }

  .product-user-block .pack-modal-actions .user-form-btn > a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 10px 16px;
    text-align: center;
    line-height: 1.25;
    white-space: normal;
  }
}

@media (max-width: 767.98px) {
  .product-user-block .pack-modal-actions {
    display: block;
  }

  .product-user-block .pack-modal-actions .user-form-btn {
    width: 100%;
    max-width: none;
  }

  .product-user-block .pack-modal-actions .user-form-btn + .user-form-btn {
    margin-top: 10px;
  }
}


/* ============================================================
   PAYMENT CONFIRMATION MODAL
   Scoped deliberately to the outer Bootstrap modal
   <div class="modal ..." id="payment_modal">.
   The legacy markup also contains a duplicate inner id; avoid
   unscoped #payment_modal rules elsewhere.
   ============================================================ */

.modal#payment_modal .modal-dialog{
  max-width:680px;
  margin:1.75rem auto;
}

.modal#payment_modal .modal-content{
  background:#fff;
  border:0 !important;
  border-radius:22px !important;
  box-shadow:0 24px 70px rgba(22,21,18,.24) !important;
  overflow:hidden;
}

.modal#payment_modal .product-user-block{
  padding:26px 30px 30px;
}

/* Close control */
.modal#payment_modal .close{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  padding:0 !important;
  margin:0 !important;
  border:1px solid var(--ph-border) !important;
  border-radius:50% !important;
  background:#fff !important;
  color:var(--ph-red) !important;
  font-size:22px !important;
  line-height:1 !important;
  font-weight:400 !important;
  opacity:1 !important;
  text-shadow:none !important;
  transition:background .2s var(--ph-ease),
             border-color .2s var(--ph-ease),
             transform .18s var(--ph-ease);
}

.modal#payment_modal .close:hover{
  background:var(--ph-linen) !important;
  border-color:var(--ph-red) !important;
  color:var(--ph-maroon) !important;
  transform:translateY(-1px);
}

/* Transaction / amount summary */
.modal#payment_modal #priceSummary{
  margin:14px 0 10px !important;
  padding:26px 24px !important;
  background:var(--ph-linen) !important;
  border:0 !important;
  border-radius:14px;
}

.modal#payment_modal #priceSummary .row{
  margin-left:0;
  margin-right:0;
}

.modal#payment_modal #priceSummary .recap-txt-bold{
  font-family:'Inter',sans-serif !important;
  font-size:.9rem !important;
  line-height:1.45;
  font-weight:700 !important;
  letter-spacing:.01em;
  color:var(--ph-dark) !important;
}

/* Give the totals a little more visual separation. */
.modal#payment_modal #priceSummary .row:nth-child(3){
  margin-top:10px;
  padding-top:18px;
  border-top:1px solid rgba(22,21,18,.10);
}

.modal#payment_modal #priceSummary .row:nth-child(4){
  margin-top:4px;
}

/* Action area */
.modal#payment_modal .product-user-block > .row:last-child{
  margin-top:10px;
}

.modal#payment_modal .product-user-block > .row:last-child > div{
  flex:0 0 100%;
  max-width:100%;
  margin-left:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
}

/* Shared dimensions */
.modal#payment_modal .product-user-block > .row:last-child .btn-praz{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:330px;
  min-height:48px;
  margin:0 !important;
  padding:12px 24px !important;
  border-radius:100px !important;
  font-size:.88rem !important;
  font-weight:600 !important;
  text-align:center;
}

/* Annuler — secondary / outline */
.modal#payment_modal .product-user-block > .row:last-child .btn-praz:first-child{
  background:#fff !important;
  color:var(--ph-red) !important;
  border:1.5px solid var(--ph-red) !important;
  box-shadow:none !important;
}

.modal#payment_modal .product-user-block > .row:last-child .btn-praz:first-child:hover{
  background:var(--ph-linen) !important;
  color:var(--ph-maroon) !important;
  border-color:var(--ph-maroon) !important;
}

/* Poursuivre — primary */
.modal#payment_modal .product-user-block > .row:last-child .btn-praz:last-child{
  background:var(--ph-red) !important;
  color:#fff !important;
  border:1.5px solid var(--ph-red) !important;
}

.modal#payment_modal .product-user-block > .row:last-child .btn-praz:last-child:hover{
  background:var(--ph-maroon) !important;
  border-color:var(--ph-maroon) !important;
  color:#fff !important;
}

/* Mobile: preserve compact proportions. */
@media (max-width:575.98px){
  .modal#payment_modal .modal-dialog{
    margin:10px 7px;
  }

  .modal#payment_modal .modal-content{
    border-radius:20px !important;
  }

  .modal#payment_modal .product-user-block{
    padding:22px 20px 26px;
  }

  .modal#payment_modal #priceSummary{
    padding:22px 16px !important;
  }

  .modal#payment_modal #priceSummary .recap-txt-bold{
    font-size:.83rem !important;
  }

  .modal#payment_modal .product-user-block > .row:last-child .btn-praz{
    max-width:100%;
  }
}
