/* Scoped to MGM Booking's inline lightbox; other Flatsome dialogs keep their defaults. */
.mfp-bg.mgmb-popup-wrap,.mfp-bg.mgmb-popup-backdrop{background:rgba(15,23,42,.68);opacity:1!important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);z-index:1000000!important;top:0!important;bottom:0!important;height:100vh!important;height:100dvh!important}
.mfp-wrap.mgmb-popup-wrap{z-index:1000001!important;top:0!important;bottom:0!important;height:100vh!important;height:100dvh!important;overflow:hidden!important}
.mfp-wrap.mgmb-popup-wrap .mfp-container{padding:24px!important;overflow:hidden;display:flex;align-items:center;justify-content:center}
.mfp-wrap.mgmb-popup-wrap .mfp-container:before{display:none}.mfp-wrap.mgmb-popup-wrap .mfp-content{width:100%;max-width:1440px;min-width:0;vertical-align:middle}
.mgmb-booking-lightbox{--mgmb-popup-accent:#3730a3;--mgmb-popup-ink:#17233b;--mgmb-popup-muted:#526176;box-sizing:border-box;width:100%;max-width:1440px!important;max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);padding:0!important;margin:0 auto!important;border:1px solid #dce3ee;border-top:4px solid var(--mgmb-popup-accent);border-radius:18px;background:#f5f7fc;box-shadow:0 28px 80px rgba(10,16,35,.3);overflow:hidden;text-align:left}
.mgmb-booking-lightbox:not(.mfp-hide){display:flex;flex-direction:column}.mgmb-booking-lightbox *{box-sizing:border-box}
.mgmb-popup__header{display:flex;align-items:center;justify-content:space-between;gap:20px;flex:0 0 auto;padding:20px 24px;background:#fff;border-bottom:1px solid #e0e5ef;position:relative;z-index:2}
.mgmb-popup__brand{display:flex;align-items:center;gap:16px;min-width:0}.mgmb-popup__icon{display:flex;align-items:center;justify-content:center;width:50px;height:50px;flex:0 0 50px;border-radius:14px;background:#eeedff;color:var(--mgmb-popup-accent)}
.mgmb-popup__header .mgmb-popup__eyebrow{margin:0 0 3px;font-size:10px;line-height:1.4;font-weight:700;letter-spacing:.12em;color:var(--mgmb-popup-accent)}
.mgmb-popup__header .mgmb-popup__title{margin:0!important;font-size:24px!important;line-height:1.3!important;font-weight:700;letter-spacing:-.02em;text-transform:none;color:var(--mgmb-popup-ink);outline:none}
.mgmb-popup__header .mgmb-popup__intro{margin:5px 0 0;font-size:13px;line-height:1.5;color:var(--mgmb-popup-muted)}
.mgmb-popup__header .mgmb-popup__close{display:inline-flex;align-items:center;justify-content:center;gap:8px;flex:0 0 auto;min-width:88px;min-height:44px;margin:0!important;padding:10px 14px;border:1px solid #d8dfeb;border-radius:10px;background:#f8f9fc;box-shadow:none;opacity:1;color:#37425b;font:inherit;font-size:13px;font-weight:600;line-height:1.4;letter-spacing:0;text-transform:none;cursor:pointer;touch-action:manipulation}
.mgmb-popup__header .mgmb-popup__close:hover{background:#eeedff;border-color:#bcb6ef;color:#3730a3}.mgmb-popup__header .mgmb-popup__close:focus-visible{outline:3px solid #786bea;outline-offset:3px}
.mgmb-popup__body{position:relative;z-index:1;min-height:0;flex:1 1 auto;overflow:auto;overscroll-behavior:contain;scroll-padding:20px;padding:22px 24px 24px;scrollbar-gutter:stable;-webkit-overflow-scrolling:touch}
.mgmb-popup__body>.mgmb-booking{padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent;overflow:visible}
.mgmb-popup__body>.mgmb-booking>.mgmb-booking__content{padding:0}
.mgmb-booking-lightbox .mgmb-booking{--mgmb-primary:#4338ca;--mgmb-primary-soft:#eef2ff;--mgmb-primary-border:#c7d2fe;--mgmb-border:#dfe4ef;--mgmb-shadow-soft:none}
.mgmb-booking-lightbox .mgmb-booking__tabs{gap:8px}.mgmb-booking-lightbox .mgmb-booking__tab{margin:0;min-height:48px;border-radius:10px;box-shadow:none}
.mgmb-booking-lightbox .mgmb-booking__tab.is-active{background:#4338ca;border-color:#4338ca;color:#fff}.mgmb-booking-lightbox .mgmb-booking__tab.is-active .mgmb-booking__tab-icon{background:rgba(255,255,255,.18);color:#fff}
.mgmb-booking-lightbox .mgmb-booking__panel{box-shadow:none;border-color:#dfe4ef}.mgmb-booking-lightbox .mgmb-booking__quote{top:0}
body.mgmb-popup-open .ui-autocomplete.mgmb-popup-autocomplete{z-index:1000002!important;max-height:240px;overscroll-behavior:contain}
.mgmb-booking-lightbox .flatpickr-calendar.mgmb-popup-calendar{overflow-y:auto;overscroll-behavior:contain}.mgmb-booking-lightbox .flatpickr-calendar.mgmb-popup-calendar:before,.mgmb-booking-lightbox .flatpickr-calendar.mgmb-popup-calendar:after{display:none}
@media(min-width:1025px){.mgmb-booking-lightbox .mgmb-booking__shell{grid-template-columns:minmax(0,1.85fr) minmax(320px,1fr);gap:20px}}
@media(max-width:767px){
 .mfp-wrap.mgmb-popup-wrap .mfp-container{padding:0!important;align-items:stretch}.mfp-wrap.mgmb-popup-wrap .mfp-content{display:flex;align-items:stretch;height:100%;max-width:none}
 .mgmb-booking-lightbox{height:100vh;height:100dvh;max-height:100vh;max-height:100dvh;border:0;border-top:3px solid var(--mgmb-popup-accent);border-radius:0}
 .mgmb-popup__header{gap:12px;padding:calc(14px + env(safe-area-inset-top,0px)) 14px 14px}.mgmb-popup__brand{gap:0}.mgmb-popup__icon{display:none}
 .mgmb-popup__header .mgmb-popup__title{font-size:20px!important}.mgmb-popup__header .mgmb-popup__intro{font-size:12px;max-width:240px;margin-top:4px}.mgmb-popup__header .mgmb-popup__close{min-width:44px;width:44px;padding:10px;border-radius:10px}.mgmb-popup__close>span{display:none}
 .mgmb-popup__body{padding:14px 12px calc(24px + env(safe-area-inset-bottom,0px));scroll-padding:14px;scrollbar-gutter:auto}
 .mgmb-booking-lightbox .mgmb-booking__panel{padding:14px!important;border-radius:12px!important}.mgmb-booking-lightbox .mgmb-booking__panel-title{font-size:16px!important}
 .mgmb-booking-lightbox .mgmb-booking input:not([type=checkbox]):not([type=radio]),.mgmb-booking-lightbox .mgmb-booking select,.mgmb-booking-lightbox .mgmb-booking textarea{font-size:16px!important}
}
@media(max-height:500px){
 .mfp-wrap.mgmb-popup-wrap .mfp-container{padding:12px!important}.mgmb-booking-lightbox{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
 .mgmb-booking-lightbox>.mgmb-popup__header{padding:10px 16px}.mgmb-booking-lightbox>.mgmb-popup__header .mgmb-popup__eyebrow,.mgmb-booking-lightbox>.mgmb-popup__header .mgmb-popup__intro{display:none}.mgmb-booking-lightbox>.mgmb-popup__header .mgmb-popup__title{font-size:20px!important}.mgmb-booking-lightbox>.mgmb-popup__header .mgmb-popup__icon{width:40px;height:40px;flex-basis:40px;border-radius:10px}.mgmb-popup__body{padding:14px 16px}
}
@media(prefers-reduced-motion:reduce){.mfp-wrap.mgmb-popup-wrap,.mfp-bg.mgmb-popup-backdrop,.mgmb-booking-lightbox{transition:none!important;animation:none!important}}

/* Optional shortcode disclosure: the whole header is a keyboard-accessible target. */
.mgmb-booking__content[hidden]{display:none!important}
.mgmb-popup__brand>div{min-width:0;overflow-wrap:anywhere}
.mgmb-booking__header--collapsible .mgmb-popup__brand{flex:1 1 auto}
.mgmb-booking__header--collapsible.is-collapsed{border-bottom-color:transparent}
.mgmb-popup__header .mgmb-booking__toggle{position:static;display:inline;min-width:0;min-height:0;margin:0!important;padding:0!important;border:0;border-radius:0;background:none!important;box-shadow:none!important;color:inherit;font:inherit!important;letter-spacing:inherit;text-transform:none;white-space:normal;text-align:left;vertical-align:baseline;cursor:pointer;touch-action:manipulation}
.mgmb-booking__toggle::after{content:"";position:absolute;inset:0;z-index:1;transition:background-color .15s ease}
.mgmb-booking__toggle:hover::after{background:rgba(67,56,202,.04)}
.mgmb-popup__header .mgmb-booking__toggle:focus-visible{outline:none}
.mgmb-booking__toggle:focus-visible::after{inset:4px;outline:3px solid #786bea;outline-offset:-3px;border-radius:10px}
.mgmb-booking__toggle-hint{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;color:var(--mgmb-popup-accent);font-size:13px;font-weight:600;line-height:1.4;pointer-events:none}
.mgmb-booking__toggle-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:1px solid #c7d2fe;border-radius:12px;background:#eef2ff}
.mgmb-booking__toggle-icon svg{transform:rotate(180deg);transition:transform .18s ease}
.mgmb-booking__header.is-collapsed .mgmb-booking__toggle-icon svg{transform:rotate(0)}
.mgmb-booking__header--collapsible .mgmb-popup__close{position:relative;z-index:2}
.mgmb-booking-lightbox.mgmb-booking-lightbox--collapsed{height:auto;align-self:center}
.mgmb-booking-lightbox--collapsed>.mgmb-popup__body{display:none}
@media(max-width:767px){.mgmb-booking__toggle-label{display:none}.mgmb-booking__header--collapsible .mgmb-popup__intro{max-width:none}.mgmb-booking-lightbox.mgmb-booking-lightbox--collapsed{width:calc(100% - 24px);border:1px solid #dce3ee;border-top:3px solid var(--mgmb-popup-accent);border-radius:16px}}
@media(prefers-reduced-motion:reduce){.mgmb-booking__toggle::after,.mgmb-booking__toggle-icon svg{transition:none}}
