/* Sticky header styles for #main-header */
/* Base: try native sticky first; fall back to fixed via .is-sticky */
#main-header{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:10050;transition:background-color .25s ease, box-shadow .25s ease}
#main-header .elementor-widget-image img{height:auto;max-height:72px;transition:max-height .25s ease, transform .25s ease}
/* When JS toggles .is-sticky we force fixed to avoid ancestor overflow/transform issues */
#main-header.is-sticky{position:fixed;top:var(--wp-admin--admin-bar--height,0px);left:0;right:0;width:100%;background-color:rgba(255,255,255,.98);box-shadow:0 6px 18px rgba(0,0,0,.08)}
#main-header.is-sticky .elementor-widget-image img{max-height:48px}
/* Prevent hidden parts when Elementor container has overflow:hidden by ensuring header itself can overflow */
#main-header{overflow:visible}
@media (max-width:767px){#main-header .elementor-widget-image img{max-height:56px}#main-header.is-sticky .elementor-widget-image img{max-height:42px}}
