/* Webshop restyle styles. Loaded after styles.css to override the legacy design. */

        .container {
            max-width: 100%;
            min-width: 80%;
        }

        .error {
            color: red !important;
            margin-bottom: 12px;
        }

        img {
            pointer-events: none;
        }



    /* ============================================================
       Slim, single-row header
       ============================================================ */
    footer, header.site-header {
        background: #16549A;
    }

    header.site-header {
        margin-bottom: 18px;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.06);
        position: sticky;
        top: 0;
        z-index: 900;
    }

    /* Neutralise the legacy bootstrap navbar that's no longer rendered. */
    header.site-header .navbar { display: none; }

    .site-header-bar {
        display: flex;
        align-items: center;
        gap: 16px;
        min-height: 52px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .site-header-logo {
        display: inline-flex;
        align-items: center;
        flex: 0 0 auto;
        margin: 0;
        padding: 0;
    }
    .site-header-logo img {
        height: 36px !important;
        width: auto !important;
        max-height: 36px;
        display: block;
    }

    .site-header-spacer { flex: 1 1 auto; }

    .site-header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        flex: 0 0 auto;
    }

    /* Home button chip. */
    .site-header-actions .site-header-home {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        height: 34px;
        width: 56px;
        background: rgba(255, 255, 255, 0.10) !important;
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 8px !important;
        text-decoration: none !important;
    }
    .site-header-actions .site-header-home .fal {
        font-size: 16px;
        line-height: 1;
    }
    .site-header-actions .site-header-home:hover,
    .site-header-actions .site-header-home:focus {
        background: rgba(255, 255, 255, 0.18) !important;
        outline: 0;
    }

    /* Make the user/account/cart/lang chips uniform. */
    .site-header-actions > div,
    .site-header-actions > ul {
        margin: 0 !important;
        float: none !important;
        position: relative;
    }
    .site-header-actions .dropdown-toggle {
        display: inline-flex !important;
        align-items: center !important;
        gap: 8px;
        height: 34px;
        background: rgba(255, 255, 255, 0.10) !important;
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        border-radius: 8px !important;
        padding: 0 12px !important;
        text-transform: none !important;
        font-size: 13px !important;
        font-weight: 500;
        margin: 0 !important;
        line-height: 1 !important;
    }
    .site-header-actions .dropdown-toggle > * {
        display: inline-flex !important;
        align-items: center !important;
        line-height: 1 !important;
        vertical-align: middle !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .site-header-actions .dropdown-toggle .fa,
    .site-header-actions .dropdown-toggle .fal,
    .site-header-actions .dropdown-toggle .fas,
    .site-header-actions .dropdown-toggle .far {
        font-size: 14px;
        line-height: 1;
        margin: 0 !important;
    }
    /* Kill the inline margin on the cart-icon span (legacy markup). */
    .site-header-actions #dropdown-shopping-cart .label .fa[style] {
        margin-right: 0 !important;
    }
    .site-header-actions .dropdown-toggle:hover,
    .site-header-actions .dropdown-toggle:focus {
        background: rgba(255, 255, 255, 0.18) !important;
        outline: 0;
    }
    .site-header-actions .dropdown { float: none !important; }
    .site-header-actions .dropdown-menu { margin-top: 6px; }

    /* Cart dropdown panel (replaces the old .header-top-scoped rule). */
    .site-header-actions .shopping-cart .shopping-cart-dropdown {
        background: #fff;
        border-radius: 8px;
        border: 1px solid #e5e7eb;
        color: #1f2937;
        left: auto;
        right: 0;
        margin: 6px 0 0;
        padding: 14px;
        width: 380px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
    }

    /* Cart button: count pill + points-in-cart badge */
    .site-header-actions #dropdown-shopping-cart .count {
        position: static !important;
        left: auto !important;
        top: auto !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 18px;
        background: #f4875f;
        color: #fff;
        border-radius: 999px;
        padding: 0 7px !important;
        font-size: 11px;
        font-weight: 700;
        line-height: 1;
        min-width: 20px;
    }
    .site-header-actions .cart-points-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 18px;
        background: rgba(255, 255, 255, 0.16);
        color: #fff;
        border-radius: 999px;
        padding: 0 8px !important;
        font-size: 11px;
        font-weight: 600;
        line-height: 1;
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }

    /* Page-title strip is small and quiet. */
    #title-wrap {
        background: rgba(0, 0, 0, 0.10);
        padding: 10px 0;
    }
    #title-wrap h1 {
        color: #fff;
        margin: 0;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.2px;
        display: flex;
        align-items: center;
        gap: 14px;
        flex-wrap: wrap;
    }
    #title-wrap .breadcrumb {
        background: transparent;
        margin: 0;
        padding: 0;
        font-size: 12px;
        font-weight: 400;
        opacity: 0.8;
    }
    #title-wrap .breadcrumb,
    #title-wrap .breadcrumb a,
    #title-wrap .breadcrumb > li + li:before {
        color: #fff !important;
    }

    @media (max-width: 767px) {
        .site-header-bar { flex-wrap: wrap; min-height: 0; }
        .site-header-actions { gap: 6px; }
        .site-header-actions .dropdown-toggle { padding: 4px 8px !important; font-size: 12px !important; }
        #title-wrap h1 { font-size: 15px; }
    }

    /* ============================================================
       Right column: action chips on top, slim punten line below
       ============================================================ */
    .site-header-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
        flex: 0 0 auto;
        min-width: 0;
    }

    /* Override the legacy orange #points-total square from styles.css. */
    header.site-header #points-total {
        background: rgba(255, 255, 255, 0.10) !important;
        color: rgba(255, 255, 255, 0.92) !important;
        text-transform: none !important;
        /* Fixed height + flex centering, like .dropdown-toggle: no vertical padding. */
        height: 26px;
        padding: 0 12px !important;
        margin: 0 !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        box-shadow: none !important;
        border-radius: 999px !important;
        position: static !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        font-size: 12px;
        line-height: 1;
        font-variant-numeric: tabular-nums;
    }

    /* Center each glyph on its own line box so the star/descenders don't
       make the pill look bottom-heavy. */
    header.site-header #points-total > span {
        display: inline-flex;
        align-items: center;
        line-height: 1;
    }

    header.site-header #points-total .pt-icon {
        color: #f4875f;
        font-size: 13px;
        line-height: 1;
        margin-right: 2px;
    }

    header.site-header #points-total .pt-saldo {
        font-weight: 700;
        font-size: 14px;
        color: #fff;
        letter-spacing: 0.2px;
    }

    header.site-header #points-total .pt-divider {
        opacity: 0.4;
        font-weight: 300;
        font-size: 13px;
        margin: 0 1px;
    }

    header.site-header #points-total .pt-available {
        font-weight: 500;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.70);
    }

    header.site-header #points-total .pt-suffix {
        text-transform: lowercase;
        color: rgba(255, 255, 255, 0.6);
        font-size: 11px;
        letter-spacing: 0.3px;
        margin-left: 2px;
    }

    /* Empty cart: collapse to a single "X punten" — hide the "X / Y" split. */
    header.site-header #points-total.no-cart .pt-divider,
    header.site-header #points-total.no-cart .pt-available { display: none; }

    /* Negative saldo: tint just the saldo number. */
    header.site-header #points-total.is-negative .pt-saldo { color: #ff9580; }
    header.site-header #points-total.is-negative .pt-icon { color: #ff9580; }

    @media (max-width: 767px) {
        header.site-header #points-total { font-size: 11px; }
        header.site-header #points-total .pt-saldo { font-size: 13px; }
        header.site-header #points-total .pt-available { font-size: 11px; }
    }

    /* ============================================================
       Dashboard / homepage — search + categories + product grid
       ============================================================ */
    body.page-controller-dashboard #product-search-form { margin: 4px 0 20px; }
    body.page-controller-dashboard #product-search-form .input-group { max-width: 460px; }

    /* Toolbar row: search bar + gender tabs side by side */
    body.page-controller-dashboard .dashboard-toolbar {
        display: flex;
        flex-wrap: wrap;
        /* stretch, so the tabs take the search bar's height without hardcoding it */
        align-items: stretch;
        gap: 12px 18px;
        margin: 4px 0 20px;
    }
    body.page-controller-dashboard .dashboard-toolbar #product-search-form { margin: 0; flex: 0 1 460px; }
    body.page-controller-dashboard .dashboard-toolbar #product-search-form .input-group { max-width: none; }
    body.page-controller-dashboard .dashboard-toolbar #product-gender-filter { margin: 0; }
    body.page-controller-dashboard .dashboard-toolbar #product-gender-filter .gender-tab {
        display: flex;
        align-items: center;
    }

    /* ---------- Gender filter tabs ------------------------------ */
    #product-gender-filter {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        margin: 0 0 22px;
    }
    #product-gender-filter .gender-tab {
        display: inline-block;
        font-size: 13.5px;
        font-weight: 700;
        color: var(--vu-text) !important;
        background: #fff !important;
        text-decoration: none !important;
        padding: 7px 18px !important;
        border: 1px solid var(--vu-border) !important;
        border-radius: var(--vu-r-md) !important;
        box-shadow: var(--vu-sh-xs);
        transition:
            color 0.15s var(--vu-ease),
            background-color 0.15s var(--vu-ease),
            border-color 0.15s var(--vu-ease);
    }
    #product-gender-filter .gender-tab:hover {
        color: var(--vu-primary) !important;
        border-color: var(--vu-primary) !important;
    }
    #product-gender-filter .gender-tab.active {
        color: #fff !important;
        background: var(--vu-primary) !important;
        border-color: var(--vu-primary) !important;
    }

    /* ---------- Category filter panel --------------------------- */
    #product-categories {
        background: #fff;
        border: 1px solid var(--vu-border);
        border-radius: var(--vu-r-lg);
        box-shadow: var(--vu-sh-xs);
        padding: 14px 18px 16px;
        margin: 0 0 22px;
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden; /* hard guarantee nothing escapes the panel */
    }
    #product-categories *,
    #product-categories *::before,
    #product-categories *::after { box-sizing: border-box; }

    /* Header strip with label + clear-filter chip */
    #product-categories .categories-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 12px;
        padding-bottom: 10px;
        border-bottom: 1px solid #f1f5f9;
        min-width: 0;
        max-width: 100%;
        flex-wrap: wrap;
    }
    #product-categories .categories-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.6px;
        color: var(--vu-text-faint);
        flex-shrink: 0;
    }
    #product-categories .categories-clear {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 10px 4px 6px;
        background: var(--vu-primary-soft);
        border: 1px solid #c7dbf0;
        border-radius: 999px;
        color: var(--vu-primary-dark);
        font-size: 12px;
        font-weight: 600;
        text-decoration: none !important;
        min-width: 0;
        max-width: 100%;
        transition: background 0.15s var(--vu-ease), border-color 0.15s var(--vu-ease);
    }
    #product-categories .categories-clear > span:last-child {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    #product-categories .categories-clear:hover {
        background: #fee2e2;
        border-color: #fecaca;
        color: var(--vu-danger);
    }
    #product-categories .categories-clear-x {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        background: rgba(22, 84, 154, 0.12);
        border-radius: 999px;
        font-size: 14px;
        font-weight: 700;
        line-height: 1;
        flex-shrink: 0;
    }
    #product-categories .categories-clear:hover .categories-clear-x {
        background: rgba(192, 57, 43, 0.18);
    }

    /* Sectioned list: each category is a labelled group with sub-pills */
    #product-categories .categories-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
        gap: 14px 22px;
        min-width: 0;
        max-width: 100%;
    }
    #product-categories .categories-section {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
        min-width: 0;       /* allow shrinking below intrinsic width */
        max-width: 100%;
    }

    /* Category title — clean header link with subtle hover/active states */
    #product-categories .categories-title {
        display: inline-block;
        align-self: flex-start;
        max-width: 100%;
        font-size: 13.5px;
        font-weight: 700;
        color: var(--vu-text) !important;
        background: transparent !important;
        text-decoration: none !important;
        padding: 5px 12px !important;
        margin: 0;
        border: 0 !important;
        border-radius: var(--vu-r-md) !important;
        word-break: break-word;
        line-height: 1.3;
        text-transform: none;
        letter-spacing: 0;
        position: relative;
        transition:
            color 0.15s var(--vu-ease),
            background-color 0.15s var(--vu-ease);
    }
    /* Soft accent line that lives inside the padding bounds */
    #product-categories .categories-title::after {
        content: '';
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 1px;
        height: 2px;
        border-radius: 2px;
        background: transparent;
        transition: background-color 0.15s var(--vu-ease);
    }
    #product-categories .categories-title:hover {
        color: var(--vu-primary) !important;
        background: var(--vu-surface-alt) !important;
    }
    #product-categories .categories-title:hover::after {
        background: var(--vu-primary);
    }
    #product-categories .categories-title.active {
        color: var(--vu-primary-dark) !important;
        background: rgba(22, 84, 154, 0.08) !important;
    }
    #product-categories .categories-title.active::after {
        background: var(--vu-primary);
    }

    /* Sub-category pills — wrap inside the section, never spill out */
    #product-categories ul.sub {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        min-width: 0;
        max-width: 100%;
    }
    #product-categories ul.sub li {
        list-style: none;
        margin: 0;
        padding: 0;
        min-width: 0;
        max-width: 100%;
    }
    #product-categories ul.sub a {
        display: inline-flex;
        align-items: center;
        max-width: 100%;
        padding: 5px 13px;
        border-radius: 999px;
        background: var(--vu-surface-alt);
        border: 1px solid transparent;
        color: var(--vu-text-muted);
        font-size: 13px;
        font-weight: 500;
        line-height: 1.35;
        text-decoration: none !important;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
        transition:
            background 0.15s var(--vu-ease),
            border-color 0.15s var(--vu-ease),
            color 0.15s var(--vu-ease);
    }
    #product-categories ul.sub a:hover {
        background: #fff;
        border-color: #c7dbf0;
        color: var(--vu-primary-dark);
    }
    #product-categories ul.sub a.active {
        background: var(--vu-primary);
        border-color: var(--vu-primary);
        color: #fff;
        font-weight: 600;
    }

    /* Mobile: single column section list */
    @media (max-width: 600px) {
        #product-categories { padding: 12px 14px 14px; }
        #product-categories .categories-list { grid-template-columns: 1fr; gap: 12px; }
    }

    /* "No size" state: gray-out the whole card + centered overlay badge */
    .product-card-link { position: relative; }

    /* Desaturate + dim the image area (covers the inner <a><img> wrapper too) */
    .product-card-link--no-size .product-card-image,
    .product-card-link--no-size .product-card-image > * {
        filter: grayscale(100%) !important;
        -webkit-filter: grayscale(100%) !important;
    }
    .product-card-link--no-size .product-card-image {
        opacity: 0.45 !important;
        background: var(--vu-surface-alt);
    }
    .product-card-link--no-size .product-card-image img {
        transform: none !important;          /* kill the hover-zoom on disabled cards */
    }
    .product-card:hover .product-card-link--no-size .product-card-image img {
        transform: none !important;
    }

    /* Mute the info row too */
    .product-card-link--no-size .product-card-info {
        opacity: 0.5 !important;
        filter: grayscale(40%);
    }
    .product-card-link--no-size .product-card-points {
        background: #f1f5f9 !important;
        border-color: var(--vu-border) !important;
    }
    .product-card-link--no-size .product-card-points .meta-value {
        color: var(--vu-text-muted) !important;
    }

    /* Centered overlay badge — stays sharp on top of the muted card */
    .product-card-overlay {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px;
        z-index: 2;
        pointer-events: none;
    }
    .product-card-overlay-badge {
        background: #ffffff;
        color: #92400e;
        border: 1px solid #fde68a;
        border-left: 4px solid #d97706;
        padding: 10px 14px;
        border-radius: var(--vu-r-md);
        font-size: 12.5px;
        font-weight: 700;
        line-height: 1.35;
        text-align: center;
        box-shadow: 0 8px 22px rgba(15, 23, 42, 0.20);
        max-width: calc(100% - 24px);
        text-transform: none;
        letter-spacing: 0.1px;
    }
    @media (max-width: 480px) {
        .product-card-overlay-badge { font-size: 11.5px; padding: 8px 12px; }
    }

    /* Product grid — responsive auto-fit */
    .product-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 18px;
        margin: 8px 0 24px;
    }
    @media (max-width: 480px) {
        .product-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
        }
    }

    /* Product card */
    .product-card {
        background: #fff;
        border: 1px solid var(--vu-border);
        border-radius: var(--vu-r-lg);
        overflow: hidden;
        transition:
            transform 0.15s var(--vu-ease),
            box-shadow 0.15s var(--vu-ease),
            border-color 0.15s var(--vu-ease);
        display: flex;
        flex-direction: column;
        box-shadow: var(--vu-sh-xs);
    }
    .product-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--vu-sh-md);
        border-color: #c7dbf0;
    }

    .product-card-link {
        display: flex;
        flex-direction: column;
        height: 100%;
        color: var(--vu-text);
        text-decoration: none !important;
    }

    .product-card-image {
        position: relative;
        background: var(--vu-surface-alt);
        aspect-ratio: 1 / 1;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    .product-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s var(--vu-ease);
        display: block;
    }
    .product-card:hover .product-card-image img {
        transform: scale(1.04);
    }
    .product-card-image .discount-percentage {
        position: absolute;
        top: 10px;
        left: 10px;
        background: var(--vu-accent);
        color: #fff;
        font-size: 12px;
        font-weight: 700;
        padding: 4px 9px;
        border-radius: 999px;
        line-height: 1;
        letter-spacing: 0.2px;
        box-shadow: var(--vu-sh-sm);
    }

    .product-card-info {
        padding: 14px 14px 16px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        flex: 1 1 auto;
    }

    .product-card-title {
        font-size: 14px;
        font-weight: 600;
        line-height: 1.35;
        margin: 0;
        color: var(--vu-text);
        text-transform: none;
        /* Clamp to 2 lines so cards stay equal-height */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 2.7em;
    }

    .product-card-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: auto;
    }
    .product-card-meta > span {
        display: inline-flex;
        align-items: baseline;
        gap: 5px;
        padding: 4px 9px;
        border-radius: 999px;
        background: var(--vu-surface-alt);
        border: 1px solid #eef2f7;
        font-size: 12px;
        line-height: 1.2;
    }
    .product-card-meta .meta-label {
        color: var(--vu-text-faint);
        text-transform: uppercase;
        font-size: 10px;
        letter-spacing: 0.5px;
        font-weight: 600;
    }
    .product-card-meta .meta-value {
        color: var(--vu-text);
        font-weight: 700;
        font-variant-numeric: tabular-nums;
    }
    .product-card-points {
        background: rgba(244, 135, 95, 0.12) !important;
        border-color: rgba(244, 135, 95, 0.25) !important;
    }
    .product-card-points .meta-value { color: var(--vu-accent-dark); }
    .product-card-meta .meta-extra {
        color: var(--vu-text-muted);
        font-weight: 500;
    }

    /* No-results state */
    .no-items {
        background: var(--vu-surface-alt);
        border: 1px dashed var(--vu-border-strong);
        border-radius: var(--vu-r-lg);
        padding: 36px 24px;
        text-align: center;
        color: var(--vu-text-muted);
        font-size: 14px;
        line-height: 1.5;
    }

    /* Pagination on dashboard — centered + a bit of breathing room */
    #products-container .pagination,
    #products-container > .pagination,
    #products-container nav .pagination {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 8px 0 18px;
        gap: 0;
    }

    /* ============================================================
       MODERN UI LAYER — overrides legacy square / uppercase look.
       Token palette + global polish for buttons, inputs, panels,
       alerts, tables, modals & the cart-dropdown popup.
       ============================================================ */
    :root {
        --vu-primary:        #16549A;
        --vu-primary-dark:   #114679;
        --vu-primary-soft:   #eef4fb;
        --vu-accent:         #f4875f;
        --vu-accent-dark:    #df764e;
        --vu-text:           #1f2937;
        --vu-text-muted:     #6b7280;
        --vu-text-faint:     #94a3b8;
        --vu-border:         #e5e7eb;
        --vu-border-strong:  #cbd5e1;
        --vu-surface:        #ffffff;
        --vu-surface-alt:    #f8fafc;
        --vu-success:        #10b981;
        --vu-warning:        #d97706;
        --vu-danger:         #c0392b;
        --vu-r-sm:           6px;
        --vu-r-md:           8px;
        --vu-r-lg:           12px;
        --vu-r-pill:         999px;
        --vu-sh-xs:          0 1px 2px rgba(15, 23, 42, 0.05);
        --vu-sh-sm:          0 2px 6px rgba(15, 23, 42, 0.06);
        --vu-sh-md:          0 6px 16px rgba(15, 23, 42, 0.10);
        --vu-sh-lg:          0 14px 32px rgba(15, 23, 42, 0.14);
        --vu-ease:           cubic-bezier(0.2, 0.7, 0.2, 1);
    }

    body { color: var(--vu-text); }

    /* ---------- Buttons ----------------------------------------- */
    .btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: auto;
        min-height: 38px;
        line-height: 1.2 !important;
        padding: 9px 18px !important;
        border-radius: var(--vu-r-md) !important;
        border: 1px solid transparent !important;
        font-family: inherit !important;
        font-size: 13.5px !important;
        font-weight: 600 !important;
        letter-spacing: 0.1px !important;
        text-transform: none !important;
        text-decoration: none !important;
        box-shadow: var(--vu-sh-xs) !important;
        transition:
            background-color 0.15s var(--vu-ease),
            border-color 0.15s var(--vu-ease),
            color 0.15s var(--vu-ease),
            box-shadow 0.15s var(--vu-ease),
            transform 0.05s var(--vu-ease) !important;
        cursor: pointer;
    }
    .btn:hover { box-shadow: var(--vu-sh-sm) !important; transform: translateY(-1px); }
    .btn:active { transform: translateY(0); box-shadow: var(--vu-sh-xs) !important; }
    .btn:focus-visible { outline: 3px solid rgba(22, 84, 154, 0.25); outline-offset: 1px; }

    .btn-sm { min-height: 30px; padding: 5px 12px !important; font-size: 12px !important; border-radius: var(--vu-r-sm) !important; }
    .btn-lg { min-height: 46px; padding: 12px 22px !important; font-size: 15px !important; }

    /* Keep all buttons the same height: the global .fa line-height (22px) makes
       icon buttons taller than text-only buttons, which only settle at the
       min-height. Neutralize the icon line-height inside buttons so every
       button lands on the same min-height. */
    .btn > .fa,
    .btn > .fas,
    .btn > .far,
    .btn > .fal,
    .btn > .fad,
    .btn > .fab,
    .btn > i {
        line-height: 1 !important;
    }

    .btn-primary,
    a.btn-primary {
        background: var(--vu-primary) !important;
        border-color: var(--vu-primary) !important;
        color: #fff !important;
    }
    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background: var(--vu-primary-dark) !important;
        border-color: var(--vu-primary-dark) !important;
        color: #fff !important;
    }

    .btn-default,
    a.btn-default {
        background: #fff !important;
        border-color: var(--vu-border) !important;
        color: var(--vu-text) !important;
    }
    .btn-default:hover, .btn-default:focus {
        background: var(--vu-surface-alt) !important;
        border-color: var(--vu-border-strong) !important;
        color: var(--vu-text) !important;
    }

    .btn-success { background: var(--vu-success) !important; border-color: var(--vu-success) !important; color: #fff !important; }
    .btn-success:hover, .btn-success:focus { background: #059669 !important; border-color: #059669 !important; color: #fff !important; }

    .btn-warning { background: var(--vu-warning) !important; border-color: var(--vu-warning) !important; color: #fff !important; }
    .btn-warning:hover, .btn-warning:focus { background: #b45309 !important; border-color: #b45309 !important; color: #fff !important; }

    .btn-danger { background: var(--vu-danger) !important; border-color: var(--vu-danger) !important; color: #fff !important; }
    .btn-danger:hover, .btn-danger:focus { background: #a02617 !important; border-color: #a02617 !important; color: #fff !important; }

    .btn-info { background: #0ea5e9 !important; border-color: #0ea5e9 !important; color: #fff !important; }
    .btn-info:hover, .btn-info:focus { background: #0284c7 !important; border-color: #0284c7 !important; color: #fff !important; }

    /* Ghost / link button used in the cart popup */
    .btn-no-layout,
    a.btn-no-layout {
        background: transparent !important;
        border-color: transparent !important;
        color: var(--vu-primary) !important;
        box-shadow: none !important;
    }
    .btn-no-layout:hover, .btn-no-layout:focus {
        background: var(--vu-primary-soft) !important;
        color: var(--vu-primary-dark) !important;
        box-shadow: none !important;
        transform: none;
    }

    /* Accent buttons (orange) — keep available but modern */
    .btn-order {
        background: var(--vu-accent) !important;
        border: 0 !important;
        border-radius: var(--vu-r-md) !important;
        padding: 12px 22px !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-transform: none !important;
        box-shadow: var(--vu-sh-sm) !important;
    }
    .btn-order:hover, .btn-order:focus {
        background: var(--vu-accent-dark) !important;
        margin-top: 0 !important;
    }

    /* Bootstrap button group: clean spacing instead of joined squares */
    .btn-group { display: inline-flex; gap: 8px; }
    .btn-group > .btn {
        border-radius: var(--vu-r-md) !important;
        margin-left: 0 !important;
    }

    /* ---------- Form controls ----------------------------------- */
    .form-control,
    select.form-control,
    textarea.form-control {
        border-radius: var(--vu-r-md) !important;
        border: 1px solid var(--vu-border) !important;
        background: #fff !important;
        box-shadow: none !important;
        color: var(--vu-text) !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        padding: 8px 12px !important;
        height: auto;
        min-height: 38px;
        transition: border-color 0.15s var(--vu-ease), box-shadow 0.15s var(--vu-ease) !important;
    }
    .form-control:hover { border-color: var(--vu-border-strong) !important; }
    .form-control:focus,
    .form-control:active {
        outline: none !important;
        border-color: var(--vu-primary) !important;
        box-shadow: 0 0 0 3px rgba(22, 84, 154, 0.15) !important;
    }
    .form-control::placeholder { color: var(--vu-text-faint); }

    .form-group label {
        font-weight: 600;
        font-size: 13px;
        color: var(--vu-text);
        margin-bottom: 6px;
    }

    /* Input-group: re-assert Bootstrap's table-cell layout so addon + input
       auto-match heights regardless of which input variant is inside (legacy
       30px date input, 34px legacy form-control, 38px design-system input).
       Also overrides legacy .form-group-date display:block/float:left which
       breaks the row-height alignment. */
    .input-group {
        display: table !important;
        border-collapse: separate !important;
    }
    .input-group > .input-group-addon,
    .input-group > .form-control,
    .input-group > .input-group-btn {
        display: table-cell !important;
        float: none !important;
        vertical-align: middle !important;
    }
    .input-group-addon {
        background: var(--vu-surface-alt) !important;
        border: 1px solid var(--vu-border) !important;
        color: var(--vu-text-muted) !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        padding: 6px 12px !important;
        white-space: nowrap !important;
        /* width:1% + min-width:max-content lets the addon shrink to its label
           inside display:table, so "Max aantal" stays fully visible — not
           clipped to "M" — but still auto-sizes to whatever text it holds. */
        width: 1% !important;
        min-width: max-content;
        /* height stays auto so the table-row forces the addon to match the
           adjacent input's height, no matter which variant of input it is. */
        height: auto !important;
    }
    /* Kill the legacy red focus outline on inputs/selects/textareas inside
       form-groups (styles.css applies a red outline on :focus that clashes
       with the design system's blue focus ring). */
    .form-control:focus,
    .form-control:active,
    .input-group .form-control:focus,
    .input-group .form-control:active { outline: none !important; }
    /* Position-aware corner rounding — works for addon-left and addon-right */
    .input-group > .form-control:first-child,
    .input-group > .input-group-addon:first-child,
    .input-group > .input-group-btn:first-child > .btn {
        border-top-right-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-top-left-radius: var(--vu-r-md) !important;
        border-bottom-left-radius: var(--vu-r-md) !important;
    }
    .input-group > .form-control:last-child,
    .input-group > .input-group-addon:last-child,
    .input-group > .input-group-btn:last-child > .btn {
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-top-right-radius: var(--vu-r-md) !important;
        border-bottom-right-radius: var(--vu-r-md) !important;
    }
    /* Single shared seam between adjacent siblings */
    .input-group > .input-group-addon + .form-control,
    .input-group > .form-control + .input-group-addon,
    .input-group > .input-group-addon + .input-group-btn > .btn,
    .input-group > .input-group-btn + .form-control { border-left: 0 !important; }

    /* ---------- Chosen (searchable select) ---------------------- */
    /* Modernise the legacy Chosen jQuery plugin so single and multi selects
       match the form-control look: same border, radius, focus ring, and the
       dropdown matches the cart-dropdown/popover surface. */
    .chosen-container {
        font-size: 14px !important;
        /* Chosen sets width inline via JS; respect that but never let an
           inline `border: 1px solid #444` leak onto the wrapper. */
        border: 0 !important;
        vertical-align: middle;
    }
    /* --- Closed state (single) --- */
    .chosen-container-single .chosen-single {
        display: flex !important;
        align-items: center;
        height: 38px;
        padding: 0 32px 0 12px;
        background: #fff !important;
        background-image: none !important;
        border: 1px solid var(--vu-border) !important;
        border-radius: var(--vu-r-md) !important;
        box-shadow: none !important;
        color: var(--vu-text) !important;
        line-height: 1.4 !important;
        transition: border-color 0.15s var(--vu-ease), box-shadow 0.15s var(--vu-ease);
    }
    .chosen-container-single .chosen-single:hover { border-color: var(--vu-border-strong) !important; }
    .chosen-container-single.chosen-with-drop .chosen-single,
    .chosen-container-active .chosen-single {
        border-color: var(--vu-primary) !important;
        box-shadow: 0 0 0 3px rgba(22, 84, 154, 0.15) !important;
    }
    /* Placeholder text */
    .chosen-container-single .chosen-single.chosen-default,
    .chosen-container-single .chosen-single.chosen-default > span { color: var(--vu-text-faint) !important; }
    /* Dropdown caret — replace Chosen's sprite with a CSS chevron */
    .chosen-container-single .chosen-single div { width: 28px; }
    .chosen-container-single .chosen-single div b {
        background: none !important;
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
    }
    .chosen-container-single .chosen-single div b::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 8px;
        height: 8px;
        border-right: 2px solid var(--vu-text-muted);
        border-bottom: 2px solid var(--vu-text-muted);
        transform: translate(-50%, -65%) rotate(45deg);
        transition: transform 0.15s var(--vu-ease);
    }
    .chosen-container-active.chosen-with-drop .chosen-single div b::after {
        transform: translate(-50%, -25%) rotate(-135deg);
    }
    /* Clear (×) button on single selects with allow_single_deselect.
       Chosen ships a sprite-image X on the <abbr>; we kill the sprite and
       render a Unicode × glyph centered inside the abbr. */
    .chosen-container-single .chosen-single abbr {
        position: absolute !important;
        top: 50% !important;
        right: 32px !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        width: 18px !important;
        height: 18px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        border-radius: 50% !important;
        text-decoration: none !important;
        font-family: sans-serif !important;
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 1 !important;
        color: var(--vu-text-muted) !important;
        opacity: 0.75;
        cursor: pointer;
        transition: background-color 0.15s var(--vu-ease), color 0.15s var(--vu-ease), opacity 0.15s var(--vu-ease);
    }
    .chosen-container-single .chosen-single abbr::before {
        content: "\00d7" !important;
        display: inline-block !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background: none !important;
        transform: none !important;
        margin-top: -2px; /* optical centering — the × glyph sits slightly low */
    }
    .chosen-container-single .chosen-single abbr::after { content: none !important; display: none !important; }
    .chosen-container-single .chosen-single abbr:hover {
        background: var(--vu-surface-alt) !important;
        color: var(--vu-text) !important;
        opacity: 1;
    }

    /* --- Closed state (multi) --- */
    .chosen-container-multi .chosen-choices {
        min-height: 38px;
        padding: 4px 8px !important;
        background: #fff !important;
        background-image: none !important;
        border: 1px solid var(--vu-border) !important;
        border-radius: var(--vu-r-md) !important;
        box-shadow: none !important;
        cursor: text;
        transition: border-color 0.15s var(--vu-ease), box-shadow 0.15s var(--vu-ease);
    }
    .chosen-container-multi .chosen-choices:hover { border-color: var(--vu-border-strong) !important; }
    .chosen-container-active.chosen-container-multi .chosen-choices {
        border-color: var(--vu-primary) !important;
        box-shadow: 0 0 0 3px rgba(22, 84, 154, 0.15) !important;
    }
    /* Selected chips */
    .chosen-container-multi .chosen-choices li.search-choice {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        margin: 3px 4px 3px 0 !important;
        padding: 3px 22px 3px 10px !important;
        background: var(--vu-primary-soft) !important;
        background-image: none !important;
        border: 1px solid rgba(22, 84, 154, 0.25) !important;
        border-radius: var(--vu-r-pill) !important;
        box-shadow: none !important;
        color: var(--vu-primary-dark) !important;
        font-size: 13px;
        line-height: 1.4;
    }
    .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
        position: absolute;
        right: 6px;
        top: 50%;
        margin-top: -6px;
        background: none !important;
        width: 12px;
        height: 12px;
        opacity: 0.6;
    }
    .chosen-container-multi .chosen-choices li.search-choice .search-choice-close::before,
    .chosen-container-multi .chosen-choices li.search-choice .search-choice-close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 10px;
        height: 2px;
        background: var(--vu-primary-dark);
        border-radius: 1px;
    }
    .chosen-container-multi .chosen-choices li.search-choice .search-choice-close::before { transform: translate(-50%, -50%) rotate(45deg); }
    .chosen-container-multi .chosen-choices li.search-choice .search-choice-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
    .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover { opacity: 1; }
    /* Inline search field inside multi */
    .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
        height: 28px !important;
        font-size: 14px !important;
        color: var(--vu-text) !important;
        font-family: inherit !important;
    }

    /* --- Dropdown panel --- */
    .chosen-container .chosen-drop {
        margin-top: 4px;
        background: #fff !important;
        border: 1px solid var(--vu-border) !important;
        border-radius: var(--vu-r-md) !important;
        box-shadow: var(--vu-sh-md) !important;
        overflow: hidden;
    }
    .chosen-container-active.chosen-with-drop .chosen-single { border-bottom-left-radius: var(--vu-r-md) !important; border-bottom-right-radius: var(--vu-r-md) !important; }
    /* Search box inside dropdown */
    .chosen-container .chosen-search { padding: 8px !important; background: #fff !important; position: relative; }
    /* Suppress the legacy FA4/FA5-mismatch search icon pseudo-element that
       renders as a "F002" tofu box (the glyph lives in FA5 solid / weight 900
       but the legacy rule asks for weight 400, so the glyph is missing). */
    .chosen-container .chosen-search::before,
    .chosen-container .chosen-search:before { content: none !important; display: none !important; }
    .chosen-container .chosen-search input[type="text"] {
        width: 100% !important;
        height: 34px !important;
        padding: 6px 12px !important;
        background: #fff !important;
        background-image: none !important;
        border: 1px solid var(--vu-border) !important;
        border-radius: var(--vu-r-sm) !important;
        box-shadow: none !important;
        color: var(--vu-text) !important;
        font-size: 14px !important;
        outline: none !important;
    }
    .chosen-container .chosen-search input[type="text"]:focus {
        border-color: var(--vu-primary) !important;
        box-shadow: 0 0 0 3px rgba(22, 84, 154, 0.15) !important;
    }
    /* Results list */
    .chosen-container .chosen-results {
        margin: 0 !important;
        padding: 4px !important;
        max-height: 260px !important;
        color: var(--vu-text) !important;
    }
    .chosen-container .chosen-results li {
        padding: 8px 12px !important;
        border-radius: var(--vu-r-sm) !important;
        line-height: 1.4 !important;
        font-size: 14px !important;
    }
    .chosen-container .chosen-results li.active-result { color: var(--vu-text) !important; }
    .chosen-container .chosen-results li.highlighted {
        background: var(--vu-primary-soft) !important;
        background-image: none !important;
        color: var(--vu-primary-dark) !important;
    }
    .chosen-container .chosen-results li.result-selected {
        background: var(--vu-surface-alt) !important;
        background-image: none !important;
        color: var(--vu-text) !important;
        font-weight: 600;
    }
    .chosen-container .chosen-results li.disabled-result { color: var(--vu-text-faint) !important; }
    .chosen-container .chosen-results li.no-results {
        background: var(--vu-surface-alt) !important;
        color: var(--vu-text-muted) !important;
        font-style: italic;
    }
    .chosen-container .chosen-results li.group-result {
        margin-top: 6px;
        padding: 6px 12px !important;
        color: var(--vu-text-faint) !important;
        font-size: 11px !important;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        cursor: default;
    }

    /* ---------- Tabs -------------------------------------------- */
    .nav-tabs {
        border-bottom: 1px solid var(--vu-border);
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }
    .nav-tabs > li {
        float: none;
        margin: 0 0 -1px 0;
    }
    .nav-tabs > li > a {
        display: flex;
        align-items: center;
        gap: 7px;
        margin: 0 !important;
        padding: 10px 16px !important;
        border: none !important;
        border-bottom: 2px solid transparent !important;
        border-radius: var(--vu-r-sm) var(--vu-r-sm) 0 0 !important;
        background: transparent !important;
        color: var(--vu-text-muted) !important;
        font-size: 13.5px;
        font-weight: 600;
        letter-spacing: 0.1px;
        transition:
            color 0.15s var(--vu-ease),
            background-color 0.15s var(--vu-ease),
            border-color 0.15s var(--vu-ease);
    }
    .nav-tabs > li > a:hover,
    .nav-tabs > li > a:focus {
        color: var(--vu-primary) !important;
        background: var(--vu-primary-soft) !important;
        border-bottom-color: var(--vu-border-strong) !important;
    }
    .nav-tabs > li.active > a,
    .nav-tabs > li.active > a:hover,
    .nav-tabs > li.active > a:focus {
        color: var(--vu-primary) !important;
        background: transparent !important;
        border-bottom-color: var(--vu-primary) !important;
    }
    /* count chip inside a tab (e.g. "Maten 65") */
    .nav-tabs > li > a .badge {
        background: var(--vu-surface-alt) !important;
        color: var(--vu-text-muted) !important;
        border: 1px solid var(--vu-border) !important;
        border-radius: var(--vu-r-pill) !important;
        padding: 2px 8px;
        font-size: 11px;
        font-weight: 600;
        margin: 0;
        transition:
            color 0.15s var(--vu-ease),
            background-color 0.15s var(--vu-ease),
            border-color 0.15s var(--vu-ease);
    }
    .nav-tabs > li.active > a .badge,
    .nav-tabs > li > a:hover .badge {
        background: var(--vu-primary) !important;
        color: #fff !important;
        border-color: transparent !important;
    }

    /* ---------- Panels ------------------------------------------ */
    .panel {
        border-radius: var(--vu-r-lg) !important;
        border: 1px solid var(--vu-border) !important;
        box-shadow: var(--vu-sh-xs) !important;
        background: #fff !important;
        margin-bottom: 18px;
    }
    .panel-heading {
        border-radius: var(--vu-r-lg) var(--vu-r-lg) 0 0 !important;
        background: var(--vu-surface-alt) !important;
        border-bottom: 1px solid var(--vu-border) !important;
        padding: 12px 18px !important;
        color: var(--vu-text) !important;
    }
    .panel-heading h4 { margin: 0; font-size: 14px; font-weight: 600; }
    .panel-body { padding: 18px !important; }
    .panel-footer {
        border-radius: 0 0 var(--vu-r-lg) var(--vu-r-lg) !important;
        background: var(--vu-surface-alt) !important;
        border-top: 1px solid var(--vu-border) !important;
        padding: 12px 18px !important;
    }
    .panel-form { box-shadow: var(--vu-sh-xs) !important; }

    /* ---------- Alerts ------------------------------------------ */
    .alert {
        border-radius: var(--vu-r-md) !important;
        border: 1px solid transparent !important;
        padding: 12px 16px !important;
        box-shadow: var(--vu-sh-xs) !important;
        font-size: 13.5px;
        line-height: 1.5;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .alert-info    { background: #eff6ff !important; border-color: #bfdbfe !important; color: #1e3a8a !important; }
    .alert-success { background: #ecfdf5 !important; border-color: #a7f3d0 !important; color: #065f46 !important; }
    .alert-warning { background: #fff7ed !important; border-color: #fed7aa !important; color: #9a3412 !important; }
    .alert-danger  { background: #fef2f2 !important; border-color: #fecaca !important; color: #991b1b !important; }
    .alert .btn { flex-shrink: 0; }

    /* ---------- Tables ------------------------------------------ */
    .table {
        background: #fff;
        border-collapse: separate;
        border-spacing: 0;
        border-radius: var(--vu-r-lg);
        overflow: hidden;
        box-shadow: var(--vu-sh-xs);
    }
    .table thead th,
    .table > thead > tr > th {
        background: var(--vu-surface-alt) !important;
        color: var(--vu-text-muted) !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border-bottom: 1px solid var(--vu-border) !important;
        border-top: 0 !important;
        padding: 10px 14px !important;
    }
    .table thead th a,
    .table > thead > tr > th a {
        color: var(--vu-text-muted) !important;
        text-decoration: none;
    }
    .table > tbody > tr > td {
        padding: 12px 14px !important;
        border-top: 1px solid #f1f5f9 !important;
        color: var(--vu-text);
        vertical-align: middle;
    }
    .table > tbody > tr:first-child > td { border-top: 0 !important; }
    .table-hover > tbody > tr:hover > td { background: var(--vu-surface-alt) !important; }
    .table-striped > tbody > tr:nth-child(odd) > td { background: #fcfdfe; }

    /* ---------- Bootstrap labels / badges ----------------------- */
    .label, .badge {
        border-radius: var(--vu-r-pill);
        padding: 3px 9px;
        font-weight: 600;
        font-size: 11px;
        letter-spacing: 0.2px;
    }
    .label-default, .badge { background: #e2e8f0; color: var(--vu-text); }
    .label-primary { background: var(--vu-primary); color: #fff; }
    .label-success { background: #d1fae5; color: #065f46; }
    .label-warning { background: #fef3c7; color: #92400e; }
    .label-danger  { background: #fee2e2; color: #991b1b; }
    .label-info    { background: #dbeafe; color: #1e40af; }

    /* ---------- Modals / SweetAlert popups ---------------------- */
    .modal-content {
        border-radius: var(--vu-r-lg) !important;
        border: 1px solid var(--vu-border) !important;
        box-shadow: var(--vu-sh-lg) !important;
    }
    .modal-header { border-bottom: 1px solid var(--vu-border) !important; padding: 16px 20px !important; }
    .modal-body   { padding: 20px !important; }
    .modal-footer { border-top: 1px solid var(--vu-border) !important; padding: 14px 20px !important; }

    .sweet-alert {
        border-radius: var(--vu-r-lg) !important;
        box-shadow: var(--vu-sh-lg) !important;
    }
    .sweet-alert .btn { min-width: 110px; }

    /* ---------- Pagination -------------------------------------- */
    .pagination > li > a,
    .pagination > li > span {
        border-radius: var(--vu-r-md) !important;
        border: 1px solid var(--vu-border) !important;
        color: var(--vu-text) !important;
        margin: 0 3px;
        padding: 6px 12px;
        font-weight: 500;
    }
    .pagination > .active > a,
    .pagination > .active > span {
        background: var(--vu-primary) !important;
        border-color: var(--vu-primary) !important;
        color: #fff !important;
    }
    .pagination > li > a:hover { background: var(--vu-surface-alt) !important; }

    /* ---------- Cart dropdown popup (modern card) --------------- */
    .site-header-actions .shopping-cart .shopping-cart-dropdown {
        background: #fff;
        border-radius: var(--vu-r-lg);
        border: 1px solid var(--vu-border);
        color: var(--vu-text);
        left: auto;
        right: 0;
        margin: 8px 0 0;
        padding: 18px;
        width: 400px;
        box-shadow: var(--vu-sh-lg);
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown h3 {
        margin: 0 0 14px;
        font-size: 11px;
        font-weight: 700;
        color: var(--vu-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.6px;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
        margin: 0 0 16px;
        box-shadow: none;
        border-radius: 0;
        background: transparent;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list thead th {
        background: transparent !important;
        color: var(--vu-text-faint) !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 0 0 8px !important;
        border-bottom: 1px solid var(--vu-border) !important;
        text-align: left;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list thead th:last-child {
        text-align: right;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list tbody td {
        padding: 10px 0 !important;
        border-top: 1px solid #f1f5f9 !important;
        font-size: 13px;
        color: var(--vu-text);
        line-height: 1.4;
        vertical-align: top;
        background: transparent !important;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list tbody tr:first-child td {
        border-top: 0 !important;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list .amount {
        text-align: right;
        font-weight: 600;
        color: var(--vu-text);
        font-variant-numeric: tabular-nums;
        white-space: nowrap;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list tr.subproduct td {
        padding-left: 14px !important;
        color: var(--vu-text-muted);
        font-size: 12px;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list .product-price-option {
        margin-top: 2px;
        font-size: 11px;
        color: var(--vu-text-muted);
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list .product-price-option .label {
        background: transparent;
        color: var(--vu-text-faint);
        padding: 0;
        font-weight: 500;
        text-transform: lowercase;
        letter-spacing: 0;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list a {
        color: var(--vu-text) !important;
        font-weight: 500;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .product-list a:hover {
        color: var(--vu-primary) !important;
        text-decoration: none;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .btn-group {
        display: flex;
        gap: 8px;
        width: 100%;
    }
    .site-header-actions .shopping-cart .shopping-cart-dropdown .btn-group .btn {
        flex: 1;
        min-height: 40px;
    }

    /* Empty cart message */
    .site-header-actions .shopping-cart .shopping-cart-dropdown:not(:has(.product-list)) {
        text-align: center;
        color: var(--vu-text-muted);
        font-size: 13px;
        padding: 22px 18px;
    }

    /* ---------- Misc niceties ----------------------------------- */
    .breadcrumb { border-radius: var(--vu-r-md); }
    code, pre { border-radius: var(--vu-r-sm); }
    hr { border-color: var(--vu-border); }
    a { transition: color 0.12s var(--vu-ease); }

    /* ---------- Page background + surface separation ------------ */
    body {
        background:
            radial-gradient(1200px 600px at 50% -100px, rgba(22, 84, 154, 0.05), transparent 70%),
            linear-gradient(180deg, #f4f7fb 0%, #eef2f7 100%);
        background-attachment: fixed;
        color: var(--vu-text);
    }

    /* Main content sits on a clean white "sheet" with a soft shadow. */
    .main-container {
        background: #fff;
        border-radius: var(--vu-r-lg);
        border: 1px solid var(--vu-border);
        box-shadow: var(--vu-sh-sm);
        padding: 24px 28px;
        margin-top: 0;
        margin-bottom: 28px;
    }
    @media (max-width: 767px) {
        .main-container { padding: 16px; border-radius: var(--vu-r-md); }
    }
    .main-container > .alert:first-child { margin-top: 0; }
    .main-container > h1:first-child,
    .main-container > h2:first-child { margin-top: 0; }

    /* Page-level alerts (impersonate / order-for) hug the edges already,
       give them card-style instead of edge-to-edge banners. */
    .wrapper > .alert[style*="margin: 25px 0"] {
        border-radius: var(--vu-r-md) !important;
        border: 1px solid transparent !important;
        margin: 18px auto !important;
        max-width: 1200px;
        box-shadow: var(--vu-sh-xs);
    }

    /* ---------- Search input / button height (input-group) ------ */
    .input-group {
        display: flex !important;
        align-items: stretch !important;
        width: 100%;
    }
    .input-group > .form-control,
    .input-group > .input-group-btn {
        display: flex !important;
        align-items: stretch !important;
    }
    .input-group .form-control {
        height: 40px !important;
        min-height: 40px !important;
        line-height: 1.4 !important;
        box-sizing: border-box !important;
    }
    .input-group .input-group-btn {
        flex: 0 0 auto;
        width: auto !important;
    }
    .input-group .input-group-btn > .btn {
        height: 40px !important;
        min-height: 40px !important;
        padding: 0 16px !important;
        box-sizing: border-box !important;
        margin-left: 4px;
    }
    .input-group .input-group-btn:first-child > .btn,
    .input-group > .form-control:first-child {
        margin-left: 0;
    }
    .input-group > .form-control + .input-group-btn > .btn {
        border-radius: 0 var(--vu-r-md) var(--vu-r-md) 0 !important;
        margin-left: -1px;
    }
    .input-group > .form-control:first-child {
        border-radius: var(--vu-r-md) 0 0 var(--vu-r-md) !important;
    }

    /* ---------- Cart detail page (/winkelmandje) ---------------- */
    #shopping-cart-overview .table-responsive {
        background: #fff;
        border-radius: var(--vu-r-lg);
        border: 1px solid var(--vu-border);
        box-shadow: var(--vu-sh-xs);
        padding: 4px;
        margin-bottom: 18px;
        overflow: hidden;
    }
    #shopping-cart-overview .table {
        margin-bottom: 0;
        box-shadow: none;
        border-radius: var(--vu-r-md);
    }
    #shopping-cart-overview .table img {
        width: 56px;
        height: 56px;
        object-fit: cover;
        border-radius: var(--vu-r-md);
        border: 1px solid var(--vu-border);
        background: #fff;
    }
    #shopping-cart-overview .table td.name a {
        color: var(--vu-text);
        font-weight: 600;
    }
    #shopping-cart-overview .table td.name a:hover { color: var(--vu-primary); }
    #shopping-cart-overview .table td.amount,
    #shopping-cart-overview .table th.amount { text-align: right; font-variant-numeric: tabular-nums; }

    /* Quantity input + sync button — compact paired control */
    #shopping-cart-overview .amount-input {
        display: inline-flex;
        align-items: stretch;
        gap: 0;
        border-radius: var(--vu-r-md);
        overflow: hidden;
        border: 1px solid var(--vu-border);
        background: #fff;
    }
    #shopping-cart-overview .amount-input .row,
    #shopping-cart-overview .amount-input .form-group-content {
        display: inline-flex !important;
        align-items: stretch;
        float: none !important;
        margin: 0 !important;
    }
    #shopping-cart-overview .amount-input .form-group {
        margin: 0 !important;
        padding: 0 !important;
    }
    #shopping-cart-overview .amount-input input {
        width: 56px;
        height: 36px !important;
        min-height: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        padding: 0 8px !important;
        text-align: center;
        background: #fff;
        font-weight: 600;
        font-variant-numeric: tabular-nums;
        box-shadow: none !important;
    }
    #shopping-cart-overview .amount-input input:focus {
        outline: 0;
        box-shadow: inset 0 0 0 2px rgba(22, 84, 154, 0.18) !important;
    }
    #shopping-cart-overview .button-update-product {
        height: 36px !important;
        min-height: 0 !important;
        width: 36px;
        padding: 0 !important;
        border-radius: 0 !important;
        border: 0 !important;
        border-left: 1px solid var(--vu-border) !important;
        background: var(--vu-surface-alt) !important;
        color: var(--vu-text-muted) !important;
        font-size: 13px !important;
        box-shadow: none !important;
        transform: none !important;
    }
    #shopping-cart-overview .button-update-product:hover,
    #shopping-cart-overview .button-update-product:focus,
    #shopping-cart-overview .button-update-product:active {
        background: var(--vu-primary-soft) !important;
        color: var(--vu-primary) !important;
        border: 0 !important;
        border-left: 1px solid var(--vu-border) !important;
        transform: none !important;
        outline: 0 !important;
    }
    #shopping-cart-overview .button-update-product span,
    #shopping-cart-overview .button-update-product .fa {
        font-size: 13px !important;
    }

    /* Delete row button — icon-only ghost danger */
    #shopping-cart-overview .button-remove-from-cart {
        width: 36px;
        height: 36px !important;
        min-height: 0 !important;
        padding: 0 !important;
        border-radius: var(--vu-r-md) !important;
        background: transparent !important;
        border: 1px solid var(--vu-border) !important;
        color: var(--vu-text-muted) !important;
        box-shadow: none !important;
        font-size: 14px !important;
    }
    #shopping-cart-overview .button-remove-from-cart:hover {
        background: #fef2f2 !important;
        border-color: #fecaca !important;
        color: var(--vu-danger) !important;
        transform: none !important;
    }

    #shopping-cart-overview .table th.remove,
    #shopping-cart-overview .table td.remove { text-align: right; }

    /* Warning icon */
    #shopping-cart-overview .fa-exclamation-triangle {
        color: var(--vu-warning);
        font-size: 16px;
        cursor: pointer;
        padding: 6px;
        border-radius: var(--vu-r-sm);
    }
    #shopping-cart-overview .fa-exclamation-triangle:hover { background: #fff7ed; }
    #shopping-cart-overview .fa-exclamation-triangle.warning { color: var(--vu-danger); }

    /* Cart totals + checkout area */
    #shopping-cart-overview > div[style*="text-align: right"] {
        background: #fff;
        border: 1px solid var(--vu-border);
        border-radius: var(--vu-r-md);
        padding: 12px 18px;
        margin-bottom: 18px;
        text-align: right;
        font-size: 14px;
    }
    #shopping-cart-overview > div[style*="text-align: right"] strong {
        color: var(--vu-text-muted);
        font-weight: 600;
        text-transform: uppercase;
        font-size: 12px;
        letter-spacing: 0.4px;
        margin-right: 8px;
    }

    /* Cart submit "Afrekenen" button */
    #shopping-cart-overview input[type="submit"],
    #shopping-cart-overview button[type="submit"] {
        background: var(--vu-accent) !important;
        border: 0 !important;
        border-radius: var(--vu-r-md) !important;
        padding: 12px 28px !important;
        color: #fff !important;
        font-weight: 700 !important;
        font-size: 15px !important;
        cursor: pointer;
        box-shadow: var(--vu-sh-sm) !important;
        transition: all 0.15s var(--vu-ease);
        min-height: 46px;
    }
    #shopping-cart-overview input[type="submit"]:hover,
    #shopping-cart-overview button[type="submit"]:hover {
        background: var(--vu-accent-dark) !important;
        transform: translateY(-1px);
        box-shadow: var(--vu-sh-md) !important;
    }
    #shopping-cart-overview input[type="submit"]:disabled,
    #shopping-cart-overview button[type="submit"]:disabled {
        background: #cbd5e1 !important;
        cursor: not-allowed;
        transform: none;
        box-shadow: none !important;
    }

    /* ---------- Product detail page ----------------------------- */
    .product-detail {
        display: flex;
        flex-wrap: wrap;
        gap: 28px;
        margin: 0;
    }
    .product-detail > [class*="col-"] {
        float: none;
        padding: 0;
        width: auto;
        flex: 1 1 0;
        min-width: 0;
    }
    .product-detail > [class*="col-lg-5"] { flex: 0 0 42%; max-width: 42%; }
    .product-detail > [class*="col-lg-7"] { flex: 1 1 0; }
    .product-detail > [class*="col-lg-12"] { flex: 1 1 100%; max-width: 100%; }
    @media (max-width: 991px) {
        .product-detail > [class*="col-lg-5"],
        .product-detail > [class*="col-lg-7"] { flex: 1 1 100%; max-width: 100%; }
    }

    /* Image area */
    .product-detail .main-image {
        background: var(--vu-surface-alt);
        border-radius: var(--vu-r-lg);
        border: 1px solid var(--vu-border);
        padding: 18px;
        text-align: center;
        overflow: hidden;
    }
    .product-detail .main-image img {
        max-width: 100%;
        height: auto;
        border-radius: var(--vu-r-md);
        transition: transform 0.3s var(--vu-ease);
    }
    .product-detail .main-image:hover img { transform: scale(1.03); }
    .product-detail .thumbs {
        display: flex !important;
        flex-wrap: wrap;
        gap: 8px;
        margin: 14px 0 0 !important;
    }
    .product-detail .thumbs > [class*="col-"] {
        float: none;
        padding: 0;
        width: auto;
        flex: 0 0 auto;
    }
    .product-detail .product-thumb-image {
        border: 1px solid var(--vu-border);
        border-radius: var(--vu-r-md);
        overflow: hidden;
        background: #fff;
        padding: 4px;
        transition: border-color 0.15s var(--vu-ease), box-shadow 0.15s var(--vu-ease);
        cursor: pointer;
    }
    .product-detail .product-thumb-image:hover {
        border-color: var(--vu-primary);
        box-shadow: 0 0 0 3px rgba(22, 84, 154, 0.10);
    }
    .product-detail .product-thumb-image img {
        width: 72px;
        height: 72px;
        object-fit: cover;
        display: block;
        border-radius: var(--vu-r-sm);
    }

    /* Info column — restyle the inline strong/<br> layout into a clean info block */
    .product-detail > [class*="col-"]:not(:first-child),
    .product-detail > .col-lg-12 {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
    .product-detail > [class*="col-"]:not(:first-child) > br,
    .product-detail > .col-lg-12 > br { display: none; }

    /* Convert "<strong>Label:</strong> value" pairs into stat chips */
    .product-detail > [class*="col-"]:not(:first-child) > strong,
    .product-detail > .col-lg-12 > strong {
        display: inline-flex;
        align-items: baseline;
        gap: 6px;
        padding: 6px 12px;
        background: var(--vu-surface-alt);
        border: 1px solid var(--vu-border);
        border-radius: var(--vu-r-pill);
        font-size: 12px;
        font-weight: 600;
        color: var(--vu-text-muted);
        text-transform: uppercase;
        letter-spacing: 0.4px;
        margin: 0;
        align-self: flex-start;
    }
    .product-detail > [class*="col-"]:not(:first-child) > strong + br + strong {
        margin-top: 6px;
    }

    /* Description / remarks paragraphs */
    .product-detail p {
        color: var(--vu-text);
        line-height: 1.6;
        margin: 0;
        padding: 14px 16px;
        background: var(--vu-surface-alt);
        border-radius: var(--vu-r-md);
        border-left: 3px solid var(--vu-primary);
        font-size: 14px;
    }

    /* Quantity input on product detail */
    .product-detail .form-group {
        max-width: 200px;
        margin: 0 !important;
        padding: 0 !important;
    }
    .product-detail .form-group label {
        display: block;
        font-size: 12px;
        text-transform: uppercase;
        letter-spacing: 0.4px;
        color: var(--vu-text-muted);
        font-weight: 600;
        margin-bottom: 6px;
    }
    .product-detail .form-group input[type="number"] {
        border-radius: var(--vu-r-md) !important;
        border: 1px solid var(--vu-border) !important;
        background: #fff !important;
        height: 44px;
        min-height: 44px;
        padding: 10px 14px !important;
        font-size: 15px;
        font-weight: 600;
        text-align: center;
        max-width: 200px;
    }

    /* The "Bestellen" CTA — div with onclick */
    .product-detail .order-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        background: var(--vu-accent) !important;
        color: #fff !important;
        padding: 14px 28px !important;
        border-radius: var(--vu-r-md);
        font-weight: 700;
        font-size: 15px;
        letter-spacing: 0.2px;
        cursor: pointer;
        border: 0;
        box-shadow: var(--vu-sh-sm);
        transition: all 0.15s var(--vu-ease);
        align-self: flex-start;
        text-transform: none;
    }
    .product-detail .order-btn::after {
        content: '→';
        font-size: 18px;
        font-weight: 400;
        margin-left: 4px;
        transition: transform 0.15s var(--vu-ease);
    }
    .product-detail .order-btn:hover::after { transform: translateX(3px); }
    .product-detail .order-btn:hover {
        background: var(--vu-accent-dark) !important;
        transform: translateY(-1px);
        box-shadow: var(--vu-sh-md);
    }

    /* Empty-state message when user has no size */
    .product-detail p:has(strong:only-child),
    .product-detail > [class*="col-"] > p:last-child {
        background: #fef3c7;
        border-left-color: #d97706;
        color: #92400e;
    }

    /* ---------- Shipping address card --------------------------- */
    .shipping.row {
        background: #fff;
        border: 1px solid var(--vu-border);
        border-radius: var(--vu-r-lg);
        padding: 20px;
        margin: 0 0 18px !important;
        box-shadow: var(--vu-sh-xs);
    }
    .shipping.row .totals {
        margin-top: 16px;
        text-align: right;
    }
    .calculate-shipment-cost,
    .checkout-step-information {
        margin: 0 !important;
    }

    /* Subtle dividers between sections inside the main container */
    .main-container > .row + .row { margin-top: 24px; }

    /* Make standalone form labels in title-wrap area readable */
    .control-label { font-weight: 600; color: var(--vu-text); }

    /* ---------- Layout flow: footer stays below content --------- */
    html, body { min-height: 100%; }
    body {
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    .wrapper {
        flex: 1 0 auto;
        display: flex;
        flex-direction: column;
        position: static !important;
    }
    .wrapper > .main-container,
    .wrapper > .container,
    .wrapper > .row,
    .wrapper > .alerts { flex-shrink: 0; }

    /* Push content above the footer */
    footer {
        position: static !important;
        left: auto !important;
        bottom: auto !important;
        width: 100%;
        margin-top: auto;
        padding: 28px 0 !important;
        text-transform: none !important;
        background: #16549A;
        box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.08);
    }
    footer .container {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
    }
    footer .logo,
    footer .logo-dt {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 12px;
    }
    footer ul {
        display: inline-flex;
        gap: 14px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    footer ul li:after { display: none !important; }
    footer a { color: rgba(255, 255, 255, 0.9) !important; }
    footer a:hover { color: #fff !important; }
    .resbr { display: none !important; }
