/**
 * #12072 — tabela modułów: prostokąty szerokości (wzór #14 bench14-dimension-badges).
 * Zakres: wyłącznie .hoker-bench-module-selector — reszta karty nietknięta.
 */

body.hoker-bench12072-module-width-badges-active .hoker-bench-module-selector .hoker-bench-module-slider-row input[type='range'],
body.hoker-bench12072-module-width-badges-active .hoker-bench-module-selector .hoker-bench-module-slider-row > small {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

body.hoker-bench12072-module-width-badges-active .hoker-bench-module-selector .hoker-bench-module-slider-row {
	position: relative;
}

body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badges-wrap {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 8px 0 0;
	box-sizing: border-box;
}

body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badges {
	display: grid;
	grid-template-columns: repeat(11, minmax(0, 1fr));
	gap: 6px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badge {
	display: block;
	box-sizing: border-box;
	min-width: 0;
	border: 1px solid rgba(118, 0, 34, 0.22);
	border-radius: 10px;
	background: #fffaf4;
	color: #241f1c;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	padding: 8px 2px;
	text-align: center;
	cursor: pointer;
	transform-origin: center center;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
	appearance: none;
	-webkit-appearance: none;
}

body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badge:hover {
	border-color: rgba(118, 0, 34, 0.42);
	background: #fff;
}

body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badge.is-active {
	border-color: #241f1c;
	box-shadow: 0 0 0 1px #241f1c;
	background: #fff;
	color: #241f1c;
}

body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badge:focus-visible {
	outline: 2px solid #760022;
	outline-offset: 2px;
}

body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badge.hoker-summary-pill-pop {
	animation: hoker-summary-pill-pop 0.96s cubic-bezier(0.34, 1.45, 0.64, 1) !important;
	border-color: #8d1c2f !important;
	box-shadow: inset 0 0 0 1px rgba(141, 28, 47, 0.12) !important;
	background: #fffafa !important;
}

body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badge.hoker-choice-card-hint {
	border-color: #8d1c2f;
	box-shadow: inset 0 0 0 1px rgba(141, 28, 47, 0.12);
	background: #fffafa;
}

@media (max-width: 768px) {
	body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badges {
		grid-template-columns: repeat(6, minmax(0, 1fr));
		gap: 5px;
	}

	body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badge {
		font-size: 0.68rem;
		padding: 7px 1px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badge.hoker-summary-pill-pop {
		animation-duration: 1.4s !important;
	}
}

/* Laptop — poszerzenie 3 białych tabel w prawej kolumnie (#12072 + klony modułowe). Tablet/mobile bez zmian. */
@media (min-width: 1025px) {
	body.hoker-bench12072-module-width-badges-active.hoker-seat-fabric-standard.single-product div.product,
	body.hoker-bench12072-module-width-badges-active.hoker-bench-production-card.single-product div.product {
		grid-template-columns: minmax(0, 520px) minmax(0, 1fr) !important;
		gap: 14px 1cm !important;
	}

	body.hoker-bench12072-module-width-badges-active.single-product div.product > .summary.entry-summary,
	body.hoker-bench12072-module-width-badges-active.single-product div.product > .summary {
		width: 100% !important;
		max-width: none !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	body.hoker-bench12072-module-width-badges-active.single-product div.product > .summary .hoker-leadtime-delivery-box,
	body.hoker-bench12072-module-width-badges-active.single-product div.product > .summary #hoker-seat-configurator,
	body.hoker-bench12072-module-width-badges-active.single-product #hoker-seat-configurator #hoker-seat-choice-summary,
	body.hoker-bench12072-module-width-badges-active.single-product #hoker-seat-configurator > .hoker-bench-module-row,
	body.hoker-bench12072-module-width-badges-active.single-product .hoker-bench-module-selector {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
	}

	body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badges {
		grid-template-columns: repeat(11, minmax(0, 1fr));
		gap: 7px;
	}

	body.hoker-bench12072-module-width-badges-active .hoker-bench-module-width-badge {
		font-size: 0.74rem;
		padding: 8px 3px;
	}
}
