/* Smartmax v58: category watercolors in the native navigation only. */
/* v58r3: match the CSS-open panel immediately, before native hover timers. */
@media(min-width:768px){
 html.smx-integration-v1 body.template-11 #header:has(#navigation:is(:hover,:focus-within)){z-index:9999!important}
 html.smx-integration-v1 body.template-11 #header #navigation .menu-level-2 a{transition-property:color,background-color,border-color!important}
}
#header #navigation .menu-level-1>li>.menu-level-2{background:#fff6ef!important;border-color:#f4c6a7!important}
html.smx-integration-v1 body.template-11 #header #navigation .menu-level-1>li>.menu-level-2>li{background:#ffe4d3!important;border-color:#efc8ae!important}
html.smx-integration-v1 body.template-11 #header #navigation .menu-level-1>li>.menu-level-2>li:hover{background:#ffdcc3!important}
#header #navigation .menu-level-2>li :is(.menu-image,img,div,div>a){background:transparent!important}
#header #navigation .menu-level-2>li>div>a{color:#0d2b4a!important}
@media(max-width:767px){
 #header #navigation .menu-level-1>li>.menu-level-2>li:not(.menu-item-category){display:flex!important;align-items:center;gap:12px;min-height:76px;padding:10px 12px!important}
 #header #navigation .menu-level-2>li>a.menu-image{display:flex!important;align-items:center;justify-content:center;flex:0 0 64px;width:64px;padding:0!important}
 #header #navigation .menu-level-2>li>a.menu-image>img{display:block!important;width:64px!important;height:54px!important;max-width:100%;object-fit:contain}
 #header #navigation .menu-level-2>li>div{flex:1 1 0;min-width:0}
 #header #navigation .menu-level-2>li>div>a{white-space:normal;overflow-wrap:anywhere}
}
@media(min-width:768px) and (max-width:991px){
 html.smx-integration-v1 body.template-11 #header #navigation .menu-level-1>li>.menu-level-2{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px!important}
 html.smx-integration-v1 body.template-11 #header #navigation .menu-level-2>li:not(.menu-item-category){display:flex!important;align-items:center;gap:10px;width:auto!important;max-width:none!important;min-width:0;min-height:82px;padding:10px!important}
 html.smx-integration-v1 body.template-11 #header #navigation .menu-level-2>li>.menu-image{flex:0 0 56px;width:56px!important;padding:0!important}
 html.smx-integration-v1 body.template-11 #header #navigation .menu-level-2>li>.menu-image>img{width:56px!important;height:52px!important;object-fit:contain}
 html.smx-integration-v1 body.template-11 #header #navigation .menu-level-2>li>div{flex:1 1 0;min-width:0}
 html.smx-integration-v1 body.template-11 #header #navigation .menu-level-2>li>div>a,html.smx-integration-v1 body.template-11 #header #navigation .menu-level-2>li>div>a>span{white-space:normal!important;overflow-wrap:anywhere}
}
/* v58r2: switch desktop panels atomically; avoid overlapping fades. */
@media(min-width:768px){
 html.smx-integration-v1 body.template-11 #header #navigation .navigation-in>.menu-level-1>li.ext>.menu-level-2{transition:none!important}
 html.smx-integration-v1 body.template-11 #header #navigation .navigation-in>.menu-level-1:has(>li:hover)>li.ext:not(:hover)>.menu-level-2{opacity:0!important;visibility:hidden!important;pointer-events:none!important}
}
