/* Final shared navigation layer: clear type, quiet surfaces, generous hit areas. */
html body #mtePremiumHeader, html body #mtePremiumHeader.mte-scrolled { background: #fff !important; }
/* Keep the fixed shell visually above page content while its compact scroll
 * state is changing. The explicit edge prevents text/images from visually
 * merging into the navigation on small screens. */
html body #mtePremiumHeader {
    z-index: 100000 !important;
    isolation: isolate !important;
    border-bottom: 1px solid rgba(31, 41, 55, .12) !important;
    box-shadow: 0 10px 28px rgba(31, 41, 55, .15), 0 2px 8px rgba(31, 41, 55, .08) !important;
}
html body #mtePremiumHeader.mte-scrolled {
    border-bottom-color: rgba(31, 41, 55, .16) !important;
    box-shadow: 0 14px 34px rgba(31, 41, 55, .19), 0 4px 10px rgba(31, 41, 55, .09) !important;
}
html body #mtePremiumHeader::after {
    content: "" !important;
    position: absolute !important;
    z-index: 2 !important;
    right: 0 !important;
    bottom: -1px !important;
    left: 0 !important;
    height: 1px !important;
    background: rgba(31, 41, 55, .10) !important;
    pointer-events: none !important;
}
html body #mtePremiumHeader .mte-header-row,
html body #mtePremiumHeader .mte-header-utility {
    backface-visibility: hidden !important;
}
html body:has(#mtePremiumHeader) { scroll-padding-top: 124px !important; }
html body #mtePremiumHeader .mte-header-row { border-radius: 0 !important; }
html body #mtePremiumHeader :is(.mte-nav-link, .mte-catalog-menu a) {
    text-transform: uppercase !important;
    font-weight: 650 !important;
    letter-spacing: .035em !important;
}
html body #mtePremiumHeader .mte-nav-link {
    font-size: 14px !important;
    color: #1d1d1f !important;
    padding-inline: 9px !important;
}
html body #mtePremiumHeader :is(.mte-mobile-cta, .mte-desktop-cta) {
    background: #ffbf25 !important;
    border: 1px solid transparent !important;
    border-radius: 12px !important;
    color: #1d1d1f !important;
    padding: 10px 14px !important;
    min-height: 44px !important;
    gap: 8px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    line-height: 1.35 !important;
    width: auto !important;
    flex: 0 0 auto !important;
    justify-content: center !important;
}
html body #mtePremiumHeader .mte-desktop-cta { min-width: 154px !important; }
html body #mtePremiumHeader :is(.mte-mobile-cta, .mte-desktop-cta):hover {
    background: #f3b51e !important;
    color: #1d1d1f !important;
}
html body #mtePremiumHeader :is(.mte-mobile-cta, .mte-desktop-cta) .mte-contact-icon { width: 24px !important; height: 24px !important; color: inherit !important; }
html body #mtePremiumHeader .mte-hamburger-btn {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 12px 0 4px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: #1d1d1f !important;
    box-shadow: none !important;
}
html body #mtePremiumHeader .mte-menu-lines span { background: #1d1d1f !important; }
html body #mtePremiumHeader .mte-hamburger-btn:is(:hover,:focus-visible,[aria-expanded="true"]) { background: transparent !important; transform: none !important; }
html body :is(#mtePremiumHeader, #mteSidebar) :is(a,button,summary):focus-visible {
    outline: 2px solid #0071e3 !important;
    outline-offset: 3px !important;
}
@media (min-width: 1024px) {
    html body #mtePremiumHeader .mte-catalog-nav-item::before { display: none !important; }
    html body #mtePremiumHeader .mte-catalog-nav-item > .mte-catalog-menu {
        width: 370px !important;
        min-width: 0 !important;
        max-width: calc(100vw - 48px) !important;
        max-height: min(72vh, 650px) !important;
        padding: 22px !important;
        border: 1px solid rgba(0,0,0,.055) !important;
        border-radius: 0 0 22px 22px !important;
        background: rgba(251,251,253,.98) !important;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: 0 24px 48px rgba(0,0,0,.12) !important;
        transition: opacity .18s ease, transform .2s ease, visibility .18s !important;
    }
    html body #mtePremiumHeader .mte-catalog-nav-item > .mte-catalog-menu--themes {
        display: grid !important;
        grid-template-columns: repeat(3,minmax(0,1fr)) !important;
        width: 760px !important;
        gap: 18px !important;
    }
    html body #mtePremiumHeader .mte-catalog-menu--themes .mte-catalog-menu-group { padding: 0 !important; margin: 0 !important; border: 0 !important; }
    html body #mtePremiumHeader .mte-catalog-menu .mte-catalog-menu-group > span {
        padding: 0 10px 12px !important;
        margin: 0 !important;
        border: 0 !important;
        color: #86868b !important;
        font-size: 12px !important;
        font-weight: 600 !important;
    }
    html body #mtePremiumHeader .mte-catalog-menu :is(.mte-header-drop-link,.mte-catalog-menu-link--image) {
        min-height: 48px !important;
        padding: 12px 10px !important;
        border: 0 !important;
        border-radius: 9px !important;
        background: transparent !important;
        color: #1d1d1f !important;
        font-size: 16px !important;
        font-weight: 650 !important;
        line-height: 1.4 !important;
        transition: background .15s ease !important;
    }
    html body #mtePremiumHeader .mte-catalog-menu :is(.mte-header-drop-link,.mte-catalog-menu-link--image):hover {
        padding: 12px 10px !important;
        background: #ededf0 !important;
        color: #1d1d1f !important;
    }
    html body #mtePremiumHeader .mte-catalog-menu .mte-catalog-menu-link__label { font-size: inherit !important; font-weight: inherit !important; color: inherit !important; }
    html body #mtePremiumHeader .mte-catalog-menu-footer { grid-column: 1 / -1; padding: 16px 10px 0 !important; margin-top: 12px !important; border-top: 1px solid #dedee2 !important; }
    html body #mtePremiumHeader .mte-catalog-menu-footer > a { font-size: 13px !important; color: #515154 !important; }
}
/* Both drawers use the same information hierarchy and restrained sheet surface. */
html body .mte-sidebar-overlay {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100010 !important;
    background: rgba(25,25,28,.22) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}
html body #mteSidebar {
    display: flex !important;
    flex-direction: column !important;
    top: max(12px, env(safe-area-inset-top)) !important;
    right: 12px !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    left: auto !important;
    width: min(520px, calc(100vw - 24px)) !important;
    max-width: none !important;
    height: auto !important;
    max-height: none !important;
    border: 1px solid rgba(0,0,0,.06) !important;
    border-radius: 26px !important;
    background: #fbfbfd !important;
    color: #1d1d1f !important;
    box-shadow: 0 30px 90px rgba(0,0,0,.18) !important;
    z-index: 100020 !important;
    overflow: hidden !important;
    transform: translateX(32px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform .28s cubic-bezier(.22,1,.36,1), opacity .2s ease, visibility .2s !important;
}
html body #mteSidebar.active { transform: translateX(0) !important; opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
html body.admin-bar #mteSidebar { top: calc(var(--wp-admin--admin-bar--height,32px) + 12px) !important; }
html body #mteSidebar .mte-sidebar-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex: 0 0 auto !important;
    min-height: 84px !important;
    padding: 20px 28px !important;
    background: transparent !important;
    border: 0 !important;
}
html body #mteSidebar .mte-sidebar-sheet-title { display: block !important; color: #86868b !important; font-size: 14px !important; font-weight: 600 !important; letter-spacing: 0 !important; }
html body #mteSidebar :is(.mte-sidebar-brand,.mte-sidebar-close__label,.mte-sidebar-mobile-heading) { display: none !important; }
html body #mteSidebar .mte-sidebar-close {
    display: grid !important;
    place-items: center !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #eaeaec !important;
    color: #515154 !important;
}
html body #mteSidebar .mte-sidebar-content { flex: 1 1 auto !important; min-height: 0 !important; padding: 0 28px 24px !important; overflow-y: auto !important; overflow-x: hidden !important; background: transparent !important; overscroll-behavior: contain; }
html body #mteSidebar .mte-sb-section { margin: 0 0 26px !important; background: transparent !important; }
html body #mteSidebar .mte-sb-title { border: 0 !important; padding: 6px 0 12px !important; margin: 0 !important; font-size: 12px !important; color: #86868b !important; font-weight: 600 !important; letter-spacing: .04em !important; }
html body #mteSidebar :is(.mte-sb-link,.mte-sb-details > summary) {
    min-height: 56px !important;
    padding: 12px 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #1d1d1f !important;
    font-size: 21px !important;
    font-weight: 650 !important;
    letter-spacing: -.015em !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
}
html body #mteSidebar .mte-sb-link::after { display: none !important; }
html body #mteSidebar :is(.mte-sb-link,.mte-sb-details > summary):hover { color: #6e6e73 !important; background: transparent !important; }
html body #mteSidebar .mte-sb-details { border: 0 !important; margin: 0 !important; }
html body #mteSidebar .mte-sb-details > summary i { font-size: 12px !important; color: #86868b !important; transition: transform .18s; }
html body #mteSidebar .mte-sb-details[open] > summary i { transform: rotate(180deg); }
html body #mteSidebar .mte-sb-details__items { border: 0 !important; margin: 0 0 12px !important; padding: 6px 14px !important; border-radius: 14px; background: #f0f0f3; }
html body #mteSidebar .mte-sb-details__items .mte-sb-link { min-height: 46px !important; padding: 10px 0 !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: .02em !important; }
html body #mteSidebar .mte-catalog-menu-link__media { display: none !important; }
html body #mteSidebar .mte-catalog-menu-link__meta { display: none !important; }
html body #mteSidebar .mte-catalog-menu-link__label { color: inherit !important; font: inherit !important; }
html body #mteSidebar .mte-sidebar-cities-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 8px !important; }
html body #mteSidebar .mte-sb-city-card { display: flex !important; min-height: 46px !important; padding: 12px !important; border: 0 !important; border-radius: 10px !important; background: #f0f0f3 !important; color: #515154 !important; font-size: 14px !important; font-weight: 600 !important; text-transform: uppercase; }
html body #mteSidebar .mte-sb-city-card .mte-catalog-menu-link__label { font-size: 14px !important; }
html body #mteSidebar .mte-sidebar-footer { flex: 0 0 auto !important; padding: 18px 28px 24px !important; border: 0 !important; background: #fbfbfd !important; }
html body #mteSidebar .mte-sidebar-cta { display: flex !important; min-height: 52px !important; justify-content: space-between !important; align-items: center !important; padding: 14px 20px !important; border: 0 !important; border-radius: 14px !important; background: #ffbf25 !important; color: #1d1d1f !important; font-size: 14px !important; font-weight: 700 !important; text-transform: uppercase !important; }
html body #mteSidebar :is(.mte-sidebar-footer-actions,.mte-sidebar-tagline) { display: none !important; }
@media (min-width:1024px) and (max-width:1399px) {
    html body #mtePremiumHeader .mte-nav-link { font-size: 13px !important; padding-inline: 6px !important; }
    html body #mtePremiumHeader .mte-header-phone-copy { display: none !important; }
    html body #mtePremiumHeader .mte-header-center { gap: 4px !important; }
}
@media (max-width:1023px) {
    html body #mtePremiumHeader .mte-mobile-cta { display: inline-flex !important; font-size: 10px !important; padding: 8px 10px !important; }
    html body #mtePremiumHeader .mte-desktop-cta { display: none !important; }
    html body #mteSidebar { width: calc(100vw - 16px) !important; inset: 8px 8px max(8px,env(safe-area-inset-bottom)) !important; border-radius: 22px !important; transform: translateY(-12px) !important; }
    html body #mteSidebar.active { transform: translateY(0) !important; }
    html body #mteSidebar .mte-sidebar-header { min-height: 76px !important; padding: 18px 24px !important; }
    html body #mteSidebar .mte-sidebar-content { padding: 0 24px 20px !important; }
    html body #mteSidebar .mte-sidebar-footer { padding: 16px 24px 20px !important; }
}
@media (min-width:1024px) and (max-width:1199px) {
    html body #mtePremiumHeader .mte-header-center { display: none !important; }
}
@media (max-width:380px) {
    html body #mtePremiumHeader .mte-mobile-cta .mte-contact-icon { display: none !important; }
    html body #mtePremiumHeader .mte-hamburger-btn { margin-inline: 0 6px !important; }
    html body #mteSidebar :is(.mte-sb-link,.mte-sb-details > summary) { font-size: 18px !important; }
}
@media (prefers-reduced-motion:reduce) {
    html body #mteSidebar, html body .mte-sidebar-overlay, html body #mtePremiumHeader .mte-catalog-nav-item > .mte-catalog-menu { transition: none !important; }
}

/* Shorter compact-state transition avoids a half-collapsed header during a
 * fast swipe/trackpad scroll. */
html body #mtePremiumHeader .mte-header-utility {
    transition: max-height .2s cubic-bezier(.22, 1, .36, 1), opacity .14s ease, transform .2s cubic-bezier(.22, 1, .36, 1) !important;
}
html body #mtePremiumHeader .mte-header-row {
    transition: height .2s cubic-bezier(.22, 1, .36, 1), min-height .2s cubic-bezier(.22, 1, .36, 1), padding .2s ease !important;
}
