/* ForFirst VABEX 1.1.2: original desktop branding + mobile bottom navigation. */
body.ff-header-enabled {--ff-blue:#0989bd;--ff-dark:#073c50;--ff-bottom-inset:0px;}
body.ff-header-enabled section#myTopSectionTOP.ff-topbar {display:block!important;position:relative;z-index:999;background:#eff5f8;padding:0;border-bottom:1px solid #dbe7ec;}
.ff-topbar .ff-topbar-inner {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:30px;box-sizing:border-box;}
.ff-topbar .ff-topbar-contacts {display:flex;align-items:center;gap:14px;flex-wrap:wrap;}
.ff-topbar .ff-topbar-contacts div.custom.myLine {display:contents;}
body.ff-header-enabled .ff-topbar div.custom.myLine p {width:auto;margin:0;white-space:nowrap;font:12px/26px Arial,sans-serif;}
.ff-topbar div.custom.myLine p:before {display:none!important;}
.ff-topbar a {color:#17485f;}
.ff-topbar .ff-contact-phone {font-weight:700!important;}
.ff-topbar .ff-contact-phone img {display:none;}
body.ff-header-enabled .ff-topbar-tools {display:flex;align-items:center;justify-content:center;gap:12px;}
body.ff-header-enabled .ff-topbar-tools > div {float:none;position:static;margin:0;background:transparent;}
body.ff-header-enabled .ff-topbar-tools form#myCurrency {display:flex;align-items:center;gap:4px;margin:0;padding:0;font-size:12px;}
body.ff-header-enabled .ff-topbar-tools form#myCurrency span {display:none;}
body.ff-header-enabled .ff-topbar-tools form#myCurrency select {width:64px!important;min-height:26px;height:26px;margin:0;padding:2px 4px!important;background:transparent;color:#17485f;font-size:12px;}
body.ff-header-enabled .ff-topbar-tools div.mod-languages.myLangSwitch {margin:0;padding:0;}
body.ff-header-enabled .ff-topbar-tools div.mod-languages.myLangSwitch ul {display:flex;align-items:center;gap:6px;margin:0;padding:0;}
body.ff-header-enabled .ff-topbar-tools div.mod-languages.myLangSwitch li {display:block;float:none;margin:0;padding:0;}
body.ff-header-enabled .ff-topbar-tools div.mod-languages.myLangSwitch li img {width:20px;height:12px;margin:0;}
/* Keep the original white logo and the curved blue background on desktop. */
body.ff-header-enabled #top-handler .ff-header-row {display:flex;align-items:center;flex-wrap:wrap;width:100%;min-width:0;min-height:102px;margin:0;float:none;}
body.ff-header-enabled #top-handler div.myPosLogo {float:none;flex:0 0 240px;margin:0 28px 0 0;}
body.ff-header-enabled #myTopSection div.custom.myLogo {height:102px;}
body.ff-header-enabled #myTopSection div.custom.myLogo img {width:220px;max-width:100%;height:auto;padding:0;}
body.ff-header-enabled #top-handler div.myTopMenuRight {display:flex;align-items:center;justify-content:space-between;gap:24px;float:none;flex:1;min-width:0;width:auto;margin:0;padding:0;min-height:102px;}
body.ff-header-enabled #top-handler div.myTopMenuRight > div {float:none!important;height:auto;margin:0;}
body.ff-header-enabled #top-handler div.mySearchPos.ff-search-host {display:block;flex:1;min-width:0;max-width:360px;order:1;}
body.ff-header-enabled #top-handler .myLogPannel {order:2;flex:0 0 auto;}
body.ff-header-enabled #top-handler .myCartModule {order:3;flex:0 0 auto;}
body.ff-header-enabled #top-handler .myTopMenu {width:100%;}
body.ff-header-enabled:not(.ff-has-main-menu) #top-handler .myTopMenu {display:none;}
.ff-search-toggle,.ff-mobile-bar,.ff-mobile-tools,.ff-nav-caption {display:none;}
/* Strong enough to override MijoSearch's legacy fixed 247/205px input widths. */
body.ff-header-enabled .mySearchPos.ff-search-host > .ff-search-desktop-slot {display:block;width:100%;height:auto;}
body.ff-header-enabled .mySearchPos.ff-search-host .ff-search-module {display:block;width:100%;height:auto;}
body.ff-header-enabled #top-handler .ff-search-module form,
body.ff-header-enabled #ff-search-drawer .ff-search-module form {display:flex!important;align-items:stretch;position:relative!important;top:auto;right:auto;bottom:auto;width:100%!important;max-width:100%;height:42px;margin:0!important;}
body.ff-header-enabled #top-handler .ff-search-module form > div.mijosearch,
body.ff-header-enabled #ff-search-drawer .ff-search-module form > div.mijosearch {display:block;position:relative!important;top:auto;bottom:auto;right:auto!important;float:none!important;width:0!important;flex:1 1 0%;min-width:0;height:42px!important;margin:0!important;overflow:visible!important;}
body.ff-header-enabled #top-handler .ff-search-module input[type="text"],
body.ff-header-enabled #top-handler .ff-search-module input[type="search"],
body.ff-header-enabled #ff-search-drawer .ff-search-module input[type="text"],
body.ff-header-enabled #ff-search-drawer .ff-search-module input[type="search"] {display:block;position:static;left:auto;width:100%!important;max-width:100%!important;min-width:0;box-sizing:border-box;margin:0!important;padding:11px 13px!important;height:42px!important;font:14px/20px Arial,sans-serif!important;color:#17485f;border:0!important;border-radius:5px 0 0 5px!important;background:#fff!important;box-shadow:none;}
body.ff-header-enabled #top-handler .ff-search-module button[type="submit"],
body.ff-header-enabled #ff-search-drawer .ff-search-module button[type="submit"] {display:flex;align-items:center;justify-content:center;position:static!important;width:44px!important;flex:0 0 44px;height:42px!important;margin:0!important;padding:0!important;overflow:hidden;border:0;border-radius:0 5px 5px 0!important;background:#073c50!important;background-image:none!important;color:#fff!important;font-size:0!important;}
body.ff-header-enabled .ff-search-module button[type="submit"]:before {content:'\f002';font:18px FontAwesome;}
.ff-search-module .myButtonOpen,.ff-search-module .myButtonClose {display:none!important;}
body.ff-header-enabled .ff-search-module #search-results {position:absolute;top:100%;left:0!important;right:0!important;width:auto!important;max-width:100%;box-sizing:border-box;z-index:10;}
.ff-search-overlay[hidden],.ff-search-drawer[hidden],.ff-mobile-tools[hidden] {display:none!important;}
.ff-search-overlay {position:fixed;inset:0;background:rgba(4,27,39,.55);z-index:2147483000;}
.ff-search-drawer {position:fixed;top:0;right:0;bottom:0;width:420px;max-width:100%;box-sizing:border-box;padding:24px;background:#fff;color:#17485f;z-index:2147483001;overflow-y:auto;overscroll-behavior:contain;animation:ff-search-in .22s ease-out;}
.ff-search-drawer-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:24px;}
.ff-search-drawer-heading h2 {margin:0;color:#17485f;font:700 20px/1.4 Arial,sans-serif;}
body.ff-header-enabled .ff-search-close {width:44px;height:44px;flex:0 0 44px;padding:0!important;border:0;border-radius:50%;background:#eff5f8!important;color:#17485f!important;font:32px/44px Arial,sans-serif;}
body.ff-header-enabled #ff-search-drawer .ff-search-module input {border:1px solid #d7e3e8!important;border-right:0!important;}
body.ff-search-is-open {overflow:hidden!important;}
.ff-header-enabled button:focus-visible,.ff-header-enabled .ff-topbar a:focus-visible,.ff-mobile-bar a:focus-visible {outline:3px solid #168aba;outline-offset:2px;}
@keyframes ff-search-in {from{transform:translateX(100%)}to{transform:translateX(0)}}
@media(min-width:980px){
 body.ff-header-enabled div.global-container > div#myHeaderSpacer {padding-top:102px;}
 body.ff-header-enabled #myTopSection.myPopUp2 .ff-header-row {min-height:64px;}
 body.ff-header-enabled #myTopSection.myPopUp2 div.myTopMenuRight {min-height:64px;}
 body.ff-header-enabled #myTopSection.myPopUp2 div.custom.myLogo {height:64px;}
 body.ff-header-enabled #myTopSection.myPopUp2 div.custom.myLogo img {width:auto;height:50px;}
 body.ff-header-enabled .ff-mobile-bar,body.ff-header-enabled .ff-mobile-tools,body.ff-header-enabled .ff-cart-count {display:none!important;}
}
@media(max-width:1199px) and (min-width:980px){
 .ff-topbar .ff-topbar-inner,.ff-topbar .ff-topbar-contacts {gap:10px;}
 body.ff-header-enabled .ff-topbar div.custom.myLine p {font-size:11px;}
 body.ff-header-enabled #top-handler div.myPosLogo {flex-basis:200px;margin-right:24px;}
 body.ff-header-enabled #myTopSection div.custom.myLogo img {width:190px;}
 body.ff-header-enabled #top-handler div.myTopMenuRight {gap:16px;}
 body.ff-header-enabled #top-handler .myLogPannel .myIcon {display:none;}
 body.ff-header-enabled #top-handler .myCartModule #vmCartModule #cartpanel .myCartIcon {margin-right:10px;}
 body.ff-header-enabled #top-handler .myCartModule #vmCartModule #cartpanel .myCartText {margin-right:10px;}
}
@media(max-width:979px){
 /* A single contact line, without a large empty block above the logo. */
 body.ff-header-enabled section#myTopSectionTOP.ff-topbar {background:#0989bd;color:#fff;border:0;}
 body.ff-header-enabled .ff-topbar .ff-topbar-inner {justify-content:center;min-height:26px;padding:0;gap:0;}
 .ff-topbar .ff-topbar-contacts,.ff-topbar .ff-topbar-contacts > div {display:contents!important;}
 body.ff-header-enabled .ff-topbar div.custom.myLine p {display:none;}
 body.ff-header-enabled .ff-topbar div.custom.myLine p.ff-contact-phone {display:block;width:auto;margin:0;text-align:center;font:600 11px/26px Arial,sans-serif;}
 .ff-topbar .ff-contact-phone a {color:#fff;}
 .ff-tools-desktop-slot {display:none;}
 body.ff-header-enabled #myTopSection {position:relative!important;top:auto!important;background:#fff!important;}
 body.ff-header-enabled #myHeaderSpacer {display:none;}
 body.ff-header-enabled #top-handler {position:relative!important;top:auto!important;background:#fff!important;box-shadow:0 2px 5px #00000012;}
 body.ff-header-enabled #top-handler:before,body.ff-header-enabled #top-handler div.myTopMenuRight:before {display:none;}
 body.ff-header-enabled #top-handler .ms-handler {width:calc(100% - 24px);margin:0 auto;padding:0;background:transparent;}
 body.ff-header-enabled #top-handler .ms-handler > .container {width:100%;padding:0;}
 body.ff-header-enabled #top-handler .ff-header-row {display:grid;grid-template-columns:44px minmax(0,1fr) 44px;gap:8px;align-items:center;min-height:68px;width:100%;margin:0;}
 body.ff-header-enabled #top-handler div.myPosLogo {grid-column:2;grid-row:1;justify-self:center;margin:0;float:none;width:auto;}
 body.ff-header-enabled #myTopSection div.custom.myLogo {display:block;height:auto!important;margin:0;}
 body.ff-header-enabled #myTopSection div.custom.myLogo p {display:block;margin:0;}
 body.ff-header-enabled #myTopSection div.custom.myLogo img {width:160px;max-width:100%;height:auto!important;padding:5px 0;}
 body.ff-header-enabled #top-handler div.myTopMenuRight {grid-column:3;grid-row:1;display:block;min-height:0!important;width:44px;min-width:0;margin:0;padding:0;background:transparent;}
 body.ff-header-enabled #top-handler div.mySearchPos.ff-search-host {width:44px;max-width:none;margin:0;height:44px;}
 body.ff-header-enabled .mySearchPos.ff-search-host > .ff-search-desktop-slot {display:none;}
 body.ff-header-enabled:not(.ff-header-ready) .mySearchPos.ff-search-host > .ff-search-desktop-slot {display:block;position:absolute;top:100%;right:0;left:0;z-index:10;width:auto;}
 body.ff-header-enabled .ff-search-toggle {display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px!important;margin:0;border:0;border-radius:4px;box-shadow:none;background:transparent!important;color:#073c50!important;}
 .ff-search-toggle svg,.ff-mobile-bar svg {width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
 body.ff-header-enabled #top-handler .myTopMenu,body.ff-header-enabled:not(.ff-has-main-menu) #top-handler .myTopMenu {display:block;grid-column:1;grid-row:1;width:44px;margin:0;}
 body.ff-header-enabled #top-handler .myTopMenu nav {display:none;}
 body.ff-header-enabled #top-handler #cl-handler {display:block;position:static;margin:0;padding:0;}
 body.ff-header-enabled #top-handler #cl-handler .open-off-canvas {display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;background:transparent;color:#073c50!important;}
 body.ff-header-enabled #cl-handler .open-off-canvas i {font-size:24px;line-height:1;}
 body.ff-header-enabled #cl-handler .open-off-canvas span {display:none;}
 /* The original account/cart modules live in this body-level fixed bar. */
 body.ff-header-enabled.ff-header-ready {padding-bottom:calc(62px + var(--ff-bottom-inset));}
 body.ff-header-enabled.ff-header-ready #ff-mobile-bar {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;position:fixed;left:0;right:0;bottom:0;width:100%;height:calc(62px + var(--ff-bottom-inset));padding:0 8px var(--ff-bottom-inset);box-sizing:border-box;background:#fff;border-top:1px solid #dce7ec;box-shadow:0 -3px 12px #073c5015;z-index:1010;}
 #ff-mobile-bar > a,#ff-mobile-bar > button,#ff-mobile-bar > div {position:relative;min-width:0;box-sizing:border-box;margin:0!important;}
 body.ff-header-enabled #ff-mobile-bar .ff-mobile-home,body.ff-header-enabled #ff-mobile-bar .ff-tools-toggle {display:flex;flex-direction:column;justify-content:center;align-items:center;gap:4px;height:62px;width:100%;margin:0;padding:0!important;border:0;border-radius:0;background:transparent!important;color:#073c50!important;text-decoration:none;font-size:0;box-shadow:none;}
 body.ff-header-enabled #ff-mobile-bar .ff-nav-caption {display:block;font:500 10px/14px Arial,sans-serif!important;letter-spacing:0;color:#073c50;white-space:nowrap;}
 body.ff-header-enabled #ff-mobile-bar .myLogPannel,body.ff-header-enabled #ff-mobile-bar .myCartModule {display:block;float:none!important;width:100%;height:62px;margin:0;}
 body.ff-header-enabled #ff-mobile-bar .myLogPannel .myIcon {display:none;}
 body.ff-header-enabled #ff-mobile-bar .myLogPannel ul.log-panel {display:block;margin:0;padding:0;}
 body.ff-header-enabled #ff-mobile-bar .myLogPannel ul.log-panel li {display:none;}
 body.ff-header-enabled #ff-mobile-bar .myLogPannel ul.log-panel li.myArrow {display:block;}
 body.ff-header-enabled #ff-mobile-bar .myLogPannel a.open-register-form {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;height:62px;width:100%;padding:0;color:#073c50!important;font-size:0;line-height:1;text-decoration:none;}
 body.ff-header-enabled #ff-mobile-bar .myLogPannel a.open-register-form:before {content:'\f007';font:24px/24px FontAwesome;}
 body.ff-header-enabled #ff-mobile-bar .myLogPannel a.open-register-form:after,body.ff-header-enabled #ff-mobile-bar .myUserName {display:none!important;}
 body.ff-header-enabled #ff-mobile-bar #vmCartModule {display:block;position:static;float:none;margin:0;width:100%;}
 body.ff-header-enabled #ff-mobile-bar #vmCartModule #cartpanel,body.ff-header-enabled #ff-mobile-bar #vmCartModule #mycartpanel {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;position:relative;width:100%;height:62px;min-height:0;margin:0;padding:0!important;box-sizing:border-box;background:transparent!important;color:#073c50;border:0;border-radius:0;box-shadow:none;}
 body.ff-header-enabled #ff-mobile-bar #vmCartModule #cartpanel .myCartIcon {display:block;float:none;width:25px;height:24px;margin:0;padding:0;}
 body.ff-header-enabled #ff-mobile-bar #vmCartModule #cartpanel .myCartIcon img {width:25px;height:24px;object-fit:contain;}
 body.ff-header-enabled #ff-mobile-bar #vmCartModule #cartpanel .myCartText,body.ff-header-enabled #ff-mobile-bar #vmCartModule #cartpanel .myArrow {display:none;}
 #ff-mobile-bar .ff-cart-count {display:block;position:absolute;top:5px;left:calc(50% + 5px);min-width:15px;height:15px;padding:0 3px;box-sizing:border-box;border-radius:10px;background:#0989bd;color:#fff;font:700 10px/15px Arial,sans-serif;text-align:center;}
 body.ff-header-enabled #ff-mobile-bar #cart-panel2 {position:fixed!important;top:0!important;left:auto!important;right:0!important;bottom:calc(62px + var(--ff-bottom-inset))!important;max-width:100vw!important;width:360px;height:auto!important;max-height:calc(100dvh - 62px - var(--ff-bottom-inset))!important;overflow:auto;box-sizing:border-box;margin:0;z-index:1011;}
 body.ff-header-enabled #ff-mobile-tools:not([hidden]) {display:block;position:fixed;right:12px;bottom:calc(74px + var(--ff-bottom-inset));z-index:1012;min-width:220px;max-width:calc(100vw - 24px);box-sizing:border-box;padding:14px 18px;background:#fff;border:1px solid #dce7ec;border-radius:8px;box-shadow:0 4px 24px #073c5030;color:#073c50;}
 .ff-mobile-tools-heading {display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:12px;font-size:14px;font-weight:700;}
 body.ff-header-enabled .ff-tools-close {display:block;width:32px;height:32px;padding:0!important;border:0;background:transparent!important;color:#073c50!important;font:26px/32px Arial,sans-serif;}
 body.ff-header-enabled #ff-mobile-tools .ff-topbar-tools {justify-content:space-between;gap:24px;}
 /* Keep floating widgets clear of the new navigation. */
 body.ff-header-enabled .jump-to-top.visible {bottom:calc(78px + var(--ff-bottom-inset));}
 body.ff-header-enabled #LoginForm {position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);margin:0!important;width:calc(100vw - 24px);min-width:0;max-height:calc(100dvh - 110px);max-width:calc(100vw - 24px);overflow-y:auto;z-index:1100;}
 .ff-search-drawer {padding:20px 16px;}
}
@media(prefers-reduced-motion:reduce){.ff-search-drawer {animation:none;}}

/* Bootstrap clearfix pseudo-elements must not take part in the topbar flex layout. */
.ff-topbar .ff-topbar-inner::before,
.ff-topbar .ff-topbar-inner::after {display:none;}
/* Keep Android toolbar changes from resizing the navigation; preserve iOS inset. */
@supports (-webkit-touch-callout:none) {
 body.ff-header-enabled {--ff-bottom-inset:env(safe-area-inset-bottom,0px);}
}
