/* Moderne, responsieve presentatielaag voor template10. */
:root {
    --page-bg: #eef1f5;
    --surface: #ffffff;
    --surface-soft: #f7f8fa;
    --ink: #172033;
    --muted: #667085;
    --line: #e3e7ed;
    --accent: #e15204;
    --accent-dark: #b83d00;
    --header: #172033;
    --radius: 16px;
    --shadow: 0 18px 50px rgba(23, 32, 51, .10);
}

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: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", 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; }

/* 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); }

#topbalk {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 64px;
    background: var(--header);
}

#topfoto {
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    height: 300px;
    background-color: #334155;
}

#topfoto::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, .05), rgba(15, 23, 42, .48));
    pointer-events: none;
}

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

#header {
    position: relative;
    width: 100%;
    height: 64px;
    color: #fff;
}

#headerlogo { left: 4px; top: 10px; }
#headerlogo img { width: auto !important; max-width: 280px; height: 44px; object-fit: contain; }

#zoekbalk { top: 13px; right: 4px; width: auto; height: auto; background: none; }
#zoekbalk form {
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
}

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

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

#taalbalk { top: 14px; right: auto; left: 330px; padding: 6px 12px; border-radius: 999px; background: transparent; color: rgba(255,255,255,.3); }
#taalbalk a:link, #taalbalk a:visited { color: #fff; opacity: .82; }

#winkelmandje { top: 10px; 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: rgba(255,255,255,.88);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .025em;
    line-height: 1.2;
    white-space: nowrap;
}
#winkelmandje a:hover { color: #fff; text-decoration: none; }

#member_login {
    top: 11px;
    right: 500px;
    padding: 8px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: none;
}

#member_login img { display: block; width: 26px; height: 26px; }

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

#menuframe {
    position: sticky;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: auto;
    min-height: 66px;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: var(--radius) var(--radius) 0 0;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 32px rgba(23,32,51,.12);
    backdrop-filter: blur(14px);
}

#menuframe.fixed-nav { left: 50%; width: min(1240px, calc(100% - 40px)); transform: translateX(-50%); }

#menuframe #menu1 {
    display: block;
    position: relative;
    top: auto;
    height: auto;
    padding: 9px 12px;
    text-align: center;
}

#menuframe #menu1 > ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 3px; 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: 10px 12px;
    border-radius: 10px;
    color: #344054;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

#menuframe #menu1 a.level1:hover { color: var(--accent); background: #fff4ed; 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(225,82,4,.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: 34px;
}
#menuframe #menu1 > ul > li.hassub > a::after {
    position: absolute;
    top: 50%;
    right: 11px;
    content: "\25BE";
    font-size: 11px;
    line-height: 1;
    transform: translateY(-48%);
    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(-48%) rotate(180deg); }

#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: #fff4ed; color: var(--accent-dark); text-decoration: none; outline: none; }
#menuframe #menu1 a.level2:focus-visible { box-shadow: 0 0 0 3px rgba(225,82,4,.2); }

.container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 24px;
    padding: 24px;
    border-radius: 0 0 var(--radius) var(--radius);
    background: rgba(255,255,255,.72);
    box-shadow: var(--shadow);
}

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

#content1 { grid-column: 1; grid-row: 1; }
#content2 { grid-column: 2; grid-row: 1; background: var(--surface-soft); }
#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 'Aanvraag' en 'Correspondentie'. */
#content1 #tabnav {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 42px;
    min-height: 42px;
}

#content1 #tabnav > li {
    display: inline-block;
    float: none;
    flex: 0 1 150px;
    width: 150px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    list-style: none;
    vertical-align: bottom;
}

#content1 #tabnav > li > a.list[id^="tab"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    height: 42px !important;
    min-height: 42px;
    margin: 0 !important;
    padding: 9px 16px !important;
    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 #tabnav > li > a.list[id^="tab"]:hover {
    border-color: #b8c0cc;
    background: #fff4ed;
    color: var(--accent-dark);
}

#content1 #tabnav > li > 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(225, 82, 4, .18);
}

#content1 #tabnav > li > a.list[id^="tab"]:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(225, 82, 4, .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 input.knalrood:not([type="checkbox"]):not([type="radio"]),
#content1 textarea.roodrandje,
#content1 textarea.knalrood,
#content1 select.roodrandje,
#content1 select.knalrood {
    border: 2px solid #d92d20 !important;
    background-color: #fff5f5 !important;
    box-shadow: 0 0 0 3px rgba(217, 45, 32, .14);
    color: #7a271a !important;
}

#content1 input.roodrandje:not([type="checkbox"]):not([type="radio"]):focus,
#content1 input.knalrood:not([type="checkbox"]):not([type="radio"]):focus,
#content1 textarea.roodrandje:focus,
#content1 textarea.knalrood:focus,
#content1 select.roodrandje:focus,
#content1 select.knalrood: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(225, 82, 4, .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(225, 82, 4, .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(225,82,4,.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(225,82,4,.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(225,82,4,.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(225,82,4,.18); }
#content1 button.lagerhoger:focus-visible { outline: 3px solid rgba(225,82,4,.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: 68px;
        padding: 8px 14px;
        background: rgba(255,255,255,.96);
        box-shadow: 0 8px 24px rgba(23,32,51,.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(225,82,4,.28); outline-offset: 2px; }
    #headermobiel #headerlogo { position: static; }
    #headermobiel #headerlogo img { height: 42px; }
    #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; }

    #mobile-menu.menu1 {
        position: fixed;
        top: 68px;
        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 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: 42px;
    }
    #mobile-menu.menu1 li.hassub > a::after {
        position: absolute;
        top: 50%;
        right: 15px;
        content: "\25BE";
        font-size: 13px;
        transform: translateY(-50%);
        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(-50%) rotate(180deg); }
    #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; 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%; }
}

/* Luxe styling voor inhoudselementen met eigen, oudere inline vormgeving. */
#content1 div[style*="background: #FF6600"],
#content1 div[style*="background:#FF6600"] {
    color: var(--luxury-ivory) !important;
    border: 1px solid rgba(199, 162, 96, .48) !important;
    border-radius: 14px !important;
    background:
        radial-gradient(circle at 100% 0, rgba(199, 162, 96, .18), transparent 40%),
        linear-gradient(135deg, #1b2b3a 0%, #101923 100%) !important;
    box-shadow: 0 16px 34px rgba(12, 25, 36, .16) !important;
}

#content1 .marquee-child {
    color: var(--luxury-gold-light) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-weight: 600 !important;
    letter-spacing: .025em;
}

#content1 .cwcms-audioplayer {
    overflow: hidden !important;
    border: 1px solid rgba(199, 162, 96, .28) !important;
    border-radius: 16px !important;
    background: linear-gradient(145deg, #fffdf8, #f5efe4) !important;
    box-shadow: 0 16px 36px rgba(12, 25, 36, .12) !important;
}

#content1 .cwcms-audio-now,
#content1 .cwcms-audio-main {
    background: transparent !important;
}

#content1 .cwcms-audio-title {
    color: var(--luxury-navy) !important;
    font-family: Georgia, "Times New Roman", serif !important;
}

#content1 .cwcms-audio-meta,
#content1 .cwcms-audio-time {
    color: var(--luxury-muted) !important;
}

#content1 .cwcms-audio-controls button {
    color: var(--luxury-ivory) !important;
    border: 1px solid rgba(229, 202, 145, .42) !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, var(--luxury-gold), #a87932) !important;
    box-shadow: 0 7px 16px rgba(159, 116, 46, .22) !important;
}

#content1 .cwcms-audio-progress {
    background: rgba(18, 34, 49, .12) !important;
}

#content1 .cwcms-audio-progress span {
    background: linear-gradient(90deg, var(--luxury-gold), var(--luxury-gold-light)) !important;
}

#content1 .cwcms-audio-list {
    border-color: rgba(18, 34, 49, .1) !important;
    background: rgba(255, 255, 255, .55) !important;
}

#content1 .cwcms-audio-track {
    color: var(--luxury-text) !important;
    border-color: rgba(18, 34, 49, .08) !important;
}

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

@media (max-width: 520px) {
    body { font-size: 14px; }
    #headermobiel #headerlogo img { max-width: 190px; }
    #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; }
}

/* ==========================================================================
   Signature Luxury Edition — classy restyle voor template10
   ========================================================================== */
:root {
    --page-bg: #f2efe8;
    --surface: #fffdf9;
    --surface-soft: #f8f4ec;
    --ink: #17212c;
    --muted: #6c746f;
    --line: rgba(24, 33, 44, .12);
    --accent: #c7a260;
    --accent-dark: #81612d;
    --header: #111a25;
    --radius: 22px;
    --shadow: 0 28px 80px rgba(17, 26, 37, .14), 0 4px 16px rgba(17, 26, 37, .06);
    --luxury-gold-light: #e4ca92;
    --luxury-navy-soft: #1b2938;
}

html {
    background: var(--page-bg);
}

body {
    background:
        radial-gradient(circle at 8% 12%, rgba(199, 162, 96, .10), transparent 30rem),
        radial-gradient(circle at 92% 38%, rgba(27, 41, 56, .07), transparent 34rem),
        linear-gradient(180deg, #f8f5ef 0, var(--page-bg) 42rem);
    color: var(--ink);
    letter-spacing: .004em;
}

::selection {
    background: rgba(199, 162, 96, .34);
    color: #111a25;
}

h1, h2, h3, h4 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    letter-spacing: -.025em;
}

h1 { font-size: clamp(2.4rem, 4vw, 4.25rem); }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.15rem); }
h3 { font-size: clamp(1.2rem, 1.7vw, 1.5rem); }

a:link,
a:visited {
    color: var(--accent-dark);
    text-decoration-color: rgba(129, 97, 45, .35);
    text-underline-offset: 3px;
}

a:hover,
a:active {
    color: #5e421a;
    text-decoration-color: currentColor;
}

#topbalk {
    height: 68px;
    background:
        linear-gradient(90deg, rgba(199, 162, 96, .08), transparent 26%, transparent 74%, rgba(199, 162, 96, .07)),
        linear-gradient(135deg, #0c141e, #172536);
    border-bottom: 1px solid rgba(228, 202, 146, .18);
}

#topfoto {
    top: 68px;
    height: 322px;
    background-color: #263342;
    box-shadow: inset 0 -1px rgba(228, 202, 146, .16);
}

#topfoto::after {
    background:
        linear-gradient(90deg, rgba(10, 17, 25, .34), rgba(10, 17, 25, .04) 44%, rgba(10, 17, 25, .22)),
        linear-gradient(180deg, rgba(10, 17, 25, .04), rgba(10, 17, 25, .58));
}

#wrapper10 {
    width: min(1380px, calc(100% - 48px));
}

#header {
    height: 68px;
}

#header > #headerlogo {
    top: 8px;
    left: 0;
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: 4px 14px;
    border: 1px solid rgba(228, 202, 146, .28);
    border-radius: 13px;
    background: rgba(255, 253, 249, .94);
    box-shadow: 0 12px 32px rgba(5, 12, 20, .20);
    backdrop-filter: blur(16px);
}

#header > #headerlogo img {
    max-width: 270px;
    height: 40px;
}

#taalbalk {
    top: 15px;
    padding: 7px 14px;
    border: 1px solid rgba(228, 202, 146, .18);
    background: rgba(255, 255, 255, .04);
}

#taalbalk a:link,
#taalbalk a:visited {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
}

#taalbalk a:hover { color: var(--luxury-gold-light); }

#zoekbalk {
    top: 13px;
}

#zoekbalk form {
    border-color: rgba(228, 202, 146, .30);
    background: rgba(255, 255, 255, .07);
    box-shadow: inset 0 1px rgba(255, 255, 255, .05);
}

#zoekbalk .zoekbalkbalk {
    width: 230px;
    color: #fff;
}

#winkelmandje {
    top: 12px;
}

#winkelmandje img {
    filter: sepia(.3) saturate(1.25);
}

#winkelmandje a:link,
#winkelmandje a:visited {
    color: var(--luxury-gold-light);
}

#member_login {
    border: 1px solid rgba(228, 202, 146, .48);
    background: linear-gradient(135deg, var(--luxury-gold-light), var(--accent));
    box-shadow: 0 9px 24px rgba(0, 0, 0, .18);
}

#content {
    min-height: calc(100vh - 390px);
    margin-top: 282px;
    padding-bottom: 92px;
}

#menuframe {
    min-height: 66px;
    border: 1px solid rgba(228, 202, 146, .44);
    border-radius: 19px;
    background:
        linear-gradient(135deg, rgba(16, 26, 37, .96), rgba(27, 42, 57, .92));
    box-shadow: 0 24px 60px rgba(5, 12, 20, .28), inset 0 1px rgba(255, 255, 255, .06);
    backdrop-filter: blur(18px);
}

#menuframe.fixed-nav {
    width: min(1380px, calc(100% - 48px));
    border-radius: 0 0 18px 18px;
}

#menuframe #menu1 {
    min-height: 64px;
    padding-inline: 10px;
}

#menuframe #menu1 > ul {
    gap: 4px;
    min-height: 64px;
    padding: 9px 0;
}

#menuframe #menu1 a.level1:link,
#menuframe #menu1 a.level1:visited {
    padding: 10px 13px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: rgba(255, 255, 255, .82);
    font-size: 13.5px;
    font-weight: 620;
    letter-spacing: .012em;
}

#menuframe #menu1 > ul > li.hassub > a.level1:link,
#menuframe #menu1 > ul > li.hassub > a.level1:visited {
    padding-right: 34px;
}

#menuframe #menu1 a.level1:hover {
    border-color: rgba(228, 202, 146, .22);
    background: rgba(228, 202, 146, .09);
    color: #fff;
}

#menuframe #menu1 a.level1.active,
#menuframe #menu1 a.level1.hasactivesub {
    border-color: rgba(255, 255, 255, .24);
    background: linear-gradient(135deg, var(--luxury-gold-light), var(--accent));
    box-shadow: 0 10px 26px rgba(199, 162, 96, .26);
    color: #15202b;
}

#menuframe #menu1 > ul > li.hassub > a::after {
    color: var(--luxury-gold-light);
}

#menuframe #menu1 a.level1.active::after,
#menuframe #menu1 a.level1.hasactivesub::after {
    color: #15202b;
}

#menuframe #menu1 > ul > li.hassub > ul.level2 {
    top: calc(100% + 7px);
    padding: 9px;
    border: 1px solid rgba(199, 162, 96, .26);
    border-radius: 16px;
    background: rgba(255, 253, 249, .98);
    box-shadow: 0 26px 70px rgba(10, 18, 27, .24);
    backdrop-filter: blur(18px);
}

#menuframe #menu1 > ul > li.hassub > ul.level2::before {
    top: -9px;
    height: 10px;
}

#menuframe #menu1 a.level2:link,
#menuframe #menu1 a.level2:visited {
    color: #283746;
}

#menuframe #menu1 a.level2:hover,
#menuframe #menu1 a.level2:focus {
    background: #f1e7d4;
    color: #5e421a;
}

.container {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    padding: 28px 4px 4px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    animation: none;
}

#content1,
#content2 {
    padding: clamp(28px, 3vw, 42px);
    border: 1px solid rgba(24, 33, 44, .10);
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 253, 249, .94));
    box-shadow: var(--shadow);
}

#content2 {
    position: relative;
    align-self: start;
    background:
        linear-gradient(160deg, rgba(255, 253, 249, .98), rgba(245, 239, 228, .94));
}

#content1::before,
#content2::before {
    position: absolute;
    top: 0;
    right: 28px;
    left: 28px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(199, 162, 96, .80), transparent);
    content: "";
}

#content1,
#content2 {
    position: relative;
}

#kruimelpad {
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 650;
    letter-spacing: .07em;
    text-transform: uppercase;
}

#kruimelpad a {
    color: var(--accent-dark);
    text-decoration: none;
}

#content1 h1,
#content1 h2,
#content2 h1,
#content2 h2 {
    color: #15202b;
}

#content1 h2::after,
#content2 h2::after {
    display: block;
    width: 44px;
    height: 2px;
    margin-top: 11px;
    background: linear-gradient(90deg, var(--accent), transparent);
    content: "";
}

#content1 p,
#content2 p {
    color: #3d4955;
}

#content1 hr,
#content2 hr {
    margin-block: 26px;
    background: linear-gradient(90deg, transparent, rgba(24, 33, 44, .16), transparent);
}

#content1 input:not([type="checkbox"]):not([type="radio"]),
#content1 textarea,
#content1 select {
    border-color: rgba(24, 33, 44, .18);
    background: rgba(255, 255, 255, .88);
    box-shadow: inset 0 1px 2px rgba(17, 26, 37, .03);
}

#content1 input:not([type="checkbox"]):not([type="radio"]):focus,
#content1 textarea:focus,
#content1 select:focus {
    border-color: var(--accent);
    outline: 0;
    box-shadow: 0 0 0 4px rgba(199, 162, 96, .16);
}

/* De min- en plusknop gebruiken verschillende HTML-elementen.
   Houd ze daarom na de algemene formulierregels expliciet gelijk. */
#content1 input[type="button"].lagerhoger,
#content1 span.lagerhoger {
    border: 1px solid rgba(129, 97, 45, .58) !important;
    background: linear-gradient(135deg, var(--luxury-gold-light), var(--accent)) !important;
    box-shadow: 0 7px 16px rgba(129, 97, 45, .20);
    color: #17212c !important;
    line-height: 1 !important;
}

#content1 input[type="button"].lagerhoger:hover,
#content1 span.lagerhoger:hover {
    border-color: var(--accent-dark) !important;
    background: linear-gradient(135deg, #d5b777, #aa8243) !important;
    color: #17212c !important;
}

/* Datepicker uit fe_inschrijven / datumtijdingave.php. */
#ui-datepicker-div.ui-datepicker {
    z-index: 100100 !important;
    width: min(320px, calc(100vw - 24px));
    padding: 10px;
    border: 1px solid rgba(199, 162, 96, .42);
    border-radius: 16px;
    background: #fffdf8;
    box-shadow: 0 24px 70px rgba(7, 15, 23, .28);
    color: #253443;
    font-family: inherit;
    font-size: 14px;
}

#ui-datepicker-div .ui-datepicker-header {
    padding: 8px 38px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, #172635, #0f1924);
    color: #f7edd7;
}

#ui-datepicker-div .ui-datepicker-title {
    line-height: 28px;
}

#ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div .ui-datepicker-next {
    top: 8px;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(228, 202, 146, .30);
    border-radius: 8px;
    cursor: pointer;
}

#ui-datepicker-div .ui-datepicker-prev { left: 8px; }
#ui-datepicker-div .ui-datepicker-next { right: 8px; }

#ui-datepicker-div .ui-datepicker-prev:hover,
#ui-datepicker-div .ui-datepicker-next:hover {
    top: 8px;
    border-color: var(--luxury-gold-light);
    background: rgba(228, 202, 146, .14);
}

#ui-datepicker-div .ui-datepicker-prev-hover { left: 8px; }
#ui-datepicker-div .ui-datepicker-next-hover { right: 8px; }

#ui-datepicker-div .ui-datepicker-prev span,
#ui-datepicker-div .ui-datepicker-next span {
    width: 100%;
    height: 100%;
    margin: 0;
    inset: 0;
    background: none;
    color: var(--luxury-gold-light);
    font-size: 0;
    line-height: 28px;
    text-align: center;
    text-indent: 0;
}

#ui-datepicker-div .ui-datepicker-prev span::before,
#ui-datepicker-div .ui-datepicker-next span::before {
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
}

#ui-datepicker-div .ui-datepicker-prev span::before { content: "‹"; }
#ui-datepicker-div .ui-datepicker-next span::before { content: "›"; }

#ui-datepicker-div table {
    margin: 8px 0 2px;
    font-size: 13px;
}

#ui-datepicker-div th {
    padding: 7px 3px;
    color: #697582;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

#ui-datepicker-div td {
    padding: 2px;
    border: 0;
}

#ui-datepicker-div td a,
#ui-datepicker-div td span {
    padding: 7px 5px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: #253443;
    text-align: center;
}

#ui-datepicker-div td a:hover {
    border-color: rgba(199, 162, 96, .42);
    background: #f2e7d2;
    color: #5e421a;
}

#ui-datepicker-div .ui-datepicker-today a {
    border-color: rgba(199, 162, 96, .52);
    background: #f8f0df;
}

#ui-datepicker-div .ui-datepicker-current-day a {
    border-color: var(--accent);
    background: linear-gradient(135deg, var(--luxury-gold-light), var(--accent));
    color: #17212c;
    font-weight: 800;
}

.fencediv,
.selectionboxcat {
    border-color: rgba(129, 97, 45, .38);
    background: rgba(248, 244, 236, .72);
}

.fencelabel,
.labelcat {
    border-color: rgba(129, 97, 45, .38);
    background: var(--surface);
    color: #5e421a;
    box-shadow: 0 6px 18px rgba(17, 26, 37, .07);
}

#content1 input[type="submit"][class*="webshop_step"][class*="_submitButton"],
#content1 .webshop_orderbutton,
#content1 .webshop_buttonOrder {
    border-color: var(--accent) !important;
    background: linear-gradient(135deg, var(--luxury-gold-light), var(--accent)) !important;
    box-shadow: 0 10px 24px rgba(129, 97, 45, .22);
    color: #17212c !important;
}

#content1 input[type="submit"][class*="webshop_step"][class*="_submitButton"]:hover,
#content1 .webshop_orderbutton:hover,
#content1 .webshop_buttonOrder:hover {
    border-color: var(--accent-dark) !important;
    background: linear-gradient(135deg, #d5b777, #aa8243) !important;
}

#footer {
    height: 48px;
    min-height: 48px;
    padding-block: 6px;
    border-top: 1px solid rgba(228, 202, 146, .30);
    background:
        linear-gradient(90deg, rgba(199, 162, 96, .06), transparent 24%, transparent 76%, rgba(199, 162, 96, .05)),
        #101925;
    box-shadow: 0 -14px 36px rgba(5, 12, 20, .16);
}

#footer a:link,
#footer a:visited {
    color: rgba(255, 255, 255, .72);
}

#footer a:hover {
    color: var(--luxury-gold-light);
}

#copyright a {
    border-color: rgba(228, 202, 146, .24);
    color: var(--luxury-gold-light);
}

#overlaydiv,
#addbasketmelding,
.cookiediv,
.infolayer {
    border: 1px solid rgba(199, 162, 96, .32);
    background: var(--surface);
    box-shadow: 0 34px 100px rgba(7, 15, 23, .34);
}

@keyframes luxury-reveal {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Lightboxes moeten buiten de contentkaart over het volledige venster vallen. */
.fe-fotoboek-lightbox {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    z-index: 100000 !important;
}

@media (max-width: 900px) {
    body {
        padding-bottom: 48px;
        background:
            radial-gradient(circle at 50% 0, rgba(199, 162, 96, .12), transparent 24rem),
            var(--page-bg);
    }

    #headermobiel {
        height: 72px;
        padding: 9px 14px;
        border-bottom: 1px solid rgba(228, 202, 146, .28);
        background:
            linear-gradient(135deg, rgba(14, 23, 34, .98), rgba(27, 41, 56, .96));
        box-shadow: 0 14px 36px rgba(5, 12, 20, .20);
        backdrop-filter: blur(18px);
    }

    .mobile-menu-toggle {
        border: 1px solid rgba(228, 202, 146, .38);
        background: rgba(255, 253, 249, .96);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .16);
    }

    .mobile-menu-toggle:hover,
    .mobile-menu-toggle[aria-expanded="true"] {
        background: linear-gradient(135deg, var(--luxury-gold-light), var(--accent));
    }

    #headermobiel #headerlogo {
        padding: 3px 10px;
        border: 1px solid rgba(228, 202, 146, .30);
        border-radius: 11px;
        background: rgba(255, 253, 249, .96);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .14);
    }

    #headermobiel #headerlogo img {
        max-width: 205px;
        height: 40px;
    }

    #basket_icon a {
        width: 44px;
        height: 44px;
        border: 1px solid rgba(228, 202, 146, .50);
        background: linear-gradient(135deg, #243548, #111a25);
        box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
    }

    #mobile-menu.menu1 {
        top: 72px;
        left: 10px;
        width: calc(100% - 20px);
        max-height: calc(100vh - 88px);
        padding: 12px;
        border-color: rgba(228, 202, 146, .38);
        border-radius: 0 0 18px 18px;
        background:
            linear-gradient(160deg, rgba(16, 26, 37, .99), rgba(28, 43, 58, .99));
        box-shadow: 0 26px 70px rgba(5, 12, 20, .34);
    }

    #mobile-menu.menu1 a.level1:link,
    #mobile-menu.menu1 a.level1:visited {
        border: 1px solid transparent;
        color: rgba(255, 255, 255, .86);
    }

    #mobile-menu.menu1 a.level1:hover {
        border-color: rgba(228, 202, 146, .18);
        background: rgba(228, 202, 146, .08);
        color: #fff;
    }

    #mobile-menu.menu1 a.level1.active {
        border-color: rgba(255, 255, 255, .20);
        background: linear-gradient(135deg, var(--luxury-gold-light), var(--accent));
        color: #17212c;
        box-shadow: 0 10px 24px rgba(199, 162, 96, .20);
    }

    #mobile-menu.menu1 li.hassub > a::after {
        color: var(--luxury-gold-light);
    }

    #mobile-menu.menu1 a.level1.active::after {
        color: #17212c;
    }

    #mobile-menu.menu1 li.level2,
    #mobile-menu.menu1 li.level2 a {
        background: rgba(255, 255, 255, .055);
        color: rgba(255, 255, 255, .82);
    }

    #mobile-menu.menu1 li.level2 a:hover {
        background: rgba(228, 202, 146, .12);
        color: #fff;
    }

    #content {
        padding: 18px 10px 32px;
    }

    .container {
        gap: 18px;
        padding: 0;
    }

    #content1,
    #content2 {
        padding: clamp(22px, 6vw, 30px);
        border-radius: 18px;
        box-shadow: 0 18px 52px rgba(17, 26, 37, .11);
    }

    #content1::before,
    #content2::before {
        right: 20px;
        left: 20px;
    }

    #footer {
        height: 48px;
        min-height: 48px;
    }
}

@media (max-width: 520px) {
    h2 { font-size: 1.55rem; }

    #headermobiel #headerlogo img {
        max-width: 175px;
        height: 36px;
    }

    #content {
        padding-inline: 8px;
    }

    #content1,
    #content2 {
        padding: 22px 18px;
        border-radius: 16px;
    }
}
