/* Bookdo « Ouverture » : panneau qui monte du bas, sur téléphone comme sur ordinateur. */
.bookdo-panel { position: fixed; inset: 0; z-index: 100000; }
.bookdo-panel[hidden] { display: none; }
.bookdo-panel__fond { position: absolute; inset: 0; background: rgba(30, 24, 19, .45); opacity: 0; transition: opacity .26s ease; }
.bookdo-panel__feuille {
	position: absolute; left: 50%; bottom: 0; display: flex; flex-direction: column;
	width: min(100%, 600px); height: min(92dvh, 92vh); box-sizing: border-box;
	background: var(--sr-surface, #fbf8f4); border-radius: 20px 20px 0 0; box-shadow: 0 -18px 50px -20px rgba(30, 24, 19, .5);
	transform: translate(-50%, 100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); outline: none;
}
.bookdo-panel.est-ouvert .bookdo-panel__fond { opacity: 1; }
.bookdo-panel.est-ouvert .bookdo-panel__feuille { transform: translate(-50%, 0); }
.bookdo-panel__haut { position: relative; flex: none; height: 44px; }
.bookdo-panel__poignee { position: absolute; top: 10px; left: 50%; width: 42px; height: 4px; margin-left: -21px; border-radius: 4px; background: rgba(46, 42, 37, .2); }
.bookdo-panel__fermer {
	position: absolute; top: 6px; right: 10px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(46, 42, 37, .07); color: #2e2a25; cursor: pointer;
}
.bookdo-panel__fermer:hover, .bookdo-panel__fermer:focus-visible { background: rgba(46, 42, 37, .14); }
.bookdo-panel__fermer:focus-visible { outline: 2px solid var(--sr-cta, #7b5a2e); outline-offset: 2px; }
.bookdo-panel__corps { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 16px; -webkit-overflow-scrolling: touch; }
/* Le module remplit au moins toute la hauteur : son bouton du bas se cale en bas du panneau, sans espace dessous. */
.bookdo-panel__corps > bookdo-booking, .bookdo-panel__corps > bookdo-giftcards { display: block; min-height: 100%; }
html.bookdo-panel-ouvert, html.bookdo-panel-ouvert body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
	.bookdo-panel__fond, .bookdo-panel__feuille { transition: none; }
}
/* Barre de défilement masquée (on fait toujours défiler à la molette, au doigt ou au clavier). */
.bookdo-panel__corps { scrollbar-width: none; -ms-overflow-style: none; }
.bookdo-panel__corps::-webkit-scrollbar { display: none; width: 0; height: 0; }
/* Poignée : toute la bande du haut se tire (hauteur du panneau), le trait s'assombrit au survol. */
.bookdo-panel__haut { cursor: grab; touch-action: none; user-select: none; }
.bookdo-panel__feuille.est-tiree { transition: none; }
.bookdo-panel__feuille.est-tiree .bookdo-panel__haut { cursor: grabbing; }
.bookdo-panel__poignee { width: 54px; height: 5px; margin-left: -27px; top: 12px; transition: background .2s ease; }
.bookdo-panel__haut:hover .bookdo-panel__poignee, .bookdo-panel__feuille.est-tiree .bookdo-panel__poignee { background: rgba(46, 42, 37, .42); }
