.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
}

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

.product-card img {
    height: 200px;
    object-fit: contain;
    background-color: #f8f9fa;
}

.product-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.add-to-cart {
    transition: all 0.2s;
}

.add-to-cart:hover {
    transform: scale(1.02);
}

.add-to-cart:active {
    transform: scale(0.98);
}

#categoryFilters .btn.active {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: white;
}

.cart-qty-badge {
    font-size: 0.8rem;
    font-weight: bold;
    background-color: #dc3545 !important;
    color: white !important;
    padding: 0.3rem 0.5rem;
    border-radius: 50%;
    min-width: 24px;
    height: 24px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}


.add-to-cart {
    transition: all 0.2s;
}

.add-to-cart:hover {
    transform: scale(1.02);
}

.add-to-cart:active {
    transform: scale(0.98);
}

.cart-item {
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.qty-input {
    width: 60px;
    text-align: center;
}

.remove-btn {
    color: #dc3545;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.remove-btn:hover {
    transform: scale(1.2);
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#productGrid {
    flex: 1;
}
