/* WooCommerce-blokke in die gekose styl: gebruik dieselfde --tb-*-tokens as die tb-blokke. */
.wc-block-product,
.wc-block-cart__main .wc-block-cart-items,
.wc-block-cart__sidebar,
.wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block, /* die binneste blok: om die sybalk self gee 'n kaart in 'n kaart */
.wc-block-checkout__main .wc-block-components-checkout-step,
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password,
.woocommerce-MyAccount-navigation {
	background: var(--wp--preset--color--surface, #f3f4f6);
	border: var(--tb-rand, 0) var(--tb-rand-styl, solid) var(--wp--preset--color--contrast, #111827);
	border-radius: var(--tb-radius-kaart, 0.75rem);
	box-shadow: var(--tb-skaduwee, none);
	padding: 1.25rem;
	box-sizing: border-box;
}
.wc-block-product .wc-block-components-product-image img { border-radius: calc(var(--tb-radius-kaart, 0.75rem) * 0.6); }
.wp-block-woocommerce-product-template { gap: 1.25em; } /* Woo se responsiewe kolomformule (calc(33.33% - .8333em)) reken met presies 1.25em; meer gee een kolom minder */
.wc-block-components-product-title,
.wp-block-woocommerce-product-collection h1,
.wp-block-woocommerce-product-collection h2,
.wc-block-cart h2,
.wc-block-checkout h2,
:root .wc-block-components-title.wc-block-components-title, /* Woo verdubbel die klas (gewig 500) */
.woocommerce-Reviews-title, .comment-reply-title {
	font-family: var(--wp--preset--font-family--tb-opskrif, inherit);
	text-transform: var(--tb-opskrif-kas, none);
	font-weight: var(--tb-opskrif-gewig, 700);
	letter-spacing: var(--tb-opskrif-spasiering, 0);
}
.wc-block-components-product-price { font-weight: 700; }
.wc-block-components-product-price ins { text-decoration: none; padding: 0 0.3em; } /* agtergrond + teks: kleur.json agtergronde.accent */
.wc-block-components-product-sale-badge {
	/* agtergrond + teks: kleur.json agtergronde.accent */
	border: var(--tb-rand, 0) var(--tb-rand-styl, solid) currentColor;
	border-radius: var(--tb-radius-knoppie, 0.375rem); text-transform: var(--tb-knoppie-kas, none);
}
.wc-block-components-button:not(.is-link),
.wc-block-components-product-button .wp-block-button__link,
.wp-block-woocommerce-cart .wp-block-button__link,
.wp-block-woocommerce-checkout .wp-block-button__link,
.wc-block-components-checkout-place-order-button {
	border: 2px solid var(--tb-knoppie-rand, var(--tb-knoppie, var(--wp--preset--color--primary, #1e6fd9)));
	border-radius: var(--tb-radius-knoppie, 0.375rem);
	box-shadow: var(--tb-skaduwee-knoppie, var(--tb-skaduwee, none));
	background: var(--tb-knoppie, var(--wp--preset--color--primary, #1e6fd9));
	color: var(--tb-op-knoppie, var(--tb-op-primary, #fff));
	font-weight: var(--tb-knoppie-gewig, 600);
	text-transform: var(--tb-knoppie-kas, none);
	letter-spacing: var(--tb-knoppie-spasiering, 0);
	text-decoration: none;
}
.wc-block-components-button:not(.is-link):hover,
.wc-block-components-product-button .wp-block-button__link:hover { filter: brightness(1.1); }
/* :root + Woo se eie pad: hul veldreëls is (0,3,1) spesifiek. Woo se opvulling bly (drywende etikette). */
:root .wc-block-components-form .wc-block-components-text-input input,
:root .wc-block-components-text-input input,
:root .wc-block-components-textarea,
:root .wc-block-components-select-input select,
:root .wc-blocks-components-select .wc-blocks-components-select__select,
:root .woocommerce form .form-row :is(.input-text, select),
:root .woocommerce-ordering select,
:root :is(.comment-form, #review_form) :is(input[type="text"], input[type="email"], input[type="url"], textarea) {
	border: max(var(--tb-rand, 0px), 1px) var(--tb-rand-styl, solid) var(--wp--preset--color--contrast, #111827);
	border-radius: var(--tb-radius-knoppie, 0.375rem);
}
.wc-blocks-components-select .wc-blocks-components-select__container { background: var(--wp--preset--color--base); } /* WooCommerce sit wit vas; teks: kleur.json velde */
.wc-block-components-notice-banner { border-radius: var(--tb-radius-kaart, 0.75rem); }
.woocommerce-ordering select, .woocommerce form .form-row .input-text, :is(.comment-form, #review_form) :is(input[type="text"], input[type="email"], input[type="url"], textarea) { padding: 0.6em 0.8em; background: var(--wp--preset--color--base); box-sizing: border-box; }
:is(.comment-form, #review_form) :is(input[type="text"], input[type="email"], input[type="url"]) { width: 100%; }
:is(.comment-form, #review_form) :is(.comment-form-author, .comment-form-email) label { display: block; }
/* WP se kernreël .wp-block-button__link { height: 100% } rek die knoppie in Woo se leë mandjie/betaalblad (span in 'n flex-item). */
.wc-block-checkout-empty .wp-block-button__link, .wp-block-woocommerce-empty-cart-block .wp-block-button__link { height: auto; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.25rem; }
.woocommerce-MyAccount-navigation-link.is-active a { font-weight: 700; color: var(--tb-t-skakel); }
.wc-block-components-product-rating__stars, .star-rating, p.stars a { color: var(--tb-t-skakel); }
@media (max-width: 600px) { .wp-block-woocommerce-product-template { grid-template-columns: 1fr 1fr !important; } }
/* Woo-sjablone (winkel, kategorie) sit hul blokke sonder gutter teen die rand; in die bladsy-inhoud sorg inhoud.css en die seksies daarvoor (anders dubbel). */
@media (max-width: 700px) {
	:is(.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout, .wp-block-woocommerce-product-collection, .wp-block-woocommerce-customer-account,
	.wc-block-store-notices, .wc-block-breadcrumbs, .wp-block-query-title, .wp-block-term-description, .wp-block-woocommerce-catalog-sorting, .wp-block-woocommerce-product-results-count):not(.wp-block-post-content *) { padding-inline: 1rem; box-sizing: border-box; }
	.wc-block-product { padding: 0.75rem; }
	.wc-block-product { container-type: inline-size; }
	/* Titel skaal met die kaart: 'n woord van 13 hoofletters pas op 'n 360px-foon met twee kolomme. !important wen Woo se has-medium-font-size (net op 'n foon, net in 'n kaart). */
	.wc-block-product .wp-block-post-title { font-size: min(0.9rem, 10cqi) !important; letter-spacing: 0; border-left-width: min(var(--tb-rand, 6px), 6px); padding-left: 0.5rem; hyphens: auto; } /* die struktuur se opskrifbalk vat anders 'n kwart van 'n smal kaart */
	.wc-block-components-product-button .wp-block-button__link { padding: 0.6em 0.9em; font-size: 0.8rem; }
}
/* Enkele-produk-blok in 'n smal kolom: die titel kry nie die volle h2-grootte nie (lang produkname breek middel-in). */
.wp-block-woocommerce-single-product .wp-block-post-title { font-size: clamp(1.5rem, 3vw, 2rem); }
/* Filteropskrifte in 'n smal kolom: kleiner as 'n afdelingsopskrif. */
.wc-block-product-filters h2.wp-block-heading { font-size: 1.5rem; }
.wc-block-product-filters h3.wp-block-heading { font-size: 1rem; }
/* Die tema se globale blockGap is 0px; Woo bou die filtergaping daarop, so groepe en opskrifte sit anders teen mekaar. */
.wc-block-product-filters__overlay-content { gap: 1.5rem; }
/* Paginering onder 'n produkrooster: nie teen die kaarte nie. */
.wp-block-woocommerce-product-collection .wp-block-query-pagination { margin-top: 1.5rem; }
/* Mandjieskakel in die inhoud: Woo sentreer dit (vir die kopstuk); in 'n kolom hoort dit links. */
.wp-block-post-content .wc-block-cart-link { justify-content: flex-start; }
/* Filter-merkblokkies: Woo se rand is deursigtig en die vulkleur byna die agtergrond; WCAG 1.4.11 vra 3:1 vir kontroles. */
.wc-block-product-filters { --wc-product-filter-checkbox-list-option-element-border: currentColor; }
/* Woo se eie sjablone (winkel, produk, mandjie, betaal, rekening): die tema se blockGap is 0px, so die broodkrummels,
   titel en inhoud sou teen die kopstuk en teen mekaar sit. Ons eie bladsye dra nie .woocommerce-page nie. */
.woocommerce-page main.wp-block-group { padding-block: 2rem 4rem; }
.woocommerce-page main.wp-block-group > * + * { margin-block-start: 1.25rem; }
/* Woo se eie betaal-kopstuk (checkout-header) verwag die tema se wortel-opvulling; ons kopstuk dra sy eie, dié een nie. */
.woocommerce-checkout header.wp-block-template-part > .wp-block-group { padding-inline: clamp(1rem, 5vw, 4rem); }
/* Enkele produkbladsy (Woo se eie sjabloon): die tema se blockGap is 0px, so prent en opsomming en die opsomming se dele sit teen mekaar. */
.single-product main .wp-block-columns.alignwide { gap: clamp(1.5rem, 4vw, 3.5rem); }
.single-product main .wp-block-columns.alignwide > .wp-block-column > * + * { margin-block-start: 1rem; }
/* Die struktuur se opskrifreël ({H}) sentreer .wp-block-post-title; langs die prent hoort die titel links. */
:root .single-product main .wp-block-columns .wp-block-post-title { margin-inline: 0; }
.single-product .wp-block-woocommerce-product-details h2 { font-size: 1.5rem; }
:root .single-product .quantity .qty {
	border: max(var(--tb-rand, 0px), 1px) var(--tb-rand-styl, solid) var(--wp--preset--color--contrast, #111827);
	border-radius: var(--tb-radius-knoppie, 0.375rem);
	background: var(--wp--preset--color--base); color: inherit; box-sizing: border-box; min-height: 2.75rem; width: 4.5rem; padding: 0.5em;
}
@media (max-width: 700px) {
	.single-product main > :is(.wp-block-columns, .wp-block-woocommerce-product-details) { padding-inline: 1rem; box-sizing: border-box; }
}
/* Verwante produkte gebruik Woo se ou flex-rooster (is-flex-container), nie die grid nie: op 'n foon ook twee kolomme. */
@media (max-width: 600px) { :root .wc-block-product-template.is-flex-container > li { width: calc(50% - 0.625em); } }
/* Die struktuur se uitlig ({H}) op elke kaarttitel is geraas (en skakelkleur op aksent): net die bladsytitel dra dit. */
.wc-block-product .wp-block-post-title { background: none; }
