/* Hide the custom time picker until its radio option is selected. */
#bk-custom-wrap[hidden]{display:none!important}
html.booking-mode .form-area{display:none}
.booking-section{display:none}
html.booking-mode .booking-section{display:block}
.booking-section{max-width:760px;margin:36px auto 0}
.booking-card{background:#fff;border:1px solid #dce6f5;border-radius:26px;box-shadow:0 16px 50px rgba(17,51,108,.11);padding:30px;color:#17243a}
.booking-head{display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid #e6ebf4;padding-bottom:22px;margin-bottom:23px}
.booking-head h2{font-size:clamp(24px,3.8vw,33px);line-height:1.14;color:#102f67;letter-spacing:-.035em;margin:0 0 7px;font-weight:900}
.booking-head p{margin:0;font-size:14px;color:#64748b}
.booking-symbol{display:grid;place-items:center;background:#ecf3ff;color:#1550a1;min-width:54px;min-height:54px;border-radius:16px;font-size:27px}
.booking-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px}
.booking-item{display:flex;flex-direction:column;gap:8px;min-width:0;text-align:left}
.booking-wide{grid-column:1/-1}
.booking-label,.booking-label-text{display:block;color:#25334b;font-size:14px;font-weight:800}
.booking-item input:not([type=radio]):not([type=checkbox]),.booking-item textarea,.booking-item select{display:block;width:100%;min-height:49px;padding:12px 13px;background:#fff;border:1.5px solid #c5d2e2;border-radius:12px;color:#17243a;font-size:16px;line-height:1.3;box-sizing:border-box}
.booking-item textarea{min-height:76px;resize:vertical}
.booking-item input:focus-visible,.booking-item textarea:focus-visible,.booking-item select:focus-visible,.booking-choice:focus-within{outline:2px solid #2a65c0;outline-offset:2px}
.booking-item select{appearance:auto}
.booking-help{color:#677891;font-size:12px;line-height:1.45;margin:0}

/* Calendario propio: los controles nativos de iOS no permiten tachar domingos. */
.booking-item input[type=hidden]{display:none!important}
.booking-calendar-wrap{position:relative;width:100%}
.booking-date-trigger{width:100%;min-height:54px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;background:#fff;border:1.5px solid #c5d2e2;border-radius:12px;color:#17243a;font:inherit;font-size:16px;text-align:left;cursor:pointer}
.booking-date-trigger span:last-child{font-size:22px;color:#174d9d}
.booking-date-trigger:focus-visible,.booking-cal-day:focus-visible,.booking-cal-arrow:focus-visible{outline:3px solid #2a65c0;outline-offset:2px}
.booking-calendar[hidden]{display:none!important}
.booking-calendar{position:absolute;top:calc(100% + 8px);left:0;z-index:30;width:min(100%,430px);padding:14px;background:#fff;border:1px solid #c9d7eb;border-radius:17px;box-shadow:0 14px 40px rgba(22,45,85,.2);box-sizing:border-box}
.booking-cal-header{display:grid;grid-template-columns:40px 1fr 40px;align-items:center;gap:7px;margin-bottom:15px}
.booking-cal-header strong{text-align:center;text-transform:capitalize;color:#172e55;font-size:16px}
.booking-cal-arrow{min-height:38px;border:0;border-radius:9px;color:#164a97;background:#eef4fd;font-size:28px;line-height:1;cursor:pointer}
.booking-cal-arrow:disabled{opacity:.3;cursor:not-allowed}
.booking-cal-weekdays,.booking-cal-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center}
.booking-cal-weekdays{margin-bottom:6px;font-size:11px;font-weight:800;color:#64748b}
.booking-cal-weekdays span{padding:6px 0}
.booking-cal-weekdays span:first-child{color:#b42338}
.booking-cal-day{position:relative;min-width:0;min-height:39px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;border:0;border-radius:10px;background:#f4f7fd;color:#1b3458;font-size:15px;font-weight:650;cursor:pointer}
.booking-cal-day:hover:not(:disabled){background:#dceafe}
.booking-cal-day.is-selected{background:#174d9d;color:#fff}
.booking-cal-day.is-sunday{background:#fff0f1;color:#ba2337;text-decoration:line-through;cursor:not-allowed;opacity:1}
.booking-cal-day.is-sunday .booking-cal-x{position:absolute;right:1px;top:0;font-size:11px;font-weight:900;line-height:1;color:#ba2337}
.booking-cal-day.is-outside:not(.is-sunday){background:#f8fafc;color:#aeb9c8;cursor:not-allowed}
.booking-cal-note{margin:12px 0 0;text-align:center;color:#596c84;font-size:12px;line-height:1.5}
.booking-cal-note strong{color:#ba2337}
.booking-divider{height:1px;background:#e8edf5;margin:25px 0}
.booking-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.booking-choice{display:flex;align-items:center;gap:11px;border:1.5px solid #d7e1ef;border-radius:12px;padding:13px;min-height:54px;font-size:14px;line-height:1.4;color:#314158;font-weight:650;cursor:pointer;background:#fff}
.booking-choice input{flex:none;width:18px;height:18px;accent-color:#174caa;margin:0}
.booking-choice:has(input:checked){border-color:#1b58b3;background:#eef5ff;color:#13396d}
.booking-choice:has(input:disabled){background:#f7f8fa;color:#9ca8b8;cursor:not-allowed;text-decoration:line-through}
.booking-choice.full{grid-column:1/-1}
.booking-notice{background:#f5f8ff;border:1px solid #dce7f9;border-radius:13px;padding:11px 13px;color:#536b87;font-size:13px;line-height:1.5;margin:16px 0 0;text-align:left}
.booking-consent{display:flex;align-items:flex-start;gap:10px;color:#52647b;font-size:13px;line-height:1.5;margin:22px 0}
.booking-consent input{width:17px;height:17px;flex:none;accent-color:#1b59a9;margin-top:2px}
.booking-consent a{color:#1550a1}
.booking-button{display:block;width:100%;border:0;border-radius:13px;min-height:56px;background:#174d9d;color:#fff;font-weight:900;font-size:17px;padding:13px 22px;cursor:pointer;transition:background .18s}
.booking-button:hover{background:#10366f}
.booking-button:disabled{opacity:.64;cursor:wait}
.booking-message{min-height:16px;margin:12px 0 0;text-align:center;color:#a31e29;font-size:14px}
.booking-success{text-align:center;display:none;padding:20px 10px}
.booking-success .booking-symbol{margin:0 auto 18px;background:#e9f7ef;color:#147b3d}
.booking-success h2{color:#16467f;font-size:28px;line-height:1.2}
.booking-success p{color:#536579;font-size:16px;line-height:1.6}
.booking-success strong{color:#163968}
.booking-supplement{font-size:12px;color:#718096;text-align:center;margin:10px 0 0}
@media(max-width:650px){.booking-section{width:100%;margin:26px auto 0}.booking-card{border-radius:18px;padding:20px 16px;box-shadow:0 8px 26px rgba(17,51,108,.09)}.booking-grid{grid-template-columns:1fr;gap:16px}.booking-choices{grid-template-columns:1fr}.booking-choice.full{grid-column:auto}.booking-head h2{font-size:25px}.booking-head{align-items:flex-start}.booking-symbol{min-width:45px;min-height:45px}.booking-label{font-size:14px}html.booking-mode main{padding-left:13px;padding-right:13px}}
