/* Mobile */
.scania-mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .scania-mobile-menu {
        display: block;
    }

    .page-wrapper {
        margin-top: 86px !important;
    }
    .ba-mobile-open .ba-bars span:after {
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M18.3748 5.625C18.6677 5.91789 18.6677 6.39276 18.3748 6.68566L6.6856 18.3749C6.3927 18.6678 5.91783 18.6678 5.62493 18.3749C5.33204 18.082 5.33204 17.6071 5.62493 17.3142L17.3142 5.625C17.607 5.3321 18.0819 5.3321 18.3748 5.625Z' fill='%23041E42' /%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M5.62506 5.625C5.91795 5.33211 6.39282 5.33211 6.68572 5.625L18.3749 17.3142C18.6678 17.6071 18.6678 18.082 18.3749 18.3749C18.082 18.6678 17.6072 18.6678 17.3143 18.3749L5.62506 6.68566C5.33216 6.39277 5.33216 5.9179 5.62506 5.625Z' fill='%23041E42' /%3E%3C/svg%3E ") !important;
    }

    .ba-mobile-open .scania-mobile-menu > nav {
        opacity: 1;
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    .scania-preheader {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100%;
    }

    .scania-preheader span {
        margin-left: -80px;
    }

    .page-header {
        display: none !important;
    }

    .scania-mobile-menu {
        position: fixed;
        top: 35px;
        width: 100%;
    }

    .scania-mobile-menu > nav {
        position: fixed;
        height: calc(100vh - 86px);
        max-height: calc(100vh - 86px);
        top: 86px;
        background: white;
        width: 100%;
        overflow-y: scroll;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        opacity: 0;
        -webkit-transition: opacity 0.100s ease-in-out, -webkit-transform 0.150s ease-in-out;
        transition: opacity 0.100s ease-in-out, -webkit-transform 0.150s ease-in-out;
        transition: transform 0.150s ease-in-out, opacity 0.100s ease-in-out;
        transition: transform 0.150s ease-in-out, opacity 0.100s ease-in-out, -webkit-transform 0.150s ease-in-out;
    }

    .scania-mobile-menu-actions {
        background: white;
        border-bottom: 1px #e2e2e2 solid;
    }

    .scania-mobile-menu-actions .ba-bars {
        -webkit-box-align: center;
        align-items: center;
        display: -webkit-box;
        display: flex;
        margin-right: auto;
    }

    .scania-mobile-menu-actions .ba-bars button {
        background: transparent;
        border: 0px;
        padding: 0px;
        margin: 0px;
    }

    .scania-mobile-menu-actions .ba-bars span {
        visibility: hidden;
        position: relative;
        top: 2px;
        width: 24px;
        height: 24px;
        display: block;
    }

    .scania-mobile-menu-actions .ba-bars span::after {
        visibility: visible;
        position: absolute;
        top: -3px;
        left: 0px;
        display: block;
        content: ' ';
        width: 24px;
        height: 24px;
        background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.97717 5.24835C2.97717 4.83414 3.31296 4.49835 3.72717 4.49835L20.2657 4.49835C20.6799 4.49835 21.0157 4.83414 21.0157 5.24835C21.0157 5.66257 20.6799 5.99835 20.2657 5.99835L3.72717 5.99835C3.31296 5.99835 2.97717 5.66257 2.97717 5.24835Z' fill='%23041E42'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.97717 11.9865C2.97717 11.5722 3.31296 11.2365 3.72717 11.2365L20.2657 11.2365C20.6799 11.2365 21.0157 11.5722 21.0157 11.9865C21.0157 12.4007 20.6799 12.7365 20.2657 12.7365L3.72717 12.7365C3.31296 12.7365 2.97717 12.4007 2.97717 11.9865Z' fill='%23041E42'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.97717 18.7245C2.97717 18.3103 3.31296 17.9745 3.72717 17.9745L20.2657 17.9745C20.6799 17.9746 21.0157 18.3103 21.0157 18.7246C21.0157 19.1388 20.6799 19.4746 20.2657 19.4745L3.72717 19.4745C3.31296 19.4745 2.97717 19.1388 2.97717 18.7245Z' fill='%23041E42'/%3E%3C/svg%3E%0A");
        background-size: cover;
        background-repeat: no-repeat;
    }

    .scania-mobile-menu-actions > div {
        padding: 0px 16px;
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
    }

    .scania-mobile-menu-actions ul {
        align-self: center;
        align-content: center;
        list-style: none;
        display: -webkit-box;
        display: flex;
        padding: 0px;
        margin: 0px;
    }

    .scania-mobile-menu-actions ul li {
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        margin: 0px;
        padding: 8px 8px;
        border-left: 1px #e2e2e2 solid;
    }

    .scania-mobile-menu-actions ul li:last-child {
        padding-right: 0px;
    }

    .scania-mobile-menu-actions #m-search img {
        margin-top: -5px;
        max-height: 23px;
    }

    .scania-mobile-menu-actions img {
        height: 28px;
    }

    .scania-mobile-menu > nav a {
        color: #444;
    }

    .scania-mobile-menu > nav ul, .scania-mobile-menu > nav li {
        margin: 0px;
        padding: 0px;
    }

    .scania-mobile-menu > nav li > h6 {
        display: -webkit-box;
        display: flex;
        -webkit-box-align: center;
        align-items: center;
        position: relative;
    }

    .scania-mobile-menu > nav li > h6 span {
        display: inline-block;
    }

    .scania-mobile-menu > nav li > h6:after {
        margin-left: auto;
        position: absolute;
        right: 22px;
        display: inline-block;
        content: ' ';
        min-width: 16px;
        min-height: 16px;
        background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.13668 4.89156C2.33194 4.6963 2.64853 4.6963 2.84379 4.89156L7.78786 9.83563C7.90501 9.95278 8.09496 9.95278 8.21212 9.83563L13.1562 4.89156C13.3515 4.6963 13.668 4.6963 13.8633 4.89157C14.0586 5.08683 14.0586 5.40341 13.8633 5.59867L8.91923 10.5427C8.41155 11.0504 7.58843 11.0504 7.08075 10.5427L2.13668 5.59867C1.94142 5.40341 1.94142 5.08683 2.13668 4.89156Z' fill='%23fff'/%3E%3C/svg%3E%0A");
        background-size: cover;
        background-repeat: no-repeat;
        -webkit-transition: -webkit-transform 0.200s ease-in-out;
        transition: -webkit-transform 0.200s ease-in-out;
        transition: transform 0.200s ease-in-out;
        transition: transform 0.200s ease-in-out, -webkit-transform 0.200s ease-in-out;
    }

    .scania-mobile-menu > nav .ba-submenu-open > h6:after {
        -webkit-transform: rotate(-180deg);
        transform: rotate(-180deg);
    }

    .scania-mobile-menu > nav > ul h6, .scania-mobile-menu > nav > ul li, .scania-mobile-menu > nav > ul a {
        font-size: 14px;
        margin: 0px;
        padding: 0px;
    }

    .scania-mobile-menu > nav > ul > li:first-child > h6 {
        display: none;
    }

    .scania-mobile-menu > nav > ul h6, .scania-mobile-menu > nav > ul a {
        display: block;
        padding: 8px 22px;
    }

    .scania-mobile-menu > nav > ul h6 {
        border-bottom: 1px #e2e2e2 solid;
        padding: 16px 22px;
        font-size: 14px;
        text-transform: uppercase;
        font-weight: 200 !important;
    }

    .scania-mobile-menu > nav > ul .has-children > ul {
        display: none;
    }

    .scania-mobile-menu > nav > ul .has-children.ba-submenu-open > ul {
        display: block;
    }

    .scania-mobile-menu > nav > ul > li:first-child > ul {
        display: block;
    }

    .scania-mobile-menu > nav > ul > li:first-child > ul .has-children > ul h6 {
        background: #f9f9f9;
    }

    .scania-mobile-menu > nav > ul > li:first-child > ul .has-children > ul ul {
        border-bottom: 1px #e2e2e2 solid;
    }

    .scania-mobile-menu > nav > ul > li:first-child > ul .has-children > ul ul h6, .scania-mobile-menu > nav > ul > li:first-child > ul .has-children > ul ul a {
        padding-left: 66px;
        background: #f3f3f3;
    }

    .scania-mobile-menu > nav > ul > li:first-child > ul .has-children > ul h6, .scania-mobile-menu > nav > ul > li:first-child > ul .has-children > ul a {
        font-size: 12px;
        padding-left: 44px;
    }

    .scania-mobile-menu > nav > ul > li:not(:first-child) {
        background: #f7f7f7;
    }

    .scania-mobile-menu > nav > ul > li:not(:first-child) > ul {
        display: none;
    }
}

/* Search */
/* Search */
@media (max-width: 768px) {
    .ba-desktop-nav {
        display: none !important;
    }
}

.search-trigger {
    border-right: 0px;
}

.search_content {
    height: 73px !important;
    background: white;
}

.search_content .control {
    background: transparent;
}

.search_content input {
    outline: none !important;
    box-shadow: none !important;
    padding-left: 16px;
}

.search_content input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/* End Search */
.ba-desktop-nav {
    border-bottom-color: #e2e2e2 !important;
    /* margin-bottom: 24px; */
}

.ba-desktop-nav h6 {
    text-transform: uppercase;
    font-size: 14px !important;
}

.cms-home .ba-desktop-nav {
    margin-bottom: 0px;
}

.breadcrumbs {
    display: block;
    margin-bottom: 24px;
}

.page-title {
    margin: 0px;
}

.ba-desktop-nav {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0) !important;
    -webkit-transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
    transition: box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out;
}

.header-detached .ba-desktop-nav {
    position: fixed;
    top: 0px;
    width: 100%;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.6) !important;
    border-color: #e2e2e2 !important;
}

.ba-desktop-nav nav {
    margin: 0px 38px;
}

.ba-desktop-nav .active > h6:after,
.ba-desktop-nav .active:hover h6:after,
.ba-desktop-nav [data-depth="1"].has-children.active > h6:after,
.ba-desktop-nav [data-depth="1"].has-children.active:hover h6:after {
    -webkit-transform: rotate(-180deg) scale(1.2);
    transform: rotate(-180deg) scale(1.2);
}

.ba-menu-open .ba-desktop-nav [data-depth="1"]:not(.active) h6 {
    opacity: 0.8;
}

.ba-desktop-nav [data-depth="1"].has-children > h6 {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    margin: 0px;
    margin-right: 8px;
    -webkit-transition: 0.200s ease-in-out opacity;
    transition: 0.200s ease-in-out opacity;
}

.ba-desktop-nav [data-depth="1"].has-children > h6:hover:after {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

.ba-desktop-nav [data-depth="1"].has-children > h6:after {
    -webkit-transition: -webkit-transform 0.200s ease-in-out;
    transition: -webkit-transform 0.200s ease-in-out;
    transition: transform 0.200s ease-in-out;
    transition: transform 0.200s ease-in-out, -webkit-transform 0.200s ease-in-out;
    margin-left: 8px;
    content: '';
    width: 10px;
    height: 10px;
    margin-right: 8px;
    margin-top: -4px;
    display: inline-block;
    background-size: cover;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M2.13668 4.89156C2.33194 4.6963 2.64853 4.6963 2.84379 4.89156L7.78786 9.83563C7.90501 9.95278 8.09496 9.95278 8.21212 9.83563L13.1562 4.89156C13.3515 4.6963 13.668 4.6963 13.8633 4.89157C14.0586 5.08683 14.0586 5.40341 13.8633 5.59867L8.91923 10.5427C8.41155 11.0504 7.58843 11.0504 7.08075 10.5427L2.13668 5.59867C1.94142 5.40341 1.94142 5.08683 2.13668 4.89156Z' fill='%23fff'/%3E%3C/svg%3E%0A");
}

.panel.header {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    height: unset !important;
}

.header.links {
    display: relative;
}

.ba-header-action {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.ba-header-action .greet {
    display: none !important;
}

.ba-header-action .header.links {
    margin: 0px;
    padding: 0px;
}

.minicart-wrapper,
.switcher-language,
.customer-welcome {
    padding: 0px;
    margin: 0px;
}

.action.showcart,
.switcher-language > .dropdown,
.customer-welcome {
    position: relative;
    -webkit-transition: background-color 0.100s ease-in-out;
    transition: background-color 0.100s ease-in-out;
}

.action.showcart:hover,
  .switcher-language > .dropdown:hover,
  .customer-welcome:hover {
    background: #f2f2f2;
    cursor: pointer;
}

.customer-welcome > span,
.switcher-options,
.minicart-wrapper > .showcart {
    padding: 12px !important;
    margin: 0px !important;
    display: block;
    position: relative !important;
    line-height: unset !important;
}

.minicart-wrapper {
    position: relative;
}

.customer-welcome:hover > div {
    position: absolute;
    top: 24px;
    right: 0px;
    display: block;
}

.switcher-language:hover .switcher-dropdown {
    position: absolute;
    display: block !important;
    top: 69px !important;
    width: 250px;
    right: 0px !important;
}

.switcher-dropdown,
.header.links,
.block-minicart {
    border-color: #e2e2e2 !important;
}

.minicart-wrapper:hover > div {
    position: absolute;
    /* top: 73px !important; */
    right: 0px;
    display: block;
}

strong[class^="language-"] {
    padding: 16px 0px !important;
}

strong[class^="language-"]:before {
    display: none !important;
}

.customer-menu .has-submenu {
    position: relative;
    display: block;
}

.customer-menu .has-submenu /* .current-currency */ {
    display: -webkit-box;
    display: flex;
}

.customer-menu .has-submenu /* .current-currency */ strong {
    padding: 0px !important;
}

.customer-menu .has-submenu /* .current-currency */ span {
    display: -webkit-box;
    display: flex;
    justify-items: center;
    -webkit-box-align: center;
    align-items: center;
}

.customer-menu .has-submenu /* .current-currency */ span:before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M11.1084 2.13668C11.3037 2.33194 11.3037 2.64853 11.1084 2.84379L6.16437 7.78786C6.04722 7.90501 6.04722 8.09496 6.16437 8.21212L11.1084 13.1562C11.3037 13.3515 11.3037 13.668 11.1084 13.8633C10.9132 14.0586 10.5966 14.0586 10.4013 13.8633L5.45727 8.91923C4.94959 8.41155 4.94959 7.58843 5.45727 7.08075L10.4013 2.13668C10.5966 1.94142 10.9132 1.94142 11.1084 2.13668Z' fill='%23041E42'/%3E%3C/svg%3E%0A");
    background-size: cover;
    width: 8px;
    height: 8px;
    left: 4px;
    content: '';
    display: block;
    position: absolute;
}

.customer-menu .has-submenu:hover > ul {
    display: block;
    position: absolute;
    right: 100%;
    top: 0px;
}

.ba-desktop-nav > nav h6 {
    color: #53565a;
    font-family: 'Scania', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ba-desktop-nav > nav h6 > span {
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    -webkit-transition: border-color 0.200s ease-in-out;
    transition: border-color 0.200s ease-in-out;
}

.ba-desktop-nav > nav li[data-depth="1"]:hover > h6 > span, .ba-desktop-nav > nav li[data-depth="1"].active > h6 > span {
    border-color: #041e42;
}

.ba-desktop-nav > nav li[data-depth="1"]:hover ul, .ba-desktop-nav > nav li[data-depth="1"].active ul {
    display: block;
}

.ba-desktop-nav {
    background: white;
    z-index: 9000;
    border-bottom: 1px #e2e2e2 solid;
}

.ba-desktop-nav nav {
    padding: 16px 0px;
}

.ba-desktop-nav nav > ul {
    flex-wrap: wrap;
}

.ba-desktop-nav aside {
    position: fixed;
    transform: translateY(-100%);
    opacity: 0;
    -webkit-transition: 0.500s ease-in-out opacity,  transform 0.200s ease-in-out;
    transition: 0.500s ease-in-out opacity,  transform 0.200s ease-in-out;
    right: 32px;
    top: 10px;
}

.header-detached .ba-desktop-nav aside {
    transform: translateY(0%);
    opacity: 1;
}

.ba-desktop-nav aside > ul {
    list-style: none;
    display: -webkit-box;
    display: flex;
}


.ba-desktop-nav aside img, .ba-desktop-nav aside .scania-logomark {
    height: 32px;
}

.ba-desktop-nav nav > ul,
  .ba-desktop-nav nav > ul > li {
    margin: 0px;
    padding: 0px;
}

.ba-desktop-nav nav > ul {
    display: -webkit-box;
    display: flex;
}

.ba-desktop-nav nav > ul > li > ul {
    display: none;
}

.ba-menu-block {
    display: none;
    position: absolute;
    background: white;
    left: 0px;
    width: 100%;
    top: 160px;
}

.ba-menu-block > ul {
    display: -webkit-box !important;
    display: flex !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap;
}

.ba-menu-block > ul > li {
    -webkit-box-flex: 1;
    flex: 1 1 0;
}

@media (max-width: 992px) {
    .ba-menu-block > ul > li {
        -webkit-box-flex: 1;
        flex: 1 1 50%;
    }

    .ba-menu-block > ul > li:after {
        display: none;
    }
}

.ba-desktop-nav .active .ba-menu-block {
    display: block;
}

.ba-menu-block > ul {
    margin: 16px 38px;
}

.ba-menu-block > ul > li {
    position: relative;
}

.ba-menu-block > ul > li:after {
    content: '';
    height: 100%;
    position: absolute;
    right: 32px;
    top: 0px;
    width: 1px;
    background: #e2e2e2;
}

.ba-menu-block > ul > li:last-child:after {
    display: none;
}

.ba-menu-block h6 {
    margin: 0px;
    margin: 16px 0px;
}

.ba-menu-block ul {
    padding: 0px;
}

.ba-menu-block a {
    text-decoration: none;
    color: #041e42;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    -webkit-transition: border-color 0.200s ease-in-out;
    transition: border-color 0.200s ease-in-out;
}

.ba-menu-block a:hover {
    border-color: #d6001c;
}

.ba-desktop-nav-modal-colour {
    top:0px;
    pointer-events: none;
    position: absolute;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    left: 0px;
    -webkit-transition: 0.200s opacity ease-in-out;
    transition: 0.200s opacity ease-in-out
}

.ba-header-action .scania-logomark {
    height: 38px;
    margin-left: 8px;
}

.header-detached .ba-menu-block {
    top: 51px;
}



.ba-menu-open .ba-desktop-nav-modal-colour {
    z-index: 1000;
    opacity: 1;
    pointer-events: all;
    cursor: pointer;
}

.footer_customise {
    position: relative;
    z-index: 7000;
}

.page-header {
    z-index: 8000;
}

.scania-preheader {
    z-index: 8000;
}

.header.links {
    z-index: 9500 !important;
}

.header.links li {
    z-index: 9999 !important;
}

.ba-desktop-nav {
    z-index: 7500 !important;
}


/*** aaa */
.customer-welcome .header.links {
    min-width: 260px !important;
}

#btn-minicart-close {
    display: none !important;
}


/**** xxxxx ***/
.ba-desktop-nav {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.ba-desktop-nav > nav {
    padding: 0px;
}

.ba-desktop-nav aside {
    position: relative;
    margin-left: auto;
    top: unset;
}

.ba-desktop-nav .header.links {
    margin: 0px;
    padding: 0px;
    -webkit-box-align: center;
    align-items: center;
}

.ba-desktop-nav .header.links li {
    margin: 0px;
}

.ba-desktop-nav .customer-menu {
    top: 0px !important;
}
/*
.ba-desktop-nav .customer-welcome:hover > div, .ba-desktop-nav .customer-welcome:hover > div > ul {
    display: block !important;
}
*/

.ba-desktop-nav > nav > ul > li[data-depth="1"] h6 {
    padding-top: 3px;
}

.header-detached .search_content {
    position: fixed;
    top: 0px;
    z-index: 9999;
}

.header-detached .search_content, .header-detached .search_content input {
    max-height: 64px;
    line-height: 64px;
}

.ba-desktop-nav aside {
    max-width: 1px;
}

.ba-desktop-nav .header.links {
    margin-right:2px;
}

.header-detached .ba-desktop-nav aside {
    max-width: unset !important;
}

/** more.scss **/
.ba-desktop-nav {
    margin-right: 0px;
    min-height: 50px;
    max-height: 50px;
}
/* 
.ba-desktop-nav aside {
    position: fixed !important;
} */

.header-detached .ba-desktop-nav > nav {
    /* margin-right: 250px; */
}

#moreitems > .ba-menu-block > .ba-child-menu {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

#moreitems > .ba-menu-block > .ba-child-menu > li {
    border-bottom: 1px #e2e2e2 solid;
}

#moreitems > .ba-menu-block > .ba-child-menu > li:last-child {
    border-bottom: none;
}

#moreitems > .ba-menu-block > .ba-child-menu li:after {
    display: none;
}

#moreitems > .ba-menu-block > .ba-child-menu .ba-menu-block {
    position: relative;
    top: unset;
}

#moreitems > .ba-menu-block > .ba-child-menu ul[data-children-count="1"] {
    margin-top: 16px;
}

#moreitems > .ba-menu-block > .ba-child-menu ul[data-children-count="1"] h6 {
    display: none;
}

#moreitems > .ba-menu-block > .ba-child-menu h6:after {
    display: none;
}

#moreitems > .ba-menu-block > .ba-child-menu .ba-child-menu {
    margin: 0px;
}


/* .ba-desktop-nav aside {
    position:relative !important;
    transform: unset !important;
    opacity: 1 !important;
} */

.header-detached .mage-dropdown-dialog:hover {
    display: block !important;
}


.minicart-wrapper .block-minicart {
    top:unset !important;
}

.header-detached [data-block="minicart"] {
    position:fixed;
    max-height: 50px;
    right: 99px;
    /* display: none; */
}

.header-detached [data-block="minicart"] a.action.showcart {
    padding: 0px 12px !important;
}

.header-detached li > .minicart-wrapper {
    opacity: 0;
    pointer-events: none;
}

.header-detached .minicart-wrapper.active .mage-dropdown-dialog {
    display: block !important;
    position: fixed !important;
    /*top:50px !important;*/

    width: 290px !important;
    max-width: 290px !important;
    /*right:52px !important;*/
}

.page-wrapper {
    overflow-x: hidden;
}

#m-basket > a {
    display: flex;
    align-items: center;
}

#m-basket .counter-number:before {
    content: '( ';
}
#m-basket .counter-number:after {
    content: ' )';
}
#m-basket .counter {
    margin-left: 12px;
}

#m-basket .counter.empty {
    display: none;
}

#m-basket img {
    margin-top: -5px;
    max-height: 23px;
}


/**** lame search **/
@media (min-width: 768px) {
    body:not(.header-detached) #search_mini_form,
  body:not(.header-detached) #search_mini_form input,
  body:not(.header-detached) .block-search,
  body:not(.header-detached) .search_content {
        line-height: 64px !important;
        height: 64px !important;
    }

    .search_content {
        padding-left: 24px !important;
    }

    .block.block-content .control {
        left: 48px !important;
    }
}

/* 
.page.messages {
    margin-bottom: 16px;
} */

.modal-popup {
    z-index: 20000;
}
.modals-overlay {
    z-index: 19000;
}

body > .loading-mask {
    z-index: 21000;
}

.modal-footer button {
    padding: 14px 16px !important;
    border: none;
    margin-right:16px;
}

.sections.nav-sections {
    display: none !important;
}

@media screen and (min-width: 776px) {
    .header-detached .search-trigger {
        line-height:64px;
    }
    .header-detached aside > .header.links {
        padding-right:7px
    }
}

.header.links .switcher-dropdown {
    overflow-y: auto;
    max-height:calc(100vh - 128px);
}