/* Modern Products Page Styles */

.modern-filter-section {
    background: var(--modern-accent);
    border: 1px solid var(--modern-secondary);
    border-radius: 12px;
    padding: 1.5rem;
}

.modern-filter-title {
    color: var(--brand-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.modern-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.modern-product-item {
    background: var(--modern-accent);
    border: 1px solid var(--modern-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.modern-product-item:hover {
    transform: translateY(-8px);
    border-color: var(--brand-color);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
    color: inherit;
    text-decoration: none;
}

.modern-product-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.modern-out-of-stock {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.modern-pagination {
    background: var(--modern-accent);
    border-radius: 25px;
    padding: 0.5rem;
}

.modern-page-link {
    background: transparent;
    border: none;
    color: var(--modern-text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.modern-page-link:hover {
    background: var(--brand-color);
    color: white;
}

.modern-page-link.active {
    background: var(--brand-color);
    color: white;
}