/* abras.shop — WooCommerce & WP-verfijning bovenop de gekopieerde twepa-stijl.
   Kleuren: primair #375173, accent #e52427 (zelfde als theme). */

.abras-wc-container,
.abras-wp-container {
    padding-top: 32px;
    padding-bottom: 48px;
}

/* ---------- WooCommerce knoppen & accenten ---------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.add_to_cart_button,
.woocommerce button.single_add_to_cart_button,
.woocommerce a.checkout-button,
.woocommerce button[name="update_cart"],
.woocommerce #place_order {
    background-color: #e52427;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 10px 20px;
    font-weight: 600;
    line-height: 1.4;
    transition: background-color .15s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.add_to_cart_button:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce a.checkout-button:hover,
.woocommerce button[name="update_cart"]:hover,
.woocommerce #place_order:hover {
    background-color: #b91c1f;
    color: #fff;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    background-color: #e52427;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background-color: #b91c1f;
}

/* secundaire knoppen (bijv. "winkelwagen bekijken") */
.woocommerce a.button.wc-backward,
.woocommerce .cart-collaterals .button {
    background-color: #375173;
}
.woocommerce a.button.wc-backward:hover {
    background-color: #2a3f5a;
}

/* ---------- prijzen & badges ---------- */
.woocommerce span.price,
.woocommerce p.price,
.woocommerce ul.products li.product .price {
    color: #375173;
    font-weight: 700;
}
.woocommerce span.price del,
.woocommerce ul.products li.product .price del {
    color: #9aa5b1;
    font-weight: 400;
}
.woocommerce span.onsale {
    background-color: #e52427;
    border-radius: 4px;
    min-height: 0;
    line-height: 1.6;
    padding: 4px 10px;
}

/* ---------- product-grid (shop/categorie) ---------- */
.woocommerce ul.products li.product {
    border: 1px solid #e4e9ef;
    border-radius: 10px;
    padding: 14px;
    transition: box-shadow .15s ease, transform .15s ease;
    background: #fff;
}
.woocommerce ul.products li.product:hover {
    box-shadow: 0 6px 18px rgba(55, 81, 114, .12);
    transform: translateY(-2px);
}
.woocommerce ul.products li.product a img {
    border-radius: 8px;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-category__title {
    color: #375173;
    font-size: 1.02rem;
    padding-top: 8px;
}
.woocommerce .woocommerce-result-count {
    color: #5b6b7f;
}

/* ---------- productpagina ---------- */
.woocommerce div.product .product_title {
    color: #375173;
}
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    font-size: 1.5rem;
}
.woocommerce .quantity .qty {
    border: 1px solid #ccd5df;
    border-radius: 6px;
    padding: 8px;
    max-width: 90px;
}
.woocommerce-tabs .tabs li a {
    color: #375173;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: #e52427;
}

/* ---------- cart / checkout ---------- */
.woocommerce table.shop_table {
    border-radius: 8px;
    border-color: #e4e9ef;
}
.woocommerce table.shop_table th {
    background: #f3f6fa;
    color: #375173;
}
.woocommerce .cart-collaterals .cart_totals h2,
.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-checkout h3 {
    color: #375173;
}
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    border: 1px solid #ccd5df;
    border-radius: 6px;
    padding: 9px 12px;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: #375173;
    outline: none;
    box-shadow: 0 0 0 2px rgba(55, 81, 114, .15);
}

/* ---------- notices ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 8px;
}
.woocommerce-message {
    border-top-color: #e52427;
}
.woocommerce-message::before {
    color: #e52427;
}
.woocommerce-info {
    border-top-color: #375173;
}
.woocommerce-info::before {
    color: #375173;
}

/* ---------- breadcrumbs & pagination ---------- */
.woocommerce .woocommerce-breadcrumb {
    color: #5b6b7f;
    padding-bottom: 12px;
}
.woocommerce .woocommerce-breadcrumb a {
    color: #375173;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
    color: #375173;
    border-color: #ccd5df;
    border-radius: 6px;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
    background: #375173;
    color: #fff;
}

/* ---------- my-account ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    color: #375173;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #e52427;
    font-weight: 700;
}

/* ---------- generieke WP-content (blog/zoek/pagina) ---------- */
.abras-page-head h1,
.abras-page-title {
    color: #375173;
    font-size: 1.9rem;
    margin-bottom: 10px;
}
.abras-post-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.abras-post-item {
    display: flex;
    gap: 20px;
    border: 1px solid #e4e9ef;
    border-radius: 10px;
    padding: 18px;
    background: #fff;
}
.abras-post-thumb img {
    border-radius: 8px;
    max-width: 220px;
    height: auto;
}
.abras-post-title {
    margin: 0 0 6px;
    font-size: 1.25rem;
}
.abras-post-title a {
    color: #375173;
    text-decoration: none;
}
.abras-post-title a:hover {
    color: #e52427;
}
.abras-post-meta {
    color: #8a97a6;
    font-size: .88rem;
    margin-bottom: 8px;
}
.abras-post-excerpt {
    color: #44535f;
}
.abras-post-more {
    display: inline-block;
    margin-top: 10px;
    color: #e52427;
    font-weight: 600;
    text-decoration: none;
}
.abras-post-more:hover {
    text-decoration: underline;
}
.abras-404-links {
    list-style: none;
    padding: 0;
}
.abras-404-links li {
    margin: 8px 0;
}
.abras-404-links a {
    color: #e52427;
    font-weight: 600;
}
.abras-content {
    max-width: 860px;
    color: #33414e;
    line-height: 1.65;
}
.abras-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}
.abras-single-thumb {
    margin: 16px 0;
}
.abras-pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin-right: 4px;
    border: 1px solid #ccd5df;
    border-radius: 6px;
    color: #375173;
    text-decoration: none;
}
.abras-pagination .page-numbers.current {
    background: #375173;
    color: #fff;
}

@media (max-width: 767px) {
    .abras-post-item {
        flex-direction: column;
    }
    .abras-post-thumb img {
        max-width: 100%;
    }
}

/* ---------- W3: productlijst in twepa-layout ---------- */

/* screenreader-only (breadcrumb-home-tekst naast icoon) */
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

/* resultaat-telling in de actiebalk */
.listing-result-count {
    color: #6c757d;
    font-size: 14px;
}

/* filterblokken: open/dicht via eigen JS (all.css verwacht Shopware-JS) */
.filter-panel-item-dropdown { display: none; }
.filter-panel-item-dropdown.is--open { display: block; }
.filter-panel-item-toggle { cursor: pointer; }
.filter-panel-item-toggle .icon { transition: transform .15s ease; }
.filter-panel-item-toggle[aria-expanded="false"] .icon { transform: rotate(-90deg); }

/* actieve filters als chips */
.filter-panel-active-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.filter-panel-active-container .filter-active {
    border: 1px solid #375173;
    border-radius: 16px;
    padding: 4px 12px;
    font-size: 13px;
    color: #375173;
    text-decoration: none;
}
.filter-panel-active-container .filter-active:hover { background: #f0f4f8; }

/* filter-checkboxlijst */
.filter-panel-item-list { margin: 0; padding: 4px 0; }
.filter-attribute-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    cursor: pointer;
    font-size: 14px;
}
.filter-range-container { align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-range-container .form-control { flex: 1 1 0; min-width: 0; }
.filter-range-submit { flex: 1 1 100%; }

/* paginering onder de listing — FA2 (2026-10): klikvlak >= 44x44 px (WCAG 2.5.5),
   knopvorm, zichtbare huidige pagina, hover- EN focus-staat (ook < en >).
   Markup: archive-product.php rendert paginate_links(type=array) ->
   li.page-item > a.page-numbers / span.page-numbers.current (+ .prev/.next).
   De oude regel ".page-item.active .page-link" matchte nooit (er is geen
   .page-link in de markup) en is hier vervangen door .page-numbers.current.
   Specificiteit: .listing-pagination .page-numbers = 0,2,0; hover/focus =
   0,3,1 — wint van all.css a:hover/a:focus (0,1,1) zonder !important. */
.listing-pagination { margin: 24px 0; }
.listing-pagination .pagination {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}
.listing-pagination .page-item { display: flex; }
.listing-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid #ccd5df;
    border-radius: 6px;
    background: #fff;
    color: #375173;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.listing-pagination a.page-numbers:hover {
    background: #f0f4f8;
    border-color: #375173;
    color: #375173;
    text-decoration: none;
}
.listing-pagination a.page-numbers:focus,
.listing-pagination a.page-numbers:focus-visible {
    outline: 2px solid #375173;
    outline-offset: 2px;
    color: #375173;
}
.listing-pagination .page-numbers.current {
    background: #375173;
    border-color: #375173;
    color: #fff;
}
/* dots ("…") is geen link: neutraal uiterlijk, zelfde rijhoogte (FA2-review) */
.listing-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    color: #6c757d;
    cursor: default;
}

/* mobiel offcanvas-filter (eigen gedrag; all.css stylet alleen de binnenkant) */
.abras-offcanvas {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 320px;
    max-width: 85vw;
    background: #fff;
    z-index: 1050;
    transform: translateX(-100%);
    transition: transform .25s ease;
    overflow-y: auto;
    box-shadow: 0 0 24px rgba(0, 0, 0, .2);
}
.abras-offcanvas.is--open { transform: translateX(0); }
.abras-offcanvas-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1040;
}
body.abras-offcanvas-is-open { overflow: hidden; }
.abras-offcanvas .filter-panel-offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e3e3e3;
}
.abras-offcanvas .filter-panel-offcanvas-title { font-weight: 700; font-size: 16px; }
.abras-offcanvas .offcanvas-filter-content { padding: 16px 20px; }

/* op desktop staat het paneel in de sidebar; offcanvas is dan overbodig */
@media (min-width: 992px) {
    .abras-offcanvas,
    .abras-offcanvas-backdrop { display: none; }
}

/* sidebar-filterpaneel: nette scheiding tussen blokken */
.cms-listing-sidebar .filter-panel-item {
    border-bottom: 1px solid #e3e3e3;
    padding: 8px 0 12px;
}

/* W3-fix: Bootstrap 4 positioneert .form-check-input absoluut (margin-left
   -1.25rem) — de input zweeft dan buiten de dropdown en is onklikbaar.
   In onze flex-labels mag de input gewoon in de flow meedoen. */
.filter-attribute-checkbox .form-check-input {
    position: static;
    margin: 0;
    flex-shrink: 0;
}

/* filterblok-titels als volledige rij (desktop-sidebar + offcanvas) */
.cms-listing-sidebar .filter-panel-item-toggle,
.abras-offcanvas .filter-panel-item-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    font-weight: 600;
    padding: 8px 0;
    background: none;
    border: 0;
    color: #375173;
}

/* dropdown-inhoud in sidebar/offcanvas: geen zwevende dropdown-opmaak */
.cms-listing-sidebar .filter-panel-item-dropdown,
.abras-offcanvas .filter-panel-item-dropdown {
    position: static;
    min-width: 0;
    border: 0;
    max-height: none;
    overflow: visible;
    padding: 0 0 8px;
}


/* ================= W4: productdetail (product-detail) ================= */

.product-detail-content { padding-top: 10px; }
.product-detail-breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 6px; font-size: 0.9rem; }
.product-detail-breadcrumb .breadcrumb-item + .breadcrumb-item::before { content: "›"; margin-right: 4px; color: #8a97a5; }
.product-detail-headline { margin-bottom: 12px; }
.product-detail-name { font-size: 1.6rem; font-weight: 700; color: #212529; margin: 0; }

/* --- Galerie --- */
.gallery-slider-container { position: relative; }
.gallery-slider-item-container { display: none; }
.gallery-slider-item-container.is-active { display: block; }
.gallery-slider-item {
    position: relative; overflow: hidden; min-height: 430px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid #e7edf3; border-radius: 4px; background: #fff;
}
.gallery-slider-image { max-height: 430px; object-fit: contain; transition: transform 0.15s ease-out; }
.js-magnifier-container.is-zoomed { cursor: zoom-in; }
.js-magnifier-container.is-zoomed .js-magnifier-image { transform: scale(2); }
.gallery-slider-controls { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); pointer-events: none; }
.gallery-slider-controls button {
    position: absolute; top: 0; pointer-events: auto;
    width: 40px; height: 40px; border: 1px solid #d5dde5; border-radius: 50%;
    background: rgba(255,255,255,.92); color: #375173; display: flex; align-items: center; justify-content: center;
}
.gallery-slider-controls-prev { left: 10px; }
.gallery-slider-controls-next { right: 10px; }
.gallery-slider-thumbnails-container { margin-top: 10px; }
.gallery-slider-thumbnails { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery-slider-thumbnails-button {
    display: flex; align-items: center; justify-content: center;
    width: 72px; height: 72px; padding: 4px;
    border: 1px solid #d5dde5; border-radius: 4px; background: #fff; cursor: pointer;
}
.gallery-slider-thumbnails-item.is-active .gallery-slider-thumbnails-button { border-color: #375173; box-shadow: 0 0 0 1px #375173; }
.gallery-slider-thumbnails-image { max-width: 100%; max-height: 62px; object-fit: contain; }

/* --- Buy-box --- */
/* R25-fix: all.css zet .product-detail-buy op display:flex (nowrap, elke breedte) en
   perst daardoor alle zes kinderen naast elkaar in stroken (prijs 88px, "Dozen (doos van
   100)" over 4 regels). Buy-box = verticale stapel: alle directe kinderen volle breedte.
   Consistent met de mobiele fix uit mu-plugin abrasshop-mu-mobiel-koopblok (R22, ≤480px).
   Specificiteit 0,1,0 = gelijk aan all.css-regel; wint omdat abras-wc.css ná all.css laadt. */
.product-detail-buy {
    padding-top: 4px;
    flex-wrap: wrap;
}
.product-detail-buy > * { flex: 0 0 100%; max-width: 100%; }
.product-detail-buy > .product-detail-price-container { margin-bottom: 14px; }
/* col-4/col-8 in het variatie-formulier (.buy-widget-container.row) moeten op mobiel
   wél stapelen (col-4 blijft in all.css 33% breed → "Dozen (doos van 100)" 107px/6 regels) */
@media (max-width: 575.98px) {
    .product-detail-buy .buy-widget-container > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
}
/* R25-fix account: all.css zet .form-row op display:flex, waardoor op /my-account/ het
   label "Wachtwoord" náást het veld komt en "Onthouden" tegen de Login-knop klemt.
   WC-formulieren verwachten blok-gedrag (zoals op sanding :8084, daar is display:block).
   Gescoped onder .woocommerce zodat Shopware-eigen formulieren ongemoeid blijven. */
.woocommerce .woocommerce-form-row.form-row,
.woocommerce p.form-row { display: block; }
.product-detail-price-container { margin-bottom: 14px; }
.product-detail-price { font-size: 1.5rem; font-weight: 700; color: #212529; }
.product-detail-price small { font-weight: 400; }
.product-detail-ordernumber { font-size: 0.85rem; color: #718096; margin-top: 4px; }

/* Configurator: radio's als keuzeknoppen (Shopware is-display-text) */
.abras-variation-select { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.product-detail-configurator { margin-bottom: 14px; }
.product-detail-configurator-group { margin-bottom: 12px; }
.product-detail-configurator-group-title { font-weight: 600; margin-bottom: 6px; }
.product-detail-configurator-group-title-value { font-weight: 400; color: #4a5568; }
.product-detail-configurator-options { display: flex; flex-wrap: wrap; gap: 8px; }
.product-detail-configurator-option { position: relative; }
.product-detail-configurator-option-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.product-detail-configurator-option-label {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 48px; padding: 6px 14px; margin: 0;
    border: 1px solid #c3ccd5; border-radius: 3px; background: #fff;
    font-weight: 400; cursor: pointer; user-select: none;
}
.product-detail-configurator-option-input:checked + .product-detail-configurator-option-label {
    border-color: #375173; background: #edf2f7; color: #375173; font-weight: 600;
    box-shadow: 0 0 0 1px #375173;
}
.product-detail-configurator-option-input:focus-visible + .product-detail-configurator-option-label { outline: 2px solid #375173; outline-offset: 2px; }
.product-detail-configurator-option-label.is-disabled {
    color: #a5b1bd; border-color: #e2e8ee; background: #f7f9fb;
    cursor: not-allowed; text-decoration: line-through;
}
.abras-reset-variations { display: inline-block; font-size: 0.85rem; margin-bottom: 10px; color: #718096; }

/* Variatie-info (prijs/voorraad na keuze) */
.single_variation_wrap .woocommerce-variation-price { font-size: 1.3rem; font-weight: 700; margin-bottom: 10px; }
.single_variation_wrap .woocommerce-variation-availability { margin-bottom: 10px; }
.single_variation_wrap .woocommerce-variation-description { font-size: 0.92rem; color: #4a5568; margin-bottom: 10px; }

/* Buy-widget: aantal + knop (ref: col-4 input, col-8 knop) */
.product-detail-form-container { margin-bottom: 12px; }
.buy-widget-container { align-items: stretch; }
.product-detail-quantity-input { height: 44px; text-align: center; }
.product-detail-form-container .btn-buy {
    height: 44px; line-height: 44px; padding: 0 12px; font-size: 1rem;
    border-radius: 3px; text-align: center;
}
.btn-buy.single_add_to_cart_button.disabled {
    opacity: 1; cursor: not-allowed;
    background: #9aa5b1; border-color: #9aa5b1; color: #fff;
}
.product-detail-price-on-request-note { margin-bottom: 10px; color: #4a5568; }

/* Voorraad + USP's */
.product-detail-stock { margin-bottom: 10px; }
.product-detail-stock-indicator.instock { color: #2f8f3e; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.product-detail-stock-indicator.outofstock { color: #b23c3c; font-weight: 600; white-space: nowrap; }
.product-detail-usps { border-top: 1px solid #e7edf3; padding-top: 12px; margin-top: 4px; }
.product-detail-usps-item { display: flex; align-items: center; gap: 8px; color: #4a5568; margin-bottom: 6px; }
.product-detail-usps-item-media { color: #375173; display: inline-flex; }

/* --- Tabs --- */
.product-detail-tabs { margin-top: 26px; }
.product-detail-info-navigation-list { display: flex; gap: 0; border-bottom: 1px solid #d5dde5; list-style: none; padding: 0; margin: 0 0 16px; }
.product-detail-info-navigation-link {
    display: block; padding: 10px 18px; margin-bottom: -1px;
    color: #4a5568; text-decoration: none; font-weight: 600;
    border-bottom: 2px solid transparent;
}
.product-detail-info-navigation-link.active { color: #375173; border-bottom-color: #375173; }
.product-detail-info-content .tab-pane { display: none; }
.product-detail-info-content .tab-pane.is-active { display: block; }
.product-detail-description-title,
.product-detail-properties-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.product-detail-description-text { line-height: 1.65; color: #333; }
.product-detail-properties { max-width: 720px; }
.product-detail-properties th,
.product-detail-properties td { padding: 8px 12px; border-top: 1px solid #e7edf3; }
.product-detail-properties tr:nth-child(odd) { background: #f7f9fb; }
.product-detail-properties-label { width: 220px; font-weight: 600; color: #4a5568; }

/* Mobiel: galerij minder hoog, label-kolom smaller */
@media (max-width: 767.98px) {
    .gallery-slider-item { min-height: 280px; }
    .gallery-slider-image { max-height: 280px; }
    .product-detail-properties-label { width: 130px; }
}


/* ================= W5: cart / checkout / account / notices ================= */

/* Primaire knoppen in WC Blocks (cart, checkout, mini-cart) */
.wc-block-components-button:not(.is-link):not(.text-only) {
    background-color: #375173; border-color: #375173; color: #fff;
    border-radius: 3px; font-weight: 600;
}
.wc-block-components-button:not(.is-link):not(.text-only):hover:not(:disabled) {
    background-color: #2a3f5a; border-color: #2a3f5a; color: #fff;
}
.wc-block-components-button:not(.is-link):not(.text-only):disabled {
    background-color: #9aa5b1; border-color: #9aa5b1; color: #fff;
}

/* Links en accenten in Blocks */
.wc-block-cart a, .wc-block-checkout a, .wc-block-mini-cart-contents a { color: #375173; }
.wc-block-components-form .wc-block-components-text-input input:focus,
.wc-block-components-text-input input:focus {
    border-color: #375173; box-shadow: 0 0 0 1px #375173;
}

/* Cart/checkout: koppen en kaart-look in site-stijl */
.wc-block-cart__main, .wc-block-checkout__main { font-size: 0.95rem; }
.wc-block-components-title { color: #212529; }
.wc-block-components-totals-wrapper, .wc-block-cart__sidebar,
.wc-block-checkout__sidebar {
    border: 1px solid #e7edf3; border-radius: 4px; background: #fff;
}
.wc-block-components-order-summary, .wc-block-components-sidebar {
    background: #f7f9fb; border-radius: 4px;
}
.wc-block-cart-item__product-name, .wc-block-components-product-name { font-weight: 600; color: #212529; }

/* WC-notices (klassiek én op block-pagina's) */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    padding: 12px 16px; margin: 0 0 16px; border-radius: 3px; list-style: none;
    border: 1px solid; background: #fff; font-size: 0.95rem;
}
.woocommerce-message { border-color: #2f8f3e; border-left-width: 4px; }
.woocommerce-message::before { content: "✓ "; color: #2f8f3e; font-weight: 700; }
.woocommerce-info { border-color: #375173; border-left-width: 4px; }
.woocommerce-error { border-color: #b23c3c; border-left-width: 4px; color: #7a2a2a; }
.woocommerce-message a, .woocommerce-info a { color: #375173; font-weight: 600; }

/* --- My-account: login/register als kaart(en) --- */
.woocommerce-account .woocommerce { max-width: 960px; }
.woocommerce-form-login, .woocommerce-form-register {
    border: 1px solid #e7edf3; border-radius: 4px; background: #fff;
    padding: 22px 24px; margin-bottom: 22px;
}
.woocommerce-account h2 { font-size: 1.25rem; margin: 0 0 12px; }
.woocommerce-form-row label { font-weight: 600; color: #4a5568; }
.woocommerce-Input, .woocommerce-account .input-text {
    width: 100%; padding: 8px 10px; border: 1px solid #c3ccd5; border-radius: 3px;
}
.woocommerce-Input:focus, .woocommerce-account .input-text:focus {
    border-color: #375173; outline: none; box-shadow: 0 0 0 1px #375173;
}
.woocommerce-Button.button, .woocommerce-account .button {
    background: #375173; border: 1px solid #375173; color: #fff;
    border-radius: 3px; padding: 10px 18px; font-weight: 600; cursor: pointer;
}
.woocommerce-Button.button:hover, .woocommerce-account .button:hover {
    background: #2a3f5a; border-color: #2a3f5a; color: #fff;
}
.woocommerce-LostPassword a { color: #375173; }

/* Account-dashboard (ingelogd): navigatie als lijst met actieve staat */
.woocommerce-MyAccount-navigation ul {
    list-style: none; padding: 0; margin: 0 0 18px;
    border: 1px solid #e7edf3; border-radius: 4px; overflow: hidden; background: #fff;
}
.woocommerce-MyAccount-navigation li { border-bottom: 1px solid #e7edf3; }
.woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-MyAccount-navigation-link a {
    display: block; padding: 10px 16px; color: #4a5568; text-decoration: none;
}
.woocommerce-MyAccount-navigation-link a:hover { background: #f7f9fb; color: #375173; }
.woocommerce-MyAccount-navigation-link.is-active a {
    background: #edf2f7; color: #375173; font-weight: 600;
    box-shadow: inset 3px 0 0 #375173;
}
.woocommerce-MyAccount-content {
    border: 1px solid #e7edf3; border-radius: 4px; background: #fff; padding: 18px 20px;
}
.woocommerce-orders-table th, .woocommerce-orders-table td { padding: 8px 10px; }
.woocommerce-orders-table thead th { border-bottom: 2px solid #e7edf3; color: #4a5568; }

/* --- R20: WC-kolommen repareren (account én klassieke checkout-adresblokken) ---
   Het gekopieerde Shopware/Bootstrap-grid definieert .col-1/.col-2 als
   flex-kolommen van 8,33%/16,66% breed. WooCommerce gebruikt dezelfde klassenamen
   in .col2-set/.u-columns en verwacht daar ~48%. Zonder deze fix worden de
   login/register-kolommen op /my-account/ tot smalle linten samengedrukt
   (gemeten 2026-09-30, 1440px). Specificiteit (0,2,0) + laadvolgorde
   (abras-wc.css ná all.css) volstaan; bewust geen !important. */
.woocommerce-account .u-columns .col-1,
.woocommerce-account .u-columns .col-2,
.woocommerce-account .col2-set .col-1,
.woocommerce-account .col2-set .col-2,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
    flex: none;
    max-width: none;
    width: 48%;
    float: left;
    box-sizing: border-box;
}
.woocommerce-account .u-columns .col-1,
.woocommerce-account .col2-set .col-1,
.woocommerce-checkout .col2-set .col-1 { margin-right: 4%; clear: left; }
.woocommerce-account .u-columns .col-2,
.woocommerce-account .col2-set .col-2,
.woocommerce-checkout .col2-set .col-2 { margin-right: 0; }
/* Float-clearing op de rij-container zelf (WC-layout gebruikt ::after,
   maar het thema reset pseudo-elementen op sommige plekken — expliciet maken) */
.woocommerce-account .u-columns::after,
.woocommerce-account .col2-set::after,
.woocommerce-checkout .col2-set::after {
    content: ""; display: table; clear: both;
}
@media (max-width: 767.98px) {
    .woocommerce-account .u-columns .col-1,
    .woocommerce-account .u-columns .col-2,
    .woocommerce-account .col2-set .col-1,
    .woocommerce-account .col2-set .col-2,
    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        float: none; width: 100%; margin-right: 0;
    }
}

/* Klassieke cart-fallback (als Blocks ooit uit staat) */
.woocommerce-cart-form .shop_table, .cart-collaterals .cart_totals table { width: 100%; }
.shop_table th, .shop_table td { padding: 10px; border-bottom: 1px solid #e7edf3; }
.shop_table thead th { color: #4a5568; border-bottom: 2px solid #e7edf3; }
.cart-collaterals .cart_totals {
    border: 1px solid #e7edf3; border-radius: 4px; padding: 16px 18px; background: #f7f9fb;
}
.wc-proceed-to-checkout .checkout-button, #place_order {
    background: #66c266; border-color: #66c266; color: #fff; font-weight: 700;
    border-radius: 3px; padding: 12px 20px;
}
.wc-proceed-to-checkout .checkout-button:hover, #place_order:hover {
    background: #4da64d; border-color: #4da64d;
}


/* R20: Shopware-min-height zorgt voor lege pagina-onderkant op dunne pagina's
   (login/account: gemeten 187px gat onder de accountkaarten op 913px viewport,
   oorzaak .container-main{min-height:700px} uit all.css). Footer hoort onder
   de content, niet geforceerd op 700px. */
.container-main { min-height: 0; }

/* --- R20: footer-contrast herstellen (USP-blok + footer-bottom) ---
   De footer staat op een donkerblauwe achtergrond (#375172) en erft wit,
   maar all.css zet .usp-footer-item-inner expliciet op donkergrijs (#4f4f4f)
   en .footer-bottom op background:#fff met color:#333. Gevolg gemeten
   2026-09-30: "privacy voorwaarden"/"algemene voorwaarden" en de USP-teksten
   zijn donker-op-donker vrijwel onleesbaar.
   Specificiteit: .usp-footer-item-inner is (0,1,1) — we winnen met (0,2,1)
   via .footer-main erbij; strong-override is (0,2,1) vs hun (0,2,1) met latere
   laadvolgorde (abras-wc.css laadt ná all.css), dus wij winnen. Geen !important. */
.footer-main .usp-footer-item-inner { color: #fff; }
.footer-main .usp-footer-item-inner .usp-footer-item-content strong { color: #fff; }
.footer-main .usp-footer-item-inner .usp-footer-item-content small { color: rgba(255,255,255,.65); }
.footer-main .footer-bottom { background: #375172; color: #fff; }
.footer-main .footer-bottom .footer-service-menu-link { color: #fff; }
.footer-main .footer-bottom .footer-service-menu-link:hover {
    color: #fff; text-decoration: underline;
}

/* --- W6: categorie-iconen in hoofdnavigatie (twepa-stijl) --- */
.main-navigation-link { display: flex; align-items: center; gap: 7px; }
.main-navigation-link img { width: 24px; height: 24px; flex: 0 0 24px; }

/* --- R19: enkele actieknop op variabele/niet-koopbare kaart volle breedte ---
   Sinds de R19-fix van 2026-10-01 rendert de kaart-footer bij variabel/
   niet-koopbaar alleen .product-action (de view-tekstlink met flex-grow:1
   valt weg). .product-box-action is display:flex (all.css) en .product-action
   heeft zelf geen breedte/grow → zonder deze regel krimpt de btn-block naar
   de tekstbreedte. :only-child raakt de koopbare kaart (link + knop) niet. */
.product-box-action .product-action:only-child { flex-grow: 1; }
