/* =============================================
   WPBeter Checkout — Winkelwagen
   ============================================= */

:root {
    --wpbc-text-muted: #666;
}

/* Verberg de cart-count-badge wanneer de winkelwagen leeg is.
   Kadence rendert TWEE cart-knoppen (desktop .header-cart-wrap + mobiel
   .header-mobile-cart-wrap). Beide containers hebben een marker-span
   .header-cart-empty-check die de class .header-cart-is-empty-true krijgt
   als de cart leeg is. Via die marker pakken we de telling in dezelfde
   container, zodat beide knoppen worden afgedekt. wc_fragments-AJAX werkt
   die class bij na cart-wijzigingen, dus dit reageert vanzelf op caching
   én op live wijzigingen. */
.header-cart-empty-check.header-cart-is-empty-true ~ .header-cart-inner-wrap .header-cart-total {
    display: none !important;
}

.kb-row-layout-id843_bf759e-94 > .kt-row-column-wrap {
    padding-top: 0 !important;
}

/* ---- Lege winkelwagen ---- */
.wpbc-cart-wrap.wpbc-cart-empty {
    text-align: center;
}

.wpbc-cart-empty-inner {
    max-width: 500px;
    margin: 0 auto;
    padding: 2.5rem 1rem 6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Titel: normale schrijfwijze + zelfde grootte als de standaard H1 van de site */
.wpbc-cart-empty-title {
    margin: 0 !important;
    color: #033741;
    font-weight: 700;
    text-transform: none;
}

.wpbc-cart-empty .wpbc-cart-subtitle {
    color: #4d5255;
    font-size: 1rem;
    margin-bottom: 1.75rem !important;
}

.wpbc-cart-empty-btn {
    width: auto !important;
    display: inline-flex !important;
}

.wpbc-cart-empty-photo {
    display: block;
    width: 290px;
    max-width: 100%;
    height: auto;
    margin-top: 2rem;
}

/* Kadence past margin en float toe op cart wrapper — resetten */
.woocommerce-cart .kadence-woo-cart-form-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.woocommerce-cart .kadence-woo-cart-form-wrap > form {
    float: none;
    width: 100%;
    padding-right: 0;
}

.wpbc-cart-wrap h1.wpbc-cart-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 !important;
    color: #033741;
    text-transform: uppercase;
}

.wpbc-cart-subtitle {
    font-size: 1.4rem;
    color: #007186;
    font-weight: 400;
    margin: 0 0 0.75rem !important;
}

.wpbc-cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 5.3rem;
    align-items: start;
}

/* ---- Producttabel ---- */
.wpbc-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.wpbc-cart-table thead th {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #666;
    padding: 0 0 0.75rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

.wpbc-col-quantity,
.wpbc-col-subtotal {
    text-align: right;
}

.wpbc-cart-table tbody tr {
    border-bottom: 1px solid #ddd;
}

.wpbc-cart-table tbody td {
    padding: 1.25rem 0;
    vertical-align: middle;
}

/* Product info */
.wpbc-product-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.wpbc-product-thumb {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
    overflow: hidden;
}

.wpbc-product-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
}

.wpbc-product-name-wrap {
    flex: 1;
    min-width: 0;
}

.wpbc-product-name-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.2rem;
}

.wpbc-product-name a,
.wpbc-product-name {
    font-weight: 600;
    color: #007186;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.3;
}

.wpbc-product-name a:hover {
    text-decoration: underline;
}

.woocommerce-cart-item__meta {
    font-size: 0.85rem;
    color: #666;
}

/* Variatie-data onder productnaam */
.wpbc-variation-data {
    font-size: 0.85rem;
    color: #666;
    margin-top: 8px;
}

.wpbc-variation-label {
    font-weight: 400;
}

.wpbc-variation-value {
    font-weight: 600;
    color: #444;
    margin-left: 0.2rem;
}

.wpbc-price-excl {
    font-size: 0.8rem;
    color: #999;
}

/* Quantity controls */
.wpbc-qty-wrap {
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
}

.wpbc-qty-stepper {
    display: flex;
    align-items: center;
}

.wpbc-remove-link {
    appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0;
    margin-top: 6px;
    cursor: pointer;
    color: #007186;
    line-height: 1;
    flex-shrink: 0;
    transition: color 0.15s;
}

.wpbc-remove-link:hover,
.wpbc-remove-link:focus,
.wpbc-remove-link:active {
    background: none !important;
    box-shadow: none;
    outline: none;
}

.wpbc-remove-link:hover {
    color: #007186 !important;
}

.wpbc-remove-link svg {
    display: block;
    width: 12px !important;
    height: 12px !important;
}

/* Desktop: X icon hidden, Verwijder text shown */
.wpbc-remove-icon {
    display: none !important;
}

.wpbc-remove-text {
    margin-top: 0;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.wpbc-remove-text:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wpbc-qty-btn {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    border: 1px solid #ddd;
    background: #fff;
    color: #007186;
    cursor: pointer;
    line-height: 1;
    display: flex !important;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    flex-shrink: 0;
    border-radius: 0;
    box-sizing: border-box !important;
    touch-action: manipulation;
}

.wpbc-qty-btn.wpbc-qty-minus {
    border-radius: 4px 0 0 4px;
    border-right: none !important;
}

.wpbc-qty-btn.wpbc-qty-plus {
    border-radius: 0 4px 4px 0;
    border-left: none !important;
}

.wpbc-qty-btn svg {
    display: block !important;
    width: 12px !important;
    height: 12px !important;
    pointer-events: none;
    flex-shrink: 0;
}

.wpbc-qty-btn svg path {
    fill: #007186 !important;
}

.wpbc-qty-btn:hover svg path {
    fill: #007186 !important;
}

/* Prullenbak-icoon gebruikt stroke, geen fill */
.wpbc-qty-is-trash svg path {
    fill: none !important;
    stroke: #007186 !important;
}

.wpbc-qty-is-trash svg {
    width: 14px !important;
    height: 14px !important;
}

.wpbc-qty-btn:hover {
    background: #f2f7fc;
    color: #007186;
    border-color: #ddd !important;
}

/* Geen donkere thema-knopstijl na klikken/focus */
.wpbc-qty-btn:focus,
.wpbc-qty-btn:focus-visible,
.wpbc-qty-btn:active {
    outline: none !important;
    background-color: #fff !important;
    background-image: none !important;
    border-color: #ddd !important;
    box-shadow: none !important;
    color: #007186 !important;
}

.wpbc-qty-btn:focus svg path,
.wpbc-qty-btn:active svg path {
    fill: #007186 !important;
}

.wpbc-qty-value {
    width: 32px;
    height: 32px;
    text-align: center;
    font-weight: 500;
    font-size: 0.9rem;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    padding: 0;
    background: #fff;
    color: #1a1a1a;
    -moz-appearance: textfield;
    box-shadow: none;
    outline: none;
}

.wpbc-qty-value::-webkit-inner-spin-button,
.wpbc-qty-value::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wpbc-qty-value:hover {
    border-color: #bbb !important;
}

.wpbc-qty-value:focus {
    outline: none;
    border-color: #007186 !important;
    box-shadow: none;
}

/* Subtotaal */
.wpbc-col-subtotal {
    text-align: right;
    min-width: 150px;
    padding-left: 2rem;
    vertical-align: middle;
}

.wpbc-subtotal-wrap {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 26px;
}

.wpbc-subtotal-prices {
    text-align: right;
}

.wpbc-subtotal-excl {
    display: block;
    font-weight: 600;
    color: #1a1a1a;
}

.wpbc-subtotal-incl {
    display: block;
    font-size: 0.8rem;
    color: var(--wpbc-text-muted);
}

/* Cart actions */
.wpbc-cart-actions {
    padding: 1rem 0 0;
}

.wpbc-back-link {
    display: inline-block;
    margin-top: 1rem;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
}

.wpbc-back-link:hover {
    color: #1a1a1a;
    text-decoration: underline;
}

/* ---- Sidebar ---- */
.wpbc-cart-sidebar {
    position: sticky;
    top: 2rem;
}

.wpbc-order-summary {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
}

.wpbc-summary-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #1a1a1a;
    margin-bottom: 1.25rem;
}

.wpbc-summary-rows {
    margin-bottom: 1rem;
}

.wpbc-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #555;
    border-bottom: 1px solid #ececec;
}

.wpbc-summary-row:last-child {
    border-bottom: none;
}

.wpbc-summary-total {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
    padding-top: 0.75rem;
    border-top: 1px solid #555;
    border-bottom: none;
}

.wpbc-free-shipping {
    color: #008000;
    font-weight: 500;
}

/* Inclusief BTW label */
.wpbc-incl-btw {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: #666;
}

/* USP blok */
.wpbc-usps {
    list-style: none;
    padding: 0 !important;
    margin: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-top: 1px solid #ececec;
    padding-top: 1rem;
}

.wpbc-usps li {
    font-size: 0.82rem;
    color: #444;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
}

.wpbc-usp-icon {
    color: #2d8a4e;
    font-weight: 700;
    flex-shrink: 0;
}

/* Knoppen */
.wpbc-btn-primary {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #007186;
    color: white;
    height: 48px;
    box-sizing: border-box;
    padding: 0 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid #007186;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
}

.wpbc-btn-primary:hover,
.wpbc-btn-primary:active,
.wpbc-btn-primary:focus {
    background: #005f72;
    color: white !important;
}

.wpbc-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: #1a1a1a;
    height: 48px;
    box-sizing: border-box;
    padding: 0 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid #1a1a1a;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
    margin-top: 0.75rem;
}

.wpbc-btn-secondary:hover {
    background: #f5f5f5;
    color: #1a1a1a;
}

.wpbc-offerte-hint {
    text-align: center;
    font-size: 0.8rem;
    color: var(--wpbc-text-muted);
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
}

/* Betaaliconen */
.wpbc-payment-icons {
    margin-top: 0.625rem;
    text-align: center;
}

.wpbc-payment-icons svg {
    width: 290px !important;
    height: 27px !important;
    max-width: 100%;
}

/* ---- USP-balk ---- */
.wpbc-usp-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    background: #f5f5f5;
    padding: 0.875rem 1.5rem;
    margin: 2rem 0;
    border-radius: 6px;
}

.wpbc-usp-bar-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
}

.wpbc-usp-check {
    width: 12.8px !important;
    height: 12.8px !important;
    flex-shrink: 0;
}

.wpbc-usp-star {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0;
    margin-top: -2px;
}

/* ---- Contactblok ---- */
.wpbc-contact-block {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0;
}

.wpbc-contact-persons {
    display: flex;
    gap: 1.5rem;
    flex-shrink: 0;
    padding-right: 2rem;
    border-right: 1px solid #ddd;
}

.wpbc-contact-person {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 110px;
}

.wpbc-contact-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: #d9d9d9;
    margin-bottom: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
}

.wpbc-contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wpbc-contact-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    display: block;
}

.wpbc-contact-role {
    font-size: 0.82rem;
    color: #666;
    display: block;
}

.wpbc-contact-info {
    flex: 1;
}

.wpbc-contact-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem !important;
}

.wpbc-contact-text {
    font-size: 0.9rem;
    color: #555;
    margin: 0 0 1.25rem !important;
}

.wpbc-contact-btns {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.wpbc-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    border: 2px solid #1a1a1a;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.15s;
}

.wpbc-contact-btn:hover {
    background: #f5f5f5;
    color: #1a1a1a;
}

.wpbc-contact-form-link {
    font-size: 0.85rem;
    color: #666;
    margin: 0 !important;
}

.wpbc-contact-form-link a {
    color: #666;
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

.wpbc-contact-form-link a:hover {
    color: #1a1a1a;
}

/* ---- Offerte modal ---- */
.wpbc-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.wpbc-modal-overlay.wpbc-modal-open {
    display: flex;
}

.wpbc-modal {
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
}

.wpbc-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.wpbc-modal-close:hover,
.wpbc-modal-close:focus {
    color: #333;
    background: none !important;
    box-shadow: none !important;
    outline: none;
}

.wpbc-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #033741;
    margin: 0 0 0.4rem !important;
}

.wpbc-modal-intro {
    font-size: 0.875rem;
    color: #666;
    margin: 0 0 1.5rem !important;
}

.wpbc-modal-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.wpbc-modal-field {
    margin-bottom: 1rem;
}

.wpbc-modal-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 0.35rem;
}

.wpbc-modal-field label abbr {
    color: #e53e3e;
    text-decoration: none;
    margin-left: 2px;
}

.wpbc-modal-field input,
.wpbc-modal-field textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.65rem 0.875rem;
    font-size: 0.9rem;
    color: #1a1a1a;
    background: #fff;
    box-sizing: border-box;
    transition: border-color 0.15s;
}

.wpbc-modal-field input:focus,
.wpbc-modal-field textarea:focus {
    outline: none;
    border-color: #007186;
}

.wpbc-modal-field textarea {
    resize: vertical;
    min-height: 80px;
}

.wpbc-modal-error {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    border-radius: 6px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: #c53030;
    margin-bottom: 1rem;
}

.wpbc-modal-success {
    text-align: left;
    padding: 1rem 0;
}

.wpbc-modal-success-msg {
    color: #2d8a4e;
    font-weight: 600;
    font-size: 0.95rem;
}

.wpbc-modal-submit {
    display: block;
    width: 100%;
    background: #007186;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    margin-top: 0.5rem;
}

.wpbc-modal-submit:hover {
    background: #005f72;
    color: #fff;
}

.wpbc-modal-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* =============================================
   Kadence Cart Flyout — knoppen
   ============================================= */

/* Flex-keten: drawer-content vult resterende ruimte in drawer-inner */
#cart-drawer .drawer-content {
    flex: 1 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    padding-bottom: 0 !important;
}

/* Doorgeven aan WC-content via Kadence refresh-wrappers */
#cart-drawer .mini-cart-container,
#cart-drawer .kadence-mini-cart-refresh {
    flex: 1 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* WC-content: flex column zodat ul scrollt en footer onderaan blijft */
#cart-drawer .widget_shopping_cart_content {
    flex: 1 !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Reset ul padding zodat li-prijzen uitlijnen met subtotaal */
#cart-drawer ul.woocommerce-mini-cart {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
    flex: 1 !important;
    min-height: 0 !important;
    overflow-y: auto !important;
    max-height: none !important;
}

/* Productrij layout — geen border; scheiding via footer-border-top */
#cart-drawer li.woocommerce-mini-cart-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0;
    flex-wrap: nowrap;
}

#cart-drawer li.woocommerce-mini-cart-item > .wpbc-flyout-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}

#cart-drawer .wpbc-flyout-thumb-link {
    flex-shrink: 0;
    line-height: 0;
}

#cart-drawer .wpbc-flyout-thumb-link img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
}

#cart-drawer .wpbc-flyout-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

#cart-drawer .wpbc-flyout-info > a:not(.remove) {
    color: #007186 !important;
    text-decoration: none;
}

/* Variatie in flyout — alleen waarde tonen, label weglaten */
#cart-drawer .wpbc-mini-variation {
    font-size: 0.85rem;
    color: #666;
}
#cart-drawer .wpbc-mini-variation .wpbc-variation-label {
    display: none;
}
#cart-drawer .wpbc-mini-variation .wpbc-variation-value {
    margin-left: 0;
    font-weight: 400;
}

.wpbc-flyout-qty {
    font-size: 0.8rem;
    font-weight: 400;
    color: #555;
    flex-shrink: 0;
}

.wpbc-flyout-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #007186;
    line-height: 1.3;
}

/* Rechter kolom: prijs + stepper */
.wpbc-flyout-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

.wpbc-flyout-price,
.wpbc-flyout-price * {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

.wpbc-flyout-price {
    flex-shrink: 0;
}

/* Subtotaal rij — zit nu in .wpbc-flyout-footer die de zijdelingse inspringing levert */
#cart-drawer .woocommerce-mini-cart__total {
    border-top: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.woocommerce.widget_shopping_cart .total {
    padding: 7px 0 0 !important;
}

/* Subtotaal prijs — zelfde grootte als productprijzen */
#cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount,
#cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount * {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
}

/* Bezorging rij — bovenaan de footer, voorziet de scheidende border */
p.wpbc-flyout-shipping-row {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #555;
    margin: 0 !important;
    padding: 30px 0 0 !important;
    border-top: 1px solid #e5e5e5;
}

.wpbc-flyout-shipping-free {
    color: #008000;
    font-weight: 500;
}

/* Verwijder knop verborgen — wijzigen via winkelwagen */
#cart-drawer li.woocommerce-mini-cart-item > a.remove {
    display: none !important;
}

#cart-drawer .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 0 !important;
    padding: 0 !important;
}

#cart-drawer .woocommerce-mini-cart__buttons::before,
#cart-drawer .woocommerce-mini-cart__buttons::after {
    display: none !important;
}

#cart-drawer .woocommerce-mini-cart__buttons .button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.15s;
    box-sizing: border-box;
}

#cart-drawer .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout) {
    background: none !important;
    border: none !important;
    color: #007186 !important;
    font-size: 0.875rem;
    font-weight: 400;
    height: auto;
    padding: 0 !important;
    width: auto;
    text-decoration: none !important;
}

#cart-drawer .woocommerce-mini-cart__buttons .button.wc-forward:not(.checkout):hover {
    background: none !important;
    text-decoration: underline !important;
}

#cart-drawer .woocommerce-mini-cart__buttons .button.checkout {
    background: #007186 !important;
    color: #fff !important;
    border: 2px solid #007186;
    flex: 1;
    width: auto;
}

#cart-drawer .woocommerce-mini-cart__buttons .button.checkout:hover {
    background: #005f72 !important;
    border-color: #005f72;
}


/* ---- Sticky bestellen CTA ---- */
.wpbc-cart-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #e5e5e5;
    padding: 1rem;
    z-index: 9999999;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
    flex-direction: column;
    gap: 0.75rem;
}

@media (max-width: 900px) {
    .wpbc-cart-sticky.is-visible {
        display: flex;
    }
}

.wpbc-cart-sticky-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.wpbc-cart-sticky-price {
    font-weight: 700;
    font-size: 1rem;
    color: #1a1a1a;
}

.wpbc-cart-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 48px;
    background: #007186;
    color: #fff !important;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}

.wpbc-cart-sticky-btn:hover {
    background: #005f72;
}

/* ---- Cart table <1150px: mirrors flyout layout ---- */
@media (max-width: 1150px) {
    .wpbc-cart-table thead {
        display: none;
    }

    /* tr as flex row: product info left, price right */
    .wpbc-cart-table .woocommerce-cart-form__cart-item {
        display: flex;
        align-items: flex-start;
    }

    .wpbc-col-product {
        flex: 1;
        min-width: 0;
    }

    .wpbc-col-subtotal {
        flex-shrink: 0;
        min-width: 0;
        padding-left: 0.75rem;
        text-align: right;
    }

    /* Product row: 48px image col | name col, stepper below image */
    .wpbc-product-row {
        display: grid;
        grid-template-columns: 48px 1fr;
        gap: 0.4rem 0.5rem;
        align-items: start;
    }

    .wpbc-product-thumb {
        grid-column: 1;
        grid-row: 1;
        width: 48px;
        height: 48px;
    }

    .wpbc-product-name-wrap {
        grid-column: 2;
        grid-row: 1;
    }

    /* Stepper placed by JS as direct child of product-row */
    .wpbc-product-row > .wpbc-qty-wrap {
        grid-column: 1;
        grid-row: 2;
        margin-top: 0;
    }

    .wpbc-subtotal-wrap {
        justify-content: flex-end;
    }

    .wpbc-remove-text {
        display: none;
    }

    .woocommerce-cart .woocommerce-cart-form,
    .woocommerce-cart .wpbc-cart-table {
        margin-bottom: 0 !important;
    }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
    /* Kadence voegt margin: 0 1rem toe aan deze wrapper, bovenop de bestaande padding — resetten */
    .woocommerce-cart .kadence-woo-cart-form-wrap {
        margin-left: 0;
        margin-right: 0;
    }

    .wpbc-cart-wrap h1.wpbc-cart-title {
        font-size: 1.4rem;
    }

    .wpbc-cart-subtitle {
        font-size: 1.175rem;
    }

    .wpbc-cart-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .wpbc-cart-sidebar {
        position: static;
    }

    /* USP-balk */
    .wpbc-usp-bar {
        gap: 0.75rem 1.5rem;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }

    /* Contactblok */
    .wpbc-contact-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }

    .wpbc-contact-persons {
        flex-direction: row;
        padding-right: 0;
        border-right: none;
        gap: 1rem;
        width: 100%;
    }

    .wpbc-contact-person {
        align-items: center;
        text-align: center;
    }

    .wpbc-contact-avatar {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .wpbc-contact-btns {
        flex-direction: column;
    }

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

/* Betaaliconen in de flyout cart */
.wpbc-flyout-payment-icons {
    text-align: center;
    padding: 12px 0 8px;
}
.wpbc-flyout-payment-icons svg {
    max-width: 100%;
    height: auto;
}

/* Footer-wrapper: bevat shipping-row, subtotaal, knoppen en betaaliconen.
   flex-shrink: 0 zorgt dat de footer nooit kleiner wordt dan zijn inhoud.
   padding: 0 12px levert de zijdelingse inspringing voor alle kinderen. */
.wpbc-flyout-footer {
    padding: 0 12px 12px;
    background: #fff;
    flex-shrink: 0 !important;
}

/* Winkelwagen-titel in de flyout (JS vervangt h2 door span) */
#cart-drawer h2.side-cart-header,
#cart-drawer span.side-cart-header {
    font-size: 1.3rem !important;
    text-transform: uppercase !important;
}

a.wpbc-cart-header-link {
    color: inherit;
    text-decoration: none;
}

a.wpbc-cart-header-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Kadence free-shipping balk: padding weghalen (Kadence zet standaard 0 1.5em 1.5em) */
#cart-drawer .kadence-mini-cart-shipping {
    padding: 0 1.5em !important;
    text-align: left !important;
}

/* Lege flyout winkelwagen */
.wpbc-flyout-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 2rem 1.5rem 1.5rem;
}

.wpbc-flyout-empty-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #033741;
    margin: 0 0 0.5rem !important;
}

.wpbc-flyout-empty-subtitle {
    color: #4d5255;
    font-size: 1rem;
    margin: 0 0 1.5rem !important;
}

.wpbc-flyout-empty-btn {
    display: inline-block;
    margin-bottom: 1.75rem;
}

.wpbc-flyout-empty-photo {
    width: 100%;
    height: auto;
    border-radius: 16px;
}
