/* Native visibility Interactions target these explicitly named full-screen sections. */
body:not(.et-fb) .cafarte-dialog {position:fixed!important;inset:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;padding:0!important;z-index:999999;background:rgb(0 0 0 / .65)!important;overflow:auto;overscroll-behavior:contain;}
body:not(.et-fb) .cafarte-dialog > .et_pb_row {background:#fff;position:relative;}
body:not(.et-fb) .cafarte-dialog-menu > .et_pb_row {margin:0 0 0 auto!important;width:min(500px,100vw)!important;max-width:100vw!important;min-height:100dvh;padding:50px!important;}
body:not(.et-fb) .cafarte-dialog-search > .et_pb_row {top:50%;transform:translateY(-50%);margin:0 auto!important;width:min(818px,92vw)!important;padding:50px 40px!important;max-height:calc(100dvh - 32px);overflow:auto;}
body:not(.et-fb) .cafarte-dialog-cat > .et_pb_row,body:not(.et-fb) .cafarte-dialog-yeti > .et_pb_row,body:not(.et-fb) .cafarte-dialog-video > .et_pb_row {margin:8vh auto!important;width:min(900px,92vw)!important;padding:30px!important;}
.cafarte-close-dialog.et_pb_button{margin:0 0 20px auto;display:table;font-size:16px;}
.cafarte-open-menu:focus-visible,.cafarte-open-search:focus-visible,.cafarte-open-cat:focus-visible,.cafarte-open-yeti:focus-visible,.cafarte-close-dialog:focus-visible{outline:3px solid #f9ea2f;outline-offset:5px;}
body.cafarte-dialog-open {overflow:hidden;}
@media(max-width:767px){body:not(.et-fb) .cafarte-dialog-search>.et_pb_row{padding:50px 25px 30px!important}.cafarte-dialog-menu .et_pb_text h4{font-size:42px!important}}
@media(prefers-reduced-motion:no-preference){body:not(.et-fb) .cafarte-dialog-menu>.et_pb_row{animation:cafarte-menu-in .25s ease-out}@keyframes cafarte-menu-in{from{transform:translateX(100%)}to{transform:none}}}
#et-boc .et-l .cafarte-dialog {background:rgb(0 0 0 / .65)!important;}
#et-boc .et-l .cafarte-close-dialog.et_pb_button {color:#070707!important;border-color:#070707!important;}
/* Compact close control, with the existing Divi interaction and accessible name. */
body:not(.et-fb) .cafarte-dialog-search > .et_pb_row > .et_pb_column {position:static!important;}
body:not(.et-fb) .cafarte-dialog-search .et_pb_button_module_wrapper:has(.cafarte-close-dialog) {position:absolute;top:5px;right:5px;margin:0!important;}
#et-boc .et-l .cafarte-dialog-search .cafarte-close-dialog.et_pb_button {display:flex!important;align-items:center;justify-content:center;width:44px;height:44px;margin:0!important;padding:0!important;border:0!important;background:transparent!important;font:300 28px/1 Arial,sans-serif!important;}
#et-boc .et-l .cafarte-dialog-search .cafarte-close-dialog:before,
#et-boc .et-l .cafarte-dialog-search .cafarte-close-dialog:after {display:none!important;}

/* The existing animated portrait is the native trigger for the yeti secret. */
.cafarte-open-yeti {cursor:pointer;}
.cafarte-open-yeti .et-pb-background-video {pointer-events:none;}
.cafarte-mobile-menu .mobile_menu_bar[data-cafarte-menu-trigger]:focus-visible {outline:3px solid #f9ea2f;outline-offset:5px;}
