.mobile-header-tools[hidden],.mobile-navigation[hidden]{display:none!important}
/* Quiet account controls; cart and mobile menu keep their existing treatment. */
header .navbar .nav-actions #notification-toggle,
header .navbar .nav-actions>a[href="account.php"]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:8px 10px;background:transparent;color:#fff;border:0;box-shadow:none;border-radius:9px;text-decoration:none}
header .navbar .nav-actions #notification-toggle:hover,
header .navbar .nav-actions #notification-toggle[aria-expanded="true"],
header .navbar .nav-actions>a[href="account.php"]:hover{background:#ffffff14;color:#ddd8ff}
header .navbar .nav-actions #notification-toggle:focus-visible,
header .navbar .nav-actions>a[href="account.php"]:focus-visible{outline:2px solid #bfb5ff;outline-offset:3px;background:#ffffff14}
header .navbar .nav-actions>a[href="account.php"] svg{width:18px;height:18px;flex-shrink:0}
header .navbar .nav-actions #notification-badge:empty{display:none}
header .nav-actions>a[href*="favorites="]{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}
header .nav-actions>a[href*="favorites="] [data-fav-count]{display:inline-flex;align-items:center;justify-content:center;min-width:22px;min-height:22px;line-height:1;padding:3px 6px;flex-shrink:0}
@media(max-width:900px){
 header .navbar.mobile-header-ready{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;width:calc(100% - 24px);min-height:72px;padding:12px 0}
 header .mobile-header-ready>.logo{flex:1;min-width:0;max-width:180px;width:auto;margin:0}
 header .mobile-header-ready>.logo img{display:block;width:100%;height:auto;max-height:48px;object-fit:contain}
 .mobile-header-tools{display:flex;align-items:center;gap:8px;flex-shrink:0}
 .mobile-menu-toggle,.mobile-header-tools>a{display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:44px;padding:8px 10px;border:1px solid #ffffff30;border-radius:12px;background:#f4f1ff;color:#4545b8;font-size:13px;font-weight:700;white-space:nowrap}
 .mobile-header-tools>a span{padding:1px 5px;border-radius:8px;background:#e8e0ff}
 header .mobile-navigation{flex-basis:100%;min-width:0;padding:12px;border:1px solid #ffffff25;border-radius:16px;background:#252431;color:#fff}
 header .mobile-navigation nav,header .mobile-navigation .nav-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:0;padding:0;flex-wrap:unset}
 header .mobile-navigation .nav-actions{border-top:1px solid #ffffff25;margin-top:12px;padding-top:12px}
 header .mobile-navigation nav>a,header .mobile-navigation .nav-actions>a,header .mobile-navigation .nav-actions>button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:46px;margin:0;padding:10px;border-radius:10px;background:#ffffff0c;color:#fff;font-size:14px;text-align:center;white-space:normal;overflow-wrap:anywhere;text-decoration:none}
 header .mobile-navigation a:hover{background:#ffffff20}
 header .mobile-navigation .nav-actions>div{grid-column:1/-1;min-width:0}
 header .mobile-navigation #notification-toggle{width:100%;min-height:46px}
 header .mobile-navigation #notification-panel{position:fixed;left:12px;right:12px;top:90px;width:auto;max-width:none;max-height:calc(100dvh - 110px);overflow:auto;z-index:1000}
}
@media(max-width:380px){header .mobile-header-ready>.logo{max-width:125px}.mobile-header-tools{gap:5px}.mobile-menu-toggle,.mobile-header-tools>a{padding:8px;font-size:12px}}
