.detalle-container {
    margin-top: 120px;
    max-width: 1000px;
}

.detalle-img {
    max-height: 450px;
    object-fit: contain;
}

/* Tarjeta con sombra suave */
.detalle-card {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-radius: 20px;
    border: none;
    background: #ffffff;
}


/* Miniaturas columna fija */
.miniaturas-columna {
    width: 90px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.miniatura-img {
    width: 75px;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.miniatura-img:hover {
    transform: scale(1.1);
    border-color: #ff9800;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.imagen-principal-container {
    overflow: hidden;
    border-radius: 20px;
}

.imagen-zoom {
    max-height: 420px;
    transition: transform 0.5s ease;
}

.imagen-zoom:hover {
    transform: scale(1.12);
}








/* 🔥 IMAGEN PRINCIPAL */
.imagen-principal {
    max-height: 400px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.imagen-principal:hover {
    transform: scale(1.05);
}

/* 🔥 MINIATURAS */
.miniatura-pro {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: 0.3s;
}

.miniatura-pro:hover {
    border-color: #198754;
    transform: scale(1.1);
}

/* 🔥 PRECIO */
.precio-pro {
    color: #198754;
    font-weight: bold;
    font-size: 2.2rem;
}

/* 🔥 STOCK */
.stock-pro {
    color: #198754;
    font-size: 1rem;
}

/* 🔥 ATRIBUTOS */
.atributos-pro {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.atributo-item {
    display: flex;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 8px;
}

.atributo-nombre {
    font-weight: 600;
    color: #555;
}

.atributo-valor {
    font-weight: 500;
    color: #000;
}

/* 🔥 BOTONES */
.btn-success {
    font-size: 1.1rem;
    border-radius: 10px;
}

.btn-warning {
    font-size: 1.1rem;
    border-radius: 10px;
}

/* 🔥 CARD */
.card {
    border-radius: 15px;
}













ul {
    padding-left: 18px;
}

ul li {
    margin-bottom: 6px;
    font-size: 14px;
}


/* Precio dominante */
.precio-dominante {
    font-size: 3rem;
    font-weight: 800;
    color: #198754;
    letter-spacing: 1px;
}

.text-success strong {
    font-size: 1.2rem;
}

/* Botón estilo ecommerce */
.boton-carrito {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 14px;
}

.btn-warning {
    background: linear-gradient(135deg, #ff9800, #ff6a00);
    border: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 14px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.4);
}

.btn-outline-warning {
    border-radius: 12px;
    font-weight: 600;
    padding: 12px;
    transition: all 0.3s ease;
}

.btn-outline-warning:hover {
    background: #ff9800;
    color: white;
    transform: translateY(-2px);
}

.detalle-card {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {

    .detalle-container {
        margin-top: 90px;
    }

    .precio-dominante {
        font-size: 2.2rem;
    }

    .miniaturas-columna {
        flex-direction: row;
        width: 100%;
        margin-bottom: 15px;
    }

    .miniatura-img {
        width: 60px;
    }

    .imagen-zoom {
        max-height: 300px;
    }
}