/* ANUBIS V50 — shared header layout repair. Scoped to Blocksy header only. */
header.ct-header {box-sizing:border-box}
header.ct-header *,header.ct-header *::before,header.ct-header *::after {box-sizing:border-box}
header.ct-header [data-device="desktop"] [data-row="middle"] > .ct-container{
 display:grid!important;grid-template-columns:minmax(70px,116px) minmax(0,1fr) max-content!important;
 align-items:center!important;column-gap:clamp(8px,1.2vw,20px)!important;
 width:min(100% - 24px,1300px)!important;max-width:1300px!important;
 margin-inline:auto!important;height:auto!important;min-height:74px!important;
}
header.ct-header [data-device="desktop"] [data-row="middle"] [data-column="start"] {grid-column:1;min-width:0!important;width:auto!important}
header.ct-header [data-device="desktop"] [data-row="middle"] [data-column="middle"] {grid-column:2;min-width:0!important;width:auto!important;justify-self:stretch!important}
header.ct-header [data-device="desktop"] [data-row="middle"] [data-column="end"] {grid-column:3;min-width:0!important;width:auto!important;justify-self:end!important}
header.ct-header [data-device="desktop"] [data-row="middle"] [data-column="end"] > [data-items] {display:flex!important;align-items:center!important;gap:10px!important;flex-wrap:nowrap!important;min-width:0!important;width:max-content!important;max-width:none!important;justify-content:flex-end!important}
header.ct-header .anubis-v50-actions {display:inline-flex!important;flex:none!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important;flex-wrap:nowrap!important;white-space:nowrap!important}
header.ct-header .anubis-v50-actions > * {position:relative!important;inset:auto!important;float:none!important;flex:0 0 auto!important;transform:none!important;margin:0!important;vertical-align:middle!important}
header.ct-header .anubis-v50-actions .ct-header-cta .ct-button {white-space:nowrap!important;padding:11px 15px!important;min-width:0!important;line-height:1.25!important}
header.ct-header .anubis-v50-actions .anubis-v28-cart {display:inline-flex!important;align-items:center!important;gap:5px!important;text-decoration:none!important;white-space:nowrap!important;padding:7px 2px!important;min-width:max-content!important}
header.ct-header .anubis-v50-actions .anubis-v28-cart svg{display:block!important;flex:0 0 auto;width:21px!important;height:21px!important}
header.ct-header .anubis-v50-actions .anubis-v28-cart-badge{flex:0 0 auto!important;position:static!important;transform:none!important;min-width:18px!important;text-align:center!important}
header.ct-header .anubis-v50-actions .anubis-v48-lang{display:inline-flex!important;position:static!important;transform:none!important;margin:0!important;flex:none!important;white-space:nowrap!important}
header.ct-header [data-device="desktop"] nav.header-menu-1,
header.ct-header [data-device="desktop"] nav.header-menu-1 > ul {width:100%!important;max-width:100%!important;min-width:0!important}
header.ct-header [data-device="desktop"] nav.header-menu-1 > ul {display:flex!important;justify-content:center!important;align-items:center!important;flex-wrap:nowrap!important;gap:clamp(3px,.75vw,11px)!important;margin:0!important;padding:0!important}
header.ct-header [data-device="desktop"] nav.header-menu-1 > ul > li {flex:0 0 auto!important;white-space:nowrap!important;min-width:0!important;margin:0!important;padding:0!important}
header.ct-header [data-device="desktop"] nav.header-menu-1 > ul > li > a {display:inline-flex!important;align-items:center!important;white-space:nowrap!important;padding:9px clamp(3px,.3vw,6px)!important;font-size:clamp(10px,.72vw,13px)!important;line-height:1.25!important;position:relative!important}
header.ct-header [data-device="desktop"] [data-row="middle"] .site-logo-container img{max-width:88px!important;height:auto!important;object-fit:contain!important}
/* Tablet landscape: move the menu beneath the controls, avoiding any link overlap. */
@media (min-width:1000px) and (max-width:1330px){
 header.ct-header [data-device="desktop"] [data-row="middle"] > .ct-container {grid-template-columns:minmax(70px,100px) 1fr!important;row-gap:0!important;padding-top:5px!important;padding-bottom:6px!important}
 header.ct-header [data-device="desktop"] [data-row="middle"] [data-column="start"]{grid-column:1!important;grid-row:1 / span 2!important}
 header.ct-header [data-device="desktop"] [data-row="middle"] [data-column="end"]{grid-column:2!important;grid-row:1!important;justify-self:end!important}
 header.ct-header [data-device="desktop"] [data-row="middle"] [data-column="middle"]{grid-column:2!important;grid-row:2!important;justify-self:stretch!important}
 header.ct-header [data-device="desktop"] nav.header-menu-1 > ul{justify-content:flex-start!important;gap:8px!important;flex-wrap:wrap!important}
 header.ct-header [data-device="desktop"] nav.header-menu-1 > ul > li > a{font-size:12px!important;padding:6px 3px!important}
}
/* Mobile/tablet: keep hamburger and cart/flag accessible without clipping. */
@media (max-width:999px){
 header.ct-header [data-device="mobile"] [data-row="middle"] > .ct-container{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;width:100%!important;max-width:100%!important;padding-inline:12px!important}
 header.ct-header [data-device="mobile"] [data-row="middle"] [data-column="start"]{flex:0 1 76px!important;min-width:45px!important}
 header.ct-header [data-device="mobile"] [data-row="middle"] [data-column="end"]{flex:0 0 auto!important;min-width:0!important}
 header.ct-header [data-device="mobile"] [data-row="middle"] [data-column="end"] > [data-items]{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:8px!important;flex-wrap:nowrap!important;width:auto!important}
 header.ct-header [data-device="mobile"] [data-row="middle"] .site-logo-container img{max-width:65px!important;height:auto!important}
 header.ct-header [data-device="mobile"] .anubis-v50-actions{gap:7px!important}
 header.ct-header [data-device="mobile"] .anubis-v50-actions .anubis-v28-cart-text{display:none!important}
 header.ct-header [data-device="mobile"] .anubis-v50-actions .anubis-v28-cart{padding:4px!important;gap:3px!important}
 header.ct-header [data-device="mobile"] .anubis-v50-actions .anubis-v48-lang{padding:4px!important}
 header.ct-header [data-device="mobile"] .ct-header-trigger{position:relative!important;transform:none!important;inset:auto!important;flex:none!important}
}
@media (max-width:420px){
 header.ct-header [data-device="mobile"] [data-row="middle"] > .ct-container{padding-inline:8px!important;gap:4px!important}
 header.ct-header [data-device="mobile"] .anubis-v50-actions{gap:4px!important}
 header.ct-header [data-device="mobile"] .anubis-v48-lang{gap:2px!important}
 header.ct-header [data-device="mobile"] .anubis-v48-lang a{padding:3px!important;min-width:20px!important}
}
