/* Estilos personalizados - Tienda Virtual CR */

:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
}

/* Espaciado personalizado */
.min-vh-25 {
    min-height: 25vh !important;
}

/* Tarjetas de producto */
.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15) !important;
}

/* Tarjetas de categoría */
.category-card {
    transition: all 0.3s ease;
}

.category-card:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: scale(1.05);
}

.category-card:hover .text-primary {
    color: white !important;
}

/* Barra superior */
.top-bar {
    font-size: 0.85rem;
}

/* Hero section */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* Botones */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Badge del carrito */
.badge {
    font-size: 0.65rem;
}

/* Footer */
footer a:hover {
    color: white !important;
    text-decoration: underline !important;
}

/* Formularios */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .hero-section {
        padding: 2rem 0 !important;
    }
}
