/* N1 header redesign v1.0 - VISUAL ONLY (no markup, routes, ids or handlers changed). Desktop scope: html.desktop-header-active. Mobile header untouched in v1.0. Rollback: uninstall/disable modification numberone_header_redesign. */
html.desktop-header-active header.header-classic{background:linear-gradient(180deg,#0e0e0e 0,#0e0e0e 32px,#181818 32px,#1d1d1d 100%) !important;box-shadow:0 10px 28px rgba(0,0,0,.35);position:relative;z-index:60}

/* top utility bar */
html.desktop-header-active header.header-classic .top-bar{min-height:32px;height:32px}
html.desktop-header-active header.header-classic .top-bar .top-menu,html.desktop-header-active header.header-classic .top-bar .top-menu .j-menu,html.desktop-header-active header.header-classic .top-bar .top-menu .j-menu>li,html.desktop-header-active header.header-classic .top-bar .top-menu .j-menu>li>a{height:32px;min-height:0}
html.desktop-header-active header.header-classic .top-bar .top-menu .j-menu>li>a{display:flex;align-items:center;font-size:11px;font-weight:600;letter-spacing:.5px;color:#bdbdbd !important;padding-top:0;padding-bottom:0;transition:color .18s ease,text-shadow .18s ease}
html.desktop-header-active header.header-classic .top-bar .top-menu .j-menu>li>a:hover{color:#fff !important;text-shadow:0 0 10px rgba(229,9,20,.75)}

/* main bar */
html.desktop-header-active header.header-classic .mid-bar,html.desktop-header-active header.header-classic .mid-bar .desktop-logo-wrapper,html.desktop-header-active header.header-classic .mid-bar .desktop-search-wrapper,html.desktop-header-active header.header-classic .mid-bar .classic-cart-wrapper{height:120px;min-height:0}
html.desktop-header-active header.header-classic #logo img{flex:none !important;width:146px !important;height:146px !important;max-width:none !important;max-height:none !important;margin:-13px 0 !important;transition:transform .25s ease,filter .25s ease}
html.desktop-header-active header.header-classic #logo a:hover img{transform:scale(1.04);filter:drop-shadow(0 0 14px rgba(229,9,20,.45))}
html.desktop-header-active header.header-classic .desktop-logo-wrapper,html.desktop-header-active header.header-classic #logo,html.desktop-header-active header.header-classic #logo a{overflow:visible !important;justify-content:center;align-items:center}

/* search */
html.desktop-header-active header.header-classic .desktop-search-wrapper #search,html.desktop-header-active header.header-classic .desktop-search-wrapper #search .dropdown-menu{width:100% !important;max-width:430px;height:48px}
html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search{width:100%;height:48px;display:flex;align-items:stretch;background:#262626;border:1px solid #3b3b3b;border-radius:999px;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease,background .2s ease}
html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search:hover{border-color:#5a5a5a}
html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search:focus-within{border-color:#E50914;background:#2b2b2b;box-shadow:0 0 0 3px rgba(229,9,20,.18),0 0 22px rgba(229,9,20,.25)}
html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search input{flex:1;position:static !important;width:auto !important;height:100% !important;background:transparent !important;border:0 !important;color:#fff !important;font-size:14px;padding:0 6px 0 20px !important;box-shadow:none !important;border-radius:0 !important}
html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search input::placeholder{color:#9b9b9b;opacity:1}
html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search button{width:54px;height:100% !important;background:#E50914 !important;color:#fff !important;border:0 !important;border-radius:0 !important;display:flex;align-items:center;justify-content:center;transition:background .18s ease}
html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search button:hover{background:#ff1f2c !important}
html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search button,html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search button *,html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search button::before,html.desktop-header-active header.header-classic .desktop-search-wrapper .header-search button::after{color:#fff !important;fill:#fff !important}

/* cart */
html.desktop-header-active header.header-classic .desktop-cart-wrapper #cart>a.cart-heading{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:48px;min-width:220px;padding:0 22px;background:#262626 !important;border:1px solid #3b3b3b !important;border-radius:999px !important;transition:border-color .2s ease,box-shadow .2s ease,transform .18s ease}
html.desktop-header-active header.header-classic .desktop-cart-wrapper #cart>a.cart-heading:hover{border-color:#E50914 !important;box-shadow:0 0 20px rgba(229,9,20,.28);transform:translateY(-1px)}
html.desktop-header-active header.header-classic .desktop-cart-wrapper #cart>a.cart-heading *{color:#fff !important;font-weight:600}
html.desktop-header-active header.header-classic .desktop-cart-wrapper #cart>a.cart-heading i,html.desktop-header-active header.header-classic .desktop-cart-wrapper #cart>a.cart-heading svg{color:#E50914 !important;fill:#E50914}

/* category navigation */
html.desktop-header-active header.header-classic .desktop-main-menu-wrapper{height:46px}
html.desktop-header-active header.header-classic .desktop-main-menu-wrapper::before{background:#222 !important;height:46px !important;border-top:1px solid #343434;border-bottom:2px solid #E50914;box-sizing:border-box}
html.desktop-header-active header.header-classic #main-menu>ul.j-menu>li>a{height:44px;padding:0 17px !important;display:flex;align-items:center;font-size:12px !important;font-weight:700 !important;letter-spacing:.7px;color:#e9e9e9 !important;position:relative;transition:color .18s ease,background .18s ease,text-shadow .18s ease}
html.desktop-header-active header.header-classic #main-menu>ul.j-menu>li>a::after{content:"";position:absolute;left:17px;right:17px;bottom:0;height:2px;background:#E50914;box-shadow:0 0 10px rgba(229,9,20,.9);transform:scaleX(0);transform-origin:center;transition:transform .22s ease}
html.desktop-header-active header.header-classic #main-menu>ul.j-menu>li:hover>a,html.desktop-header-active header.header-classic #main-menu>ul.j-menu>li.n1-active>a{color:#fff !important;background:rgba(229,9,20,.12);text-shadow:0 0 12px rgba(229,9,20,.6)}
html.desktop-header-active header.header-classic #main-menu>ul.j-menu>li:hover>a::after,html.desktop-header-active header.header-classic #main-menu>ul.j-menu>li.n1-active>a::after{transform:scaleX(1)}
html.desktop-header-active header.header-classic #main-menu>ul.j-menu>li>a i,html.desktop-header-active header.header-classic #main-menu>ul.j-menu>li>a svg{color:#E50914}

/* dropdown / mega menus */
html.desktop-header-active header.header-classic #main-menu .dropdown-menu.j-dropdown{background:#1b1b1b !important;border-top:2px solid #E50914 !important;box-shadow:0 22px 44px rgba(0,0,0,.55) !important;border-radius:0 0 12px 12px;overflow:hidden}
html.desktop-header-active header.header-classic #main-menu .mega-menu-content{background:#1b1b1b !important}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .item-content{background:#232323 !important;border:1px solid #3a3a3a !important;box-shadow:none !important}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .item-content:hover{background:#2c2c2c !important;border-color:#E50914 !important}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .module-item,html.desktop-header-active header.header-classic #main-menu .dropdown-menu a.catalog-title{border-color:#3a3a3a !important;box-shadow:none !important}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu a.catalog-title{color:#fff !important;font-size:15px !important;letter-spacing:.7px;transition:color .18s ease,text-shadow .18s ease}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu a.catalog-title:hover{color:#ff3b46 !important;text-shadow:0 0 12px rgba(229,9,20,.55)}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .j-menu a:not(.catalog-title),html.desktop-header-active header.header-classic #main-menu .dropdown-menu .item-assets a{color:#c7c7c7 !important;transition:color .15s ease,padding-left .15s ease}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .j-menu a:not(.catalog-title):hover{color:#fff !important;padding-left:4px}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .subitems a,html.desktop-header-active header.header-classic #main-menu .dropdown-menu .subitems a *{color:#cfcfcf !important;font-size:13px !important}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .subitems a:hover,html.desktop-header-active header.header-classic #main-menu .dropdown-menu .subitems a:hover *{color:#fff !important}

/* mega-menu extra modules (Top Brands / Top Sellers): readable titles, white brand tiles */
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .module-title,html.desktop-header-active header.header-classic #main-menu .dropdown-menu h3.title{color:#fff !important}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .manufacturer-thumb .image{background:#fff;border-radius:8px;overflow:hidden}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .manufacturer-thumb .image img{opacity:.9}

/* Top Brands tiles: uniform squares, whole logo visible */
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .manufacturer-thumb .image{aspect-ratio:1/1;display:flex !important;align-items:center;justify-content:center;background:#fff}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .manufacturer-thumb .image a{display:flex;width:100%;height:100%;align-items:center;justify-content:center}
html.desktop-header-active header.header-classic #main-menu .dropdown-menu .manufacturer-thumb .image img{width:100% !important;height:100% !important;max-width:100%;object-fit:contain;padding:4px;box-sizing:border-box}

/* desktop sticky navigation bar (class n1-stuck is toggled by n1-header.js on scroll) */
html.desktop-header-active.n1-stuck header.header-classic .desktop-main-menu-wrapper{position:fixed;top:0;left:50%;transform:translateX(-50%);width:100%;max-width:1400px;z-index:1000}
html.desktop-header-active.n1-stuck header.header-classic .desktop-main-menu-wrapper::before{box-shadow:0 8px 24px rgba(0,0,0,.45)}

/* mobile header (html.mobile-header-active): dark bars, red accent, pill search. The menu button is left untouched. */
html.mobile-header-active .mobile-header{background:#181818 !important}
html.mobile-header-active .mobile-header .mobile-top-bar{background:#0e0e0e !important;border-bottom:1px solid #262626}
html.mobile-header-active .mobile-header .mobile-top-bar a,html.mobile-header-active .mobile-header .mobile-top-bar .menu-item a{color:#cfcfcf !important;font-size:11px;font-weight:600;letter-spacing:.4px}
html.mobile-header-active .mobile-header .mobile-bar{background:linear-gradient(180deg,#181818 0%,#1d1d1d 100%) !important;border-bottom:2px solid #E50914;box-shadow:0 8px 20px rgba(0,0,0,.35)}
html.mobile-header-active .mobile-header .mobile-bar a,html.mobile-header-active .mobile-header .mobile-bar a::before,html.mobile-header-active .mobile-header .mobile-bar a::after,html.mobile-header-active .mobile-header .mobile-bar .mobile-cart-wrapper *::before{color:#fff !important}
html.mobile-header-active .mobile-header .mobile-search-wrapper{background:#181818;padding:10px 0}
html.mobile-header-active .mobile-header .mobile-search-wrapper .header-search{background:#262626 !important;border:1px solid #3b3b3b;border-radius:999px;overflow:hidden;height:46px}
html.mobile-header-active .mobile-header .mobile-search-wrapper .header-search input{background:transparent !important;color:#fff !important;border:0 !important;box-shadow:none !important;height:44px !important;padding-left:18px}
html.mobile-header-active .mobile-header .mobile-search-wrapper .header-search input::placeholder{color:#9b9b9b;opacity:1}
html.mobile-header-active .mobile-header .mobile-search-wrapper .header-search:focus-within{border-color:#E50914;box-shadow:0 0 0 3px rgba(229,9,20,.18)}
html.mobile-header-active .mobile-header .mobile-search-wrapper .search-button,html.mobile-header-active .mobile-header .mobile-search-wrapper .search-button *,html.mobile-header-active .mobile-header .mobile-search-wrapper .search-button::before,html.mobile-header-active .mobile-header .mobile-search-wrapper .search-button::after{background:#E50914 !important;color:#fff !important;border-radius:0 !important}

/* logo: no focus frame / glow when clicked or hovered */
html.desktop-header-active header.header-classic #logo,html.desktop-header-active header.header-classic #logo a,html.desktop-header-active header.header-classic #logo a:hover,html.desktop-header-active header.header-classic #logo a:focus,html.desktop-header-active header.header-classic #logo a:active,html.desktop-header-active header.header-classic #logo a:focus-visible,html.desktop-header-active header.header-classic #logo img,html.desktop-header-active header.header-classic #logo a:hover img,html.desktop-header-active header.header-classic #logo a:focus img,html.desktop-header-active header.header-classic #logo a:active img{outline:none !important;box-shadow:none !important;filter:none !important;-webkit-tap-highlight-color:transparent;transform:none !important}
html.mobile-header-active .mobile-logo-wrapper a,html.mobile-header-active .mobile-logo-wrapper a:focus,html.mobile-header-active .mobile-logo-wrapper a:active,html.mobile-header-active .mobile-logo-wrapper img{outline:none !important;box-shadow:none !important;-webkit-tap-highlight-color:transparent}
