/* Estilos generales */
.producto-detalle {
    width: 80%;
    display: flex;
    justify-content: space-between;
    padding: 2rem;
    margin: 0 auto;
    margin-top: 150px;
}

.producto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.producto-imagenes {
    display: flex;
    flex-direction: column;
}

.imagen-principal img {
    width: 100%;
    height: auto;
}

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

.miniaturas img {
    width: 120px;
    cursor: pointer;
}

.miniaturas img:hover {
    opacity: 0.8;
}

.producto-informacion {
    display: flex;
    flex-direction: column;
}

.producto-titulo {
    font-size: 2rem;
    font-weight: bold;
    text-align: left;
    padding: 15px 0;
}

.producto-precio {
    font-size: 1.5rem;
    color: var(--gold);
}

.producto-descripcion {
    margin: 1rem 0;
}

.producto-opciones {
    display: flex;
    gap: 2rem;
    margin: 10px 0;
}

.producto-talla select, .producto-color select {
    padding: 0.5rem;
}

.boton-carrito {
    background-color: var(--primary);
    color: var(--luz);
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: background-color 0.3s;
    border-radius: 0px 25px 25px 25px;
}

.boton-carrito:hover {
    background-color: var(--gold);
}

.price-wrapper2 {
    display: flex;
    margin: 10px 0;
}
.installments2 {
    font-size: 0.875rem !important;
    color: var(--primary);
    padding: 10px 0;
}

.card-brand2 {
    font-size: 14px !important;
    color: var(--primary); 
    margin: 5px 0;
    text-transform: uppercase;
    font-weight: 500;
}
.boton-favoritos {
    background-color: var(--gold);
    color: var(--luz);
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 1.5rem;
    transition: background-color 0.3s;
    border-radius: 0px 25px 25px 25px;
}

.boton-favoritos:hover {
    background-color: var(--secondary);
}


/* Media Queries para pantallas móviles (menos de 768px) */
@media (max-width: 768px) {
    .producto-detalle {
        width: 95%;
        padding: 1rem;
        margin-top: 120px;
    }

    .producto-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .producto-imagenes {
        order: 1;
    }

    .producto-informacion {
        order: 2;
    }

    .producto-titulo {
        font-size: 1.5rem;
    }

    .producto-precio {
        font-size: 1.2rem;
    }

    .producto-opciones {
        flex-direction: column;
        gap: 1rem;
    }

    .producto-talla select, .producto-color select {
        padding: 0.75rem;
        width: 100%;
    }

    .boton-carrito {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem;
        margin-top: 1rem;
    }

    .miniaturas img {
        width: 80px;
    }

    .installments2 {
        font-size: 0.8rem;
    }
}

/* Media Queries para pantallas muy pequeñas (menos de 480px) */
@media (max-width: 480px) {
    .producto-detalle {
        width: 100%;
        padding: 1rem;
        margin-top: 90px;
    }

    .producto-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .producto-imagenes {
        order: 1;
    }

    .producto-informacion {
        order: 2;
    }

    .producto-titulo {
        font-size: 1.25rem;
    }

    .producto-precio {
        font-size: 1rem;
    }

    .producto-descripcion {
        font-size: 0.875rem;
    }

    .producto-opciones {
        flex-direction: column;
        gap: 1rem;
    }

    .producto-talla select, .producto-color select {
        padding: 0.5rem;
        width: 100%;
    }

    .boton-carrito {
        width: 100%;
        font-size: 0.875rem;
        padding: 0.75rem;
        margin-top: 1rem;
    }

    .miniaturas img {
        width: 60px;
    }

    .installments2 {
        font-size: 0.75rem;
    }
}

