/* Estilos para la página de producto */
.producto-detalle {
    padding-top: 100px;  /* Igual que el main-content */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 100px 5% 5rem;  /* Arriba, lados, abajo */
    max-width: 1200px;
    margin: 0 auto;
}

.galeria {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.imagen-principal {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.imagen-principal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.miniaturas {
    display: flex;
    gap: 1rem;
}

.miniaturas img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: border 0.3s;
}

.miniaturas img:hover {
    border: 1px solid #2A5CAA;
}

.detalles h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.descripcion {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
}

.variantes {
    margin-bottom: 2rem;
}

.variante {
    margin-bottom: 1.5rem;
}

.variante label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.opciones {
    display: flex;
    gap: 0.5rem;
}

.opcion {
    padding: 0.5rem 1rem;
    background: #f5f5f5;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.opcion.active, .opcion:hover {
    background: #2A5CAA;
    color: white;
    border-color: #2A5CAA;
}

.especificaciones {
    margin-bottom: 2rem;
}

.especificaciones h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.especificaciones ul {
    list-style: none;
}

.especificaciones li {
    margin-bottom: 0.5rem;
    color: #555;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #2A5CAA;
    color: white;
    text-decoration: none;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.3s;
}

.cta-button:hover {
    background: #0A2E6D;
}

/* Responsive */
@media (max-width: 768px) {
    .producto-detalle {
        grid-template-columns: 1fr;
        padding: 2rem;
    }

    .imagen-principal {
        height: 300px;
    }
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
