﻿.productBox {
    display:flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom:20px;
}



.productBox > a {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
}


.productBox .cuadroImagen {
    border: 1px solid var(--productBox_borde);
    border-radius: 10px;
    padding: 0;
    background-color: white;
    width:100%;
        

    position:relative;
    overflow:hidden;
}


.productBox .ribbon {
    position:absolute;
    overflow:hidden;
    width: 100%;
    height: 100%;
}

.productBox .ribbon span {
    display:block;
    position:absolute;
    font-weight: bold;
    font-size: 13px;
    text-transform:uppercase;
    padding: 2px 25px;
}

.productBox .novedad span {
    font-size:12px;
    padding: 0px 20px;
    left: -22px;
    top: 20px;
    transform: rotate(-45deg);
    background-color:var(--productBox_novedad);
    color:white;
    box-shadow: 5px 5px 10px rgba(0,0,0,.1);
}

.productBox.sinLibre.ribbonSinStock {
    filter: grayscale(100%);
    opacity:80%;
}
.productBox .sinStock.ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.productBox .sinStock.ribbon span {
    z-index:1;
    font-size:14px;
    padding: 10px 20px;
    width:80%;
    text-align:center;
    border:2px dashed darkgray;
    border-radius:10px;
    background-color:rgba(255, 255, 255, 0.75);
    color:black;
}


.productBox .descuento span {
    padding: 2px 28px 28px 28px;
    right: -35px;
    bottom: -15px;
    transform: rotate(-45deg);
    background-color:var(--productBox_descuento);
    color:white;
    box-shadow: -3px -3px 10px rgba(0,0,0,.1);        
}




.articuloIndex .wrpEtiquetas span.edadMinima,
.productBox .edadMinima {
    border: 1px solid var(--productBox_edadMin);
    border-radius: 8px;
    color: var(--productBox_edadMin);
    font-weight: bold;
    padding: 0 5px;
    font-size: 13px;
    margin-left: 10px;
}


.articuloIndex .wrpEtiquetas span {
    border: 1px solid black;
    border-radius: 8px;
    font-weight: bold;
    padding: 0 5px;
    font-size: 13px;
}

.articuloIndex .wrpEtiquetas span.novedad { 
    text-transform:uppercase;
    border-color:var(--productBox_novedad);
    color:var(--productBox_novedad);
}


.articuloIndex .wrpEtiquetas span.oferta { 
    text-transform:uppercase;
    border-color:var(--productBox_oferta);
    background-color:var(--productBox_oferta);
    color:white;
}

.articuloIndex .wrpEtiquetas span.descuento { 
    text-transform:uppercase;
    border-color:var(--productBox_descuento);
    background-color:var(--productBox_descuento);
    color:white;
}



.productBox .wrpImagen {
    flex-grow:1;
    display: flex;
    max-height: 200px;
    height    : 200px;
    padding:5px;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.productBox .wrpImagen img {
    max-height:100%;
}
.productBox .wrpTitulo {
    height:50px;
    padding:5px;
}
.productBox .titulo {
   overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2;
           line-clamp: 2; 
   -webkit-box-orient: vertical;
    text-overflow: ellipsis;

    text-align:center;
    font-weight:bold;
    color:var(--productBox_titulo);
    font-size:16px;
    line-height:18px;
}

.productBox:hover .titulo {
    color:var(--productBox_tituloHover);
}



.productBox .wrpPie {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}



.productBox .wrpPrecios {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: flex-end;
    align-items: flex-end;
    justify-content: flex-start;
}

.productBox .wrpPrecios .pvp {
    color:var(--productBox_pvp);
    font-weight:bold;
    font-size:18px;
}

.productBox .wrpPrecios .pvpAnterior {
    color:var(--productBox_pvpanterior);
    font-size:12px;
    font-weight:bold;
    text-decoration:line-through;
}


.productBox .wrpProductBox {
    max-width: 200px; 
    min-width: 200px; 
}

@media (max-width: 800px) {
    .productBox .wrpProductBox {
        max-width: 150px; 
        min-width: 150px; 
    }

    .productBox .wrpImagen {
        height:150px;
    }
}