.header .headerTop {
    background: #414141;
}

.header .headerTop.black-text,
.header .headerTop.black-text * {
    color: #000000;
}

.header .headerTop.white-text,
.header .headerTop.white-text * {
    color: #FFFFFF;
}

.header .headerTop .close {
    display: none;
}

.header .headerBottom {
    /*padding: 10px 0px 0px 0px;*/
}

.header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.header .logo img {
    max-height: 70px;
}

.header .fixedSwitcher {
    display: none;
}

.header .searchBlock {
    display: block;
    position: relative;
    width: 350px;
    margin-top: 0;
    margin-left: 0;
}

.header .searchBlock .search-close {
    position: absolute;
    top: 11px;
    font-size: 14px;
    right: 15px;
    cursor: pointer;
    display: none;
    transform: scaleX(1.5);
}

.header .searchBlock .saker {
    position: absolute;
    font-size: 14px;
    top: 11px;
    left: 26px;
    display: none;
}

.header .searchBlock.typed span {
    display: block;
}

.header .searchBlock.active {
    width: 36%;
}

.header .searchBlock form {
    position: relative;
    /*-webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.52);*/
    /*-moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.52);*/
    /*box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.52);*/
}

.inside-header {
    background: #EBF4F5;
}

.header .searchBlock .searchInput {
    border: 0;
    width: 100%;
    padding: 10px 5%;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    padding-left: 28px;
}

.header .searchBlock .searchInput:focus-visible {
    outline: none;
}

.header .searchBlock .searchSubmit {
    position: absolute;
    left: 0;
    top: 0;
    border: 0;
    width: 18px;
    height: 100%;
    cursor: pointer;
    background: transparent;
    margin: 0;
    padding: 0;
}

.header .searchBlock .searchSubmit img {
    width: 18px;
    height: auto;
    position: relative;
    top: 2px;
}

.header .searchBlockMobile {
    display: none;
}

.header .searchBlock .close {
    display: none;
}

.header .recentSearchs {
    display: none;
    position: absolute;
    background: #fff;
    z-index: 5;
    width: 100%;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.52);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.52);
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.52);
}

.header .recentSearchs .recentSearch a {
    display: block;
    padding: 9px 10px;
    border-top: 1px solid #ccc;
}

.header .recentSearchs .recentSearchTitle {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    text-transform: uppercase;
    padding: 5px 10px;
}

.header .searchSuggestions {
    display: none;
    position: absolute;
    background: #fff;
    z-index: 5;
    width: 100%;
    max-height: 771px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.52);
    -moz-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.52);
    box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.52);
    left: 0;
    top: 41px;
}

.header .searchSuggestions::-webkit-scrollbar {
    width: 8px;
}

.header .searchSuggestions::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.header .searchSuggestions::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.header .searchSuggestions::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Loading state styles */
.searchLoading {
    padding: 20px;
    text-align: center;
    color: #666;
}

.searchLoading .spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #333;
    border-radius: 50%;
    margin: 0 auto 10px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.searchLoading span {
    display: block;
    font-size: 14px;
    color: #666;
}

.noResults, .searchError {
    padding: 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
}

.searchError {
    color: #d32f2f;
}

/* Section titles */
.header .searchSuggestions .searchTitle {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    padding: 20px 15px;
    margin: 0;
}

.header .searchSuggestions .storeTitleM {
    padding: 25px 15px 10px 15px;
}

.header .searchSuggestions .brandTitle {
    padding: 25px 15px 10px 15px;
}

.header .searchSuggestions .searchTitle:first-child {
    border-top: none;
}

/* Search list container */
.header .searchSuggestions .searchList {
    padding: 0;
    margin: 0;
}

/* Product suggestions */
.header .searchSuggestions .suggestionItem {
    display: block;
    padding: 0 15px 15px 15px;
    transition: background 0.2s ease;
}

.header .searchSuggestions .suggestionItem:hover .suggestionTitle {
    text-decoration: underline;
}

.header .searchSuggestions .suggestionItem:last-child {
    border-bottom: none;
}

.header .searchSuggestions .suggestionItem a {
    display: flex;
    align-items: flex-start;
    text-decoration: none;
    color: #000;
    overflow: hidden;
}

.header .searchSuggestions .suggestionImage {
    width: 60px;
    height: 70px;
    flex-shrink: 0;
    margin-right: 15px;
}

.header .searchSuggestions .suggestionImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header .searchSuggestions .suggestionInfo {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.header .searchSuggestions .suggestionInfo .suggestionTitle {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin: 0 0 5px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    word-wrap: break-word;
    word-break: break-word;
}

.header .searchSuggestions .suggestionInfo .suggestionText {
    font-size: 12px;
    color: #6C6C6C;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    word-wrap: break-word;
    word-break: break-word;
}

.header .searchSuggestions .suggestionPrice {
    font-size: 14px;
    color: #6C6C6C;
    flex-shrink: 0;
}

/* Store list styles */
.header .searchSuggestions .storeList {
    padding: 0;
    margin: 0;
}

.header .searchSuggestions .storeList .store {
    padding: 0 15px 10px 15px;
    width: 100%;
}

.header .searchSuggestions .storeList .store:hover {
    text-decoration: underline;
}

.header .searchSuggestions .storeList .store:hover .storeTitle {
    text-decoration: underline;
}

.header .searchSuggestions .storeList .store:last-child {
    border-bottom: none;
}

.header .searchSuggestions .storeList .store .storeWrapper {
    border: 0;
    padding: 0;
}

.header .searchSuggestions .storeList .store .storeTitle {
    text-align: left;
    font-size: 14px;
    color: #000;
    font-weight: 400;
    margin: 0;
}

/* Brand list styles */
.header .searchSuggestions .brandList {
    padding: 0;
    margin: 0;
}

.header .searchSuggestions .brandList .brand {
    padding: 0 15px 10px 15px;
}

.header .searchSuggestions .brandList .brand:hover {
    background: #f8f8f8;
}

.header .searchSuggestions .brandList .brand:hover a {
    text-decoration: underline;
}

.header .searchSuggestions .brandList .brand:last-child {
    border-bottom: none;
}

.header .searchSuggestions .brandList .brand a {
    font-size: 14px;
    color: #000;
    font-weight: 400;
    text-decoration: none;
    display: block;
}

/* See all results button */
.header .searchSuggestions .seeAllResult {
    padding: 30px;
    text-align: center;
    background: #fff;
}

.header .searchSuggestions .seeAllResultBtn {
    /*display: inline-block;*/
    /*padding: 12px 40px;*/
    /*background: #fff;*/
    /*color: #000;*/
    /*border: 1px solid #000;*/
    /*border-radius: 25px;*/
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    /*transition: all 0.3s ease;*/
    text-decoration: underline;
}

/*.header .searchSuggestions .seeAllResultBtn:hover {*/
/*    background: #000;*/
/*    color: #fff;*/
/*}*/

.header .brandRow {
    font-size: 12px;
    color: #4d4d4d;
    text-transform: uppercase;
    border-bottom: 1px solid #9e9e9e;
}

.header .brandRow .allBrandTitle {
    float: left;
    padding: 8px 18px;
    margin-right: 30px;
}

.header .brandRow .allBrandList {
    float: left;
}

.header .brandRow .allBrandOption {
    float: left;
}

.header .brandRow .allBrandOption a {
    display: block;
    padding: 8px 8px;
}

.header .brandRow .allBrandOption:hover,
.header .brandRow .allBrandOption.active {
    background: #bcdade;
    font-weight: 700;
    font-style: italic;
    cursor: pointer;
}

.header .brandRow .allBrandOption.all {
    margin-right: 20px;
}

.header .breadcrumbs {
    /*background: #f2f2f2;*/
    /*padding: 7px 19px 6px 19px;*/
    font-size: 14px;
    /*font-family: "Open Sans", sans-serif*/
    line-height: 19px;
    color: #6C6C6C;
    margin-top: 10px;
}

.header .breadcrumbs .backBtn {
    display: none;
}

.header .breadcrumbs.different {
    background: #fff;
}

.header .breadcrumbs .breadcrumb {
    /*font-weight: 600;*/
    /*font-style: italic;*/
}

.header .breadcrumbs .breadcrumb.active {
    /*color: #000000;*/
}

.header .breadcrumbs .breadcrumb h1 {
    display: inline;
}

.header.fixed {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 20;
    background: #fff;
}

.header.fixed .headerTop {
    display: none;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 30;
}

.header.fixed .headerBottom {
    padding: 0;
}

.header.fixed .insideMenu {
    padding-top: 17.5px;
    padding-bottom: 17.5px;
}

.header.fixed .logo img {
    max-height: 50px;
}

.header.fixed .topMenuWrapper {
    /*margin-top: 5px;*/
}

.header.fixed .searchBlock {
    margin-top: 5px;
    z-index: 25;
}

.header.fixed .deliveryBlock {
    margin-top: 0px;
}

.header.fixed .fixedSwitcher {
    float: right;
    display: block;
    background: #000;
    padding: 18px 13px;
    margin-left: 15px;
    margin-top: -5px;
    margin-bottom: -5px;
    cursor: pointer;
}

.header.fixed .upperMenuWrapper {
    padding: 7px 0px;
}

.header.fixed .headerTop .upperMenuWrapper .menu {
    display: inline-block;
    vertical-align: middle;
}

.header.fixed .headerTop .close {
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
    cursor: pointer;
}

.headerTopMobile {
    display: none;
}

.header .headerBottom .mobileMenuSwitcher {
    display: none;
}

.desktop-burger-menu {
    width: 40px;
    height: 40px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #BCDADE;
    display: none;
}

.desktop-burger-menu img {
    width: 16px;
    height: auto;
}

/* Right menu area */
.desktop-right-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.desktop-right-menu > div {
    margin-left: 30px;
    cursor: pointer;
}

.about-menu img {
    height: 20px;
    width: auto;
}

.start-shop-menu img {
    height: 18px;
    width: auto;
}

.cart-menu img {
    height: 22px;
    width: auto;
}

.insideMenu {
    display: flex;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 30px;
}

.desktop-burger-menu {
    margin-right: 10px;
}

.searchBlock {
    margin-right: auto;
}

.logo {
    margin: 0 auto;
}

.desktop-right-menu {
    margin-left: auto;
}

.searchBlockInline {
    position: relative;
}

.header.fixed .breadcrumbs {
    display: none;
}

@media screen and (max-width: 1100px) {

}

@media screen and (max-width: 900px) {

    .header.fixed .fixedSwitcher {
        display: none;
    }

    .header.fixed .topMenuWrapper .cartBlock {
        top: -50px;
    }

    .header .logo img {
        max-height: 45px;
    }

    .headerTopMobile {
        display: block;
        background: #000;
        padding: 10px 0px;
    }

    .headerTopMobile .mobileSearchSwitcher {
        float: right;
        cursor: pointer;
    }

    .headerTopMobile .mobileTopSwitcher {
        float: right;
        margin-left: 25px;
        cursor: pointer;
    }

    .headerTop {
        display: none;
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 10;
    }

    .header .headerTop .close {
        display: block;
        cursor: pointer;
        position: absolute;
        top: 10px;
        right: 4%;
    }

    .header .headerBottom {
        padding-top: 10px;
    }

    .headerBottom .searchBlock {
        display: none;
    }

    .headerBottom .deliveryBlock {
        display: none;
    }

    .headerBottom .brandRow {
        display: none;
    }

    .header .searchBlock {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 92%;
        background: #000;
        z-index: 10;
        padding: 20px 4%;
        margin: 0;
    }

    .header .searchBlock .searchBlockInline {
        position: relative;
        width: 88%;
        display: inline-block;
        vertical-align: middle;
    }

    .header .searchBlock .close {
        display: inline-block;
        vertical-align: middle;
        cursor: pointer;
        margin-left: 5%;
        width: 5%;
    }

    .header .recentSearchs {
        display: block;
    }

    .header .breadcrumbs {
        padding: 7px 10px 6px 10px;
    }

    .header .breadcrumbs .backBtn {
        display: block;
        cursor: pointer;
        font-size: 10px;
        font-family: "Open sans", sans-serif;
        text-transform: uppercase;
    }
}

@media screen and (max-width: 900px) {
    .breadcrumbs {
        display: block;
    !important;
    }

    .header.fixed .breadcrumbs {
        display: block;
    !important;
    }
}

@media screen and (max-width: 900px) {
    .header .searchSuggestions .seeAllResult{
        color: #000000;
    }
    .header .searchSuggestions .searchList,
    .header .searchSuggestions .searchTitle {
        margin-left: 0;
    }

    .insideMenu {
        display: flex;
        align-items: center;
        padding-top: 23.75px;
        padding-bottom: 23.75px;
    }

    .header.fixed .headerBottom {
        padding: 0;
    }

    .header.fixed .logo img {
        max-height: 46.2px;
    }

    .header .logo {
        float: none;
        display: inline-block;
        left: 0;
        transform: none;
        left: 5%;
    }

    .desktop-right-menu {
        margin-right: 47px;
    }

    .header .headerBottom {
        text-align: center;
    }

    .header .headerBottom .mobileMenuSwitcher {
        display: block;
        position: absolute;
        right: 5%;
        margin-top: 0;
        cursor: pointer;
    }

    .header .headerBottom .mobileMenuSwitcher.fixed {
        position: fixed;
        z-index: 30;
        right: 20px;
        left: auto;
        top: 5px;
    }

    .headerTopMobile {
        display: none;
    }

    .header.fixed.opened {
        position: relative;
    }

    .header.fixed .topMenuWrapper {
        border: 0;
        margin-top: 0;
    }

    .header .breadcrumbs {
        /*display: none;*/
        text-align: left;
    }

    .header .searchBlockMobile {
        position: relative;
        background: transparent;
        margin-top: 0;
        float: none;
        padding: 10px 4%;
        text-align: left;
        display: none;
        margin: 5px 0px;
    }

    .header .searchBlockMobile form {
        position: relative;
        box-shadow: none;
        border: 1px solid #000;
    }

    .header .searchBlock .searchSubmit img {
        left: 15px;
    }

    .header .searchBlock .searchInput {
        padding: 25.8px 40px;
        background-color: #F6F6F6;
    }

    .header .searchBlockMobile .searchInput {
        border: 0;
        width: 82%;
        padding: 10px 5%;
        -webkit-border-radius: 2px;
        -moz-border-radius: 2px;
        border-radius: 2px;
    }

    .header .searchBlockMobile .searchSubmit {
        position: absolute;
        background: url('/accounts/handlegaten4WebNo/modules/Header/output/elementsOutput/searchIcon.png') #000 no-repeat center center;
        right: 0;
        top: 0;
        border: 0;
        width: 40px;
        height: 100%;
        cursor: pointer;
        -webkit-border-top-right-radius: 2px;
        -webkit-border-bottom-right-radius: 2px;
        -moz-border-radius-topright: 2px;
        -moz-border-radius-bottomright: 2px;
        border-top-right-radius: 2px;
        border-bottom-right-radius: 2px;
    }

    .header .searchBlockMobile .searchInput {
        padding: 6px 5%;
        font-size: 16px;
        outline: none;
    }

    .header .searchBlockMobile .searchSubmit {
        background: url('../../../elementsGlobal/searchBlack.png') #fff no-repeat center center;
        background-size: 15px;
    }

    .header .recentSearchs {
        display: none;
    }

    .header.fixed .headerBottom .insideContainerParent {
        -webkit-box-shadow: 0px 7px 7px -4px rgba(0, 0, 0, 0.2);
        -moz-box-shadow: 0px 7px 7px -4px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 7px 7px -4px rgba(0, 0, 0, 0.2);
    }

    /*.header.fixed {*/
    /*    position: relative;*/
    /*}*/

}

@media screen and (max-width: 450px) {
    .header .breadcrumbs {
        padding: 12px 10px 12px 0;

    }

    .header .headerBottom {
        padding-top: 10px;
    }

    .header .logo img {
        /*max-height: 30px;*/
    }

    .header .searchBlock {
        padding: 15px 4%;
    }
}

/* Mobile Menu Search Suggestions Styles */
@media screen and (max-width: 600px) {
    .searchBlockMobileMenu .searchSuggestions {
        display: none;
        position: relative;
        background: #fff;
        width: 100%;
        max-height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        top: 0;
        left: 0;
        box-shadow: none;
        border-top: 1px solid #E1E1E1;
    }

    .searchBlockMobileMenu .searchLoading {
        padding: 17px 15px;
        text-align: left;
        color: #666;
        display: flex;
        align-items: center;
    }

    .searchBlockMobileMenu .searchLoading .spinner {
        width: 16px;
        height: 16px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #333;
        border-radius: 50%;
        margin-left: 0;
        animation: spin 1s linear infinite;
        position: relative;
        top: 3px;
    }

    .searchBlockMobileMenu .searchLoading .saker {
        position: absolute;
        top: 50%;
        left: 40px;
        font-size: 14px;
        color: #6C6C6C;
        display: block;
        transform: translateY(-50%);
    }

    .searchBlockMobileMenu .noResults,
    .searchBlockMobileMenu .searchError {
        padding: 20px 15px;
        text-align: left;
        color: #666;
        font-size: 14px;
    }

    .searchBlockMobileMenu .searchTitle {
        font-size: 14px;
        font-weight: 500;
        color: #000;
        padding: 20px 15px 10px 15px;
        margin: 0;
    }

    .searchBlockMobileMenu .suggestionItem {
        display: block;
        padding: 0 15px 15px 15px;
    }

    .topMenuWrapper .menu .menuItem.searchBlockMobileMenu .suggestionItem a {
        display: flex !important;
        align-items: flex-start;
        text-decoration: none;
        color: #000;
        padding: 0;
        border: none;
        background: none;
    }

    .searchBlockMobileMenu .suggestionImage {
        width: 60px;
        height: 70px;
        flex-shrink: 0;
        margin-right: 15px;
        overflow: hidden;
    }

    .searchBlockMobileMenu .suggestionImage img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .searchBlockMobileMenu .suggestionInfo {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .searchBlockMobileMenu .suggestionInfo .suggestionTitle {
        font-size: 14px;
        font-weight: 500;
        color: #000;
        margin: 0 0 5px 0;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .searchBlockMobileMenu .suggestionInfo .suggestionPrice {
        font-size: 14px;
        color: #6C6C6C;
    }

    .searchBlockMobileMenu .storeList,
    .searchBlockMobileMenu .brandList {
        padding: 0;
        margin: 0;
    }

    .searchBlockMobileMenu .storeList .store,
    .searchBlockMobileMenu .brandList .brand {
        padding: 0 15px 10px 15px;
    }

    .searchBlockMobileMenu .storeList .store a,
    .searchBlockMobileMenu .brandList .brand a,
    .searchBlockMobileMenu .storeList .store .storeTitle {
        font-size: 14px;
        color: #000;
        font-weight: 400;
        text-decoration: none;
    }

    .searchBlockMobileMenu .seeAllResult {
        padding: 20px 15px;
        text-align: center;
        background: #fff;
    }

    .searchBlockMobileMenu .seeAllResultBtn {
        cursor: pointer;
        font-size: 14px;
        font-weight: 500;
        text-decoration: underline;
    }

    .searchBlockMobileMenu .searchBlock.searching .searchSuggestions,
    .searchBlockMobileMenu .searchBlock.typed .searchSuggestions {
        display: block;
    }

    /* Limit results on mobile: 4 products, 3 shops, 3 brands */
    .searchBlockMobileMenu .suggestionItem:nth-of-type(n+6) {
        display: none;
    }

    .searchBlockMobileMenu .storeList .store:nth-child(n+4) {
        display: none;
    }

    .searchBlockMobileMenu .brandList .brand:nth-child(n+4) {
        display: none;
    }
}
