﻿/* Agrega esto en tu archivo CSS global o en un componente de estilo */
:root {
    --primary-color: #2a2a72;
    --secondary-color: #009ffd;
    --accent-color: #ff7f50;
    --light-bg: #f8f9fa;
    --dark-text: #2c3e50;
}

.catalog-container {
    padding: 2rem 0;
}

.filter-section {
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.product-card {
    transition: all 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    background-color: white;
}

    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

.card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.05);
}

.card-title {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.card-text {
    color: var(--dark-text);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.price-tag {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.btn-custom {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-custom:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 15px rgba(42, 42, 114, 0.3);
    }

.no-products {
    text-align: center;
    padding: 4rem;
    color: var(--dark-text);
}

.loading-text {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-img-top {
        height: 200px;
    }

    .filter-section .col-md-4 {
        margin-bottom: 1rem;
    }
}
