/* ==========================================================================
   Imports
   ========================================================================== */
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300italic,400,400italic,600");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
@import url("fontawesome-all.min.css");

/*
	Helios by HTML5 UP
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root {
    --primary-color-black: #111111;
    --primary-color-red: #c1121f;
    --primary-color-red-soft: #4a0a0e;
    --primary-color-dark-grey: #3a3a3a;
    --primary-color-light-grey: #f2f2f2;

    --text-color: var(--primary-color-dark-grey);
    --bg-color: var(--primary-color-light-grey);

    --radius-sm: 0.5em;
    --radius-md: 0.75em;

    --shadow-sm: 0 0.15em 0.35em rgba(0, 0, 0, 0.08);
    --shadow-md: 0 0.35em 0.9em rgba(0, 0, 0, 0.12);

    --border-soft: 1px solid rgba(128, 128, 128, 0.2);

    --focus-ring: 3px solid rgba(193, 18, 31, 0.35);
    --focus-offset: 3px;
}

/* ==========================================================================
   Reset / base normalizations
   ========================================================================== */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
    font-size: 100%;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
    -webkit-text-size-adjust: none;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

mark {
    background-color: transparent;
    color: inherit;
}

input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

input,
select,
textarea {
    appearance: none;
}

/* Box sizing */
html {
    box-sizing: border-box;
}
*,
*:before,
*:after {
    box-sizing: inherit;
}

/* ==========================================================================
   Base typography / elements
   ========================================================================== */
body {
    background: var(--bg-color);
    color: var(--text-color);
    font-size: 15pt;
    line-height: 1.85em;
    font-family: Inter, sans-serif;
    font-weight: 300;
}

body.is-preload *,
body.is-preload *:before,
body.is-preload *:after {
    animation: none !important;
    transition: none !important;
}

input,
textarea,
select {
    font-size: 15pt;
    line-height: 1.85em;
    font-family: Inter, sans-serif;
    font-weight: 300;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 400;
    color: var(--primary-color-red-soft);
    line-height: 1.25em;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
    color: inherit;
    text-decoration: none;
    border-bottom-color: transparent;
}

h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
    font-weight: 600;
}

h2 {
    font-size: 2.85em;
}
h3 {
    font-size: 1.25em;
}
h4 {
    font-size: 1em;
    margin: 0 0 0.25em 0;
}

strong,
b {
    font-weight: 400;
    color: var(--primary-color-red-soft);
}

em,
i {
    font-style: italic;
}

a {
    color: inherit;
    border-bottom: solid 1px rgba(128, 128, 128, 0.15);
    text-decoration: none;
    transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out;
}
a:hover {
    color: var(--primary-color-red);
    border-bottom-color: transparent;
}

sub {
    position: relative;
    top: 0.5em;
    font-size: 0.8em;
}
sup {
    position: relative;
    top: -0.5em;
    font-size: 0.8em;
}

blockquote {
    border-left: solid 0.5em #ddd;
    padding: 1em 0 1em 2em;
    font-style: italic;
}

p,
ul,
ol,
dl,
table {
    margin-bottom: 1em;
}

p {
    text-align: justify;
}

br.clear {
    clear: both;
}

hr {
    position: relative;
    display: block;
    border: 0;
    top: 4.5em;
    margin-bottom: 9em;
    height: 6px;
    border-top: solid 1px rgba(128, 128, 128, 0.2);
    border-bottom: solid 1px rgba(128, 128, 128, 0.2);
}
hr:before,
hr:after {
    content: "";
    position: absolute;
    top: -8px;
    display: block;
    width: 1px;
    height: 21px;
    background: rgba(128, 128, 128, 0.2);
}
hr:before {
    left: -1px;
}
hr:after {
    right: -1px;
}

.timestamp {
    color: rgba(128, 128, 128, 0.75);
    font-size: 0.8em;
}

/* ==========================================================================
   Logo text (utility-ish)
   ========================================================================== */
span.logo-text-2,
span.logo-text-start,
span.logo-text-tech {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 1.5em;
}
span.logo-text-start,
span.logo-text-tech {
    color: var(--primary-color-light-grey);
}
span.logo-text-2 {
    color: var(--primary-color-red);
}

/* ==========================================================================
   Layout: container
   ========================================================================== */
.container {
    margin: 0 auto;
    max-width: 100%;
    width: 1400px;
}

/* ==========================================================================
   Layout: rows / grid (HTML5UP system)
   - Belangrijk: basis .row niet herhalen in elke MQ
   ========================================================================== */
.row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    box-sizing: border-box;
}
.row > * {
    box-sizing: border-box;
}
.row.gtr-uniform > * > :last-child {
    margin-bottom: 0;
}

/* Alignment helpers */
.row.aln-left {
    justify-content: flex-start;
}
.row.aln-center {
    justify-content: center;
}
.row.aln-right {
    justify-content: flex-end;
}
.row.aln-top {
    align-items: flex-start;
}
.row.aln-middle {
    align-items: center;
}
.row.aln-bottom {
    align-items: flex-end;
}

.row > .imp {
    order: -1;
}

/* Default columns */
.row > .col-1 {
    width: 8.33333%;
}
.row > .off-1 {
    margin-left: 8.33333%;
}
.row > .col-2 {
    width: 16.66667%;
}
.row > .off-2 {
    margin-left: 16.66667%;
}
.row > .col-3 {
    width: 25%;
}
.row > .off-3 {
    margin-left: 25%;
}
.row > .col-4 {
    width: 33.33333%;
}
.row > .off-4 {
    margin-left: 33.33333%;
}
.row > .col-5 {
    width: 41.66667%;
}
.row > .off-5 {
    margin-left: 41.66667%;
}
.row > .col-6 {
    width: 50%;
}
.row > .off-6 {
    margin-left: 50%;
}
.row > .col-7 {
    width: 58.33333%;
}
.row > .off-7 {
    margin-left: 58.33333%;
}
.row > .col-8 {
    width: 66.66667%;
}
.row > .off-8 {
    margin-left: 66.66667%;
}
.row > .col-9 {
    width: 75%;
}
.row > .off-9 {
    margin-left: 75%;
}
.row > .col-10 {
    width: 83.33333%;
}
.row > .off-10 {
    margin-left: 83.33333%;
}
.row > .col-11 {
    width: 91.66667%;
}
.row > .off-11 {
    margin-left: 91.66667%;
}
.row > .col-12 {
    width: 100%;
}
.row > .off-12 {
    margin-left: 100%;
}

/* Gutters (default = 40px) */
.row.gtr-0 {
    margin-top: 0px;
    margin-left: 0px;
}
.row.gtr-0 > * {
    padding: 0px 0 0 0px;
}
.row.gtr-0.gtr-uniform {
    margin-top: 0px;
}
.row.gtr-0.gtr-uniform > * {
    padding-top: 0px;
}

.row.gtr-25 {
    margin-top: -10px;
    margin-left: -10px;
}
.row.gtr-25 > * {
    padding: 10px 0 0 10px;
}
.row.gtr-25.gtr-uniform {
    margin-top: -10px;
}
.row.gtr-25.gtr-uniform > * {
    padding-top: 10px;
}

.row.gtr-50 {
    margin-top: -20px;
    margin-left: -20px;
}
.row.gtr-50 > * {
    padding: 20px 0 0 20px;
}
.row.gtr-50.gtr-uniform {
    margin-top: -20px;
}
.row.gtr-50.gtr-uniform > * {
    padding-top: 20px;
}

.row > * {
    padding: 40px 0 0 40px;
}
.row.gtr-uniform {
    margin-top: -40px;
}
.row.gtr-uniform > * {
    padding-top: 40px;
}

.row.gtr-150 {
    margin-top: -60px;
    margin-left: -60px;
}
.row.gtr-150 > * {
    padding: 60px 0 0 60px;
}
.row.gtr-150.gtr-uniform {
    margin-top: -60px;
}
.row.gtr-150.gtr-uniform > * {
    padding-top: 60px;
}

.row.gtr-200 {
    margin-top: -80px;
    margin-left: -80px;
}
.row.gtr-200 > * {
    padding: 80px 0 0 80px;
}
.row.gtr-200.gtr-uniform {
    margin-top: -80px;
}
.row.gtr-200.gtr-uniform > * {
    padding-top: 80px;
}

/* ==========================================================================
   Sections / articles
   ========================================================================== */
section,
article {
    margin-bottom: 3em;
}
section > :last-child,
section:last-child,
article > :last-child,
article:last-child {
    margin-bottom: 0;
}
section.special > header,
section.special > footer,
article.special > header,
article.special > footer {
    text-align: center;
}
.row > section,
.row > article {
    margin-bottom: 0;
}

header {
    margin: 0 0 1em 0;
}
header > p {
    display: block;
    font-size: 1.5em;
    margin: 1em 0 2em 0;
    line-height: 1.5em;
    text-align: inherit;
}
footer {
    margin: 2.5em 0 0 0;
}

/* ==========================================================================
   Images
   ========================================================================== */
.image {
    position: relative;
    display: inline-block;
    border: 0;
    outline: 0;
}
.image img {
    display: block;
    width: 100%;
}
.image.fit {
    display: block;
    width: 100%;
}
.image.featured {
    display: block;
    width: 100%;
    margin: 0 0 4em 0;
}
.image.left {
    float: left;
    margin: 0 2em 2em 0;
}
.image.centered {
    display: block;
    margin: 0 0 2em 0;
}
.image.centered img {
    margin: 0 auto;
    width: auto;
}

/* ==========================================================================
   Lists
   ========================================================================== */
ul {
    list-style: disc;
    padding-left: 1em;
}
ul li {
    padding-left: 0.5em;
}
ol {
    list-style: decimal;
    padding-left: 1.25em;
}
ol li {
    padding-left: 0.25em;
}

/* Actions */
ul.actions {
    margin: 3em 0 0 0;
    list-style: none;
    padding-left: 0;
}
form ul.actions {
    margin-top: 0;
}
ul.actions li {
    display: inline-block;
    margin: 0 0.75em;
    padding-left: 0;
}
ul.actions li:first-child {
    margin-left: 0;
}
ul.actions li:last-child {
    margin-right: 0;
}

/* Divided */
ul.divided {
    list-style: none;
    padding-left: 0;
}
ul.divided li {
    border-top: solid 1px rgba(128, 128, 128, 0.2);
    padding-top: 1.5em;
    margin-top: 1.5em;
    padding-left: 0;
}
ul.divided li:first-child {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
}

/* Menu */
ul.menu {
    height: 1em;
    line-height: 1em;
    list-style: none;
    padding-left: 0;
}
ul.menu li {
    display: inline-block;
    border-left: solid 1px rgba(128, 128, 128, 0.2);
    padding-left: 1.25em;
    margin-left: 1.25em;
}
ul.menu li:first-child {
    border-left: 0;
    padding-left: 0;
    margin-left: 0;
}

/* Icons list */
ul.icons {
    position: relative;
    background: rgba(128, 128, 128, 0.05);
    border-radius: 4em;
    display: inline-block;
    padding: 0.35em 0.75em;
    font-size: 1.25em;
    cursor: default;
    list-style: none;
}
ul.icons li {
    display: inline-block;
    padding-left: 0;
}
ul.icons li a {
    display: inline-block;
    background: none;
    width: 2.5em;
    height: 2.5em;
    line-height: 2.5em;
    text-align: center;
    border-radius: 100%;
    border: 0;
    color: inherit;
}
ul.icons li a:hover {
    color: var(--primary-color-red);
}

/* ==========================================================================
   Forms (centralized + consistent)
   ========================================================================== */
form label {
    display: block;
    font-weight: 400;
    color: #483949;
    margin: 0 0 1em 0;
}

/* Single source of truth for form controls */
form :where(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="date"], select, textarea) {
    display: block;
    width: 100%;
    border-radius: var(--radius-sm);
    border: solid 1px #e5e5e5;
    background: #fafafa;
    padding: 1em;
    transition: background-color 0.35s ease-in-out, border-color 0.35s ease-in-out, box-shadow 0.2s ease-in-out;
}

/* Make select arrow consistent */
form select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233A3A3A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 1em;
    padding-right: 3em;
}

form :where(input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="date"], select) {
    line-height: 1em;
}

form textarea {
    min-height: 9em;
}

form :where(input, select, textarea):focus {
    background: #fff;
    border-color: #df7366;
    outline: none;
}

/* Accessible focus ring (keyboard) */
form :where(input, select, textarea):focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
}

/* Placeholders */
form ::-webkit-input-placeholder {
    color: #555 !important;
}
form :-moz-placeholder {
    color: #555 !important;
}
form ::-moz-placeholder {
    color: #555 !important;
}
form :-ms-input-placeholder {
    color: #555 !important;
}

/* Checkbox form-field */
.form-field input[type="checkbox"] {
    appearance: auto;          /* behoud native checkbox */
    margin: 0;
}

/* Checkbox + label op één lijn */
.form-field.checkbox {
    display: flex;
    align-items: center;
    gap: 0.6em;
}

/* Label niet als blok (anders springt layout) */
.form-field.checkbox label {
    margin: 0;
    font-weight: 300;
    cursor: pointer;
}

/* Foutmelding onder checkbox */
.form-field.checkbox span[data-validate-for] {
    display: block;
    margin-top: 0.4em;
    margin-left: 1.6em; /* uitlijnen onder tekst, niet onder checkbox */
    font-size: 0.85em;
    color: var(--primary-color-red);
}

/* ==========================================================================
   Tables
   ========================================================================== */
table.default tbody tr {
    border-top: solid 1px #e5e5e5;
}
table.default tbody tr:first-child {
    border-top: 0;
}
table.default tbody tr:nth-child(2n + 1) {
    background: #fafafa;
}
table.default td,
table.default th {
    padding: 0.5em 1em;
}
table.default th {
    text-align: left;
    font-weight: 400;
}
table.default thead {
    border-bottom: solid 2px #e5e5e5;
}
table.default tfoot {
    border-top: solid 2px #e5e5e5;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
input[type="button"],
input[type="submit"],
input[type="reset"],
button,
.button {
    position: relative;
    display: inline-block;
    background: var(--primary-color-red-soft);
    color: #fff;
    text-align: center;
    border-radius: var(--radius-sm);
    text-decoration: none;
    padding: 0.65em 3em;
    border: 0;
    cursor: pointer;
    outline: 0;
    font-weight: 300;
    transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out, border-bottom-color 0.35s ease-in-out, transform 0.15s ease;
}
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
button:hover,
.button:hover {
    color: #fff;
    background: var(--primary-color-red);
}
input[type="button"].alt,
input[type="submit"].alt,
input[type="reset"].alt,
button.alt,
.button.alt {
    background: #2b252c;
}
input[type="button"].alt:hover,
input[type="submit"].alt:hover,
input[type="reset"].alt:hover,
button.alt:hover,
.button.alt:hover {
    background: #3b353c;
}
button:active,
.button:active {
    transform: translateY(1px);
}
button:focus-visible,
.button:focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
}

/* ==========================================================================
   Icons (FontAwesome)
   ========================================================================== */
.icon {
    text-decoration: none;
}
.icon:before {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: inherit;
    text-transform: none !important;
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    font-size: 1.25em;
}
.icon > .label {
    display: none;
}
.icon.solid:before {
    font-weight: 900;
}
.icon.brands:before {
    font-family: "Font Awesome 5 Brands";
}
.icon.circled {
    position: relative;
    display: inline-block;
    background: #2b252c;
    color: #fff;
    border-radius: 100%;
    width: 3em;
    height: 3em;
    line-height: 3em;
    text-align: center;
    font-size: 1.25em;
}
header .icon.circled {
    margin: 0 0 2em 0;
}

/* ==========================================================================
   Wrapper
   ========================================================================== */
.wrapper {
    background: #fff;
    margin: 0 0 2em 0;
    padding: 3em 0;
}
.wrapper.style2 {
    padding-top: 0;
}

/* ==========================================================================
   Header (hero)
   ========================================================================== */
#header {
    position: relative;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/hero.png");
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: var(--primary-color-light-grey);
    text-align: center;
    padding: 7.5em 0 2em 0;
    cursor: default;
}
#header:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

#header.hero-small:before {
    height: 80px;
}

#header .inner {
    position: relative;
    z-index: 1;
    margin: 0;
    display: inline-block;
    vertical-align: middle;
}

#header header {
    text-align: center;
}

#header header p {
    font-size: 1.25em;
    margin: 0;
    text-align: center;
}

#header .header-logo {
    display: block;
    margin: 0 auto 1.25em auto;
    width: 140px;
    height: auto;
}

#header h1 {
    color: var(--primary-color-light-grey);
    font-size: 3em;
    line-height: 1em;
}
#header h1 a {
    color: inherit;
}

#header .button {
    margin-top: 2em;
    display: inline-block;
    border-radius: 100%;
    width: 4.5em;
    height: 4.5em;
    line-height: 4.5em;
    text-align: center;
    font-size: 1.25em;
    font-weight: 700;
    padding: 0;
}

#header hr {
    top: 1.5em;
    margin-bottom: 3em;
    border-bottom-color: rgba(192, 192, 192, 0.35);
    box-shadow: inset 0 1px 0 0 rgba(192, 192, 192, 0.35);
}
#header hr:before,
#header hr:after {
    background: rgba(192, 192, 192, 0.35);
}

#header footer {
    margin: 1em 0 0 0;
}

body.homepage #header {
    height: 100vh;
    min-height: 40em;
}
body.homepage #header.hero-small {
    height: 100px;
    min-height: 100px;
}
body.homepage #header h1 {
    font-size: 4em;
}

body.homepage #header:after {
    content: "";
    background: var(--primary-color-red-soft);
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
    transition-delay: 0.5s;
}
body.homepage.is-preload #header:after {
    opacity: 1;
}

/* ==========================================================================
   Nav
   ========================================================================== */
#nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 1.5em 0;
    z-index: 3000;
    overflow: hidden;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}
#nav > ul {
    line-height: 0px;
    position: relative;
    display: inline-block;
    margin: 0;
    height: 21px;
    border-left: solid 1px rgba(192, 192, 192, 0.35);
    border-right: solid 1px rgba(192, 192, 192, 0.35);
}
#nav > ul:before,
#nav > ul:after {
    content: "";
    display: block;
    width: 300%;
    position: absolute;
    top: 50%;
    margin-top: -2px;
    height: 5px;
    border-top: solid 1px rgba(192, 192, 192, 0.35);
    border-bottom: solid 1px rgba(192, 192, 192, 0.35);
}
#nav > ul:before {
    left: 100%;
    margin-left: 1px;
}
#nav > ul:after {
    right: 100%;
    margin-right: 1px;
}

#nav > ul > li {
    display: inline-block;
    margin: -9px 0.5em 0 0.5em;
    border-radius: var(--radius-sm);
    padding: 0.85em;
    border: solid 1px transparent;
    transition: color 0.35s ease-in-out, border-color 0.35s ease-in-out;
}
#nav > ul > li.active,
#nav > ul > li:hover {
    border-color: rgba(192, 192, 192, 0.35);
    color: var(--primary-color-red);
}
#nav > ul > li > a,
#nav > ul > li > span {
    display: block;
    color: inherit;
    text-decoration: none;
    border: 0;
    outline: 0;
    font-weight: 700;
}
#nav > ul > li > ul {
    display: none;
}

/* Scrolled state */
body.nav-scrolled #nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.75em 0;
    background: rgba(17, 17, 17, 0.92);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
}
body.nav-scrolled #nav > ul > li > a,
body.nav-scrolled #nav > ul > li > span {
    color: #fff;
}
body.nav-scrolled #nav > ul > li:hover,
body.nav-scrolled #nav > ul > li.active {
    border-color: rgba(255, 255, 255, 0.25);
}
body.nav-scrolled {
    padding-top: 80px; /* tune if nav height changes */
}

/* --- Nav user item (rechts uitlijnen) --- */
#nav > ul {
    display: inline-flex;          /* zorgt dat we makkelijk naar rechts kunnen pushen */
    align-items: center;
    gap: 0;                        /* je spacing blijft via li padding */
}

#nav > ul > li.nav-user {
    margin-left: auto;             /* duwt dit item helemaal naar rechts */
    position: relative;
}

/* link styling */
#nav > ul > li.nav-user > a.nav-user__link {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    border-bottom: 0;
}

/* icoontje (FontAwesome fallback via CSS) */
#nav > ul > li.nav-user .nav-user__icon {
    width: 1.9em;
    height: 1.9em;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
}

#nav > ul > li.nav-user .nav-user__icon::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f007"; /* user icon */
    font-size: 0.95em;
    line-height: 1;
    color: currentColor;
}

/* submenu */
#nav > ul > li.nav-user > ul.nav-user__menu {
    display: none;                 /* hidden by default */
    position: absolute;
    right: 0;
    top: calc(100% + 0.6em);
    min-width: 12em;
    background: rgba(255, 255, 255, 0.975);
    border-radius: 0.6em;
    box-shadow: 0 0.15em 0.25em rgba(0, 0, 0, 0.25);
    padding: 0.6em 0.75em;
    list-style: none;
    z-index: 9999;
}

#nav > ul > li.nav-user > ul.nav-user__menu li {
    padding-left: 0;
}

#nav > ul > li.nav-user > ul.nav-user__menu li + li {
    border-top: 1px solid rgba(128, 128, 128, 0.2);
    margin-top: 0.35em;
    padding-top: 0.35em;
}

#nav > ul > li.nav-user > ul.nav-user__menu a {
    display: block;
    border-bottom: 0;
    padding: 0.5em 0.25em;
    color: #5b5b5b;
}

#nav > ul > li.nav-user > ul.nav-user__menu a:hover {
    color: var(--primary-color-red);
}

/* show submenu on hover (desktop) */
#nav > ul > li.nav-user:hover > ul.nav-user__menu {
    display: block;
}

/* in sticky nav (jij zet body.nav-scrolled) */
body.nav-scrolled #nav > ul > li.nav-user .nav-user__icon {
    background: rgba(255, 255, 255, 0.16);
}

/* ============ Mobile navPanel — alleen user item ============ */

/* Enkel het user-item krijgt flex alignment */
#navPanel nav a.link.nav-user__link {
    display: flex;
    align-items: center;
    gap: 0.75em;
    justify-content: flex-start; /* behoud standaard uitlijning */
}

/* Kleine indent zodat “Verhuur” etc niet verschuiven */
#navPanel nav a.link.nav-user__link .indent-0 {
    width: 0.9em;
    flex: 0 0 auto;
}

/* User icon */
#navPanel nav a.link.nav-user__link .nav-user__icon {
    width: 1.9em;
    height: 1.9em;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.12);
    flex: 0 0 auto;
}

#navPanel nav a.link.nav-user__link .nav-user__icon::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f007"; /* user icon */
    font-size: 0.95em;
    line-height: 1;
}

/* User text */
#navPanel nav a.link.nav-user__link .nav-user__left {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
}

/* Depth-1 (Uitloggen) minder extreem ingesprongen */
#navPanel nav a.link.depth-1 .indent-1 {
    width: 1.4em;
}


/* Dropotron */
.dropotron {
    background: rgba(255, 255, 255, 0.975);
    padding: 1em 1.25em;
    line-height: 1em;
    height: auto;
    text-align: left;
    border-radius: var(--radius-sm);
    box-shadow: 0 0.15em 0.25em 0 rgba(0, 0, 0, 0.25);
    min-width: 12em;
    margin-top: -1em;
    list-style: none;
}
.dropotron li {
    border-top: solid 1px rgba(128, 128, 128, 0.2);
    color: #5b5b5b;
    padding-left: 0;
}
.dropotron li:first-child {
    border-top: 0;
}
.dropotron li:hover {
    color: var(--primary-color-red);
}
.dropotron li a,
.dropotron li span {
    display: block;
    border: 0;
    padding: 0.5em 0;
    transition: color 0.35s ease-in-out;
}
.dropotron.level-0 {
    margin-top: 2em;
    font-size: 0.9em;
}
.dropotron.level-0:before {
    content: "";
    position: absolute;
    left: 50%;
    top: -0.7em;
    margin-left: -0.75em;
    border-bottom: solid 0.75em rgba(255, 255, 255, 0.975);
    border-left: solid 0.75em rgba(64, 64, 64, 0);
    border-right: solid 0.75em rgba(64, 64, 64, 0);
}

/* Nav item with cart badge */
.nav-item-with-badge {
    position: relative;
}

.nav-item-with-badge > a {
    position: relative;
    padding-right: 1.6em; /* ruimte voor badge */
}

/* Badge */
.nav-cart-badge {
    position: absolute;
    top: -0.45em;
    right: -0.45em;

    min-width: 1.35em;
    height: 1.35em;
    padding: 0 0.35em;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 0.7em;
    font-weight: 700;
    line-height: 1;

    color: #fff;
    background: var(--primary-color-red);

    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    pointer-events: none;
}

/* Zorg dat de link een eigen layout-context krijgt */
#nav > ul > li > a.nav-link-with-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    position: relative; /* referentie voor badge als je absolute wil */
}

/* Badge: standaard naast tekst */
#nav .nav-cart-badge {
    display: inline-grid;
    place-items: center;
    min-width: 1.35em;
    height: 1.35em;
    padding: 0 0.35em;
    border-radius: 999px;
    font-size: 0.75em;
    font-weight: 800;
    line-height: 1;
    background: var(--primary-color-red);
    color: #fff;
    transform: translateY(-0.1em);
}


@keyframes cart-badge-pop {
    0%   { transform: scale(0.8); opacity: 0; }
    60%  { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}

.nav-cart-badge {
    animation: cart-badge-pop 0.25s ease-out;
}

@media screen and (max-width: 736px) {
    .nav-cart-badge {
        top: -0.3em;
        right: -0.3em;
    }
}



/* ==========================================================================
   Banner
   ========================================================================== */
#banner {
    background: #fff;
    text-align: center;
    padding: 4.5em 0;
    margin-bottom: 0;
}

#banner header {
    display: flex;
    align-items: flex-start;
    gap: 3em;
    max-width: 1100px;
    margin: 0 auto;
}
#banner .banner-profile {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid var(--primary-color-light-grey);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.banner-text {
    text-align: left;
}
#banner h2 {
    margin-bottom: 0.75em;
}
#banner p {
    margin-bottom: 0.75em;
    line-height: 1.6em;
    font-size: 1em;
}
#banner p:first-of-type {
    font-weight: 500;
}
#banner p a {
    font-weight: 600;
    color: var(--primary-color-red);
    border-bottom: none;
}
#banner p a:hover {
    color: var(--primary-color-red-soft);
}

#banner p a.button {
    font-weight: 600;
    color: var(--primary-color-light-grey);
    border-bottom: none;
}
#banner p a.button:hover {
    color: inherit;
}

/* ==========================================================================
   Rental (section)
   ========================================================================== */
#rental {
    background: var(--primary-color-light-grey);
    text-align: center;
    padding: 4.5em 2em;
    margin-bottom: 0;
}
#rental header {
    margin-bottom: 75px;
}
#rental h3 {
    margin-bottom: 10px;
}
#rental p {
    margin-bottom: 0.75em;
    line-height: 1.6em;
    font-size: 1em;
}
#rental img {
    height: 200px;
    border-radius: 5px;
    margin-bottom: 20px;
}

#rental-category hr {
    position: unset;
    margin: 1em 0;
}
#rental-category h3 {
    margin-bottom: 0.75em;
}

div.rental-form {
    border-radius: 5px;
    background: var(--primary-color-light-grey);
}
div.rental-form label {
    margin-bottom: 5px;
}
div.rental-form textarea {
    width: 100% !important;
    height: 80px;
    min-height: 80px;
}

div.rental-form .row > div {
    padding: 20px;
}

div.rental-form span[data-validate-for] {
    display: block;
    margin-top: 0.35em;
    font-size: 0.85em;
    line-height: 1.4em;
    color: var(--primary-color-red);
}

div.rental-form .has-error input,
.has-error select,
.has-error textarea {
    border-color: var(--primary-color-red);
    background-color: rgba(193, 18, 31, 0.04);
}

div.rental-form button {
    padding: 20px;
    width: 100%;
}

div.rental-form  .button.oc-attach-loader,
input[type="submit"].oc-loading {
    background: var(--primary-color-dark-grey);
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.85;
}

div.rental-form .button.oc-attach-loader::after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    margin-left: 0.75em;
    border: 2px solid rgba(255,255,255,0.5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

button.is-success {
    background: rgba(34, 197, 94, 0.85);
    pointer-events: none;
}

div.alert-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #14532d;
    border-radius: 0.75em;
    padding: 1.25em 1.5em;
    margin: 1.5em 0;
    box-shadow: 0 0.15em 0.35em rgba(0, 0, 0, 0.06);
    text-align: left;
    animation: successFadeIn 0.35s ease-out;
}

@keyframes successFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Cart
   ========================================================================== */
/* Sidebar cart */
.sidebar-cart {
    background: #fff;
    border-radius: 0.85em;
    padding: 1.5em;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 0.15em 0.35em rgba(0, 0, 0, 0.08);
}
/* Wrapper in de sidebar kolom */
#sidebar .sidebar-sticky-wrap {
    position: relative;
}

/* Sticky cart zelf */
#sidebarCart {
    position: sticky;
    top: 6.5em; /* afstemmen op hoogte van je nav */
}

/* Als de cart lang kan worden: interne scroll */
#sidebarCart {
    max-height: calc(100vh - 8em);
    overflow: auto;
}


.sidebar-cart__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1em;
    margin: 0 0 1.25em 0;
}

.sidebar-cart__header h3 {
    margin: 0;
    font-size: 1.1em;
    color: var(--primary-color-red-soft);
}

.sidebar-cart__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25em 0.6em;
    border-radius: 999px;
    background: rgba(193, 18, 31, 0.10);
    color: var(--primary-color-red-soft);
    font-size: 0.85em;
    font-weight: 600;
    line-height: 1;
}

.sidebar-cart__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-cart__item {
    padding: 1em 0;
    border-top: 1px solid rgba(128, 128, 128, 0.15);
}

.sidebar-cart__item:first-child {
    border-top: 0;
    padding-top: 0;
}

.sidebar-cart__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75em;
}

.sidebar-cart__title {
    font-weight: 700;
    color: var(--primary-color-dark-grey);
    line-height: 1.35em;
}



.sidebar-cart__remove-link {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;

    font-size: 0.9em;
    font-weight: 600;
    color: rgba(193, 18, 31, 0.85);

    text-decoration: underline;
    transition: color 0.15s ease, opacity 0.15s ease;
}

.sidebar-cart__remove-link:hover {
    background: none;
    color: var(--primary-color-red);
}

.sidebar-cart__remove-link.oc-loading {
    opacity: 0.6;
    pointer-events: none;
}


.sidebar-cart__meta {
    margin-top: 0.75em;
    display: grid;
    gap: 0.35em;
}

.sidebar-cart__meta-row {
    display: flex;
    justify-content: space-between;
    gap: 1em;
    font-size: 0.95em;
}

.sidebar-cart__label {
    color: rgba(58, 58, 58, 0.75);
    font-weight: 500;
}

.sidebar-cart__value {
    color: var(--primary-color-dark-grey);
    font-weight: 600;
}

.sidebar-cart__footer {
    margin-top: 1.25em;
}

.sidebar-cart__cta {
    width: 100%;
    display: block;
}

.sidebar-cart__empty {
    margin: 0;
    text-align: left;
    color: rgba(58, 58, 58, 0.85);
    line-height: 1.6em;
}

/* Loading state when using data-attach-loading (October adds .oc-loading on the element) */
.sidebar-cart__remove.oc-loading,
.sidebar-cart__cta.oc-loading {
    opacity: 0.7;
    pointer-events: none;
}

@media screen and (max-width: 840px) {
    #cartSidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }
}

/* ==========================================================================
   Checkout
   ========================================================================== */

.checkout {
    text-align: left;
}

.checkout header > p {
    font-size: 0.85em;
}

/* container blijft zoals andere pagina's */
.checkout-steps {
    position: sticky;
    top: 0;              /* wordt overschreven per state */
    z-index: 200;        /* lager dan menu */
    background: var(--primary-color-light-grey);    /* noodzakelijk voor leesbaarheid */
}

/* Normale staat (menu is hoger) */
.checkout-steps {
    top: 120px; /* hoogte van #nav in normale staat */
}

/* Bij scroll (menu is compacter) */
body.nav-scrolled .checkout-steps {
    top: 60px; /* hoogte van #nav wanneer sticky */
}


.checkout-steps__inner {
    /* jouw bestaande .container bepaalt breedte */
}

/* De lijst is de “rail” */
.checkout-steps__list {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75em;
    align-items: start;

    margin: 0;
    padding: 0.75em 0 0.75em 0;
    list-style: none;
}

/* De horizontale lijn achter de dots */
.checkout-steps__list::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 1.25em; /* hoogte uitlijnen met het midden van de dot */
    height: 2px;
    background: rgba(128, 128, 128, 0.25);
    z-index: 0; /* achter dots/labels */
}

/* Per item */
.checkout-steps__item {
    position: relative;
    display: grid;
    justify-items: center;
    text-align: center;
    z-index: 1; /* boven de lijn */
    padding: 0 0.25em;
}

/* Dot */
.checkout-steps__dot {
    width: 1.1em;
    height: 1.1em;
    border-radius: 999px;
    background: #fff;
    border: 2px solid rgba(128, 128, 128, 0.35);
    box-shadow: 0 0.15em 0.35em rgba(0, 0, 0, 0.08);
}

/* Label: maak leesbaar door eigen achtergrond */
.checkout-steps__label {
    margin-top: 0.55em;
    display: inline-block;

    font-size: 0.95em;
    line-height: 1.2;
    font-weight: 600;
    color: rgba(58, 58, 58, 0.85);

    /* Dit is de key: label “snijdt” de lijn weg visueel */
    background: var(--bg-color); /* of #fff als je wrapper wit is */
    padding: 0.15em 0.5em;
    border-radius: 999px;
}

/* Done state */
.checkout-steps__item.is-done .checkout-steps__dot {
    border-color: rgba(34, 197, 94, 1);
    background: rgba(34, 197, 94, 1);
}

/* Active state */
.checkout-steps__item.is-active .checkout-steps__dot {
    background: var(--primary-color-red);
}

.checkout-steps__item.is-active .checkout-steps__label {
    color: var(--primary-color-red-soft);
}

/* Responsive: 2 per rij op small screens */
@media screen and (max-width: 736px) {
    .checkout-steps {
        margin: 1.5em 0 2em 0;
    }

    .checkout-steps__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.25em;
    }

    /* Op 2 rijen is één lange lijn minder mooi: verberg hem */
    .checkout-steps__list::before {
        display: none;
    }

    .checkout-steps__label {
        font-size: 0.95em;
    }
}


/* --- Card wrapper --- */
.checkout-card {
    background: #fff;
    border-radius: 0.85em;
    padding: 1.5em;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 0.15em 0.35em rgba(0, 0, 0, 0.08);
}

.checkout-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1em;
    margin: 0 0 1.25em 0;
}

.checkout-card__header h3 {
    margin: 0;
    font-size: 1.1em;
}

.checkout-card__meta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25em 0.6em;
    border-radius: 999px;
    background: rgba(193, 18, 31, 0.10);
    color: var(--primary-color-red-soft);
    font-size: 0.85em;
    font-weight: 700;
    line-height: 1;
}

/* --- Table --- */
.checkout-table-wrap {
    overflow: auto;
    border-radius: 0.75em;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.checkout-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    min-width: 860px; /* zodat hij netjes blijft op smalle schermen */
}

.checkout-table thead th {
    text-align: center;
    font-weight: 700;
    font-size: 0.95em;
    color: rgba(58, 58, 58, 0.9);
    background: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.9em 1em;
    white-space: nowrap;
}

.checkout-table td {
    padding: 0.95em 1em;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    vertical-align: top;
    background: #fff;
}

.checkout-table__product .checkout-table__name {
    font-weight: 800;
    color: var(--primary-color-dark-grey);
    line-height: 1.35em;
}

.checkout-table__product .checkout-table__sub {
    margin-top: 0.25em;
    font-size: 0.9em;
    color: rgba(58, 58, 58, 0.75);
}

.checkout-table__subrow{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:0.75em;
    margin-top:0.2em;
}

.checkout-table__actions{
    display:flex;
    align-items:center;
    gap:0.35em;
    flex-shrink:0;
}

.checkout-iconbtn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width: 35px;
    height: 35px;
    border-radius:0.6em;
    border:1px solid rgba(0,0,0,0.08);
    background:#fff;
    color: rgba(58,58,58,0.85);
    cursor:pointer;
    padding:0;
    line-height:1;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.checkout-iconbtn:hover{
    transform: translateY(-1px);
    border-color: rgba(193, 18, 31, 0.25);
    color: var(--primary-color-red);
    background:#fff;
}

.checkout-iconbtn .fa-save {
    font-size: 1.5em;
}

.checkout-iconbtn.is-danger:hover{
    border-color: rgba(193, 18, 31, 0.35);
    color: var(--primary-color-red);
}

.checkout-iconbtn.oc-loading{
    opacity:0.6;
    pointer-events:none;
}


.checkout-table tfoot td {
    background: rgba(0, 0, 0, 0.02);
}

.checkout-table__totals td {
    font-weight: 700;
    color: rgba(58, 58, 58, 0.9);
}

.checkout-table__grandtotal td {
    border-top: 1px solid rgba(193, 18, 31, 0.18);
}

.checkout-total {
    font-weight: 900;
    color: var(--primary-color-red-soft);
    font-size: 1.1em;
}

/* Alignment helpers */
.t-center { text-align: center; }
.t-right { text-align: right; }

/* --- Actions --- */
.checkout-actions {
    display: flex;
    gap: 1em;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.25em;
}

.checkout-next {
    min-width: 12em;
}

/* --- Empty state --- */
.checkout-empty {
    padding: 1em 0 0 0;
}

.checkout-empty p {
    margin: 0 0 1em 0;
    color: rgba(58, 58, 58, 0.85);
}

/* Responsive */
@media screen and (max-width: 840px) {
    .checkout-steps__list {
        grid-template-columns: 1fr;
    }

    .checkout-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-next {
        width: 100%;
    }
}

.checkout-confirm-grid{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2em;
    align-items: start;
}

/* Zorg dat elke kaart de volledige hoogte van de grid-cel gebruikt */
.checkout-confirm-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    max-height: 70vh;
}

.checkout-confirm-card .checkout-card__header{
    display:flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1em;
}

.checkout-confirm-edit{
    border-bottom: none;
    text-decoration: underline;
    font-weight: 600;
    color: var(--primary-color-red);
    white-space: nowrap;
}
.checkout-confirm-edit:hover{
    color: var(--primary-color-red-soft);
}

.checkout-confirm-items{
    margin-top: 0.25em;
    flex: 1 1 auto;               /* neemt resterende hoogte */
    overflow-y: auto;
    padding-right: 0.5em;
}

.checkout-confirm-item{
    padding: 1em 0;
    border-top: 1px solid rgba(128,128,128,0.15);
}
.checkout-confirm-item:first-child{
    border-top: 0;
    padding-top: 0.25em;
}

.checkout-confirm-item__top{
    display:flex;
    justify-content: space-between;
    gap: 1em;
    align-items: flex-start;
}
.checkout-confirm-item__name{
    font-weight: 700;
    color: var(--primary-color-dark-grey);
    line-height: 1.35em;
}
.checkout-confirm-item__price{
    font-weight: 700;
    color: var(--primary-color-red-soft);
    white-space: nowrap;
}

.checkout-confirm-item__meta{
    margin-top: 0.65em;
    display: grid;
    gap: 0.35em;
}
.checkout-confirm-item__meta-row{
    display:flex;
    justify-content: space-between;
    gap: 1em;
    font-size: 0.95em;
}
.checkout-confirm-label{
    color: rgba(58,58,58,0.75);
    font-weight: 500;
}
.checkout-confirm-value{
    color: var(--primary-color-dark-grey);
    font-weight: 600;
}

.checkout-confirm-total{
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid rgba(128,128,128,0.2);
    display:flex;
    justify-content: space-between;
    gap: 1em;
    flex-shrink: 0;
}

.checkout-confirm-block{
    margin-top: 0.25em;
}

.checkout-confirm-kv{
    padding: 0.9em 0;
    border-top: 1px solid rgba(128,128,128,0.15);
}
.checkout-confirm-kv:first-child{
    border-top: 0;
    padding-top: 0.25em;
}
.checkout-confirm-kv__label{
    font-weight: 600;
    color: rgba(58,58,58,0.75);
    margin-bottom: 0.35em;
}
.checkout-confirm-kv__value{
    color: var(--primary-color-dark-grey);
    font-weight: 600;
    line-height: 1.6em;
}

.checkout-confirm-bullets{
    margin: 0.25em 0 0 1.1em;
}
.checkout-confirm-bullets li{
    margin: 0.45em 0;
    padding-left: 0.15em;
}

.checkout-confirm-legal{
    margin-top: 1.25em;
}

@media screen and (max-width: 960px){
    .checkout-confirm-grid{
        grid-template-columns: 1fr;
        gap: 1.25em;
    }
}

/* Received page layout */
.checkout-received__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5em;
}

.checkout-received__block {
    background: var(--primary-color-light-grey);
    border-radius: 0.85em;
    padding: 1.25em;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.checkout-received__block h3 {
    margin: 0 0 0.75em 0;
}

.checkout-received__steps {
    margin: 0;
    padding-left: 1.1em;
    list-style: decimal;
}

.checkout-received__steps li {
    margin: 0.6em 0;
    padding-left: 0.25em;
}

.checkout-received__meta {
    margin: 1em 0 0 0;
    font-size: 0.95em;
    color: rgba(58, 58, 58, 0.9);
}

.checkout-received__soft {
    background: #fff;
}

/* Responsive */
@media screen and (max-width: 960px) {
    .checkout-received__grid {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   Checkout auth (login/register)
   =============================== */

.checkout-auth {
    padding: 2.5em;
}

.checkout-auth__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2.5em;
    align-items: start;
}

.checkout-auth__column h3 {
    margin-bottom: 1em;
    color: var(--primary-color-red-soft);
}

/* Vertical divider */
.checkout-auth__divider {
    width: 1px;
    background: rgba(128, 128, 128, 0.25);
    align-self: stretch;
}

/* Form layout helpers */
.checkout-auth .form-field {
    margin-bottom: 1em;
}

.checkout-auth .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1em;
}

.checkout-auth .button {
    font-size: 0.95em;
    padding: 0.75em 2.5em;
}
/* Zelfde error styling als je rental-form, maar nu ook in checkout */
.checkout-form span[data-validate-for] {
    display: block;
    margin-top: 0.35em;
    font-size: 0.85em;
    line-height: 1.4em;
    color: var(--primary-color-red);
}

/* Verticale scheidingslijn zoals de rest van de site: via border op rechter kolom */


.checkout-auth-grid__right {
    border-left: 1px solid rgba(128, 128, 128, 0.2);
    padding-left: 40px; /* match met je row gutter (40px) */
}

/* HR in register: zelfde als je “unset” stijl in rental */
.checkout-auth-grid__hr {
    position: unset;
    margin: 1em 0;
}

/* 1) Geef elke form-field onderlinge spacing (input kleefde tegen button) */
.checkout-form .form-field {
    margin: 0 0 1em 0;
}

/* 2) Label dichter bij de input, maar niet plakken */
.checkout-form .form-field label {
    margin: 0 0 0.4em 0; /* i.p.v. 1em global */
}

/* 3) Laat de submit knop niet kleven aan het laatste veld */
.checkout-form button.button {
    font-size: 0.95em;
    margin-top: 0.75em;
}

/* 4) Zorg dat de login-kolom ook “lucht” heeft t.o.v. de divider */
.checkout-auth-grid__right {
    border-left: 1px solid rgba(128, 128, 128, 0.2);
    padding-left: 40px;  /* blijft */
}

/* Voeg dit toe: padding aan de rechterkant van de linkerkolom */
.checkout-auth-grid > .col-6:first-child {
    padding-right: 40px;
}


/* Mobile: border weg en netjes onder elkaar */
@media screen and (max-width: 736px) {
    .checkout-auth-grid__right {
        border-left: 0;
        padding-left: 0;
        margin-top: 1.5em;
        padding-top: 1.5em;
        border-top: 1px solid rgba(128, 128, 128, 0.2);
    }
}


/* ===============================
   Responsive
   =============================== */

@media screen and (max-width: 960px) {
    .checkout-auth__grid {
        grid-template-columns: 1fr;
    }

    .checkout-auth__divider {
        display: none;
    }
}



/* ==========================================================================
   How-to
   ========================================================================== */
#how-to header.special p {
    max-width: 52em;
    margin-left: auto;
    margin-right: auto;
}

#how-to .steps {
    display: grid;
    align-items: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2em;
    margin-top: 3em;
}
#how-to .step {
    display: grid;
    grid-template-columns: 3.5em 1fr;
    gap: 1.25em;
    align-items: start;
    background: var(--primary-color-light-grey);
    border-radius: var(--radius-md);
    padding: 1.5em;
    box-shadow: var(--shadow-sm);
    height: 100%;
}
#how-to .step-number {
    width: 3em;
    height: 3em;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-weight: 700;
    line-height: 1;
    background: var(--primary-color-red);
    color: #fff;
}
#how-to .step-body h3 {
    margin: 0 0 0.35em 0;
    font-size: 1.2em;
    color: var(--primary-color-red-soft);
}
#how-to .step-body p {
    margin: 0;
    text-align: left;
    line-height: 1.7em;
}
#how-to .step-body a {
    border-bottom: none;
    text-decoration: underline;
}
#how-to .step-body a:hover {
    color: var(--primary-color-red);
}

/* ==========================================================================
   Content / sidebar spacing
   ========================================================================== */
#content > hr {
    top: 3em;
    margin-bottom: 6em;
}
#content > section {
    margin-bottom: 0;
}

#sidebar > hr {
    top: 3em;
    margin-bottom: 6em;
}
#sidebar > hr.first {
    display: none;
}
#sidebar > section {
    margin-bottom: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */
#contact .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2em;
    margin-top: 3em;
    align-items: start;
}
#contact .contact-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 2em;
    box-shadow: var(--shadow-sm);
}
#contact .contact-info {
    position: relative;
    padding-right: 3em;
}
#contact .contact-info::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background: rgba(128, 128, 128, 0.2);
}
#contact .contact-card h3 {
    margin: 0 0 1em 0;
    color: var(--primary-color-red-soft);
}

/* Contact list */
#contact .contact-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
#contact .contact-list li {
    padding: 0.75em 0;
    border-top: solid 1px rgba(128, 128, 128, 0.15);
}
#contact .contact-list li:first-child {
    border-top: 0;
    padding-top: 0;
}
#contact .contact-label {
    display: block;
    font-size: 0.9em;
    color: rgba(58, 58, 58, 0.8);
    margin-bottom: 0.15em;
}
#contact .contact-divider {
    top: 0;
    margin: 1.75em 0;
    height: 1px;
    border: 0;
    background: rgba(128, 128, 128, 0.2);
}
#contact .contact-note {
    margin: 0;
    text-align: left;
    font-size: 0.95em;
    line-height: 1.7em;
    color: rgba(58, 58, 58, 0.9);
}

/* Form layout */
#contact .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25em;
}
#contact .form-field {
    margin: 0;
}
#contact .form-field-full {
    grid-column: 1 / -1;
}
#contact label {
    color: var(--primary-color-dark-grey);
    margin-bottom: 0.5em;
}
#contact textarea {
    min-height: 10em;
    resize: vertical;
}
#contact ul.actions {
    margin-top: 1em;
}

/* Premium feel */
#contact :where(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
    border-radius: 0.6em;
}

/* ==========================================================================
   Alerts
   ========================================================================== */
.alert {
    position: relative;
    border-radius: var(--radius-md);
    padding: 1.25em 3em 1.25em 1.25em;
    margin: 1.25em 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 0.15em 0.35em rgba(0, 0, 0, 0.06);
    text-align: left;
}
.alert h4 {
    margin: 0 0 0.4em 0;
    font-size: 1.05em;
    font-weight: 600;
    line-height: 1.3em;
    color: inherit;
}
.alert p {
    margin: 0.35em 0 0 0;
    line-height: 1.6em;
}
.alert ul {
    margin: 0.6em 0 0 1.1em;
}
.alert ul li {
    margin: 0.2em 0;
}

/* Close button */
.alert .close {
    position: absolute;
    top: 0.6em;
    right: 0.75em;
    width: 2.25em;
    height: 2.25em;
    border: 0;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.alert .close span {
    font-size: 1.25em;
    line-height: 1;
}
.alert .close:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
    color: #14532d;
}
.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.25);
    color: #1e3a8a;
}
.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    border-color: rgba(245, 158, 11, 0.28);
    color: #7c2d12;
}
.alert-danger,
.alert-error {
    background: rgba(193, 18, 31, 0.1);
    border-color: rgba(193, 18, 31, 0.25);
    color: #4a0a0e;
}

.alert a {
    border-bottom: none;
    text-decoration: underline;
}
.alert a:hover {
    color: var(--primary-color-red);
}

/* ==========================================================================
   Rental overview
   ========================================================================== */
#rental-overview header.special p {
    max-width: 52em;
    margin-left: auto;
    margin-right: auto;
}

#rental-overview .product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2em;
    margin-top: 3em;
    align-items: stretch;
}

#rental-overview .product-card {
    height: 100%;
}

#rental-overview .product-link {
    display: grid;
    grid-template-rows: auto 1fr auto;
    height: 100%;
    background: #fff;
    border-radius: 0.85em;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#rental-overview .product-image {
    display: block;
    aspect-ratio: 4 / 3;
    background: rgba(0, 0, 0, 0.04);
}
#rental-overview .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#rental-overview .product-body {
    padding: 1.4em 1.4em 1em 1.4em;
    text-align: left;
}
#rental-overview .product-body h3 {
    margin: 0 0 0.5em 0;
    font-size: 1.15em;
    line-height: 1.35em;
    color: var(--primary-color-red-soft);
}
#rental-overview .product-body p {
    margin: 0;
    line-height: 1.65em;
}

#rental-overview .product-footer {
    padding: 0 1.4em 1.4em 1.4em;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
#rental-overview .product-cta {
    font-weight: 600;
    color: var(--primary-color-red);
    border-bottom: 1px solid rgba(193, 18, 31, 0.35);
}

#rental-overview .product-link:hover {
    transform: translateY(-2px);
    border-color: rgba(193, 18, 31, 0.25);
    box-shadow: var(--shadow-md);
}
#rental-overview .product-link:focus-visible {
    outline: var(--focus-ring);
    outline-offset: var(--focus-offset);
}

/* ==========================================================================
   Main
   ========================================================================== */
#main {
    margin-bottom: 0;
}
#main section:first-of-type {
    padding-top: 2em;
}

/* =========================
   SmallGDPR cookiebar (jouw markup: #sg-cookiesBar > #cookies-bar)
   ========================= */

/* Bar container */
#sg-cookiesBar {
    position: fixed;
    left: 1.25em;
    right: 1.25em;
    bottom: 1.25em;
    z-index: 99999;
}

#sg-cookiesBar #cookies-bar.cookies-bar {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0.85em;
    box-shadow: 0 0.35em 0.9em rgba(0, 0, 0, 0.12);

    padding: 1.25em 1.25em;
    color: var(--primary-color-dark-grey, #3a3a3a);

    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 1em;
}

/* Title */
#sg-cookiesBar #cookies-bar .title {
    margin: 0;
    font-size: 1.05em;
    font-weight: 600;
    color: var(--primary-color-red-soft, #4a0a0e);
    flex: 0 0 auto;
}

/* Content */
#sg-cookiesBar #cookies-bar .content {
    flex: 1 1 320px;
}
#sg-cookiesBar #cookies-bar .content p {
    margin: 0;
    line-height: 1.6em;
    text-align: left;
}

/* Buttons wrapper */
#sg-cookiesBar #cookies-bar .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75em;
    justify-content: flex-end;
    flex: 0 0 auto;
}

/* Base button style (match jouw site buttons) */
#sg-cookiesBar #cookies-bar .buttons a {
    background: var(--primary-color-red-soft, #4a0a0e);
    color: #fff;
    border: 0;
    border-radius: var(--radius-sm, 0.5em);
    padding: 0.65em 1.25em;
    line-height: 1.2em;
    font-weight: 300;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.35s ease-in-out, transform 0.15s ease, opacity 0.15s ease;
}

#sg-cookiesBar #cookies-bar .buttons a:hover {
    background: var(--primary-color-red, #c1121f);
    transform: translateY(-1px);
}

/* Primary: Alles accepteren */
#sg-cookiesBar #cookies-bar .buttons a.btn-accept-all {
    background: var(--primary-color-red-soft, #4a0a0e);
}
#sg-cookiesBar #cookies-bar .buttons a.btn-accept-all:hover {
    background: var(--primary-color-red, #c1121f);
}

/* Secondary: Instellingen (jouw markup heeft geen class, dus target via :not(...) ) */
#sg-cookiesBar #cookies-bar .buttons a:not(.btn-accept-all):not(.btn-disable-all) {
    background: #2b252c; /* zelfde als .button.alt */
}
#sg-cookiesBar #cookies-bar .buttons a:not(.btn-accept-all):not(.btn-disable-all):hover {
    background: #3b353c;
}

/* Ghost: Enkel noodzakelijke cookies */
#sg-cookiesBar #cookies-bar .buttons a.btn-disable-all {
    background: transparent;
    color: var(--primary-color-red-soft, #4a0a0e);
    border: 1px solid rgba(0, 0, 0, 0.14);
}
#sg-cookiesBar #cookies-bar .buttons a.btn-disable-all:hover {
    background: rgba(193, 18, 31, 0.06);
    border-color: rgba(193, 18, 31, 0.25);
    color: var(--primary-color-red, #c1121f);
}

/* Mobile */
@media screen and (max-width: 736px) {

    /* === COOKIE BAR: COMPACT + GEEN GROTE WITTE RUIMTE === */
    #sg-cookiesBar #cookies-bar.cookies-bar {
        padding: 1em !important;
        display: block !important;
    }

    /* titel/tekst: haal de standaard margins weg die vaak de "witte ruimte" geven */
    #sg-cookiesBar #cookies-bar .title {
        margin: 0 0 0.35em 0 !important;
    }

    #sg-cookiesBar #cookies-bar .content,
    #sg-cookiesBar #cookies-bar .content p {
        margin: 0 !important;
    }

    /* === KNOPPEN: 2 naast elkaar + 1 volle breedte eronder === */
    #sg-cookiesBar #cookies-bar .buttons {
        margin-top: 0.75em !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 0.6em !important;
        width: 100% !important;
    }

    #sg-cookiesBar #cookies-bar .buttons a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        padding: 0.85em 1em !important;
        line-height: 1.2 !important;

        border-radius: 0.5em !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        box-sizing: border-box !important;
    }

    /* Derde knop (enkel noodzakelijke) op volle breedte onderaan */
    #sg-cookiesBar #cookies-bar .buttons a.btn-disable-all {
        grid-column: 1 / -1 !important;
    }
}




/* ==========================================================================
   Footer
   ========================================================================== */
#footer {
    position: relative;
    padding: 4em 0 0 0;
    overflow: hidden;
    background: #2b252c;
    color: #fff;
}
#footer .icon.circled {
    background: #fff;
    color: #2b252c;
}
#footer header {
    text-align: center;
    cursor: default;
}
#footer h2,
#footer h3,
#footer h4,
#footer h5,
#footer h6 {
    color: #fff;
}
#footer .contact {
    text-align: center;
}
#footer .contact p {
    text-align: center;
    margin: 0 0 3em 0;
}
#footer .copyright {
    text-align: center;
    color: rgba(128, 128, 128, 0.75);
    font-size: 0.8em;
    cursor: default;
}
#footer .copyright a {
    color: rgba(128, 128, 128, 0.75);
}
#footer .copyright a:hover {
    color: rgba(212, 212, 212, 0.85);
}

/* ===============================
   Footer – iteration (brand + sitemap)
   =============================== */

#footer {
    background: #2b252c;
    color: rgba(255, 255, 255, 0.75);
    padding: 2.1em 0 1.35em 0;
    font-size: 0.85em;
}

#footer .container {
    /* hou 'm strak; je global container is ok */
}

/* Top layout: brand cluster + sitemap */
#footer .footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2em;
    margin-bottom: 1.1em;
}

/* Brand cluster: socials + company close together */
#footer .footer-brand {
    display: inline-flex;
    flex-direction: column;   /* zet items onder elkaar */
    align-items: flex-start;  /* links uitlijnen */
    gap: 0.45em;              /* kleinere verticale spacing */
}

#footer .footer-socials {
    justify-content: flex-start;
}

/* Socials */
#footer .footer-socials {
    display: inline-flex;
    gap: 0.45em;          /* <-- dichter bij elkaar */
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

#footer .footer-socials a {
    width: 2.25em;
    height: 2.25em;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 0;
}

#footer .footer-socials a:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Company */
#footer .footer-company {
    line-height: 1.35em;
    white-space: nowrap;
}

#footer .footer-company__name {
    display: block;
    font-weight: 600;
    color: #fff;
}

#footer .footer-company__meta {
    font-size: 0.85em;
    opacity: 0.75;
}

#footer .footer-company__address {
    display: block;
    margin-top: 0.2em;
    font-size: 0.85em;
    line-height: 1.4em;
    opacity: 0.7;
}


/* Sitemap links */
#footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75em 1.1em;   /* row-gap / col-gap */
    text-align: right;
}

#footer .footer-links a {
    color: rgba(255, 255, 255, 0.78);
    border-bottom: none;
    text-decoration: none;
    position: relative;
    padding-bottom: 0.05em;
}

#footer .footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Bottom micro line */
#footer .footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.55em;
    font-size: 0.8em;
    opacity: 0.7;
}

#footer .footer-dot {
    opacity: 0.65;
}

/* ===============================
   Mobile
   =============================== */
@media screen and (max-width: 736px) {
    #footer {
        padding: 1.9em 1em 1.2em 1em;
        text-align: center;
    }

    #footer .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 1.1em;
    }

    #footer .footer-brand {
        flex-direction: column;
        gap: 0.65em;
    }

    #footer .footer-brand {
        align-items: center;
    }

    #footer .footer-socials {
        justify-content: center;
    }

    #footer .footer-company {
        white-space: normal; /* laat netjes breken */
    }

    #footer .footer-company__address {
        margin-top: 0.3em;
    }

    #footer .footer-links {
        justify-content: center;
        text-align: center;
        gap: 0.6em 1.1em;
    }

    #footer .footer-bottom {
        flex-wrap: wrap;
    }
}


/* ==========================================================================
   Carousel
   ========================================================================== */
.carousel {
    position: relative;
    overflow: hidden;
    padding: 2em 0;
    margin-bottom: 0;
}
.carousel .forward,
.carousel .backward {
    position: absolute;
    top: 50%;
    width: 6em;
    height: 12em;
    margin-top: -6em;
    cursor: pointer;
}
.carousel .forward:before,
.carousel .backward:before {
    content: "";
    display: block;
    width: 6em;
    height: 6em;
    border-radius: 100%;
    background-color: rgba(72, 57, 73, 0.5);
    position: absolute;
    top: 50%;
    margin-top: -3em;
    transition: background-color 0.35s ease-in-out;
    -webkit-backface-visibility: hidden;
}
.carousel .forward:after,
.carousel .backward:after {
    content: "";
    width: 3em;
    height: 3em;
    position: absolute;
    top: 50%;
    margin: -1.5em 0 0 0;
    background: url("images/arrow.svg") no-repeat center center;
}
.carousel .forward:hover:before,
.carousel .backward:hover:before {
    background-color: rgba(239, 131, 118, 0.75);
}
.carousel .forward {
    right: 0;
}
.carousel .forward:before {
    right: -3em;
}
.carousel .forward:after {
    right: -0.25em;
}
.carousel .backward {
    left: 0;
}
.carousel .backward:before {
    left: -3em;
}
.carousel .backward:after {
    left: -0.25em;
    transform: scaleX(-1);
}
.carousel .reel {
    white-space: nowrap;
    position: relative;
    -webkit-overflow-scrolling: touch;
    padding: 0 2em;
}
.carousel article {
    display: inline-block;
    width: 18em;
    background: #fff;
    text-align: center;
    padding: 0 1em 3em 1em;
    margin: 0 2em 0 0;
    white-space: normal;
    opacity: 1;
    transition: opacity 0.75s ease-in-out;
}
.carousel article.loading {
    opacity: 0;
}
.carousel article .image {
    position: relative;
    left: -1em;
    top: 0;
    width: auto;
    margin-right: -2em;
    margin-bottom: 3em;
}
.carousel article p {
    text-align: center;
}

/* ==========================================================================
   Mobile nav panel (kept as-is, but grouped)
   ========================================================================== */
/* Desktop: verberg mobile nav UI */
#navButton,
#navPanel,
#titleBar {
    display: none;
}

/* Mobile: toon hamburger + panel */
@media screen and (max-width: 736px) {

    /* Hamburger knop */
    #navButton {
        display: block;
        position: fixed;
        top: 0.75em;
        left: 0.75em;
        z-index: 10001;
    }

    #navButton .toggle {
        display: block;
        width: 3em;
        height: 3em;
        border-radius: 0.6em;
        background: rgba(17, 17, 17, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.15);
        text-decoration: none;
        position: relative;
    }

    /* Hamburger icoon (FontAwesome) */
    #navButton .toggle:before {
        content: "\f0c9"; /* fa-bars */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        color: #fff;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 1.2em;
        line-height: 1;
    }

    /* Panel container */
    #navPanel {
        display: block; /* <-- dit is de cruciale fix */
        position: fixed;
        top: 0;
        left: 0;
        width: 80%;
        max-width: 20em;
        height: 100%;
        z-index: 10000;
        background: rgba(17, 17, 17, 0.95);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-100%);
        transition: transform 0.25s ease;
        padding: 4em 1em 1em 1em;
    }

    /* Wanneer panel open is (class wordt door JS gezet op body) */
    body.navPanel-visible #navPanel {
        transform: translateX(0);
    }

    /* Links in panel */
    #navPanel nav a {
        display: block;
        color: #fff;
        text-decoration: none;
        border: 0;
        padding: 0.9em 0.75em;
        border-radius: 0.5em;
        margin-bottom: 0.35em;
        font-weight: 700;
    }

    #navPanel nav a:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    /* Submenu items iets inspringen */
    #navPanel nav a.depth-1 {
        padding-left: 1.5em;
        font-weight: 600;
        opacity: 0.95;
    }
}

/* Desktop badge blijft naast Verhuur (in #nav) */
#nav .nav-item-with-badge > a {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

/* Mobile panel: maak badge op basis van data-cart-count */
/* =========================
   Mobile nav cart badge
   ========================= */

/* Zorg dat links layout krijgen */
/* Zorg dat de link zelf dezelfde layout behoudt */
#navPanel nav a.link {
    position: relative;
    padding-right: 3.25em; /* ruimte voor de badge */
}

/* Badge rechts in de link */
#navPanel nav a.link[data-cart-count]::after {
    content: attr(data-cart-count);
    position: absolute;
    margin-left: 10px;
    top: 50%;
    transform: translateY(-50%);

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 1.6em;
    height: 1.6em;
    padding: 0 0.45em;

    border-radius: 999px;
    background: var(--primary-color-red);
    color: #fff;

    font-size: 0.8em;
    font-weight: 700;
    line-height: 1;
}




/* ==========================================================================
   MEDIA QUERIES (grouped & ordered)
   ========================================================================== */

/* --- max-width: 1680px (Wide) ------------------------------------------- */
@media screen and (max-width: 1680px) {
    .container {
        width: 1200px;
    }

    body,
    input,
    textarea,
    select {
        font-size: 14pt;
        line-height: 1.75em;
    }

    .carousel {
        padding: 1.5em 0;
    }
    .carousel .reel {
        padding: 0 1.5em;
    }
    .carousel article {
        width: 18em;
        margin: 0 1.25em 0 0;
    }

    /* Wide grid classes */
    .row > .imp-wide {
        order: -1;
    }
    .row > .col-1-wide {
        width: 8.33333%;
    }
    .row > .off-1-wide {
        margin-left: 8.33333%;
    }
    .row > .col-2-wide {
        width: 16.66667%;
    }
    .row > .off-2-wide {
        margin-left: 16.66667%;
    }
    .row > .col-3-wide {
        width: 25%;
    }
    .row > .off-3-wide {
        margin-left: 25%;
    }
    .row > .col-4-wide {
        width: 33.33333%;
    }
    .row > .off-4-wide {
        margin-left: 33.33333%;
    }
    .row > .col-5-wide {
        width: 41.66667%;
    }
    .row > .off-5-wide {
        margin-left: 41.66667%;
    }
    .row > .col-6-wide {
        width: 50%;
    }
    .row > .off-6-wide {
        margin-left: 50%;
    }
    .row > .col-7-wide {
        width: 58.33333%;
    }
    .row > .off-7-wide {
        margin-left: 58.33333%;
    }
    .row > .col-8-wide {
        width: 66.66667%;
    }
    .row > .off-8-wide {
        margin-left: 66.66667%;
    }
    .row > .col-9-wide {
        width: 75%;
    }
    .row > .off-9-wide {
        margin-left: 75%;
    }
    .row > .col-10-wide {
        width: 83.33333%;
    }
    .row > .off-10-wide {
        margin-left: 83.33333%;
    }
    .row > .col-11-wide {
        width: 91.66667%;
    }
    .row > .off-11-wide {
        margin-left: 91.66667%;
    }
    .row > .col-12-wide {
        width: 100%;
    }
    .row > .off-12-wide {
        margin-left: 100%;
    }
}

/* --- max-width: 1280px (Normal) ----------------------------------------- */
@media screen and (max-width: 1280px) {
    .container {
        width: 100%;
    }

    body,
    input,
    textarea,
    select {
        font-size: 12pt;
        line-height: 1.5em;
    }

    .wrapper {
        padding-left: 2em;
        padding-right: 2em;
    }

    #header {
        background-attachment: scroll;
    }
    #header .inner {
        padding-left: 2em;
        padding-right: 2em;
    }

    #banner {
        padding-left: 2em;
        padding-right: 2em;
    }

    #footer {
        padding-left: 2em;
        padding-right: 2em;
    }

    #rental-overview .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Normal grid classes */
    .row > .imp-normal {
        order: -1;
    }
    .row > .col-1-normal {
        width: 8.33333%;
    }
    .row > .off-1-normal {
        margin-left: 8.33333%;
    }
    .row > .col-2-normal {
        width: 16.66667%;
    }
    .row > .off-2-normal {
        margin-left: 16.66667%;
    }
    .row > .col-3-normal {
        width: 25%;
    }
    .row > .off-3-normal {
        margin-left: 25%;
    }
    .row > .col-4-normal {
        width: 33.33333%;
    }
    .row > .off-4-normal {
        margin-left: 33.33333%;
    }
    .row > .col-5-normal {
        width: 41.66667%;
    }
    .row > .off-5-normal {
        margin-left: 41.66667%;
    }
    .row > .col-6-normal {
        width: 50%;
    }
    .row > .off-6-normal {
        margin-left: 50%;
    }
    .row > .col-7-normal {
        width: 58.33333%;
    }
    .row > .off-7-normal {
        margin-left: 58.33333%;
    }
    .row > .col-8-normal {
        width: 66.66667%;
    }
    .row > .off-8-normal {
        margin-left: 66.66667%;
    }
    .row > .col-9-normal {
        width: 75%;
    }
    .row > .off-9-normal {
        margin-left: 75%;
    }
    .row > .col-10-normal {
        width: 83.33333%;
    }
    .row > .off-10-normal {
        margin-left: 83.33333%;
    }
    .row > .col-11-normal {
        width: 91.66667%;
    }
    .row > .off-11-normal {
        margin-left: 91.66667%;
    }
    .row > .col-12-normal {
        width: 100%;
    }
    .row > .off-12-normal {
        margin-left: 100%;
    }
}

/* --- max-width: 960px (Narrow) ------------------------------------------ */
@media screen and (max-width: 960px) {
    /* Narrow grid classes */
    .row > .imp-narrow {
        order: -1;
    }
    .row > .col-1-narrow {
        width: 8.33333%;
    }
    .row > .off-1-narrow {
        margin-left: 8.33333%;
    }
    .row > .col-2-narrow {
        width: 16.66667%;
    }
    .row > .off-2-narrow {
        margin-left: 16.66667%;
    }
    .row > .col-3-narrow {
        width: 25%;
    }
    .row > .off-3-narrow {
        margin-left: 25%;
    }
    .row > .col-4-narrow {
        width: 33.33333%;
    }
    .row > .off-4-narrow {
        margin-left: 33.33333%;
    }
    .row > .col-5-narrow {
        width: 41.66667%;
    }
    .row > .off-5-narrow {
        margin-left: 41.66667%;
    }
    .row > .col-6-narrow {
        width: 50%;
    }
    .row > .off-6-narrow {
        margin-left: 50%;
    }
    .row > .col-7-narrow {
        width: 58.33333%;
    }
    .row > .off-7-narrow {
        margin-left: 58.33333%;
    }
    .row > .col-8-narrow {
        width: 66.66667%;
    }
    .row > .off-8-narrow {
        margin-left: 66.66667%;
    }
    .row > .col-9-narrow {
        width: 75%;
    }
    .row > .off-9-narrow {
        margin-left: 75%;
    }
    .row > .col-10-narrow {
        width: 83.33333%;
    }
    .row > .off-10-narrow {
        margin-left: 83.33333%;
    }
    .row > .col-11-narrow {
        width: 91.66667%;
    }
    .row > .off-11-narrow {
        margin-left: 91.66667%;
    }
    .row > .col-12-narrow {
        width: 100%;
    }
    .row > .off-12-narrow {
        margin-left: 100%;
    }

    /* Contact responsive */
    #contact .contact-grid {
        grid-template-columns: 1fr;
    }
    #contact .contact-info::after {
        display: none;
    }
    #contact .contact-info {
        padding-right: 0;
    }
    #contact .contact-form {
        padding-left: 0;
    }
}

/* --- max-width: 840px (Narrower) ---------------------------------------- */
@media screen and (max-width: 840px) {
    body,
    input,
    textarea,
    select {
        font-size: 13pt;
        line-height: 1.65em;
    }

    .tweet {
        text-align: center;
    }
    .timestamp {
        display: block;
        text-align: center;
    }

    /* How-to responsive */
    #how-to .steps {
        grid-template-columns: 1fr;
        gap: 1.25em;
    }
    #how-to .step {
        grid-template-columns: 3em 1fr;
        padding: 1.25em;
    }
    #how-to .step-number {
        width: 2.75em;
        height: 2.75em;
    }

    #footer {
        padding: 4em 2em;
    }

    .carousel {
        padding: 1.25em 0;
    }
    .carousel article {
        width: 18em;
        margin: 0 1em 0 0;
    }

    /* Narrower grid classes */
    .row > .imp-narrower {
        order: -1;
    }
    .row > .col-1-narrower {
        width: 8.33333%;
    }
    .row > .off-1-narrower {
        margin-left: 8.33333%;
    }
    .row > .col-2-narrower {
        width: 16.66667%;
    }
    .row > .off-2-narrower {
        margin-left: 16.66667%;
    }
    .row > .col-3-narrower {
        width: 25%;
    }
    .row > .off-3-narrower {
        margin-left: 25%;
    }
    .row > .col-4-narrower {
        width: 33.33333%;
    }
    .row > .off-4-narrower {
        margin-left: 33.33333%;
    }
    .row > .col-5-narrower {
        width: 41.66667%;
    }
    .row > .off-5-narrower {
        margin-left: 41.66667%;
    }
    .row > .col-6-narrower {
        width: 50%;
    }
    .row > .off-6-narrower {
        margin-left: 50%;
    }
    .row > .col-7-narrower {
        width: 58.33333%;
    }
    .row > .off-7-narrower {
        margin-left: 58.33333%;
    }
    .row > .col-8-narrower {
        width: 66.66667%;
    }
    .row > .off-8-narrower {
        margin-left: 66.66667%;
    }
    .row > .col-9-narrower {
        width: 75%;
    }
    .row > .off-9-narrower {
        margin-left: 75%;
    }
    .row > .col-10-narrower {
        width: 83.33333%;
    }
    .row > .off-10-narrower {
        margin-left: 83.33333%;
    }
    .row > .col-11-narrower {
        width: 91.66667%;
    }
    .row > .off-11-narrower {
        margin-left: 91.66667%;
    }
    .row > .col-12-narrower {
        width: 100%;
    }
    .row > .off-12-narrower {
        margin-left: 100%;
    }
}

/* --- max-width: 736px (Mobile) ------------------------------------------ */
@media screen and (max-width: 736px) {
    /* Alerts */
    .alert {
        padding: 1.1em 2.75em 1.1em 1.1em;
    }

    /* Basic */
    html,
    body {
        overflow-x: hidden;
    }
    body,
    input,
    textarea,
    select {
        font-size: 12.5pt;
        line-height: 1.5em;
    }
    h2 {
        font-size: 1.75em;
    }
    h3 {
        font-size: 1.25em;
    }
    hr {
        top: 3em;
        margin-bottom: 6em;
    }

    /* Section spacing */
    section,
    article {
        margin-bottom: 2em;
    }
    section:last-child,
    article:last-child {
        margin-bottom: 0;
    }
    .row > section,
    .row > article {
        margin-bottom: 2em;
    }
    header > p {
        font-size: 1.25em;
    }

    /* Images */
    .image.featured {
        margin: 0 0 2em 0;
    }
    .image.left {
        margin: 0 1em 1em 0;
    }
    .image.centered {
        margin: 0 0 1em 0;
    }

    /* Actions */
    form ul.actions {
        margin-top: 0;
    }
    ul.actions li {
        display: block;
        margin: 0.75em 0 0 0;
    }
    ul.actions li:first-child {
        margin-top: 0;
    }

    /* Menu */
    ul.menu {
        height: auto;
        text-align: center;
    }
    ul.menu li {
        display: block;
        border: 0;
        padding: 0.75em 0 0 0;
        margin: 0;
    }
    ul.menu li:first-child {
        padding-top: 0;
    }

    /* Icons */
    ul.icons {
        font-size: 1em;
        padding: 0.35em 0.5em;
    }
    ul.icons li a {
        width: 2.25em;
    }

    /* Buttons full width */
    input[type="button"],
    input[type="submit"],
    input[type="reset"],
    button,
    .button {
        display: block;
        padding: 0;
        line-height: 3em;
        width: 100%;
    }

    /* Header */
    #header {
        background-attachment: scroll;
        padding: 2.5em 0 0 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #header .inner {
        padding-top: 1.5em;
        padding-left: 1em;
        padding-right: 1em;
    }
    #header header > p {
        font-size: 1em;
    }
    #header .header-logo {
        width: 110px;
        margin-bottom: 1em;
    }
    #header h1 {
        font-size: 1.75em;
    }
    #header hr {
        top: 1em;
        margin-bottom: 2.5em;
    }

    body.homepage #header {
        height: 100svh;
        min-height: 100svh;
        padding: 0;
    }
    body.homepage #header:before {
        display: none;
    }
    body.homepage #header h1 {
        font-size: 2.5em;
    }

    /* Nav hidden on mobile (existing behavior) */
    #nav {
        display: none;
    }
    body.nav-scrolled #nav {
        position: absolute;
    }
    body.nav-scrolled {
        padding-top: 0;
    }

    /* Banner responsive */
    #banner header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2em;
    }
    .banner-text {
        text-align: center;
    }
    .banner-profile {
        width: 140px;
        height: 140px;
    }

    #rental .row > * {
        padding-left: 0 !important;
    }

    /* Contact responsive */
    #contact .contact-card {
        padding: 1.5em;
    }
    #contact .form-row {
        grid-template-columns: 1fr;
    }

    /* Rental overview responsive */
    #rental-overview .product-grid {
        grid-template-columns: 1fr;
        gap: 1.25em;
    }
    #rental-overview .product-body {
        padding: 1.2em 1.2em 0.9em 1.2em;
    }
    #rental-overview .product-footer {
        padding: 0 1.2em 1.2em 1.2em;
    }

    /* Footer */
    #footer {
        text-align: center;
    }

    #footer .container {
        padding-left: 0;
        padding-right: 0;
    }

    #footer .menu {
        padding: 0;
        margin: 0;
    }

    #footer .menu li {
        display: block;
        border-left: 0;
        margin-left: 0;
        padding-left: 0;
        margin-bottom: 0.5em;
    }

    #footer .icons {
        margin-left: auto;
        margin-right: auto;
    }

    #footer .row > * {
        padding-left: 0 !important;
    }

    /* Carousel */
    .carousel {
        padding: 0.5em 0;
    }
    .carousel .reel {
        padding: 0 0.5em;
    }
    .carousel article {
        width: 14em;
        padding-bottom: 2em;
        margin: 0 0.5em 0 0;
    }
    .carousel article .image {
        margin-bottom: 2em;
    }

    /* Mobile grid classes */
    .row > .imp-mobile {
        order: -1;
    }
    .row > .col-1-mobile {
        width: 8.33333%;
    }
    .row > .off-1-mobile {
        margin-left: 8.33333%;
    }
    .row > .col-2-mobile {
        width: 16.66667%;
    }
    .row > .off-2-mobile {
        margin-left: 16.66667%;
    }
    .row > .col-3-mobile {
        width: 25%;
    }
    .row > .off-3-mobile {
        margin-left: 25%;
    }
    .row > .col-4-mobile {
        width: 33.33333%;
    }
    .row > .off-4-mobile {
        margin-left: 33.33333%;
    }
    .row > .col-5-mobile {
        width: 41.66667%;
    }
    .row > .off-5-mobile {
        margin-left: 41.66667%;
    }
    .row > .col-6-mobile {
        width: 50%;
    }
    .row > .off-6-mobile {
        margin-left: 50%;
    }
    .row > .col-7-mobile {
        width: 58.33333%;
    }
    .row > .off-7-mobile {
        margin-left: 58.33333%;
    }
    .row > .col-8-mobile {
        width: 66.66667%;
    }
    .row > .off-8-mobile {
        margin-left: 66.66667%;
    }
    .row > .col-9-mobile {
        width: 75%;
    }
    .row > .off-9-mobile {
        margin-left: 75%;
    }
    .row > .col-10-mobile {
        width: 83.33333%;
    }
    .row > .off-10-mobile {
        margin-left: 83.33333%;
    }
    .row > .col-11-mobile {
        width: 91.66667%;
    }
    .row > .off-11-mobile {
        margin-left: 91.66667%;
    }
    .row > .col-12-mobile {
        width: 100%;
    }
    .row > .off-12-mobile {
        margin-left: 100%;
    }
}

/* ==========================================================================
   General fixes
   ========================================================================== */
/* 1) Zorg dat parents sticky niet blokkeren */
#page-wrapper,
.wrapper,
.container,
.row,
#sidebar,
#content {
    overflow: visible !important;
}

/* 2) Sticky toepassen op de wrapper in de sidebar */
#sidebar .sidebar-sticky-wrap {
    position: sticky;
    top: 80px;              /* match je body.nav-scrolled padding-top */
    align-self: flex-start; /* belangrijk in flex rows */
}

/* 3) Laat #sidebarCart gewoon normaal flowen */
#sidebarCart {
    position: static;
    max-height: none;
    overflow: visible;
}

/* 4) Als je wel interne scroll wil bij lange carts */
@media (min-width: 841px) {
    #sidebarCart {
        max-height: calc(100vh - 110px);
        overflow: auto;
    }
}

/* 5) Mobile: sticky uit */
@media screen and (max-width: 736px) {
    #sidebar .sidebar-sticky-wrap {
        position: static;
        top: auto;
    }
}
