/* The site's top bar, new design: Hamza's pick "C, light blue" (1 Nov 2026). Written into the theme by
   dts-tools/site-header-v2/apply.py; change it there and apply again, never in the theme by hand.

   One flat light blue bar on every page: navy words, his logo with navy letters (header.php), the electric blue button.
   No lines, no glow, no underline in any state, no light sweeping over it; the same bar while scrolling (no floating
   rounded box). The bar keeps the heights it had (97 px, 89 px from 1200 px down, 69 px from 768 px down), so the space
   every page leaves under it stays right. main.css forces dark bars page by page with !important
   (body.home .nav.scrolled .nav-container and the like), so these rules start at #nav and carry !important. */

/* The bar */
#nav,#nav.scrolled{padding:0!important;background:transparent!important;z-index:1002!important}
#nav .nav-container,#nav.scrolled .nav-container{max-width:none!important;min-height:97px;padding:24px 60px!important;border:0!important;border-radius:0!important;background:#e8f1ff!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
/* After scrolling, a short soft shadow under the bar, no line (3 Nov 2026, his "the box shadow all over this page and
   header seems to aggreasvie": it was 0 8px 28px at .10, a wide grey haze over the page under it). */
#nav.scrolled .nav-container{box-shadow:0 6px 16px -12px rgba(0,20,41,.14)!important}
@media(max-width:1200px){#nav .nav-container,#nav.scrolled .nav-container{min-height:89px;padding:20px 30px!important}}
@media(max-width:768px){#nav .nav-container,#nav.scrolled .nav-container{min-height:69px;padding:15px 20px!important}}
#nav .nav-container::before,#nav .nav-links a::after,#nav .nav-cta::before{display:none!important}

/* The logo the same size on every page, as main.css sizes it (the cart page's own picture rules made it 45 px tall on
   phones, so its bar was 75 px instead of 69). */
#nav .custom-logo{height:45px!important;width:auto!important;max-width:none!important;max-height:none!important}
@media(max-width:768px){#nav .custom-logo{height:35px!important}}
@media(max-width:480px){#nav .custom-logo{height:30px!important}}

/* Words, account and cart: navy; a white fill around them on hover and keyboard focus. */
#nav .nav-links a,#nav .nav-cart{color:#102b4a!important;border-radius:4px;transition:background-color .15s ease-out,color .15s ease-out!important}
#nav .nav-links a:is(:hover,:focus-visible){color:#001429!important;background:#fff;box-shadow:0 0 0 6px #fff}
#nav .nav-cart:is(:hover,:focus-visible){color:#001429!important;background:#fff!important;transform:none!important}
#nav .cart-count{background:#0066ff!important;box-shadow:none!important}

/* The button: electric blue, 8 px corners like the pages' buttons, navy on hover. */
#nav .nav-cta{background:#0066ff!important;color:#fff!important;border:0!important;border-radius:8px!important;box-shadow:none!important;transform:none!important;padding:12px 22px!important;font-weight:650!important;transition:background-color .15s ease-out!important}
#nav .nav-cta:is(:hover,:focus-visible,:active){background:#102b4a!important;color:#fff!important;box-shadow:none!important;transform:none!important}

/* Phone and tablet: the menu button in navy; the menu a light blue panel with white rows, under the bar so its close
   button stays in sight. */
#nav .menu-toggle span{background:#102b4a!important;box-shadow:none!important}
/* main.css hides the menu words from 968 px down but shows the menu button only from 768 px down (a later
   .menu-toggle{display:none} wins), so tablets had no menu at all. The button shows wherever the words are hidden. */
@media(max-width:968px){#nav .menu-toggle{display:flex!important}}
#mobileMenu{background:#e8f1ff!important;box-shadow:-6px 0 24px rgba(0,20,41,.08)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
/* main.css gives the menu both left:0 (an older rule) and right:-100% (its slide-in), so on tablets it opened at the
   left edge; and its dark ::before layer sat over the menu itself and greyed it. The menu now slides in at the right,
   with no grey layer. */
#mobileMenu{left:auto!important}
#mobileMenu::before,#mobileMenu::after{display:none!important}
#mobileMenu .mobile-menu-links a,#mobileMenu .mobile-menu-links a:hover{color:#102b4a!important;background:#fff!important;border:0!important;border-radius:10px!important;box-shadow:none!important;transform:none!important;padding:18px 24px!important}
#mobileMenu .mobile-menu-links a:is(:hover,:focus-visible){background:#d8e6ff!important;color:#001429!important}
@media(max-width:480px){#mobileMenu .mobile-menu-links a,#mobileMenu .mobile-menu-links a:hover{padding:16px 20px!important}}
#mobileMenu .mobile-menu-links a::before{display:none!important}
#mobileMenu .mobile-menu-cta a{background:#0066ff!important;color:#fff!important;border:0!important;border-radius:10px!important;box-shadow:none!important;transform:none!important}
#mobileMenu .mobile-menu-cta a:is(:hover,:focus-visible){background:#102b4a!important}

/* The open menu, tidied (6 Nov 2026, Hamza: "also on mobile header menu is not resposniv eand fucked too").
   main.css gave the list a 30 px gap AND each row an 8 px margin (38 px between rows), so on a phone the last rows and the
   Browse Plugins button fell below the screen; rows 1 to 5 slid in one after another with a bounce while rows 6 to 8 were
   already there; the panel itself swung in with an overshoot; the chat bubble sat on top of the open menu; and the page
   behind kept scrolling. Now: 10 px between rows, every row there at once, a calm slide, the panel as tall as the visible
   screen (phones' own toolbars included), its rows lined up with the bar's logo and close button, the chat bubble under
   the menu, the page behind still, and on tablets (where the menu is a 400 px panel) the page beside it softly dimmed. */
#mobileMenu{transition:right .3s cubic-bezier(.2,.7,.2,1)!important;height:100vh!important;height:100dvh!important;padding:105px 32px 32px!important}
@media(max-width:768px){#mobileMenu{padding:85px 24px 24px!important}}
@media(max-width:480px){#mobileMenu{padding:85px 20px 20px!important}}
#mobileMenu .mobile-menu-links{gap:10px!important;margin:0 0 24px!important}
#mobileMenu .mobile-menu-links li{margin:0!important;opacity:1!important;transform:none!important;transition:none!important}
/* The button right under the rows: main.css pushed it to the panel's foot (margin-top:auto), which left an empty band
   between Cart and the button on taller screens. */
#mobileMenu .mobile-menu-cta{opacity:1!important;transform:none!important;transition:none!important;margin-top:0!important}
#mobileMenu .mobile-cart-link{display:flex!important;align-items:center;gap:12px}
#mobileMenu .mobile-cart-link svg{flex:none}
#mobileMenu.active{box-shadow:0 0 0 100vmax rgba(0,20,41,.22),-6px 0 24px rgba(0,20,41,.08)!important}
body:has(#mobileMenu.active) #sellsmith-root{z-index:999!important}
html:has(#mobileMenu.active),body:has(#mobileMenu.active){overflow:hidden!important}

/* No underline anywhere in the bar or the menu, in any state; keyboard focus is a soft ring. */
:is(#nav,#mobileMenu) a,:is(#nav,#mobileMenu) a *,:is(#nav,#mobileMenu) a:is(:hover,:focus,:focus-visible,:active),:is(#nav,#mobileMenu) a:is(:hover,:focus,:focus-visible,:active) *{text-decoration:none!important}
:is(#nav,#mobileMenu) :is(a,button):focus-visible{outline:2px solid rgba(0,102,255,.45);outline-offset:3px}
