/* Parenthèse Bien Naître : compléments à la feuille de style d'origine (live.css).
   Remplace ce que faisait le JavaScript de Site Creator : menu déroulant, menu mobile,
   formulaire de contact, affichage des images. */

/* images : plus de chargement différé par script */
img.lazy{opacity:1 !important;}

/* menu principal : sous-menu Prestations */
.ko_Theme .menuHolder > li{position:relative;}
.ko_Theme .menuHolder > li > a .pbn-chevron{font-size:.7em;margin-left:6px;vertical-align:middle;}
.pbn-sub{
  display:none;position:absolute;top:calc(100% + 6px);left:0;z-index:60;
  min-width:270px;margin:0;padding:8px 0;list-style:none;
  background:#fff;border-radius:10px;box-shadow:0 14px 34px -14px rgba(88,71,67,.35);
}
.pbn-sub::before{content:"";position:absolute;left:0;right:0;top:-8px;height:8px;}
.ko_Theme .menuHolder > li:hover > .pbn-sub,
.ko_Theme .menuHolder > li:focus-within > .pbn-sub{display:block;}
.ko_Theme .pbn-sub li{display:block;padding:0;}
.ko_Theme .pbn-sub a{
  display:block;padding:10px 18px !important;border:0 !important;background:transparent !important;
  text-transform:none !important;font-weight:500 !important;font-size:15px !important;
  color:#60656e !important;letter-spacing:0 !important;border-radius:0 !important;
}
.ko_Theme .pbn-sub a:hover,.ko_Theme .pbn-sub a:focus{background:var(--color1_25) !important;color:var(--color2) !important;}

/* panier / boutique */
.ko_Theme .menuHolder > li.pbn-shop-icon a{padding:5px 0;}

/* bouton du menu mobile */
.pbn-burger{
  display:none;align-items:center;justify-content:center;width:44px;height:44px;
  border:1px solid var(--color1);border-radius:50%;background:#fff;color:var(--color2);
  font-size:18px;cursor:pointer;
}
@media (max-width:991.98px){
  #headerMenu .container{position:relative;}
  .pbn-burger{display:inline-flex;}
  .ko_Theme #header .menuHolder{
    display:none !important;position:absolute;top:100%;left:0;right:0;z-index:70;
    flex-direction:column;align-items:stretch;gap:6px;margin:0;padding:14px 20px 20px;
    background:#fff;box-shadow:0 18px 30px -18px rgba(0,0,0,.3);
  }
  .ko_Theme #header.pbn-open .menuHolder{display:flex !important;}
  .ko_Theme #header .menuHolder > li{display:block !important;margin:0 !important;}
  .ko_Theme #header .menuHolder > li > a{display:inline-block;padding:10px 0;margin:0 !important;}
  .ko_Theme #header .menuHolder > li.accent1 > a,
  .ko_Theme #header .menuHolder > li.accent2 > a{padding:8px 14px;}
  .pbn-sub{display:block;position:static;box-shadow:none;min-width:0;padding:4px 0 4px 14px;background:transparent;}
  .pbn-sub::before{display:none;}
  .ko_Theme .pbn-sub a{padding:7px 0 !important;}
}

/* sélecteur de devise (pages du jeu) */
.pbn-currency-li{display:flex;align-items:center;}
.pbn-currency{display:inline-flex;border:1px solid var(--color1);border-radius:999px;overflow:hidden;}
.pbn-currency button{
  font-family:Roboto,sans-serif;font-size:12.5px;font-weight:700;letter-spacing:.03em;
  padding:6px 12px;border:0;background:#fff;color:#60656e;cursor:pointer;line-height:1.2;
}
.pbn-currency button[aria-pressed="true"]{background:var(--color1);color:#fff;}

/* formulaire de contact (remplace celui de Site Creator) */
.pbn-contact{max-width:640px;margin:0 auto;background:#fff;border-radius:12px;padding:32px;box-shadow:0 14px 34px -22px rgba(0,0,0,.35);}
.pbn-contact h3{margin-bottom:18px;}
.pbn-contact .pbn-field{display:flex;flex-direction:column;gap:6px;margin-bottom:16px;}
.pbn-contact label{font-weight:700;font-size:14px;color:#584743;}
.pbn-contact input,.pbn-contact textarea{
  font:inherit;font-size:15px;padding:11px 13px;border:1px solid #ddd2cf;border-radius:8px;background:#fcfbfa;color:#212529;
}
.pbn-contact textarea{min-height:150px;resize:vertical;}
.pbn-contact .pbn-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.pbn-contact .pbn-status{display:none;border-radius:8px;padding:12px 14px;margin-bottom:16px;font-weight:700;font-size:14px;}
.pbn-contact .pbn-status.ok{display:block;background:#eef3ea;color:#3e5b33;}
.pbn-contact .pbn-status.ko{display:block;background:#fbeceb;color:#8a2c25;}

/* achat Stripe sur les fiches produit */
.pbn-buy{display:flex;flex-direction:column;gap:12px;align-items:flex-start;margin-top:8px;}
.pbn-buy select{font:inherit;padding:10px 12px;border:1px solid #ddd2cf;border-radius:8px;min-width:280px;max-width:100%;}
.pbn-pay-note{display:none;font-size:14px;color:#8a5a00;background:#fff3d6;border-radius:8px;padding:10px 12px;}
.pbn-pay-note.show{display:block;}
.pbn-pay-hint{font-size:13px;color:#877671;}

/* page 404 */
.pbn-404{text-align:center;padding:90px 20px;}
.pbn-404 h1{font-family:Aclonica,serif;font-size:clamp(28px,4vw,40px);}
.pbn-404 p{color:#877671;margin:14px 0 26px;}

/* éléments « lazy » de Site Creator : visibles d'emblée */
.lazy{opacity:1 !important;}

/* visionneuse photo (remplace Magnific Popup) */
.pbn-lb{position:fixed;inset:0;z-index:200;background:rgba(20,16,15,.92);display:flex;align-items:center;justify-content:center;padding:20px;}
.pbn-lb[hidden]{display:none !important;}
.pbn-lb img{max-width:100%;max-height:88vh;border-radius:6px;box-shadow:0 20px 60px rgba(0,0,0,.5);}
.pbn-lb button{position:absolute;background:rgba(255,255,255,.14);color:#fff;border:0;border-radius:50%;width:48px;height:48px;font-size:22px;cursor:pointer;}
.pbn-lb .pbn-lb-close{top:18px;right:18px;}
.pbn-lb .pbn-lb-prev{left:18px;top:50%;transform:translateY(-50%);}
.pbn-lb .pbn-lb-next{right:18px;top:50%;transform:translateY(-50%);}

/* pages de vente en mode tunnel (adresses /jeu et /jeu-pro) : logo seul en haut, pas de menu */
.pbn-tunnel #header .menuHolder,.pbn-tunnel .pbn-burger{display:none !important;}
.pbn-tunnel #footerContent .keditFooterMenu .sitemap:first-child{display:none;}
.pbn-tunnel #website #pbn .crumbs{display:none;}
