:root{--ink:#1d1d1b;--muted:#6d6a65;--paper:#fbfaf6;--panel:#fff;--line:#e7e2d9;--theme-primary:#173f5f;--theme-accent:#f2c45b;--theme-green:#315b48;--theme-green-dark:#244738;--theme-soft-green:#e9efe9;--theme-soft-peach:#f3e8df;--theme-white:#fff;--accent:var(--theme-green);--accent2:var(--theme-green-dark)}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.55 system-ui,-apple-system,Segoe UI,sans-serif}.wrap{width:min(1120px,calc(100% - 32px));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.header-inner{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-family:Georgia,serif;font-size:27px;font-weight:700;color:var(--ink);text-decoration:none}.site-header nav{display:flex;gap:20px;flex-wrap:wrap}.site-header nav a{color:var(--ink);text-decoration:none}.hero{margin:38px 0 30px;padding:64px 7%;border-radius:22px;background:linear-gradient(135deg,var(--theme-soft-green),var(--theme-soft-peach))}.hero h1{font:700 clamp(38px,7vw,70px)/1 Georgia,serif;max-width:720px;margin:8px 0 16px}.hero p{max-width:620px;font-size:19px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:12px;font-weight:800;color:var(--accent)}.product-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:24px;margin-bottom:60px}.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:16px}.card{overflow:hidden}.card-body{padding:20px}.card h2{font:700 24px/1.15 Georgia,serif;margin:5px 0}.image-box{display:block;aspect-ratio:4/3;background:#eee;overflow:hidden}.image-box.large{border-radius:18px;aspect-ratio:1}.image-box img{width:100%;height:100%;object-fit:cover}.placeholder{height:100%;display:grid;place-items:center;background:linear-gradient(135deg,#dfe8e0,#efe4dc);font:700 28px Georgia,serif;color:#42594c}.price{font-weight:800}.price.big{font-size:28px}.button{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;background:var(--accent);color:white!important;text-decoration:none;padding:11px 16px;font-weight:750;cursor:pointer}.button:hover{background:var(--accent2)}.button.secondary{background:#f0eee8;color:var(--ink)!important}.button.full{width:100%}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin:45px 0}.tiers{padding:16px;border:1px solid var(--line);border-radius:12px;margin:20px 0}.add-form{display:flex;gap:12px;align-items:end}.add-form label{max-width:110px}label{display:grid;gap:6px;margin:0 0 14px;font-weight:650}input,select,textarea{width:100%;padding:10px 11px;border:1px solid #cec9c0;border-radius:8px;background:#fff;font:inherit}.muted{color:var(--muted);font-size:14px}.cart-list{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden}.cart-row,.summary-row{display:grid;grid-template-columns:1fr auto auto;gap:24px;align-items:center;padding:15px;border-bottom:1px solid var(--line)}.cart-row input{width:80px}.cart-total{display:flex;justify-content:flex-end;gap:35px;font-size:21px;padding:20px}.actions,.title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.checkout-grid{display:grid;grid-template-columns:1.6fr .8fr;gap:24px}.panel{padding:24px;margin-bottom:24px}.summary{align-self:start;position:sticky;top:95px}.summary-row{grid-template-columns:1fr auto;padding-left:0;padding-right:0}.summary-row.total{font-size:21px}.choice{display:flex;grid-template:none;align-items:center;gap:8px;padding:11px;border:1px solid var(--line);border-radius:10px}.choice input{width:auto}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 14px}.alert{padding:12px 14px;background:#fae7e4;border-radius:9px;margin-bottom:16px}.test-badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#fff1c7;font-weight:800;font-size:12px}.success{max-width:700px;margin:60px auto}.site-footer{border-top:1px solid var(--line);padding:32px 0;margin-top:60px;color:var(--muted)}.admin-main{padding-top:30px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);border-radius:14px;padding:24px;text-decoration:none;color:inherit}.stat strong{display:block;font-size:36px}.filters{display:flex;gap:10px;margin:18px 0}.filters select{max-width:220px}.table-wrap{overflow:auto;background:white;border:1px solid var(--line);border-radius:14px}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:13px;border-bottom:1px solid var(--line);white-space:nowrap}th{background:#f4f2ed}.admin-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px}.tier-editor>div{display:grid;grid-template-columns:1fr 1fr;gap:14px}.login-shell{min-height:100vh;display:grid;place-items:center;padding:20px}.login-card{width:min(420px,100%)}@media(max-width:760px){.product-detail,.checkout-grid,.admin-columns{grid-template-columns:1fr}.summary{position:static}.form-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.filters{flex-direction:column}.filters select{max-width:none}.header-inner{padding:12px 0}.hero{padding:45px 24px}.cart-row{grid-template-columns:1fr auto}.cart-row strong:last-child{grid-column:1/-1}.product-detail{gap:24px}}

/* Product bestellen: nette uitlijning + keuze na toevoegen */
.add-form{display:flex;gap:14px;align-items:flex-end;margin-top:28px}
.add-form label{margin:0;max-width:none}
.quantity-field{width:112px}
.quantity-field span{display:block;line-height:1.2}
.add-form input,.add-form .button{height:52px}
.add-form input{font-weight:700;font-size:17px}
.add-cart-button{min-width:155px;padding-left:20px;padding-right:20px}
.stock-line{margin-top:20px}

.cart-added-overlay{position:fixed;inset:0;z-index:1000;background:rgba(20,20,18,.42);display:grid;place-items:center;padding:20px}
.cart-added-dialog{position:relative;width:min(470px,100%);background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:34px;box-shadow:0 24px 80px rgba(0,0,0,.22);text-align:center}
.cart-added-dialog h2{font:700 30px/1.15 Georgia,serif;margin:12px 0 10px}
.cart-added-dialog p{margin:0 0 24px;color:var(--muted)}
.success-mark{width:44px;height:44px;border-radius:50%;display:inline-grid;place-items:center;background:#e8f1ec;color:var(--accent);font-weight:900;font-size:24px}
.modal-close{position:absolute;right:14px;top:10px;width:40px;height:40px;border:0;background:transparent;color:var(--muted);font-size:30px;line-height:1;cursor:pointer}
.cart-added-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:4px}
.cart-added-actions .button{min-height:48px}
.cart-small-link{display:inline-block;margin-top:17px;color:var(--ink);font-size:14px}

@media(max-width:520px){
  .add-form{align-items:stretch;flex-wrap:wrap}
  .quantity-field{width:100%}
  .add-cart-button{width:100%}
  .cart-added-actions{grid-template-columns:1fr}
  .cart-added-dialog{padding:30px 22px 24px}
}

/* v3 productgroepen */
.notice{padding:12px 14px;background:#e7f2ea;border:1px solid #c9dfcf;border-radius:9px;margin-bottom:18px}
.tiers>div{display:flex;justify-content:space-between;gap:18px;padding:7px 0;border-top:1px solid var(--line)}
.tiers>strong+.tier-note{margin:8px 0 12px}
.tier-note{max-width:520px}
.cart-tip{margin:12px 0 0;padding:12px 14px;border-radius:10px;background:#f1efe9;color:var(--muted);font-size:14px}



/* =========================================================
   VOORRAAD
   ========================================================= */

/* =========================================================
   VOORRAADLABELS OP PRODUCTAFBEELDING
   ========================================================= */

.product-image-wrap {
    position: relative;
    overflow: hidden;
}


/* Algemene badge */

.stock-badge {
    position: absolute;
    z-index: 5;

    top: 12px;
    left: 12px;

    padding: 7px 12px;

    border-radius: 6px;

    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;

    letter-spacing: 0.02em;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}


/* Laatste items */

.low-stock-badge {
    background: var(--theme-accent);
    color: #172431;
}


/* Uitverkocht */

.sold-out-badge {
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    padding: 10px 18px;

    background: rgba(23, 36, 49, 0.9);
    color: #fff;

    font-size: 0.85rem;

    white-space: nowrap;
    text-transform: uppercase;
}


/* Uitverkochte afbeelding */

.product-image-wrap:has(.sold-out-badge) img {
    opacity: 0.5;
    filter: grayscale(35%);
}


/* Mobiel */

@media (max-width: 650px) {

    .stock-badge {
        top: 8px;
        left: 8px;

        padding: 6px 9px;

        font-size: 0.68rem;
    }

    .sold-out-badge {
        top: 50%;
        left: 50%;

        padding: 8px 13px;

        font-size: 0.75rem;
    }
}


/* UITVERKOCHT */

.sold-out-badge {
    top: 50%;
    left: 50%;

    transform:
        translate(-50%, -50%);

    padding: 12px 24px;

    border-radius: 7px;

    background:
        rgba(25, 31, 36, .9);

    color: #fff;

    font-size: 1rem;

    text-transform: uppercase;

    white-space: nowrap;
}


/*
 * Afbeelding iets vervagen wanneer uitverkocht
 */

.product-image-wrap:has(.sold-out-badge) img {
    opacity: .48;

    filter:
        grayscale(.45);
}


/* =========================================================
   VOORRAADMELDING
   ========================================================= */

.stock-notice {
    margin: 16px 0;

    padding: 11px 14px;

    border-radius: 9px;

    font-size: .9rem;
    font-weight: 700;
}


/* LAATSTE ITEMS */

.stock-notice.low-stock {
    background: #fff5d3;

    color: #735a14;
}


/* UITVERKOCHT */

.stock-notice.sold-out {
    background: #f5e5e5;

    color: #8a2d2d;
}


/* =========================================================
   UITGESCHAKELDE KNOP
   ========================================================= */

.button.disabled,
.button:disabled {
    opacity: .48;

    cursor: not-allowed;

    pointer-events: none;
}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 650px) {

    .stock-badge {
        font-size: .7rem;
    }

    .low-stock-badge {
        top: 10px;
        left: 10px;
    }

    .sold-out-badge {
        font-size: .9rem;

        padding: 10px 18px;
    }

}


/* =========================================================
   FINANCIEEL DASHBOARD
   ========================================================= */

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 18px 0 30px;
}

.dashboard-card {
    padding: 22px;

    border: 1px solid #e3e7ea;
    border-radius: 14px;

    background: #fff;
}

.dashboard-label {
    display: block;

    margin-bottom: 8px;

    color: #73808a;

    font-size: .78rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .05em;
}

.dashboard-value {
    display: block;

    margin-bottom: 6px;

    font-size: 1.8rem;
    line-height: 1.1;
}

.profit-card {
    background: #f5faf6;
    border-color: #cbded0;
}

.dashboard-period-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 25px;
}

.dashboard-stat-row {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 11px 0;

    border-bottom: 1px solid #edf0f2;
}

.dashboard-stat-row:last-child {
    border-bottom: 0;
}

.dashboard-profit-row {
    font-size: 1.08rem;
}

.dashboard-profit-row strong {
    font-size: 1.15rem;
}


@media (max-width: 900px) {

    .dashboard-cards {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media (max-width: 600px) {

    .dashboard-cards {
        grid-template-columns: 1fr;
    }

    .dashboard-period-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   PRODUCTGROEP FORMULIER
   ========================================================= */

.product-group-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;

    align-items: start;
}


/* Elk veld exact dezelfde structuur */

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;

    min-width: 0;
}


.form-field > label {
    margin: 0;

    font-weight: 700;
    line-height: 1.2;
}


.form-field > input,
.form-field > select,
.form-field > textarea {
    width: 100%;
    box-sizing: border-box;
}


/* Hulplijn onder veld */

.field-help {
    display: block;

    min-height: 20px;

    margin: 0;

    color: #716b63;

    font-size: .88rem;
    line-height: 1.35;
}


/*
 * Zorgt ervoor dat de rechterkolom even hoog blijft
 * als Kostprijs + hulplijn.
 */

.field-help-placeholder {
    visibility: hidden;
}


/* Actief blok */

.product-group-active {
    margin-top: 22px;
}


/* Staffelgedeelte */

.group-tier-section {
    margin-top: 34px;
}


.group-tier-section h2 {
    margin-bottom: 10px;
}


.tier-editor {
    display: flex;
    flex-direction: column;
    gap: 14px;

    margin-top: 20px;
}


.tier-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 18px;

    align-items: start;
}


/* Actieknop */

.form-actions {
    margin-top: 26px;
}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 700px) {

    .product-group-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    .tier-row {
        grid-template-columns: 1fr;

        gap: 12px;
    }


    .field-help-placeholder {
        display: none;
    }


    .product-group-active {
        margin-top: 18px;
    }


    .group-tier-section {
        margin-top: 28px;
    }


    .form-actions .button {
        width: 100%;
    }

}

.settings-section {
    margin-bottom: 22px;
}

.settings-section .form-field {
    margin-bottom: 18px;
}

.settings-save {
    position: sticky;
    bottom: 15px;

    display: flex;
    justify-content: flex-end;

    padding: 12px;

    border-radius: 12px;

    background: rgba(255,255,255,.94);

    box-shadow: 0 5px 25px rgba(0,0,0,.08);
}

.announcement-bar {
    padding: 8px 15px;

    background: var(--theme-accent);
    color: var(--theme-primary);

    text-align: center;

    font-size: .85rem;
    font-weight: 700;
}

.content-page {
    max-width: 850px;

    margin: 35px auto;

    padding: 35px;
}

.content-page h1 {
    margin-top: 0;
}

.page-content {
    font-size: 1rem;
    line-height: 1.75;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    margin-top: 60px;

    padding: 38px 0 20px;

    background: var(--theme-primary);
    color: #fff;
}


.footer-inner {
    display: grid;

    grid-template-columns:
        minmax(0, 1.5fr)
        minmax(180px, .5fr);

    gap: 50px;

    align-items: start;
}


.footer-about {
    max-width: 650px;
}


.footer-title {
    display: block;

    margin-bottom: 5px;

    color: #fff;

    font-size: 1.15rem;
}


.footer-subtitle {
    margin-bottom: 15px;

    color: var(--theme-accent);

    font-size: .9rem;
    font-weight: 700;
}


.footer-text {
    max-width: 600px;

    margin: 0 0 16px;

    color: rgba(255,255,255,.75);

    font-size: .9rem;
    line-height: 1.6;
}


.footer-contact {
    margin: 0;

    font-size: .85rem;
}


.footer-contact span {
    color: rgba(255,255,255,.6);
}


.footer-contact a {
    color: #fff;

    text-decoration: none;
}


.footer-contact a:hover {
    text-decoration: underline;
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.footer-links {
    display: flex;
    flex-direction: column;

    gap: 10px;
}


.footer-links a {
    color: rgba(255,255,255,.82);

    font-size: .9rem;
    font-weight: 600;

    text-decoration: none;
}


.footer-links a:hover {
    color: var(--theme-accent);
}


/* =========================================================
   FOOTER ONDERKANT
   ========================================================= */

.footer-bottom {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 20px;

    margin-top: 30px;
    padding-top: 18px;

    border-top:
        1px solid
        rgba(255,255,255,.12);

    color: rgba(255,255,255,.5);

    font-size: .75rem;
}


.footer-shop-status {
    padding: 5px 9px;

    border-radius: 999px;

    background: rgba(242,196,91,.14);
    color: var(--theme-accent);

    font-weight: 700;
}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 650px) {

    .site-footer {
        margin-top: 40px;

        padding-top: 30px;
    }


    .footer-inner {
        grid-template-columns: 1fr;

        gap: 25px;
    }


    .footer-links {
        flex-direction: row;
        flex-wrap: wrap;

        gap: 10px 18px;
    }


    .footer-bottom {
        align-items: flex-start;

        flex-direction: column;

        gap: 10px;
    }

}

/* =========================================================
   SHOP GESLOTEN PAGINA
   ========================================================= */

.shop-closed-page {
    position: relative;
    overflow: hidden;

    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        270px;

    align-items: stretch;

    min-height: 330px;

    margin: 28px 0 45px;

    border-radius: 22px;

    background: var(--theme-primary);
    color: #fff;
}


/* =========================================================
   LINKERKANT
   ========================================================= */

.shop-closed-content {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;

    max-width: 760px;

    padding: 48px 55px;
}


.shop-closed-eyebrow {
    display: block;

    margin-bottom: 13px;

    color: var(--theme-accent);

    font-size: .72rem;
    font-weight: 800;

    letter-spacing: .1em;
    text-transform: uppercase;
}


.shop-closed-content h1 {
    margin: 0 0 18px;

    color: #fff;

    font-size: clamp(
        2.2rem,
        4vw,
        3.8rem
    );

    line-height: 1;

    letter-spacing: -.035em;
}


.shop-closed-message {
    max-width: 600px;

    margin: 0;

    color: rgba(
        255,
        255,
        255,
        .82
    );

    font-size: 1.05rem;
    line-height: 1.6;
}


.shop-closed-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 28px;
}


/* primaire knop in hero */

.shop-closed-page .button {
    background: var(--theme-accent);
    color: var(--theme-primary);
}


/* secundaire knop */

.shop-closed-page .button.secondary {
    border:
        1px solid
        rgba(
            255,
            255,
            255,
            .25
        );

    background:
        rgba(
            255,
            255,
            255,
            .07
        );

    color: #fff;
}


/* =========================================================
   RECHTER GELE VLAK
   ========================================================= */

.shop-closed-date {
    position: relative;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 30px;

    background: var(--theme-accent);
    color: var(--theme-primary);

    text-align: center;
}


/* schuine overgang */

.shop-closed-date::before {
    content: "";

    position: absolute;

    top: 0;
    left: -95px;

    width: 100px;
    height: 100%;

    background: var(--theme-accent);

    clip-path:
        polygon(
            100% 0,
            100% 100%,
            0 100%
        );
}


.shop-closed-date span {
    position: relative;
    z-index: 2;

    margin-bottom: 7px;

    font-size: .68rem;
    font-weight: 800;

    letter-spacing: .15em;
}


.shop-closed-date strong {
    position: relative;
    z-index: 2;

    font-size: 3.4rem;
    line-height: 1;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .shop-closed-page {
        grid-template-columns:
            minmax(0, 1fr)
            210px;
    }


    .shop-closed-content {
        padding:
            40px
            35px;
    }


    .shop-closed-date::before {
        left: -70px;

        width: 75px;
    }

}


/* =========================================================
   MOBIEL
   ========================================================= */

@media (max-width: 650px) {

    .shop-closed-page {
        display: block;

        min-height: 0;

        margin:
            18px
            0
            30px;

        border-radius: 16px;
    }


    .shop-closed-content {
        padding:
            28px
            22px;
    }


    .shop-closed-content h1 {
        font-size: 2.2rem;
    }


    .shop-closed-message {
        font-size: .92rem;
    }


    .shop-closed-actions {
        flex-direction: column;
    }


    .shop-closed-actions .button {
        width: 100%;

        box-sizing: border-box;

        text-align: center;
    }


    .shop-closed-date {
        display: none;
    }

}

.discount-summary-row {
    color: #26733c;
}

.discount-summary-row span strong {
    margin-left: 4px;
}

/* =========================================================
   ADMIN HEADER
   ========================================================= */

.adminbar .header-inner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 24px;
}


.adminbar .brand {
    flex-shrink: 0;
}


/* ================================================================
   NAVBAR
   ================================================================ */

.site-header {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header .navbar {
    padding-top: 12px;
    padding-bottom: 12px;
}

.site-header .navbar-brand {
    margin: 0;

    font-weight: 700;
    text-decoration: none;
    color: inherit;
}

.site-header .nav-link {
    display: flex;
    align-items: center;
    gap: 7px;

    padding: 10px 12px !important;

    color: inherit;
    font-weight: 500;
}

.site-header .nav-link:hover {
    opacity: 0.7;
}


/* ================================================================
   HAMBURGER
   ================================================================ */

.site-header .navbar-toggler {
    width: 44px;
    height: 44px;

    padding: 8px;

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

    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;

    box-shadow: none !important;
}


/* ================================================================
   MOBIELE WINKELMAND
   ================================================================ */

.mobile-cart-link {
    position: relative;

    width: 44px;
    height: 44px;

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

    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 10px;

    color: inherit;
    text-decoration: none;
}

.mobile-cart-link .bi {
    font-size: 21px;
    line-height: 1;
}

.mobile-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

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

    border: 2px solid #fff;
    border-radius: 999px;

    background: var(--theme-green);
    color: #fff;

    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}


/* ================================================================
   DESKTOP WINKELMAND
   ================================================================ */

.cart-nav-link {
    position: relative;
}

.cart-nav-link .bi {
    font-size: 18px;
}

.cart-nav-count {
    min-width: 22px;
    height: 22px;

    padding: 0 6px;

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

    border-radius: 999px;

    background: var(--theme-green);
    color: #fff;

    font-size: 12px;
    font-weight: 700;
}


/* ================================================================
   MOBIEL MENU
   ================================================================ */

@media (max-width: 991.98px) {

    .site-header .navbar-collapse {
        padding-top: 14px;
    }

    .site-header .navbar-nav {
        gap: 2px;
    }

    .site-header .nav-link {
        min-height: 48px;

        padding: 12px 4px !important;

        font-size: 16px;

        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }
}

/* ================================================================
   ADMIN HOOFDNAVIGATIE
   ================================================================ */

.adminbar .navbar-nav {
    gap: 3px;
}

.adminbar .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;

    padding: 8px 10px !important;

    color: inherit;
    font-size: 14px;
    font-weight: 600;

    border-radius: 8px;
}

.adminbar .nav-link .bi {
    font-size: 15px;
    opacity: 0.7;
}

.adminbar .nav-link:hover,
.adminbar .nav-link.show {
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
}


/* ================================================================
   DROPDOWNS
   ================================================================ */

.adminbar .dropdown-menu {
    min-width: 280px;

    padding: 8px;

    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;

    background: #fff;

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.10);
}


/* ================================================================
   SUBTEGELTJES
   ================================================================ */

.adminbar .dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 11px 12px;

    border-radius: 8px;

    color: inherit;
    text-decoration: none;
}

.adminbar .dropdown-item:hover,
.adminbar .dropdown-item:focus {
    background: rgba(0, 0, 0, 0.045);
    color: inherit;
}

.adminbar .dropdown-item > .bi {
    width: 32px;
    height: 32px;

    flex: 0 0 32px;

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

    border-radius: 8px;

    background: rgba(47, 100, 75, 0.08);
    color: var(--theme-green);

    font-size: 16px;
}

.adminbar .dropdown-item > span {
    display: flex;
    flex-direction: column;

    min-width: 0;
}

.adminbar .dropdown-item strong {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.adminbar .dropdown-item small {
    margin-top: 2px;

    color: #777;

    font-size: 12px;
    line-height: 1.3;
}


/* ================================================================
   UITLOGGEN
   ================================================================ */

.adminbar .admin-logout {
    margin-left: 3px;
}

.adminbar .admin-logout .bi {
    font-size: 17px;
}


/* ================================================================
   MOBIEL
   ================================================================ */

@media (max-width: 1199.98px) {

    .adminbar .navbar-collapse {
        padding-top: 12px;
    }

    .adminbar .navbar-nav {
        gap: 2px;
    }

    .adminbar .nav-link {
        min-height: 48px;

        padding: 11px 5px !important;

        font-size: 16px;

        border-radius: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    }


    /*
     * Bootstrap dropdown op mobiel onderdeel
     * laten worden van het hoofdmenu.
     */

    .adminbar .dropdown-menu {
        position: static !important;

        min-width: 0;

        margin: 4px 0 10px;
        padding: 5px 0 5px 12px;

        border: 0;
        border-radius: 0;

        background: transparent;

        box-shadow: none;

        transform: none !important;
    }


    .adminbar .dropdown-item {
        min-height: 52px;

        padding: 8px 10px;

        border-radius: 9px;
    }


    .adminbar .dropdown-item > .bi {
        width: 34px;
        height: 34px;

        flex-basis: 34px;
    }


    .adminbar .dropdown-item strong {
        font-size: 15px;
    }


    .adminbar .dropdown-item small {
        font-size: 12px;
    }


    .adminbar .admin-logout {
        margin: 6px 0 0;
    }
}


/* ================================================================
   WINKELMAND PAGINA
   ================================================================ */

.cart-page-title {
    margin: 28px 0 14px;

    font-size: clamp(2.2rem, 4vw, 3rem);
    line-height: 1.05;
}


/* ================================================================
   WINKELMAND HOOFDKAART
   ================================================================ */

.cart-card {
    overflow: hidden;

    margin-top: 12px;

    border: 1px solid var(--line);
    border-radius: 16px;

    background: #fff;
}

.cart-card .cart-list {
    overflow: visible;

    border: 0;
    border-radius: 0;

    background: transparent;
}


/* ================================================================
   PRODUCTREGELS
   ================================================================ */

.cart-card .cart-row {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        110px
        120px;

    gap: 28px;

    align-items: center;

    padding: 22px 28px;

    border-bottom: 1px solid var(--line);
}

.cart-card .cart-row:last-child {
    border-bottom: 0;
}

.cart-product-info {
    min-width: 0;
}

.cart-product-info > strong {
    display: block;

    margin-bottom: 3px;

    font-size: 16px;
    font-weight: 750;
    line-height: 1.25;
}

.cart-product-info .muted {
    font-size: 14px;
    line-height: 1.4;
}


/* ================================================================
   AANTAL
   ================================================================ */

.cart-quantity {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cart-quantity-field {
    display: block;

    width: 100%;
    margin: 0;
}

.cart-quantity-label,
.cart-line-price-label {
    display: block;

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 11px;
    font-weight: 750;

    letter-spacing: .05em;
    text-transform: uppercase;
}

.cart-card .cart-row input {
    width: 100%;
    height: 46px;

    padding: 8px 12px;

    border-radius: 9px;

    font-size: 16px;
    font-weight: 700;
}

.cart-static-quantity {
    font-weight: 700;
}


/* ================================================================
   REGELTOTAAL
   ================================================================ */

.cart-line-price {
    text-align: right;
}

.cart-line-price strong {
    display: block;

    font-size: 17px;
    font-weight: 800;

    white-space: nowrap;
}


/* ================================================================
   INFOBALK
   ================================================================ */

.cart-card .cart-tip {
    margin: 0;

    padding: 12px 28px;

    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;

    background: #f5f3ee;

    color: var(--muted);

    font-size: 13px;
    line-height: 1.45;
}


/* ================================================================
   WINKELMAND FOOTER
   ================================================================ */

.cart-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 22px 28px;

    border-top: 1px solid var(--line);
}


/* ================================================================
   TOTAAL
   ================================================================ */

.cart-card .cart-summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 22px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;
}

.cart-summary-text {
    display: flex;
    flex-direction: column;

    gap: 1px;
}

.cart-card .cart-summary-label {
    display: block;

    color: var(--ink);

    font-size: 15px;
    font-weight: 700;
}

.cart-summary-text small {
    color: var(--muted);

    font-size: 12px;
}

.cart-card .cart-summary-total {
    font-size: 27px;
    font-weight: 850;
    line-height: 1;

    white-space: nowrap;
}


/* ================================================================
   ACTIES
   ================================================================ */

.cart-actions {
    display: flex;
    align-items: center;

    gap: 10px;
}

.cart-actions .button {
    min-height: 46px;

    padding: 11px 20px;

    white-space: nowrap;
}


/* ================================================================
   TABLET
   ================================================================ */

@media (max-width: 800px) {

    .cart-card .cart-row {
        grid-template-columns:
            minmax(0, 1fr)
            100px
            110px;

        gap: 18px;

        padding: 20px;
    }

    .cart-card .cart-tip {
        padding-left: 20px;
        padding-right: 20px;
    }

    .cart-card-footer {
        padding: 20px;
    }
}


/* ================================================================
   MOBIEL
   ================================================================ */

@media (max-width: 650px) {

    .cart-page-title {
        margin-top: 20px;
        margin-bottom: 12px;

        font-size: 2.2rem;
    }

    .cart-card .cart-row {
        grid-template-columns:
            minmax(0, 1fr)
            88px;

        gap: 14px;

        padding: 18px;
    }

    .cart-line-price {
        grid-column: 1 / -1;

        display: flex;
        align-items: center;
        justify-content: space-between;

        gap: 20px;

        padding-top: 12px;

        border-top: 1px solid rgba(0, 0, 0, .06);

        text-align: left;
    }

    .cart-line-price-label {
        margin: 0;

        font-size: 11px;
    }

    .cart-card .cart-tip {
        padding: 12px 18px;
    }

    .cart-card-footer {
        align-items: stretch;
        flex-direction: column;

        gap: 18px;

        padding: 18px;
    }

    .cart-card .cart-summary {
        justify-content: space-between;

        width: 100%;
    }

    .cart-card .cart-summary-total {
        font-size: 24px;
    }

    .cart-actions {
        width: 100%;
    }

    .cart-actions .button {
        flex: 1;

        min-height: 48px;
    }
}


/* ================================================================
   KLEINE TELEFOONS
   ================================================================ */

@media (max-width: 430px) {

    .cart-card .cart-row {
        grid-template-columns:
            minmax(0, 1fr)
            76px;

        gap: 12px;

        padding: 16px;
    }

    .cart-card .cart-row input {
        height: 44px;

        padding-left: 9px;
        padding-right: 9px;
    }

    .cart-actions {
        flex-direction: column-reverse;
    }

    .cart-actions .button {
        width: 100%;
    }
}

.checkout-discount {
    margin: 14px 0;
    padding: 16px 0;

    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.checkout-discount-label {
    display: block;
}

.checkout-discount-label > span {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 600;
}

.checkout-discount-input {
    display: flex;
    align-items: stretch;
    gap: 8px;
}

.checkout-discount-input input {
    flex: 1;
    min-width: 0;
}

.checkout-discount-input .button {
    flex: 0 0 auto;
    white-space: nowrap;
}

.checkout-discount-active {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    margin-bottom: 12px;
}

.checkout-discount-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.checkout-discount-info strong {
    font-size: 15px;
}

.discount-remove {
    padding: 0;

    border: 0;
    background: transparent;

    font: inherit;
    font-size: 13px;
    text-decoration: underline;

    cursor: pointer;
}

.discount-summary-row strong {
    white-space: nowrap;
}

@media (max-width: 520px) {

    .checkout-discount-input {
        flex-direction: column;
    }

    .checkout-discount-input .button {
        width: 100%;
    }
}

.summary hr {
    display: none;
}

.summary-row {
    border-bottom: 0 !important;
    padding: 8px 0;
}

.checkout-discount {
    margin: 18px 0 20px;
    padding: 0;

    border: 0;
}

.checkout-discount-active {
    margin-bottom: 12px;
}

.discount-summary-row {
    padding-bottom: 4px;
}

.summary-total {
    margin-top: 18px;
    padding-top: 18px;

    border-top: 1px solid #d9d9d9 !important;
}

/* ================================================================
   LOGO / BRAND
   ================================================================ */

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    min-width: 0;
    margin-right: 20px;

    color: inherit;
    text-decoration: none;
}

.site-brand:hover {
    color: inherit;
    text-decoration: none;
}

.site-logo {
    display: block;

    width: auto;
    height: 100px;

    flex: 0 0 auto;

    object-fit: contain;
}

.site-brand-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.1;

    white-space: nowrap;
}


/* ================================================================
   MOBIEL
   ================================================================ */

@media (max-width: 991.98px) {

    .site-brand {
        gap: 8px;
        margin-right: 8px;
    }

    .site-logo {
        height: 60px;
    }

    .site-brand-name {
        font-size: 16px;
    }
}


/* ================================================================
   ZEER KLEIN SCHERM
   ================================================================ */

@media (max-width: 430px) {

    .site-logo {
        height: 38px;
    }

    /*
     * Sitenaam verbergen zodat logo + winkelmand +
     * hamburger altijd netjes naast elkaar passen.
     */

    .site-brand-name {
        display: none;
    }
}