/**
 * Catalog Overview Styles
 * Products overview page (/producten/ landing), category cards, CTA
 */

/* ============================================================================
   PRODUCTS OVERVIEW PAGE (for /producten/ landing)
   ============================================================================ */

.products-overview-page {
    padding: 40px 0 80px;
    min-height: 100vh;
    background-color: var(--bg-primary);
}

.products-overview-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-header {
    text-align: center;
    margin-bottom: 48px;
}

.page-header__title {
    font-size: clamp(1.75rem, 4vw + 0.5rem, 2.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.page-header__subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================================================
   CATEGORIES GRID
   ============================================================================ */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.category-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

/* Visual container for icon or thumbnail */
.category-card__visual {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    position: relative;
}

.category-card__thumbnail {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    background-color: var(--bg-tertiary);
    padding: 4px;
}

.category-card__icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    border-radius: 12px;
    transition: background-color 0.2s;
}

.category-card__icon--fallback {
    position: absolute;
    top: 0;
    left: 0;
}

.category-card__icon svg {
    width: 36px;
    height: 36px;
    color: #000;
}

.category-card__info {
    flex: 1;
}

.category-card__title {
    font-size: clamp(1rem, 2vw + 0.25rem, 1.25rem);
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 4px;
    transition: color 0.2s;
}

.category-card:hover .category-card__title {
    color: var(--accent);
}

.category-card__description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0 0 8px;
    line-height: 1.4;
}

.category-card__count {
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 600;
}

.category-card__arrow {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: all 0.2s;
}

.category-card:hover .category-card__arrow {
    transform: translateX(4px);
    color: var(--accent);
}

/* ============================================================================
   CTA SECTION
   ============================================================================ */

.products-cta {
    text-align: center;
    padding: 48px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.products-cta h2 {
    font-size: clamp(1.25rem, 3vw + 0.25rem, 1.75rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 12px;
}

.products-cta p {
    color: var(--text-secondary);
    margin: 0 0 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.products-cta .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background-color: var(--accent);
    color: #000;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.products-cta .btn-primary:hover {
    background-color: var(--accent-hover);
}

/* ============================================================================
   LARGE CATEGORY CARDS (for main products overview /producten/)
   ============================================================================ */

.categories-grid--large {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.category-card--large {
    padding: 2rem;
}

.category-card__icon--large {
    width: 64px;
    height: 64px;
}

.category-card__icon--large svg {
    width: 40px;
    height: 40px;
}

/* ============================================================================
   QUICK LINKS SECTIONS
   ============================================================================ */

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.quick-links-section__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.quick-links-section__links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.quick-link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.15s ease;
}

.quick-link:hover {
    color: var(--accent);
}

/* ============================================================================
   LOADING INDICATOR
   ============================================================================ */

.loading-dots {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}
