/**
 * ==================================================================
 * Project      : Shops
 * File         : css/categories.css
 * Author       : Erica Mae Yeban
 * Created Date : 2026-05-30
 *
 * Copyright (c) 2026 Chomp.
 * All Rights Reserved.
 *
 * NOTICE:
 * This source code contains proprietary information owned by
 * Chomp Organization. The contents of this file may not be copied,
 * modified, distributed, disclosed, or used without express
 * written authorization from the copyright holder.
 * ==================================================================
 */

.category-card {
    width: 100%;
    background-color: var(--bg-no-img);
    min-height: 170px;          /* keeps consistent size */
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all var(--transition-base);
}
.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
.category-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}
.category-card:hover img {
    transform: scale(1.1);
}
.category-card .overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 2rem 1.5rem 1.5rem;
    color: white;
}
.category-card .badge-count {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}
.filter-btn.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}
