/* Inter lokaal (latin) — geen Google Fonts-request */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/inter/inter-latin-400-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/assets/fonts/inter/inter-latin-500-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/inter/inter-latin-600-normal.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/inter/inter-latin-700-normal.woff2') format('woff2');
}

:root {
    --color-primary: #0284c7;        /* Oceaanblauw */
    --color-primary-hover: #0369a1;
    --color-cta: #f97316;            /* Zonsondergang Oranje (conversie) */
    --color-cta-hover: #ea580c;
    --color-price: #059669;          /* Voordeelgroen */
    --color-dark: #0f172a;           /* Titels, header topbar */
    --color-text-main: #334155;      /* Lopende tekst */
    --color-text-muted: #64748b;     /* Subtiele labels & kruimelpad */
    --color-bg-page: #f8fafc;        /* Zachte pagina-achtergrond */
    --color-bg-card: #ffffff;        /* Wit voor kaarten/containers */
    --color-border: #e2e8f0;         /* Subtiele lijnen */
}

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

body.site-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-text-main);
    background-color: var(--color-bg-page);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-main {
    flex-grow: 1;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-topbar {
    background: var(--color-dark);
    color: #cbd5e1;
    font-size: 0.8rem;
    padding: 6px 0;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-usps {
    display: flex;
    gap: 20px;
}

.topbar-links a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 14px;
    transition: color 0.15s ease;
}

.topbar-links a:hover {
    color: #ffffff;
}

.header-main {
    border-bottom: 1px solid var(--color-border);
}

.main-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 82px;
}

.brand-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo-img {
    height: 64px;
    width: auto;
    display: block;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-link {
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.nav-link:hover {
    color: var(--color-primary);
    background-color: #f1f5f9;
}

.nav-btn-search {
    background-color: #f1f5f9;
    color: var(--color-dark);
    font-weight: 600;
}

.nav-btn-search:hover {
    background-color: #e2e8f0;
}

/* Mobiele header-acties (zoek + hamburger, zichtbaar ≤768px) */
.header-actions {
    display: none;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.header-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--color-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.header-search-btn:hover,
.header-search-btn:focus-visible {
    background-color: #f1f5f9;
    color: var(--color-primary);
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--color-dark);
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: '';
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before {
    top: -6px;
}

.nav-toggle__bars::after {
    top: 6px;
}

.nav-toggle.is-open .nav-toggle__bars {
    background: transparent;
}

.nav-toggle.is-open .nav-toggle__bars::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.is-open .nav-toggle__bars::after {
    top: 0;
    transform: rotate(-45deg);
}

.mobile-nav {
    display: none;
    border-bottom: 1px solid var(--color-border);
    background: #ffffff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}

.mobile-nav:not([hidden]) {
    display: block;
}

.mobile-nav__inner {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0 16px;
}

.mobile-nav__link {
    display: block;
    padding: 12px 4px;
    color: var(--color-text-main);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 6px;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
    color: var(--color-primary);
    background-color: #f1f5f9;
}

.mobile-nav__link--search {
    background-color: #f1f5f9;
    font-weight: 600;
    padding-left: 12px;
    padding-right: 12px;
}

.mobile-nav__meta {
    display: flex;
    gap: 16px;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--color-border);
}

.mobile-nav__meta a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}

.mobile-nav__meta a:hover {
    color: var(--color-primary);
}

/* Footer */
.site-footer {
    background: var(--color-dark);
    color: #94a3b8;
    margin-top: 60px;
    padding-top: 48px;
    font-size: 0.9rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid #1e293b;
}

.footer-title {
    color: #f8fafc;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-text {
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-social-links {
    margin-top: 12px;
    font-size: 0.85rem;
}

.footer-social-links a {
    color: #38bdf8;
    text-decoration: none;
}

.footer-social-links a:hover {
    text-decoration: underline;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-partner-box {
    margin-top: 10px;
}

.partner-link {
    display: block;
    background: #1e293b;
    border: 1px solid #334155;
    padding: 12px;
    border-radius: 8px;
    color: #f8fafc;
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.partner-link:hover {
    border-color: #38bdf8;
}

.partner-link__head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.partner-link__logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.partner-link strong {
    display: block;
    color: #38bdf8;
    font-size: 0.9rem;
}

.partner-link > span:not(.partner-link__head) {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 4px;
}

.footer-bottom {
    padding: 20px 0;
    font-size: 0.8rem;
    color: #64748b;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .topbar-usps { display: none; }
}

@media (max-width: 768px) {
    .header-topbar { display: none; }
    .main-nav { display: none; }
    .header-actions { display: inline-flex; }
    .nav-toggle { display: inline-flex; }
    .brand-logo-img { height: 44px; }
    .main-header-content { height: 56px; }
    .view-switcher { display: none !important; }
    .results-container.view-mode-grid,
    .search-results-main .results-container.view-mode-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}
/* ==========================================================================
   HOMEPAGE STYLING
   ========================================================================== */
.homepage-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1rem 3.5rem;
}

/* Hero Section */
.home-hero {
    background: linear-gradient(135deg, #0b2545 0%, #134074 100%);
    border-radius: 20px;
    padding: 3.5rem 2rem;
    margin: 1.5rem 0 2rem;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(11, 37, 69, 0.2);
}

.home-hero-title {
    font-size: 2.35rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.home-hero-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
}

/* Zoekbalk Hero */
.home-search-container {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.home-search-form {
    display: flex;
    gap: 0.5rem;
    background: #ffffff;
    padding: 0.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.home-search-input-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    padding-left: 1rem;
}

.home-search-input-wrap .search-icon {
    stroke: #64748b;
    margin-right: 0.6rem;
    flex-shrink: 0;
}

.home-search-input-wrap input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1.05rem;
    color: #1e293b;
    background: transparent;
}

.home-search-btn {
    background: #ff7700;
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    padding: 0.85rem 2.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}

.home-search-btn:hover {
    background: #e66a00;
    transform: translateY(-1px);
}

/* Quick tags */
.home-quick-tags {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.quick-tag-label {
    color: #94a3b8;
    font-weight: 500;
}

.quick-tag {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.3rem 0.85rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
}

.quick-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

/* USP Balk */
.home-usps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem 2rem;
    margin-bottom: 3.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.usp-icon {
    font-size: 1.3rem;
    width: 42px;
    height: 42px;
    background: #e0f2fe;
    color: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.usp-item strong {
    display: block;
    color: #0f172a;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.usp-item span {
    font-size: 0.82rem;
    color: #64748b;
}

/* Secties & Deals */
.home-section {
    margin-bottom: 4rem;
}

.home-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}

.home-section-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
}

.home-section-subtitle {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
}

.home-section-link {
    color: #0284c7;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.home-section-link:hover {
    text-decoration: underline;
}

/* Deal Cards Grid */
.homepage-wrapper .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1.5rem;
}

.home-deal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-deal-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.09);
}

.card-img-link {
    position: relative;
    display: block;
    height: 190px;
    background: #e2e8f0;
    overflow: hidden;
}

.card-img-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-deal-card:hover .card-img-link img {
    transform: scale(1.04);
}

.card-activity-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #0e7490;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 1;
}

.card-stars-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(15, 23, 42, 0.85);
    color: #f59e0b;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.card-body {
    padding: 1.15rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-provider-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #0369a1;
    background: #e0f2fe;
    padding: 3px 10px;
    border-radius: 12px;
    text-decoration: none;
    margin-bottom: 0;
    transition: background 0.15s;
    line-height: 1.2;
}

.card-provider-pill:hover {
    background: #bae6fd;
}

.card-provider-logo {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    display: inline-block;
    border-radius: 2px;
}

.card-body-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.4rem 0;
}

.card-title a {
    color: #0f172a;
    text-decoration: none;
}

.card-title a:hover {
    color: #0284c7;
}

.card-location {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.card-location svg,
.card-location-icon {
    vertical-align: -1px;
    margin-right: 2px;
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
}

.card-price-box {
    display: flex;
    flex-direction: column;
}

.card-price-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
}

.card-price-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
}

.card-btn {
    background: #0284c7;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}

.card-btn:hover {
    background: #0369a1;
    transform: translateY(-1px);
}

/* Bestemmingen Chips Grid */
.destination-chips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.25rem;
}

.destination-chips-grid--cities {
    grid-template-columns: repeat(4, 1fr);
}

.destination-chip {
    display: flex;
    flex-direction: column;
    padding: 1.15rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
    overflow: hidden;
}

.destination-chip:hover {
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(2, 132, 199, 0.12);
}

.destination-chip-header {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.destination-flag {
    width: 28px;
    height: 21px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.destination-chip--city {
    padding: 0;
}

.destination-chip__media {
    height: 130px;
    background: #f1f5f9;
}

.destination-chip__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.destination-chip__body {
    padding: 0.85rem 1rem 1rem;
    display: flex;
    flex-direction: column;
}

.destination-name {
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
}

.destination-badge {
    color: #64748b;
    font-size: 0.82rem;
    margin-top: 0.35rem;
}

@media (max-width: 992px) {
    .destination-chips-grid--cities {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .destination-chips-grid--cities {
        grid-template-columns: 1fr;
    }
}

/* Providers Logo Strip */
.home-providers-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.home-provider-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.4rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.home-provider-card:hover {
    border-color: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.home-prov-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.home-prov-name {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

/* Vertrekdatum badge op deal card */
.card-departure-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(220, 38, 38, 0.92);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    letter-spacing: 0.3px;
}

/* Autocomplete Suggest Dropdown */
.home-search-container {
    position: relative;
}

.suggest-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    z-index: 1000;
    display: none;
    max-height: 380px;
    overflow-y: auto;
}

.suggest-item {
    display: block;
}

.suggest-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 10px 18px;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.95rem;
    transition: background-color 0.15s ease;
}

.suggest-item:hover .suggest-link,
.suggest-item.is-active .suggest-link {
    background-color: #f1f5f9;
    color: #0284c7;
}

.suggest-icon {
    font-size: 0.85rem;
    opacity: 0.6;
}

.suggest-text strong {
    color: #0284c7;
    font-weight: 700;
}

.suggest-type-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    background: #e2e8f0;
    color: #475569;
    padding: 2px 7px;
    border-radius: 4px;
}

/* Autocomplete Groepheaders & Categorie?n */
.suggest-group-header {
    padding: 6px 16px 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    user-select: none;
}

.suggest-group-header:first-child {
    border-top: none;
}

.suggest-item {
    list-style: none;
}

.suggest-item.is-active .suggest-link {
    background-color: #f0f9ff;
    color: #0284c7;
}

.suggest-item.is-active .suggest-link strong {
    color: #0369a1;
}

/* ==========================================================================
   Zoekresultaten & Sidebar Layout
   ========================================================================== */
.search-page-wrapper {
    max-width: 1240px;
    margin: 1.5rem auto 3rem;
    padding: 0 1rem;
}

.search-top-bar {
    position: relative;
    margin-bottom: 2rem;
}

.search-inline-form {
    display: flex;
    gap: 0.75rem;
    background: #ffffff;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.search-input-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    padding: 0.4rem 0.8rem;
}

.search-input-box input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #1e293b;
    background: transparent;
}

.search-submit-btn {
    background: #0284c7;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.search-submit-btn:hover {
    background: #0369a1;
}

/* 2-Koloms Layout: Sidebar (280px) + Resultaten */
.search-layout {
    display: grid;
    grid-template-columns: 270px 1fr;
    gap: 2rem;
    align-items: start;
}

.search-results-main {
    width: 100%;
    min-width: 0;
}

@media (max-width: 900px) {
    .search-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Sidebar & Facetten */
.search-sidebar {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.75rem;
    margin-bottom: 1.25rem;
    gap: 0.75rem;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #0f172a;
}

.clear-filters-link {
    font-size: 0.8rem;
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
}

.clear-filters-link:hover {
    text-decoration: underline;
}

.clear-filters-link--disabled {
    color: #cbd5e1;
    font-weight: 500;
    cursor: default;
}

/* Desktop: close + footer alleen op mobiel */
.filter-panel-close,
.filter-panel-footer {
    display: none;
}

.filter-panel-body {
    display: block;
}

/* Mobiel filter-toggle (zichtbaar ≤900px) */
.filter-toggle {
    display: none;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.filter-toggle__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #0284c7;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
}

.filter-backdrop {
    display: none;
}

.facet-group {
    margin-bottom: 1.5rem;
}

.facet-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin: 0 0 0.6rem 0;
}

.facet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.facet-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    color: #334155;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s ease, color 0.15s ease;
}

.facet-link:hover {
    background: #f1f5f9;
    color: #0284c7;
}

.facet-count {
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
}

/* Resultaten header */
.search-results-header {
    margin-bottom: 1.25rem;
}

.results-count-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #334155;
    margin: 0;
}

.results-count-title strong {
    color: #0f172a;
    font-weight: 700;
}

.term-highlight {
    color: #0284c7;
}

/* Zoekresultaten Grid */
.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.search-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.card-img-placeholder {
    width: 100%;
    height: 180px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* Broken offer photo → provider logo (contain, not cover-crop) */
.card-img.is-provider-logo,
.card-img-link img.is-provider-logo,
.similar-card-img.is-provider-logo,
.destination-holiday-card__img.is-provider-logo,
.activity-teaser-card__img.is-provider-logo,
.destination-holiday-card__media img.is-provider-logo,
.activity-teaser-card__media img.is-provider-logo,
.similar-card-media img.is-provider-logo {
    object-fit: contain;
    object-position: center;
    background: #f1f5f9;
    padding: 1.25rem;
}

.results-container.view-mode-grid .result-card:hover .card-img.is-provider-logo {
    transform: none;
}

/* Paginering */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.page-link {
    padding: 0.5rem 1rem;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.15s ease;
}

.page-link:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #0284c7;
}

.page-current {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Geen resultaten state */
.no-results-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    border: 1px dashed #cbd5e1;
}

.no-results-box h3 {
    margin: 0 0 0.5rem 0;
    color: #0f172a;
}

.no-results-box p {
    color: #64748b;
    margin: 0;
}

.no-results-box .card-btn {
    display: inline-block;
    margin-top: 1rem;
}

/* Sorteerbalk en Filter Chips */
.search-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.search-sort-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-sort-box label {
    font-size: 0.88rem;
    font-weight: 600;
    color: #475569;
}

.search-sort-select {
    padding: 0.45rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #ffffff;
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.search-sort-select:focus {
    border-color: #0284c7;
}

/* Filter Tags / Chips */
.active-filter-chips {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

.active-filter-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
    padding: 3px 9px;
    border-radius: 20px;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.filter-chip:hover {
    background: #bae6fd;
    color: #0c4a6e;
}

.chip-remove {
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1;
    margin-left: 2px;
}

.clear-all-link {
    font-size: 0.8rem;
    color: #ef4444;
    text-decoration: underline;
    margin-left: 0.5rem;
}

/* Facet Checkbox Styling */
.facet-checkbox {
    width: 16px;
    height: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: transparent;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.facet-item.is-selected .facet-link {
    background: #f0f9ff;
    color: #0284c7;
    font-weight: 600;
}

.facet-item.is-selected .facet-checkbox.checked {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

.facet-remove-icon {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ef4444;
    margin-left: auto;
}

/* Strakke links-uitgelijnde Sidebar layout */
.search-sidebar {
    text-align: left;
    box-sizing: border-box;
}

@media (min-width: 901px) {
    .search-sidebar {
        width: 270px;
    }
}

.facet-group {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 1.1rem;
    margin-bottom: 1.1rem;
    text-align: left;
}

.facet-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.facet-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.6rem 0;
    text-align: left;
}

.facet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.facet-item {
    margin-bottom: 2px;
}

.facet-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.35rem 0.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.88rem;
    color: #334155;
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
}

.facet-link:hover {
    background: #f1f5f9;
    color: #0284c7;
}

.facet-checkbox {
    width: 15px;
    height: 15px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    margin-right: 0.65rem;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.facet-name {
    flex-grow: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-right: 0.5rem;
}

.facet-count {
    font-size: 0.75rem;
    color: #94a3b8;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 500;
    flex-shrink: 0;
    margin-left: auto;
}

.facet-item.is-selected .facet-link {
    background: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
}

.facet-item.is-selected .facet-checkbox {
    background: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

.facet-remove-icon {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ef4444;
    margin-left: auto;
    line-height: 1;
}

/* Forceer consistente links-uitlijning en strakke checkboxes */
.search-sidebar .facet-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    margin: 0;
}

.search-sidebar .facet-link {
    display: grid;
    grid-template-columns: 18px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 5px 8px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    color: #1e293b;
    transition: background-color 0.15s ease;
}

.search-sidebar .facet-link:hover {
    background-color: #f1f5f9;
}

.search-sidebar .facet-checkbox {
    width: 16px;
    height: 16px;
    border: 1.5px solid #94a3b8;
    border-radius: 4px;
    background-color: #ffffff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.search-sidebar .facet-name {
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    color: #334155;
}

.search-sidebar .facet-count {
    font-size: 0.75rem;
    color: #64748b;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 2px 7px;
    border-radius: 12px;
    font-weight: 600;
    justify-self: end;
}

.search-sidebar .facet-item.is-selected .facet-link {
    background-color: #e0f2fe;
}

.search-sidebar .facet-item.is-selected .facet-checkbox {
    background-color: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
}

.search-sidebar .facet-item.is-selected .facet-name {
    font-weight: 600;
    color: #0369a1;
}

/* View switcher rechtsboven */
.search-controls-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.view-switcher {
    display: inline-flex;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    background: #ffffff;
}

.view-btn {
    border: none;
    background: transparent;
    padding: 0.45rem 0.65rem;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.view-btn:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}

.view-btn.active {
    background-color: #0284c7;
    color: #ffffff;
}

/* ==========================================================================
   Verbeterde Lijst / Rij Weergave Zoekpagina
   ========================================================================== */
.view-mode-list .result-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    min-height: 210px;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.view-mode-list .result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.view-mode-list .card-img-link {
    flex: 0 0 290px;
    width: 290px;
    min-height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
}

.view-mode-list .card-img-link img,
.view-mode-list .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.view-mode-list .card-content-wrap {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
}

.view-mode-list .card-body {
    flex: 1 1 auto;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.5rem;
}

.view-mode-list .card-body-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.5rem;
}

.view-mode-list .card-provider-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.view-mode-list .card-provider-logo {
    width: 18px;
    height: 18px;
}

.view-mode-list .card-location {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    white-space: normal;
}

.view-mode-list .card-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.view-mode-list .card-title a {
    color: #0f172a;
    text-decoration: none;
}

.view-mode-list .card-title a:hover {
    color: #0284c7;
}

/* Specificatie badges */
.view-mode-list .card-specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0.25rem 0;
}

.view-mode-list .spec-item,
.view-mode-list .spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
}

.view-mode-list .spec-item svg,
.view-mode-list .spec-badge svg {
    color: #0284c7;
    flex-shrink: 0;
}

.view-mode-list .spec-badge-board {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.view-mode-list .spec-badge-board svg {
    color: #059669;
}

.view-mode-list .card-snippet {
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.5;
    margin-top: auto;
    margin-bottom: 0;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Actie / Prijs kolom */
.view-mode-list .card-action-box {
    flex: 0 0 220px;
    width: 220px;
    align-self: stretch;
    background: #f8fafc;
    border-left: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 1.25rem;
    margin: 0;
    text-align: center;
}

.view-mode-list .card-price-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 0.25rem;
}

.view-mode-list .card-price-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.view-mode-list .card-price-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin: 2px 0;
}

.view-mode-list .card-price-sub {
    font-size: 0.78rem;
    color: #64748b;
}

.view-mode-list .card-price-usp {
    font-size: 0.78rem;
    color: #059669;
    font-weight: 600;
    margin-bottom: 0.9rem;
}

.view-mode-list .card-btn {
    width: 100%;
    padding: 11px 16px;
    background: #f97316;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.25);
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.view-mode-list .card-btn:hover {
    background: #ea580c;
    color: #ffffff;
    transform: translateY(-1px);
}

/* Rating badge stijl */
.view-mode-list .spec-badge-rating {
    background: #fefce8;
    border-color: #fef08a;
    color: #854d0e;
    font-weight: 600;
}

.view-mode-list .spec-badge-rating svg {
    color: #eab308;
}

@media (max-width: 768px) {
    .view-mode-list .result-card {
        flex-direction: column;
    }
    .view-mode-list .card-img-link {
        flex: none;
        width: 100%;
        max-width: 100%;
        min-height: 0;
        height: 200px;
    }

    .view-mode-list .card-img-link img,
    .view-mode-list .card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .view-mode-list .card-content-wrap {
        flex-direction: column;
    }
    .view-mode-list .card-action-box {
        flex: none;
        width: 100%;
        max-width: 100%;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.75rem;
        padding: 1rem 1.25rem;
    }
    .view-mode-list .card-price-box {
        align-items: flex-start;
        margin-bottom: 0;
        min-width: 0;
        width: 100%;
    }
    .view-mode-list .card-price-val {
        font-size: 1.5rem;
        overflow-wrap: anywhere;
    }
    .view-mode-list .card-price-usp {
        display: none;
    }
    .view-mode-list .card-btn {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 11px 16px;
    }
}

/* ==========================================================================
   Grid Weergave (.view-mode-grid) Optimalisaties
   ========================================================================== */

/* Zorg voor gelijke kaarthoogtes en strakke opbouw */
.results-container.view-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.search-results-main .results-container.view-mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 640px) {
    .results-container.view-mode-grid,
    .search-results-main .results-container.view-mode-grid {
        grid-template-columns: 1fr;
    }
}

.results-container.view-mode-grid .result-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.results-container.view-mode-grid .result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.results-container.view-mode-grid .card-img-link {
    height: 190px;
    min-height: 190px;
    width: 100%;
    position: relative;
    display: block;
    overflow: hidden;
}

.results-container.view-mode-grid .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.results-container.view-mode-grid .result-card:hover .card-img {
    transform: scale(1.04);
}

.results-container.view-mode-grid .card-content-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1.1rem 1.1rem 1.25rem 1.1rem;
}

.results-container.view-mode-grid .card-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0.4rem;
}

.results-container.view-mode-grid .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.results-container.view-mode-grid .card-title a {
    color: #0f172a;
    text-decoration: none;
}

.results-container.view-mode-grid .card-title a:hover {
    color: #0284c7;
}

/* Specs WEL tonen in grid als compacte badges */
.results-container.view-mode-grid .card-specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0.5rem 0;
}

.results-container.view-mode-grid .spec-item,
.results-container.view-mode-grid .spec-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.74rem;
    font-weight: 500;
    padding: 3px 7px;
    border-radius: 5px;
}

.results-container.view-mode-grid .spec-item svg,
.results-container.view-mode-grid .spec-badge svg {
    width: 12px;
    height: 12px;
    color: #0284c7;
}

/* Alleen de lange tekst-snippet verbergen in Grid */
.results-container.view-mode-grid .card-snippet {
    display: none;
}

/* Footer / Actiebox in grid: nette verdeling links prijs, rechts knop */
.results-container.view-mode-grid .card-action-box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 0.85rem;
    padding-bottom: 0.25rem;
    border-top: 1px solid #f1f5f9;
    background: transparent;
    border-left: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
}

.results-container.view-mode-grid .card-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1 1 auto;
    min-width: 0;
}

.results-container.view-mode-grid .card-price-label {
    font-size: 0.68rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    line-height: 1;
}

.results-container.view-mode-grid .card-price-val {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
    margin: 1px 0;
    white-space: nowrap;
}

.results-container.view-mode-grid .card-price-sub {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1;
    margin-top: 2px;
}

.results-container.view-mode-grid .card-price-usp {
    display: block;
    font-size: 0.68rem;
    color: #059669;
    font-weight: 600;
    margin-top: 4px;
    line-height: 1.2;
    white-space: nowrap;
}

/* Oranje actieknop in grid */
.results-container.view-mode-grid .card-btn {
    display: inline-block;
    width: auto;
    padding: 8px 12px;
    background: #f97316;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 7px;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.2);
    transition: background-color 0.15s ease, transform 0.1s ease;
    flex-shrink: 0;
    align-self: flex-end;
}

.results-container.view-mode-grid .card-btn:hover {
    background: #ea580c;
    color: #ffffff;
    transform: translateY(-1px);
}

/* ==========================================================================
   Verbeterde Filters & Facets met Logo's
   ========================================================================== */

.search-sidebar {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.sidebar-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.clear-filters-link {
    font-size: 0.8rem;
    color: #ef4444;
    text-decoration: none;
    font-weight: 600;
}

.clear-filters-link:hover {
    text-decoration: underline;
}

.facet-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.facet-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.facet-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #64748b;
    margin: 0 0 0.75rem 0;
}

.facet-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.facet-item {
    margin: 0;
}

.facet-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    text-decoration: none;
    border-radius: 6px;
    min-height: 32px;
}

.search-sidebar .facet-link {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    text-decoration: none;
    border-radius: 6px;
    min-height: 32px;
}

/* Linkerzijde groeperen: Checkbox + Logo + Naam */
.search-sidebar .facet-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1 1 auto;
    margin-right: 8px;
}

/* Vaste strakke checkbox */
.search-sidebar .facet-checkbox {
    width: 16px;
    height: 16px;
    min-width: 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 4px;
    background-color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    font-size: 11px;
    line-height: 1;
    color: transparent;
}

.search-sidebar .facet-checkbox.checked {
    background-color: #0284c7;
    border-color: #0284c7;
    color: #ffffff;
    font-weight: 700;
}

/* Aanbieder logo */
.search-sidebar .facet-provider-logo {
    width: 16px;
    height: 16px;
    min-width: 16px;
    object-fit: contain;
    display: inline-block;
    flex-shrink: 0;
    border-radius: 2px;
    margin: 0;
}

/* Naam filteroptie afgekaderd op 1 regel */
.search-sidebar .facet-name {
    font-size: 0.86rem;
    color: #334155;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.search-sidebar .facet-link:hover .facet-name {
    color: #0284c7;
}

/* Count badge rechts */
.search-sidebar .facet-count {
    font-size: 0.75rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 9999px;
    font-weight: 600;
    flex-shrink: 0;
    line-height: 1.3;
    margin-left: auto;
}

.search-sidebar .facet-remove-icon {
    font-size: 1.15rem;
    line-height: 1;
    color: #ef4444;
    margin-left: auto;
    flex-shrink: 0;
}

/* ==========================================================================
   Error Page Styling
   ========================================================================== */
.error-page {
    padding: 4rem 0;
    text-align: center;
}

.error-page__content {
    max-width: 600px;
    margin: 0 auto;
}

.error-page__code {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted, #64748b);
    margin: 0 0 0.75rem;
}

.error-page__title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.error-page__text {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.error-page__action {
    display: inline-block;
    padding: 0.85rem 2rem;
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.error-page__action:hover {
    background: var(--color-primary-hover);
}

.is-hidden {
    display: none !important;
}

.home-section-header--center {
    justify-content: center;
    text-align: center;
}

.home-providers-cta {
    text-align: center;
    margin-top: 1.5rem;
}

.home-providers-cta .card-btn {
    display: inline-block;
    padding: 0.6rem 1.5rem;
}

.unavailable-page {
    padding-top: 25px;
    padding-bottom: 50px;
}

.unavailable-page__header {
    margin-bottom: 30px;
    text-align: center;
}

.unavailable-page__title-group {
    display: block;
}

.unavailable-page__badge-wrap {
    margin-bottom: 12px;
}

.unavailable-page__badge {
    background-color: #fef3c7;
    color: #92400e;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
}

.unavailable-page__title {
    margin-bottom: 10px;
}

.unavailable-page__text {
    color: var(--color-text-muted, #64748b);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 20px auto;
}

.unavailable-page__action {
    display: inline-block;
    padding: 10px 22px;
    text-decoration: none;
}

.unavailable-page__alternatives {
    margin-top: 40px;
}

.unavailable-page__lead {
    color: var(--color-text-muted, #64748b);
    margin-top: -10px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.similar-card-media img.is-hidden + .similar-img-empty {
    display: flex;
}

.similar-card-media .similar-img-empty.is-fallback {
    display: none;
}

.similar-card-media img.is-hidden + .similar-img-empty.is-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nieuws-page__intro {
    color: var(--color-text-muted, #64748b);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 640px;
    margin-bottom: 1.25rem;
}

.overview-page {
    padding-top: 16px;
    padding-bottom: 40px;
}

.overview-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.overview-header__title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.35rem 0;
}

.overview-intro {
    margin: 0.75rem 0 0;
    max-width: none;
    width: 100%;
    color: var(--color-text-muted, #475569);
    font-size: 1rem;
    line-height: 1.65;
}

.overview-intro--inline {
    margin: 0 0 1rem;
}

/* Dunne branded header op aanbieder-overzichten */
.provider-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.provider-brand__logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.provider-brand__title {
    font-size: 1.65rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 0.25rem 0;
}

.provider-brand__count {
    margin: 0;
    color: var(--color-text-muted, #64748b);
    font-size: 0.95rem;
}

.provider-brand__count strong {
    color: #0f172a;
}

.overview-header__count {
    margin: 0;
    color: var(--color-text-muted, #64748b);
    font-size: 0.95rem;
}

.overview-header__count strong {
    color: #0f172a;
}

/* Breadcrumb Styling */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted, #64748b);
}

.breadcrumb a {
    color: var(--color-primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .sep {
    margin: 0 0.5rem;
    color: var(--color-text-muted, #94a3b8);
}

.breadcrumb .current,
.breadcrumb > span:not(.sep):last-child {
    color: var(--color-dark, #0f172a);
    font-weight: 600;
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.breadcrumb-item {
    display: inline-block;
}

.breadcrumb-item a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-item a:hover {
    color: var(--color-primary-hover);
}

.breadcrumb-item.is-active {
    color: var(--color-dark);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--color-text-muted);
}

/* Content Card Styling */
.content-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 3rem;
    overflow: hidden;
}

.content-card__body {
    padding: 2rem 2.5rem;
    line-height: 1.7;
    color: var(--color-text-main);
}

.content-card h1 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 1.5rem;
}

.content-card h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 2rem 0 1rem 0;
}

.content-card p {
    margin-bottom: 1.25rem;
}

.content-card ul,
.content-card ol {
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.6;
}

.content-card li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .content-card__body {
        padding: 1.5rem;
    }

    .breadcrumb-list {
        font-size: 0.8rem;
    }
}

/* Info-pagina’s: tekst + aanbieders-zijblok + landen */
.info-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: 1.5rem;
}

.info-page-layout__main {
    margin-bottom: 0;
}

.info-page-aside {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.25rem;
    position: sticky;
    top: 96px;
}

.info-page-aside__title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 0.85rem;
}

.info-page-aside__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-page-aside__link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.4rem 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-text-main);
}

.info-page-aside__link:hover {
    background: #f1f5f9;
    color: var(--color-primary);
}

.info-page-aside__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
    border: 1px solid var(--color-border);
    flex-shrink: 0;
}

.info-page-aside__name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
}

.info-page-aside__more {
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.info-page-countries {
    margin-bottom: 3rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
}

.info-page-countries__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0 0 1rem;
}

.info-page-countries .destination-chips-grid {
    margin: 0;
}

.destination-chips-grid--info-countries {
    grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 992px) {
    .destination-chips-grid--info-countries {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .destination-chips-grid--info-countries {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .info-page-layout {
        grid-template-columns: 1fr;
    }

    .info-page-aside {
        position: static;
    }
}


/* ==========================================================================
   Informatiepagina's & Linkpartners
   ========================================================================== */
.lead.text-muted {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.partner-sections h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-border);
}

.partner-sections .row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.partner-sections .card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.partner-sections .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.07);
}

.partner-sections .card h3 {
    font-size: 1.15rem;
    color: var(--color-dark);
    margin: 0 0 0.5rem 0;
}

.partner-sections .card p {
    font-size: 0.925rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin: 0 0 1.25rem 0;
    flex-grow: 1;
}

.btn-outline-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-outline-primary:hover {
    background: var(--color-primary);
    color: #ffffff;
    border-color: var(--color-primary);
}

.partner-cta {
    background: #f8fafc;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    text-align: center;
    margin-top: 2.5rem;
}

.partner-cta h3 {
    font-size: 1.25rem;
    color: var(--color-dark);
    margin: 0 0 0.5rem 0;
}

.partner-cta p {
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 1.25rem auto;
}

.partner-cta .btn-primary {
    display: inline-block;
    background: var(--color-cta);
    color: #ffffff;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.15s ease;
}

.partner-cta .btn-primary:hover {
    background: var(--color-cta-hover);
    color: #ffffff;
}

@media (max-width: 768px) {
    .partner-sections .row {
        grid-template-columns: 1fr;
    }
}

/* Activiteiten-teaser onder land/regio-overzichten */
.overview-activities-teaser {
    margin-top: 2.5rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--color-border);
}

.overview-activities-teaser__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.overview-activities-teaser__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin: 0;
}

.overview-activities-teaser__all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary, #0284c7);
    text-decoration: none;
}

.overview-activities-teaser__all:hover {
    text-decoration: underline;
}

.overview-activities-teaser__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.activity-teaser-card {
    background: var(--color-bg-card, #fff);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-cta);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.activity-teaser-card__media {
    position: relative;
    display: block;
    height: 140px;
    background: #f1f5f9;
}

.activity-teaser-card__badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1;
    padding: 0.2rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-cta);
    border-radius: 3px;
    line-height: 1.2;
}

.activity-teaser-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-page .overview-activities-teaser,
.activities-teaser-section.overview-activities-teaser {
    margin-top: 2rem;
    padding-top: 1.5rem;
}

.activity-teaser-card__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.activity-teaser-card__body {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.activity-teaser-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.activity-teaser-card__title a {
    color: inherit;
    text-decoration: none;
}

.activity-teaser-card__loc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0 0 0.75rem;
}

.activity-teaser-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px dashed #f1f5f9;
}

.activity-teaser-card__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-price);
}

.activity-teaser-card__btn {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

@media (max-width: 992px) {
    .overview-activities-teaser__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .overview-activities-teaser__grid {
        grid-template-columns: 1fr;
    }
}

/* Vakantie-crosslinks: zelfde rust als activity-teasers; blauw alleen op streep + badge */
.destination-holidays-section {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
}

.destination-holidays-section__header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.destination-holidays-section__title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
}

.destination-holidays-section__all {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary, #0284c7);
    text-decoration: none;
}

.destination-holidays-section__all:hover {
    text-decoration: underline;
}

.destination-holidays-section__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.destination-holiday-card {
    position: relative;
    background: var(--color-bg-card, #fff);
    border: 1px solid var(--color-border);
    border-left: 3px solid var(--color-primary, #0284c7);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.destination-holiday-card__media {
    position: relative;
    display: block;
    height: 140px;
    background: #f1f5f9;
}

.destination-holiday-card__badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 1;
    padding: 0.2rem 0.5rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #fff;
    background: var(--color-primary, #0284c7);
    border-radius: 3px;
    line-height: 1.2;
}

.destination-holiday-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.destination-holiday-card__empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.destination-holiday-card__body {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.destination-holiday-card__title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.destination-holiday-card__title a {
    color: inherit;
    text-decoration: none;
}

.destination-holiday-card__title a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.destination-holiday-card__loc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin: 0 0 0.75rem;
}

.destination-holiday-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px dashed #f1f5f9;
}

.destination-holiday-card__price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-price);
}

.destination-holiday-card__price small {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-muted);
}

.destination-holiday-card__btn {
    position: relative;
    z-index: 2;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary, #0284c7);
    text-decoration: none;
}

@media (max-width: 992px) {
    .destination-holidays-section__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .destination-holidays-section__grid {
        grid-template-columns: 1fr;
    }
}

/* Legal / info pages */
.legal-content h2 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
}

.legal-content__lead {
    color: #64748b;
    font-size: 0.9rem;
}

.legal-content ul {
    margin: 0.5rem 0 1rem 1.25rem;
}

.legal-content li {
    margin-bottom: 0.35rem;
}

/* Cookie consent banner */
.cookie-consent {
    position: fixed;
    z-index: 10000;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.92);
    color: #f8fafc;
    box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.35);
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    justify-content: space-between;
}

.cookie-consent__copy {
    flex: 1 1 280px;
    min-width: 0;
}

.cookie-consent__title {
    margin: 0 0 0.35rem;
    font-size: 1rem;
    font-weight: 700;
}

.cookie-consent__text {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #cbd5e1;
}

.cookie-consent__text a {
    color: #7dd3fc;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cookie-consent__btn {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
}

.cookie-consent__btn--primary {
    background: #0284c7;
    color: #fff;
    border-color: #0284c7;
}

.cookie-consent__btn--primary:hover {
    background: #0369a1;
}

.cookie-consent__btn--secondary {
    background: transparent;
    color: #e2e8f0;
    border-color: #64748b;
}

.cookie-consent__btn--secondary:hover {
    border-color: #94a3b8;
    color: #fff;
}

@media (max-width: 600px) {
    .cookie-consent__actions {
        width: 100%;
    }

    .cookie-consent__btn {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* Desktop: titel links, wis rechts */
.sidebar-header.filter-panel-header h3 {
    order: 1;
    margin-right: auto;
}

.sidebar-header.filter-panel-header .clear-filters-link {
    order: 2;
}

/* Mobiel filter-drawer (na alle .search-sidebar-overrides) */
@media (max-width: 900px) {
    .filter-toggle {
        display: inline-flex;
    }

    .filter-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1100;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .filter-backdrop.is-visible {
        opacity: 1;
        pointer-events: auto;
    }

    /* Filterknop blijft bereikbaar tijdens scrollen van resultaten */
    .search-meta-bar {
        position: sticky;
        top: 56px; /* compacte header ≤768; 769–900 via media hieronder */
        z-index: 50;
        background: var(--color-bg-page, #f8fafc);
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
        margin-top: 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .search-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1200;
        display: flex;
        flex-direction: column;
        width: min(340px, 92vw);
        max-width: 100%;
        height: 100%;
        margin: 0;
        padding: 0;
        border-radius: 0;
        border: none;
        border-right: 1px solid #e2e8f0;
        box-shadow: 8px 0 24px rgba(15, 23, 42, 0.12);
        overflow: hidden;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        visibility: hidden;
    }

    .search-sidebar.is-open {
        transform: translateX(0);
        visibility: visible;
    }

    /* Vast: Wis alles | Filters | Sluit */
    .sidebar-header.filter-panel-header {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        flex-shrink: 0;
        gap: 0.5rem;
        margin: 0;
        padding: 14px 16px;
        border-bottom: 1px solid #e2e8f0;
        background: #ffffff;
    }

    .sidebar-header.filter-panel-header .clear-filters-link {
        order: 0;
        justify-self: start;
        font-size: 0.9rem;
    }

    .sidebar-header.filter-panel-header h3 {
        order: 0;
        justify-self: center;
        margin: 0;
        font-size: 1.05rem;
        font-weight: 700;
    }

    .filter-panel-close {
        display: inline-flex;
        order: 0;
        justify-self: end;
        align-items: center;
        justify-content: center;
        width: auto;
        height: auto;
        padding: 4px 0 4px 8px;
        border: none;
        border-radius: 0;
        background: transparent;
        color: #ef4444;
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.2;
        cursor: pointer;
    }

    .filter-panel-close:hover {
        text-decoration: underline;
    }

    .filter-panel-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1rem 1.25rem 1.25rem;
    }

    .filter-panel-footer {
        display: block;
        flex-shrink: 0;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
        border-top: 1px solid #e2e8f0;
        background: #ffffff;
    }

    .filter-panel-apply {
        display: block;
        width: 100%;
        padding: 14px 16px;
        border: none;
        border-radius: 8px;
        background: var(--color-cta, #f97316);
        color: #ffffff;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(249, 115, 22, 0.28);
    }

    .filter-panel-apply:hover {
        background: var(--color-cta-hover, #ea580c);
    }

    body.filters-mobile-open {
        overflow: hidden;
    }
}

@media (min-width: 769px) and (max-width: 900px) {
    /* Topbar + desktop-headerhoogte */
    .search-meta-bar {
        top: 110px;
    }
}
