* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.product-card {
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.old-price {
    text-decoration: line-through;
    color: #9ca3af;
}

.badge-sale {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 9999px;
}

.filter-sidebar {
    transition: transform 0.3s ease;
}
@media (max-width: 767px) {
    .filter-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        z-index: 100;
        transform: translateX(-100%);
        background: white;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    }
    .filter-sidebar.open {
        transform: translateX(0);
    }
    .filter-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.4);
        z-index: 99;
    }
    .filter-overlay.open {
        display: block;
    }
}

.price-range-track {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    outline: none;
}
.price-range-track::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: #00997B;
    border-radius: 50%;
    cursor: pointer;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.15s;
}
.pagination a:hover {
    background: #e8f5e9;
    color: #2e7d32;
}
.pagination .active {
    background: #4caf50;
    color: white;
}

.hero-gradient {
    background: linear-gradient(135deg, #e6f7f3 0%, #ccefe7 50%, #99dfcf 100%);
}

.hit-card {
    width: calc((100% - 1rem) / 2);
}
@media (min-width: 640px) {
    .hit-card {
        width: calc((100% - 2 * 1rem) / 3);
    }
}
@media (min-width: 768px) {
    .hit-card {
        width: calc((100% - 3 * 1rem) / 4);
    }
}
@media (min-width: 1024px) {
    .hit-card {
        width: calc((100% - 4 * 1rem) / 5);
    }
}