#header {
    position: relative;
    z-index: 999;
    background: white;
}

#header .mobile {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
}
#header .mobile .subelements {
    /*width: 100%;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#header .mobile .rightelements {
    display: flex;
    align-items: center;
}

#header .mobile .rightelements .item {
    padding-right: 15px;
}

#header .mobile .rightelements .item#_mobile_wihslist {
    height: 25px;
    position: relative;
    padding: 0px 20px 0px 0px;
}

#header .mobile .rightelements .item#_mobile_wihslist .wishlistCount {
    top: -7px;
}

#header .mobile  div#_mobile_wihslist .wishlistCount {
    position: absolute;
}
div#_mobile_search input {
    /* display: none; */
}
div#_mobile_logo h1 {
    margin-bottom: 0px;
}
#header #_desktop_logo .logo {
    max-width: 100%;
    width: 220px;
}

/*block customer signin end*/
span.cart-products-count {
    position: absolute;
    background: #D93333;
    border-radius: 50%;
    height: 20px;
    width: 20px;
    right: -7px;
    top: -10px;
    text-align: center;
    font-size: 11px;
    color: white;
}
header .blockcart {
    position: relative;
}
#header .header-top-right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: center;
}
#header .header-top-right > *:not(.lateral-popup) {
    padding: 0px 0px 0px 20px;
}

header .user-info .customername{
    vertical-align: middle;
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    padding-left: 7px;
}

header .user-info .account {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.language-selector.dropdown.js-dropdown button {
    background: transparent;
    border: none;
    margin: 0;
    padding: 0px;
}



.extrapadding {
    padding-left: 15px;
    padding-right: 0px
}
div#ecommbanners_displayBanner p {
    font-size: 13px;
}

/*media querys*/
@media(max-width: 991px){
    header .user-info .customername {
        display: none;
    }
    /*header .header-top-right, header #_desktop_logo{*/
    /*    display: none!important;*/
    /*}*/
    header .header-top-center{
        width: 100%
    }
    header#header {
        position: fixed;
        left: 0px;
        right: 0px;
        top: 0px;
        width: 100vw;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }
    header#header {
        position: fixed;
        left: 0px;
        right: 0px;
        top: 0px;
        width: 100vw;
        -webkit-transition: all 0.3s ease;
        -moz-transition: all 0.3s ease;
        transition: all 0.3s ease;
        -webkit-box-shadow: 0 1px 2px rgb(0 0 0 / 15%);
        -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
        box-shadow: 0 1px 2px rgb(0 0 0 / 15%);
    }
    #wrapper {
        padding-top: 82px;
    }
    #header .header-nav {
        max-height: initial;
        border-bottom: none;
        padding: 10px 0px;
    }
    #header .header-top{
        padding: 0px
    }
    #header .header-nav .user-info{
        margin: 0px
    }

    .user-info .islogged {display: none}


    #header .top-logo img {
        width: auto;
        max-height: 4rem;
        height: 100%;
    }
    .header-top-container{
        padding: 0px
    }
    body:not(#index) #wrapper {
        padding-top: 100px;
    }

    body.page-customer-account #content-wrapper {
        padding: 15px;
    }

    /*header .language-selector-wrapper {*/
    /*    display: none;*/
    /*}*/
    #header .mobile .rightelements .item {
        padding-right: 10px;
    }
    /*#header .mobile .rightelements .item#_mobile_wihslist{*/
    /*    padding-right: 25px*/
    /*}*/
}

@media(max-width: 767px){
    #header .top-logo img {
        max-width: 160px;
        max-height: 4rem;
        height: auto;
    }

    #iqitmegamenu-mobile .iqitmegamenu-icon {
        width: 25px;
    }
    #header .mobile .rightelements .item {
        padding-right: 9px;
    }	
    #header .mobile .rightelements .item:last-child {
	    padding-right: 0px;
	}

    body:not(#index) #wrapper {
        padding-top: 70px;
    }

    #wrapper {
        padding-top: 58px;
    }

}

@media(max-width: 420px){

    body.displaybannershow div#_mobile_search .search-widgets {
        top: 62px;
    }

    #content_search {
        top: 105px;
    }
}
.slide-banner {
	margin-top:0px !important;
}
/*end media querys*/

/*mod ecomm*/
.header-top-container {
    padding: 30px 15px;
}

#header div#_desktop_search {
    max-width: 100%;
    margin: 0px 0px 0px 50px;
}

.header-top-center.position-static {
    align-content: center;
}

#header .right-nav {
    text-align: end;
}

/*mod ecomm*/
#header #search_widget {
    display: none;
}

body.openSearchMobile #header #search_widget {
    display: block;
}

@media(max-width: 991px){
    .header-top-container {
        padding: 0;
    }



    body #content-wrapper {
        width: 100%;
        padding-top: 0px;
    }

    body:not(#index) #content-wrapper {
        width: 100%;
        padding-top: 0px;
    }



    body.openSearchMobile:not(#index) #wrapper {
        padding-top: 130px!important;
    }
}



@media (min-width: 992px) {
    #header #search_widget {
        display: block;
    }
}

/* Selector de idiomas móvil */
.mobilelanguage {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.language-svg {
    width: 24px;
    height: 24px;
}

.language-dropdown {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    background: #fff;
    min-width: 80px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 10px 0;
    border-radius: 4px;
}

.language-dropdown.open {
    display: block;
}

.language-dropdown .item {
    padding: 8px 16px;
    transition: background 0.2s;
}

.language-dropdown .item:hover {
    background: #f5f5f5;
}

.language-dropdown .item.selected,
.language-dropdown .item.selected a {
    color: #fff !important;
    text-decoration: none;
    background: #D93333 !important;
    border-radius: 3px;
    margin: 2px 8px;
}

.language-dropdown .item:not(.selected):hover {
    background: #f5f5f5;
    color: inherit;
}

body.language-open {
    overflow-x: hidden;
}

