/*----------------- ESTILOS BASE--------------------------
--------------------------------------------------------*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');


html, *, p, h1, h2, h3, body,a{
    font-family: 'Montserrat', sans-serif;
    color: #707070;
}

a { -webkit-tap-highlight-color: rgba(0,0,0,0) !important; }

p, h1, h2, h3{
    margin: 0;
    font-weight: normal;
}

a{
    text-decoration: none !important;
    cursor: pointer !important;

}

a:focus{
    outline: none !important;
}

.ocultar{
    display: none !important;
}

input[type="submit"]{
    border: none;
}

.negro{
    color: #000000;
}

.blanco{
    color: #ffffff;
}

.verde{
    color: #7db828 !important;
}


/*------------------- Alineaciones texto ---------------*/

.ali-der{
    text-align: right;
}
.ali-iz{
    text-align: left;
}

.ali-centro{
    display: flex;
    width: fit-content;
    margin: auto;
}

/*------------------- Decoracion letra ---------------*/

.negrita{
    font-weight: bold;
}

.delgada{
    font-weight: lighter;
}

.sombreado{
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.16);
}

.tachado{
    text-decoration: line-through;
}


/*------------------- Tamaños letra ---------------*/
.titulo-extragrande{
    font-size: 30px;
}

.titulo-grande, h1{
    font-size: 24px;
}

.titulo, h2{
    font-size: 20px;
}

p, .letra{
    font-size: 16px;
    color: #707070;
}

.letra-peq{
    font-size: 14px;
}

.letra-enana{
    font-size: 12px;
}

/*----------------------- Botones ------------------------*/

.boton-peq{
    width: 100%;
    display: grid;
    height: 55px;
    align-items: center;
    border-radius: 10px;
    text-align: center;
    background-color: #ffffff;
    border: solid 1px #707070 !important;
    text-decoration: none;
    cursor: pointer;
    max-width: 200px;
    margin: auto;
}

.boton-borde{
    background-color: transparent;
    border: 2px solid #3CBFB1;
    color: #3CBFB1;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    width: 250px;
    height: 40px;
    display: grid;
    align-items: center;
    margin: auto;
    text-align: center;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.16);
}

.boton-borde-invertido{
    background-color: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    width: 250px;
    height: 40px;
    display: grid;
    align-items: center;
    margin: auto;
    text-align: center;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.16);
}

.boton-fijo{
    background-color: #7db828;;
    color: white;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    width: 90%;
    height: auto;
    display: grid;
    text-align: center;
    align-items: center;
    margin: auto;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.16);
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translate(-50%, -5%);
    z-index: 10;
}

.boton-entero{
    width: 100%;
    display: grid;
    height: 55px;
    align-items: center;
    border-radius: 10px;
    text-align: center;
    background-color: #ffffff;
    border: solid 1px #707070 !important;
    font-weight: bold;
}


/*----------------------- Margenes ------------------------*/

.margen-iz{
    margin-left: 15px;
}

.margen-der{
    margin-right: 15px;
}

.margen-top{
    margin-top: 15px;
}

.margen-bottom{
    margin-bottom: 15px;
}

.margen-vertical{
    margin-top: 15px;
    margin-bottom: 15px;
}

.margen-horizontal{
    margin-left: 15px;
    margin-right: 15px;
}

.margen{
    margin: 15px;
}

/*----------------------- Paddings ------------------------*/

.padding-iz{
    padding-left: 15px;
}

.padding-der{
    padding-right: 15px;
}

.padding-top{
    padding-top: 15px;
}

.padding-bottom{
    padding-bottom: 15px;
}

.padding-vertical{
    padding-top: 15px;
    padding-bottom: 15px;
}

.padding-horizontal{
    padding-left: 15px;
    padding-right: 15px;
}

.padding{
    padding: 15px;
}

/*----------------------- Inputs ------------------------*/

.input{
    width: 100%;
    display: grid;
    margin: 14px auto;
    border: none;
    padding: 0 0 3px 0;
    border-bottom: 1px solid #bcbcbc;
}


.input2{
    width: 100%;
    display: grid;
    margin: 14px auto;
    border: none;
    padding: 0 0 3px 0;
    border-bottom: 3px solid #b0afad;
}

.input2:focus{
    border-bottom: 3px solid #7db828;
}

textarea{
    border: 1px solid #cfcfcf;
    border-radius: 5px;
    padding: 14px;
}

.select{
    width: 100%;
    display: grid;
    margin: 14px auto;
    border: none;
    border-bottom: 1px solid #eaeaea;
    padding: 10px 8px;
}

.input:focus,
.buscador:focus,
input:focus,
select:focus,
textarea:focus{
    outline: none !important;
}

.buscador{
    padding: 12px 0 12px 40px;
    grid-column: 1;
    grid-row: 1;
    box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, 0.16);
    border: solid 0.5px #e2e2e2;
}
/*------------------ Separador linea -------------------*/

.separador{
    width: 100%;
    height: 1px;
    background-color: #c6c6c6;
}

/*--------------------Slider---------------------*/

/* Esconder barra de escroll */
.scrollbar::-webkit-scrollbar{
    display: none !important;
}

/* Esconder barra de escroll */
.scrollbar{
    -ms-overflow-style: none !important;  /* IE and Edge */
    scrollbar-width: none !important;  /* Firefox */
}

.contenedor-slider{
    display: flex;
    flex-flow: row nowrap;
    overflow: scroll;
    overflow-y: hidden;
}


/*-------------------- MENU ---------------------*/
/*------------------------------------------------*/

.menu_bajo{
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 9999999999999999999;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.elem_menu{
    text-align: center;
    padding: 10px 0;
}

.elem_menu img{
    width: 26px;
    margin-bottom: -4px;
}

.menu_activo{
    fill: #7db828 !important;
}

/*-------------------- HOME ---------------------*/
/*------------------------------------------------*/

.cuadro_slider{
    width: 85%;
    height: 275px;
    z-index: 1;
    background: rgb(255 255 255 / 70%);
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.img_home{
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

/******************* slider home ****************/

/* Slideshow container */
.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

/* The dots/bullets/indicators */
.dot {
    height: 11px;
    width: 11px;
    margin: 0 2px;
    background-color: #d6d6d6;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #ffffff;
}

/* Next & previous buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 11px 16px;
    margin-top: -22px;
    color: #7db828;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 50%;
    user-select: none;
}

.prev{
    left: 5px;
}

/* Position the "next button" to the right */
.next {
    right: 5px;
    border-radius: 50%;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
    background-color: #7db8283d;
}

/* Fading animation */
.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 1s;
    animation-name: fade;
    animation-duration: 1s;
}

@-webkit-keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/*-------------------- TIENDA ---------------------*/
/*------------------------------------------------*/
.contenedor_productos{
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
    padding: 15px;
    row-gap: 25px;
}

.img_producto{
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.favs_productos{
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 5;
}

.img_categoria{
    width: 90px;
    height: 90px;
    object-fit: cover;
}

.img_categoria2{
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.categoria{
    margin-right: 20px;
}

/*-------------------- PRODUCTO ---------------------*/
/*------------------------------------------------*/

.img_detalle_producto{
    width: 100%;
    height: 100vh;
    max-height: 350px;
    object-fit: cover;
}

.boton_anadir{
    width: 65px;
    height: 45px;
    border-radius: 5px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}

.cont_botones_anadir{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
}

.cantidad{
    justify-self: center;
}


.slider_relacionados .cont_producto{
    min-width: 180px;
    margin-right: 10px;
}


/*-------------------- MICUENTA ---------------------*/
/*------------------------------------------------*/

.elem_perfil{
    display: grid;
    grid-template-columns: 15% 75% 10% ;
    align-items: center;
    grid-template-rows: 50px;
    margin-top: 25px;
}


/*-------------------- FAVORITOS ---------------------*/
/*------------------------------------------------*/

.contenedor_prod2{
    display: grid;
    align-items: center;
    grid-template-columns: 90px 1fr 1fr;
    column-gap: 10px;
}

.img_prod2{
    width: 90px;
    height: 90px;
    flex-basis: 90px;
}

.anadir_prod2{
    /*display: grid;
    height: 100%;*/
    align-items: self-end;
}

.anadir_prod2 .cantidad{
    margin-bottom: -5px;
    justify-self: end;
}

.anadir_prod2 .boton_anadir{
    width: 60px;
    height: 35px;
}

.cont_favs{
    display: grid;
    row-gap: 15px;
    margin-top: 25px;
}

/*-------------------- CARRITO ---------------------*/
/*------------------------------------------------*/

.flotante_bajo{
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #ffffff;
    z-index: 99999999999999999999999;
    display: grid;
}

/*-------------------- MISPEDIDOS ---------------------*/
/*------------------------------------------------*/

.tarjeta_pedido:hover{
    background-color: #f9f9f9;
}

/*-------------------- INFO PEDIDO ---------------------*/
/*------------------------------------------------*/

.cont_info_pedido{
    border-radius: 20px;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.16);
    border: solid 0.5px #d9d9d9;
    background-color: #f5f5f5;
    padding: 20px;
}

/*-------------------- CARRO2_2 ---------------------*/
/*------------------------------------------------*/

.cont_clientes{
    border-radius: 5px;
    box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, 0.16);
    border: solid 0.5px #e2e2e2;
    background-color: #ffffff;
    height: 250px;
    overflow: scroll;
}

.clientes{
    text-align: center;
    padding: 20px;
}

.clientes:nth-child(even){
    background-color: #f0f0f0 ;
}

.clientes:hover{
    background-color:#7db828 ;
}

.largo{
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width:110px;
}

@media only screen and (min-width: 500px) {
    .contenedor_productos{
        grid-template-columns: 1fr 1fr 1fr;
    }
}










