/* Estilos adicionales para el detalle del producto */

/* Controles de cantidad modernizados */
.c_detalle_producto .input-group .btn {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 600;
    transition: all 0.2s ease;
    background: #f9fafb;
    color: #374151;
}

.c_detalle_producto .input-group .btn:hover {
    background: #1F2937;
    color: #fff;
    border-color: #1F2937;
}

.c_detalle_producto .input-group .form-control {
    border: 1px solid #d1d5db;
    text-align: center;
    font-weight: 600;
    color: #374151;
    background: #fff;
    border-radius: 0;
}

.c_detalle_producto .input-group .form-control:focus {
    border-color: #1F2937;
    box-shadow: 0 0 0 0.2rem rgba(31, 41, 55, 0.1);
}

/* Mejoras en la imagen del producto */
.c_detalle_producto .c_img_p {
    display: flex;
    flex-direction: column;
}

.c_detalle_producto .c_img_p .c_img_principal {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.c_detalle_producto .c_img_p .c_img_principal img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.c_detalle_producto .c_img_p .c_img_principal img:hover {
    transform: scale(1.05);
}

/* Títulos con iconos en SKU y categorías */
.c_detalle_producto .c_info2 .c_sku .titulo {
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 4px;
}

.c_detalle_producto .c_info2 .c_categorias .titulo {
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

/* Mejoras responsive */
@media (max-width: 768px) {
    .c_detalle_producto .c_img_p,
    .c_detalle_producto .c_info2 {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin-bottom: 20px;
    }
    
    .c_detalle_producto .c_info2 {
        padding: 20px !important;
    }
    
    .c_detalle_producto .c_info2 .c_titulo {
        font-size: 24px;
    }
    
    .c_detalle_producto .c_info2 .c_valores .texto_valor {
        font-size: 28px;
    }
    
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .nav-tabs .nav-link {
        font-size: 14px;
        padding: 12px 16px;
    }
}

/* Animaciones suaves para elementos interactivos */
.c_detalle_producto .c_info2 .c_valores,
.c_detalle_producto .c_info2 .c_valores_credito,
.c_detalle_producto .c_info2 .c_stock,
.c_detalle_producto .c_info2 .c_btn_add_carro {
    animation: fadeInUp 0.6s ease forwards;
}

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



/* Iconos para mejorar la experiencia visual */
/*
.c_detalle_producto .c_info2 .c_valores .texto_leyenda_pago::before {
    content: "💳";
    margin-right: 6px;
}

.c_detalle_producto .c_info2 .c_valores_credito .texto_leyenda_pago::before {
    content: "💰";
    margin-right: 6px;
}

.c_detalle_producto .c_info2 .c_stock .texto_titulo::before {
    content: "📦";
    margin-right: 6px;
}

.c_detalle_producto .c_info2 .c_sku .titulo::before {
    content: "🏷️";
    margin-right: 4px;
}

.c_detalle_producto .c_info2 .c_categorias .titulo::before {
    content: "📂";
    margin-right: 4px;
}*/