
/* ==========================================================================
   NANU Market 2026 — SAFE PREMIUM HEADER
   Built against actual Desktop.zip markup.
   Design principles: fast catalog/search flow, showroom cleanliness,
   strong hierarchy. Existing OpenCart logic remains untouched.
   ========================================================================== */
:root{
 --np-orange:#EC6608;
 --np-ink:#20211F;
 --np-muted:#777A77;
 --np-line:#E8E6E1;
 --np-paper:#FFF;
 --np-soft:#F6F4EF;
 --np-soft2:#F0EEE8;
 --np-ease:cubic-bezier(.22,.8,.24,1);
}
body>header{position:relative;z-index:70;background:#fff!important;border:0!important;box-shadow:none!important}
body>header .container{max-width:1480px!important}

/* SERVICE BAR: old top header becomes a slim, useful line */
body>header .header-top{
 background:#FAF9F6!important;border-bottom:1px solid var(--np-line)!important;
 min-height:36px!important;
}
body>header .header-flex{
 min-height:36px!important;height:36px!important;
 display:flex!important;align-items:center!important;gap:20px!important;
}
body>header .header-flex>.logo{display:none!important}
body>header .header-flex>.else{
 width:100%!important;display:grid!important;
 grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:20px!important;
}
body>header .header-flex>.else>ul{
 display:flex!important;align-items:center!important;gap:22px!important;margin:0!important;padding:0!important;
}
body>header .header-flex>.else>ul>li{margin:0!important}
body>header .header-flex>.else>ul>li>a{
 padding:0!important;color:#666966!important;font-size:10px!important;font-weight:650!important;
 line-height:36px!important;letter-spacing:-.01em!important;white-space:nowrap!important;text-decoration:none!important;
}
body>header .header-flex>.else>ul>li>a:hover{color:var(--np-ink)!important}
body>header .header-flex>.else>ul>li>button{transform:scale(.58)!important;margin-left:-4px!important}
body>header .header-flex ul>li.with.first ul,
body>header .header-flex ul>li.with.second ul,
body>header .header-flex ul>li.with.third ul{
 top:32px!important;border:1px solid var(--np-line)!important;border-radius:12px!important;
 box-shadow:0 18px 50px rgba(30,28,24,.10)!important;padding:7px!important
}
body>header .header-flex ul>li.with.first ul a,
body>header .header-flex ul>li.with.second ul a,
body>header .header-flex ul>li.with.third ul a{
 padding:9px 11px!important;border-radius:8px!important;font-size:11px!important;color:#4E514E!important
}
body>header .header-flex ul>li.with.first ul a:hover,
body>header .header-flex ul>li.with.second ul a:hover,
body>header .header-flex ul>li.with.third ul a:hover{
 background:#FFF2E8!important;color:var(--np-orange)!important
}
body>header .phones{margin-left:auto!important}
body>header .phones .main>a{
 height:30px!important;padding:0 8px!important;border-radius:8px!important;font-size:11px!important;
 color:var(--np-ink)!important;font-weight:720!important;text-decoration:none!important
}
body>header .phones .main>a:hover{background:#fff!important}
body>header .phones .main>a svg{width:14px!important;height:14px!important}
body>header .phone-info-toggle{transform:scale(.72)!important}
body>header .sale{
 height:28px!important;padding:0 10px!important;border-radius:8px!important;font-size:9px!important;
 font-weight:780!important;box-shadow:none!important
}
body>header .phone-info-pop{
 border:1px solid var(--np-line)!important;border-radius:14px!important;
 box-shadow:0 22px 60px rgba(30,28,24,.12)!important
}

/* MAIN COMMAND BAR */
body>header>.container:last-of-type{
 max-width:none!important;width:100%!important;padding:0!important;border-bottom:1px solid var(--np-line)!important;background:#fff!important
}
body>header>.container:last-of-type>.menu-flex{
 width:min(calc(100% - 48px),1480px)!important;margin:0 auto!important;
 min-height:82px!important;padding:12px 0!important;
 display:grid!important;grid-template-columns:150px 172px minmax(360px,1fr) auto!important;
 align-items:center!important;gap:14px!important;flex-wrap:nowrap!important;
}

/* JS-injected logo uses the actual existing logo URL */
body>header .np-main-logo{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 min-width:0!important;text-decoration:none!important
}
body>header .np-main-logo img{
 max-width:132px!important;max-height:43px!important;width:auto!important;height:auto!important;display:block!important
}

/* Catalog: strong but not loud */
body>header .menu-triger{
 width:172px!important;height:54px!important;margin:0!important;padding:0 15px!important;
 display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:11px!important;
 border:1px solid #DCD9D3!important;border-radius:12px!important;background:#fff!important;color:var(--np-ink)!important;
 font-size:12px!important;font-weight:760!important;letter-spacing:-.015em!important;box-shadow:none!important;
 transition:border-color .18s ease,background .18s ease,transform .2s var(--np-ease)!important
}
body>header .menu-triger:hover{
 border-color:#C9C5BE!important;background:var(--np-soft)!important;transform:translateY(-1px)!important
}
body>header .menu-triger svg{
 width:29px!important;height:29px!important;padding:7px!important;border-radius:8px!important;
 background:#FFF0E4!important;overflow:visible!important
}
body>header .menu-triger svg path{stroke:var(--np-orange)!important}

/* Search: the visual center, like the strongest competitors */
body>header #adeptdevAjaxSearch{
 min-width:0!important;width:auto!important;margin:0!important;position:relative!important
}
body>header #adeptdevAjaxSearch>#search,
body>header #adeptdevAjaxSearch>.search,
body>header #adeptdevAjaxSearch>form,
body>header #adeptdevAjaxSearch .input-group{
 height:54px!important;min-height:54px!important;width:100%!important;
 display:flex!important;align-items:stretch!important;
 border:1px solid #DFDCD6!important;border-radius:12px!important;background:var(--np-soft)!important;
 box-shadow:none!important;overflow:hidden!important;
 transition:background .18s ease,border-color .18s ease,box-shadow .18s ease!important
}
body>header #adeptdevAjaxSearch>#search:focus-within,
body>header #adeptdevAjaxSearch>.search:focus-within,
body>header #adeptdevAjaxSearch>form:focus-within,
body>header #adeptdevAjaxSearch .input-group:focus-within{
 background:#fff!important;border-color:#C6C3BC!important;box-shadow:0 0 0 4px rgba(32,33,31,.035)!important
}
body>header #adeptdevAjaxSearch input{
 position:relative!important;inset:auto!important;flex:1 1 auto!important;width:auto!important;min-width:0!important;
 height:52px!important;margin:0!important;padding:0 18px!important;border:0!important;background:transparent!important;
 box-shadow:none!important;font:520 13px/1 "Onest",Arial,sans-serif!important;color:#343633!important
}
body>header #adeptdevAjaxSearch input::placeholder{color:#999B97!important}
body>header #adeptdevAjaxSearch button{
 position:relative!important;inset:auto!important;flex:0 0 54px!important;width:54px!important;height:52px!important;
 margin:0!important;padding:0!important;border:0!important;border-left:1px solid #E2DFD9!important;border-radius:0!important;
 background:transparent!important;box-shadow:none!important
}
body>header #adeptdevAjaxSearch button:hover{background:#fff!important}
body>header #adeptdevAjaxResults{
 top:calc(100% + 8px)!important;border:1px solid var(--np-line)!important;border-radius:14px!important;
 box-shadow:0 24px 70px rgba(30,28,24,.13)!important
}

/* Action island: less boxes, clearer priorities */
body>header .something{
 min-width:0!important;margin:0!important;display:flex!important;align-items:center!important;gap:10px!important
}
body>header .something .btns{
 height:54px!important;display:flex!important;align-items:center!important;gap:1px!important;
 padding:0!important;border:0!important;border-radius:0!important;background:transparent!important
}
body>header .something .btns>button{
 position:relative!important;width:42px!important;min-width:42px!important;height:42px!important;margin:0!important;padding:0!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 border:0!important;border-radius:50%!important;background:transparent!important;box-shadow:none!important;color:var(--np-ink)!important;
 font-size:8px!important;font-weight:800!important;transition:background .16s ease,transform .18s var(--np-ease)!important
}
body>header .something .btns>button:hover{background:var(--np-soft)!important;transform:translateY(-1px)!important}
body>header .something .btns>button svg{width:20px!important;height:20px!important}
body>header .something .btns>.header-cart{
 width:50px!important;min-width:50px!important;height:50px!important;margin-left:4px!important;border-radius:12px!important;
 background:var(--np-orange)!important;color:#fff!important
}
body>header .something .btns>.header-cart:hover{background:#D95D05!important}
body>header .something .btns>.header-cart svg path{stroke:#fff!important}
body>header .something>.langlang{
 height:34px!important;padding:2px!important;margin:0!important;border-radius:9px!important;background:var(--np-soft)!important
}
body>header .language-select{
 min-width:31px!important;height:30px!important;padding:0 6px!important;border-radius:7px!important;
 font-size:10px!important;font-weight:760!important
}
body>header .language-select.selected{background:#fff!important;box-shadow:0 1px 4px rgba(25,24,21,.08)!important}

/* remove excessive empty header height / legacy decorations */
body>header .menu-flex::before,body>header .menu-flex::after{display:none!important}
body>header .mobile-menu-trigger,body>header .mobile-logo{}

/* Catalog panel only: calm surface, existing behavior untouched */
body>header .category-list-menu .menu-but>ul.list-unstyled{
 border:1px solid var(--np-line)!important;border-radius:14px!important;background:#fff!important;
 box-shadow:0 22px 60px rgba(30,28,24,.10)!important;overflow:hidden!important
}
body>header .category-list-menu .menu-but>ul.list-unstyled>li>a{
 min-height:48px!important;padding-left:15px!important;padding-right:14px!important;
 border-bottom:1px solid #F0EEE9!important;background:#fff!important;color:#444744!important;
 font-size:12px!important;font-weight:600!important
}
body>header .category-list-menu .menu-but>ul.list-unstyled>li>a:hover{
 background:#FFF5ED!important;color:var(--np-orange)!important
}
body>header .category-list-menu .plate-white{
 border:1px solid var(--np-line)!important;border-radius:0 14px 14px 0!important;
 box-shadow:18px 22px 60px rgba(30,28,24,.08)!important;background:#fff!important
}

/* HOME: only clean the first-screen framing, no product internals */
#common-home{max-width:1480px!important;padding-top:22px!important}
#common-home>.row{margin-left:-8px!important;margin-right:-8px!important}
#common-home>.row>.visible-lg.col-lg-3,#common-home>.row>#content{padding-left:8px!important;padding-right:8px!important}
#common-home>.row>#content>*:first-child{
 border-radius:16px!important;overflow:hidden!important;background:#fff!important;
 box-shadow:0 10px 35px rgba(32,30,26,.05)!important
}
#common-home .category-list-menu .menu-but{
 border-radius:16px!important;border:1px solid var(--np-line)!important;background:#fff!important;
 box-shadow:0 10px 35px rgba(32,30,26,.045)!important;overflow:hidden!important
}

/* sticky */
body.np-header-sticky>header{
 position:sticky!important;top:0!important;z-index:90!important;box-shadow:0 10px 35px rgba(32,30,26,.055)!important
}

/* tablet */
@media(max-width:1199px){
 body>header>.container:last-of-type>.menu-flex{
   grid-template-columns:125px 155px minmax(280px,1fr) auto!important;gap:10px!important
 }
 body>header .np-main-logo img{max-width:112px!important}
 body>header .header-flex>.else>ul{gap:14px!important}
 body>header .header-flex>.else>ul>li>a{font-size:9px!important}
}

/* mobile keeps the theme's known working flow */
@media(max-width:767px){
 body>header .header-top{display:none!important}
 body>header>.container:last-of-type>.menu-flex{
   width:calc(100% - 20px)!important;min-height:auto!important;
   display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:10px 0!important
 }
 body>header .np-main-logo{display:none!important}
 body>header .mobile-menu-trigger{
   flex:0 0 44px!important;width:44px!important;height:44px!important;
   display:flex!important;align-items:center!important;justify-content:center!important;
   border:1px solid var(--np-line)!important;border-radius:11px!important;background:var(--np-soft)!important
 }
 body>header .mobile-logo{display:flex!important;align-items:center!important;flex:1 1 auto!important}
 body>header .mobile-logo img{max-width:110px!important;max-height:38px!important}
 body>header .menu-triger{display:none!important}
 body>header .something{margin-left:auto!important}
 body>header .something .btns>button:not(.header-cart){display:none!important}
 body>header .something>.langlang{display:none!important}
 body>header #adeptdevAjaxSearch{
   order:20!important;flex:0 0 100%!important;width:100%!important;margin:2px 0 0!important
 }
 body>header #adeptdevAjaxSearch>#search,
 body>header #adeptdevAjaxSearch>.search,
 body>header #adeptdevAjaxSearch>form,
 body>header #adeptdevAjaxSearch .input-group{height:48px!important;min-height:48px!important}
 body>header #adeptdevAjaxSearch input{
   position:absolute!important;inset:0!important;width:100%!important;height:100%!important;padding-right:54px!important
 }
 body>header #adeptdevAjaxSearch button{
   position:absolute!important;top:0!important;right:0!important;bottom:0!important;width:50px!important;height:100%!important
 }
 #common-home{padding-top:12px!important}
}
@media(prefers-reduced-motion:reduce){body>header *{transition:none!important}}
