/* Phones only: present the EXISTING "Book Your Service" popup (1606) as the compact bottom sheet approved with
   Prototype 4. Same form, fields and behaviour; only the frame changes. Desktop/tablet (>= 768px) is untouched.
   Loaded after booking.css. Disable with OTTANOWA_MTAB_SHEET = false in ottanowa-mobile-book-tab.php. */
@media (max-width:767px){
  #elementor-popup-modal-1606.elementor-popup-modal{align-items:flex-end !important; justify-content:center !important}
  #elementor-popup-modal-1606 .dialog-widget-content{
    position:relative !important; top:auto !important; bottom:auto !important; left:auto !important; margin:0 !important;
    width:100% !important; border-radius:16px 16px 0 0 !important; box-shadow:0 -10px 30px rgba(0,0,0,.25) !important;
    animation:otn-sheet-up .22s ease both;
  }
  #elementor-popup-modal-1606.elementor-popup-modal .dialog-message{
    width:100vw; max-width:100vw; max-height:calc(92vh - 5px); max-height:calc(92dvh - 5px); /* 5px = booking.css orange top border */
    padding-bottom:env(safe-area-inset-bottom, 0px); box-sizing:border-box; overscroll-behavior:contain;
  }
  #elementor-popup-modal-1606 .elementor-1606 > .e-con,
  #elementor-popup-modal-1606 .elementor-1606 > .elementor-element{--padding-top:22px; --padding-bottom:24px; --padding-left:16px; --padding-right:16px}
  #elementor-popup-modal-1606 .elementor-icon-box-title{font-size:23px !important; padding:0 44px 0 0 !important; text-align:left}
  #elementor-popup-modal-1606 .elementor-icon-box-description{font-size:14.5px; text-align:left; margin-left:0}
  #elementor-popup-modal-1606 .elementor-icon-box-wrapper{text-align:left}
}
@keyframes otn-sheet-up{from{transform:translateY(28px); opacity:.6}}
@media (prefers-reduced-motion:reduce){ #elementor-popup-modal-1606 .dialog-widget-content{animation:none !important} }
