/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 10-jul-2019, 11:24:52
    Author     : Tatiana

web: CASA TOMADA
*/
//@import 'cestaDesplegable';

@mixin cabecera_seis(){
    header{
        margin-bottom: 15px;
        .busquedaCesta{
            background:$blanco;
            & > .container{
                & > .row{
                    text-align: center;
                    display: flex;
                }
            }
            #header_logo {

                text-align: left;
                @media(max-width:120px){
                    margin-top:15px;
                }
                a {
                    background: none;
                    width: 100%;
                    height: 100%;
                    display: inline-block;
                    img{
                        display: initial !important;

                    }
                }
            }
            .header-megamenu{
                padding-right: 20px;
                padding-left: 0px;
                flex:1;
                position: relative;
                &.col-sm-12{
                    background-color: $menuSup_fondo;
                    nav{
                        background-color: $menuSup_fondo;
                        ul{
                            background-color: $menuSup_fondo;
                        }
                    }
                }
                .nav{
                    background: $fondo_cabecera;
                    font-family:$fuente2;
                    font-weight: 300;
                    font-size:12px;
                    color:$Enlaces_Cabecera;
                    text-align: right;
                    float:right;
                    width: 100%;
                    .nav_info{
                        a.telefono, a.email{
                            vertical-align: middle;
                            margin-right:3px;
                            display: block;
                            padding: 10px 0px;
                            font-weight: 500;
                            color:$Enlaces_Cabecera;
                            font-size: 16px;
                            width: 134px;
                            float:right;
                            i{
                                margin-right: 5px;
                            }
                            &:hover{
                                color:$secundario;
                            }
                        }
                        .nav_redes_sociales{
                            display: block;
                            float:right;
                            width: 100%;
                            ul {
                                li {
                                    display: inline-block;
                                    a::before{
                                        width: 30px;
                                        height: 30px;
                                        background-size: cover;
                                        display: inline-block;
                                    }
                                    &.facebook{
                                        a::before{
                                            content: "";
                                            background-image: url(../casatomada/themes/casatomada/html_files/images/facebook.png);
                                        }
                                        &:hover {
                                            a::before{
                                                content: "";
                                                background-image: url(../casatomada/themes/casatomada/html_files/images/facebook_hover.png);
                                            }
                                        }
                                    }
                                    &.instagram{
                                        a::before{
                                            content: "";
                                            background-image: url(../casatomada/themes/casatomada/html_files/images/instagram.png);
                                        }
                                        &:hover {
                                            a::before{
                                                content: "";
                                                background-image: url(../casatomada/themes/casatomada/html_files/images/instagram_hover.png);
                                            }
                                        }
                                    }
                                    &.twitter{
                                        a::before{
                                            content: "";
                                            background-image: url(../casatomada/themes/casatomada/html_files/images/twitter.png);
                                        }
                                        &:hover {
                                            a::before{
                                                content: "";
                                                background-image: url(../casatomada/themes/casatomada/html_files/images/twitter_hover.png);
                                            }
                                        }
                                    }
                                }
                            }
                            @media(max-width: 341px){
                                display:none;
                            }
                        }
                        i{
                            font-size: 1.2em;
                        }
                    }
                    @media(max-width: 991px){
                        margin-top:19px;
                        padding-right:65px;
                        .nav_info{
                            display:flex;
                            justify-content:flex-end;
                            align-items:center;
                            a.telefono{
                                margin-right:20px;
                                float:none;
                            }
                            .nav_redes_sociales{
                                width:auto;
                            }
                        }
                    }
                    @media(max-width: 767px){
                        margin-top: 18px;
                    }
                    @media(max-width: 500px){
                        padding-right:50px;
                        .nav_info{
                            a.telefono{
                                margin-right:10px;
                                width:125px;
                            }
                        }
                    }
                    @media(max-width: 428px){
                        .nav_info{
                            a.telefono{
                                padding:8px 0px;
                                width:50px;
                                i{
                                    font-size: 1.5em;
                                }
                                span{
                                    font-size: 0px;
                                }
                            }
                        }
                    }


                    @media(max-width: 323px){
                        .nav_info{
                            a.telefono{
                                width:45px;
                            }
                        }
                    }
                }
                #fieldmegamenu-main{
                    width: 100%;
                    &.fieldmegamenu {
                        .categorias_menu{
                            padding:0px;
                            .boton_burguer{
                                .mdi-menu{
                                    font-style: normal;
                                    font-family: $fuente_iconos;
                                    color:$primario;
                                }
                            }
                            @media (max-width: 991px){
                                position: absolute;
                                top:19px;

                                .boton_burguer{
                                    display: block;
                                    position: absolute;
                                    font-size: 40px;
                                    top: 0;
                                    right: 11px;
                                    padding: 0 10px;
                                    line-height: 42px;
                                }
                            }
                            .navbar-toggle{
                                margin:0px;
                            }
                            .navbar-collapse{
                                padding:0px;
                            }
                            .megamenu{
                                & > ul {
                                    padding: 10px 0px;
                                    text-align: right;
                                    display: block;
                                    position: relative;
                                    clear: both;
                                    margin: 0;
                                    float:right;
                                    & > li{
                                        display: inline-block;
                                        font-size: 14px;
                                        float: left;
                                        text-align: left;
                                        position: relative;
                                        z-index:4000;
                                        @media(max-width:991px){
                                            a.desplegador{
                                                width:100%;
                                                position:absolute;
                                                top:4px;
                                                right:12px;
                                                text-align: right;
                                            }
                                            .columna{
                                                background-color: $secundarioHover;
                                            }
                                        }
                                        @media(min-width:991px){
                                            &:hover{
                                                .submenu{
                                                    background:$blanco;
                                                    display:block;
                                                    position:absolute;
                                                    padding:15px;
                                                    overflow: hidden;
                                                    min-width: 370px;
                                                    border:1px solid $primario;
                                                    //añadir transicion
                                                    .columna{
                                                        padding: 6px 10px;

                                                        a{
                                                            white-space: normal;
                                                            padding-right: 8px;
                                                            display: block;
                                                            line-height: 1.35em;
                                                            &:hover{
                                                                background: $secundario;
                                                                color:$blanco;
                                                                //padding-left: 8px;
                                                                //padding-right: 0;
                                                            }
                                                        }
                                                    }
                                                }
                                            }
                                        }
                                        a {
                                            color: $menuSup_enlace;
                                            letter-spacing: 1px;
                                            padding:0px 0px 0px 20px;
                                            margin: 0;
                                            display: inline-block;
                                            font-weight: bold;
                                            line-height:1em;
                                            border:none;
                                            text-transform: uppercase;
                                            &.collapsed{
                                                padding:0px;
                                            }
                                        }
                                        &:hover{
                                            a:not(.menu-item-title){
                                                color:$secundario;
                                            }
                                        }
                                    }
                                }

                            }
                            #menu_hamburguesa{
                                @media (max-width:991px){
                                    position:absolute;
                                    top: 10px;
                                    right: -3%;
                                    padding: 0px;
                                    min-width: 100%;
                                    background:$blanco;
                                    margin-top: 0;
                                    margin:0;
                                    border-top: 0;
                                    z-index: 4;
                                    .megamenu {
                                        border-radius: 0 0 4px 4px;
                                        -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
                                        box-shadow: 0 1px 1px rgba(0,0,0,.05);
                                        border-top: 0;
                                        max-height: 310px;
                                        min-height: 216px;
                                        //overflow-y: scroll;
                                        ul{
                                            padding:0px;
                                            li {
                                                padding: 4px 12px;
                                                border-top: 1px solid $gris;
                                                display:block;
                                                width: 100%;

                                                a.mdi-minus-box  {
                                                    font-size:1.2em;
                                                    float:right;
                                                    padding: 0;
                                                    color:$primario;
                                                    width: auto;
                                                }
                                                a{
                                                    padding:10px 3px;
                                                    color:$grisTexto;
                                                }
                                            }
                                        }
                                    }
                                    &.navbar-collapse.collapse{
                                        display: none !important;
                                        &.in{
                                            display: block !important;
                                            width: 100%;
                                            top:50px;
                                        }
                                    }
                                    &.collapsing{
                                        width: 100%;
                                        top:50px;
                                        right:5%;
                                    }
                                }
                                @media (max-width:767px){
                                    top: -7px;
                                    .megamenu {
                                        max-height: 160px;
                                    }
                                    &.collapsing{
                                        top:46px;
                                    }
                                }
                                @media (max-width:767px){
                                    top: 3px;
                                    right: -6%;
                                }
                            }
                        }
                    }
                }
            }

            @media (max-width:400px){
                min-height:1px;
            }
        }
        #contenedorNav{
            &.fieldmegamenu-sticky{
                .stt-menu {
                    display: none;
                }
            }
            .main-navigation{
                background: $menuSup_fondo;
                border-bottom: $menuSup_bordes;
                border-top: $menuSup_bordes;
                position: relative;
                width: 100%;
                .row{
                    display:flex;
                    & > div, ul{

                    }
                }
                .icon-align-justify {
                    color: $v-megamenu-title-hCategoria-icono;
                    font-size: 18px;
                }
                .megamenu{
                    position:relative;
                    padding-right: 0px;
                    min-width:78px;
                    width: 205px;
                    @media(max-width: 991px){
                        width:10%;
                    }
                    @media(max-width: 600px){
                        width:13%;
                    }
                    .v-megamenu-container {
                        margin: 0;
                        position: relative;
                        display: block;
                        cursor:pointer;
                        i {
                            margin-right: 10px;
                            font-size: 18px;
                            width: 20px;
                            text-align: center;
                            @media( max-width:991px){
                                width: auto;
                            }
                        }
                        .v-megamenu-title {
                            margin: 0;
                            border: 0;
                            font: inherit;
                            font-size: 100%;
                            vertical-align: baseline;
                            background: none repeat scroll 0 0 $v-megamenu-title-bacground;
                            border-left: $v-megamenu-title-border;
                            border-right: $v-megamenu-title-border;
                            padding: 3px 19px 0px 19px;
                            line-height:47px;
                            text-align: left;
                            background-color: $v-megamenu-title-bacground;
                            transition: all 0.3s ease-in-out 0s;
                            -webkit-transition: all 0.3s ease-in-out 0s;
                            -moz-transition: all 0.3s ease-in-out 0s;
                            h3 {
                                font-weight: 600;
                                color: $v-megamenu-title-hCategoria;
                                display: inline-block;
                                font-size: 20px;
                                margin: 0;
                                font-weight: bold;
                                line-height: 20px;
                                transition: all 0.3s ease-in-out 0s;
                                -webkit-transition: all 0.3s ease-in-out 0s;
                                -moz-transition: all 0.3s ease-in-out 0s;
                            }
                            @media (max-width: 991px){
                                h3{
                                    display: none;
                                }
                            }
                            &:before {
                                color: $v-megamenu-title-hCategoria-icono;
                                content: "\f415";
                                font-family: $fuente_iconos;
                                font-size: 29px;
                                font-weight: bold;
                                line-height: 1.5em;
                                position: absolute;
                                right: 16px;
                                transition: all 0.3s ease-in-out 0s;
                                -webkit-transition: all 0.3s ease-in-out 0s;
                                -moz-transition: all 0.3s ease-in-out 0s;
                                @media(max-width: 991px){
                                    content:"";
                                }
                            }
                            .icon-align-justify {
                                color: $v-megamenu-title-hCategoria-icono;
                                font-size: 18px;
                                overflow: hidden;
                                transition: all 0.3s ease-in-out 0s;
                                -webkit-transition: all 0.3s ease-in-out 0s;
                                -moz-transition: all 0.3s ease-in-out 0s;
                                vertical-align:middle;
                                &:before {
                                    content: "\f35c";
                                    font-family: $fuente_iconos;
                                    font-size: 34px;
                                    line-height: 18px;
                                }
                            }
                        }
                    }
                    &:hover{
                        .v-megamenu-title{
                            background-color: $v-megamenu-title-bacground-hover;
                            h3 {
                                color: $v-megamenu-title-hCategoria-hover;
                            }
                            &:before {
                                color: $v-megamenu-title-hCategoria-icono-hover;
                            }
                            .icon-align-justify {
                                color: $v-megamenu-title-hCategoria-icono-hover;
                            }
                        }
                    }
                    .v-megamenu{
                        margin-top:0px;

                        ul {
                            list-style: none;
                            position: relative;
                            width: 100%;
                            padding:0px;
                            li a {
                                display: block;
                                white-space: nowrap;
                                @media (max-width: 991px){
                                    width:85%;
                                    font-size:14px !important;
                                }
                            }
                        }
                        & > ul > li {
                            text-transform: uppercase;
                            padding-bottom: 0;
                            position:relative;
                            text-align: left;
                            background: $blanco;
                            &.nivel_1:hover .submenu{
                                display:block !important;
                            }
                            @media (max-width: 991px){
                                &:hover{
                                    &a.opener:before{
                                        display:none;
                                    }
                                }
                            }
                            & > a{
                                color: $gris_chocolate;
                                display: block;
                                font-size: 12px;
                                font-weight: normal;
                                line-height: 1;
                                padding: 10px 0 10px 20px;
                                text-transform: capitalize;
                            }
                            div.submenu {
                                border-left-color: $submenu_borde_left;
                                left: 100%;
                                display: none;
                                top: 0;
                                width: auto;
                                z-index: 99999;
                                position: absolute;
                                background-color: $blanco;
                                background-position: 100% 100%;
                                background-repeat: no-repeat;
                                -webkit-animation-duration: .6s;
                                animation-duration: .6s;
                                -webkit-animation-fill-mode: both;
                                animation-fill-mode: both;
                                @media (min-width: 992px){
                                    box-shadow: 1px 1px #f0f0f0;
                                    border-left: 3px solid $submenu_borde_left;
                                    border-top: 1px solid #f0f0f0;
                                    -webkit-box-shadow: 1px 1px #f0f0f0;
                                    -ms-box-shadow: 1px 1px #f0f0f0;
                                }

                                &.full-width {
                                    width: 600px;
                                    .section-indent {
                                        padding: 15px 15px 15px 12px;
                                    }
                                }
                                @media (max-width: 991px){
                                    position:initial;
                                    top:0px;
                                    &.full-width {
                                        width:100%;
                                        border-top: 1px solid #f0f0f0;
                                        border-bottom: 1px solid #f0f0f0;
                                    }
                                }
                            }

                        }
                        .v-megamenuitem .submenu {
                            z-index: 32 !important;
                        }
                        .v-megamenuitem a.opener {

                            margin: 0px 0 0;
                            padding: 0;
                            position: absolute;
                            right: 0;
                            text-align: center;
                            top: 0;
                            width: 40px;
                            box-shadow: none;
                            border: 0;
                            line-height: 2.6em;
                        }
                        .v-megamenuitem a.opener:before {
                            content: "\F142";
                            font-family: $fuente_iconos;
                            font-size: 13px;
                            text-transform: none;
                            @media (max-width: 991px){
                                content: "\f415";
                                font-size: 18px;
                                &:hover{
                                    content: "\2212";
                                }
                            }
                        }
                        .v-main-section {
                            width: 100%;
                            float: left;
                            min-height: 20px;
                        }
                        .section-indent {
                            padding: 18px 0 15px 12px;
                            overflow: hidden;
                        }
                        .v-main-section-links > li {
                            /*float: left;
                            width: 190px;*/
                            padding: 0 15px;
                            margin-bottom: 8px;
                            &  a{
                                color: $megamenu_submenu_fuente_color;
                                font-family: $fuente;
                                font-size: 12px;
                                font-weight: bold;
                                line-height: 12px;
                                margin: 12px 0 0;
                                padding: 0 0 7px;
                                text-transform: uppercase;
                            }
                        }
                        ul li a {
                            display: block;
                        }
                        .v-main-section-sublinks li {
                            padding: 6px 0;
                            position: relative;
                            transition: all 0.3s ease-in-out 0s;
                            -webkit-transition: all 0.3s ease-in-out 0s;
                            -ms-transition: all 0.3s ease-in-out 0s;
                            &:hover{
                                a{
                                    margin-left: 8px;
                                }
                            }
                            a{
                                color: $gris_chocolate;
                                font-size: 12px;
                                font-weight: normal;
                                line-height: 12px;
                                text-transform: capitalize;
                            }
                        }
                    }
                    .dropdown-menu{
                        padding: 0;
                        min-width: 250px;
                        a{
                            padding:15px 0 11px 20px;
                            &:hover{
                                background: $gris;;
                            }
                        }
                        .submenu{
                            a:hover{
                                background: none;
                                color:$primario;
                            }
                        }
                    }
                }
                .buscador{
                    padding: 0px;
                    width:56%;
                    flex:1;
                    .btn.btn-info{
                        border-color:$primario;
                        background: $blanco;
                        display:none;
                    }
                    #search_block_top {
                        float: left;
                        width:100%;
                        @media(min-width: 501px){
                            display:block;
                        }
                        .search_query {
                            background: $blanco none repeat scroll 0 0;
                            border: 0 none;
                            color: $terciario;
                            display: inline-block;
                            font-size: 14px;
                            height: 50px;
                            line-height: 48px;
                            box-shadow: none !important;
                            margin: 0px;
                            padding: 0 100px 0 20px;
                            width: 100%;
                            float: left;
                            @media (max-width: 1199px){
                                width: 300px;
                            }
                            &::-webkit-input-placeholder { /* WebKit, Blink, Edge */
                                color:$terciario;
                            }
                            &:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
                                color:$terciario;
                            }
                            &::-moz-placeholder { /* Mozilla Firefox 19 */
                                color:$terciario;
                            }
                            &:-ms-input-placeholder { /* Internet Explorer 10-11 */
                                color:$terciario;
                            }
                        }
                        .btn.button-search {
                            -moz-box-shadow: none;
                            -webkit-box-shadow: none;
                            background: transparent none repeat scroll 0 0;
                            border: 0 none !important;
                            box-shadow: none !important;
                            height: 50px;
                            padding: 0;
                            position: absolute;
                            right: 49px;
                            text-align: center;
                            top: 0px;

                            span{
                                padding: 10px;
                                &:before{
                                    color: $primario;
                                    font-size: 2.6em;  
                                }
                            }
                            &:hover{
                                background-color: $terciario;
                                span{
                                    &:before{
                                        color:$blanco;
                                    }
                                }
                            }
                        }
                        #searchbox{
                            position: relative;
                            &:after{
                                content:"";
                                display: block;
                                border-bottom: 1px solid $gris;
                                position: absolute;
                                top: 40px;
                                width: 85%;
                                margin: 0 15px;
                            }

                            .search_filter {
                                background: $blanco none repeat scroll 0 0;
                                position: absolute;
                                right: 0;
                                width: auto !important;
                                &:before {
                                    border-right: 1px solid $primario;
                                    content: "";
                                    height: 32px;
                                    position: absolute;
                                    left: 0;
                                    top: 8px;
                                    width: 0;
                                }
                                &::after {
                                    color: rgb(68, 68, 68);
                                    font-family: $fuente_iconos;
                                    content: '';
                                    font-size: 12px;
                                    position: absolute;
                                    right: 22px;
                                    top: 15px;
                                }
                                &:hover{
                                    &:before{
                                        border-right: 0;
                                    }
                                }
                                #category_filter {
                                    -moz-appearance: none;
                                    -webkit-appearance: none;
                                    -moz-appearance: none;
                                    background: transparent none repeat scroll 0 0;
                                    border: 0 none;
                                    color: $bt_bAvanzada_fuente;
                                    font-size: 0px;
                                    padding: 0px;
                                    position: relative;
                                    z-index: 3;
                                    text-align: center;
                                    font-weight: 500;
                                    display: inline-block;
                                    font-family: $fuente_iconos;
                                    font-style: normal;
                                    -webkit-font-smoothing: antialiased;
                                    &:hover{
                                        &:before{
                                            color:$bt_bAvanzada_fuente_hover;
                                        }
                                    }
                                    &:before{
                                        content: "\f493";
                                        font-size: 24px;
                                        display: block;
                                        line-height: 50px;
                                        padding: 0 13px;
                                        color:$busqueda_icono_color;
                                        &:hover{
                                            color:$bt_bAvanzada_fuente_hover;
                                        }
                                    }
                                }
                                &:hover{
                                    background:$bt_bAvanzada_fondo_hover
                                }
                            }
                            @media (max-width:1200px){
                                &:after{
                                    width: 78%;
                                }
                            }
                        }
                    }
                    @media(max-width: 1599px){
                        width:50%;
                    }
                    @media(max-width: 1199px){
                        width:45%;
                    }
                    @media(max-width: 991px){
                        width:64%;
                    }
                    @media(max-width: 690px){
                        width:61%;
                    }
                    @media(max-width: 630px){
                        width:58%;
                    }
                    @media(max-width: 580px){
                        width:50%;
                    }


                    @media(max-width: 500px){
                        text-align: right;
                        position:absolute;
                        right:0px;
                        width:100%;
                        .btn.btn-info{
                            display: block;
                            background: none;
                            font-size: 20px;
                            position: absolute;
                            right: 170px;
                            border:none;
                            border-left:1px solid $primario;
                            i{
                                font-style: normal;
                                font-family: $fuente_iconos;
                                color:$primario;
                            }
                        }
                        #search_block_top{
                            position: relative;
                            top: 50px;
                            right:0px;
                            min-width: 100%;
                            background:$blanco;
                            border:1px solid $primario;
                            #searchbox .search_filter{
                                right:50px;
                            }
                            .search_query{
                                width: 95%;
                            }
                            .btn.button-search{
                                background-color: $secundario;
                                right:0;
                                span{
                                    color:$blanco;
                                    &:before{
                                        font-size: 2.4em;
                                    }
                                }
                            }
                            #searchbox {
                                &:after{
                                    width: 72%
                                }
                            }
                        }
                    }
                    @media (max-width: 350px){
                        #search_block_top{
                            top:50px;
                        }
                    }
                }
                #header_links{
                    list-style: none;
                    font-size: 14px;

                    li {
                        height: 50px;
                        list-style:none;
                        a {
                            display: flex;
                            justify-content:center;
                            align-items: center;
                            color: $Enlaces_Cabecera;
                            display: inline-block;
                            height: 50px;
                            width: 100px;
                            padding:5px 0px;
                            font-size: 16px;
                            text-align: center;
                            border-left:1px solid $Enlaces_Cabecera;
                            .mdi-account-key{
                                padding-right: 5px;
                                font-size: 24px;
                            }
                            &:hover{
                                background: $fondo_header_enlaces_hover;
                                color:$blanco;
                            }
                            &.account, &.logout {
                                border-style: none;
                                font-size: 0px;
                                padding: 5px 10px;
                                height: 50px;
                                width: 50px;
                                i{
                                    font-size: 24px;
                                }
                            }
                        }
                        // @media(max-width: 991px){
                        //    a{
                        //        font-size: 0px;
                        //    }
                        // }
                    }
                    @media(max-width: 767px){
                        float:left;
                        li{
                            a{
                                width: 50px;
                                font-size: 0;
                            }
                        }
                    }
                    @media(max-width: 500px){

                        position: absolute;
                        right:65px;
                    }
                }
                .shopping_cart_menu {
                    display: inline-block;
                    margin-right: 15px;
                    width: auto;
                    position: relative;
                    border-left: $v-megamenu-title-border;
                    border-right: $v-megamenu-title-border;
                    .cesta_desplegableV2{
                        height: 49px;
                        width: auto;
                        background: $fondo_cesta_desp;
                        min-width: 163px;
                        line-height: 48px;
                        text-align: center;
                        &:hover{
                            //background: $fondo_cesta_desp_hover;
                            .contenedor_totales_cesta{
                                a.btn_comprar_minicest{
                                    color:$minicesta_boton_comprar_fuente_hover;
                                    background: $fondo_cesta_desp_hover;
                                }
                            }
                        }
                        .contenedor_totales_cesta{
                            a.btn_comprar_minicest{
                                color:$minicesta_boton_comprar_fuente;
                                height: 100%;
                                width: 100%;
                                display: block;
                                background: $minicesta_boton_comprar_fondo;
                                &:hover{
                                    color:$minicesta_boton_comprar_fuente_hover;
                                    background-color: $minicesta_boton_comprar_fondo_hover;
                                }
                                span.mdi{
                                    font-size: 1.4em;
                                    vertical-align: middle;
                                }
                            }
                        }
                        /*Líneas de la cesta*/
                        .linea_cesta{
                            .first_item {
                                background: $blanco none repeat scroll 0 0;
                                font-weight: normal;
                                padding: 10px;
                                position: relative;
                                overflow:hidden;
                                border-bottom: 1px solid $primario;
                                a{
                                    float:none;
                                    font-size: 12px;
                                    transition: all 0.3s ease-in-out 0s;
                                    -webkit-transition: all 0.3s ease-in-out 0s;
                                    -moz-transition: all 0.3s ease-in-out 0s;
                                    &.cart-images{
                                        border: 1px solid $gris;
                                        display: flex;
                                        justify-content: center;
                                        vertical-align: top;
                                        margin-right: 10px;   
                                        width: 80px;
                                        height: 109px;
                                        text-align: center;
                                        float: left;
                                        align-items: center;
                                        img{
                                            max-width:100%;
                                            height: auto;
                                        }
                                    }
                                    img{
                                        width:auto !important;
                                        @include sombraPortada();
                                    }
                                }
                                .cart-info {
                                    display: inline-block;
                                    max-width: 142px;
                                    max-height: 107px;
                                    .product-name {
                                        padding-top:8px;
                                        display: block;
                                        margin-top: -3px;
                                        height:auto;
                                        a {
                                            display: inline-block;
                                            color: $titulo_ficha;
                                            line-height: 17px;
                                            width:142px;
                                            font-weight: normal;
                                            white-space: nowrap;
                                            overflow: hidden;
                                            text-overflow: ellipsis;
                                            font-size: 14px;
                                            &:hover{
                                                color:$titulo_ficha_hover;
                                            }
                                        }
                                    }
                                    span{
                                        &.quantity-formated {
                                            color: $autor_ficha;
                                            display: inline-block;
                                            font-size: 12px;
                                            div{
                                                display: inline-block;
                                                font-size:12px;
                                                font-weight: normal;
                                                &.cesta_menos, &.cesta_mas {
                                                    display: none;
                                                }
                                            }
                                        }
                                    }
                                    .product-atributes {
                                        padding-bottom: 3px;
                                        font-size: 13px;
                                        a {
                                            color: #9c9b9b;
                                            font-size: 12px;
                                            min-width: 130px;
                                            max-width: 142px;
                                            overflow: hidden;
                                            display: inline-block;
                                            white-space: nowrap;
                                            text-overflow: ellipsis;
                                            font-weight: 300;
                                            &:hover{
                                                color:$secundario;
                                            }
                                        }
                                    }
                                    .cantidad{
                                        display: flex;
                                        align-items: center;
                                        width: 85px;
                                        .menos, .mas{
                                            a{
                                                padding:0px;
                                            }
                                        }
                                        .cantidad_articulos{
                                            input{
                                                padding: 0px;
                                                height: 31px;
                                                width: 45px;
                                                text-align: center;
                                                background: $blanco;
                                            }
                                        }
                                    }
                                }
                                .eliminar{
                                    position: absolute;
                                    right: -10px;
                                    top: 0px;
                                    i{
                                        font-size: 20px;
                                    }
                                    a{
                                        &:hover{
                                            i{
                                                color:$secundario;
                                            }
                                        }
                                    }
                                }
                                .price{
                                    text-align: right;
                                    position: absolute;
                                    right: 8px;
                                    bottom: 20px;
                                }
                            }
                            dd {
                                border-bottom: 1px solid #e2dfdf;
                                -webkit-box-shadow: 0 1px $blanco;
                                -moz-box-shadow: 0 1px $blanco;
                                box-shadow: 0 1px $blanco;
                                margin-bottom: 1px;
                                position: relative;
                            }
                        }
                        .webStoreDropDown{
                            float:none;
                            left: auto !important;
                            right: 0 !important;
                            max-height: 500px;
                            overflow-y: auto;
                            scrollbar-width: thin;

                            &::-webkit-scrollbar {
                                width: 6px;     /* Tamaño del scroll en vertical */
                                height: 6px;    /* Tamaño del scroll en horizontal */

                            }
                            &::-webkit-scrollbar-thumb{
                                background: #ccc;
                                border-radius: 2px;
                            }
                            &::-webkit-scrollbar-thumb:hover {
                                background: #b3b3b3;
                                box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
                            }
                            &::-webkit-scrollbar-thumb:active{
                                background-color: #999999;
                            }
                            &::-webkit-scrollbar-track{
                                background: #e1e1e1;
                                border-radius: 4px;
                            }
                            &::-webkit-scrollbar-track:hover, &::-webkit-scrollbar-track:active{
                                background: #d4d4d4;
                            }
                            @media all and (max-width:991px){
                                display:none;
                            }
                            .contenedor_cesta_desplegable {
                                height: auto;
                                overflow: hidden;
                                border-top: $borde_cesta_desp;
                                width: 280px;
                                text-align: left;
                                z-index: 1100;
                                a{
                                    float:none;
                                }
                                .lineas_cesta_linea_mini_cesta {
                                    max-height:  470px;
                                    overflow-y:  auto;
                                }
                                .cart-prices{
                                    color: $precio_minicesta;
                                }
                                .cesta_restaurar{
                                    .minicesta_restaurar_estilos{
                                        p{
                                            text-align: center;
                                            padding:10px;
                                            margin:0px;
                                        }
                                        .articulo{
                                            font-weight: bold;
                                            color: $precio_minicesta;
                                        }
                                        .enlace_restaurar{
                                            text-align: center;
                                            background:$gris;
                                            .restaurar{
                                                float:none;
                                                display: block;
                                            }
                                        }
                                    }
                                }
                                .cart-prices-line, .cesta_restaurar p {
                                    overflow: hidden;
                                    background: $blanco;
                                    line-height: initial;
                                }
                                .cart-prices-line{
                                    padding: 15px;
                                    text-align: left;
                                    border-bottom: 1px solid #e2dfdf;
                                    padding-right: 7px;
                                }
                                .cart_block_total, .cart_block_shipping_cost, a{
                                    float: right;
                                }
                                .price, a{
                                    color: $precio_minicesta;
                                    font-size: 16px;
                                    font-weight: bold;
                                    white-space: nowrap;
                                }
                                .cart-buttons {
                                    overflow: hidden;
                                    padding: 15px;
                                    margin: 0;
                                    a {

                                        font-family: $fuente;
                                        font-size: 14px;
                                        margin-right: 0;
                                        text-transform: uppercase;
                                        line-height: 1;
                                        padding: 7px 15px;

                                        font-weight: bold;
                                        background-color: $botones_color;
                                        border: 1px solid $primario;
                                        color:$botones_fuente;
                                        &:hover{
                                            background: $botones_color_hover;
                                            color:$botones_fuente_hover;
                                        }
                                    }
                                    #button_order_cart {
                                        padding-top: 9px;
                                        padding-bottom: 5px;
                                    }
                                    .cesta_vaciar a{
                                        float: left;
                                        padding-top: 9px;
                                        padding-bottom: 8px;
                                    }
                                }
                            }
                        }
                        @media(max-width: 991px){
                            line-height: 44px;
                            min-width: 80px;
                            .contenedor_totales_cesta{
                                .btn_comprar_minicest{
                                    .ajax_cart_no_product{
                                        display:none;
                                    }
                                }
                            }
                        }
                    }
                    @media(max-width: 991px){
                        margin-right: 0px;
                    }
                    @media(max-width: 767px){
                        margin-right:15px;
                    }
                    @media (max-width:500px){
                        position: absolute;
                        right: 0;
                        .cesta_desplegableV2{
                            height: 50px;
                        }
                    }
                }
                &.fixed{
                    position: fixed;
                    z-index: 1030;
                    top: 0px;
                    left: 0px;
                    right: 0px;
                    .megamenu{
                        @media(max-width: 767px){
                            .v-megamenu-title:before{
                                right: 50px;
                            }        
                        } 
                    }
                    .header-megamenu{

                        #fieldmegamenu-main{
                            &.fieldmegamenu{
                                & > ul {
                                    height: 50px;
                                    padding: 0 10px;
                                    text-align: right;
                                    display: block;
                                    position: relative;
                                    clear: both;
                                    margin: 0;
                                    float: right;
                                    & > li{
                                        display: inline-block;
                                        font-size: 14px;
                                        float: left;
                                        position: relative;
                                        width: 10%;
                                        text-align:center;
                                        a {
                                            color: $menuSup_enlace2;
                                            letter-spacing: 1px;
                                            padding:18px 30px;
                                            margin: 0;
                                            display: inline-block;
                                            font-weight: 600;
                                            line-height:1em;
                                            border:none;
                                            &:hover{
                                                background:$menuSup_enlace_backgroung_hover;
                                                color:$menuSup_enlace_hover2;
                                            }
                                            padding:10px;
                                            font-size:2.1em;

                                            i{
                                                display:block;
                                            }
                                            span{
                                                display:none;
                                            }
                                        }
                                    }
                                    @media(max-width: 1199px){
                                        li{
                                            width: 30%;
                                        }
                                    }
                                }
                            }
                        }
                    }
                    @media (max-width: 767px) and (min-width: 601px){
                        .megamenu{
                            width: 14%;
                            .v-megamenu-container{
                                .v-megamenu-title{
                                    text-align: center;
                                    &:before{
                                        display: none;
                                    }
                                    h3{
                                        display: none;
                                    }
                                }
                            }
                            .v-megamenu{
                                width:250px;
                            }
                        }
                    }
                    .shopping_cart_menu{
                        top:1px;
                    }
                }
            }
        }
        /**************************/
        /*****MEDIA QUERIES********/
        /**************************/
        @media only screen and (min-width:1200px){
            .shopping_cart.sticky-fixed-top,#search_block_top.sticky-fixed-top{
                margin:7px 0 0;padding:0;width:auto}
            #search_block_top.sticky-fixed-top{
                margin-right:36px}
            .sticky-fixed-top .shopping_cart_menu{
                margin:5px 0 0 5px}
            .sticky-fixed-top #search_block_top .btn.button-search,#search_block_top.sticky-fixed-top .btn.button-search{
                box-shadow:none}
            #search_block_top.sticky-fixed-top .field-search,.sticky-fixed-top #search_block_top .field-search,.sticky-fixed-top #cart_block_top.shopping_cart{
                margin:0}
            .sticky-fixed-top .cart_block{
                top:39px;right:0}
            .sticky-fixed-top #search_block_top #search_query_top{
                width:280px}
            .sticky-fixed-top #search_block_top #search_query_top:hover,.sticky-fixed-top #search_block_top #search_query_top:focus,.sticky-fixed-top #search_block_top #search_query_top:active{
                width:410px;transition:all 0.4s ease-in-out 0s;-webkit-transition:all 0.4s ease-in-out 0s;-ms-transition:all 0.4s ease-in-out 0s}
            .sticky-fixed-top .shopping_cart:hover > a:first-child{
                color:$blanco}
            .sticky-fixed-top #search_block_top.sticky-fixed-top{
                display:none}
            .sticky-fixed-top .shopping_cart_menu.sticky-fixed-top{
                display:none}
        }
        @media only screen and (min-width: 1200px){
            #sticky_top{
                &.sticky-fixed-top  #search_block_top  #searchbox {
                    .search_filter  {
                        display: block;
                        background: transparent none repeat scroll 0 0;
                        border: 0 none;
                        color: #4666a0;
                        font-size: 24px;
                        font-weight: 700 !important;
                        height: 50px;
                        line-height: 43px;
                        width: 60px;
                        z-index: 1024;
                        text-align: center;
                        &:before{
                            border:none;
                        }

                    } 
                    .btn.button-search{
                        span{
                            &:before{
                                font-size: 2.4em;
                            }
                        }
                    }
                }
            }
        }
        @media only screen and (min-width: 1200px){
            #sticky_top{
                &.sticky-fixed-top {
                    top: -4px;
                    z-index: 5003;
                    position: inherit;
                }
                &.sticky-fixed-top{
                    #search_block_top {
                        #search_query_top {
                            width: 93%;
                            height: 50px;
                            line-height: 37px;
                        }
                    }
                }
                &.sticky-fixed-top .shopping_cart_menu {
                    .cesta_desplegableV2 {
                        height: 39px;
                        line-height: 39px;
                        &:hover{
                            background: rgba(255,255,255,0.3);
                        }
                    }
                }
                &.sticky-fixed-top .search_filter .b_avanzada {
                    display: none;
                }
            }
        }
        @media (min-width: 1200px){
            #product .content-top-br {
                height: 49px;
                padding: 14px 20px;
            }
        }
        @media (max-width: 1199px){
            #contenedorNav .main-navigation #sticky_top{
                &.sticky-fixed-top{
                    right: auto !important;
                }
            }
        }
        @media only screen and (min-width: 992px){
            #sticky_top{
                &.sticky-fixed-top{
                    #search_block_top {
                        #search_query_top {
                            width: 93%;
                            height: 50px;
                            line-height: 37px;
                        }
                        #searchbox .search_filter:before{
                            height: 23px;
                        }
                    }
                }
                &.sticky-fixed-top .search_filter{
                    .b_avanzada_ico{
                        display: block;
                        background: transparent none repeat scroll 0 0;
                        border: 0 none;
                        color: $bt_bAvanzada_fuente;
                        font-size: 24px;
                        font-weight: 700 !important;
                        height: 37px;
                        line-height: 43px;
                        width: 60px;
                        z-index:3;
                        text-align: center;
                        &:hover{
                            //color:$bt_bAvanzada_fuente_hover;
                            background: $bt_bAvanzada_fondo_hover;
                            color: $bt_bAvanzada_fuente_hover;
                        }
                    }
                }
                &.sticky-fixed-top .login_menu{
                    display: inline-block;
                    height: 39px;
                    line-height: 39px;
                    margin: 5px 0 0 5px;
                }
                &.sticky-fixed-top .shopping_cart_menu {
                    margin: 5px 0 0 5px;
                    padding: 0;
                    width: auto;
                    .cesta_desplegableV2 {
                        height: 39px;
                        line-height: 39px;
                        &:hover{
                            background: $fondo_cesta_desp_hover !important;
                        }
                    }
                }
            }
        }
        @media only screen and (max-width: 991px){
            .busquedaCesta{
                #header_logo {
                    margin-top:0;
                    padding: 0;    
                    a{
                        background: none;
                        display: inline-block;
                        max-width: 105px;
                        margin-top: 5px;
                        margin-left:10px;
                        float:left;
                    }
                }
                #sticky_top{
                    display: inline-block;
                    float: none;
                    padding: 0;
                    width: auto;
                    right: auto !important;
                    position: static;
                    // margin-top: 13px!important;
                    #search_block_top{
                        float:right;
                    }
                }
            }
            #contenedorNav{
                .main-navigation{
                    height:auto;
                }
            }
        }
        @media (max-width: 767px){
            position:fixed;
            top:0px;
            width:100%;
            z-index:20;
            .busquedaCesta{
                #header_logo{
                    z-index:2;
                    background:$blanco;
                    a{
                        background: none;
                        display: inline-block;
                        max-width: 105px;
                        margin-top: 5px;
                        margin-left:10px;
                        float:left;
                    }
                }
                .header-megamenu{
                    background:$blanco;
                    #fieldmegamenu-main.fieldmegamenu .categorias_menu{
                        top:18px;
                        #menu_hamburguesa.navbar-collapse.collapse.in,#menu_hamburguesa.navbar-collapse.collapsed{
                            right:5%;
                            top:46px;
                        }
                    }
                }
                .buscador{
                    .btn.btn-info{
                        display:block;
                        position:fixed;
                        top: 0px;
                        right: 70px;
                        z-index: 6877;
                        font-size:1.4em;
                        color:$primario;
                    }
                    #search_block_top {
                        border: 0 none;
                        display:block;
                        padding-right: 20%;
                        &.collapse{
                            display: none;
                            &.in{
                                display: block;
                                float: none;
                                padding-left: 0;
                                position: absolute;
                                width: 100%;
                                left: 0;
                                z-index: 6000;
                            }
                        }
                        &.collapsing{
                            display: block;
                            float: none;
                            padding-left: 0;
                            position: absolute;
                            width: 100%;
                            left: 0;
                        }
                        #searchbox {
                            border: 1px solid $gris;
                            margin: 0 0 30px;
                            padding: 0;
                            position: fixed;
                            z-index: 1;
                            background: $blanco;
                            top:50px;
                            width: 100%;
                            .search_filter{
                                background: $blanco none repeat scroll 0 0;
                                border: 0;
                                margin-right: 0px;
                                // position: relative;
                                right: auto ;
                                top: 1px; 
                                left:0;
                                width: auto !important;
                                display:inline-block;
                                #category_filter{
                                    position: relative;
                                    top: 8px;
                                    display: inline-block;
                                    font-family: $fuente_iconos;
                                    font-style: normal;
                                    font-weight: 400;
                                    line-height: 1;
                                    -webkit-font-smoothing: antialiased;
                                    font-size: 0;
                                    height: 35px;
                                    width: 35px;
                                    &:hover{
                                        color:$bt_bAvanzada_fuente_hover;
                                    }
                                    &:before{
                                        content: "\f493";
                                        font-size: 24px;
                                        display: block;
                                        line-height: 34px;
                                    }
                                }
                            }
                            #search_query_top {
                                width: 100%;
                                padding: 0 45px 0 63px;
                            }
                        }
                    }
                }
            }
            #contenedorNav{
                .main-navigation {
                    .shopping_cart_menu{

                        z-index:2;
                        .cesta_desplegableV2{
                            min-width:50px;
                        }
                    }
                }
                .fixed{
                    .v-megamenu-title{
                        &:before{
                            display:none;
                        }
                    }
                }
            }    
        }
        //@include cestaDesplegable();
    } 
}