@media (max-width:767px){
  html body.headerScrolled .top-navigation-bar{top:0!important;transform:none!important;}
  html body.headerScrolled #header{top:50px!important;}
}

@media(max-width:767px){html body.headerScrolled .popup-widget.cart-widget{top:100px!important;}}

/* Isolated diagnostic prototype only. Not approved for deployment. */
@media(max-width:767px){
 html body.mobile-header-version-0.template-11:not(.dklabCrystal):not(.headerScrolled) .top-navigation-bar,
 html body.mobile-header-version-0.template-11:not(.dklabCrystal):not(.headerScrolled) #header{position:relative!important;top:auto!important;transform:none!important;transition:none!important;}
}

@media(max-width:767px){html body.mobile-header-version-0.template-11:not(.dklabCrystal):not(.headerScrolled) #content-wrapper{padding-top:10px!important;}}

@media(max-width:767px){
.overall-wrapper > .site-msg.information > .container:not(:has(.ne-site-info-label))::before{content:"Aktuálně";display:inline-flex;align-items:center;grid-column:1;justify-self:start;min-height:24px;padding:3px 9px;color:#fff;background:rgba(10,67,17,.42);border:1px solid rgba(255,255,255,.35);border-radius:999px;font-size:.6875rem;font-weight:700;line-height:1;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap;box-sizing:border-box;}
}

@media(max-width:767px){
html body.mobile-header-version-0.template-11 #header .site-name{display:flex!important;position:absolute!important;top:-50px!important;left:0!important;width:136px!important;max-width:136px!important;height:50px!important;margin:0!important;align-items:center!important;z-index:101;}
html body.mobile-header-version-0.template-11 #header .site-name img{max-width:128px!important;max-height:50px!important;width:auto!important;height:auto!important;}
}

@media(max-width:767px){html body.mobile-header-version-0.template-11 #header .site-name{left:15px!important;}html body.mobile-header-version-0.template-11 #header .site-name a{display:flex!important;align-items:center!important;height:50px!important;margin:0!important;padding:0!important;line-height:1!important;}html body.mobile-header-version-0.template-11 #header .site-name img{margin:0!important;}}

@media(max-width:767px){html body.mobile-header-version-0.template-11 #header .site-name img{width:128px!important;height:32px!important;object-fit:contain;}}

/* Keep original logo above navigation background until the existing runtime moves it. */
@media(max-width:767px){html body.mobile-header-version-0.template-11:not(.dklabCrystal) #header:has(.site-name){z-index:100!important;}}

@media (min-width:768px) and (max-width:991px) {
  html body #header .search { min-width:140px !important; }
}

/* Mobile scroll: retain only the menu; cart starts below its 50px row. */
@media(max-width:767px){
 html body.headerScrolled .top-navigation-bar{transform:translateY(-100%)!important;}
 html body.headerScrolled #header{top:0!important;}
 html body.headerScrolled .popup-widget.cart-widget{top:50px!important;}
}
