/*
Theme Name:   Hello Elementor Child
Description:  Tema hijo 
Author:       Mariano Rengifo 
Author URL:   solucionesgeek.com
Template:     hello-elementor
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  hello-elementor-child
*/

/* TIENDA PRODUCTOS */ 

.mostrarprod-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mostrarprod {
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    background-color: #fff;
    border-radius: 8px;
}

.imagen-mostrarprod {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Mantiene la relación de aspecto cuadrada */
    overflow: hidden;
    border-radius: 8px;
}

.imagen-mostrarprod img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.imagen-mostrarprod:hover .overlay {
    opacity: 1;
}

.product-info {
    margin-top: 10px;
}

.mostrarprod h2 {
    font-size: 16px;
    color: gray;
}

.short-description {
    font-size: 14px;
    color: #666;
}

/* Estilos responsivos */
@media (max-width: 1200px) {
    .mostrarprod-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .mostrarprod-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .mostrarprod-grid {
        grid-template-columns: 1fr;
    }
}
/*FIN DE TIENDA */
