/* ORIGO V24 / Prenota in una pagina — dati e prezzi serviti dal motore PHP/JS esistente. */
body.page-prenota .booking-wizard-v9 {background:#f8f7f1!important;padding:0 0 68px!important;overflow:visible!important}
body.page-prenota .booking-v9-head {padding-bottom:22px!important}
body.page-prenota .booking-v9-progress, body.page-prenota .origo-booking-aside,
body.page-prenota .origo-booking-calendar-backdrop, body.page-prenota .origo-booking-calendar-dialog-top {display:none!important}
body.page-prenota .booking-v9-shell {display:block!important;width:min(calc(100% - 40px),1120px)!important;max-width:1120px!important;min-height:0!important;overflow:visible!important;margin:0 auto!important}
body.page-prenota .origo-booking-flow {display:flex!important;flex-direction:column!important;gap:22px!important;min-width:0!important;overflow:visible!important}
body.page-prenota .origo-booking-flow>.booking-v9-stage,
body.page-prenota .origo-booking-flow>.booking-v9-stage[data-booking-stage="2"] {display:block!important;position:relative!important;grid-column:auto!important;grid-row:auto!important;opacity:1!important;animation:none!important;transform:none!important;min-width:0!important;width:100%!important;max-height:none!important;overflow:visible!important}
body.page-prenota .origo-booking-flow>.booking-v9-stage:not(.is-active) {animation:none!important}
body.page-prenota .booking-v9-stage .booking-v9-card {background:#fffefa!important;border:1px solid #dedfd7!important;border-radius:17px!important;padding:26px!important;box-shadow:none!important}
body.page-prenota .booking-v9-stage-head {display:flex!important;flex-direction:row!important;align-items:flex-end!important;justify-content:space-between!important;gap:16px!important;margin-bottom:18px!important}
body.page-prenota .booking-v9-stage-head h2 {font-size:clamp(22px,2.8vw,29px)!important;letter-spacing:-.04em!important;color:#252b24!important}
body.page-prenota .booking-v9-stage-head p {color:#727a70!important;font-size:12px!important}
body.page-prenota .booking-v9-services {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:13px!important}
body.page-prenota .booking-wizard-v9 .booking-service {min-width:0!important;min-height:154px!important;border:1px solid #dfe2d9!important;border-radius:13px!important;padding:16px!important}
body.page-prenota .booking-wizard-v9 .booking-service.is-active {background:#eaf0e2!important;border:2px solid #687753!important;box-shadow:none!important}
body.page-prenota .booking-v9-time strong {font-size:31px!important}
body.page-prenota .origo-booking-package-hint {margin-top:14px!important}
body.page-prenota .booking-v11-availability {display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr)!important;gap:18px!important}
body.page-prenota .booking-v11-panel {background:#fafbf7!important;border:1px solid #e0e4da!important;border-radius:14px!important;min-width:0!important;padding:18px!important}
body.page-prenota .booking-v11-panel--times {background:#fffefa!important;padding:0!important;overflow:hidden!important}
body.page-prenota .booking-v11-date-list {display:grid!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important}
body.page-prenota .booking-v11-date {min-height:50px!important}
body.page-prenota .booking-v11-date.is-selected, body.page-prenota .booking-v11-time.is-selected {background:#687753!important;border-color:#687753!important;color:#fff!important}
body.page-prenota .booking-v13-agenda-heading small {max-width:185px}
body.page-prenota .booking-v11-panel-note {font-size:11px!important}
body.page-prenota .booking-v9-stage[data-booking-stage="3"] {margin-top:0!important}
body.page-prenota .booking-form-panel[hidden] {display:none!important}
body.page-prenota .booking-form-panel:not([hidden]) {display:block!important}
body.page-prenota .booking-v10-checkout-layout {display:block!important}
body.page-prenota .booking-v10-main {display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}
body.page-prenota .booking-v10-form-block {min-width:0!important;background:#fafbf7!important;border:1px solid #e0e4da!important}
body.page-prenota .booking-v9-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.page-prenota .booking-v9-grid .full {grid-column:1/-1!important}
body.page-prenota .booking-v10-more, body.page-prenota .booking-v9-consent {grid-column:1/-1!important}
body.page-prenota .booking-v24-final-bar {display:flex;align-items:center;justify-content:space-between;gap:22px;border-top:1px solid #e0e4da;padding:22px 0 0;margin-top:22px}
body.page-prenota .booking-v24-final-summary {min-width:0;flex:1 1 auto}
body.page-prenota .booking-v24-final-label {display:block;font-size:10px;font-weight:800;letter-spacing:.1em;color:#6e795e;margin-bottom:8px}
body.page-prenota .booking-v24-final-row {display:flex;align-items:baseline;gap:20px;flex-wrap:wrap;font-size:18px;color:#242a21}
body.page-prenota .booking-v24-final-row strong:last-child {font-size:24px}
body.page-prenota .booking-v24-final-summary p {font-size:13px;color:#697467;margin:6px 0 0}
body.page-prenota .origo-booking-form-actions {width:min(100%,310px)!important;flex:0 0 auto!important}
body.page-prenota .origo-booking-form-actions .btn {width:100%!important;display:flex!important;align-items:center;justify-content:center!important;gap:8px;min-height:50px!important;background:#667552!important;color:white!important;border-radius:11px!important}
body.page-prenota .origo-booking-form-actions p {color:#7b8178!important;font-size:10px!important;text-align:center!important;margin:7px 0 0!important}
body.page-prenota .booking-status {min-height:20px}
body.page-prenota .booking-v9-stage:has(.booking-form-panel[hidden]) {display:none!important}
body.page-prenota .booking-v9-stage[data-booking-stage="2"] .booking-v9-back {display:none!important}
@media(max-width:850px){
 body.page-prenota .booking-v9-services {grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.page-prenota .booking-v11-availability {grid-template-columns:minmax(0,1fr)!important}
 body.page-prenota .booking-v10-main {grid-template-columns:1fr!important}
}
@media(max-width:620px){
 body.page-prenota .booking-v9-shell {width:calc(100% - 28px)!important}
 body.page-prenota .origo-booking-flow {gap:14px!important}
 body.page-prenota .booking-v9-stage .booking-v9-card {padding:17px!important}
 body.page-prenota .booking-v9-stage-head {flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
 body.page-prenota .booking-v9-services {grid-template-columns:1fr!important;gap:9px!important}
 body.page-prenota .booking-wizard-v9 .booking-service {min-height:0!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;padding:14px!important}
 body.page-prenota .booking-v11-date-list {gap:4px!important}
 body.page-prenota .booking-v11-date {min-height:44px!important;padding:6px 2px!important}
 body.page-prenota .booking-v11-panel {padding:13px!important}
 body.page-prenota .booking-v11-panel--times {padding:0!important}
 body.page-prenota .booking-v9-grid {grid-template-columns:1fr!important}
 body.page-prenota .booking-v24-final-bar {flex-direction:column;align-items:stretch;gap:14px}
 body.page-prenota .origo-booking-form-actions {width:100%!important}
}

/* Readable grid of actual available times and correct anchor offset under sticky header. */
body.page-prenota #calendario-prenotazione, body.page-prenota .booking-form-panel {scroll-margin-top:96px}
body.page-prenota .booking-v13-agenda-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;border:0!important}
body.page-prenota .booking-v11-time.booking-v13-time-row{border:1px solid #e1e5dc!important;border-radius:10px!important;padding:10px!important;min-height:52px!important;background:#fffefa!important}
body.page-prenota .booking-v11-time.booking-v13-time-row.is-selected{background:#687753!important;color:#fff!important;border-color:#687753!important}
body.page-prenota .booking-v13-agenda-section+.booking-v13-agenda-section{margin-top:9px!important}
body.page-prenota .booking-v13-time-badge{display:none!important}
@media(max-width:480px){body.page-prenota .booking-v13-agenda-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
