:root {
    --bg: #0b0c10;
    --fg: #f2f2f2;
    --muted: #c7c7c7;
    --accent: #4da3ff;
    --card: #15171c;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial;
    background: var(--bg);
    color: var(--fg);
}

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

    a:hover {
        color: #7cc2ff;
    }

.container {
    max-width: 1100px;
    margin: 24px auto 80px auto;
    padding: 0 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #22252b;
    background: rgba(11,12,16,0.9);
    backdrop-filter: blur(8px);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px;
}

.logo {
    width: 75px;
    height: 75px;
    display: block;
}

.brand-name {
    font-weight: 700;
    letter-spacing: 0.3px;
}

.brand-name-main {
    font-weight: 700;
    letter-spacing: 0.3px;
    display: block;
}

.brand-name-sub {
    font-size: 0.70rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    display: block;
}

.brand-text {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    line-height: 1.1;
}

.main-nav {
    display: flex;
    gap: 5px;
}

    .main-nav a {
        padding: 8px 10px;
        border-radius: 10px;
    }

        .main-nav a:hover {
            background: #1d2026;
        }

    .main-nav .nav-icon {
        width: 25px; /* or whatever size you like */
        height: 25px;
        vertical-align: middle;
    }

    .main-nav a {
        margin: 0 2px;
    }


.card {
    background: var(--card);
    border: 1px solid #21242b;
    border-radius: 14px;
    padding: 16px;
    overflow-x: auto;
}

.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid #22252b;
    background: rgba(11,12,16,0.9);
    backdrop-filter: blur(8px);
}

.dot {
    opacity: 0.6
}
/* Tables */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
    line-height: 1.4;
}

thead th {
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    background: #1b1f27;
    padding: 10px 12px;
    border-bottom: 1px solid #2a2e36;
    white-space: nowrap;
}

tbody td {
    padding: 10px 12px;
    border-bottom: 1px solid #21242b;
    vertical-align: top;
    word-break: break-word;
}

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

tbody tr:hover td {
    background: #161a22;
}

tbody td:last-child {
    white-space: nowrap;
}

.order-block {
    border-top-color: var(--accent) !important;
    border-top-width: 2px !important;
    border-top-style: solid !important;
    border-bottom-color: var(--accent) !important;
    border-bottom-width: 2px !important;
    border-bottom-style: solid !important;
}
/* Activities linked products rendering */
.linked-prods {
    font-size: 14px;
}

.prod-block {
    margin-bottom: 8px;
}

.prod-name {
    font-weight: 600;
    margin-bottom: 4px;
    display: inline-block;
}

.prod-opts {
    padding-left: 10px;
    border-left: 2px solid #2a2e36;
}

.opt-line {
    line-height: 1.3;
}
/* Badges */
.badge {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    border-radius: 999px;
    border: 1px solid #2a2e36;
    color: var(--muted);
    background: #12161d;
    vertical-align: middle;
    margin-left: 6px;
}

.badge-required {
    border-color: var(--accent);
    color: var(--accent);
}


/* Icon button (e.g., bin) */
.icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid transparent;
    background: none;
    color: var(--muted);
    cursor: pointer;
    transition: all .15s ease;
}

    .icon-btn:hover {
        background: #1d2026;
        border-color: #2a2e36;
        color: #fff;
    }

    .icon-btn:focus {
        outline: 2px solid #2a2e36;
        outline-offset: 2px;
    }

    .icon-btn.danger:hover {
        background: #2a1515;
        border-color: #6b1b1b;
        color: #fff;
    }


/* Money alignment */
.money-cell {
    text-align: right;
}

.money {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

    .money .eur {
        opacity: 0.9;
    }

    .money .amt {
        font-variant-numeric: tabular-nums;
    }


/* Money headers alignment */
.money-head {
    text-align: right;
}


/* Match footer cell padding with body cells so money aligns perfectly */
tfoot td {
    padding: 10px 12px;
    border-top: 1px solid #21242b;
}


/* Product description under name (shop landing) */
.prod-desc {
    color: var(--muted);
    line-height: 1.4;
    margin-top: 4px;
}


/* ====== V4 Responsive Enhancements ====== */

/* Mobile nav */
.nav-toggle {
    display: none;
    margin-left: 12px;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid #2a2e36;
    background: #171a21;
    color: #fff;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-block;
    }

    header nav ul {
        display: none;
    }

    .nav-open header nav ul {
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: #0f1218;
        position: absolute;
        top: 56px;
        right: 12px;
        padding: 12px;
        border: 1px solid #2a2e36;
        border-radius: 12px;
        z-index: 1000;
    }
}

/* Inputs/buttons ergonomic sizing */
input[type="text"], input[type="number"], input[type="time"], input[type="date"], input[type="datetime-local"], select, textarea {
    min-height: 36px;
}

/* Stacked table pattern for small screens */
table.stacked {
    width: 100%;
}

@media (max-width: 768px) {
    .brand-text {
        display:none;
    }
}

@media (max-width: 768px) {
    table.stacked thead {
        display: none;
    }

    table.stacked tbody tr {
        display: block;
        border: 1px solid #2a2e36;
        border-radius: 12px;
        margin: 10px 0;
        padding: 8px;
        background: #0f1218;
    }

        table.stacked tbody tr > td {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 8px 6px;
            border: none;
        }

            table.stacked tbody tr > td[data-label]::before {
                content: attr(data-label);
                font-size: 12px;
                color: var(--muted);
                margin-right: 10px;
                min-width: 110px;
            }
        /* Event & activity headers act as separators */
        table.stacked tbody tr.row-activity td,
        table.stacked tbody tr.event-row td {
            display: block;
            padding: 8px 6px;
        }
    /* Product name/desc block uses full width in first cell */
    table.stacked .prod-name {
        font-weight: 600;
    }

    table.stacked .prod-desc {
        margin-top: 2px;
        color: var(--muted);
    }
    /* Qty control wraps nicely */
    table.stacked .qty-val {
        width: 70px !important;
    }

    table.stacked form .add-btn {
        width: 100%;
    }
    /* Money cells right align values */
    table.stacked .money-cell {
        justify-content: flex-end;
    }
    /* Basket: keep bin button aligned to end */
    table.stacked td.actions {
        justify-content: flex-end;
    }
}

/* Cards spacing tweak on mobile */
@media (max-width: 768px) {
    .card {
        padding: 14px;
    }
}


/* Shop table compact controls */
.shop-table select,
.shop-table input[type="number"],
.shop-table input[type="text"],
.shop-table input[type="time"],
.shop-table .qty,
.shop-table .add-btn {
    min-height: 0;
    height: 30px;
    padding: 2px 8px;
    font-size: 14px;
    line-height: 26px;
    border-radius: 8px;
}

.shop-table .qty-val {
    height: 30px !important;
    padding: 2px 6px;
}

.shop-table .qty.minus, .shop-table .qty.plus {
    width: 30px;
    padding: 0;
}

.shop-table .opt-select {
    max-width: 100%;
    font-size: 14px;
}

.shop-table form .add-btn {
    height: 32px;
    padding: 2px 10px;
}

/* On mobile, keep a slightly larger touch target */
@media (max-width: 768px) {
    .shop-table select,
    .shop-table input[type="number"],
    .shop-table input[type="text"],
    .shop-table input[type="time"],
    .shop-table .qty,
    .shop-table .add-btn {
        height: 34px;
        line-height: 30px;
        font-size: 15px;
    }

        .shop-table .qty.minus, .shop-table .qty.plus {
            width: 34px;
        }

    .shop-table .qty-val {
        height: 34px !important;
    }
}


/* Admin menu inline */
.admin-menu ul {
    display: flex;
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 8px 0 16px 0;
    flex-wrap: wrap;
}

.admin-menu a {
    display: inline-block;
    padding: 6px 10px;
    border: 1px solid #2a2e36;
    border-radius: 10px;
    background: #0f1218;
}

    .admin-menu a:hover {
        background: #131825;
    }


/* V5.1.8 layout fixes */
:root {
    --container: 880px;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 12px;
    width: 100%;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

header nav ul {
    flex-wrap: wrap;
}

/* Ensure header nav is contained on mobile */
@media (max-width: 768px) {
    .nav-open header nav ul {
        position: fixed;
        right: 12px;
        top: 56px;
        max-width: calc(100% - 24px);
        left: auto;
    }
}

/* Shop table should not force overflow */
.shop-table {
    table-layout: fixed;
    width: 100%;
}

    .shop-table td, .shop-table th {
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }


/* V5.1.9 header width matching container */
:root {
    --container: 880px;
}

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

@media (max-width: 768px) {
    .site-header {
        padding: 6px 12px;
    }

    .main-nav a {
        display: inline-block;
        margin: 4px 6px 0 0;
    }
}


/* V5.2.0 responsive tightening */
.card {
    overflow-x: hidden;
}

.shop-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

    .shop-table th, .shop-table td {
        word-wrap: break-word;
        overflow-wrap: anywhere;
    }

        .shop-table td form {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-wrap: wrap;
        }

    .shop-table .opt-select {
        width: 100%;
        max-width: 100%;
    }

    .shop-table .add-btn {
        max-width: 100%;
        white-space: normal;
    }

    .shop-table .qty-val {
        width: 72px !important;
        min-width: 60px;
    }

    .shop-table .qty.minus, .shop-table .qty.plus {
        width: 32px;
        flex: 0 0 auto;
    }

    .shop-table .money-cell {
        white-space: nowrap;
    }

/* Desktop tweaks */
@media (min-width: 769px) {
    .shop-table td[data-label="Opties"] {
        width: 32%;
    }

    .shop-table td[data-label="Aantal"] {
        width: 28%;
    }

    .shop-table td[data-label="Prijs"] {
        width: 12%;
    }

    .shop-table th:nth-child(1) {
        width: 28%;
    }
}

/* Mobile stacking keeps controls inside */
@media (max-width: 768px) {
    .shop-table tbody tr > td {
        width: 100%;
    }

    .shop-table td[data-label] {
        align-items: flex-start;
    }

    .shop-table td[data-label="Aantal"] form {
        width: 100%;
    }

    .shop-table .add-btn {
        width: 100%;
    }
}

/* Avoid any rogue overflow */
.container, main, body, html {
    max-width: 100%;
    overflow-x: hidden;
}


/* ===== V5.2.1 Mobile Responsive Overhaul ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

/* General safe-guards */
html, body, main, .container, .card {
    max-width: 100%;
    overflow-x: hidden;
}

/* Stacked table baseline */
table.stacked {
    width: 100%;
    border-collapse: collapse;
}

    table.stacked .money {
        white-space: nowrap;
    }

/* Desktop defaults for shop table */
.shop-table {
    table-layout: fixed;
}

    .shop-table th, .shop-table td {
        overflow-wrap: anywhere;
    }

/* Controls default sizing */
select, input[type="number"], input[type="text"], input[type="time"], input[type="datetime-local"], button {
    min-height: 30px;
    height: 32px;
    font-size: 14px;
}

/* Qty controls */
.qty-val {
    width: 70px !important;
    min-width: 60px;
}

.qty.minus, .qty.plus {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* === Mobile-first stacked layout === */
@media (max-width: 768px) {
    table.stacked thead {
        display: none;
    }

    table.stacked tbody tr {
        display: block;
        border: 1px solid #2a2e36;
        border-radius: 12px;
        margin: 10px 0;
        padding: 8px;
        background: #0f1218;
    }

        table.stacked tbody tr.row-activity td,
        table.stacked tbody tr.event-row td {
            display: block;
            padding: 8px 6px;
        }

        table.stacked tbody tr > td {
            display: block; /* No flex row → no giant gaps */
            padding: 8px 6px;
        }

            table.stacked tbody tr > td[data-label]::before {
                content: attr(data-label);
                display: block; /* Label on its own line */
                font-size: 12px;
                color: var(--muted);
                margin: 0 0 4px;
            }

    /* Forms and controls wrap nicely and never overflow */
    table.stacked td form {
        display: flex;
        gap: 6px;
        flex-wrap: wrap;
        width: 100%;
    }

    .shop-table .opt-select {
        width: 100%;
        max-width: 100%;
    }

    .shop-table .add-btn {
        width: 100%;
        max-width: 100%;
        white-space: normal;
    }

    .qty-val {
        width: 64px !important;
        min-width: 56px;
        height: 30px !important;
    }

    .qty.minus, .qty.plus {
        width: 30px;
        height: 30px;
    }

    /* Money & actions alignment */
    table.stacked .money-cell {
        text-align: right;
    }

    table.stacked td.actions {
        text-align: right;
    }
}

/* Desktop column hints (flexible, not fixed) */
@media (min-width: 769px) {
    .shop-table th:nth-child(1) {
        width: 30%;
    }

    .shop-table td[data-label="Prijs"] {
        width: 12%;
    }

    .shop-table td[data-label="Opties"] {
        width: 30%;
    }

    .shop-table td[data-label="Aantal"] {
        width: 28%;
    }
}


/* ===== V5.2.2 Basket width/alignment fix ===== */
.card {
    width: 100%;
}

table.basket-table {
    width: 100%;
    table-layout: fixed;
}

    table.basket-table th, table.basket-table td {
        overflow-wrap: anywhere;
    }

        table.basket-table td form {
            justify-content: flex-start;
        }

/* Ensure no right-side empty space due to stray flex/grid */
.container, main {
    display: block;
}

.card > .grid {
    display: block;
}

/* On mobile, full width rows */
@media (max-width: 768px) {
    table.basket-table tbody tr {
        width: 100%;
    }

    table.basket-table td.actions {
        text-align: right;
    }
}


/* ===== V5.2.3 mobile stacked hardening ===== */
@media (max-width: 768px) {
    /* Force all table parts to block + full width */
    table.stacked,
    table.stacked tbody,
    table.stacked tr,
    table.stacked td {
        display: block;
        width: 100% !important;
    }

    /* Normalize text wrapping to avoid vertical letters */
    .shop-table th, .shop-table td,
    .basket-table th, .basket-table td {
        overflow-wrap: break-word;
        word-break: normal;
        white-space: normal;
    }

    /* Keep labels above values */
    table.stacked tbody tr > td[data-label]::before {
        display: block;
        margin: 0 0 4px;
    }

    /* Forms never overflow */
    table.stacked td form {
        width: 100%;
        gap: 6px;
        flex-wrap: wrap;
    }

    /* Buttons and selects scale */
    .shop-table .add-btn, .basket-table .add-btn {
        width: 100%;
        max-width: 100%;
    }

    .shop-table .opt-select {
        width: 100%;
        max-width: 100%;
    }
}


/* V5.2.4 basket footer alignment */
.basket-table tfoot td {
    text-align: right;
}

.basket-table tfoot .add-btn {
    width: auto;
    max-width: none;
}

@media (max-width: 768px) {
    .basket-table tfoot td {
        text-align: right;
    }

    .basket-table tfoot .add-btn {
        width: auto;
    }
}


/* V5.2.5 basket unified footer row */
.checkout-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

    .checkout-row .total-line {
        display: flex;
        align-items: baseline;
        gap: 8px;
        font-weight: 700;
    }

    .checkout-row .total-label {
        font-weight: 700;
    }

@media (max-width: 768px) {
    .checkout-row {
        justify-content: flex-end;
    }

        .checkout-row .add-btn {
            width: auto;
        }
}


/* V5.2.6: Make stacked table footers full-width on mobile */
@media (max-width: 768px) {
    table.stacked tfoot,
    table.stacked tfoot tr,
    table.stacked tfoot td {
        display: block;
        width: 100% !important;
    }

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


/* V5.2.7 — Basket product rows as compact 2-column grid on mobile */
@media (max-width: 768px) {
    .basket-table tbody tr.product-row {
        display: grid !important;
        grid-template-columns: 1fr 120px;
        column-gap: 8px;
        align-items: start;
    }

        .basket-table tbody tr.product-row > td {
            width: auto !important; /* override 100% block from stacked */
        }

            .basket-table tbody tr.product-row > td.money-cell,
            .basket-table tbody tr.product-row > td.actions {
                grid-column: 2;
                text-align: right;
            }

            .basket-table tbody tr.product-row > td:first-child,
            .basket-table tbody tr.product-row > td[data-label="Optie"],
            .basket-table tbody tr.product-row > td[data-label="Aantal"] {
                grid-column: 1;
            }
}


/* V5.2.8 — Stronger product-row grid on mobile */
@media (max-width: 768px) {
    .basket-table tbody tr.product-row {
        display: grid !important;
        grid-template-columns: 1fr 140px;
        column-gap: 12px;
        align-items: start;
    }

        .basket-table tbody tr.product-row > td {
            width: auto !important;
            padding: 8px 6px;
        }

            .basket-table tbody tr.product-row > td.money-cell,
            .basket-table tbody tr.product-row > td.actions {
                grid-column: 2;
                text-align: right;
            }

            .basket-table tbody tr.product-row > td[data-label="Product"],
            .basket-table tbody tr.product-row > td[data-label="Optie"],
            .basket-table tbody tr.product-row > td[data-label="Aantal"] {
                grid-column: 1;
            }
}

/* ===== V5.3.0 Homepage cards (mobile-first) ===== */
.comment-header, .comment-subheader {
    gap: 8px;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid #2a2e36;
    border-radius: 12px;
    background: #0f1218;
    margin: 8px 0;
    font-size: 1em;
}

    .comment-header .muted, .comment-subheader .muted {
        color: var(--muted);
    }

@media (max-width: 768px) {
    .comment-header, .comment-subheader {
        font-size: 0.8em;
    }
}


/* ===== V5.3.0 Basket cards (mobile-first) ===== */
.group-header, .group-subheader {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid #2a2e36;
    border-radius: 12px;
    background: #0f1218;
    margin: 8px 0;
}

    .group-header .muted, .group-subheader .muted {
        color: var(--muted);
    }

.item-card {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 12px;
    padding: 12px;
    border: 1px solid #2a2e36;
    border-radius: 12px;
    background: #0b0f16;
    margin: 10px 0;
}

.item-title {
    font-size: 18px;
    margin-bottom: 6px;
}

.item-line.muted {
    color: var(--muted);
    margin-top: 2px;
}

.item-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.money-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

    .money-row .lab {
        color: var(--muted);
    }

.icon-btn {
    background: #1a1f2a;
    border: 1px solid #2a2e36;
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
}

    .icon-btn:hover {
        background: #222839;
    }

.checkout-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

    .checkout-row .total-line {
        display: flex;
        align-items: baseline;
        gap: 8px;
        font-weight: 700;
    }

.checkout-form .add-btn {
    width: auto;
}

@media (max-width: 768px) {
    .item-card {
        grid-template-columns: 1fr 130px;
    }
}


/* V6.1: Activity title color = badge-required accent */
.row-activity > td > div,
.row-activity .activity-title,
.shop-table .row-activity > td > div {
    color: var(--accent);
}


/* V6.3: activity title (name + timerange, shop + basket) in accent blue */
.activity-title {
    color: var(--accent) !important;
}


/* V6.3: color entire Activity rows (name + timerange) in accent blue on shop + basket */
.shop-table .row-activity > td,
.shop-table .row-activity > td *,
.basket-table .row-activity > td,
.basket-table .row-activity > td * {
    color: var(--accent) !important;
}


/* V6.4: Basket activity headers in accent blue */
.activity-group .group-subheader,
.activity-group .group-subheader * {
    color: var(--accent) !important;
}


/* V6.5: Unify activity text size with basket's group-subheader */
.shop-table .row-activity > td > div,
.shop-table .row-activity > td > div * {
    font-size: 15px !important; /* same as basket style */
}


/* V6.6: category (event-row) arrow styling */
.event-row td {
    font-size: 16px;
}


/* V6.8: Success page styling */
.success-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.success-box {
    border: 1px solid #2a2e36;
    border-radius: 12px;
    padding: 30px 40px;
    text-align: center;
    background: #0f1218;
    max-width: 500px;
}

    .success-box h2 {
        margin-top: 0;
        margin-bottom: 20px;
    }

    .success-box .order-number {
        font-weight: bold;
        font-size: 1.3em;
    }


/* Activity badge for Admin Orderbeheer summary */
.activity-badge {
    display: inline-block;
    padding: 0 .2em;
    margin-right: 6px;
    border: 1px solid #007bff;
    border-radius: .3em;
    font-size: 0.85em;
    color: #007bff;
    background: transparent;
}


/* Visually hide text but keep it for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,1px,1px);
    white-space: nowrap;
    border: 0;
}

/* 25×25 icon buttons that still behave like buttons */
.icon-25 {
    width: 25px !important;
    height: 25px !important;
    padding: 0 !important;
    border: none;
    background-color: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}




/* --- FORCE 25×25 ICON BUTTONS IN SHOP TABLE --- */
.shop-table .qty.minus,
.shop-table .qty.plus,
.shop-table form .add-btn.add-icon {
    width: 20px !important;
    height: 20px !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    line-height: 0 !important; /* hide the glyph */
    font-size: 0 !important; /* hide the glyph */
    position: relative;
    cursor: pointer;
}

    /* replace the text with an icon via ::before */
    .shop-table .qty.minus::before,
    .shop-table .qty.plus::before,
    .shop-table form .add-btn.add-icon::before {
        content: "";
        display: block;
        width: 20px;
        height: 20px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: 20px 20px;
    }

    /* wire specific images */
    .shop-table .qty.minus::before {
        background-image: url('/img/down.png');
    }

    .shop-table .qty.plus::before {
        background-image: url('/img/up.png');
    }

    .shop-table form .add-btn.add-icon::before {
        background-image: url('/img/addbasket-r.png');
    }

    /* keep focus visible */
    .shop-table .qty.minus:focus,
    .shop-table .qty.plus:focus,
    .shop-table form .add-btn.add-icon:focus {
        outline: 2px solid #2a2e36;
        outline-offset: 2px;
    }

.cart-link {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #ff3b30;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

    .cart-badge[hidden] {
        display: none !important;
    }





.site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 16px;
    /* OPAQUE background (pick your color) */
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    border-bottom: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* Your main content should start below the fixed header */
.container {
    padding-top: var(--header-h, 64px) !important;
}

article.contrast.error-block{border:1px solid rgba(200,0,0,.25);border-radius:8px;}


button.as-link {
    background: none;
    border: 0;
    padding: 0;
    font: inherit;
    color: var(--accent, #06c);
    text-decoration: underline;
    cursor: pointer;
}

    button.as-link:hover {
        text-decoration: none;
    }

    button.as-link:focus {
        outline: 2px solid currentColor;
        outline-offset: 2px;
    }

.inline-form {
    display: inline;
    margin-left: .5rem;
}

button.link {
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline;
    cursor: pointer;
}

    button.link.danger {
        color: #b91c1c;
    }

    button.link:hover {
        text-decoration: none;
    }