/*
 * Site-wide CSS – moved from Customizer → Additional CSS (theme kadence) on 2026-10-15 (P04b).
 * Commented-out experiments dropped. The invalid "color: #fff; !important;" never applied (the badge colours
 * come from the mini-cart block's inline style); since 0.5.0 the badge look is set explicitly (see below).
 */

/* Mini cart badge (header) – as on the site until WordPress 7 / WooCommerce 11: white badge, bold black number.
   - Size: WooCommerce's own badge CSS used to load after the Customizer CSS, so the former overrides here
     (font-size .7em, padding, border-radius 10em) never applied; they are dropped, WooCommerce's sizes stay.
   - WooCommerce 11 removed font-weight 600 from the badge and now applies the block's "product count colour"
     (palette 2, dark red) to the background with a black number – unreadable. Colours are inline styles,
     hence !important. */
.wc-block-mini-cart__badge {
	font-weight: 600;
	background-color: #fff !important;
	color: #000 !important;
}

/* Product grid blocks (e.g. "Odporúčané produkty" on the home page) on phones: one product per row, as before
   WordPress 7 / WooCommerce 11. WooCommerce block styles now load before the theme, so the theme's 2-column
   mobile grid won; this restores WooCommerce's own rule (all-products.css, max-width 480px). */
@media (max-width: 480px) {
	.wc-block-grid.has-2-columns .wc-block-grid__products,
	.wc-block-grid.has-3-columns .wc-block-grid__products,
	.wc-block-grid.has-4-columns .wc-block-grid__products,
	.wc-block-grid.has-5-columns .wc-block-grid__products,
	.wc-block-grid.has-6-columns .wc-block-grid__products {
		display: block;
	}
}

/* Product grids: black cards */
li.wc-block-grid__product {
	background-color: #000 !important;
}

.product-details {
	background-color: #000 !important;
	padding: 15px !important;
}

/* Yoast breadcrumbs */
.yoast-breadcrumbs {
	font-size: 14px !important;
	margin-bottom: 10px;
}

/* Product page: no "Clear" link for variations */
.reset_variations {
	display: none !important;
}

/* Product page: availability below the add-to-cart button (includes/product-page.php) */
.woocommerce-variation-availability {
	margin-top: 15px;
	font-size: 0.9em;
	color: #777;
	text-align: left;
}

/* Kadence navigation: transparent sub-menu */
.wp-block-kadence-navigation.navigation-desktop-orientation-horizontal .sub-menu {
	background: none;
}
