/**
 * Shortcode [wallmood_product_filters] — wyłącznie karta produktu.
 */

.single-product .wallmood-product-filters,
.woocommerce.single-product .wallmood-product-filters,
body.single-product .wallmood-product-filters {
	--wmf-pf-font: inherit;
	--wmf-pf-text: #000000;
	--wmf-pf-link: #000000;
	--wmf-pf-link-hover: #000000;
	--wmf-pf-border: #d8d8d8;

	box-sizing: border-box;
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: var(--wmf-pf-font);
	font-size: 14px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--wmf-pf-text);
	background: transparent;
	border: 0;
}

.single-product .wallmood-product-filters *,
.single-product .wallmood-product-filters *::before,
.single-product .wallmood-product-filters *::after,
.woocommerce.single-product .wallmood-product-filters *,
.woocommerce.single-product .wallmood-product-filters *::before,
.woocommerce.single-product .wallmood-product-filters *::after {
	box-sizing: border-box;
}

.single-product .wallmood-product-filters__line,
.woocommerce.single-product .wallmood-product-filters__line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 5px;
	padding: 0;
	line-height: 1.5;
}

.single-product .wallmood-product-filters__label,
.woocommerce.single-product .wallmood-product-filters__label {
	display: inline;
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: 400;
	font-style: normal;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: 0;
	color: var(--wmf-pf-text);
	background: transparent;
	border: 0;
	border-radius: 0;
}

.single-product .wallmood-product-filters__values,
.woocommerce.single-product .wallmood-product-filters__values {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	font-weight: 400;
}

.single-product .wallmood-product-filters__value,
.woocommerce.single-product .wallmood-product-filters__value,
.single-product .wallmood-product-filters__value:link,
.single-product .wallmood-product-filters__value:visited,
.woocommerce.single-product .wallmood-product-filters__value:link,
.woocommerce.single-product .wallmood-product-filters__value:visited {
	display: inline-flex;
	align-items: center;
	margin: 0;
	padding: 5px 12px;
	font-size: 12px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.3;
	text-transform: none;
	text-decoration: none;
	color: var(--wmf-pf-link) !important;
	background: #ffffff;
	border: 1px solid var(--wmf-pf-border);
	border-radius: 5px;
	box-shadow: none;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.single-product .wallmood-product-filters__value:hover,
.single-product .wallmood-product-filters__value:focus,
.single-product .wallmood-product-filters__value:active,
.woocommerce.single-product .wallmood-product-filters__value:hover,
.woocommerce.single-product .wallmood-product-filters__value:focus,
.woocommerce.single-product .wallmood-product-filters__value:active {
	color: var(--wmf-pf-link-hover) !important;
	text-decoration: none;
	background-color: var(--wmf-pf-border);
	outline: none;
}

/* Fallback poza .single-product (np. Elementor) */
.wallmood-product-filters {
	--wmf-pf-text: #000000;
	--wmf-pf-link: #000000;
	--wmf-pf-link-hover: #000000;
	--wmf-pf-border: #d8d8d8;
}

.wallmood-product-filters__line {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 0 5px;
}

.wallmood-product-filters__label {
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0;
	color: #000000;
}

.wallmood-product-filters__values {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}

.wallmood-product-filters__value,
.wallmood-product-filters__value:link,
.wallmood-product-filters__value:visited {
	display: inline-flex;
	align-items: center;
	padding: 5px 12px;
	font-size: 12px;
	text-decoration: none;
	color: #000000 !important;
	background: #ffffff;
	border: 1px solid var(--wmf-pf-border);
	border-radius: 5px;
	transition: background-color 0.15s ease;
}

.wallmood-product-filters__value:hover,
.wallmood-product-filters__value:focus {
	text-decoration: none;
	color: #000000 !important;
	background-color: var(--wmf-pf-border);
}
