/*
 * Zimmer Voorraad — opmaak van het voorraadblok op de website ([zimmer_voorraad]).
 * Kleuren, lettertypes en tabel volgen de Voorraadmodule (zimmerstaal.be), zodat
 * klanten later met een account dezelfde weergave terugzien. Alles hangt onder .zsv
 * zodat het thema er niet door geraakt wordt; algemene thema-stijlen op knoppen en
 * velden worden binnen .zsv geneutraliseerd (zie "Afscherming").
 * Lettertypes Inter en Barlow Condensed zitten in de plugin (assets/fonts, SIL Open
 * Font License) onder een eigen naam, zodat ze niet botsen met fonts van het thema.
 * Staat de plugin Zimmer Website op dezelfde pagina, dan worden haar lettertypes (ZW ...)
 * gebruikt: dezelfde bestanden, zodat de bezoeker ze maar één keer ophaalt. De unicode-range
 * zorgt dat de eigen bestanden dan ook niet voor een los teken (bv. een pijl) geladen worden.
 */

/* ── Lettertypes (alleen Latijns schrift; NL/EN/DE/FR) ── */
@font-face {
    font-family: 'ZSV Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'ZSV Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'ZSV Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'ZSV Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'ZSV Barlow Condensed';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/barlow-condensed-600.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'ZSV Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'ZSV Barlow Condensed';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/barlow-condensed-600-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'ZSV Barlow Condensed';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/barlow-condensed-700-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.zsv {
    --zsv-red:    #F27E3F;
    --zsv-red-d:  #d9642a;
    --zsv-dark:   #2D4F7A;
    --zsv-silver: #64748b;
    --zsv-slt:    #94a3b8;
    --zsv-border: #e2e8f0;
    --zsv-bg:     #f8fafc;
    --zsv-card:   #fff;
    --zsv-thead:  #f1f5f9;
    --zsv-text:   #1e293b;
    --zsv-textlt: #475569;
    --zsv-fh:     'ZW Barlow Condensed', 'ZSV Barlow Condensed', 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --zsv-fb:     'ZW Inter', 'ZSV Inter', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --zsv-cols:   120px 120px 140px 140px 140px minmax(300px, 1.4fr) minmax(220px, 1fr); /* beginwaarde; voorraad.js past de laatste twee aan de getoonde teksten aan */
    /* Even breed als de Voorraadmodule (main: 1400px - 2x 24px padding), ook als de
       inhoudskolom van het thema smaller is: het blok steekt dan aan beide kanten uit,
       gecentreerd op die kolom. Op kleine schermen blijft er 24px marge over. */
    --zsv-breedte: min(1352px, calc(100vw - 48px));

    width: var(--zsv-breedte);
    max-width: none;
    /* !important: blokthema's (bv. "is-layout-constrained") zetten margin-left/right
       zelf op auto !important, waardoor het blok anders verschuift. */
    margin-left: calc((100% - var(--zsv-breedte)) / 2) !important;
    margin-right: calc((100% - var(--zsv-breedte)) / 2) !important;
    font-family: var(--zsv-fb);
    color: var(--zsv-text);
    font-size: 14px;
    line-height: 1.5;
}

.zsv *,
.zsv *::before,
.zsv *::after {
    box-sizing: border-box;
}

/* ── Afscherming: algemene thema-stijlen (bv. "button { ... }" of een Elementor-kit)
   mogen het blok niet veranderen. De eigen regels hieronder (.zsv .klasse) gaan voor. */
.zsv button,
.zsv input,
.zsv select {
    font-family: inherit;
    font-style: normal;
    text-shadow: none;
    text-decoration: none;
    text-transform: none;
    min-height: 0;
    max-width: none;
    transform: none;
    filter: none;
}

.zsv button:hover,
.zsv button:focus,
.zsv button:active,
.zsv input:focus,
.zsv select:focus {
    box-shadow: none;
    text-shadow: none;
    text-decoration: none;
    transform: none;
    filter: none;
}

.zsv p,
.zsv h2 {
    font-family: inherit;
    text-shadow: none;
}

/* Blokken over de volle breedte (100vw) zouden door de schuifbalk een horizontale
   schuifbalk geven; dat wordt hier afgeknipt. */
html,
body {
    overflow-x: clip;
}

.zsv [hidden] {
    display: none !important;
}

/* ── Balk boven de voorraad (blauw, zoals de header van de Voorraadmodule), over de volle
   breedte; de tekst blijft uitgelijnd met de voorraad eronder ── */
.zsv-banner {
    background: var(--zsv-dark);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 104px;
    padding: 22px calc((100vw - var(--zsv-breedte)) / 2);
    margin: 0 calc((var(--zsv-breedte) - 100vw) / 2) 50px;
}

.zsv .zsv-banner p {
    margin: 0;
}

.zsv .zsv-banner-update {
    font-family: var(--zsv-fh);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.25;
}

.zsv .zsv-banner-update strong {
    font-weight: 700;
}

/* Tweede regel: platen kunnen gedeeld worden naar kleinere standaardafmetingen */
.zsv .zsv-banner-delen {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.zsv .zsv-banner-live {
    margin-top: 6px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.zsv .zsv-banner-live a,
.zsv .zsv-banner-live span {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    margin-left: 4px;
}

.zsv .zsv-banner-live a,
.zsv .zsv-banner-live span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.zsv .zsv-banner-live a:hover,
.zsv .zsv-banner-live a:focus {
    color: #fff;
    text-decoration-thickness: 2px;
}

/* ── Filters ── */
.zsv-filters {
    background: var(--zsv-card);
    border: 1px solid var(--zsv-border);
    border-bottom: 2px solid var(--zsv-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
    padding: 12px 16px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 32px;
    align-items: center;
    position: relative; /* uitlegpaneel lijnt uit op de filterbalk/tabel */
}

/* Label links naast het veld, alles op één lijn met "Hoe werkt zoeken?" */
.zsv-fg {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.zsv-fg label,
.zsv-fg-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--zsv-silver);
    white-space: nowrap;
    margin: 0;
}

/* Dikte: zelfde label als "Zoeken" op het overzicht (donker, 15px, gewone letters). */
.zsv-fg-dikte label {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
    color: var(--zsv-text);
}

.zsv .zsv-dikte {
    height: 34px;
    padding: 0 9px;
    font-size: 13px;
    font-family: var(--zsv-fb);
    border: 1px solid var(--zsv-border);
    border-radius: 0;
    background: var(--zsv-bg);
    color: var(--zsv-text);
    width: 160px;
    outline: none;
    box-shadow: none;
    transition: border-color .2s;
}

.zsv .zsv-herk,
.zsv .zsv-keur {
    -webkit-appearance: none;
    appearance: none;
    height: 34px;
    min-width: 150px;
    padding: 0 30px 0 9px;
    font-size: 13px;
    font-family: var(--zsv-fb);
    border: 1px solid var(--zsv-border);
    border-radius: 0;
    background: var(--zsv-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%2394a3b8'/%3E%3C/svg%3E") no-repeat right 10px center;
    color: var(--zsv-text);
    outline: none;
    box-shadow: none;
    cursor: pointer;
    transition: border-color .2s;
}

.zsv .zsv-dikte:focus,
.zsv .zsv-herk:focus,
.zsv .zsv-keur:focus {
    border-color: var(--zsv-red);
}

.zsv .zsv-herk:disabled,
.zsv .zsv-keur:disabled {
    opacity: .45;
    cursor: not-allowed;
}

/* Certificaattype: knoppengroep Alle / 3.1 / 3.2 (zoals de Voorraadmodule) */
.zsv-cert-toggle {
    display: flex;
    gap: 4px;
}

.zsv .zsv-cert-btn {
    height: 34px;
    margin: 0;
    padding: 0 12px;
    background: var(--zsv-bg);
    border: 1px solid var(--zsv-border);
    border-radius: 0;
    box-shadow: none;
    color: var(--zsv-silver);
    font-family: var(--zsv-fh);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1;
    cursor: pointer;
    transition: all .15s;
}

.zsv .zsv-cert-btn:disabled,
.zsv .zsv-cert-btn:disabled:hover {
    background: var(--zsv-bg);
    border-color: var(--zsv-border);
    color: var(--zsv-silver);
    opacity: .45;
    cursor: not-allowed;
}

.zsv .zsv-cert-btn:hover:not(.zsv-cert-actief):not(:disabled) {
    background: var(--zsv-bg);
    border-color: var(--zsv-red);
    color: var(--zsv-red);
}

.zsv .zsv-cert-btn.zsv-cert-actief {
    background: var(--zsv-red);
    border-color: var(--zsv-red);
    color: #fff;
}

/* ── Uitleg "Hoe werkt zoeken?" ── */
.zsv-help {
    position: static;
    margin-left: auto;
    align-self: center;
}

.zsv .zsv-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 34px;
    margin: 0;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    line-height: 1;
    vertical-align: middle;
    color: var(--zsv-red);
    font-family: var(--zsv-fh);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
}

.zsv .zsv-help-btn:hover,
.zsv .zsv-help-btn:focus {
    background: none;
    color: var(--zsv-red);
}

.zsv-help-btn svg {
    width: 14px;
    height: 14px;
}

.zsv-help-panel {
    position: absolute;
    right: -1px; /* rechterrand gelijk met de tabel */
    top: calc(100% + 8px);
    z-index: 20;
    width: 520px;
    max-width: calc(100% + 2px);
    background: var(--zsv-card);
    border: 1px solid var(--zsv-border);
    border-top: 3px solid var(--zsv-red);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
    padding: 12px 16px;
}

.zsv-help-panel[hidden] {
    display: none;
}

.zsv-help-sectie + .zsv-help-sectie {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--zsv-border);
}

.zsv-help-titel {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--zsv-silver);
    margin-bottom: 4px;
}

.zsv-help-panel p {
    display: flex;
    gap: 10px;
    margin: 0 0 4px;
    font-size: 13px;
    color: var(--zsv-textlt);
}

.zsv-help-panel code {
    flex: 0 0 72px;
    font-family: monospace;
    font-weight: 700;
    color: var(--zsv-red);
    background: var(--zsv-thead);
    padding: 0 6px;
}

/* ── Resultaten en sortering ── */
.zsv-rcnt {
    font-family: var(--zsv-fh);
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--zsv-silver);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Reset zoeken en Reset sortering naast elkaar, even breed */
.zsv-resets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.zsv .zsv-resets .zsv-bto {
    justify-content: center;
}

.zsv-rcnt strong {
    color: var(--zsv-text);
    font-size: 15px;
}

.zsv .zsv-bto {
    height: 34px;
    padding: 0 14px;
    background: transparent;
    border: 1px solid var(--zsv-border);
    border-radius: 0;
    color: var(--zsv-silver);
    font-family: var(--zsv-fh);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all .2s;
}

.zsv .zsv-bto:hover {
    border-color: var(--zsv-silver);
    color: var(--zsv-text);
    background: transparent;
}

.zsv-bto svg {
    width: 13px;
    height: 13px;
}

.zsv-sort-desc {
    font-family: var(--zsv-fh);
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--zsv-slt);
    margin: 0 0 10px;
}

.zsv-sort-desc strong {
    color: var(--zsv-silver);
    font-weight: 600;
}

/* ── Tabel ── */
.zsv-twrap {
    border: 1px solid var(--zsv-border);
    background: var(--zsv-card);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
    overflow: hidden;
    font-variant-numeric: tabular-nums;
}

.zsv-thead,
.zsv-rij {
    display: grid;
    grid-template-columns: var(--zsv-cols);
    padding: 0 6px;
    align-items: center;
}

.zsv-rij[hidden] {
    display: none;
}

.zsv-thead {
    background: var(--zsv-thead);
    border-bottom: 2px solid var(--zsv-border);
}

.zsv-thead > div {
    padding: 12px 20px;
    white-space: nowrap;
    overflow: hidden;
}

.zsv .zsv-sort {
    display: flex;
    align-items: center;
    gap: 3px;
    background: none;
    border: none;
    padding: 0;
    color: var(--zsv-text);
    font-family: var(--zsv-fb);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.zsv .zsv-sort:hover,
.zsv .zsv-sort:focus {
    background: none;
    color: var(--zsv-text);
}

.zsv-ico {
    font-size: 10px;
    opacity: .7;
}

.zsv-th-actief .zsv-sort,
.zsv .zsv-th-actief .zsv-sort:hover {
    color: var(--zsv-red);
}

.zsv-th-default .zsv-ico {
    opacity: .55;
}

.zsv-rij {
    background: #fff;
    border-bottom: 1px solid var(--zsv-border);
    transition: background .1s;
}

.zsv-rij:hover {
    background: var(--zsv-bg);
}

.zsv-rij > div {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--zsv-text);
}

.zsv-thead > div:nth-child(2),
.zsv-rij > div:nth-child(2) {
    text-align: center;
}

.zsv-thead > div:nth-child(2) .zsv-sort {
    justify-content: center;
    width: 100%;
}

.zsv-rij > .zsv-ntal {
    font-size: 15px;
    font-weight: 700;
}

.zsv-rij > .zsv-plus {
    color: var(--zsv-red);
}

.zsv-afm {
    font-weight: 500;
}

.zsv-rij > .zsv-dik {
    font-weight: 600;
    white-space: nowrap;
}

.zsv-rij > .zsv-ks {
    font-size: 13px;
    color: var(--zsv-textlt);
}

.zsv-rij > .zsv-dub {
    font-size: 13px;
    color: var(--zsv-silver);
}

.zsv-bh {
    display: inline-block;
    font-family: var(--zsv-fh);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 2px 7px;
    border: 1px solid currentColor; /* rand in de tekstkleur van het label */
}

.zsv-beu {
    background: #daeaf8;
    color: #1a4f7a;
}

.zsv-bimp {
    background: #fff0e6;
    color: #c0531a;
}

.zsv-leeg {
    padding: 20px;
    text-align: center;
    color: var(--zsv-silver);
    font-size: 14px;
}

.zsv-leeg[hidden] {
    display: none;
}

/* ── Mobiel: twee regels per plaat (Aantal/Lengte/Breedte/Dikte, dan Herkomst/Kwaliteit/Dubbel) ── */
@media (max-width: 720px) {
    .zsv-help {
        margin-left: 0;
    }

    .zsv-help-panel {
        left: -1px;
        width: auto;
    }

    .zsv-thead,
    .zsv-rij {
        display: flex;
        flex-wrap: wrap;
        padding: 0;
    }

    .zsv-rij[hidden] {
        display: none;
    }

    .zsv-thead > div,
    .zsv-rij > div {
        flex: 1 1 25%;
        min-width: 0;
        padding: 8px 10px 4px;
    }

    .zsv-thead > div:nth-child(1), .zsv-rij > div:nth-child(1) { order: 1; }
    .zsv-thead > div:nth-child(3), .zsv-rij > div:nth-child(3) { order: 2; }
    .zsv-thead > div:nth-child(4), .zsv-rij > div:nth-child(4) { order: 3; }
    .zsv-thead > div:nth-child(5), .zsv-rij > div:nth-child(5) { order: 4; }
    .zsv-thead > div:nth-child(2), .zsv-rij > div:nth-child(2) { order: 5; flex: 0 0 25%; text-align: left; padding-bottom: 10px; }
    .zsv-thead > div:nth-child(6), .zsv-rij > div:nth-child(6) { order: 6; flex: 1 1 35%; padding-bottom: 10px; }
    .zsv-thead > div:nth-child(7), .zsv-rij > div:nth-child(7) { order: 7; flex: 1 1 40%; padding-bottom: 10px; }

    .zsv-thead > div:nth-child(2) .zsv-sort {
        justify-content: flex-start;
    }

    /* Lange kop (dubbel gecertificeerd) over meer regels in plaats van afgekapt. */
    .zsv-thead > div:nth-child(7),
    .zsv-thead > div:nth-child(7) .zsv-sort {
        white-space: normal;
        text-align: left;
    }

    .zsv-rij > .zsv-ntal {
        font-size: 15px;
    }
}

/* ── Kenmerken per kwaliteit ([zimmer_kenmerken]) ──
   Raster van 6 kolommen; de PHP vult elke rij volledig (zsv-km-span-N). De lijnen zijn
   randen per cel (rechts/onder) plus boven/links op het raster: een 1px-gap kan bij
   halve pixels wegvallen. */
.zsv-km {
    margin-top: 64px;
    margin-bottom: 24px;
}

.zsv-km-raster {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    border-top: 1px solid var(--zsv-border);
    border-left: 1px solid var(--zsv-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, .06);
}

.zsv-km-cel {
    background: var(--zsv-card);
    border-right: 1px solid var(--zsv-border);
    border-bottom: 1px solid var(--zsv-border);
    padding: 16px 16px 18px;
    min-width: 0;
}

.zsv-km-span-1 { grid-column: span 1; }
.zsv-km-span-2 { grid-column: span 2; }
.zsv-km-span-3 { grid-column: span 3; }
.zsv-km-span-4 { grid-column: span 4; }
.zsv-km-span-5 { grid-column: span 5; }
.zsv-km-span-6 { grid-column: span 6; }

.zsv-km-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--zsv-silver);
    line-height: 1.4;
    margin-bottom: 12px;
}

.zsv-km-waarde {
    font-size: 14px;
    font-weight: 700;
    color: var(--zsv-dark);
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Specifieke eisen onder de kenmerken: kop zoals "Kenmerken", zelfde raster, twee per rij (zsv-km-span-3). */
.zsv .zsv-km-titel.zsv-km-eisen-titel {
    margin-top: 48px;
}

/* ── Kwaliteitenrij ([zimmer_kwaliteiten]): knoppen naar de andere pagina's in de branche ── */
.zsv-kw {
    margin-top: 64px;
    margin-bottom: 24px;
}

.zsv .zsv-kw-lijst {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zsv .zsv-kw-lijst li {
    margin: 0;
    padding: 0;
}

.zsv .zsv-kw-lijst li::before,
.zsv .zsv-kw-lijst li::marker {
    content: none;
}

.zsv .zsv-kw-knop {
    display: inline-block;
    font-family: var(--zsv-fh);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 10px 18px;
    background: var(--zsv-card);
    color: var(--zsv-dark);
    border: 1px solid var(--zsv-border);
    text-decoration: none;
    transition: border-color .15s, color .15s;
}

.zsv a.zsv-kw-knop:hover,
.zsv a.zsv-kw-knop:focus {
    color: var(--zsv-red);
    border-color: var(--zsv-red);
    text-decoration: none;
}

.zsv .zsv-kw-actief {
    background: var(--zsv-dark);
    border-color: var(--zsv-dark);
    color: #fff;
}

@media (max-width: 960px) {
    .zsv-km-raster {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zsv-km-cel {
        grid-column: span 1;
    }

    /* brede velden over de volle breedte; een oneven laatste cel vult de rij */
    .zsv-km-span-3,
    .zsv-km-span-4,
    .zsv-km-span-5,
    .zsv-km-span-6,
    .zsv-km-cel:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }
}

/* ── Kop van een pagina ([zimmer_kop]): grijs over de volle breedte, met kruimelpad,
   titel en offerteknop. De tekst lijnt uit met de voorraad eronder. ── */
.zsv.zsv-kop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    box-sizing: border-box;
    min-height: 208px;
    width: 100vw;
    max-width: none;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding: 32px calc((100vw - var(--zsv-breedte)) / 2);
    background: #F4F4F6;
}

.zsv-kop + .zsv,
.zsv-kop + p + .zsv,
.zsv-kop + br + .zsv {
    margin-top: 0;
}

/* Shortcodes op opeenvolgende regels in de klassieke editor krijgen van WordPress een
   <br> ertussen; dat gaf een lege regel tussen de blokken. */
.zsv + br {
    display: none;
}

.zsv .zsv-kruimel {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--zsv-silver);
}

.zsv .zsv-kruimel a {
    color: var(--zsv-dark);
    text-decoration: none;
}

.zsv .zsv-kruimel a:hover,
.zsv .zsv-kruimel a:focus {
    text-decoration: underline;
}

.zsv .zsv-kruimel span {
    margin: 0 6px;
    color: var(--zsv-red);
}

.zsv .zsv-kop-titel {
    position: relative;
    margin: 0;
    padding: 0 0 16px;
    max-width: none;
    font-family: var(--zsv-fh);
    font-size: 52px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--zsv-dark);
    text-shadow: none;
}

.zsv .zsv-kop-titel::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    background: var(--zsv-red);
}

/* Knoppen rechts in de kop naast elkaar: "Alle kwaliteiten" en "Info / offerteaanvraag". */
.zsv .zsv-kop-knoppen {
    flex: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Zelfde knop als op de rest van de website: kopletter, HOOFDLETTERS, 15px, compact. */
.zsv .zsv-kop-knop {
    flex: none;
    font-family: var(--zsv-fh);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.2;
    padding: 8px 16px;
    border: 1px solid var(--zsv-red);
    background: var(--zsv-red);
    color: #fff;
    text-decoration: none;
    transition: background .15s;
}

.zsv .zsv-kop-knop:hover,
.zsv .zsv-kop-knop:focus {
    border-color: var(--zsv-red-d);
    background: var(--zsv-red-d);
    color: #fff;
    text-decoration: none;
}

/* "Terug": omlijnd in de donkere kleur, met een dikke punthaak (getekend met randen, dus
   altijd even dik en precies in het midden, los van het lettertype). */
.zsv .zsv-kop-terug {
    border-color: var(--zsv-dark);
    background: transparent;
    color: var(--zsv-dark);
}

.zsv .zsv-kop-terug::before {
    /* Uitgelijnd op de basislijn van de tekst, niet op het midden van de knop: de onderkant
       van het vierkantje staat op de basislijn + 0.08em, het midden dus op 0.35em = het
       midden van de hoofdletters (Barlow Condensed: hoofdletterhoogte 0.7em). */
    content: '';
    display: inline-block;
    box-sizing: border-box;
    width: .54em;
    height: .54em;
    margin: 0 10px 0 3px;
    vertical-align: .08em;
    border-left: 3px solid currentColor;
    border-bottom: 3px solid currentColor;
    transform: rotate(45deg);
}

.zsv .zsv-kop-terug:hover,
.zsv .zsv-kop-terug:focus {
    border-color: var(--zsv-dark);
    background: var(--zsv-dark);
    color: #fff;
}

/* Overzicht op de homepage: bij springen naar #kwaliteiten wat ruimte boven het zoekveld. */
.zsv.zsv-ov {
    scroll-margin-top: 32px;
}

/* ── Oranje balk ([zimmer_balk]) over de volle breedte ── */
.zsv.zsv-balk {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 104px;
    width: 100vw;
    max-width: none;
    margin-top: 64px;
    margin-bottom: 0;
    margin-left: calc(50% - 50vw) !important;
    margin-right: 0 !important;
    padding: 20px 24px;
    background: var(--zsv-red);
    text-align: center;
}

.zsv .zsv-balk p,
.zsv.zsv-balk p {
    margin: 0;
    font-family: var(--zsv-fh);
    font-size: 22px;
    font-style: italic;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.2;
    color: #fff;
}

/* ── Overzicht ([zimmer_overzicht]): zoekveld en per branche een kaart met kwaliteiten.
   Strak en vierkant zoals de kwaliteitpagina (hoeken 2px, randen 1px, geen schaduw).
   De titel linkt naar de branchepagina, een knop naar de kwaliteitpagina. ── */
.zsv.zsv-ov {
    /* compacter dan de voorraadtabel: max. 1100px, gecentreerd */
    --zsv-breedte: min(1100px, calc(100vw - 48px));
    margin-top: 40px;
    margin-bottom: 40px;
}

.zsv .zsv-ov-zoek {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0 0 16px;
    padding: 12px 16px;
    background: var(--zsv-card);
    border: 1px solid var(--zsv-border);
    border-radius: 2px;
}

.zsv .zsv-ov-zoek label {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--zsv-text);
}

.zsv .zsv-ov-zoek input {
    flex: 1;
    width: auto;
    max-width: 280px;
    height: 34px;
    margin: 0;
    padding: 0 10px;
    font-size: 14px;
    color: var(--zsv-text);
    background: var(--zsv-thead);
    border: 1px solid var(--zsv-border);
    border-radius: 2px;
    outline: none;
    box-shadow: none;
}

.zsv .zsv-ov-zoek input:focus {
    border-color: var(--zsv-dark);
    background: var(--zsv-card);
}

/* Knop "Offerte aanvragen" rechts in de zoekbalk (zelfde knop als op de rest van de website). */
.zsv .zsv-ov-offerte {
    flex: none;
    margin-left: auto;
    padding: 8px 16px;
    border: 1px solid var(--zsv-red);
    background: var(--zsv-red);
    color: #fff;
    font-family: var(--zsv-fh);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .03em;
    line-height: 1.2;
    text-decoration: none;
    text-transform: uppercase;
}

.zsv .zsv-ov-offerte:hover,
.zsv .zsv-ov-offerte:focus {
    border-color: var(--zsv-red-d);
    background: var(--zsv-red-d);
    color: #fff;
}

.zsv .zsv-ov-raster {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.zsv .zsv-ov-kaart {
    padding: 18px 20px 20px;
    background: var(--zsv-card);
    border: 1px solid var(--zsv-border);
    border-radius: 2px;
    transition: border-color .15s, box-shadow .15s, opacity .15s;
}

/* een oneven laatste kaart vult de hele rij */
.zsv .zsv-ov-kaart:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

/* ...maar de knoppen blijven even breed als in een halve kaart (4 per halve kaart):
   halve binnenbreedte = 50% - 29px (helft van 16px tussenruimte + 20px padding + 1px rand) */
.zsv .zsv-ov-kaart:last-child:nth-child(odd) .zsv-ov-lijst {
    grid-template-columns: repeat(auto-fill, calc((50% - 29px - 3 * 8px) / 4));
}

.zsv .zsv-ov-kaart:hover {
    border-color: var(--zsv-red);
}

/* zoeken: treffer op de branche */
.zsv .zsv-ov-kaart.zsv-ov-treffer {
    border-color: var(--zsv-red);
    box-shadow: 0 0 0 1px var(--zsv-red);
}

/* zoeken: niets gevonden in deze kaart */
.zsv .zsv-ov-kaart.zsv-ov-uit {
    opacity: .35;
}

.zsv .zsv-ov-kop {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.zsv .zsv-ov-titel {
    margin: 0;
    padding: 0;
    color: var(--zsv-dark); /* ook zonder link (branchepagina's uit) dezelfde kleur */
    font-family: var(--zsv-fh);
    font-size: 26px;
    font-weight: 600;
    font-style: italic;
    letter-spacing: normal;
    text-transform: uppercase;
    line-height: 1.05;
}

.zsv .zsv-ov-titel a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.zsv .zsv-ov-titel a,
.zsv .zsv-ov-titel a:hover,
.zsv .zsv-ov-titel a:focus {
    color: var(--zsv-dark);
    text-decoration: none;
    box-shadow: none;
    border-bottom: 0;
}

.zsv .zsv-ov-pijl {
    display: inline-block;
    /* Inter heeft geen pijl in de Latijnse set; zelfde terugval als de voorkant sample */
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    font-style: normal;
    line-height: 1.2;
    color: var(--zsv-red);
    transition: transform .15s;
}

.zsv .zsv-ov-titel a:hover .zsv-ov-pijl,
.zsv .zsv-ov-titel a:focus .zsv-ov-pijl {
    transform: translateX(4px);
}

.zsv .zsv-ov-aantal {
    flex: none;
    margin-left: auto;
    padding-top: 6px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--zsv-silver);
}

.zsv .zsv-ov-aantal b {
    color: var(--zsv-text);
}

.zsv .zsv-ov-streep {
    width: 50px;
    height: 3px;
    margin: 10px 0 16px;
    background: var(--zsv-red);
}

.zsv .zsv-ov-lijst {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zsv .zsv-ov-lijst li {
    margin: 0;
    padding: 0;
}

.zsv .zsv-ov-lijst li::before,
.zsv .zsv-ov-lijst li::marker {
    content: none;
}

.zsv .zsv-ov-knop {
    display: block;
    padding: 8px 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    color: #fff;
    background: var(--zsv-dark);
    border: 1px solid var(--zsv-dark);
    border-radius: 4px;
    text-decoration: none;
    box-shadow: none;
    transition: background .15s, color .15s, border-color .15s, opacity .15s;
}

.zsv .zsv-ov-knop:hover,
.zsv .zsv-ov-knop:focus {
    color: #fff;
    background: var(--zsv-red);
    border-color: var(--zsv-red);
    text-decoration: none;
}

/* zoeken: passende kwaliteit oranje, de andere vervaagd */
.zsv .zsv-ov-knop.zsv-ov-treffer {
    color: #fff;
    background: var(--zsv-red);
    border-color: var(--zsv-red);
}

.zsv .zsv-ov-knop.zsv-ov-dim {
    opacity: .25;
}

.zsv .zsv-ov-leeg {
    margin: 16px 0 0;
    color: var(--zsv-silver);
}

@media (max-width: 640px) {
    .zsv.zsv-kop {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
    }

    .zsv .zsv-kop-titel {
        font-size: 36px;
    }

    .zsv-banner {
        padding-left: 24px;
        padding-right: 24px;
    }

    .zsv .zsv-ov-raster {
        grid-template-columns: minmax(0, 1fr);
    }

    .zsv .zsv-ov-lijst,
    .zsv .zsv-ov-kaart:last-child:nth-child(odd) .zsv-ov-lijst {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .zsv .zsv-ov-zoek input {
        max-width: none;
    }

    .zsv .zsv-ov-titel {
        font-size: 24px;
    }

    /* Aantal resultaten boven, de twee resetknoppen eronder over de volle breedte (lange Duitse en Franse teksten) */
    .zsv-rcnt {
        flex-wrap: wrap;
    }

    .zsv-resets {
        flex: 1 1 100%;
    }

    .zsv .zsv-resets .zsv-bto {
        height: auto;
        min-height: 34px;
        padding: 6px 8px;
        letter-spacing: .04em;
        text-align: center;
    }
}

/* ── Branchepagina ([zimmer_branche]): kop met inleiding, blauwe balk, intro met foto,
   kwaliteiten (zelfde knoppen als het overzicht) en de andere branches ── */
.zsv .zsv-kop-lead {
    max-width: 640px;
    margin: 18px 0 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--zsv-text);
}

.zsv.zsv-br {
    margin-bottom: 0;
    padding-top: 50px;
}

/* Blauwe balk onderaan, sluit direct aan op de oranje balk */
.zsv .zsv-br-banner {
    margin-top: 64px;
    margin-bottom: 0;
    text-align: center;
}

.zsv.zsv-br + .zsv.zsv-balk {
    margin-top: 0;
}

.zsv .zsv-br-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.zsv .zsv-br-intro.zsv-br-zonder-foto {
    grid-template-columns: minmax(0, 1fr);
    max-width: 820px;
}

/* sectietitels op branche- en kwaliteitpagina's: zelfde opmaak, met oranje streep */
.zsv .zsv-br-titel,
.zsv .zsv-km-titel,
.zsv .zsv-kw-titel {
    position: relative;
    margin: 0 0 20px;
    padding: 0 0 14px;
    font-family: var(--zsv-fh);
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1.1;
    color: var(--zsv-dark);
}

.zsv .zsv-br-titel::after,
.zsv .zsv-km-titel::after,
.zsv .zsv-kw-titel::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--zsv-red);
}

.zsv .zsv-br-tekst p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.7;
}

.zsv .zsv-br-foto {
    overflow: hidden;
    border-radius: 2px;
    background: var(--zsv-thead);
}

.zsv .zsv-br-foto-img {
    display: block;
    width: 100%;
    height: auto;
}

/* zelfde ruimte tussen de blokken als op de kwaliteitpagina */
.zsv .zsv-br-kw {
    margin-top: 64px;
}

.zsv .zsv-br > .zsv-br-kw:first-child {
    margin-top: 0;
}

/* knoppen even breed als in de kaarten van het overzicht */
.zsv .zsv-br-kw .zsv-ov-lijst {
    grid-template-columns: repeat(auto-fill, calc((50% - 29px - 3 * 8px) / 4));
}

.zsv .zsv-br-hint {
    margin: 0 0 16px;
    font-size: 14px;
    color: var(--zsv-silver);
}

.zsv .zsv-br-meer {
    margin-top: 64px;
}

.zsv .zsv-br-meer-knoppen {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.zsv .zsv-br-meer .zsv-kw-knop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.zsv .zsv-br-pijl {
    /* Inter heeft geen pijl in de Latijnse set; zelfde terugval als het overzicht */
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: var(--zsv-red);
    transition: transform .15s;
}

.zsv .zsv-br-meer a:hover .zsv-br-pijl,
.zsv .zsv-br-meer a:focus .zsv-br-pijl {
    transform: translateX(4px);
}

@media (max-width: 860px) {
    .zsv .zsv-br-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .zsv .zsv-br-titel,
    .zsv .zsv-km-titel,
    .zsv .zsv-kw-titel {
        font-size: 24px;
    }

    .zsv .zsv-br-kw .zsv-ov-lijst {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
