/**
 * Wymiary techniczne — jedna wspólna ramka, kolumny logiczne w środku.
 */

.hoker-tech-dimensions--collapsible .hoker-tech-dimensions-disclosure {
	margin: 0;
	border: 1px solid rgba(117, 105, 96, 0.28);
	border-radius: 10px;
	background: #faf8f6;
	box-sizing: border-box;
	overflow: hidden;
}

.hoker-tech-dimensions-disclosure__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 8px;
	margin: 0;
	padding: 8px 10px;
	cursor: pointer;
	list-style: none;
	user-select: none;
	-webkit-tap-highlight-color: transparent;
}

.hoker-tech-dimensions-disclosure__summary::-webkit-details-marker {
	display: none;
}

.hoker-tech-dimensions-disclosure__summary::marker {
	content: '';
}

.hoker-tech-dimensions-disclosure__label {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0 !important;
}

.hoker-tech-dimensions-disclosure__hint {
	flex: 1 1 100%;
	margin: 0;
	font-size: 10px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.02em;
	color: #756960;
}

.hoker-tech-dimensions-disclosure[open] .hoker-tech-dimensions-disclosure__hint--expand,
.hoker-tech-dimensions-disclosure:not([open]) .hoker-tech-dimensions-disclosure__hint--collapse {
	display: none;
}

.hoker-tech-dimensions-disclosure__chevron {
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	margin-left: auto;
	background: center / contain no-repeat
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%238d1c2f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	transition: transform 0.18s ease;
}

.hoker-tech-dimensions-disclosure[open] .hoker-tech-dimensions-disclosure__chevron {
	transform: rotate(180deg);
}

.hoker-tech-dimensions-disclosure[open] .hoker-tech-dimensions-disclosure__summary {
	border-bottom: 1px solid rgba(117, 105, 96, 0.2);
}

.hoker-tech-dimensions--collapsible .hoker-tech-dimensions-frame {
	border: 0;
	border-radius: 0;
	background: transparent;
}

.hoker-tech-dimensions--collapsible.hoker-tech-dimensions--grouped .hoker-tech-dimensions-frame {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.hoker-tech-dimensions-disclosure:not([open]) .hoker-tech-dimensions-frame {
	display: none;
	visibility: hidden;
	height: 0;
	max-height: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.hoker-tech-dimensions--grouped .hoker-tech-dimensions-frame {
	margin: 0;
	padding: 8px 10px;
	border: 1px solid rgba(117, 105, 96, 0.28);
	border-radius: 10px;
	background: #faf8f6;
	box-sizing: border-box;
	container-type: inline-size;
}

.hoker-tech-dimensions--grouped .hoker-tech-dimensions-layout {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 8px;
	margin: 0;
}

.hoker-tech-dimensions-column {
	min-width: 0;
}

.hoker-tech-dimensions-column__title {
	margin: 0 0 3px;
	padding: 0 1px;
	font-size: 8px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8d1c2f;
}

.hoker-tech-dimensions--grouped .hoker-tech-dimensions-column__list.hoker-chair-technical-dimensions__table,
.hoker-tech-dimensions--grouped .hoker-tech-dimensions-column__list.hoker-bench-technical-dimensions__table {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin: 0;
	padding: 0;
	list-style: none;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-sizing: border-box;
	grid-template-columns: unset !important;
}

.hoker-tech-dimensions--grouped .hoker-chair-technical-dimensions__row,
.hoker-tech-dimensions--grouped .hoker-bench-technical-dimensions__row {
	gap: 4px;
}

.hoker-tech-dimensions--grouped .hoker-chair-technical-dimensions__arrow,
.hoker-tech-dimensions--grouped .hoker-bench-technical-dimensions__arrow {
	flex: 0 0 10px;
	width: 10px;
	height: 10px;
	margin-top: 1px;
}

.hoker-tech-dimensions--grouped .hoker-chair-technical-dimensions__body,
.hoker-tech-dimensions--grouped .hoker-bench-technical-dimensions__body {
	gap: 0;
}

.hoker-tech-dimensions--grouped .hoker-chair-technical-dimensions__key,
.hoker-tech-dimensions--grouped .hoker-bench-technical-dimensions__key {
	font-size: 7px;
	line-height: 1.15;
	letter-spacing: 0.03em;
	hyphens: auto;
	overflow-wrap: anywhere;
}

.hoker-tech-dimensions--grouped .hoker-chair-technical-dimensions__val,
.hoker-tech-dimensions--grouped .hoker-bench-technical-dimensions__val {
	font-size: 12px;
	line-height: 1.1;
	word-break: break-word;
}

@media (max-width: 480px) {
	.hoker-tech-dimensions-disclosure__summary {
		padding: 7px 8px;
		gap: 1px 6px;
	}

	.hoker-tech-dimensions-disclosure__hint {
		font-size: 9px;
	}

	.hoker-tech-dimensions--grouped .hoker-tech-dimensions-frame {
		padding: 7px 8px;
	}

	.hoker-tech-dimensions--grouped .hoker-tech-dimensions-layout {
		gap: 5px 6px;
	}

	.hoker-tech-dimensions-column__title {
		font-size: 7.5px;
		margin-bottom: 2px;
	}

	.hoker-tech-dimensions--grouped .hoker-chair-technical-dimensions__key,
	.hoker-tech-dimensions--grouped .hoker-bench-technical-dimensions__key {
		font-size: 6.5px;
	}

	.hoker-tech-dimensions--grouped .hoker-chair-technical-dimensions__val,
	.hoker-tech-dimensions--grouped .hoker-bench-technical-dimensions__val {
		font-size: 11px;
	}
}

@container (min-width: 481px) {
	.hoker-tech-dimensions--grouped .hoker-tech-dimensions-layout {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@container (min-width: 620px) {
	.hoker-tech-dimensions--grouped .hoker-tech-dimensions-layout {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 6px 10px;
	}

	.hoker-tech-dimensions-column__title {
		font-size: 9px;
		margin-bottom: 4px;
	}

	.hoker-tech-dimensions--grouped .hoker-chair-technical-dimensions__key,
	.hoker-tech-dimensions--grouped .hoker-bench-technical-dimensions__key {
		font-size: 8px;
	}

	.hoker-tech-dimensions--grouped .hoker-chair-technical-dimensions__val,
	.hoker-tech-dimensions--grouped .hoker-bench-technical-dimensions__val {
		font-size: 13px;
	}
}

@media (min-width: 769px) {
	.hoker-tech-dimensions-disclosure__summary {
		padding: 8px 12px;
	}

	.hoker-tech-dimensions-disclosure__hint {
		flex: 1 1 auto;
		font-size: 10px;
	}

	.hoker-tech-dimensions--grouped .hoker-tech-dimensions-frame {
		padding: 8px 12px;
	}
}
