/* Storefront stacking-context safety guards.
   Keep this file intentionally small and last in the store CSS order.
   It only normalizes overlay layering and avoids changing everyday layout. */

body.magaza-hesap-style .page-loader,
body.magaza-hesap-style .announcement-modal {
    z-index: 13000 !important;
}

body.magaza-hesap-style .magaza-nav-search-wrap,
body.magaza-hesap-style .magaza-search-wrap {
    position: relative;
    overflow: visible !important;
}

body.magaza-hesap-style .magaza-search-dropdown {
    z-index: 12030 !important;
}

body.magaza-hesap-style .magaza-float-cta-wrap,
body.magaza-hesap-style .magaza-float-cta {
    z-index: 10030 !important;
}

body.magaza-hesap-style.cookie-open .magaza-float-cta-wrap {
    bottom: max(96px, calc(82px + env(safe-area-inset-bottom))) !important;
}

body.magaza-hesap-style.magaza-drawer-open .magaza-float-cta-wrap {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.magaza-hesap-style .magaza-nav-cat-drawer {
    z-index: 12500 !important;
}

body.magaza-hesap-style .magaza-cat-drawer {
    z-index: 12501 !important;
}

body.premium-page.magaza-hesap-style .magaza-nav-profile-wrap {
    z-index: 12340 !important;
}

body.premium-page.magaza-hesap-style .magaza-nav-profile-dropdown {
    z-index: 12350 !important;
}
