/* ByBellavista Réservation. Les polices sont celles du thème WordPress. */
.bbv-res {
	--bbv-marine: #0f3550;
	--bbv-bleu: #1c5f7a;
	--bbv-clair: #dceff4;
	--bbv-turquoise: #8cc5d6;
	--bbv-orange: #f2a04a;
	--bbv-gris: #eceff1;
	--bbv-gris-texte: #5b6770;
	--bbv-erreur: #b32d2e;
	max-width: 860px;
	margin: 0 auto;
	color: var(--bbv-marine);
	font-family: inherit;
	line-height: 1.5;
	box-sizing: border-box;
}
.bbv-res *, .bbv-res *::before, .bbv-res *::after { box-sizing: inherit; }
.bbv-res [hidden] { display: none !important; }

.bbv-res__bloc {
	position: relative;
	background: #fff;
	border: 1px solid #d9e3e7;
	border-radius: 14px;
	padding: 20px;
	margin: 0 0 16px;
}
.bbv-res__label { display: block; margin: 0 0 12px; font-weight: 700; font-size: 1.05em; }
.bbv-res__logement-fixe { margin: 0; font-size: 1.25em; font-weight: 700; }
.bbv-res__select {
	width: 100%;
	max-width: 380px;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #b7c7ce;
	border-radius: 10px;
	background: #fff;
	color: var(--bbv-marine);
	font: inherit;
}

/* Calendrier */
.bbv-res__nav { position: absolute; top: 14px; right: 16px; display: flex; gap: 8px; }
.bbv-res__nav button {
	width: 44px; height: 44px; padding: 0;
	border: 1px solid #b7c7ce; border-radius: 50%;
	background: #fff; color: var(--bbv-marine);
	font-size: 24px; line-height: 1; cursor: pointer;
}
.bbv-res__nav button:hover:not(:disabled) { background: var(--bbv-clair); }
.bbv-res__nav button:disabled { opacity: .35; cursor: default; }
.bbv-res__chargement { margin: 24px 0; color: var(--bbv-gris-texte); }
.bbv-res__mois-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.bbv-res__mois-titre { margin: 0 0 8px; text-align: center; font-weight: 700; }
.bbv-res__jours { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px 0; }
.bbv-res__entete { text-align: center; text-decoration: none; font-size: .8em; font-weight: 600; color: var(--bbv-gris-texte); padding-bottom: 4px; }
.bbv-res__jour {
	height: 40px; margin: 0; padding: 0;
	border: 0; border-radius: 0;
	background: transparent; color: var(--bbv-marine);
	font: inherit; font-size: .95em; cursor: pointer;
}
.bbv-res__jour.is-libre, .bbv-res__jour.is-possible { border-radius: 8px; }
.bbv-res__jour.is-libre:hover, .bbv-res__jour.is-possible:hover { background: var(--bbv-clair); }
.bbv-res__jour:focus-visible { outline: 2px solid var(--bbv-bleu); outline-offset: -2px; border-radius: 8px; }
.bbv-res__jour:disabled { cursor: default; }
.bbv-res__jour.is-passe { color: #a9b3b9; }
.bbv-res__jour.is-occupe { background: var(--bbv-gris); color: #8a959c; text-decoration: line-through; }
.bbv-res__jour.is-occupe-depart { text-decoration: none; background: linear-gradient(135deg, transparent 50%, var(--bbv-gris) 50%); }
.bbv-res__jour.is-hors, .bbv-res__jour.is-court { color: #a9b3b9; }
.bbv-res__jour.is-dans { background: var(--bbv-clair); }
.bbv-res__jour.is-debut, .bbv-res__jour.is-fin { background: var(--bbv-marine); color: #fff; font-weight: 700; }
.bbv-res__jour.is-debut { border-radius: 8px 0 0 8px; }
.bbv-res__jour.is-fin { border-radius: 0 8px 8px 0; }

.bbv-res__legende { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; padding: 0; list-style: none; font-size: .9em; color: var(--bbv-gris-texte); }
.bbv-res__legende li { display: flex; align-items: center; gap: 8px; margin: 0; }
.bbv-res__puce { width: 16px; height: 16px; border-radius: 4px; border: 1px solid #b7c7ce; }
.bbv-res__puce--occupe { background: var(--bbv-gris); border-color: var(--bbv-gris); }
.bbv-res__puce--choix { background: var(--bbv-marine); border-color: var(--bbv-marine); }
.bbv-res__alerte { margin: 12px 0 0; padding: 10px 12px; border-radius: 8px; background: #fdf1e2; font-size: .9em; }

.bbv-res__recap {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
	margin: 16px 0 0; padding: 12px 16px;
	border-radius: 10px; background: var(--bbv-clair);
}
.bbv-res__recap-texte { margin: 0; font-weight: 600; flex: 1 1 260px; }
.bbv-res__reset {
	min-height: 40px; padding: 6px 14px;
	border: 1px solid var(--bbv-bleu); border-radius: 20px;
	background: #fff; color: var(--bbv-bleu);
	font: inherit; font-size: .9em; cursor: pointer;
}

/* Formulaire */
.bbv-res__grille-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; }
.bbv-res__champ { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.bbv-res__champ--large { grid-column: 1 / -1; }
.bbv-res__champ label { font-weight: 600; font-size: .95em; }
.bbv-res__facultatif { font-weight: 400; color: var(--bbv-gris-texte); }
.bbv-res__champ input, .bbv-res__champ textarea, .bbv-res__champ select {
	width: 100%; min-height: 44px; padding: 8px 12px;
	border: 1px solid #b7c7ce; border-radius: 10px;
	background: #fff; color: var(--bbv-marine); font: inherit;
}
.bbv-res__champ input:focus, .bbv-res__champ textarea:focus, .bbv-res__select:focus {
	outline: 2px solid var(--bbv-turquoise); outline-offset: 1px; border-color: var(--bbv-bleu);
}
.bbv-res__capacite { margin: 10px 0 0; font-size: .9em; color: var(--bbv-gris-texte); }
.bbv-res__pot { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.bbv-res__consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 0; font-size: .95em; }
.bbv-res__consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.bbv-res__note { margin: 14px 0 0; padding: 12px 14px; border-left: 0; border-radius: 10px; background: #f6f8f9; font-size: .9em; color: var(--bbv-gris-texte); }
.bbv-res__erreur { margin: 14px 0 0; padding: 10px 14px; border-radius: 10px; background: #fbeaea; color: var(--bbv-erreur); font-weight: 600; }
.bbv-res__envoyer {
	display: block; width: 100%; min-height: 52px; margin: 18px 0 0; padding: 12px 20px;
	border: 0; border-radius: 12px;
	background: var(--bbv-orange); color: var(--bbv-marine);
	font: inherit; font-weight: 700; font-size: 1.05em; cursor: pointer;
}
.bbv-res__envoyer:hover:not(:disabled) { background: #e8903a; }
.bbv-res__envoyer:disabled { opacity: .6; cursor: wait; }

.bbv-res__merci { background: var(--bbv-clair); border-color: var(--bbv-turquoise); }
.bbv-res__merci p { margin: 0 0 6px; }
.bbv-res__merci-titre { font-weight: 700; font-size: 1.15em; }

@media (max-width: 620px) {
	.bbv-res__bloc { padding: 16px; }
	.bbv-res__grille-champs { grid-template-columns: 1fr; }
	.bbv-res__nav { top: 10px; right: 10px; }
	.bbv-res__label { padding-right: 104px; }
}

/* Prix */
.bbv-res__jour { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 48px; line-height: 1.1; }
.bbv-res__p { margin-top: 2px; font-size: .68em; color: var(--bbv-bleu); white-space: nowrap; }
.bbv-res__jour.is-debut .bbv-res__p, .bbv-res__jour.is-fin .bbv-res__p { color: #fff; }
.bbv-res__jour.is-hors .bbv-res__p, .bbv-res__jour.is-court .bbv-res__p { color: #a9b3b9; }
.bbv-res__prix { margin: 18px 0 0; padding: 14px 16px; border: 1px solid var(--bbv-turquoise); border-radius: 10px; background: #fff; }
.bbv-res__prix-titre { margin: 0 0 8px; font-weight: 700; }
.bbv-res__prix-table { width: 100%; margin: 0; border-collapse: collapse; border: 0; font-size: .95em; }
.bbv-res__prix-table td { padding: 4px 0; border: 0; background: transparent; }
.bbv-res__prix-table td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.bbv-res__prix-total td { padding-top: 8px; border-top: 1px solid #d9e3e7; font-weight: 700; font-size: 1.05em; }
.bbv-res__prix-note { margin: 8px 0 0; font-size: .85em; color: var(--bbv-gris-texte); }
@media (max-width: 420px) { .bbv-res__p { font-size: .6em; } }

/* Linge de maison */
.bbv-res__linge { margin: 18px 0 0; padding: 14px 16px; border: 1px solid #d9e3e7; border-radius: 10px; min-width: 0; }
.bbv-res__linge legend { padding: 0 6px; font-weight: 700; }
.bbv-res__linge-desc { margin: 0 0 8px; font-size: .88em; color: var(--bbv-gris-texte); }
.bbv-res__linge-ligne { margin: 10px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.bbv-res__linge-ligne select { min-height: 44px; padding: 6px 10px; border: 1px solid #b7c7ce; border-radius: 10px; background: #fff; color: var(--bbv-marine); font: inherit; }
.bbv-res__linge-case { flex-wrap: nowrap; align-items: flex-start; }
.bbv-res__linge-case input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; }
.bbv-res__options-titre { margin: 16px 0 8px; font-weight: 700; }
.bbv-res__menage + label .bbv-res__facultatif { display: block; margin-top: 2px; }

/* Bandeau de prix fixe en bas de l'écran */
.bbv-res--barre { padding-bottom: 84px; }
.bbv-res__barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--bbv-marine); color: #fff; box-shadow: 0 -4px 16px rgba(15, 53, 80, .25); }
.bbv-res__barre-in { max-width: 860px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bbv-res__barre-txt { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.bbv-res__barre-sejour { font-size: .85em; opacity: .85; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bbv-res__barre-total { font-size: 1.15em; }
.bbv-res__barre-btn { flex: none; min-height: 44px; padding: 8px 16px; border: 0; border-radius: 22px; background: var(--bbv-orange); color: var(--bbv-marine); font: inherit; font-weight: 700; cursor: pointer; }
