/* Moderne, responsieve presentatielaag voor template10. Cacheversie menu-chevron 2. */
:root {
    --page-bg: #eaf3f8;
    --surface: #ffffff;
    --surface-soft: #f4f8fb;
    --ink: #102a43;
    --muted: #657789;
    --line: #dce6ed;
    --accent: #129ed4;
    --accent-dark: #0878ad;
    --header: #102a43;
    --radius: 18px;
    --shadow: 0 18px 48px rgba(16, 42, 67, .12);
}

html {
    min-width: 0 !important;
    background: var(--page-bg);
    scroll-padding-top: 76px;
}

body {
    min-width: 0;
    margin: 0;
    padding-bottom: 44px;
    background: var(--page-bg);
    color: var(--ink);
    font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    text-align: left;
}

body *, body *::before, body *::after { box-sizing: border-box; }
body img { max-width: 100%; height: auto; }

/* De oude stylesheet gebruikt ook device-width. Deze expliciete desktopbasis
   voorkomt dat die mobiele regels op hoge-dpi schermen doorlekken. */
#headermobiel,
#mobile-menu { display: none; }

/* Klein handje voor nieuwsbrief- en inschrijfformulieren, gelijk aan svvba.nl. */
body img[src$="/modules/images/wijsvinger.png"] {
    width: auto;
    max-width: none;
    height: 20px;
}

a:link, a:visited { color: var(--accent-dark); }
a:hover, a:active { color: var(--accent); }

h1, h2, h3, h4 {
    color: var(--ink);
    font-family: inherit;
    line-height: 1.2;
    letter-spacing: -.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.25rem, 2vw, 1.65rem); }
p { color: #344054; }
hr { height: 1px; border: 0; background: var(--line); }

/* H2-vormgeving naar voorbeeld van knuffelbos.nl. */
#content1 h2,
#content2 h2 {
    position: relative;
    margin: 0 0 14px;
    padding: 0 0 18px;
    color: var(--ink);
    font-size: clamp(1.65rem, 2.6vw, 2.15rem);
    font-weight: 780;
    line-height: 1.12;
    letter-spacing: -.04em;
}

#content1 h2::after,
#content2 h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 46px;
    height: 4px;
    border-radius: 999px;
    background: var(--accent);
    content: "";
}

#content1 h2:empty::after,
#content2 h2:empty::after,
#content1 th h2::after,
#content2 th h2::after { display: none; }

#content1 th h2,
#content2 th h2 {
    margin: 0;
    padding: 0;
    font-size: inherit;
    letter-spacing: inherit;
}

#topbalk {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 197px;
    background: #fff;
    z-index: 0;
}

#topfoto {
    position: absolute;
    top: 197px;
    left: 0;
    width: 100%;
    height: 364px;
    background-color: #2f536b;
    z-index: 0;
}

#topfoto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 42, 67, .03), rgba(16, 42, 67, .18));
    pointer-events: none;
}

#wrapper10 {
    position: relative;
    top: 0;
    z-index: 1;
    width: min(1180px, calc(100% - 40px));
    min-height: 100vh;
    margin: 0 auto;
    text-align: left;
}

#header {
    position: relative;
    width: 100%;
    height: 112px;
    color: var(--ink);
}

#header > #headerlogo { position: absolute !important; left: 0; top: 23px; }
#headerlogo .site-brand {
    display: inline-flex;
    flex-direction: column;
    color: var(--ink);
    line-height: 1;
    text-decoration: none;
}
#headerlogo .site-brand-name {
    font-size: clamp(2rem, 3vw, 2.4rem);
    font-weight: 780;
    letter-spacing: -.045em;
}
#headerlogo .brand-dot { color: var(--accent); }
#headerlogo .site-brand-subtitle {
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: .155em;
    text-transform: uppercase;
}
#headerlogo .site-brand-subtitle i {
    margin: 0 5px;
    color: var(--accent);
    font-style: normal;
}

#zoekbalk { position: absolute !important; top: 35px; right: 0; width: auto !important; height: auto; background: none; }
#zoekbalk form {
    display: flex;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(16,42,67,.05);
}

#zoekbalk .zoekbalkbalk {
    width: 210px;
    min-height: 38px;
    padding: 8px 10px 8px 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
}

#zoekbalk .zoekbalkbalk::placeholder { color: var(--muted); }
#zoekbalk .zoekbalkbutton { width: 42px; min-height: 38px; border: 0; border-radius: 0; cursor: pointer; }

#taalbalk { position: absolute !important; top: 37px; right: 275px; left: auto; padding: 6px 12px; border-radius: 999px; background: transparent; color: var(--muted); }
#taalbalk a:link, #taalbalk a:visited { color: var(--ink); opacity: .82; }

#winkelmandje { position: absolute !important; top: 36px; right: 280px; }
#winkelmandje table { border-collapse: collapse; }
#winkelmandje td { padding: 0 !important; vertical-align: middle; }
#winkelmandje td:first-child { width: 34px; }
#winkelmandje img {
    display: block;
    width: 28px;
    height: 28px;
    content: url("/skins/template10/images/winkelwagen.svg");
}
#winkelmandje a:link,
#winkelmandje a:visited {
    color: var(--ink);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .025em;
    line-height: 1.2;
    white-space: nowrap;
}
#winkelmandje a:hover { color: var(--accent-dark); text-decoration: none; }

#content {
    display: block;
    position: relative;
    top: auto;
    float: none;
    width: 100%;
    min-height: calc(100vh - 430px);
    margin-top: 0;
    padding: 0 0 72px;
    background: transparent;
}

#menuframe {
    float: none;
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: auto;
    min-height: 66px;
    border: 0;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    backdrop-filter: blur(14px);
}

#menuframe.fixed-nav {
    left: 50%;
    width: min(1180px, calc(100% - 40px));
    border-radius: 0;
    background: #fff;
    box-shadow: none;
    transform: translateX(-50%);
}

#menuframe.fixed-nav::before {
    position: absolute;
    z-index: 0;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    background: #fff;
    box-shadow: 0 12px 32px rgba(16,42,67,.14);
    content: "";
    pointer-events: none;
    transform: translateX(-50%);
}

#menuframe.fixed-nav #menu1 { z-index: 1; }

#menuframe #menu1 {
    display: block;
    position: relative;
    left: auto;
    top: auto;
    height: auto;
    width: auto;
    padding: 10px 0 12px;
    text-align: left;
}

#menuframe #menu1 > ul { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 5px; height: auto; }
#menuframe #menu1 ul li { float: none; margin: 0; padding: 0; line-height: normal; list-style: none; }

#menuframe #menu1 a.level1:link,
#menuframe #menu1 a.level1:visited {
    height: auto;
    padding: 12px 15px;
    border-radius: 10px;
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

#menuframe #menu1 a.level1:hover { color: var(--accent-dark); background: #edf8fc; text-decoration: none; }
#menuframe #menu1 a.level1.active,
#menuframe #menu1 a.level1.hasactivesub {
    height: auto;
    background: var(--accent);
    color: #fff;
    box-shadow: 0 7px 18px rgba(18,158,212,.25);
}

#menuframe #menu1 > ul > li.hassub { position: relative; }
#menuframe #menu1 > ul > li.hassub > a.level1:link,
#menuframe #menu1 > ul > li.hassub > a.level1:visited { position: relative; padding-right: 44px !important; }
#menuframe #menu1 > ul > li.hassub > a::after {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    content: "";
    transform: translateY(-70%) rotate(45deg);
    transition: transform 160ms ease;
}

#menuframe #menu1 > ul > li.hassub > ul.level2 {
    display: block;
    position: absolute;
    top: calc(100% - 2px);
    left: 0;
    z-index: 12000;
    min-width: 230px;
    padding: 8px;
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(7px);
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

#menuframe #menu1 > ul > li.hassub > ul.level2::before {
    position: absolute;
    right: 0;
    bottom: 100%;
    left: 0;
    height: 8px;
    content: "";
}

#menuframe #menu1 > ul > li.hassub:hover > ul.level2,
#menuframe #menu1 > ul > li.hassub:focus-within > ul.level2,
#menuframe #menu1 > ul > li.hassub.submenu-open > ul.level2 {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

#menuframe #menu1 > ul > li.hassub:hover > a::after,
#menuframe #menu1 > ul > li.hassub:focus-within > a::after,
#menuframe #menu1 > ul > li.hassub.submenu-open > a::after { transform: translateY(-25%) rotate(225deg); }

#menuframe #menu1 li.level2 { min-width: 210px; border: 0; border-radius: 8px; background: #fff; }
#menuframe #menu1 a.level2:link,
#menuframe #menu1 a.level2:visited {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 13px;
    border: 0;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    line-height: 1.35;
}
#menuframe #menu1 a.level2:hover,
#menuframe #menu1 a.level2:focus { background: #edf8fc; color: var(--accent-dark); text-decoration: none; outline: none; }
#menuframe #menu1 a.level2:focus-visible { box-shadow: 0 0 0 3px rgba(18,158,212,.2); }

.container {
    display: grid;
    position: relative;
    z-index: 2;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    margin-top: 314px;
    padding: 0 0 32px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

#content1, #content2 {
    float: none;
    width: auto;
    min-width: 0;
    min-height: 0;
    padding: 40px;
    border: 0;
    border-radius: var(--radius);
    background: var(--surface);
}

#content1 { grid-column: 1; grid-row: 1; }
#content2 { grid-column: 2; grid-row: 1; background: var(--surface); }
#content2:empty { display: none; }
#content2:empty + #content1 { grid-column: 1 / -1; width: auto !important; }

#content1 > :first-child, #content2 > :first-child { margin-top: 0; }
#content1 table, #content2 table { max-width: 100%; }
#content1 iframe, #content2 iframe { max-width: 100%; border-radius: 12px; }
#kruimelpad { margin-bottom: 12px; color: var(--muted); font-size: 13px; }

/* Tabs uit fe_inschrijven.php, waaronder het tabblad 'Aanvraag'. */
#content1 #tabnav {
    display: flex;
    align-items: flex-end;
    height: 42px;
    min-height: 42px;
}

#content1 li.tab1:has(> a.list[id^="tab"]) {
    display: inline-block;
    float: none;
    margin: 0 8px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    list-style: none;
    vertical-align: bottom;
}

#content1 li.tab1 > a.list[id^="tab"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid #cfd5de;
    border-radius: 10px 10px 0 0;
    background: var(--surface-soft);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer !important;
    transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

#content1 li.tab1 > a.list[id^="tab"]:hover {
    border-color: #b8c0cc;
    background: #edf8fc;
    color: var(--accent-dark);
}

#content1 li.tab1 > a.list.tabactief[id^="tab"] {
    border-color: var(--accent);
    border-bottom-color: var(--accent);
    background: var(--accent);
    color: #fff;
    box-shadow: 0 6px 14px rgba(18, 158, 212, .18);
}

#content1 li.tab1 > a.list[id^="tab"]:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(18, 158, 212, .22);
    outline-offset: 2px;
}

#content1 #tabcontent {
    top: -1px;
    border-top-color: #cfd5de;
}

#content1 input:not([type="checkbox"]):not([type="radio"]),
#content1 textarea,
#content1 select {
    max-width: 100%;
    min-height: 40px;
    padding: 8px 11px;
    border: 1px solid #cfd5de;
    border-radius: 9px;
    background: #fff;
}

/* Validatiestatus uit checkdutyfields(): zichtbaar zolang een verplicht veld leeg is. */
#content1 input.roodrandje:not([type="checkbox"]):not([type="radio"]),
#content1 textarea.roodrandje,
#content1 select.roodrandje {
    border: 2px solid #d92d20 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .14);
}

#content1 input.roodrandje:not([type="checkbox"]):not([type="radio"]):focus,
#content1 textarea.roodrandje:focus,
#content1 select.roodrandje:focus {
    outline: 0;
    box-shadow: 0 0 0 4px rgba(217, 45, 32, .22);
}

#dutyfieldsmessage {
    display: inline-block;
    margin-top: 10px;
    padding: 7px 11px;
    border: 1px solid #f0aaa4;
    border-radius: 8px;
    background: #fff5f5;
    color: #b42318;
    font-size: 13px;
    font-weight: 700;
}

/* Submitknoppen van de opeenvolgende winkelwagenstappen. */
#content1 input[type="submit"][class*="webshop_step"][class*="_submitButton"] {
    width: auto;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid var(--accent) !important;
    border-radius: 9px;
    background: var(--accent) !important;
    box-shadow: 0 6px 16px rgba(18, 158, 212, .22);
    color: #fff !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

#content1 input[type="submit"][class*="webshop_step"][class*="_submitButton"]:hover {
    border-color: var(--accent-dark) !important;
    background: var(--accent-dark) !important;
}

#content1 input[type="submit"][class*="webshop_step"][class*="_submitButton"]:focus-visible {
    outline: 3px solid rgba(18, 158, 212, .24);
    outline-offset: 2px;
}

.fencediv {
    position: relative;
    margin: 28px 0 12px;
    padding: 28px 16px 16px;
    border-color: #aeb7c4;
    border-radius: 12px;
}

.fencelabel {
    position: absolute;
    top: -14px;
    left: 14px;
    float: none;
    width: auto;
    height: 28px;
    margin: 0;
    padding: 3px 12px;
    border: 1px solid #aeb7c4;
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    white-space: nowrap;
}

/* Sectielabels van zoeken en productoverzicht in webshop v2. */
.selectionboxcat {
    position: relative;
    width: 100%;
    margin: 20px 0 26px;
    padding: 30px 18px 18px;
    border: 1px solid #aeb7c4;
    border-radius: 12px;
    background: var(--surface-soft);
    color: var(--ink);
}

.labelcat {
    display: inline-flex;
    position: absolute;
    top: -15px;
    right: auto;
    left: 16px;
    float: none;
    align-items: center;
    width: auto;
    min-height: 30px;
    height: auto;
    margin: 0;
    padding: 4px 13px;
    border: 1px solid #aeb7c4;
    border-radius: 8px;
    background: var(--surface);
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-align: left;
    white-space: nowrap;
}

.labelcat b { line-height: inherit; }

/* Aantalbediening digitale producten. */
#content1 input.lagerhoger,
#content1 span.lagerhoger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-height: 36px;
    margin: 0 2px;
    padding: 0 !important;
    border: 1px solid var(--accent-dark);
    border-radius: 10px;
    background: var(--accent);
    box-shadow: 0 4px 10px rgba(18,158,212,.18);
    color: #fff;
    font-family: inherit;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    -webkit-appearance: none;
    appearance: none;
}

#content1 input[type="button"].lagerhoger {
    height: 36px !important;
    min-height: 36px !important;
    border-color: var(--accent-dark);
    background: var(--accent);
    color: #fff;
    line-height: 34px;
}
#content1 input.lagerhoger:hover,
#content1 span.lagerhoger:hover { border-color: var(--accent-dark); background: var(--accent-dark); color: #fff; }
#content1 input.lagerhoger:active,
#content1 span.lagerhoger:active { transform: translateY(1px); box-shadow: none; }
#content1 input.lagerhoger:focus-visible,
#content1 span.lagerhoger:focus-visible { outline: 3px solid rgba(18,158,212,.22); outline-offset: 2px; }

#content1 input.bestelaantal {
    width: 44px !important;
    height: 36px !important;
    min-height: 36px !important;
    margin: 0 2px;
    padding: 0 !important;
    border: 1px solid #cfd5de;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 34px;
    text-align: center;
    vertical-align: middle;
    opacity: 1;
    -webkit-text-fill-color: var(--ink);
}

#content1 button.lagerhoger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 150px;
    height: 40px;
    min-height: 40px;
    margin: 10px 0 0;
    padding: 0 18px !important;
    border: 1px solid var(--accent-dark);
    border-radius: 10px;
    background: var(--accent);
    box-shadow: 0 6px 16px rgba(18,158,212,.22);
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

#content1 button.lagerhoger:hover { border-color: var(--accent-dark); background: var(--accent-dark); }
#content1 button.lagerhoger:active { transform: translateY(1px); box-shadow: 0 3px 8px rgba(18,158,212,.18); }
#content1 button.lagerhoger:focus-visible { outline: 3px solid rgba(18,158,212,.22); outline-offset: 2px; }

/* De transparante laag bedekt menu, mobiele header en vaste footer,
   maar blijft onder meldingen en andere popups. */
.witscherm {
    inset: 0;
    z-index: 999998;
}

/* Informatiepoppup van het winkelwagentje. De oude waarden 999/1000
   plaatsten zowel de achtergrond als de popup onder het hoofdmenu. */
.infolayerBG {
    inset: 0;
    z-index: 999998;
}

.infolayer {
    z-index: 999999;
}

#footer {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50000;
    width: 100%;
    height: 44px;
    min-height: 44px;
    padding: 5px 20px;
    border: 0;
    background: var(--header);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .14);
}

#footerwrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(1240px, 100%);
    min-height: 34px;
    margin: 0 auto;
    padding: 0;
}
#footer p { line-height: 1.5; }
#footer a:link, #footer a:visited { color: rgba(255,255,255,.82); }
#menuframe2, #menu2 { height: 34px; }
#menu2 { display: flex; align-items: center; }
#menu2 ul { height: auto; white-space: nowrap; }
#menu2 ul li { line-height: 34px; }
#menu2 a.level1:link, #menu2 a.level1:visited { line-height: 34px; }
#copyright { float: none; height: auto; top: auto; padding: 0; border: 0; background: transparent; }
#copyright a { display: inline-block; padding: 3px 10px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 12px; line-height: 22px; }

#addbasketmelding {
    top: 50%;
    left: 50%;
    overflow: auto;
    width: min(360px, calc(100% - 32px));
    height: auto;
    min-height: 0;
    max-height: calc(100vh - 32px);
    margin: 0;
    padding: 22px 24px;
    border: 1px solid var(--line);
    border-radius: 14px;
    font-size: 17px;
    line-height: 1.45;
    transform: translate(-50%, -50%);
}

#addbasketmelding a {
    display: inline-block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 700;
}

#overlaydiv {
    border: 0;
    border-radius: var(--radius);
    box-shadow: 0 28px 90px rgba(15,23,42,.28);
}

#overlaydivclose { padding: 8px 10px 0; }
#overlaydivclose img {
    display: inline-block;
    width: 30px !important;
    height: 30px !important;
    padding: 6px !important;
    border-radius: 50% !important;
    object-fit: contain;
    cursor: pointer;
}

.cookiediv { border-radius: var(--radius); box-shadow: var(--shadow); }

@media (max-width: 900px) {
    #topbalk, #topfoto, #header { display: none; }

    #wrapper10 { width: 100%; min-height: 100vh; }
    #headermobiel {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 20000;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        height: 76px;
        padding: 8px 14px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 8px 24px rgba(16,42,67,.12);
        backdrop-filter: blur(14px);
    }

    .mobile-menu-toggle {
        display: grid;
        flex: 0 0 44px;
        place-items: center;
        width: 44px;
        height: 44px;
        padding: 7px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    .mobile-menu-toggle img { display: block; width: 30px; height: auto; margin: 0; }
    .mobile-menu-toggle:hover,
    .mobile-menu-toggle[aria-expanded="true"] { background: #eef1f5; }
    .mobile-menu-toggle:focus-visible { outline: 3px solid rgba(18,158,212,.28); outline-offset: 2px; }
    #headermobiel #headerlogo { position: static; min-width: 0; }
    #headermobiel #headerlogo .site-brand { align-items: center; }
    #headermobiel #headerlogo .site-brand-name { font-size: clamp(1.35rem, 6vw, 1.8rem); }
    #headermobiel #headerlogo .site-brand-subtitle {
        margin-top: 6px;
        font-size: clamp(7px, 1.8vw, 9px);
        letter-spacing: .07em;
        white-space: nowrap;
    }
    #headermobiel #headerlogo .site-brand-subtitle i { margin-inline: 2px; }
    #basket_icon { position: static; }
    #basket_icon a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--header); }
    #basket_icon img { width: 25px; height: 25px; filter: brightness(0) invert(1); }

    #mobile-menu.menu1 {
        display: block;
        position: fixed;
        top: 76px;
        left: 12px;
        z-index: 19000;
        overflow: auto;
        width: calc(100% - 24px);
        max-height: calc(100vh - 84px);
        padding: 10px;
        border: 1px solid var(--line);
        border-radius: 14px;
        background: #fff;
        box-shadow: var(--shadow);
    }

    #mobile-menu.menu1[hidden] { display: none; }

    #mobile-menu.menu1 ul { height: auto; margin: 0; padding: 0; }
    #mobile-menu.menu1 > ul.level1 { display: flex; flex-direction: column; gap: 4px; }
    #mobile-menu.menu1 ul li { width: 100%; margin: 0; border: 0; list-style: none; }
    #mobile-menu.menu1 a.level1:link,
    #mobile-menu.menu1 a.level1:visited {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        border-radius: 9px;
        background: transparent;
        color: var(--ink);
        font-size: 17px;
        font-weight: 650;
        line-height: 1.35;
    }

    #mobile-menu.menu1 a.level1.active { background: var(--accent); color: #fff; }
    #mobile-menu.menu1 li.level2,
    #mobile-menu.menu1 li.level2 a { width: auto; background: #f7f8fa; font-size: 15px; line-height: 1.35; }
    #mobile-menu.menu1 li.hassub > a.level1:link,
    #mobile-menu.menu1 li.hassub > a.level1:visited { position: relative; padding-right: 50px !important; }
    #mobile-menu.menu1 li.hassub > a::after {
        position: absolute;
        top: 50%;
        right: 17px;
        width: 8px;
        height: 8px;
        border: solid currentColor;
        border-width: 0 2px 2px 0;
        content: "";
        transform: translateY(-70%) rotate(45deg);
        transition: transform 160ms ease;
    }
    #mobile-menu.menu1 li.hassub > ul.level2 {
        display: none;
        position: static;
        width: 100%;
        padding: 8px 8px 10px 18px;
        border: 0;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }
    #mobile-menu.menu1 li.hassub.submenu-open > ul.level2 { display: grid; gap: 4px; }
    #mobile-menu.menu1 li.hassub.submenu-open > a::after { transform: translateY(-25%) rotate(225deg); }
    #mobile-menu.menu1 li.level2 a {
        display: flex;
        align-items: center;
        min-height: 46px;
        padding: 11px 13px;
        border-radius: 8px;
    }

    #content { display: block; top: 0; float: none; width: 100%; margin-top: 0; padding: 16px 12px 28px; background: transparent; }
    #content #menuframe { display: none; }

    .container { display: flex; flex-direction: column; gap: 16px; margin-top: 0; padding: 0; border-radius: 0; background: transparent; box-shadow: none; }
    #content1, #content2 { width: 100%; padding: clamp(18px, 5vw, 28px); }
    #content1 { order: 1; }
    #content2 { display: block; order: 2; }
    #content2:empty { display: none; }

    #footer { display: block; padding-inline: 10px; }
    #footerwrapper { flex-wrap: nowrap; justify-content: center; gap: 0; }
    #menuframe2 { max-width: 100%; overflow-x: auto; overflow-y: hidden; }
    #menu2 { float: none; }
    #menu2 ul li { margin-inline: 6px; }
    #copyright { display: none; }
    #overlaydiv { width: calc(100% - 24px); min-height: 0; max-height: calc(100vh - 24px); margin: 12px; }
    .cookiediv { left: 12px; top: 20px; width: calc(100% - 24px); height: auto; margin: 0; padding: 22px; }

    .tweekolommen, .driekolommen, .webshop_grid, .webshop_grid_3 { grid-template-columns: minmax(0, 1fr); }
    .contactformulier { width: 100%; }
}

@media (min-width: 901px) and (max-width: 1100px) {
    #taalbalk { display: none; }
}

@media (max-width: 520px) {
    body { font-size: 14px; }
    #headermobiel #headerlogo .site-brand-subtitle { font-size: 7px; letter-spacing: .035em; }
    #content { padding-inline: 8px; }
    #content1, #content2 { padding: 18px; border-radius: 12px; }
    .img-right { float: none; display: block; width: 100%; margin: 16px 0; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
