/* Vital Resort – single live occupancy calendar, photo gallery, opaque dialog (0.9.16).
 * Scoped to the feature pilot; does not change Bentral booking iframe styles. */
.vrbts-modal-overlay{position:fixed;inset:0;z-index:2147482000;display:grid;place-items:center;visibility:hidden;opacity:0;pointer-events:none;background:rgba(8,19,15,.86);transition:opacity .16s ease,visibility .16s ease;padding:18px;box-sizing:border-box}
.vrbts-modal-overlay.is-visible{opacity:1;visibility:visible;pointer-events:auto}
.vrbts-modal-dialog{isolation:isolate;position:relative;width:min(1180px,100%);height:auto;max-height:min(94dvh,990px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;background:#fbfaf6!important;background-color:#fbfaf6!important;opacity:1!important;border:1px solid #dacdbc;border-radius:18px;box-shadow:0 32px 100px rgba(0,0,0,.48);scrollbar-gutter:stable}
.vrbts-modal-close{position:sticky;top:12px;float:right;z-index:40;margin:12px 12px -56px 0;display:grid;place-items:center;width:43px;height:43px;padding:0;border:1px solid #d8ccbb;border-radius:50%;background:#fff!important;color:#17392f;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 2px 13px rgba(0,0,0,.12)}
.vrbts-modal-close:hover,.vrbts-modal-close:focus-visible{background:#e9e4d9!important;outline:2px solid #17392f;outline-offset:2px}
.vrbts-feature-page{max-width:1160px;margin:0 auto;padding:26px 25px 33px;box-sizing:border-box;background:#fbfaf6!important;color:#17392f;font-family:inherit;opacity:1!important}
.vrbts-feature-heading{padding-right:58px;margin:0 0 20px;text-align:left}
.vrbts-feature-heading>span{display:block;font-size:10px;letter-spacing:.21em;font-weight:750;color:#a37442}
.vrbts-feature-heading h1{font-family:Georgia,serif;font-size:clamp(30px,3.4vw,44px);line-height:1.2;font-weight:500;color:#17392f;margin:7px 0}
.vrbts-feature-heading p{font-size:14px;color:#5d6b61;line-height:1.5;margin:0}
.vrbts-feature-columns{display:grid;grid-template-columns:minmax(0,.98fr) minmax(350px,1fr);gap:20px;align-items:start}
.vrbts-feature-left{display:grid;min-width:0;gap:14px}
.vrbts-feature-gallery{border-radius:12px;overflow:hidden;border:1px solid #e1d7c9;background:#fff!important;padding:10px}
.vrbts-gallery-stage{position:relative;height:305px;overflow:hidden;border-radius:8px;background:#e9e4d9}
.vrbts-gallery-stage>img{display:block;width:100%;height:100%;object-fit:cover;cursor:zoom-in}
.vrbts-gallery-stage button{position:absolute;margin:0;display:grid;place-items:center;color:#17392f;border:1px solid rgba(255,255,255,.78);background:#fffffff0!important;box-shadow:0 2px 14px #142b2533;cursor:pointer;line-height:1}
.vrbts-gallery-stage button:hover{background:#fff!important}
.vrbts-gallery-expand{top:12px;right:12px;width:38px;height:38px;border-radius:9px;font-size:24px}
.vrbts-gallery-arrow{top:50%;transform:translateY(-50%);width:38px;height:43px;border-radius:10px;font-size:32px}
.vrbts-gallery-arrow.is-prev{left:11px}
.vrbts-gallery-arrow.is-next{right:11px}
.vrbts-gallery-counter{position:absolute;bottom:10px;right:10px;display:block;background:#10271fe8;color:#fff;font-size:12px;padding:5px 11px;border-radius:99px;font-variant-numeric:tabular-nums}
.vrbts-gallery-thumbs{display:flex;gap:7px;padding:9px 1px 0;overflow-x:auto;scrollbar-width:thin;scroll-snap-type:x proximity}
.vrbts-gallery-thumb{flex:0 0 74px;display:block;height:58px;overflow:hidden;border-radius:7px;border:2px solid transparent!important;cursor:pointer;background:#e9e4d9!important;padding:0!important;scroll-snap-align:start;box-sizing:border-box;opacity:1!important}
.vrbts-gallery-thumb.is-active{border-color:#17392f!important;box-shadow:0 0 0 1px #17392f}
.vrbts-gallery-thumb>img{display:block;width:100%;height:100%;object-fit:cover}
.vrbts-gallery-empty{background:#e9e4d9;padding:40px;border-radius:9px;text-align:center}
.vrbts-feature-description,.vrbts-feature-booking{background:#fff!important;opacity:1!important;border:1px solid #e4ddd3;border-radius:12px;padding:18px;min-width:0}
.vrbts-feature-description h2,.vrbts-feature-booking h2{font-family:Georgia,serif;color:#17392f;font-weight:500;font-size:clamp(20px,2.2vw,26px);margin:0 0 10px}
.vrbts-feature-description p{font-size:14px;line-height:1.65;color:#526559;margin:0;max-height:190px;overflow-y:auto}
.vrbts-feature-booking form{display:grid;gap:13px}
.vrbts-feature-booking label{display:flex;flex-direction:column;gap:6px;color:#17392f;font-size:13px;font-weight:650}
.vrbts-feature-booking input,.vrbts-feature-booking select{width:100%;min-width:0;min-height:44px;box-sizing:border-box;padding:10px 11px;font:inherit;background:#f8f6f1!important;color:#17392f;border:1px solid #d8ccbb;border-radius:7px}
.vrbts-feature-booking button[type=submit],.vrbts-feature-continue{display:block;width:100%;box-sizing:border-box;border:1px solid #17392f;border-radius:8px;background:#17392f!important;color:#fff!important;text-align:center;text-decoration:none;padding:14px 18px;cursor:pointer;font-family:inherit;font-weight:700;font-size:15px;line-height:1.3}
.vrbts-feature-booking button[type=submit]:hover,.vrbts-feature-continue:hover{background:#275344!important}
.vrbts-feature-booking button:disabled{cursor:not-allowed;opacity:.55}
.vrbts-feature-result{margin-top:15px}
.vrbts-feature-result p{font-size:13px;line-height:1.5;color:#53675c;margin:0 0 10px}
.vrbts-feature-price{font:500 30px Georgia,serif;color:#17392f;margin:6px 0}
.vrbts-feature-result.is-error{background:#fff3f0;border:1px solid #ca8b7c;border-radius:8px;padding:12px}
.vrbts-feature-back{margin:18px 0 0;font-size:13px}.vrbts-feature-back a{color:#17392f;text-decoration:underline}
/* The single calendar displays occupancy AND accepts dates. */
.vrbts-date-chooser{border:1px solid #e4ddd3;border-radius:11px;padding:12px;background:#fdfbf8!important}
.vrbts-date-chooser h3{font-weight:700;font-size:15px;color:#17392f;margin:0 0 4px}
.vrbts-date-help,.vrbts-date-disclaimer{font-size:12px;line-height:1.5;color:#5a6d62;margin:4px 0 10px}
.vrbts-date-disclaimer{margin:11px 0 0}
.vrbts-calendar-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 9px}
.vrbts-calendar-toolbar strong{font-weight:700;font-size:15px;color:#17392f;text-transform:capitalize}
.vrbts-feature-booking button.vrbts-month-arrow{min-width:40px;width:40px;height:40px;min-height:40px;padding:0;display:grid;place-items:center;background:#fff!important;color:#17392f;border:1px solid #d8ccbb;border-radius:8px;cursor:pointer;font-size:25px;line-height:1}
.vrbts-feature-booking button.vrbts-month-arrow:hover:not(:disabled){background:#e9e4d9!important}
.vrbts-calendar-fetch{min-height:18px;color:#5a6d62;font-size:11px;line-height:1.4;margin:0 0 6px}
.vrbts-calendar-fetch:empty{display:none}
.vrbts-calendar-fetch.is-error{color:#9f4835}
.vrbts-date-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;text-align:center;align-items:center}
.vrbts-date-grid .vrbts-date-weekday{font-size:11px;color:#647468;padding:5px 0;font-weight:700}
.vrbts-feature-booking button.vrbts-date-day{display:block;position:relative;min-width:0;width:100%;min-height:42px;padding:4px 0;margin:0;background:#f1f3f0!important;color:#17392f;border:1px solid transparent;border-radius:7px;font-family:inherit;font-weight:650;font-size:12px;line-height:1.2;cursor:pointer;opacity:1;outline-offset:-2px}
.vrbts-feature-booking button.vrbts-date-day.is-available{background:#e7f2e9!important}
.vrbts-feature-booking button.vrbts-date-day.is-unknown{background:#eef0ee!important}
.vrbts-feature-booking button.vrbts-date-day.is-booked{background:#f0d4cb!important;color:#863a2c}
.vrbts-feature-booking button.vrbts-date-day.is-closed-arrival{background:#f5e5c7!important;color:#895a21}
/* Date boundaries: the booked side is red, the side usable for changeover is green.
   They are not necessarily bookable: coa/cod restrictions and the final quote
   still determine whether arrival/departure is possible. */
.vrbts-feature-booking button.vrbts-date-day.is-occupied-start{background:linear-gradient(135deg,#e7f2e9 0 48.8%,#d1b49d 49%,#d1b49d 51%,#f0d4cb 51.2% 100%)!important;color:#17392f}
.vrbts-feature-booking button.vrbts-date-day.is-occupied-end{background:linear-gradient(135deg,#f0d4cb 0 48.8%,#d1b49d 49%,#d1b49d 51%,#e7f2e9 51.2% 100%)!important;color:#17392f}
.vrbts-feature-booking button.vrbts-date-day.is-occupied-start:disabled,.vrbts-feature-booking button.vrbts-date-day.is-occupied-end:disabled{opacity:1!important;text-decoration:none}

.vrbts-feature-booking button.vrbts-date-day.is-between{background:#d7e7dc!important;border-radius:3px;color:#17392f}
.vrbts-feature-booking button.vrbts-date-day.is-arrival,.vrbts-feature-booking button.vrbts-date-day.is-departure{background:#17392f!important;color:#fff!important}
/* Keep the half-day information visible even when a turnover date is selected. */
.vrbts-feature-booking button.vrbts-date-day.is-occupied-start.is-departure{background:linear-gradient(135deg,#e7f2e9 0 48.8%,#d1b49d 49%,#d1b49d 51%,#f0d4cb 51.2% 100%)!important;color:#17392f!important;outline:2px solid #17392f;outline-offset:-2px}
.vrbts-feature-booking button.vrbts-date-day.is-occupied-end.is-arrival{background:linear-gradient(135deg,#f0d4cb 0 48.8%,#d1b49d 49%,#d1b49d 51%,#e7f2e9 51.2% 100%)!important;color:#17392f!important;outline:2px solid #17392f;outline-offset:-2px}

.vrbts-feature-booking button.vrbts-date-day:not(:disabled):hover,.vrbts-feature-booking button.vrbts-date-day:not(:disabled):focus-visible{outline:2px solid #b48758;outline-offset:-2px}
.vrbts-feature-booking button.vrbts-date-day:disabled{opacity:.62!important;cursor:not-allowed;text-decoration:line-through;text-decoration-color:#b68d7d}
.vrbts-feature-booking button.vrbts-date-day.is-booked:disabled{opacity:1!important}
.vrbts-date-legend{display:flex;flex-wrap:wrap;gap:7px 12px;margin:12px 0 2px}
.vrbts-date-legend span{display:inline-flex;gap:5px;align-items:center;font-size:10px;color:#4d6055;line-height:1.3}
.vrbts-date-legend i{display:inline-block;width:10px;height:10px;border-radius:3px;background:#d9e3dc;flex:0 0 10px}
.vrbts-date-legend .vrbts-legend-free{background:#e7f2e9;border:1px solid #adc9b6}
.vrbts-date-legend .vrbts-legend-busy{background:#f0d4cb;border:1px solid #dfa998}
.vrbts-date-legend .vrbts-legend-turnover-start{background:linear-gradient(135deg,#e7f2e9 0 49%,#f0d4cb 51% 100%);border:1px solid #d6b7a8}
.vrbts-date-legend .vrbts-legend-turnover-end{background:linear-gradient(135deg,#f0d4cb 0 49%,#e7f2e9 51% 100%);border:1px solid #d6b7a8}

.vrbts-date-legend .vrbts-legend-closed{background:#f5e5c7;border:1px solid #e3c995}
.vrbts-date-legend .vrbts-legend-selected{background:#17392f}
.vrbts-date-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
/* Full-size image lightbox, entirely opaque (does not reveal page beneath). */
.vrbts-gallery-lightbox[hidden]{display:none!important}
.vrbts-gallery-lightbox{position:fixed;inset:0;z-index:70;display:flex;align-items:center;justify-content:center;gap:12px;padding:30px;background:#10231e!important;opacity:1!important;box-sizing:border-box}
.vrbts-gallery-lightbox>img{max-width:calc(100% - 130px);max-height:calc(100% - 70px);width:auto;height:auto;object-fit:contain}
.vrbts-lightbox-close,.vrbts-lightbox-arrow{border:1px solid #e9e4d9;cursor:pointer;color:#17392f;background:#fff!important;display:grid;place-items:center;line-height:1}
.vrbts-lightbox-close{position:absolute;top:15px;right:18px;width:44px;height:44px;border-radius:50%;font-size:28px}
.vrbts-lightbox-arrow{width:42px;height:50px;flex:0 0 42px;border-radius:8px;font-size:33px}
@media(max-width:900px){.vrbts-feature-columns{display:flex;flex-direction:column;gap:13px}.vrbts-feature-left{display:contents}.vrbts-feature-gallery{order:1;width:100%;box-sizing:border-box}.vrbts-feature-booking{order:2;width:100%;box-sizing:border-box}.vrbts-feature-description{order:3;width:100%;box-sizing:border-box}.vrbts-modal-dialog{max-height:95dvh}}
@media(max-width:600px){.vrbts-modal-overlay{padding:0;place-items:stretch}.vrbts-modal-dialog{height:100dvh;max-height:100dvh;width:100%;border:0;border-radius:0;scrollbar-gutter:auto}.vrbts-feature-page{padding:17px 12px 30px}.vrbts-feature-heading{padding:12px 46px 0 3px}.vrbts-feature-heading h1{font-size:32px}.vrbts-feature-gallery{padding:6px}.vrbts-gallery-stage{height:225px}.vrbts-gallery-thumb{flex-basis:65px;height:51px}.vrbts-feature-booking,.vrbts-feature-description{padding:14px}.vrbts-feature-booking button.vrbts-date-day{min-height:40px}.vrbts-date-chooser{padding:10px}.vrbts-date-grid{gap:3px}.vrbts-date-fields{gap:8px}.vrbts-modal-close{top:9px;margin:9px 9px -51px 0}.vrbts-gallery-lightbox{padding:12px;gap:4px}.vrbts-gallery-lightbox>img{max-width:calc(100% - 90px);max-height:calc(100% - 45px)}.vrbts-lightbox-arrow{flex-basis:34px;width:34px;height:43px}}
@media(prefers-reduced-motion:reduce){.vrbts-modal-overlay{transition:none}}

/* Automatic quote: no separate 'check price' action. The continuation link
   only appears after a successful server-side rate/availability validation. */
.vrbts-feature-result{margin-top:6px;min-height:42px}
.vrbts-feature-result .vrbts-auto-price-hint{margin:2px 0;color:#526559;font-size:13px;line-height:1.6}
