/* Public booking page (/kit-media/reserver): Abondance colours, Outfit titles, Roboto text, never Arial. */
.abe-booking {
	--abe-blue: #3c61d8;
	--abe-blue-pale: #ecf3ff;
	--abe-night: #011627;
	--abe-orange: #f26419;
	--abe-grey: #e8e8e8;
	font-family: 'Roboto', sans-serif;
	color: var(--abe-night);
	font-size: 16px;
	line-height: 1.5;
	max-width: 1080px;
	margin: 0 auto 40px;
}
.abe-booking h2, .abe-booking h3, .abe-booking legend { font-family: 'Outfit', sans-serif; font-weight: 600; color: var(--abe-night); }
.abe-booking h2 { font-size: 24px; margin: 0 0 12px !important; }
.abe-block { border: 1px solid var(--abe-grey); border-radius: 8px; padding: 20px 24px; margin: 0 0 24px; background: #fff; }
.abe-block legend { font-size: 20px; padding: 0 8px; }
.abe-step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--abe-blue); color: #fff; font-size: 15px; margin-right: 6px; }
.abe-field { margin: 0 0 14px; }
.abe-field > label { display: block; font-weight: 500; margin-bottom: 4px; }
.abe-field input[type="text"], .abe-field input[type="email"], .abe-field input[type="tel"], .abe-field input[type="url"], .abe-field textarea, .abe-field select {
	width: 100%; max-width: 560px; box-sizing: border-box; padding: 10px 12px; border: 1px solid #c9cfd8; border-radius: 6px;
	font: inherit; color: inherit; background: #fff; text-transform: none;
}
.abe-booking ::placeholder { text-transform: none; }
.abe-help { display: block; font-size: 14px; color: #4a5563; margin-top: 4px; }
.abe-req { color: var(--abe-orange); }
.abe-legend { font-size: 14px; color: #4a5563; }
.abe-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; margin: 0 4px 0 8px; }
.abe-dot-push { background: var(--abe-blue); }
.abe-dot-dedie { background: var(--abe-orange); }
.abe-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 16px 0; align-items: start; }
/* One <details> per month: the next 3 are open, the later ones folded (UX audit, 15/10/2026). */
.abe-month summary { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; cursor: pointer; list-style: none; padding: 4px 0; margin: 0 0 8px; }
.abe-month summary::-webkit-details-marker { display: none; }
.abe-month summary::before { content: ""; width: 7px; height: 7px; border: solid var(--abe-night); border-width: 0 2px 2px 0; transform: rotate(-45deg); margin-right: 2px; align-self: center; transition: transform .15s; }
.abe-month[open] summary::before { transform: rotate(45deg); }
.abe-month summary h3 { font-size: 17px; margin: 0 !important; display: inline; }
.abe-month-free { font-size: 14px; color: #4a5563; }
.abe-month summary:focus-visible { outline: 2px solid var(--abe-blue); outline-offset: 2px; border-radius: 4px; }
.abe-month ul { list-style: none; margin: 0; padding: 0; }
.abe-slot { display: flex; gap: 6px; align-items: flex-start; padding: 8px 10px; margin: 0 0 6px; border-radius: 6px; background: var(--abe-blue-pale); cursor: pointer; }
.abe-slot .abe-dot { margin: 7px 2px 0; }
.abe-slot input { margin-top: 4px; }
.abe-slot:has(input:checked) { background: #dce6fb; outline: 2px solid var(--abe-blue); }
.abe-slot:has(input:focus-visible) { outline: 3px solid var(--abe-night); outline-offset: 2px; }
.abe-slot.is-off { background: #f4f5f7; color: #5f6773; cursor: not-allowed; }
.abe-slot-day { display: block; text-transform: none; }
.abe-slot-day::first-letter { text-transform: uppercase; } /* "Mardi 27 octobre": only the weekday takes a capital */
.abe-slot-type { display: block; font-size: 14px; color: #4a5563; }
.abe-slot.is-off .abe-slot-type { color: #5f6773; }
.abe-field input:focus-visible, .abe-field textarea:focus-visible, .abe-field select:focus-visible, .abe-booking button.abe-submit:focus-visible { outline: 3px solid var(--abe-night); outline-offset: 2px; }
.abe-total { background: var(--abe-night); color: #fff; padding: 12px 16px; border-radius: 8px; margin: 16px 0 0; }
.abe-total strong { color: #fff; }
/* Floating copy of the total, shown by public.js while the dates scroll by. position: sticky does not work here:
   the theme puts overflow on <body>. Kept narrow so it never covers the floating buttons in the corners.
   It lives outside .abe-booking (appended to body), so its colours are literal, not --abe-* variables. */
.abe-total-float { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9990; width: max-content; max-width: calc(100% - 150px); box-sizing: border-box;
	background: #011627; color: #fff; padding: 10px 16px; border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: 15px; line-height: 1.3; text-align: center; box-shadow: 0 4px 16px rgba(1, 22, 39, .25); }
.abe-total-float[hidden] { display: none; }
.abe-errors { border: 1px solid var(--abe-orange); background: #fff4ec; border-radius: 8px; padding: 12px 16px; margin: 0 0 24px; }
.abe-file-errors { display: block; color: #b23c00; font-size: 14px; }
.abe-mentions { font-size: 14px; padding-left: 18px; }
.abe-rgpd { font-size: 13px; color: #4a5563; }
.abe-booking button.abe-submit { background: var(--abe-blue) !important; color: #fff !important; border: 0; border-radius: 6px; padding: 14px 24px; font-family: 'Outfit', sans-serif; font-weight: 600; font-size: 17px; cursor: pointer; text-transform: none; }
.abe-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) {
	.abe-block { padding: 16px; }
	.abe-months { grid-template-columns: 1fr; }
	/* Two compact dates per row on a phone: the 12 months no longer take 11 000 px. */
	.abe-month ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
	.abe-slot { margin: 0; padding: 6px 8px; gap: 4px; font-size: 15px; line-height: 1.3; height: 100%; box-sizing: border-box; }
	.abe-slot .abe-dot { display: none; }
	.abe-slot input { margin-top: 2px; }
	.abe-slot-type { font-size: 13px; }
}
