/* Table of Content
==================================================
    #Tokens
    #Reset
    #Typography
    #Layout
    #Buttons
    #Forms
    #Header
    #Header search
    #Accent bar
    #Footer
    #Block: CTA
    #Helpers
    #Page (gewone pagina, zoeken, 404)
    #Forms (offerte / contact)
    #Search
    #404
    #Category tabs + breadcrumb + category hero
    #Block: Home hero
    #Block: Home categories
    #Block: Bestsellers
    #Block: Why us
    #Product cards
    #Block: Vehicle selector
    #Block: Camper
    #Shop
    #Product detail
    #Media Queries (root overrides)

    Herkomst: het child-thema 3b-child (assets/css/main.css) plus wat de referentie erft van het
    moederthema Storefront 4.6.2 (style.css) en de inline-CSS van de 3B-plugin. Pagina-, shop-,
    product- en winkelwagensecties volgen in de volgende fases.
*/


/* #Tokens
================================================== */
:root {
    /* Kleuren (bron: :root in 3b-child main.css) */
    --primary:    #45283b;
    --dark:       #2b1b25;
    --accent:     #ea5b0c;
    --accent-600: #d44f09;   /* hover btn-primary */
    --light-bg:   #f5f2f4;
    --border:     #e0dade;
    --text:       #252525;
    --grey:       #8d8d8d;
    --white:      #ffffff;

    --radius:     10px;
    --font:       'Open Sans', sans-serif;

    /* Storefront-maten (style.css) */
    --sf-heading-margin: .5407911001em;
    --sf-paragraph-margin: 1.41575em;
    --sf-site-main-margin: 2.617924em;

    /* Layout */
    --width-container: 1820px;
    --width-header: 1920px;
    --width-footer: 1400px;
    --gutter: 50px;
    --header-height: 70px;
}

/* Camper-context (bron: body.thrb-camper): eigen groene huisstijl. Body-class "camper" via section:body_class. */
body.camper {
    --primary:    #1b7d41;
    --dark:       #145032;
    --accent:     #23A455;
    --accent-600: #1b8546;
    --light-bg:   #eef7f1;
    --border:     #d5e8dc;
}


/* #Reset
================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text);
    background-color: #fff;
    overflow-x: hidden;
    word-wrap: break-word;
    text-rendering: optimizeLegibility;
}

/* Storefront: afbeeldingen blok, schaalbaar, hoekjes 3px */
img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
    border-radius: 3px;
}

/* Lijsten zonder opsommingstekens (child), marges van Storefront */
ul,
ol {
    list-style: none;
    margin: 0 0 var(--sf-paragraph-margin) 3em;
}

li > ul,
li > ol {
    margin-bottom: 0;
    margin-left: 1em;
}

/* Links: de 3B-plugin zet alle links in de accentkleur */
a {
    color: var(--accent);
    text-decoration: none;
    background-color: transparent;
}

b,
strong {
    font-weight: 600;
}

/* Storefront-knoppen, door het child-thema kaal gemaakt (geen achtergrond/rand) */
button {
    font-family: var(--font);
    font-size: 100%;
    font-weight: 600;
    line-height: 1.618;
    color: inherit;
    text-transform: none;
    background: none;
    border: 0;
    border-radius: 0;
    padding: .6180469716em 1.41575em;
    cursor: pointer;
    text-rendering: optimizeLegibility;
    -webkit-appearance: none;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    margin: 0 0 var(--sf-paragraph-margin);
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 2px solid var(--accent);
}


/* #Typography
================================================== */
/* Storefront: koppen 300, line-height 1.214 (h1/h2), marge onder .5407911001em; kleur = plugin (--primary) */
h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: 300;
    color: var(--primary);
    margin: 0 0 var(--sf-heading-margin);
}

h1 {
    font-size: 2.617924em;
    line-height: 1.214;
    letter-spacing: -1px;
}

h2 {
    font-size: 2em;
    line-height: 1.214;
}

h3 {
    font-size: 1.618em;
}

h4 {
    font-size: 1.41575em;
}

/* Storefront: h3 direct na een h2 met een dun lijntje en wat ruimte erboven */
h2 + h3 {
    border-top: 1px solid rgba(0, 0, 0, .05);
    padding-top: var(--sf-heading-margin);
}

p {
    margin: 0 0 var(--sf-paragraph-margin);
}

.section-title {
    font-size: clamp(24px, 2.5vw, 40px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 32px;
}


/* #Layout
================================================== */
/* Storefront: ruimte onder de inhoud op pagina's met .site-main */
.site-main {
    margin-bottom: var(--sf-site-main-margin);
}

/* bron: .thrb-container / .thrb-section */
.container {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 64px var(--gutter);
}


/* #Buttons
================================================== */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: background .15s, opacity .15s;
    text-decoration: none;
    white-space: nowrap;

    &:hover {
        background: var(--accent-600);
        color: #fff;
    }
}

.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    background: transparent;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border-radius: 5px;
    border: 2px solid rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: border-color .15s, background .15s;
    text-decoration: none;

    &:hover {
        border-color: #fff;
        background: rgba(255, 255, 255, .1);
    }
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 57px;
    padding: 0 36px;
    background: transparent;
    color: #fff;
    border: 1.5px solid #fff;
    border-radius: 5px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
    text-decoration: none;
    white-space: nowrap;

    &:hover {
        background: rgba(255, 255, 255, .12);
    }
}


/* #Forms
================================================== */
/* Storefront-velden (achtergrond #f2f2f2, inset-schaduw, line-height 1.618) */
input,
select,
textarea {
    font-family: var(--font);
    font-size: 100%;
    color: #43454b;
}

/* Storefront: line-height 1.618 op velden; selects houden de regelhoogte van de body */
input,
textarea {
    line-height: 1.618;
}

input[type=text],
input[type=number],
input[type=email],
input[type=tel],
input[type=url],
input[type=password],
input[type=search],
textarea {
    padding: .6180469716em;
    background-color: #f2f2f2;
    border: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .125);
    font-weight: 400;
    -webkit-appearance: none;

    &:focus {
        background-color: #ededed;
    }
}

input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

input[type=search]::placeholder {
    color: #616161;
}

textarea {
    overflow: auto;
    padding-left: .875em;
    vertical-align: top;
    width: 100%;
}


/* #Header
================================================== */
/* bron: #masthead.site-header + .thrb-header-inner */
.header {
    position: sticky;
    top: 0;
    z-index: 200;
    height: var(--header-height);
    display: flex;
    align-items: center;
    background: var(--primary);
}

.header-wrap {
    width: 100%;
    max-width: var(--width-header);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* Leeg element vóór het logo (referentie: leeg logo-anker) */
.header-spacer {
    display: block;
}

/* Logo: Storefront custom-logo (breedte 100%, max 210px); krimpt mobiel mee */
.header-logo {
    display: block;

    img {
        width: 100%;
        max-width: 210px;
    }
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-menu {
    display: flex;
    gap: 28px;
    justify-content: center;
    align-items: center;
    margin: 0;

    a {
        display: block;
        color: #fff;
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
        opacity: .9;
        transition: opacity .2s;

        &:hover,
        &.active {
            opacity: 1;
        }
    }
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 18px;

    a {
        display: flex;
        align-items: center;
        color: #fff;
        opacity: .85;
        transition: opacity .2s;

        &:hover {
            opacity: 1;
        }
    }
}

.header-search-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #fff;
    transition: color .15s;

    &:hover {
        color: var(--accent);
    }
}

/* Winkelwagenteller */
.header-cart {
    position: relative;
}

.header-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;

    &.is-empty {
        display: none;
    }
}

/* Hamburger (alleen mobiel) */
.header-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;

    span {
        display: block;
        width: 24px;
        height: 2px;
        background: #fff;
        border-radius: 2px;
        transition: transform .3s, opacity .3s;
    }
}


/* #Header search
================================================== */
/* bron: .thrb-search-panel */
.header-search {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 199;
    background: var(--primary);
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
}

.header-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: var(--width-container);
    margin: 0 auto;
    padding: 18px var(--gutter);

    .btn-primary {
        height: 52px;
        display: inline-flex;
        align-items: center;
    }
}

.header-search-input[type=search] {
    flex: 1;
    height: 52px;
    padding: 0 18px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    color: var(--primary);
    background: #fff;

    &:focus {
        background: #fff;
        outline: 2px solid var(--accent);
    }
}

.header-search-close {
    padding: 0 4px;
    font-size: 28px;
    line-height: 1;
    color: rgba(255, 255, 255, .7);

    &:hover {
        color: #fff;
    }
}


/* #Accent bar
================================================== */
.accent-bar {
    height: 5px;
    background: var(--accent);
}


/* #Footer
================================================== */
/* bron: .thrb-footer */
.footer {
    background: var(--dark);
    color: #fff;
    padding: 60px var(--gutter) 32px;
}

.footer-upper {
    max-width: var(--width-footer);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 200px 1fr 1fr 160px 260px;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* Logo: hoogte 44px op de breedte van de kolom (zoals de referentie, incl. width/height-attributen) */
.footer-logo img {
    height: 44px;
    margin-bottom: 24px;
}

.footer-social-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    margin-top: 12px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 10px;

    a {
        transition: color .15s;

        &:hover {
            color: #fff;
        }
    }
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
}

.footer-list {
    margin: 0;

    li {
        margin-bottom: 4px;
    }

    a {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.9;
        transition: opacity .15s;

        &:hover {
            opacity: .75;
        }
    }
}

.footer-column p {
    font-size: 14px;
    line-height: 1.9;
    color: rgba(255, 255, 255, .8);
}

.footer-hours p + p {
    margin-top: 8px;
}

.footer-contact {
    a {
        font-size: 14px;
    }

    .footer-contact-company {
        margin-top: 12px;
        font-size: 13px;
        color: rgba(255, 255, 255, .55);
    }

    .footer-contact-address {
        margin-top: 12px;
        font-size: 13px;
    }

    .footer-route {
        display: inline-block;
        margin-top: 8px;
        font-size: 13px;
        text-decoration: underline;
    }
}

.footer-bottom {
    max-width: var(--width-footer);
    margin: 28px auto 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
}


/* #Block: CTA
================================================== */
/* bron: .thrb-cta-banner */
.cta {
    position: relative;
    overflow: hidden;
    padding: 80px var(--gutter);
    background: var(--primary);
    text-align: center;

    h2 {
        position: relative;
        color: #fff;
        font-size: clamp(36px, 5vw, 70px);
        font-weight: 700;
        margin-bottom: 8px;
    }

    p {
        position: relative;
        color: rgba(255, 255, 255, .75);
        font-size: clamp(20px, 3vw, 40px);
        font-weight: 400;
        margin-bottom: 40px;
    }

    .btn-primary {
        position: relative;
    }
}

.cta-watermark {
    position: absolute;
    left: 19%;
    top: 0;
    width: 691px;
    height: 100%;
    pointer-events: none;

    img {
        height: 100%;
        object-fit: cover;
    }
}


/* #Helpers
================================================== */
/* bron: .vs-sr-only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* #Page (gewone pagina, zoeken, 404)
================================================== */
/* bron: .thrb-page-container / .thrb-page-title / .thrb-page-content (page.php) */
.page-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 50px 80px;
}

/* zoeken en 404: brede container (bron: body.search/.error404 .thrb-page-container) */
.page-container-wide,
.error-404-inner {
    max-width: 1820px;
    padding: 40px 50px 80px;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 28px;
}

.page-content {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);

    h2 {
        font-size: 28px;
        color: var(--primary);
        margin: 32px 0 14px;
    }

    h3 {
        font-size: 22px;
        color: var(--primary);
        margin: 26px 0 12px;
    }

    p {
        margin-bottom: 16px;
    }

    ul,
    ol {
        margin: 0 0 16px 22px;
    }

    /* Bard zet lijstitems in een <p>; de bron heeft kale <li>'s */
    li > p {
        margin: 0;
    }

    a {
        color: var(--accent);
    }

    /* knoppen in de tekst: inline-block (btn-primary) met witte tekst */
    a.btn-primary {
        color: #fff;
    }

    iframe {
        max-width: 100%;
    }
}

/* Google Maps-embed (bron: [thrb_map], inline style border:0; border-radius:10px) */
.page-map {
    display: block;
    border: 0;
    border-radius: 10px;
}

/* 404 zit in een smalle site-main zonder Storefront-ondermarge (bron: body.error404 .site-main);
   de titel blijft ook mobiel 36px (bron: body.error404 h1) */
.site-main.error-404 {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 50px 80px;

    .page-title {
        font-size: 36px;
    }
}


/* #Forms (offerte / contact)
================================================== */
/* bron: .thrb-form (inc/forms.php): velden per twee (width 50) in een raster */
.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 16px;
    margin: 0 0 32px;

    > * {
        grid-column: 1 / -1;
    }

    > .form-group.width-50 {
        grid-column: auto;
    }
}

.form-group {
    display: block;
    margin-bottom: 16px;

    input[type=text],
    input[type=email],
    input[type=tel],
    input[type=number],
    textarea {
        width: 100%;
        padding: 12px 14px;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: none;
        font-family: var(--font);
        font-size: 16px;
        color: var(--text);

        &:focus {
            outline: none;
            background: #fff;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(234, 91, 12, .15);
        }
    }

    textarea {
        resize: vertical;
        min-height: 140px;
    }
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 6px;

    abbr {
        color: var(--accent);
        text-decoration: none;
        border: none;
    }
}

.form-error {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    color: #d9534f;
}

.form-buttons {
    .btn-primary {
        margin-top: 8px;
    }
}

/* Spamval: onzichtbaar maar bereikbaar voor bots (bron: .thrb-form-val) */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* margin-bottom 0: in de bron valt de p-marge samen met die van het (block-)formulier; hier is het een grid */
.form .form-privacy {
    font-size: 13px;
    color: var(--grey);
    margin-top: 14px;
    margin-bottom: 0;

    a {
        color: var(--accent);
    }
}

/* bron: .thrb-form-melding */
.form-message {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-weight: 600;
}

.form-message-success {
    background: #eef7ef;
    border-left: 4px solid #2e7d32;
    color: #1b5e20;
}

.form-message-error {
    background: #fdf0ea;
    border-left: 4px solid var(--accent);
    color: var(--primary);
}


/* #Search
================================================== */
/* bron: .thrb-search-* (search.php, 404.php) */
.search-term {
    color: var(--accent);
}

.search-count {
    font-size: 16px;
    color: var(--grey);
    margin: -12px 0 24px;
}

.search-subtitle {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin: 40px 0 20px;
}

.search-form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
    max-width: 720px;

    input[type=search] {
        flex: 1;
        min-width: 220px;
        height: 57px;
        border: 1px solid #c0c0c0;
        border-radius: 10px;
        padding: 0 18px;
        font-family: var(--font);
        font-size: 16px;
        color: var(--primary);
        background: #fff;
        box-shadow: none;

        &:focus {
            outline: none;
            background: #fff;
            border-color: var(--primary);
        }
    }

    .btn-primary {
        height: 57px;
        display: inline-flex;
        align-items: center;
    }
}

.search-list {
    margin: 0;
}

.search-item {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: 10px;
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: box-shadow .2s;

    &:hover {
        box-shadow: 0 4px 18px rgba(69, 40, 59, .1);
    }
}

.search-item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);

    &:hover {
        color: var(--accent);
    }
}

.search-item-excerpt {
    margin: 6px 0 0;
    color: var(--text);
    font-size: 15px;
}

.search-pagination {
    margin-top: 32px;
}

/* bron: .thrb-search-pagination .page-numbers */
.pagination-links {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.page-numbers {
    min-width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--primary);
    font-weight: 600;
    background: #fff;

    &.current,
    &:hover {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }
}

/* Lege staat (bron: .thrb-empty-state, .thrb-empty-cart-buttons, .thrb-empty-cart-link) */
.empty-state {
    background: #fafafa;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    margin-top: 24px;

    p {
        margin-bottom: 16px;
        color: var(--text);
    }
}

.empty-state-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-state-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;

    &:hover {
        color: var(--accent);
    }
}


/* #404
================================================== */
/* bron: .thrb-404-* (404.php) */
.error-404-inner {
    text-align: center;

    .search-form {
        margin: 0 auto 24px;
        justify-content: center;
    }
}

.error-404-code {
    display: block;
    font-size: clamp(72px, 12vw, 140px);
    font-weight: 700;
    line-height: 1;
    color: var(--light-bg);
    letter-spacing: -2px;
}

.error-404-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    max-width: 640px;
    margin: 0 auto 28px;
}

.error-404-links {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.error-404-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;

    &:hover {
        color: var(--accent);
    }
}

.error-404-categories {
    margin-top: 40px;

    .category-tabs {
        justify-content: center;
    }
}


/* #Category tabs + breadcrumb + category hero
================================================== */
/* bron: .thrb-subcategory-tabs (oranje pills) */
.category-tabs {
    padding: 12px 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    a {
        display: inline-block;
        padding: 10px 20px;
        border-radius: 10px;
        border: 1px solid var(--accent);
        font-size: 16px;
        font-weight: 600;
        white-space: nowrap;
        transition: background .2s, color .2s;
        background: rgba(234, 91, 12, .06);
        color: var(--primary);

        &:hover {
            background: rgba(234, 91, 12, .15);
        }

        &.active {
            background: var(--accent);
            color: #fff;
        }
    }
}

/* bron: .thrb-breadcrumb */
.breadcrumb {
    padding: 40px 0;
    font-size: 16px;
    font-weight: 600;
}

.breadcrumb-home,
.breadcrumb-home a {
    color: #919191;
}

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

.breadcrumb-current {
    color: #1a1a1a;
}

/* bron: .thrb-cat-hero (413px) */
.category-hero {
    position: relative;
    height: 413px;
    overflow: hidden;
    display: flex;
    align-items: center;

    .container {
        position: relative;
        z-index: 2;
        width: 100%;
    }
}

.category-hero-bg {
    position: absolute;
    inset: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.category-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .40);
}

.category-hero-content {
    max-width: 900px;
    margin-right: auto;
    background: rgba(0, 0, 0, .27);
    backdrop-filter: blur(4.4px);
    -webkit-backdrop-filter: blur(4.4px);
    border-radius: 10px;
    padding: 36px 48px;
    color: #fff;
    text-align: left;
}

.category-hero-title {
    font-size: clamp(32px, 4vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    margin: 0 0 16px;
    color: #fff;
}

.category-hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
    max-width: 806px;
    color: #fff;
    margin: 0;
}


/* #Block: Home hero
================================================== */
/* bron: .thrb-hero (front-page.php): foto + donkere laag, tweede foto met masker + donkere laag, glaspaneel */
.home-hero {
    position: relative;
    height: 724px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--primary);
}

.home-hero-bg,
.home-hero-top {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

.home-hero-bg::after,
.home-hero-top::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .4);
}

.home-hero-top {
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;

    &::after {
        background: rgba(0, 0, 0, .3);
    }
}

.home-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 1236px;
    background: rgba(0, 0, 0, .27);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: var(--radius);
    padding: 60px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;

    h1 {
        font-size: 64px;
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 24px;
        color: #fff;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    p {
        font-size: 16px;
        line-height: 1.7;
        color: #fff;
        opacity: .85;
        margin-bottom: 48px;
        max-width: 900px;
    }
}

.home-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}


/* #Block: Home categories
================================================== */
/* bron: .thrb-cat-grid / .thrb-cat-card */
.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border-radius: var(--radius);
    overflow: hidden;

    &:hover .category-card-image img {
        transform: scale(1.04);
    }

    &:hover .category-card-accent {
        width: 100%;
    }
}

.category-card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 348 / 430;
    border-radius: var(--radius);
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s;
    }

    &::after {
        content: '';
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, .44);
        border-radius: var(--radius);
        pointer-events: none;
    }
}

.category-card-label {
    display: block;
    padding: 10px 4px 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.137;
}

.category-card-accent {
    height: 2px;
    width: 0;
    background: var(--accent);
    transition: width .25s;
    margin-top: 6px;
}


/* #Block: Bestsellers
================================================== */
/* bron: .thrb-products-bg / .thrb-bestseller-swiper / .thrb-carousel-nav */
.bestsellers {
    background: #fff;
}

.bestsellers-swiper {
    .swiper-wrapper {
        align-items: stretch;
    }

    .swiper-slide {
        height: auto;
        display: flex;

        > .bestseller-card {
            width: 100%;
        }
    }
}

.bestsellers-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.bestsellers-button {
    width: 40px;
    height: 40px;
    min-width: 40px;
    padding: 0;
    margin: 0;
    line-height: 1;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, border-color .15s, color .15s;

    &:hover {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }
}


/* #Block: Why us
================================================== */
/* bron: .thrb-why-* */
.why-us {
    background: var(--light-bg);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.why-us-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 36px 28px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
    text-align: center;
}

.why-us-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.why-us-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

.why-us-text {
    font-size: 16px;
    color: var(--primary);
    line-height: 1.65;
}


/* #Product cards
================================================== */
/* Bestsellerkaart (bron: .thrb-pcard, front-page.php) */
.bestseller-card {
    border: 1px solid #dbdbdb;
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    transition: box-shadow .2s;
    display: flex;
    flex-direction: column;
    height: 100%;

    &:hover {
        box-shadow: 0 4px 24px rgba(0, 0, 0, .1);

        .bestseller-card-image img {
            transform: scale(1.04);
        }
    }
}

.bestseller-card-image {
    display: block;
    height: 340px;
    overflow: hidden;
    padding: 40px 40px 0;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s;
        border-radius: 10px;
    }
}

.bestseller-card-info {
    padding: 20px 40px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.bestseller-card-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.137;
}

.bestseller-card-prices {
    margin-bottom: 16px;
}

.bestseller-card-price-label {
    font-size: 16px;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.bestseller-card-price-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.137;
    margin-bottom: 2px;
}

.bestseller-card-price-incl {
    font-size: 16px;
    font-weight: 400;
    color: var(--accent);
}

.bestseller-card-price-excl {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    color: var(--grey);

    strong {
        font-weight: 700;
    }
}

.bestseller-card-form {
    margin-top: auto;
}

.btn-cart {
    display: block;
    width: 100%;
    padding: 12px;
    border: 2px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background .15s, color .15s;
    margin-top: auto;

    &:hover {
        background: var(--primary);
        color: #fff;
    }
}

/* Algemene productkaart (bron: .thrb-card, woocommerce/content-product.php) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    width: 100%;
}

.product-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .25s, transform .2s;

    &:hover {
        box-shadow: 0 8px 28px rgba(69, 40, 59, .12);
        transform: translateY(-2px);

        .product-card-image img {
            transform: scale(1.04);
        }
    }
}

.product-card-image {
    display: block;
    height: 340px;
    overflow: hidden;
    padding: 40px 40px 0;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s;
        border-radius: 10px;
    }
}

.product-card-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

/* De link in de naam is op de referentie 300 (gemeten; Storefront-erfenis), de h3 zelf 700 */
.product-card-name {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.137;
    margin: 0;

    a {
        color: var(--primary);
        font-weight: 300;
    }
}

.product-card-price-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
}

.product-card-price-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.product-card-price-incl {
    font-size: 16px;
    font-weight: 400;
    color: var(--accent);
}

.product-card-price-excl {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.product-card-price-excl-num {
    font-weight: 700;
    color: var(--grey);
}

.product-card-price-excl-txt {
    font-weight: 400;
    color: var(--grey);
}

.product-card-form {
    margin-top: auto;
}

.product-card-button {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 16px;
    border-radius: 5px;
    border: 1.5px solid var(--primary);
    background: #fff;
    color: var(--primary);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    transition: background .2s, color .2s;
    cursor: pointer;

    &:hover {
        background: var(--primary);
        color: #fff;
    }
}

/* Voertuigselectie-kaart (bron: .vs-product-card, inc/vehicle-selector.php) */
.vehicle-card {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, transform .2s;

    &:hover {
        box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
        transform: translateY(-3px);

        .vehicle-card-img {
            transform: scale(1.04);
        }
    }
}

.vehicle-card-image {
    display: block;
    height: 280px;
    overflow: hidden;

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .3s;
    }
}

.vehicle-card-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-bg);
}

.vehicle-card-body {
    padding: 20px 22px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.vehicle-card-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
}

.vehicle-card-price-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    margin-top: 6px;
}

.vehicle-card-price-main {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
}

.vehicle-card-price-incl {
    font-size: 13px;
    font-weight: 400;
}

.vehicle-card-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.vehicle-card-price-excl {
    font-size: 14px;
    font-weight: 700;
    color: var(--grey);
}

.vehicle-card-price-note {
    font-size: 14px;
    font-weight: 400;
    color: var(--grey);
}

.vehicle-card-footer {
    padding: 0 22px 22px;
}

.vehicle-card-button {
    display: block;
    width: 100%;
    height: 57px;
    line-height: 57px;
    padding: 0;
    text-align: center;
    background: #fff;
    border: 1px solid var(--primary);
    border-radius: 5px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: background .2s, color .2s;

    &:hover {
        background: var(--primary);
        color: #fff;
    }
}


/* #Block: Vehicle selector
================================================== */
/* bron: .vs-hero (page-vehicle-selector.php) */
.vehicle-hero {
    position: relative;
    min-height: 724px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vehicle-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;

    > img:first-child {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }
}

.vehicle-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .48);
}

.vehicle-hero-top {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 107.33%;
    object-fit: cover;
    top: 1.91%;
    border-radius: 0;
}

.vehicle-hero-content {
    position: relative;
    z-index: 1;
    background: rgba(0, 0, 0, .62);
    backdrop-filter: blur(4.4px);
    -webkit-backdrop-filter: blur(4.4px);
    border-radius: 10px;
    padding: 60px 50px 50px;
    width: min(1518px, calc(100% - 100px));
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.vehicle-hero-title {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

/* margin-bottom: Storefront-formuliermarge (1.618em) */
.vehicle-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 1.618em;
}

.vehicle-select {
    position: relative;

    select {
        appearance: none;
        -webkit-appearance: none;
        width: 100%;
        height: 68px;
        background: #f6f6f6;
        border: none;
        border-radius: 5px;
        padding: 0 48px 0 22px;
        font-size: 16px;
        line-height: 1.5;
        color: #666;
        font-family: var(--font);
        font-weight: 400;
        outline: none;
        transition: box-shadow .2s;
        cursor: pointer;

        &:focus {
            box-shadow: 0 0 0 2px var(--accent);
        }

        &:disabled {
            opacity: .55;
            cursor: not-allowed;
        }
    }
}

.vehicle-select-caret {
    pointer-events: none;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
}

.vehicle-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.vehicle-results-section {
    background: #f8f8f8;
    padding: 60px 0 80px;
}

.vehicle-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.vehicle-results-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

/* Achtergrond en rand uit de bron worden op de referentie door de knop-reset van het thema overschreven:
   zichtbaar is alleen de tekst (gemeten). */
.vehicle-change {
    flex-shrink: 0;
    background: none;
    color: var(--primary);
    border: 0;
    border-radius: 10px;
    height: 57px;
    padding: 0 28px;
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font);
    cursor: pointer;
    transition: background .2s;

    &:hover {
        background: var(--light-bg);
    }
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    transition: opacity .2s;

    &.is-loading {
        opacity: .4;
    }
}

.vehicle-no-results {
    grid-column: 1 / -1;
    font-size: 18px;
    font-weight: 600;
    color: var(--grey);
    padding: 40px 0;
    text-align: center;
}


/* #Block: Camper
================================================== */
/* bron: .thrb-camper-* (page-camperombouw.php) */
.camper-intro {
    max-width: 900px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    padding: 28px 0 8px;

    h2 {
        color: var(--primary);
        font-size: 28px;
        margin: 28px 0 12px;
    }

    p {
        margin-bottom: 14px;
    }

    a {
        color: var(--accent);
    }

    a.btn-primary {
        color: #fff;
    }
}

.camper-tabs {
    padding: 12px 0 24px;
}

.camper-products {
    padding-bottom: 56px;

    .section-title {
        margin: 32px 0 24px;
    }
}

/* Camperlijn: groene pills (bron: body.thrb-camper .thrb-subcategory-tabs) */
body.camper .category-tabs a {
    border-color: var(--accent);
    background: rgba(35, 164, 85, .07);

    &:hover {
        background: rgba(35, 164, 85, .16);
    }

    &.active {
        background: var(--accent);
        color: #fff;
    }
}


/* #Shop (shop en categoriepagina's)
================================================== */
/* bron: .thrb-products-topbar (tabs uitgelijnd met de productkolom) */
.shop-topbar {
    display: grid;
    grid-template-columns: 413px 1fr;
    gap: 32px;
    padding-top: 28px;
}

/* bron: .thrb-filters-sort-row */
.shop-sort-row {
    display: grid;
    grid-template-columns: 413px 1fr;
    gap: 32px;
    align-items: center;
    padding: 20px 0 16px;
}

.shop-sort-row-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.shop-sort-row-right {
    display: flex;
    justify-content: flex-end;
}

/* bron: .thrb-products-sort */
.shop-sort {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fbf6fa;
    border: .5px solid var(--primary);
    height: 57px;
    border-radius: 10px;
    padding: 0 20px;
    width: 427px;
    max-width: 100%;
}

.shop-sort-icon {
    flex-shrink: 0;
}

.shop-sort-label {
    font-size: 20px;
    font-weight: 600;
    color: #8d6e82;
    white-space: nowrap;
}

.shop-sort-select {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-family: var(--font);
    font-size: 20px;
    font-weight: 600;
    line-height: inherit;
    color: var(--primary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
}

.shop-sort-caret {
    font-size: 16px;
    color: var(--primary);
    pointer-events: none;
}

/* bron: .thrb-filter-toggle-btn (alleen tot 1100px) */
.shop-filter-toggle {
    display: none;
}

/* bron: .thrb-category-layout / .thrb-sidebar */
.shop-layout {
    display: grid;
    grid-template-columns: 413px 1fr;
    gap: 32px;
    padding: 16px 0 48px;
    align-items: start;
}

.shop-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.shop-products {
    min-width: 0;
}

.shop-results.is-loading {
    opacity: .4;
    pointer-events: none;
}

/* bron: .filter-block */
.filter-block {
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;

    &.is-collapsed .filter-block-arrow {
        transform: rotate(-135deg);
    }

    &.is-collapsed .filter-block-body {
        display: none;
    }
}

.filter-block-header {
    background: var(--primary);
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.filter-block-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.filter-block-arrow {
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(45deg);
    transition: transform .25s;
    flex-shrink: 0;
}

.filter-block-body {
    padding: 16px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    margin: 0;

    input[type=checkbox] {
        width: 18px;
        height: 18px;
        accent-color: var(--accent);
        cursor: pointer;
        flex-shrink: 0;
        margin: 0;
    }
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.filter-select {
    appearance: none;
    -webkit-appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2345283b'/%3E%3C/svg%3E") no-repeat right 14px center;
    border: 1px solid #c0c0c0;
    border-radius: 10px;
    padding: 10px 36px 10px 16px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    line-height: inherit;
    color: var(--primary);
    width: 100%;
    cursor: pointer;

    &:focus {
        outline: 2px solid var(--accent);
    }

    &:disabled {
        opacity: .55;
        cursor: not-allowed;
    }
}

.filter-reset {
    font-size: 18px;
    font-weight: 400;
    color: var(--primary);
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    text-align: left;
    cursor: pointer;
    outline: none;
    box-shadow: none;

    &:hover {
        color: var(--accent);
    }

    &:focus,
    &:focus-visible {
        outline: none;
        box-shadow: none;
    }
}

.filter-reset-all {
    padding: 4px 0 0 4px;
}

/* bron: prijsslider (dubbele schuif) */
.price-range {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-slider-wrap {
    position: relative;
    height: 20px;
    margin: 14px 0 4px;
}

.price-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: #d9d9d9;
    border-radius: 2px;
    transform: translateY(-50%);
    z-index: 0;
}

.price-slider-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    margin: 0;
    padding: 0;
    z-index: 1;
    outline: none;
    box-shadow: none;

    &:focus,
    &:focus-visible {
        outline: none;
        box-shadow: none;
    }

    &::-webkit-slider-thumb {
        pointer-events: auto;
        -webkit-appearance: none;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #c0c0c0;
        border: none;
        cursor: pointer;
        box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    }

    &::-moz-range-thumb {
        pointer-events: auto;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #c0c0c0;
        border: none;
        cursor: pointer;
    }

    &::-webkit-slider-runnable-track {
        background: transparent;
    }

    &::-moz-range-track {
        background: transparent;
    }
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

/* bron: .fb-result-count (gemeten: 13px en marge 12px uit de inline-CSS van de 3B-plugin) */
.shop-result-count {
    font-size: 13px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 12px;
}

/* bron: .pagination / .pagination__item / .pagination__gap (inc/archive-filter.php) */
.shop-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    padding: 16px 0 24px;
    border: none;
    margin: 0;
}

.shop-pagination-item {
    min-width: 36px;
    height: 36px;
    border-radius: 6px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    padding: 0 4px;
    transition: background .2s, color .2s;

    &:hover {
        background: rgba(69, 40, 59, .08);
    }

    &.active {
        background: var(--primary);
        color: #fff;
    }
}

.shop-pagination-gap {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--grey);
}

@media (max-width: 1100px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        display: none;

        &.is-open {
            display: flex;
        }
    }

    .shop-filter-toggle {
        display: inline-block;
        margin: 8px 0 4px;
        padding: 12px 20px;
        /* bron: background var(--primary), maar op de referentie wint de knop-reset van het thema (gemeten:
           geen achtergrond, witte tekst); 1-op-1 overgenomen, zie V12 */
        background: none;
        color: #fff;
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
    }

    .shop-topbar,
    .shop-sort-row {
        grid-template-columns: 1fr;
    }

    .shop-topbar-spacer {
        display: none;
    }
}

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

    .shop-sort-label,
    .shop-sort-select {
        font-size: 16px;
    }
}


/* #Product detail
================================================== */
/* Ruimte boven de inhoud: op de referentie de (lege) .woocommerce-notices-wrapper met margin-top 20px */
.product-detail {
    margin-top: 20px;
}

/* bron: .thrb-pd-breadcrumb (14px, '›') */
.product-breadcrumb {
    padding: 40px 0;

    ol {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
        align-items: center;
        margin: 0;
        padding: 0;
        font-size: 14px;
        font-weight: 600;
        color: #6d6d6d;
    }

    li {
        color: #6d6d6d;
        margin: 0;
    }

    li a {
        color: #6d6d6d;

        &:hover {
            text-decoration: underline;
        }
    }

    li + li::before {
        content: '\203A';
        margin-right: 4px;
        color: #6d6d6d;
    }

    li:last-child {
        color: var(--primary);
    }
}

/* bron: .thrb-pd-section / .thrb-pd-grid */
.product-section {
    padding: 0 0 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

/* bron: .thrb-pd-gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-gallery-main {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 20px;
    overflow: hidden;
    background: var(--light-bg);

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

    img.product-placeholder {
        border-radius: var(--radius);
    }
}

.product-gallery-thumbs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-thumb {
    width: 198px;
    height: 171px;
    max-width: calc(25% - 9px);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .2s;

    &.active {
        border: 1px solid #c3c3c3;
        padding: 7px;
    }

    &:hover {
        border-color: var(--accent);
    }

    img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 6px;
    }
}

/* bron: .thrb-pd-info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #6d6d6d;

    &.is-out .product-badge-dot {
        background: #d9534f;
    }
}

.product-badge-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #5dc935;
    flex-shrink: 0;
}

.product-title {
    font-size: clamp(28px, 3vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    color: var(--primary);
    margin: 0;
}

/* bron: .thrb-pd-price-block */
.product-price-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-price-label {
    font-size: 20px;
    font-weight: 300;
    color: var(--accent);
}

.product-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;

    &.is-secondary .product-price-main {
        font-size: 18px;
        color: var(--grey);
    }
}

.product-price-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.product-price-tax {
    font-size: 14px;
    color: #8d8d8d;
    font-weight: 400;
}

.product-price-note {
    font-size: 14px;
    font-weight: 600;
    color: #6d6d6d;
    font-style: italic;
    margin: 0;
}

.product-short {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);

    p {
        margin: 0 0 10px;
    }
}

/* bron: WooCommerce-variatieformulier, door het child-thema als configurator opgemaakt */
.product-form {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.product-variation {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

/* label inline in een blok met de body-regelhoogte (bron: th.label > label in table.variations) */
.product-variation-label {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.product-variation-value {
    position: relative;
}

.product-variation-select {
    width: 100%;
    height: 56px;
    border: 1px solid #c0c0c0;
    border-radius: 10px;
    padding: 0 44px 0 16px;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2345283b'/%3E%3C/svg%3E") no-repeat right 16px center;
    line-height: inherit;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;

    &:focus {
        outline: none;
        border-color: var(--primary);
    }
}

/* "Wissen" verschijnt pas na een keuze (WooCommerce: visibility); sync-icoon van Storefront (marge .5407911001em) */
.product-variation-reset {
    font-size: 14px;
    color: var(--grey);
    visibility: hidden;

    &.is-visible {
        visibility: visible;
    }

    .icon-sync {
        display: inline-block;
        width: 14px;
        height: 14px;
        margin-right: .5407911001em;
        vertical-align: -2px;
    }
}

.product-variation-message:empty {
    display: none;
}

/* bron: .thrb-composition */
.composition {
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 20px;
}

.composition-header {
    background: var(--primary);
    color: #fff;
    padding: 18px 20px;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;

    &.open .composition-chevron {
        transform: rotate(-135deg);
    }
}

.composition-chevron {
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    transition: transform .3s;
}

.composition-body {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    background: #fafafa;
    transition: max-height .3s ease, padding .3s;

    &.open {
        max-height: 300px;
        padding: 12px 0;
    }
}

.composition-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 20px;
    font-size: 16px;
}

.composition-label {
    color: #6d6d6d;
    font-weight: 400;
}

.composition-value {
    color: var(--primary);
    font-weight: 700;
}

/* bron: .thrb-composed-price */
.composed-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.composed-price-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
}

.composed-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
}

.composed-price-main {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
}

.composed-price-tax {
    font-size: 14px;
    color: #8d8d8d;
    font-weight: 400;
}

/* Aantal verborgen (bron: .thrb-pd-cart .quantity; het ontwerp heeft geen aantalveld) */
.product-cart .quantity {
    display: none;
}

/* bron: .single_add_to_cart_button (design .btn-cart) */
.product-cart-button {
    width: 100%;
    max-width: 371px;
    height: 57px;
    border: 2px solid var(--primary);
    border-radius: 5px;
    background: #fff;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    cursor: pointer;
    transition: background .2s, color .2s;
    margin: 0;
    padding: 0 24px;

    &:hover:not(.disabled) {
        background: var(--primary);
        color: #fff;
    }

    &.disabled {
        opacity: .45;
    }
}

/* bron: .thrb-pd-tabs */
.product-tabs {
    padding: 40px 0 60px;
    background: #fff;
}

.product-tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--border);
    gap: 0;
}

.product-tab-button {
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    background: none;
    border: none;
    border-bottom: 6px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    border-radius: 10px 10px 0 0;
    font-family: var(--font);

    &:first-child {
        margin-left: 12px;
    }

    &.active {
        background: #f3f3f3;
        border-bottom-color: var(--primary);
    }

    &:hover:not(.active) {
        background: var(--light-bg);
    }
}

.product-tab-panel {
    display: none;
    padding: 40px 32px;
    background: #fff;
    border-radius: 0 10px 10px 10px;

    &.active {
        display: block;
    }

    p {
        font-size: 16px;
        line-height: 1.8;
        color: var(--primary);
        margin: 0 0 16px;

        &:last-child {
            margin-bottom: 0;
        }
    }
}

/* bron: .thrb-specs-table */
.specs-table {
    width: 100%;
    border-collapse: collapse;

    tr:nth-child(odd) td {
        background: var(--light-bg);
    }

    tr:nth-child(even) td {
        background: #fff;
    }

    td {
        padding: 14px 20px;
        font-size: 16px;
        color: var(--primary);
        border: 1px solid var(--border);
    }

    td:first-child {
        font-weight: 600;
        width: 40%;
    }

    td:last-child {
        font-weight: 700;
    }
}

/* bron: .thrb-downloads-list */
.downloads-list {
    list-style: none;
    margin: 0;
    padding: 0;

    li {
        border-bottom: 1px solid var(--border);
        padding: 14px 4px;
        margin: 0;

        &:last-child {
            border-bottom: none;
        }
    }

    a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 16px;
        font-weight: 600;
        color: var(--primary);

        &:hover {
            color: var(--accent);
        }

        &::before {
            content: '';
            width: 18px;
            height: 18px;
            flex-shrink: 0;
            background: currentColor;
            -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E") no-repeat center / contain;
        }
    }
}

/* bron: .thrb-related-section */
.related-section {
    padding: 40px 0 60px;
    background: #f8f8f8;
    width: 100%;

    .section-title {
        margin-bottom: 32px;
    }
}

.products-grid.related-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1100px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .products-grid.related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-thumb {
        width: calc(25% - 9px);
        height: auto;
        aspect-ratio: 198 / 171;
    }

    .products-grid.related-grid {
        grid-template-columns: 1fr;
    }

    .product-tab-button {
        padding: 12px 16px;
        font-size: 14px;
    }

    .product-tab-panel {
        padding: 24px 16px;
    }
}


/* #Media Queries (root overrides)
================================================== */
@media (max-width: 1200px) {
    .footer-upper {
        grid-template-columns: 1fr 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .vehicle-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-wrap {
        padding: 0 20px;
    }

    .container {
        padding: 0 20px;
    }

    .header-nav {
        display: none;

        &.is-open {
            display: flex;
            flex-direction: column;
            position: absolute;
            top: var(--header-height);
            left: 0;
            right: 0;
            z-index: 100;
            padding: 20px;
            background: var(--primary);
        }
    }

    .header-menu {
        flex-direction: column;
        gap: 16px;
    }

    .header-hamburger {
        display: flex;
    }

    .section {
        padding: 48px 20px;
    }

    .footer-upper {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .cta {
        h2 {
            font-size: 36px;
        }

        p {
            font-size: 20px;
        }
    }

    .home-hero-content {
        padding: 40px 24px;

        h1 {
            font-size: 32px;
        }
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .page-container {
        padding: 40px 20px 60px;
    }

    .page-title {
        font-size: 26px;
    }

    .vehicle-hero-content {
        padding: 40px 24px 36px;
        width: calc(100% - 40px);
    }

    .vehicle-hero-title {
        font-size: 24px;
        white-space: normal;
    }

    .vehicle-selector {
        grid-template-columns: 1fr;
    }

    .vehicle-hero-actions {
        width: 100%;

        .btn-primary,
        .btn-outline-white {
            width: 100%;
            justify-content: center;
        }
    }

    .vehicle-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vehicle-results-title {
        font-size: 24px;
    }

    .vehicle-change {
        font-size: 16px;
        height: 48px;
    }
}

@media (max-width: 700px) {
    .form {
        grid-template-columns: 1fr;

        > .form-group.width-50 {
            grid-column: 1 / -1;
        }

        > .form-group-pair-start {
            margin-bottom: 32px;
        }
    }
}

@media (max-width: 600px) {
    .header-search-form {
        padding: 14px 20px;
        flex-wrap: wrap;
    }

    .header-search-input[type=search] {
        min-width: 0;
    }

    .category-hero-content {
        padding: 24px;
    }

    .products-grid,
    .vehicle-grid {
        grid-template-columns: 1fr;
    }

    .page-container-wide,
    .error-404-inner {
        padding: 24px 20px 60px;
    }

    .empty-state-buttons {
        flex-direction: column;

        .btn-primary {
            width: 100%;
            text-align: center;
        }
    }
}


/* #Cart (winkelwagen; bron: WooCommerce Cart-blok + 3b-child main.css "CART & CHECKOUT" / "Lege winkelwagen")
================================================== */
.cart,
.checkout {
    padding: 0 0 24px;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);

    &.is-loading {
        opacity: .5;
        pointer-events: none;
    }
}

/* lege winkelwagen */
.cart-empty {
    padding: 8px 0 64px;
}

.cart-empty-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin: 0 0 12px;
}

.cart-empty-actions {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px;

    p {
        color: var(--text);
        font-size: 16px;
        margin: 0 0 20px;
    }
}

.cart-empty-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.cart-empty-link {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: underline;

    &:hover {
        color: var(--accent);
    }
}

.cart-empty-new {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    text-align: left;
    margin: 0 0 24px;
}

/* productgrid "Nieuw in de webshop" (wc-block-grid) */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.grid-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 10px;
    overflow: hidden;
    text-align: left;
    transition: box-shadow .25s, transform .2s;

    &:hover {
        box-shadow: 0 8px 28px rgba(69, 40, 59, .12);
        transform: translateY(-2px);
    }
}

.grid-card-link {
    display: block;
    font-size: 12px;
    color: var(--accent);
    text-decoration: none;
}

.grid-card-image {
    padding: 24px 24px 0;

    img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: 10px;
    }
}

.grid-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
    padding: 20px 24px 4px;
}

.grid-card-price {
    padding: 0 24px;
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
}

.grid-card-button {
    margin: auto 0 0;
    padding: 16px 24px 24px;
}

.grid-card-btn {
    display: block;
    width: 100%;
    padding: 14px;
    border: 1.5px solid var(--primary);
    border-radius: 5px;
    background: #fff;
    color: var(--primary);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.75;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s;

    &:hover {
        background: var(--primary);
        color: #fff;
    }
}

/* gevulde winkelwagen: regels + zijbalk */
.cart-layout {
    display: flex;
    margin: 0 0 48px;
}

.cart-main {
    width: 65%;
    padding-right: 60px;
}

.cart-sidebar {
    width: 35%;
    padding-left: 30px;
}

.cart-items {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border-bottom: 1px solid rgba(37, 37, 37, .2);

    th {
        font-size: 14px;
        font-weight: 500;
        line-height: 1.4;
        text-transform: uppercase;
        text-align: left;
        padding: 8px 16px 12px 0;
        white-space: nowrap;
    }
}

.cart-items-head-image {
    width: 81px;
}

.cart-items-head-total {
    width: 100px;
    text-align: right !important;
    padding: 8px 0 12px !important;
}

.cart-item td {
    vertical-align: top;
    padding: 20px 0;
    border-top: 1px solid rgba(37, 37, 37, .2);
}

.cart-item .cart-item-image {
    padding: 20px 16px 20px 0;

    a,
    img {
        display: block;
        width: 65px;
        height: 65px;
        object-fit: cover;
    }
}

.cart-item-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.4;
}

.cart-item-name,
.order-summary-name {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--primary);
    text-decoration: none;
}

.cart-item-name {
    margin: 0 0 4px;
}

.cart-item-details {
    list-style: none;
    margin: 0 0 4px;
    padding: 0;
    font-size: 12.25px;
}

.cart-item-price {
    margin: 0 0 4px;
}

.cart-item-description {
    align-self: stretch;
}

.cart-item-description p {
    font-size: 12.25px;
    line-height: 1.4;
    margin: 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.quantity-selector {
    display: flex;
    width: 107px;
    border: 1px solid rgba(37, 37, 37, .3);
    border-radius: 4px;
}

.quantity-selector-input {
    order: 2;
    width: 45px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--font);
    font-size: 14px;
    line-height: 1;
    color: var(--text);
    text-align: center;
    -moz-appearance: textfield;

    &::-webkit-inner-spin-button,
    &::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
}

.quantity-selector-button {
    width: 30px;
    height: 36px;
    padding: 0;
    border: 0;
    background: transparent;
    font-family: var(--font);
    font-size: 14.4px;
    color: var(--text);
    cursor: pointer;

    &:disabled {
        opacity: .5;
        cursor: default;
    }
}

.quantity-selector-minus {
    order: 1;
}

.quantity-selector-plus {
    order: 3;
}

.cart-item-remove {
    display: flex;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    cursor: pointer;

    svg {
        fill: currentColor;
    }
}

.cart-item .cart-item-total {
    width: 100px;
    font-size: 14px;
    line-height: 1.4;
    text-align: right;
}

.cart-totals {
    margin: 0 0 16px;
    border-bottom: 1px solid rgba(37, 37, 37, .2);
}

.cart-totals-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-transform: uppercase;
    color: var(--primary);
    padding: 8px 16px 10px 0;
    margin: 0;
}

.cart-totals-rows,
.order-summary-totals {
    padding: 0 0 16px;
    border-top: 1px solid rgba(37, 37, 37, .2);
}

.totals-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    padding: 16px 0 0;
    font-size: 14px;
    line-height: 1.4;
}

.totals-free {
    font-weight: 600;
    text-transform: uppercase;
}

.totals-footer {
    min-height: 69px;
    padding: 16px 0;
    border-top: 1px solid rgba(37, 37, 37, .2);
    font-size: 23px;
    font-weight: 500;

    .totals-item-value {
        color: var(--accent);
    }
}

.cart-submit {
    display: block;
    width: 100%;
    margin: 0 0 16px;
    padding: 12.6px 23.3px;
    border-radius: 5px;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.75;
    text-align: center;
    text-decoration: none;
    transition: background .15s;

    &:hover {
        background: #c94d0a;
        color: #fff;
    }
}

/* #Checkout (afrekenen; bron: WooCommerce Checkout-blok + 3b-child "Form velden checkout")
================================================== */
.checkout {
    display: grid;
    grid-template-columns: 65% 35%;
    align-items: start;
    margin: 0 0 16px;
}

.checkout-main {
    grid-column: 1;
    grid-row: 1;
    padding-right: 60px;
}

.checkout-summary {
    grid-column: 2;
    grid-row: 1;
    margin-left: 30px;
    border: 1px solid rgba(37, 37, 37, .2);
    border-radius: 5px;
}

.checkout-summary-title {
    display: block;
    margin: 16px 0 0;
    padding: 0 16px 8px;
    font-size: 23px;
    font-weight: 500;
    line-height: 1.4;
    list-style: none;
    cursor: default;
    pointer-events: none;

    &::-webkit-details-marker {
        display: none;
    }
}

.checkout-summary-total {
    display: none;
}

.checkout-summary-content {
    padding: 0 16px;
}

.order-summary {
    padding: 8px 0 16px;
}

.order-summary-item {
    display: flex;
    font-size: 14px;
    line-height: 1.4;
}

.order-summary-image {
    position: relative;
    flex: 0 0 48px;
    margin-top: 8px;

    img {
        display: block;
        width: 48px;
        height: 48px;
        object-fit: cover;
    }
}

.order-summary-quantity {
    position: absolute;
    top: -10px;
    right: -10px;
    min-width: 20px;
    height: 20px;
    padding: 0 4.9px;
    border-radius: 10px;
    background: #6d6d6d;
    color: #fff;
    font-size: 12.25px;
    line-height: 20px;
    text-align: center;
}

.order-summary-description {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 4px 12px 0 24px;
}

.order-summary-name {
    font-weight: 600;
    margin: 4px 0;
}

.order-summary-total {
    padding: 4px 0 0;
}

.checkout-errors {
    margin: 0 0 24px;
    padding: 16px;
    border-left: 4px solid #cc1818;
    background: #fff;
    font-size: 14px;
}

.checkout-step {
    margin: 0 0 24px;
    padding: 0;
    border: 0;
    min-width: 0;
}

.checkout-step-title {
    font-size: 23px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--primary);
    margin: 0 0 16px;
}

.checkout-guest-notice {
    font-size: 14px;
    line-height: 1.4;
    margin: 4px 0 0;
}

.address-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 16px;

    > * {
        flex: 0 0 100%;
    }

    > .address-form-half {
        flex: 0 0 calc(50% - 6px);
    }

    > [hidden] {
        display: none;
    }
}

/* zwevende labels */
.text-input {
    position: relative;

    input {
        width: 100%;
        height: 50px;
        padding: 16px 12px;
        border: 1px solid #c0c0c0;
        border-radius: 8px;
        background: #fff;
        font-family: var(--font);
        font-size: 16px;
        line-height: 25px;
        color: #2b2d2f;

        &:focus {
            outline: none;
            border-color: var(--primary);
            box-shadow: 0 0 0 1px var(--primary);
        }

        &:focus,
        &:not(:placeholder-shown) {
            padding: 24px 12px 8px;
        }
    }

    label {
        position: absolute;
        top: 14px;
        left: 10px;
        font-size: 16px;
        line-height: 22px;
        color: var(--text);
        pointer-events: none;
        transform-origin: top left;
        transition: transform .2s;
    }

    input:focus + label,
    input:not(:placeholder-shown) + label {
        transform: translateY(-9px) scale(.75);
    }
}

.select-input {
    position: relative;

    label {
        position: absolute;
        top: 6px;
        left: 10px;
        font-size: 13px;
        line-height: 1.4;
        color: var(--text);
        pointer-events: none;
    }

    select {
        width: 100%;
        height: 50px;
        padding: 16px 9px 0;
        border: 1px solid #c0c0c0;
        border-radius: 4px;
        background: #fff;
        font-family: var(--font);
        font-size: 16px;
        line-height: 25px;
        color: #2b2d2f;
    }
}

.address-form-toggle {
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.4;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.checkbox {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 20px;
    cursor: pointer;
}

.checkbox-input,
.radio-input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--primary);
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(37, 37, 37, .3);
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;

    & + & {
        margin-top: -1px;
    }
}

.radio-label {
    flex: 1;
    font-weight: 500;
}

.checkout-notes {
    margin: 0 0 24px;

    textarea {
        width: 100%;
        margin-top: 16px;
        padding: 12px;
        border: 1px solid #c0c0c0;
        border-radius: 8px;
        font-family: var(--font);
        font-size: 16px;
    }
}

.checkout-terms {
    margin: 0 0 24px;
    padding: 24px 0 0;
    border-top: 1px solid rgba(37, 37, 37, .11);
    font-size: 14px;
    line-height: 1.4;

    a {
        color: var(--accent);
    }
}

.checkout-submit {
    display: block;
    width: 100%;
    margin: 0 0 36px;
    padding: 11.3px 20.6px;
    border: 0;
    border-radius: 5px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;

    &:hover {
        background: #c94d0a;
    }

    &:disabled {
        opacity: .5;
    }
}

.order-received-notice {
    font-weight: 600;
    color: var(--primary);
}

.order-overview {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

.order-received-summary {
    max-width: 640px;
    border: 1px solid rgba(37, 37, 37, .2);
    border-radius: 5px;
}

/* #Account (mijn account; bron: 3b-child main.css "Login/registratie formulieren", WooCommerce form-login.php)
================================================== */
.account {
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
}

.account-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 0 0 40px;
}

.account-single {
    max-width: 643px;
}

.account-title {
    font-size: 28px;
    font-weight: 300;
    color: var(--primary);
    margin: 32px 0 14px;
}

.account-form {
    margin: 0 0 1.618em;
    padding: 28px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #fff;

    p {
        margin: 0 0 16px;
    }
}

.account-row {
    label {
        display: block;
        margin: 0 0 6px;
        font-size: 14px;
        font-weight: 700;
        color: var(--primary);
    }

    input[type="text"],
    input[type="email"],
    input[type="password"] {
        width: 100%;
        padding: 12px 16px;
        border: 1px solid #c0c0c0;
        border-radius: 10px;
        background: #fff;
        font-family: var(--font);
        font-size: 16px;
        line-height: 1.618;
        color: var(--primary);

        &:focus {
            outline: none;
            border-color: var(--primary);
        }
    }
}

.account-row-first,
.account-row-last {
    display: inline-block;
    width: calc(50% - 10px);
}

.account-row-first {
    margin-right: 16px !important;
}

.password-input {
    display: block;
}

.show-password-input {
    display: block;
    width: 45px;
    height: 20px;
    margin-top: 10px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.account-remember {
    display: flex !important;
    align-items: center;
    gap: 4px;

    input {
        width: 13px;
        height: 13px;
        margin: 0;
    }
}

.account-button {
    padding: 14px 28px;
    border: none;
    border-radius: 5px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.618;
    cursor: pointer;

    &:hover {
        background: #c94d0a;
    }
}

.account-lost-password a,
.account-privacy a,
.account-content a {
    color: var(--accent);
}

.account-dealer-toggle label {
    display: flex;
    align-items: center;
    gap: 4px;

    input {
        width: 18px;
        height: 18px;
        margin: 0;
    }
}

.account-dealer-fields[hidden] {
    display: none;
}

.account-dealer-note {
    font-size: 14px;
}

.account-notice,
.account-errors {
    margin: 0 0 24px;
    padding: 18px 24px;
    border: 1px solid var(--primary);
    border-left-width: 4px;
    border-radius: 10px;
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    list-style: none;
}

.account-errors {
    border-color: #cc1818;
}

.account-orders {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 24px;

    th,
    td {
        padding: 12px 8px;
        border-bottom: 1px solid var(--border);
        text-align: left;
    }
}

/* #Cart / #Checkout / #Account: responsive (WooCommerce-blokken stapelen onder 700px containerbreedte) */
@media (max-width: 1100px) {
    .grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 799px) {
    .cart-layout {
        display: block;
        margin: 0 0 16px;
    }

    .cart-main,
    .cart-sidebar {
        width: 100%;
        padding: 0;
    }

    .cart-sidebar {
        margin: 0 0 24px;
    }

    .cart-items {
        border-bottom: 0;

        thead {
            display: none;
        }
    }

    .cart-item {
        display: grid;
        grid-template-columns: 80px 1fr auto;
        column-gap: 16px;
        padding: 16px 0;

        td {
            padding: 0;
            border-top: 0;
        }

        .cart-item-image {
            padding: 0 16px 0 0;

            a,
            img {
                width: 64px;
                height: 64px;
            }
        }

        .cart-item-total {
            width: auto;
        }
    }

    .cart-item-quantity {
        padding-right: 16px;
    }

    .cart-totals-title {
        display: none;
    }

    .checkout {
        display: block;
    }

    .checkout-main {
        padding: 0;
    }

    .checkout-summary {
        margin: 0 0 24px;
    }

    .checkout-summary-title {
        display: flex;
        justify-content: space-between;
        margin: 0;
        padding: 16px;
        font-size: 16px;
        pointer-events: auto;
        cursor: pointer;
    }

    .checkout-summary-total {
        display: inline;
    }
}

/* Storefront: .col2-set stapelt onder 768px; de rij-afstand blijft 40px (gemeten) */
@media (max-width: 767px) {
    .account-columns {
        grid-template-columns: 1fr;
    }
}

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

    .cart-empty-buttons {
        flex-direction: column;

        .btn-primary {
            width: 100%;
            text-align: center;
        }
    }

    .address-form > .address-form-half {
        flex: 0 0 100%;
    }
}


/* #Toast (pop-up meldingen, bijv. "niet op voorraad"; kleuren en lettertype van de huisstijl)
================================================== */
.toast-region {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
    pointer-events: none;
}
.toast {
    padding: 14px 18px;
    background: var(--primary);
    color: #fff;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: auto;
}
.toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 767px) {
    .toast-region {
        right: 16px;
        left: 16px;
        bottom: 16px;
        max-width: none;
    }
}

/* Melding bij een winkelwagenregel (bijv. niet genoeg voorraad), onder het aantal */
.cart-item-notice {
    margin: 8px 0 0;
    padding: 8px 12px;
    background: #fdf0e8;
    border-left: 3px solid var(--accent);
    border-radius: 5px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}
