/* Nexus Parliament V6.1 — mobile navigation, visible support widgets, carousels & detail polish. */
body.theme-nexus-parliament-klima{--np6-blue:#154c9b;--np6-ink:#102b51;--np6-edge:#d6e3f4}
body.theme-nexus-parliament-klima .np6-mobile-actions,
body.theme-nexus-parliament-klima .np6-mobile-categories-trigger{display:none}
/* Repair the comparison group, keep each action a single self-contained item. */
body.theme-nexus-parliament-klima .np4-header-actions{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:nowrap!important;min-width:0}
body.theme-nexus-parliament-klima .np4-header-actions .np4-head-action{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;gap:7px;min-width:0;line-height:1.1}
body.theme-nexus-parliament-klima .np4-head-action>span{display:flex;flex-direction:column;gap:3px;white-space:nowrap;min-width:0}
body.theme-nexus-parliament-klima .np4-head-action small{line-height:1.2!important;white-space:nowrap}
body.theme-nexus-parliament-klima .np4-head-action svg{width:22px!important;height:22px!important;flex:none}
body.theme-nexus-parliament-klima .np4-header-actions .np6-compare-link{min-width:93px}
/* Opening a desktop category detail cannot be clipped by parent wrappers. */
body.theme-nexus-parliament-klima .np4-nav{overflow:visible}
body.theme-nexus-parliament-klima .np4-all-categories:not([open])>.np4-category-menu{display:none!important}
body.theme-nexus-parliament-klima .np4-all-categories[open]>.np4-category-menu{display:grid!important;z-index:150}
/* Keep both support tools present. Visibility remains subject to their admin settings. */
body.theme-nexus-parliament-klima #poem-ai{display:block!important;visibility:visible!important;opacity:1!important;z-index:170!important;right:18px!important;left:auto!important;bottom:168px!important}
body.theme-nexus-parliament-klima #poem-ai .poem-ai-bubble{pointer-events:auto!important}
body.theme-nexus-parliament-klima .velora-floating-whatsapp{display:inline-flex!important;visibility:visible!important;opacity:1!important;position:fixed!important;z-index:168!important;right:18px!important;left:auto!important;bottom:91px!important;width:56px!important;height:56px!important;border-radius:50%!important}
body.theme-nexus-parliament-klima #poem-ai[data-open="1"]{z-index:250!important}
body.theme-nexus-parliament-klima #poem-ai[data-open="1"] .poem-ai-panel{z-index:251!important}
/* Whole homepage uses independent horizontal sliders while keeping compact equal cards. */
body.theme-nexus-parliament-klima .np4-duo-products{overflow:visible!important}
body.theme-nexus-parliament-klima .np4-product-column{min-width:0;overflow:hidden}
body.theme-nexus-parliament-klima .np6-carousel-controls{display:flex;align-items:center;gap:5px;margin-left:auto}
body.theme-nexus-parliament-klima .np6-carousel-controls button{flex:none;display:grid;place-items:center;width:28px;height:28px;border:1px solid #c7d9f4;border-radius:9px;color:#164b91;background:#fff;box-shadow:0 3px 12px rgba(25,74,132,.06);cursor:pointer}
body.theme-nexus-parliament-klima .np6-carousel-controls button:hover{background:#e7f1ff}
body.theme-nexus-parliament-klima .np6-carousel-controls button:disabled{opacity:.45;cursor:default}
body.theme-nexus-parliament-klima .np6-carousel-controls a{display:flex;align-items:center;gap:5px;white-space:nowrap;font-size:10px;color:#144c9b;text-decoration:none;font-weight:750;background:#f8fbff;border:1px solid #d5e2f3;border-radius:9px;padding:7px 8px}
body.theme-nexus-parliament-klima .np4-product-column>.np4-heading>a{display:none!important}
body.theme-nexus-parliament-klima .np4-small-product-grid.np6-product-track{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;gap:9px!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory;overscroll-behavior-inline:contain;scrollbar-width:none;padding:3px 2px 7px;scroll-behavior:smooth;min-width:0}
body.theme-nexus-parliament-klima .np6-product-track::-webkit-scrollbar{display:none}
body.theme-nexus-parliament-klima .np6-product-track>.nx-product-card{flex:0 0 calc((100% - 27px)/4)!important;min-width:0!important;width:calc((100% - 27px)/4)!important;max-width:none!important;scroll-snap-align:start;align-self:stretch}
body.theme-nexus-parliament-klima .np6-product-track .nx-product-info{min-width:0!important}
/* Detail layout, gallery and action hierarchy */
body.theme-nexus-parliament-klima .nx-product-detail-page{padding-top:23px!important;padding-bottom:42px!important}
body.theme-nexus-parliament-klima .nx-product-detail-page>.grid{align-items:start;column-gap:clamp(22px,3vw,48px)!important}
body.theme-nexus-parliament-klima .nx-product-detail-page .poem-product-main-media{aspect-ratio:1.18/1!important;max-height:640px;overflow:hidden!important;background:linear-gradient(145deg,#fff,#f8fbff)!important}
body.theme-nexus-parliament-klima .nx-product-detail-page .poem-product-main-media img{padding:clamp(12px,2.5vw,30px)!important;object-fit:contain!important}
body.theme-nexus-parliament-klima .nx-product-detail-page h1{font-size:clamp(25px,2.1vw,37px)!important;line-height:1.12!important;overflow-wrap:anywhere}
body.theme-nexus-parliament-klima .nx-product-detail-page [data-thumb-group]>button{border:1px solid #d9e6f7!important;background:#fff!important;border-radius:12px!important;overflow:hidden}
body.theme-nexus-parliament-klima .nx-product-detail-page [data-thumb-group]>button:hover{border-color:#2d72cf!important}
body.theme-nexus-parliament-klima .nx-product-detail-page .poem-product-main-media .poem-product-zoom-btn{background:#112f58!important;color:#fff!important}
body.theme-nexus-parliament-klima .nx-product-detail-page :is(.poem-product-detail-price,.poem-product-price-panel,.giyimo-product-quote-box){min-width:0!important;overflow-wrap:anywhere}
body.theme-nexus-parliament-klima .nx-product-detail-page .mt-10>.grid{align-items:stretch!important}
body.theme-nexus-parliament-klima .nx-product-detail-page .mt-10>.grid>.nx-product-card{min-width:0}
body.theme-nexus-parliament-klima .nx-product-detail-page .mt-10>.grid:has(> :only-child){display:grid!important;grid-template-columns:minmax(0,min(100%,290px))!important}
body.theme-nexus-parliament-klima .nx-product-detail-page .mt-10:has(>.grid){border-radius:18px}
body.theme-nexus-parliament-klima .nx-product-detail-page .mt-10:has(>.grid) h2{font-family:'Space Grotesk','Inter',sans-serif!important;color:#102e55!important;line-height:1.15!important}
/* Keep the floating actions away from the accessibility control while scrolling. */
@media(max-width:1090px) and (min-width:821px){
 body.theme-nexus-parliament-klima .np4-header-actions{gap:9px!important}
 body.theme-nexus-parliament-klima .np4-header-actions .np6-compare-link{min-width:30px}
 body.theme-nexus-parliament-klima .np4-header-actions .np4-head-action>span{display:none!important}
}
@media(max-width:820px){
 body.theme-nexus-parliament-klima .np4-header-main{grid-template-columns:40px minmax(100px,1fr) auto auto!important;gap:6px!important;min-width:0;padding:7px 0!important;overflow:visible!important}
 body.theme-nexus-parliament-klima .np4-header-main>.np4-header-actions{display:none!important}
 body.theme-nexus-parliament-klima .np4-header-main>.np4-logo{min-width:0;max-width:170px!important}
 body.theme-nexus-parliament-klima .np4-header-main>.np4-logo img{max-width:100%!important;max-height:40px!important}
 body.theme-nexus-parliament-klima .np6-mobile-actions{display:flex!important;align-items:center;justify-content:flex-end;gap:4px;min-width:0}
 body.theme-nexus-parliament-klima .np6-mobile-icon{display:grid;place-items:center;position:relative;flex:none;width:37px;height:37px;color:#113664!important;background:#f2f7ff;border:1px solid #cddff7;border-radius:11px;text-decoration:none!important}
 body.theme-nexus-parliament-klima .np6-mobile-icon svg{height:19px!important;width:19px!important;display:block}
 body.theme-nexus-parliament-klima .np6-mobile-icon em{font:800 9px/1 'Inter',sans-serif;font-style:normal;position:absolute;top:-5px;right:-4px;display:grid;place-items:center;min-width:16px;height:16px;padding:2px;color:#fff;background:#0d4c9c;border-radius:50%}
 body.theme-nexus-parliament-klima .np6-mobile-cart{background:linear-gradient(#235caa,#103c7d)!important;color:#fff!important;border-color:#194e95}
 body.theme-nexus-parliament-klima .np4-mobile-menu{width:38px;height:38px;display:grid!important;place-items:center!important}
 body.theme-nexus-parliament-klima .np4-mobile-search{width:34px;height:38px;display:grid!important;place-items:center!important}
 body.theme-nexus-parliament-klima .np4-nav{display:flex;align-items:center;overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:none;min-height:46px!important;gap:12px!important}
 body.theme-nexus-parliament-klima .np4-nav>.np4-all-categories{display:none!important}
 body.theme-nexus-parliament-klima .np6-mobile-categories-trigger{display:flex!important;align-items:center;gap:7px;flex:0 0 auto;min-height:36px;padding:7px 12px;border:0;border-radius:8px;background:linear-gradient(#2257a5,#103463);color:#fff;font:750 11px/1.2 'Inter',sans-serif;cursor:pointer;white-space:nowrap}
 body.theme-nexus-parliament-klima .np6-mobile-categories-trigger svg:last-child{margin-left:4px}
 body.theme-nexus-parliament-klima .poem-drawer:not(.hidden){display:block!important;position:fixed!important;inset:0!important;z-index:310!important}
 body.theme-nexus-parliament-klima .poem-drawer-panel{width:min(88vw,360px)!important;max-width:360px!important;height:100dvh!important;overflow-y:auto!important;overscroll-behavior:contain;background:#fff!important;box-shadow:18px 0 50px rgba(4,25,57,.25)!important;padding-bottom:calc(28px + env(safe-area-inset-bottom,0px))}
 body.theme-nexus-parliament-klima .poem-drawer-backdrop{position:fixed!important;inset:0!important;background:rgba(7,25,56,.62)!important}
 body.theme-nexus-parliament-klima .poem-drawer-nav{display:flex!important;flex-direction:column!important;gap:3px!important;padding:10px 13px!important}
 body.theme-nexus-parliament-klima .poem-drawer-nav>a,
 body.theme-nexus-parliament-klima .np6-drawer-category>summary{display:flex!important;align-items:center;justify-content:space-between;gap:9px;min-height:44px;padding:11px 13px!important;font:700 13px/1.35 'Inter',sans-serif!important;color:#183c6c!important;border:1px solid #e5edf7!important;border-radius:10px!important;background:#f8fbff;cursor:pointer;text-decoration:none!important;list-style:none}
 body.theme-nexus-parliament-klima .np6-drawer-category>summary::-webkit-details-marker{display:none}
 body.theme-nexus-parliament-klima .np6-drawer-category[open]>summary{border-color:#bad4f4!important;background:#eaf4ff!important}
 body.theme-nexus-parliament-klima .np6-drawer-category[open]>summary svg{transform:rotate(180deg)}
 body.theme-nexus-parliament-klima .np6-drawer-submenu{display:grid!important;gap:2px;margin:3px 0 7px 12px;border-left:2px solid #c7dafa;padding-left:9px}
 body.theme-nexus-parliament-klima .np6-drawer-submenu>a{display:block!important;padding:10px 11px!important;font-size:12px!important;color:#234e83!important;text-decoration:none!important;background:#fff;border-radius:8px}
 body.theme-nexus-parliament-klima .np6-drawer-heading{padding:13px 7px 7px;color:#16478d;font:800 12px 'Inter',sans-serif;display:flex;align-items:center;gap:8px;letter-spacing:.01em}
 body.theme-nexus-parliament-klima .np6-drawer-other{border-top:1px solid #e0e9f5;margin-top:9px}
 body.theme-nexus-parliament-klima #poem-ai{bottom:calc(env(safe-area-inset-bottom,0px) + 160px)!important;right:12px!important}
 body.theme-nexus-parliament-klima .velora-floating-whatsapp{bottom:calc(env(safe-area-inset-bottom,0px) + 91px)!important;right:13px!important;width:52px!important;height:52px!important}
 body.theme-nexus-parliament-klima #poem-ai[data-open="1"] .poem-ai-panel{bottom:calc(env(safe-area-inset-bottom,0px) + 156px)!important;z-index:350!important}
 body.theme-nexus-parliament-klima .np6-product-track>.nx-product-card{flex-basis:calc((100% - 9px)/2)!important;width:calc((100% - 9px)/2)!important}
 body.theme-nexus-parliament-klima .nx-product-detail-page .poem-product-main-media{aspect-ratio:1.08/1!important}
}
@media(max-width:380px){
 body.theme-nexus-parliament-klima .np4-header-main{grid-template-columns:33px minmax(78px,1fr) auto auto!important;gap:3px!important}
 body.theme-nexus-parliament-klima .np6-mobile-icon{width:31px;height:34px;border-radius:9px}
 body.theme-nexus-parliament-klima .np6-mobile-actions{gap:2px}
 body.theme-nexus-parliament-klima .np4-mobile-search{width:29px}
 body.theme-nexus-parliament-klima .np4-logo img{max-width:106px!important}
 body.theme-nexus-parliament-klima .np6-carousel-controls a{font-size:9px;padding:6px}
}
@media(prefers-reduced-motion:reduce){body.theme-nexus-parliament-klima .np6-product-track{scroll-behavior:auto!important}}
/* The drawer panel MUST be above its backdrop, otherwise taps on submenus are intercepted. */
@media(max-width:820px){
 body.theme-nexus-parliament-klima #mobile-drawer .poem-drawer-backdrop{z-index:0!important}
 body.theme-nexus-parliament-klima #mobile-drawer .poem-drawer-panel{position:fixed!important;top:0!important;left:0!important;bottom:0!important;z-index:2!important;transform:none!important;pointer-events:auto!important}
}
