body {
    background: url("configuracion/logo.jpg") no-repeat center center fixed;
    background-size: cover;
    color: #fff;
}

.logo {
    height: 50px;
}

.header-icons i {
    font-size: 1.5rem;
    margin-left: 15px;
    cursor: pointer;
    color: white;
}

footer {
    background: rgba(0, 0, 0, 0.7);
    color: #ddd;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
}

.navbar {
    background: rgba(0, 0, 0, 0.8);
}

.content {
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    margin-top: 20px;
}



body {
    font-family: sans-serif;
    background: #f5f5f5;
    margin: 0;
    padding: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card img {
    width: 100%;
    height: 250px;
    /* Altura fija para todas las imágenes */
    object-fit: cover;
    /* Para evitar que la imagen se deforme o estire */
    border-radius: 4px;
}

.card h4 {
    margin: 10px 0 4px;
}

.card p {
    font-size: 0.9em;
    color: #555;
}

.precio {
    font-size: 1.2em;
    color: #2b7a0b;
    margin: 8px 0;
}

.comprar {
    display: inline-block;
    padding: 8px 14px;
    background: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s;
}

.comprar:hover {
    background: #0056b3;
}

.img-fixed {
    width: 100%;
    /* ocupa el ancho de la tarjeta */
    height: 200px;
    /* alto fijo para todas las imágenes */
    object-fit: cover;
    /* recorta manteniendo proporción */
    border-radius: 10px;
}

.card-img-top {
    height: 300px;
    /* Altura fija para las imágenes */
    object-fit: cover;
    /* Para que las imágenes cubran el espacio sin distorsionarse */
}