.productos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
}

.producto {
    background-color: #fff;
    border-radius: 10px;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s;
}

.producto:hover {
    transform: translateY(-5px);
}

.imagen-container {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.imagen-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-titulo {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255,255,255,0.8);
    color: #000;
    padding: 10px;
    text-align: center;
    font-weight: bold;
}

.producto-info {
    padding: 15px;
    text-align: center;
}

.producto-info p {
    margin: 10px 0;
    font-size: 14px;
    color: #444;
}

.btn-detalle {
    background-color: #007BFF;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-detalle:hover {
    background-color: #0056b3;
}
/* Estilos para las cards de combos (igual que las de cursos) */
.productos-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px 0;
}

.producto {
    background-color: #fff;
    border-radius: 10px;
    width: 280px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.producto:hover {
    transform: translateY(-5px);
}

.imagen-container {
    position: relative;
    height: 160px;
    overflow: hidden;
}

.imagen-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay-titulo {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(255,255,255,0.8);
    color: #000;
    padding: 8px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

.producto-info {
    padding: 15px;
    text-align: center;
}

.producto-info p {
    margin: 8px 0;
    font-size: 14px;
    color: #444;
}

.btn-detalle {
    background-color: #007BFF;
    color: white;
    padding: 8px 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.btn-detalle:hover {
    background-color: #0056b3;
}

@media (max-width: 768px) {
    .producto {
        width: 100%;
    }
    .overlay-titulo {
        font-size: 14px;
        padding: 6px;
    }
}
