/*
Theme Name: Agrispecialist (Blocksy)
Theme URI: https://agrispecialist.nl
Template: blocksy
Author: Agrispecialist
Description: Childthema van Blocksy in de huisstijl van Agrispecialist (Barlow, logogroen, lichte vlakken, witte kaarten, pil-knoppen). Pagina's zijn gewoon met de Gutenberg-editor te bewerken; header en footer via Weergave > Customizer. Winkelfuncties komen uit de plugin Agrispecialist Shop.
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: agrispecialist-blocksy
*/

/* ---------- Huisstijl op de variabelen van Blocksy ---------- */
:root:root {
	--theme-font-family: "Barlow", Arial, sans-serif;
	--agri-font-head: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	--agri-font-body: "Barlow", Arial, sans-serif;
	--agri-font-mono: "JetBrains Mono", Consolas, monospace;
	--theme-button-border-radius: 999px;
	--theme-form-field-border-radius: 12px;
}
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .woocommerce-products-header__title,
.wp-block-heading, .ct-module-title, .widget-title {
	--theme-font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	font-family: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: .005em;
	text-wrap: balance;
	--theme-line-height: 1.08;
	line-height: 1.08;
}

/* Knoppen: pil, groen, witte tekst */
.ct-button, .wp-element-button, .wp-block-button__link, button[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.single_add_to_cart_button, .checkout-button {
	border-radius: 999px;
	font-weight: 600;
}

/* Kaarten: wit met zachte rand en ronde hoeken */
[data-products] .product, .wc-block-grid__product, .wc-block-product {
	background: #ffffff;
	border: 1px solid #dce1dd;
	border-radius: 16px;
	padding: 12px 12px 16px;
	box-shadow: 0 6px 18px rgba(28, 35, 33, .05);
}
[data-products] .product figure, [data-products] .product .ct-media-container,
.wc-block-grid__product-image img, .wc-block-components-product-image img {
	border-radius: 12px;
	overflow: hidden;
	background: #ecefed;
}
[data-products] .product .woocommerce-loop-product__title { font-family: "Barlow Condensed", Arial, sans-serif; font-weight: 700; font-size: 18px; line-height: 1.15; }

/* Productgroepen (subcategorieën) als tegels */
[data-products] .product-category { text-align: left; }
[data-products] .product-category .woocommerce-loop-category__title { font-family: "Barlow Condensed", Arial, sans-serif; font-weight: 700; font-size: 20px; }

/* Prijs op aanvraag en btw-achtervoegsel */
.agri-ask-price { font-weight: 600; color: #4a5550; }
.woocommerce-price-suffix { font-size: .8em; color: #4a5550; font-weight: 400; }

/* Gutenberg-blokken van Agrispecialist (patronen) */
.agri-hero-cover:not(.alignfull) { border-radius: 16px; overflow: hidden; }
.agri-kaart { background: #ffffff; border: 1px solid #dce1dd; border-radius: 16px; padding: 24px; box-shadow: 0 6px 18px rgba(28, 35, 33, .05); }
.agri-pil-nav .wp-block-button__link { background: #ffffff; color: #1c2321; border: 1px solid #dce1dd; }
.agri-pil-nav .wp-block-button__link:hover { background: #1c2321; color: #ffffff; }
.agri-merken img { max-height: 56px; width: auto; object-fit: contain; }


/* ---------- Verfijning homepage (1.0.1) ---------- */
.agri-eyebrow { margin-bottom: 8px; color: #008a00; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.agri-hero-cover .wp-block-cover__inner-container { width: 100%; max-width: var(--theme-normal-container-max-width, 1290px); margin-inline: auto; padding-inline: 24px; }
.agri-hero-cover h1 { font-size: clamp(34px, 4.4vw, 58px); --theme-line-height: 1.02; line-height: 1.02; margin-bottom: 18px; }
.agri-hero-cover p:not(.agri-eyebrow) { font-size: 18px; }
.agri-kaart { display: flex; flex-direction: column; }
.agri-kaart .wp-block-image { margin: 0 0 16px; }
.agri-kaart .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: #ecefed; }
.agri-kaart h3 { margin: 0 0 6px; font-size: 24px; }
.agri-kaart h3 a { color: inherit; text-decoration: none; }
.agri-kaart h3 a:hover { color: #008a00; }
.agri-kaart p { margin-bottom: 0; }
.wc-block-grid__products .wc-block-grid__product-image img { aspect-ratio: 1 / 1; object-fit: contain; width: 100%; background: #ecefed; border-radius: 12px; }
.wc-block-grid__product-title { font-family: "Barlow Condensed", Arial, sans-serif; font-weight: 700; font-size: 18px; color: #1c2321; }
.wc-block-grid__product-onsale { display: none; }
.agri-merken .wp-block-image { margin: 0; }
.agri-merken img { max-height: 56px; }
@media (max-width: 781px) {
	.agri-hero-cover { min-height: 0 !important; }
	.agri-hero-cover .wp-block-cover__background { background: rgba(247, 248, 246, .88) !important; }
	.agri-merken { flex-wrap: wrap !important; }
	.agri-merken > .wp-block-column { flex-basis: 30% !important; }
}
/* ---------- Footer: donkergrijs #484848, zoals op de huidige site ---------- */
.ct-footer [data-row*="middle"] { background-color: #484848 !important; color: rgba(255, 255, 255, .86); }
.ct-footer [data-row*="middle"] h3 { color: #ffffff !important; font-size: 20px; margin-bottom: 12px; }
.ct-footer [data-row*="middle"] a { color: #ffffff !important; text-decoration: none; }
.ct-footer [data-row*="middle"] a:hover { text-decoration: underline; }
.ct-footer .agri-footer-links { list-style: none; margin: 0; padding: 0; }
.ct-footer .agri-footer-links li { margin: 0 0 8px; }
.ct-footer [data-row*="bottom"] { background-color: #484848 !important; color: rgba(255, 255, 255, .75); font-size: 13px; border-top: 1px solid rgba(255, 255, 255, .2) !important; }
.ct-footer [data-row*="bottom"] a { color: #ffffff; }
.ct-footer [data-row*="middle"] p, .ct-footer [data-row*="bottom"] .ct-footer-copyright { color: rgba(255, 255, 255, .86) !important; }

@media (max-width: 781px) { .agri-hero-cover { border-radius: 0 !important; } .agri-hero-cover .wp-block-cover__inner-container { padding-block: 32px; } .agri-eyebrow { font-size: 12px; } }

/* ---------- Header-knoppen zoals de huidige site: ronde witte knoppen, initialen, winkelwagen zonder bedrag ---------- */
.ct-header [data-column="end"] > [data-items] { gap: 8px; }
.ct-header [data-column="end"] > [data-items] > * { margin-inline: 0 !important; }
.ct-header .ct-header-search,
.ct-header .ct-account-item,
.ct-header .ct-cart-item,
.agri-hdr-tools .agri-iconbtn {
	position: relative; display: inline-grid !important; place-items: center; width: 44px; height: 44px; padding: 0 !important;
	border: 1px solid #dce1dd; border-radius: 50%; background: #ffffff; color: #1c2321 !important;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.ct-header .ct-header-search:hover,
.ct-header .ct-account-item:hover,
.ct-header .ct-cart-item:hover { border-color: #008a00; box-shadow: 0 0 0 3px rgba(0, 138, 0, .14); }
.ct-header .ct-header-search svg,
.ct-header .ct-cart-item svg { width: 18px; height: 18px; fill: currentColor; }
.ct-header .ct-cart-item .ct-label,
.ct-header .ct-account-item .ct-label { display: none !important; }
.ct-header .ct-cart-item .ct-icon-container { position: static; display: grid; place-items: center; }
.ct-header .ct-dynamic-count-cart {
	position: absolute !important; top: -5px; right: -5px; left: auto !important; display: inline-grid; place-items: center;
	min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid #f7f8f6; border-radius: 10px;
	background: #008a00 !important; color: #ffffff !important; font: 700 11.5px/1 "Barlow", Arial, sans-serif; transform: none !important;
}
.ct-header .ct-dynamic-count-cart[data-count="0"] { display: none; }
.ct-header .ct-account-item .ct-media-container { display: none; }
.ct-header .agri-initials { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; font: 700 14px/1 "Barlow", Arial, sans-serif; letter-spacing: .02em; }
.ct-header .ct-account-item:has(.agri-initials) { background: #1c2321; border-color: #1c2321; color: #ffffff !important; }
.agri-hdr-tools { display: flex; align-items: center; gap: 8px; }
.agri-hdr-tools .agri-quotebtn[hidden] { display: none !important; }header.ct-header .ct-header-search[data-id="search"] { width: 44px !important; height: 44px !important; border: 1px solid #dce1dd !important; border-radius: 50% !important; background: #ffffff !important; --theme-icon-color: #1c2321; }
header.ct-header .ct-header-search[data-id="search"]:hover { border-color: #008a00 !important; box-shadow: 0 0 0 3px rgba(0, 138, 0, .14); }
/* ---------- Telefoonmenu: licht paneel zoals de huidige site, met btw-schakelaar en advieslink ---------- */
#offcanvas .ct-panel-inner { background: #f7f8f6 !important; }
#offcanvas { --theme-link-initial-color: #1c2321; --theme-link-hover-color: #008a00; --theme-icon-color: #1c2321; }
#offcanvas .ct-panel-content .mobile-menu a, #offcanvas .ct-menu-link { color: #1c2321; font-family: "Barlow Condensed", Arial, sans-serif; font-weight: 700; }
#offcanvas .current-menu-item > a, #offcanvas .current-menu-ancestor > a { color: #008a00; }
#offcanvas .ct-toggle-close { --theme-icon-color: #1c2321; }
#offcanvas .agri-hdr-tools { flex-wrap: wrap; gap: 12px; margin-top: 20px; padding: 14px; background: #ffffff; border: 1px solid #dce1dd; border-radius: 16px; }
#offcanvas .agri-btw { display: inline-flex !important; }
.agri-hdr-advies { display: none; }
#offcanvas .agri-hdr-advies { display: block; width: 100%; font-weight: 600; color: #1c2321; text-decoration: none; }
/* ---------- Contact en andere pagina's met kaarten ---------- */
.agri-kaart + .agri-kaart, .wp-block-column > .agri-kaart:not(:first-child) { margin-top: 20px; }
/* Kaarten die zelf een kolom zijn staan naast elkaar: geen bovenmarge, anders zakken kolom 2 en 3 omlaag */
.wp-block-columns > .agri-kaart + .agri-kaart { margin-top: 0; }
.agri-kaart--groen { background: #eef7ee; border-color: #b9dcb9; }
.agri-kaart h2, .agri-kaart h3 { margin-top: 0; }
.agri-kaart .wpcf7 input:not([type="submit"]):not([type="checkbox"]), .agri-kaart .wpcf7 select, .agri-kaart .wpcf7 textarea { width: 100%; }
/* Paginatitels groot, zoals de huidige site */
.hero-section .page-title, .entry-header .page-title, .woocommerce-products-header__title { font-size: clamp(32px, 4vw, 52px) !important; --theme-line-height: 1.05; line-height: 1.05; }

/* ---------- Openingsband: tekst uitgelijnd met het logo, foto volledig (16:9) ---------- */
.agri-hero-cover.has-custom-content-position .wp-block-cover__inner-container {
	width: min(var(--theme-normal-container-max-width, 1120px), calc(100% - 48px)) !important;
	max-width: none !important; margin-inline: auto !important; padding-inline: 0 !important;
}
@media (min-width: 782px) {
	.agri-hero-cover { min-height: min(56.25vw, 100vh) !important; }
	.agri-hero-cover .wp-block-cover__inner-container { padding-top: 84px; }
}
/* Header boven de foto (transparant) en meescrollend: bij scrollen een witte balk met lichte schaduw. */
[data-sticky*="yes"] [data-row*="middle"], .ct-header [data-sticky] [data-row*="middle"] { background-color: #ffffff; box-shadow: 0 2px 12px rgba(28, 35, 33, .06); }
/* ---------- Afrekenen: gegevens links, bestelling rechts in een witte kaart (zoals het eigen thema) ---------- */
.woocommerce-checkout .ct-order-review {
	padding: 22px 24px !important; background: #ffffff !important; border: 1px solid #dce1dd !important;
	border-radius: 16px !important; box-shadow: 0 6px 18px rgba(28, 35, 33, .05);
}
.woocommerce-checkout .ct-order-review #order_review_heading { margin: 0 0 6px; font-size: 26px; text-transform: none; letter-spacing: 0; }
.woocommerce-checkout form.checkout h3 { font-size: 26px; text-transform: none; letter-spacing: 0; }
.woocommerce-checkout #order_review table.shop_table { border: 0; background: transparent; }
.woocommerce-checkout #order_review table.shop_table th,
.woocommerce-checkout #order_review table.shop_table td { padding: 11px 0; font-size: 15px; }
.woocommerce-checkout #order_review .order-total .amount { font-family: "Barlow Condensed", Arial, sans-serif; font-size: 26px; }
.woocommerce-checkout #payment { margin-top: 16px; background: #ecefed !important; border: 0 !important; border-radius: 12px; }
.woocommerce-checkout #payment ul.payment_methods { padding: 16px 18px; border-bottom: 1px solid #d3d9d5; }
.woocommerce-checkout #payment ul.payment_methods input[type="radio"] { accent-color: #008a00; }
.woocommerce-checkout #payment div.payment_box { background: #ffffff !important; border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #ffffff !important; }
.woocommerce-checkout #payment div.form-row.place-order { padding: 16px 18px 18px; margin: 0; }
.woocommerce-checkout #payment #place_order { width: 100%; border-radius: 999px; }
.woocommerce-checkout form.checkout_coupon, .woocommerce-checkout form.login { padding: 20px; background: #ecefed; border: 0; border-radius: 16px; }
/* Winkelwagen: totalen in een witte kaart */
.woocommerce-cart .cart_totals, .woocommerce-cart .cart-collaterals > div { background: #ffffff; border: 1px solid #dce1dd !important; border-radius: 16px; box-shadow: 0 6px 18px rgba(28, 35, 33, .05); }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { border-radius: 999px; }
/* ---------- Afrekenen, verfijning ---------- */
.woocommerce-checkout form.checkout { gap: 48px !important; }
.woocommerce-checkout #customer_details h3,
.woocommerce-checkout .ct-order-review #order_review_heading {
	font-family: "Barlow Condensed", Arial, sans-serif !important; font-size: 28px !important; font-weight: 700 !important;
	text-transform: none !important; letter-spacing: 0 !important; color: #1c2321 !important; margin: 0 0 16px !important;
}
.woocommerce-checkout .ct-order-review { position: sticky; top: 110px; }
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-shipping-fields,
.woocommerce-checkout .woocommerce-additional-fields {
	padding: 24px; margin-bottom: 20px; background: #ffffff; border: 1px solid #dce1dd; border-radius: 16px;
}
.woocommerce-checkout .form-row label { font-weight: 600; font-size: 14px; color: #1c2321; margin-bottom: 6px; }
.woocommerce-checkout .form-row .required { color: #b42318; text-decoration: none; }
.woocommerce-checkout form.checkout input.input-text,
.woocommerce-checkout form.checkout select,
.woocommerce-checkout form.checkout textarea,
.woocommerce-checkout .select2-container .select2-selection--single {
	min-height: 48px; border: 1px solid #c4ccc6 !important; border-radius: 12px !important; background: #ffffff !important; font-size: 15.5px;
}
.woocommerce-checkout form.checkout textarea { min-height: 110px; }
.woocommerce-checkout form.checkout input.input-text:focus,
.woocommerce-checkout form.checkout textarea:focus { border-color: #008a00 !important; box-shadow: 0 0 0 3px rgba(0, 138, 0, .14); outline: none; }
.woocommerce-checkout #order_review table.shop_table thead th { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #4a5550; border-bottom: 1px solid #dce1dd; }
.woocommerce-checkout #order_review table.shop_table tbody td.product-name { font-weight: 600; color: #1c2321; }
.woocommerce-checkout #order_review table.shop_table tfoot th { font-weight: 600; color: #1c2321; }
.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total th,
.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td { border-top: 2px solid #1c2321; padding-top: 14px; }
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,
.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { background: #ffffff; border: 1px solid #dce1dd; border-radius: 12px; }
.woocommerce-checkout #place_order { min-height: 52px; font-size: 16px; font-weight: 700; background: #008a00 !important; border-color: #008a00 !important; }
.woocommerce-checkout #place_order:hover { background: #006e00 !important; }
@media (max-width: 999px) { .woocommerce-checkout .ct-order-review { position: static; } }
/* ---------- Mini-winkelwagen in de header: licht, zoals de huidige site ---------- */
.ct-header-cart .ct-cart-content {
	--theme-text-color: #1c2321; --theme-link-initial-color: #1c2321; --theme-link-hover-color: #008a00; --theme-headings-color: #1c2321;
	background: #ffffff !important; color: #1c2321 !important; border: 1px solid #dce1dd; border-radius: 16px !important;
	box-shadow: 0 16px 40px rgba(28, 35, 33, .14) !important;
}
.ct-header-cart .ct-cart-content a:not(.button) { color: #1c2321 !important; font-weight: 600; text-decoration: none; }
.ct-header-cart .ct-cart-content a:not(.button):hover { color: #008a00 !important; }
.ct-header-cart .ct-cart-content .quantity, .ct-header-cart .ct-cart-content .amount { color: #1c2321 !important; }
.ct-header-cart .ct-cart-content .woocommerce-mini-cart__total { color: #1c2321 !important; border-color: #dce1dd !important; }
.ct-header-cart .ct-cart-content .woocommerce-mini-cart-item { border-color: #dce1dd !important; }
.ct-header-cart .ct-cart-content .remove { color: #4a5550 !important; }
.ct-header-cart .ct-cart-content .remove:hover { color: #b42318 !important; }
.ct-header-cart .ct-cart-content .woocommerce-mini-cart__buttons .button {
	min-height: 44px; border-radius: 999px !important; text-transform: none !important; letter-spacing: 0 !important; font-size: 15px !important; font-weight: 600 !important;
	background: #ffffff !important; color: #1c2321 !important; border: 1.5px solid #1c2321 !important;
}
.ct-header-cart .ct-cart-content .woocommerce-mini-cart__buttons .button.checkout { background: #008a00 !important; border-color: #008a00 !important; color: #ffffff !important; }
.ct-header-cart .ct-cart-content .woocommerce-mini-cart__buttons .button:hover { background: #1c2321 !important; color: #ffffff !important; }
.ct-header-cart .ct-cart-content .woocommerce-mini-cart__buttons .button.checkout:hover { background: #006e00 !important; border-color: #006e00 !important; }
.ct-header-cart .ct-cart-content .woocommerce-mini-cart__empty-message { color: #4a5550; }
.woocommerce-cart .cart_totals > h2 { font-family: "Barlow Condensed", Arial, sans-serif !important; font-size: 26px !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; color: #1c2321 !important; }
.woocommerce-cart .cart_totals tr.order-total th, .woocommerce-cart .cart_totals tr.order-total td { border-top: 2px solid #1c2321; }
.woocommerce-cart .cart_totals tr.order-total .amount { font-family: "Barlow Condensed", Arial, sans-serif; font-size: 26px; }

/* ---------- Openingsband met tabbladen (blokken: Groep .agri-hero-tabs > Omslag .agri-slide) ---------- */
.agri-hero-tabs { position: relative; background: #f7f8f6; margin-block: 0 !important; }
.agri-hero-tabs .agri-hero-h1 { margin: 0 0 14px; color: #008a00; font-family: "Barlow", Arial, sans-serif !important; font-size: 13px !important; font-weight: 700 !important; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3; }
.agri-hero-tabs .agri-slide-titel { margin: 0 0 18px; font-size: clamp(36px, 4.2vw, 58px) !important; line-height: 1.02 !important; --theme-line-height: 1.02; color: #1c2321; }
.agri-hero-tabs .agri-hero__mark { background: linear-gradient(#008a00, #008a00) left 94% / 100% 6px no-repeat; padding-bottom: 4px; }
.agri-hero-tabs .agri-slide-tekst { max-width: 46ch; font-size: 18px; color: #4a5550; }
.agri-hero-tabs .agri-hero-points { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; color: #4a5550; font-size: 14.5px; }
.agri-hero-tabs .agri-hero-points li::before { content: "✓ "; color: #008a00; font-weight: 700; }
.agri-hero-tablist { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; }
.agri-hero-tab { min-height: 38px; padding: 0 16px; border: 1px solid #dce1dd; border-radius: 999px; background: #ffffff; color: #1c2321; font: 600 14.5px/1 "Barlow", Arial, sans-serif; cursor: pointer; white-space: nowrap; }
.agri-hero-tab:hover { border-color: #1c2321; }
.agri-hero-tab[aria-selected="true"] { background: #1c2321; border-color: #1c2321; color: #ffffff; }
.agri-hero-tabs.is-ready .agri-slide-label { display: none; }
.agri-hero-tabs.is-ready > .agri-slide:not(.is-active) { display: none; }
@media (min-width: 782px) {
	.agri-hero-tabs.is-ready { --agri-hero-h: clamp(480px, 38vw, 580px); --agri-hero-left: max(24px, calc((100% - var(--theme-normal-container-max-width, 1120px)) / 2)); }
	.agri-hero-tabs.is-ready > .agri-slide { min-height: var(--agri-hero-h) !important; height: var(--agri-hero-h); padding: 0; background: #f7f8f6; }
	/* Foto rechts in 16:9, volledig zichtbaar, links zacht overlopend in de achtergrond. */
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__image-background { left: auto !important; right: 0; width: min(100%, calc(var(--agri-hero-h) * 1.778)) !important; height: 100% !important; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%); mask-image: linear-gradient(90deg, transparent 0, #000 32%); }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__inner-container { width: min(var(--theme-normal-container-max-width, 1120px), calc(100% - 48px)) !important; max-width: none !important; margin-inline: auto !important; padding: 150px 0 70px !important; }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__inner-container > * { max-width: 540px; }
	.agri-hero-tabs.is-ready > .agri-hero-h1, .agri-hero-tabs.is-ready > .agri-hero-tablist, .agri-hero-tabs.is-ready > .agri-hero-points { position: absolute; z-index: 3; left: var(--agri-hero-left); max-width: 620px; }
	.agri-hero-tabs.is-ready > .agri-hero-h1 { top: 96px; }
	.agri-hero-tabs.is-ready > .agri-hero-tablist { top: 126px; flex-wrap: nowrap; }
	.agri-hero-tabs.is-ready > .agri-hero-points { bottom: 26px; }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__inner-container { padding-top: 190px !important; }
}
@media (max-width: 781px) {
	.agri-hero-tabs { padding: 20px 16px 24px; }
	.agri-hero-tablist { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
	.agri-hero-tablist::-webkit-scrollbar { display: none; }
	.agri-hero-tabs.is-ready > .agri-slide { display: block; min-height: 0 !important; padding: 0; background: transparent; margin: 0 -16px 16px; }
	.agri-hero-tabs.is-ready > .agri-slide:not(.is-active) { display: none; }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__image-background { position: relative !important; display: block; width: 100%; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; object-position: 72% 50%; }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__background { display: none; }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__inner-container { position: static; padding: 16px 16px 0 !important; color: #1c2321; }
}

/* ---------- Header: vlag (TranslateWP) en zoeken als ronde knoppen ---------- */
header.ct-header [data-twp-switcher] .twp-trigger {
	display: grid !important; place-items: center; width: 44px !important; height: 44px !important; padding: 0 !important;
	border: 1px solid #dce1dd !important; border-radius: 50% !important; background: #ffffff !important; box-shadow: none !important;
}
header.ct-header [data-twp-switcher] .twp-trigger:hover { border-color: #008a00 !important; box-shadow: 0 0 0 3px rgba(0, 138, 0, .14) !important; }
header.ct-header [data-twp-switcher] .twp-trigger .lang-icon { border-radius: 4px !important; }
header.ct-header .ct-header-search[data-id="search"] { flex: 0 0 44px !important; min-width: 44px !important; max-width: 44px !important; aspect-ratio: 1 / 1; }

/* ---------- Zoekscherm licht (Blocksy zoekvenster) ---------- */
#search-modal { background-color: rgba(247, 248, 246, .97) !important; --theme-text-color: #1c2321; --theme-icon-color: #1c2321; }
#search-modal .ct-toggle-close { --theme-icon-color: #1c2321; }
#search-modal input[type="search"] { background: #ffffff !important; color: #1c2321 !important; border: 2px solid #008a00 !important; border-radius: 999px !important; box-shadow: 0 0 0 5px rgba(0, 138, 0, .12); }
#search-modal input[type="search"]::placeholder { color: #4a5550; }
#search-modal .agri-suggest { box-shadow: 0 16px 40px rgba(28, 35, 33, .14); border: 1px solid #dce1dd; }
/* ---------- Header: breder dan de inhoud (1240), menu tussen logo en knoppen, alles op één regel ---------- */
@media (min-width: 1000px) {
	header.ct-header [data-device="desktop"] [data-row*="middle"] > .ct-container {
		display: flex !important; align-items: center; gap: 0;
		width: min(1240px, calc(100% - 48px)) !important; max-width: none !important;
	}
	header.ct-header [data-device="desktop"] [data-row*="middle"] [data-column="start"] { flex: 1 1 auto; min-width: 0; }
	header.ct-header [data-device="desktop"] [data-row*="middle"] [data-column="start"] > [data-items] { display: flex; align-items: center; width: 100%; gap: 0; }
	/* Ruimte rond het menu als marge (niet als gap): Blocksy telt marges mee bij het bepalen wat in "Meer" moet, gaps niet. Anders schuift het menu onder de Outlet-knop. */
	header.ct-header [data-device="desktop"] [data-row*="middle"] [data-column="start"] nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; margin-inline: 26px 32px !important; }
	header.ct-header [data-device="desktop"] [data-row*="middle"] [data-column="end"] { flex: 0 0 auto; }
	/* Vaste maat (niet met vw meeschalen): Blocksy meet de menu-items één keer en onthoudt die breedtes; bij meeschalende tekst klopt dat na vergroten/verkleinen niet meer en loopt het menu onder de Outlet-knop. */
	header.ct-header [data-device="desktop"] nav > ul > li > a { padding-inline: 9px !important; font-size: 13.5px !important; }
}
/* Productfoto's in de kaarten: altijd vierkant vlak, foto in het midden (ook niet-vierkante foto's). */
[data-products] .product figure .ct-media-container { display: grid !important; place-items: center; aspect-ratio: 1 / 1; width: 100%; background: #ffffff; border-radius: 12px; overflow: hidden; }
[data-products] .product figure .ct-media-container img { width: 100% !important; height: 100% !important; object-fit: contain !important; object-position: 50% 50% !important; aspect-ratio: 1 / 1; }
[data-products] .product figure { background: transparent !important; }

/* ---------- Openingsband op telefoon en tablet: foto met slogan links erop, tekst en knoppen eronder ---------- */
@media (max-width: 999px) {
	.agri-hero-tabs { padding: 16px 16px 24px !important; }
	.agri-hero-tabs.is-ready > .agri-hero-h1, .agri-hero-tabs.is-ready > .agri-hero-tablist, .agri-hero-tabs.is-ready > .agri-hero-points { position: static !important; max-width: none; }
	.agri-hero-tablist { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; margin: 0 -16px 14px; padding: 0 16px; }
	.agri-hero-tablist::-webkit-scrollbar { display: none; }
	.agri-hero-tabs.is-ready > .agri-slide { position: relative; display: block; height: auto !important; min-height: 0 !important; padding: 0 !important; margin: 0 -16px 16px; background: transparent; overflow: hidden; }
	.agri-hero-tabs.is-ready > .agri-slide:not(.is-active) { display: none; }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__image-background { position: relative !important; inset: auto !important; display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; object-position: 70% 50%; -webkit-mask-image: none !important; mask-image: none !important; }
	/* Zachte lichte overloop links op de foto, zodat de slogan leesbaar is. */
	.agri-hero-tabs.is-ready > .agri-slide::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 100%; aspect-ratio: 4 / 3; background: linear-gradient(90deg, rgba(247, 248, 246, .95) 0%, rgba(247, 248, 246, .8) 38%, rgba(247, 248, 246, 0) 68%); pointer-events: none; }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__background { display: none; }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__inner-container { position: static !important; width: auto !important; margin: 0 !important; padding: 14px 16px 0 !important; color: #1c2321; }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__inner-container > * { max-width: none; }
	.agri-hero-tabs.is-ready > .agri-slide .agri-slide-titel { position: absolute; z-index: 2; left: 16px; top: 0; display: flex; align-items: center; width: 58%; aspect-ratio: auto; height: calc((100vw) * .75); margin: 0; font-size: clamp(26px, 7.2vw, 44px) !important; }
	.agri-hero-tabs.is-ready > .agri-slide .agri-slide-tekst { font-size: 16.5px; }
}
@media (max-width: 999px) { .agri-hero-tabs.is-ready > .agri-slide .agri-slide-titel { display: block !important; height: auto !important; top: calc(100vw * .375) !important; transform: translateY(-50%); width: 60% !important; } }

@media (max-width: 999px) { .agri-hero-tabs.is-ready > .agri-slide { overflow: visible !important; } .agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__inner-container { padding-bottom: 12px !important; } .agri-hero-tabs.is-ready > .agri-slide .wp-block-buttons { flex-wrap: wrap; gap: 10px; } }

/* Homepage: geen extra witruimte tussen header en openingsband. */
body.home .ct-container-full { padding-top: 0 !important; }
@media (min-width: 1000px) { .agri-hero-tabs.is-ready > .agri-hero-h1 { top: 104px; } .agri-hero-tabs.is-ready > .agri-hero-tablist { top: 134px; } }
/* Brede monitoren (2026-12-01): herofoto niet tegen de schermrand maar gelijk met de rechterkant van de header (kolom 1240 px), met zachte overgang aan beide kanten. */
@media (min-width: 1500px) {
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__image-background { right: max(0px, calc((100% - 1240px) / 2)) !important; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 32%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 32%, #000 88%, transparent 100%); }
}
@media (max-width: 999px) { .agri-hero-tabs { padding-top: 14px !important; } .agri-hero-tabs .agri-hero-h1 { margin-bottom: 10px; } }

/* Laptop/computer: openingsband begint onder de header (foto niet achter de header), met wat lucht. */
@media (min-width: 1000px) {
	body.home .ct-container-full { padding-top: 84px !important; }
	.agri-hero-tabs.is-ready > .agri-hero-h1 { top: 32px !important; }
	.agri-hero-tabs.is-ready > .agri-hero-tablist { top: 62px !important; }
	.agri-hero-tabs.is-ready > .agri-slide .wp-block-cover__inner-container { padding-top: 120px !important; }
}

/* Zoekscherm op telefoon en tablet: zoekbalk op ongeveer een kwart van boven. */
@media (max-width: 999px) {
	#search-modal .ct-panel-content { justify-content: flex-start !important; align-items: stretch; padding-top: 22vh !important; }
	#search-modal .ct-panel-content-inner { margin-top: 0 !important; }
}

/* Zoekscherm: één nette rand om veld en knop samen. */
#search-modal .ct-search-form-inner { background: #ffffff !important; border: 2px solid #008a00 !important; border-radius: 999px !important; box-shadow: 0 0 0 5px rgba(0, 138, 0, .12) !important; outline: 0 !important; padding: 4px 4px 4px 0; }
#search-modal input[type="search"] { border: 0 !important; box-shadow: none !important; outline: 0 !important; background: transparent !important; }

/* Telefoon: "Toevoegen aan winkelwagen" op productkaarten als rond winkelwagenicoon (tekst blijft voor schermlezers in aria-label). */
@media (max-width: 689px) {
	.ct-woo-card-actions a.add_to_cart_button {
		position: relative; display: inline-flex !important; align-items: center; justify-content: center;
		width: 48px !important; min-width: 0 !important; height: 48px !important; min-height: 0 !important; padding: 0 !important;
		border-radius: 999px !important; font-size: 0 !important; line-height: 0 !important; color: transparent !important; overflow: hidden;
	}
	.ct-woo-card-actions a.add_to_cart_button::before {
		content: "" !important; display: block !important; width: 24px; height: 24px; background: #ffffff;
		-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.6'/%3E%3Ccircle cx='18' cy='20' r='1.6'/%3E%3Cpath d='M2 3h3l2.7 12.4a1.5 1.5 0 0 0 1.5 1.1h8.9a1.5 1.5 0 0 0 1.5-1.1L21.5 8H6.2'/%3E%3C/svg%3E") center / contain no-repeat;
		mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.6'/%3E%3Ccircle cx='18' cy='20' r='1.6'/%3E%3Cpath d='M2 3h3l2.7 12.4a1.5 1.5 0 0 0 1.5 1.1h8.9a1.5 1.5 0 0 0 1.5-1.1L21.5 8H6.2'/%3E%3C/svg%3E") center / contain no-repeat;
	}
	.ct-woo-card-actions a.add_to_cart_button.loading::before { opacity: .45; }
	.ct-woo-card-actions a.add_to_cart_button.added::before {
		-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E");
		mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12.5l5 5 10-11'/%3E%3C/svg%3E");
	}
	.ct-woo-card-actions a.add_to_cart_button::after { display: none !important; }
	.ct-woo-card-actions .added_to_cart { display: none !important; }
	.ct-woo-card-actions:has(a.add_to_cart_button) { display: flex !important; justify-content: center !important; }
	.ct-woo-card-actions a.add_to_cart_button { margin-inline: auto !important; }
}

/* Productblokken op de homepage (Populair bij veehouders e.d.): Blocksy's winkelraster [data-products] niet op het WooCommerce-blok zelf toepassen (anders staat de lijst in 1 smalle kolom); op de telefoon 2 naast elkaar (WooCommerce zet ze onder 480px op 1 kolom) */
.wc-block-grid[data-products] { display: block; }
@media (max-width: 600px) {
	.wc-block-grid .wc-block-grid__products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 0 16px; }
	.wc-block-grid .wc-block-grid__product { flex: none !important; max-width: none !important; margin: 0 !important; padding: 10px 10px 14px !important; }
	.wc-block-grid .wc-block-grid__product-title { font-size: 16px; }
	.wc-block-grid .wc-block-grid__product-add-to-cart .wp-block-button__link { padding: 10px 14px; font-size: 15px; }
}

/* "Voor welke dieren zoekt u?" (pil-knoppen): op de telefoon minder tussenruimte en knoppen die de rij vullen, zodat ze in 2 nette rijen staan */
@media (max-width: 600px) {
	.agri-pil-nav { gap: 10px !important; }
	.agri-pil-nav .wp-block-button { flex: 1 1 auto; }
	.agri-pil-nav .wp-block-button__link { display: block; width: 100%; padding-inline: 12px; text-align: center; }
}

/* Groen regeltje boven een kop (bv. "Veel gekozen"): kop direct eronder, zonder de automatische blokruimte van WordPress */
.agri-eyebrow + .wp-block-heading { margin-block-start: 0 !important; }

/* Productblokken (Populair bij veehouders e.d.): knop altijd onderaan de kaart, zodat "Lees verder" en "Toevoegen aan winkelwagen" op gelijke hoogte staan */
.wc-block-grid .wc-block-grid__product { display: flex; flex-direction: column; }
.wc-block-grid .wc-block-grid__product > .wc-block-grid__product-add-to-cart { margin-top: auto !important; }
.wc-block-grid .wc-block-grid__product > .wc-block-grid__product-price { margin-bottom: 12px; }

/* Outlet-knop in het menu (menu-item naar de outletcategorie, of eigen menu-item met CSS-klasse agri-menu-outlet) */
.menu-container .agri-menu-outlet > .ct-menu-link {
	background: #c2410c; color: #ffffff !important; border-radius: 999px;
	font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
	--menu-item-height: auto; height: auto; padding: 8px 18px; margin-inline: 0 6px;
	box-shadow: 0 4px 12px rgba(194, 65, 12, .25); transition: background .15s;
}
.menu-container .agri-menu-outlet > .ct-menu-link:hover,
.menu-container .agri-menu-outlet.current-menu-item > .ct-menu-link { background: #9a3412; color: #ffffff !important; }
.header-menu-1 .agri-menu-outlet { display: flex; align-items: center; }
.mobile-menu .agri-menu-outlet > .ct-menu-link { display: inline-flex; margin: 0 0 10px; padding: 10px 22px; }

/* Outlet-knop in de header (Blocksy-element "Knop" met CSS-klasse agri-outlet-knop; tekst en link in Customizer > Header > Knop) */
.ct-header-cta .agri-outlet-knop {
	--theme-button-background-initial-color: #c2410c; --theme-button-background-hover-color: #9a3412;
	--theme-button-text-initial-color: #ffffff; --theme-button-text-hover-color: #ffffff;
	background: #c2410c; color: #ffffff; border-radius: 999px;
	font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
	padding-inline: 18px; box-shadow: 0 4px 12px rgba(194, 65, 12, .25);
}
.ct-header-cta .agri-outlet-knop:hover { background: #9a3412; color: #ffffff; }
#offcanvas .ct-header-cta { margin-bottom: 14px; }
#offcanvas .ct-header-cta .agri-outlet-knop { padding: 10px 22px; min-height: 0; }

/* ---------- Verbeterpunten 2026-11-28 ---------- */
/* 16: menu paste niet tussen logo en knoppen bij 1000-1399px (Stalinrichting viel onder "Meer"). Vaste maten per breekpunt, geen vw. */
@media (min-width: 1000px) and (max-width: 1399px) {
	header.ct-header [data-device="desktop"] [data-row*="middle"] [data-column="start"] nav { margin-inline: 16px 20px !important; }
	header.ct-header [data-device="desktop"] nav > ul > li > a { padding-inline: 5px !important; font-size: 13px !important; }
}
/* 4/12: productfoto's op de productpagina volledig tonen (was staand 3:4 met bijsnijden). */
.woocommerce-product-gallery .ct-media-container { aspect-ratio: 1 / 1 !important; background: #ffffff; border-radius: 12px; }
.woocommerce-product-gallery .ct-media-container img { width: 100% !important; height: 100% !important; aspect-ratio: 1 / 1 !important; object-fit: contain !important; object-position: 50% 50% !important; }
/* 18: merklogo's even groot: elk logo in een gelijk vak, passend geschaald. */
.agri-merken .wp-block-image a, .agri-merken .wp-block-image { display: flex; justify-content: center; align-items: center; }
.agri-merken img { width: 100% !important; max-width: 170px; height: 64px !important; max-height: none !important; object-fit: contain; }
@media (max-width: 781px) { .agri-merken img { max-width: 130px; height: 48px !important; } }/* 4/12: Blocksy zet een eigen verhouding als inline-stijl op de kaartfoto; vierkant afdwingen zodat contain de hele foto toont. */
[data-products] .product figure .ct-media-container img { aspect-ratio: 1 / 1 !important; }
/* 11: categoriepagina met subcategorieen: blok Meest gekozen producten (agri-shop categoriepagina.php). */
.agri-cp-populair { margin: 48px 0 0; }
.agri-cp-populair__titel { margin: 0 0 20px; }
.agri-cp-populair__alle { margin: 24px 0 0; text-align: center; }
/* Categoriepagina (body.agri-cp): filter links naast titel en tegels; Meest gekozen en de tekst daaronder over de volle breedte (1120 px). */
@media (min-width: 1000px) {
	body.agri-cp .ct-container[data-sidebar="left"] { grid-template-rows: repeat(4, auto) 1fr; row-gap: 0; }
	body.agri-cp .ct-container[data-sidebar="left"] > section { display: contents; }
	body.agri-cp .ct-container[data-sidebar="left"] > section > * { grid-column: 2; }
	body.agri-cp .ct-container[data-sidebar="left"] > aside { grid-column: 1; grid-row: 1 / 6; }
	body.agri-cp .ct-container[data-sidebar="left"] > section > ul.products { grid-row: 5; align-self: start; }
	body.agri-cp .ct-container[data-sidebar="left"] > section > .agri-cp-populair,
	body.agri-cp .ct-container[data-sidebar="left"] > section > .agri-cp-populair ~ * { grid-column: 1 / -1; }
}
/* Merklogo op de productkaart (agri-shop winkel.php), rechtsboven tegenover het leveringslabel. */
.agri-merklogo { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; align-items: center; height: 30px; padding: 4px 8px; background: #ffffff; border-radius: 8px; box-shadow: 0 1px 4px rgba(28, 35, 33, .12); pointer-events: none; }
.agri-merklogo img, .agri-merklogo .agri-merklogo__img { display: block; width: auto !important; height: 22px !important; max-width: 76px; object-fit: contain; aspect-ratio: auto !important; }
@media (max-width: 689px) { .agri-merklogo { height: 24px; padding: 3px 6px; } .agri-merklogo img { height: 16px !important; max-width: 56px; } }
/* 17: zoeken binnen een groep (agri-shop filters.php). */
.agri-filter__zoek { margin-bottom: 16px; }
.agri-filter__zoekrij { display: flex; gap: 6px; }
.agri-filter__zoekrij input[type="search"] { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid #dce1dd; border-radius: 10px; background: #ffffff; font-size: 14px; }
.agri-filter__zoekknop { flex: 0 0 40px; height: 40px; display: inline-grid; place-items: center; border: 0; border-radius: 10px; background: #008a00; color: #ffffff; cursor: pointer; }
.agri-filter__zoekknop:hover { background: #006e00; }
/* 14: Actieblok op de voorpagina (herbruikbaar blok 'Actieblok', zelf te bewerken).
   2026-12-01: opvallend oranje (accent oranje #c2410c = Outlet-knop), witte tekst en witte knop. Oranje = aanbieding. */
.agri-actieblok-sectie { padding-block: 40px; }
.agri-actieblok { position: relative; margin: 0; padding: 28px; gap: 36px !important; background: #c2410c; background-image: radial-gradient(circle at 100% 0%, rgba(255, 255, 255, .16) 0, rgba(255, 255, 255, 0) 45%); border: 0; border-radius: 18px; color: #ffffff; box-shadow: 0 14px 34px rgba(194, 65, 12, .28); overflow: hidden; }
.agri-actieblok__foto { margin: 0; }
.agri-actieblok__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; border: 4px solid rgba(255, 255, 255, .9); }
.agri-actieblok .agri-actieblok__label { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: #ffffff; color: #c2410c !important; font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.agri-actieblok h2 { margin: 0 0 10px; color: #ffffff !important; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; }
.agri-actieblok p:not(.agri-actieblok__label) { color: #fff4ec !important; font-size: 17px; }
.agri-actieblok a:not(.wp-block-button__link) { color: #ffffff !important; text-decoration: underline; }
.agri-actieblok .wp-block-button__link { background: #ffffff !important; color: #9a3412 !important; font-weight: 800; padding: 13px 26px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); transition: transform .15s ease, box-shadow .15s ease; }
.agri-actieblok .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0, 0, 0, .22); }
.agri-actieblok .wp-block-button__link:focus-visible { outline: 3px solid #ffffff; outline-offset: 3px; }
/* Vetgedrukte tekst in het actieblok = kortingscode: wit gestippeld kader. Tweede knop (stijl Omlijnd) wit omlijnd. */
.agri-actieblok strong { display: inline-block; padding: 1px 10px; border: 2px dashed #ffffff; border-radius: 8px; color: #ffffff; font-weight: 800; letter-spacing: .06em; }
.agri-actieblok .wp-block-buttons { gap: 12px; }
.agri-actieblok .is-style-outline .wp-block-button__link { background: transparent !important; color: #ffffff !important; border: 2px solid #ffffff !important; box-shadow: none; }
.agri-actieblok .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .12) !important; }
@media (max-width: 781px) { .agri-actieblok { padding: 18px; gap: 18px !important; } .agri-actieblok p:not(.agri-actieblok__label) { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .agri-actieblok .wp-block-button__link { transition: none; } .agri-actieblok .wp-block-button__link:hover { transform: none; } }
/* 5: landingspagina's categorie: foto-tekstrijen, vergelijkingstabel, veelgestelde vragen en adviesblok (in de categorietekst). */
.agri-archive__more-body:has(.agri-info-row) { max-width: none; }
.agri-info-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center; margin: 8px 0 34px; }
.agri-info-row--rev .agri-info-row__media { order: -1; }
.agri-info-row__text > :first-child { margin-top: 0; }
.agri-info-row__media { margin: 0; }
.agri-info-row__media img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: #ffffff; }
.agri-info-row__media--product img { object-fit: contain; padding: 12px; }
.agri-info-row__media figcaption { margin-top: 8px; color: #5b6660; font-size: 13.5px; }
.agri-vergelijk { overflow-x: auto; margin: 8px 0 32px; }
.agri-vergelijk table { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; background: #ffffff; border: 1px solid #dce1dd; border-radius: 12px; overflow: hidden; font-size: 15px; }
.agri-vergelijk th, .agri-vergelijk td { padding: 10px 14px; border-bottom: 1px solid #ecefed; text-align: left; vertical-align: top; }
.agri-vergelijk tr:last-child th, .agri-vergelijk tr:last-child td { border-bottom: 0; }
.agri-vergelijk thead th { background: #0000ff; color: #ffffff; font-weight: 700; } /* accent: blauw van het logo */
.agri-vergelijk tbody th { background: #f7f8f6; width: 22%; font-weight: 700; }
.agri-faq { margin: 8px 0 32px; }
.agri-faq details { margin: 0 0 10px; padding: 0 16px; background: #ffffff; border: 1px solid #dce1dd; border-left: 4px solid #0000ff; border-radius: 12px; }
.agri-faq summary { padding: 14px 0; font-weight: 700; cursor: pointer; }
.agri-faq summary::marker { color: #0000ff; }
.agri-faq details[open] summary { margin-bottom: 10px; border-bottom: 1px solid #ecefed; color: #0000ff; }
.agri-faq details p { margin: 0 0 14px; }
.agri-info-cta { margin: 32px 0 0; padding: 24px; background: #eef0ff; border-left: 6px solid #0000ff; border-radius: 16px; }
.agri-info-cta h2, .agri-info-cta h3 { margin-top: 0; }
.agri-info-cta .agri-btn, .agri-info-row__text .agri-btn { margin: 4px 8px 4px 0; text-decoration: none; }
@media (max-width: 781px) { .agri-info-row { grid-template-columns: minmax(0, 1fr); gap: 16px; } .agri-info-row__media { order: -1; } }

/* Vinkjes (o.a. algemene voorwaarden bij afrekenen) beter zichtbaar: donkere rand en witte achtergrond (2026-12-01). */
body { --theme-form-selection-field-initial-color: #5b6660; --form-selection-control-border-width: 2px; }
.woocommerce-form__input[type=checkbox]:not(:checked), .woocommerce-form__label-for-checkbox input[type=checkbox]:not(:checked), .woocommerce-input-wrapper input[type=checkbox]:not(:checked), #ship-to-different-address-checkbox:not(:checked), .ct-checkbox:not(:checked) { background: #fff; }

/* ---------- Bedankpagina na bestellen (order-received), 2026-12-01 ---------- */
.woocommerce-order { --agri-tk-ink: #1c2620; --agri-tk-muted: #5b6660; --agri-tk-line: #dce1dd; color: var(--agri-tk-ink); font-size: 1rem; }
.woocommerce-order > .woocommerce-notice--success,
.woocommerce-order > p.woocommerce-thankyou-order-received {
	margin: 0 0 24px; padding: 20px 24px 20px 56px; background: #e9f6ea; border: 0; border-left: 6px solid var(--theme-palette-color-1, #008a00);
	border-radius: 14px; color: var(--agri-tk-ink); font-size: 1.15rem; font-weight: 600; line-height: 1.45;
}
.woocommerce-order ul.woocommerce-order-overview {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px;
	margin: 0 0 28px; padding: 0; list-style: none; border: 0;
}
.woocommerce-order ul.woocommerce-order-overview li {
	margin: 0; padding: 16px 18px; background: #fff; border: 1px solid var(--agri-tk-line); border-radius: 14px;
	color: var(--agri-tk-muted); font-size: .85rem; text-transform: none; line-height: 1.3;
}
.woocommerce-order ul.woocommerce-order-overview li strong {
	display: block; margin-top: 6px; color: var(--agri-tk-ink); font-size: 1.15rem; font-weight: 700; word-break: break-word;
}
.woocommerce-order ul.woocommerce-order-overview li.total strong { color: var(--theme-palette-color-1, #008a00); font-size: 1.35rem; }
.woocommerce-order > p:not(.woocommerce-thankyou-order-received),
.woocommerce-order > .woocommerce-info, .woocommerce-order > .woocommerce-message {
	margin: 0 0 24px; padding: 14px 18px; background: #fff; border: 1px solid var(--agri-tk-line); border-radius: 14px; color: var(--agri-tk-ink); font-size: .95rem;
}
.woocommerce-order .woocommerce-order-details,
.woocommerce-order .woocommerce-customer-details {
	margin: 0 0 24px; padding: 24px; background: #fff; border: 1px solid var(--agri-tk-line); border-radius: 16px;
}
.woocommerce-order .woocommerce-order-details__title,
.woocommerce-order .woocommerce-column__title,
.woocommerce-order .woocommerce-customer-details h2 { margin: 0 0 14px; font-size: 1.5rem; color: var(--agri-tk-ink); }
.woocommerce-order table.order_details { width: 100%; margin: 0; border: 0; font-size: 1rem; color: var(--agri-tk-ink); }
.woocommerce-order table.order_details th, .woocommerce-order table.order_details td {
	padding: 12px 0; border: 0; border-bottom: 1px solid #eef1ee; color: var(--agri-tk-ink); font-size: 1rem; background: none;
}
.woocommerce-order table.order_details thead th { padding-top: 0; color: var(--agri-tk-muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.woocommerce-order table.order_details .product-total, .woocommerce-order table.order_details tfoot td { text-align: right; }
.woocommerce-order table.order_details tfoot th { font-weight: 500; color: var(--agri-tk-muted); }
.woocommerce-order table.order_details .product-name a { color: var(--agri-tk-ink); font-weight: 600; text-decoration: none; }
.woocommerce-order table.order_details .product-name a:hover { color: var(--theme-palette-color-1, #008a00); }
.woocommerce-order table.order_details .product-quantity { color: var(--agri-tk-muted); font-weight: 500; }
.woocommerce-order table.order_details .shipped_via { display: block; color: var(--agri-tk-muted); font-size: .8rem; }
.woocommerce-order table.order_details tfoot tr:last-child th,
.woocommerce-order table.order_details tfoot tr:last-child td { border-bottom: 0; }
.woocommerce-order .order-again { margin: 20px 0 0; }
.woocommerce-order .woocommerce-customer-details .woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; }
.woocommerce-order .woocommerce-customer-details .woocommerce-column { width: auto; float: none; margin: 0; padding: 0; }
.woocommerce-order .woocommerce-customer-details address {
	margin: 0; padding: 16px 18px; background: #f6f7f6; border: 0; border-radius: 12px; color: var(--agri-tk-ink); font-size: 1rem; font-style: normal; line-height: 1.6;
}
.woocommerce-order .woocommerce-customer-details address p { margin: 6px 0 0; color: var(--agri-tk-ink); }
@media (max-width: 689px) {
	.woocommerce-order .woocommerce-order-details, .woocommerce-order .woocommerce-customer-details { padding: 18px; }
	.woocommerce-order ul.woocommerce-order-overview { grid-template-columns: 1fr 1fr; }
	.woocommerce-order ul.woocommerce-order-overview li.email, .woocommerce-order ul.woocommerce-order-overview li.method { grid-column: 1 / -1; }
}

/* Productkaarten: tekstlink "Op offertelijst" onder de winkelwagenknop (2026-12-01). */
.ct-woo-card-actions .agri-card-quote {
	flex: 0 0 100%; display: block; margin: 2px 0 0; padding: 4px 0; background: none; border: 0;
	color: var(--theme-palette-color-1, #008a00); font-size: .9rem; font-weight: 600; text-align: center;
	text-decoration: underline; text-underline-offset: 3px;
}
.ct-woo-card-actions .agri-card-quote:hover { color: #006b00; text-decoration-thickness: 2px; }
.ct-woo-card-actions .agri-card-quote.is-on-list { color: var(--agri-tk-muted, #5b6660); text-decoration: none; }
