@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #2d3748;
}

/* Header & Controls */
.controls-bar {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    margin-bottom: 2rem;
}

/* Product Card */
.product-card {
    background: white;
    border: none;
    border-radius: 16px;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-img-wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    padding: 1rem;
    position: relative;
}

.product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100% - 200px);
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #718096;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #ecc94b;
}

.product-price {
    font-weight: 700;
    font-size: 1.5rem;
    color: #2d3748;
    margin-top: auto;
}

/* Loader */
.loader-container {
    display: none;
    justify-content: center;
    padding: 3rem;
}

.loader-container.active {
    display: flex;
}

/* Pagination */
.pagination {
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.page-link {
    border: none;
    border-radius: 8px !important;
    color: #4a5568;
    padding: 0.5rem 1rem;
    font-weight: 500;
    margin: 0 2px;
}

.page-link:hover {
    background-color: #e2e8f0;
    color: #2d3748;
}

.page-item.active .page-link {
    background-color: #2d3748;
    color: white;
}

.page-item.disabled .page-link {
    color: #cbd5e0;
    background: transparent;
}