/* CF Homes 4.5.75 – a single true SVG X per close button. No pseudo-icons. */
button:is(.cf-act-close,.cfr-wallet-close,.cf-modal-close,.cf-home-restaurant-close,
 .cfh-contact-popup__close,.cf-gyg-preview-modal__close,.cfv-modal-close,
 .cfv-market-close,.cfm360-day-place-close,.cfm360-detail-close,
 .cfm360-export-close,.cfh-app-guide-dialog__close,.cfh-tc-close,.cfh-dt-x,.cf-admin-modal-close){
 box-sizing:border-box!important;display:grid!important;place-items:center!important;
 width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;
 padding:0!important;margin:0!important;flex-shrink:0!important;
 border:0!important;border-radius:50%!important;background:#0089a9!important;color:#fff!important;
 line-height:1!important;font-size:0!important;letter-spacing:0!important;
 text-align:center!important;text-indent:0!important;box-shadow:0 6px 18px rgba(0,92,126,.20)!important;
 transform:none!important;filter:none!important;opacity:1!important;
 cursor:pointer!important;appearance:none!important;-webkit-appearance:none!important;
}
button:is(.cf-act-close,.cfr-wallet-close,.cf-modal-close,.cf-home-restaurant-close,
 .cfh-contact-popup__close,.cf-gyg-preview-modal__close,.cfv-modal-close,
 .cfv-market-close,.cfm360-day-place-close,.cfm360-detail-close,
 .cfm360-export-close,.cfh-app-guide-dialog__close,.cfh-tc-close,.cfh-dt-x,.cf-admin-modal-close)::before,
button:is(.cf-act-close,.cfr-wallet-close,.cf-modal-close,.cf-home-restaurant-close,
 .cfh-contact-popup__close,.cf-gyg-preview-modal__close,.cfv-modal-close,
 .cfv-market-close,.cfm360-day-place-close,.cfm360-detail-close,
 .cfm360-export-close,.cfh-app-guide-dialog__close,.cfh-tc-close,.cfh-dt-x,.cf-admin-modal-close)::after{
 content:none!important;display:none!important;box-shadow:none!important;background:none!important;
}
button:is(.cf-act-close,.cfr-wallet-close,.cf-modal-close,.cf-home-restaurant-close,
 .cfh-contact-popup__close,.cf-gyg-preview-modal__close,.cfv-modal-close,
 .cfv-market-close,.cfm360-day-place-close,.cfm360-detail-close,
 .cfm360-export-close,.cfh-app-guide-dialog__close,.cfh-tc-close,.cfh-dt-x,.cf-admin-modal-close) > svg.cfh-unified-close-icon{
 display:block!important;visibility:visible!important;opacity:1!important;
 position:static!important;width:20px!important;height:20px!important;
 min-width:20px!important;min-height:20px!important;margin:0!important;padding:0!important;
 fill:none!important;stroke:#fff!important;stroke-width:2.4!important;
 stroke-linecap:round!important;stroke-linejoin:round!important;pointer-events:none!important;
 transform:none!important;
}
button:is(.cf-act-close,.cfr-wallet-close,.cf-modal-close,.cf-home-restaurant-close,
 .cfh-contact-popup__close,.cf-gyg-preview-modal__close,.cfv-modal-close,
 .cfv-market-close,.cfm360-day-place-close,.cfm360-detail-close,
 .cfm360-export-close,.cfh-app-guide-dialog__close,.cfh-tc-close,.cfh-dt-x,.cf-admin-modal-close):is(:hover,:focus-visible){
 background:#006f8c!important;color:#fff!important;
}
button:is(.cf-act-close,.cfr-wallet-close,.cf-modal-close,.cf-home-restaurant-close,
 .cfh-contact-popup__close,.cf-gyg-preview-modal__close,.cfv-modal-close,
 .cfv-market-close,.cfm360-detail-close){z-index:40!important;top:12px!important;right:12px!important;left:auto!important;bottom:auto!important;}
/* Preserve flow-positioned close controls of the 360 editor and export dialog. */
.cfm360-day-place-head > .cfm360-day-place-close,
.cfm360-export-head .cfm360-export-close,
.cfh-app-guide-dialog__bar .cfh-app-guide-dialog__close{position:relative!important;inset:auto!important;}
/* Modal surfaces should cover the site's fixed navigation, sticky toolbars and docks. */
body :is(.cf-act-modal,.cf-modal,.cfv-modal,.cfv-market-modal,
 .cf-home-restaurant-modal,.cf-home-event-modal,.cf-gyg-preview-modal,
 .cfm360-detail-modal,.cfm360-native-card-modal,.cfm360-day-place-overlay,
 .cfm360-own-editor-overlay,.cfm360-export-portal,.cfh-app-guide-dialog,
 .cfh-contact-popup,.cfh360-sync-overlay){z-index:2147483500!important;}
body :is(.cf-act-wallet-modal,.cfr-wallet-modal){z-index:2147483550!important;}
body .cfh360-dialog-overlay{z-index:2147483646!important;}
/* Fixed overlays must not be clipped to small dimensions by mobile layouts. */
@media(max-width:700px){
 body :is(.cf-act-modal,.cf-modal,.cfv-modal,.cfv-market-modal,
 .cf-home-restaurant-modal,.cfm360-detail-modal,.cfm360-native-card-modal,
 .cfm360-day-place-overlay,.cfh360-dialog-overlay){max-width:none!important;max-height:none!important;}
}
/* Touch controls use the system picker. 16px input text prevents iOS focus zoom;
 * never block pinch zoom or change the viewport meta tag. */
@media(pointer:coarse){
 body:not(.wp-admin) :is(.cfm360,.cfm360-day-place-overlay,.cfh360-dialog-overlay,
 .cf-act,.cf-act-modal,.cfv-modal,.cfv-market-modal,.cf-modal,.cf-home-restaurant-modal,
 .cfh-contact-popup,.cfh-app-guide-dialog,.cfm360-export-portal,.cf-travel-overview,
 .cf-home-section-events,.cf-home-section-restaurants,.cf-home-section-activities,
 .cfh-account-box,.cfh-partner-box,.cfh-tc-modal,.cfv-market-section)
 :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),textarea,select){
  font-size:max(16px,1rem)!important;-webkit-text-size-adjust:100%;
 }
}
/* Fallback for modal markup intentionally kept inside its component tree:
 * promote the plugin section when it contains an active fullscreen dialog. */
@supports selector(:has(*)){
 body :is(.cfm360,.cf-travel-overview,.cfv-market-section,.cf-home-section-events,
 .cf-home-section-restaurants):has(:is(.cfm360-detail-modal,.cfm360-native-card-modal,
 .cf-modal,.cfv-modal,.cfv-market-modal,.cf-home-restaurant-modal).is-open){
   position:relative!important;z-index:2147483490!important;
 }
 body .cfv-market-section:has(.cfv-market-modal:not([hidden])),
 body .cf-home-section-events:has(.cf-home-event-modal.is-open){
   position:relative!important;z-index:2147483490!important;
 }
}
/* Preserve the travel-code and standalone export portals' high layers. */
body>.cfm360-export-portal,body>.cfh360-sync-overlay{z-index:2147483600!important}
body>.cfm360-day-place-overlay{z-index:2147483605!important}
body>.cfh-tc-modal{z-index:2147483642!important}

@supports selector(:has(*)){
 body .cfm360:has(.cfm360-day-place-overlay),
 body .cfm360:has(.cfm360-own-editor-overlay){position:relative!important;z-index:2147483490!important}
}

/* Custom desktop date/time picker must always be above its parent dialog. */
body .cfh-dt-root{z-index:2147483647!important}
