/* Bohey — look of the bohey-core/reservation block (mockup v2, reservation.html): the paper card of the forms,
   the numbered steps, the calendar, the time buttons, and the side cards "Pour aujourd'hui ?" / "Plus de 20 personnes ?".
   WordPress may print this file inline: url() paths are written out in full, never through variables. */

.bohey-resa { box-sizing: border-box; padding: 22px 18px 26px; border-radius: 18px; background: var(--wp--preset--color--papier); box-shadow: var(--wp--preset--shadow--douce); color: var(--wp--preset--color--encre); font-family: var(--wp--preset--font-family--source-sans); }
@media (min-width: 700px) { .bohey-resa { padding: 34px 36px 36px; } }
.bohey-resa a { color: var(--wp--preset--color--accent); }

/* Tabs */
.bohey-resa__choix { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 26px; padding: 5px; border-radius: 10px; background: var(--wp--preset--color--kraft); }
.bohey-resa__choix button { min-height: 46px; padding: 8px; border: 0; border-radius: 7px; background: transparent; color: var(--wp--preset--color--brun); font: 700 .95rem/1.2 var(--wp--preset--font-family--source-sans); cursor: pointer; }
.bohey-resa__choix button[aria-selected="true"] { background: var(--wp--preset--color--bois); color: var(--wp--preset--color--creme); }
.bohey-resa__titre { margin: 0 0 18px; font-size: 1.6rem; }
.bohey-resa__panneau + .bohey-resa__panneau:not([role]) { margin-top: 40px; padding-top: 28px; border-top: 1px dashed rgba(106, 82, 67, .35); } /* without JavaScript, both forms one under the other */

/* Steps and fields */
.bohey-resa__etape legend { margin-bottom: 14px; font: 700 1.3rem/1.2 var(--wp--preset--font-family--fraunces); font-variation-settings: "SOFT" 100; color: var(--wp--preset--color--encre); }
.bohey-resa__etape legend span { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--wp--preset--color--rouge); color: var(--wp--preset--color--blanc); font: 700 .95rem/1 var(--wp--preset--font-family--source-sans); }
.bohey-resa__champ label { margin-bottom: 6px; font-size: .98rem; font-weight: 700; }
.bohey-resa__facultatif { font-weight: 400; }
.bohey-resa__aide { display: block; margin: 6px 0 0; color: var(--wp--preset--color--brun); font-size: .88rem; }
.bohey-resa__champ input:not([type="radio"]):not([type="checkbox"]), .bohey-resa__champ select, .bohey-resa__champ textarea {
	min-height: 50px; padding: 10px 14px; border: 2px solid #CDB9A1; border-radius: 8px; background: var(--wp--preset--color--blanc); color: var(--wp--preset--color--encre); font: 400 1.05rem/1.4 var(--wp--preset--font-family--source-sans);
}
.bohey-resa__champ textarea { min-height: 110px; resize: vertical; }
.bohey-resa__champ :is(input, select, textarea):focus { outline: none; border-color: var(--wp--preset--color--bois); box-shadow: 0 0 0 3px rgba(242, 198, 109, .6); }
.bohey-resa__champ [aria-invalid="true"] { border-color: var(--wp--preset--color--rouge-fonce) !important; }
.bohey-resa__champ ::placeholder { color: #8A7768; opacity: 1; }

/* Party counters */
.bohey-resa__compteur { overflow: hidden; border: 2px solid #CDB9A1; border-radius: 8px; background: var(--wp--preset--color--blanc); }
.bohey-resa__compteur button { height: 50px; border: 0; background: var(--wp--preset--color--kraft); color: var(--wp--preset--color--encre); font: 700 1.4rem/1 var(--wp--preset--font-family--source-sans); cursor: pointer; }
.bohey-resa__compteur button:hover { background: var(--wp--preset--color--creme); }
.bohey-resa__champ .bohey-resa__compteur input { min-height: 50px; padding: 0; border: 0; border-radius: 0; font: 700 1.25rem/1 var(--wp--preset--font-family--fraunces); font-variation-settings: "SOFT" 100; }
.bohey-resa__champ .bohey-resa__compteur input:focus { box-shadow: inset 0 0 0 3px rgba(242, 198, 109, .8); }

/* Notes and errors */
.bohey-resa__alerte, .bohey-resa__erreurs { margin: 12px 0 0; padding: 12px 14px; border-radius: 8px; background: #FBE3D6; color: var(--wp--preset--color--encre); font-size: .95rem; }
.bohey-resa__alerte .bohey-icone { margin-top: 2px; color: var(--wp--preset--color--accent); }
.bohey-resa__erreurs { margin: 0 0 22px; border-left: 4px solid var(--wp--preset--color--rouge); }
.bohey-resa__erreurs p { margin: 0 0 4px; font-weight: 700; }
.bohey-resa__erreurs ul { margin: 0; padding-left: 1.2em; }
.bohey-resa__erreurs a { color: var(--wp--preset--color--rouge-fonce); }
.bohey-resa__erreur { margin: 6px 0 0; color: var(--wp--preset--color--rouge-fonce); font-size: .9rem; font-weight: 600; }
.bohey-resa__evenement { margin: 0 0 12px; padding: 10px 14px; border-radius: 8px; background: var(--wp--preset--color--kraft); font-weight: 600; }

/* Calendar */
.bohey-resa__calendrier { box-sizing: border-box; max-width: 420px; padding: 12px; border: 2px solid #E2D3BF; border-radius: 12px; background: var(--wp--preset--color--blanc); }
.bohey-resa__cal-tete { margin-bottom: 8px; }
.bohey-resa__cal-tete strong { font: 700 1.15rem/1 var(--wp--preset--font-family--fraunces); font-variation-settings: "SOFT" 100; text-transform: capitalize; }
.bohey-resa__cal-nav { width: 40px; height: 40px; border: 0; border-radius: 8px; background: var(--wp--preset--color--kraft); color: var(--wp--preset--color--encre); cursor: pointer; }
.bohey-resa__cal-nav:disabled { opacity: .35; cursor: not-allowed; }
.bohey-resa__cal-jsem { padding: 6px 0; color: var(--wp--preset--color--brun); font: 700 .75rem/1 var(--wp--preset--font-family--source-sans); letter-spacing: .05em; text-align: center; text-transform: uppercase; }
.bohey-resa__cal-jour { padding: 0; border: 0; border-radius: 8px; background: var(--wp--preset--color--kraft); color: var(--wp--preset--color--encre); font: 600 1rem/1 var(--wp--preset--font-family--source-sans); cursor: pointer; }
.bohey-resa__cal-jour:hover:not(:disabled):not([aria-pressed="true"]) { background: var(--wp--preset--color--creme); }
.bohey-resa__cal-jour:disabled { background: transparent; color: #8F8174; text-decoration: line-through; cursor: not-allowed; }
.bohey-resa__cal-jour[aria-pressed="true"] { background: var(--wp--preset--color--bois); color: var(--wp--preset--color--creme); }
.bohey-resa__cal-jour.is-today::before { content: ""; position: absolute; bottom: 5px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--wp--preset--color--rouge); }
.bohey-resa__cal-jour.is-ouverture, .bohey-resa__cal-legende i.is-ouverture { box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent-clair); }
.bohey-resa__cal-jour.is-evenement, .bohey-resa__cal-legende i.is-evenement { box-shadow: inset 0 0 0 2px var(--wp--preset--color--accent); }
.bohey-resa__cal-legende { margin-top: 10px; color: var(--wp--preset--color--brun); font-size: .82rem; }
.bohey-resa__cal-legende i { border-radius: 4px; background: var(--wp--preset--color--kraft); }
.bohey-resa__cal-legende i.is-ferme { box-sizing: border-box; border: 1.5px solid #CDB9A1; background: transparent; }

/* Times */
.bohey-resa__creneaux { margin-top: 4px; }
.bohey-resa__jour-choisi { margin: 0 0 4px; font-weight: 700; }
.bohey-resa__service { margin: 14px 0 8px; color: var(--wp--preset--color--brun); font: 700 .85rem/1.2 var(--wp--preset--font-family--source-sans); letter-spacing: .08em; text-transform: uppercase; }
.bohey-resa__heures span { border: 2px solid #E2D3BF; border-radius: 8px; background: var(--wp--preset--color--blanc); font-weight: 700; }
.bohey-resa__heures input:hover + span { border-color: var(--wp--preset--color--bois); }
.bohey-resa__heures input:checked + span { border-color: var(--wp--preset--color--bois); background: var(--wp--preset--color--bois); color: var(--wp--preset--color--creme); }
.bohey-resa__heures input:focus-visible + span { outline: 3px solid var(--wp--preset--color--accent-clair); outline-offset: 2px; }
.bohey-resa__vide { margin: 6px 0 0; color: var(--wp--preset--color--brun); font-style: italic; }

/* Consent, verification, sending */
.bohey-resa__accord { margin: 0 0 8px; font-size: .95rem; }
.bohey-resa__accord input { accent-color: var(--wp--preset--color--bois); }
.bohey-resa__accord a { font-weight: 600; } /* in running text: not told apart by colour alone (see bohey.css, links) */
.bohey-resa__verification { margin: 18px 0 0; }
.bohey-resa__envoi { margin-top: 22px; }
.bohey-resa__envoi p { color: var(--wp--preset--color--brun); font-size: .9rem; }
.bohey-resa__envoi .wp-element-button:disabled { opacity: .45; cursor: not-allowed; }
.bohey-resa__statut { margin: 10px 0 0; color: var(--wp--preset--color--brun); font-size: .95rem; }
.bohey-resa__statut:empty { display: none; }
.bohey-resa__merci { padding: 20px 8px; }
.bohey-resa__merci > .bohey-icone { color: var(--wp--preset--color--vert); }
.bohey-resa__merci h3 { margin: 0 0 .4em; font-size: 1.6rem; }
.bohey-resa__merci:focus { outline: none; }

/* Page: the forms, and the side column (cards, photo, hours, address) */
.bohey-resa-colonnes { gap: 28px !important; }
@media (min-width: 960px) { .bohey-resa-colonnes { gap: 48px !important; } }
.bohey-resa-cote > * + * { margin-top: 22px; }

/* Side cards */
.bohey-resa-infos__carte { padding: 20px 22px; border-radius: 12px; background: var(--wp--preset--color--papier); box-shadow: var(--wp--preset--shadow--douce); }
.bohey-resa-infos__carte h2 { margin: 0 0 .35em; font-size: 1.35rem; }
.bohey-resa-infos__carte p { margin: 0 0 10px; color: var(--wp--preset--color--brun); font-size: .98rem; }
.bohey-resa-infos__carte.is-sombre { background: var(--wp--preset--color--bois-fonce) url(../images/grain-clair.svg); color: var(--wp--preset--color--creme); }
.bohey-resa-infos__carte.is-sombre h2 { color: var(--wp--preset--color--creme); }
.bohey-resa-infos__carte.is-sombre p { color: var(--wp--preset--color--creme-grise); }
.bohey-resa-infos__carte.is-sombre p:last-child { margin-bottom: 0; }
.bohey-resa-infos .bohey-resa-infos__tel { border-color: var(--wp--preset--color--creme); background: transparent; color: var(--wp--preset--color--creme); }
.bohey-resa-infos .bohey-resa-infos__tel:hover, .bohey-resa-infos .bohey-resa-infos__tel:focus { background: var(--wp--preset--color--creme); color: var(--wp--preset--color--bois-fonce); }
.bohey-resa-infos__lien { color: var(--wp--preset--color--accent); font: 700 .98rem/1.2 var(--wp--preset--font-family--source-sans); letter-spacing: .05em; text-decoration: none; text-transform: uppercase; }
.bohey-resa-infos__lien .bohey-icone { transition: transform .15s; }
.bohey-resa-infos__lien:hover .bohey-icone { transform: translateX(3px); }
