/* Size guide: restrained Monali colors and a table that fits small screens. */
.mwh-size-guide {
	--size-paper: #fcf9f5;
	--size-green: var(--monali-primary, #0b5e66);
	--size-ink: #383838;
	--size-muted: #69645e;
	--size-line: #e8e4de;
	--size-cream: #f3ece2;
	background: var(--size-paper);
	color: var(--size-ink);
	padding: 36px 0 64px;
}
.mwh-size-container {
	width: min(1320px, calc(100% - 80px));
	margin-inline: auto;
}
.mwh-size-heading {
	margin-bottom: 26px;
}
.mwh-size-heading .mwh-size-title {
	margin: 0;
	font-size: 30px;
	line-height: 1.5;
	color: #253b39;
}
.mwh-size-layout {
	display: grid;
	grid-template-areas: 'figure' 'table';
	gap: 24px;
	align-items: start;
}
.mwh-size-figure {
	grid-area: figure;
	min-width: 0;
	margin: 0;
	background: var(--size-cream);
	border-radius: 18px;
	overflow: hidden;
}
.mwh-size-reference {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	object-fit: contain;
}
.mwh-size-instructions {
	padding: 20px 22px;
	background: #fff;
}
.mwh-size-instructions dl {
	display: grid;
	gap: 16px;
	margin: 0;
}
.mwh-size-instructions dt {
	margin: 0 0 3px;
	color: var(--size-green);
	font-size: 14px;
	font-weight: 700;
}
.mwh-size-instructions dd {
	margin: 0;
	color: #5a5a5a;
	font-size: 13px;
	line-height: 1.95;
}
.mwh-size-table-section {
	grid-area: table;
	min-width: 0;
}
.mwh-size-table-unit {
	margin: 0 0 16px;
	color: var(--size-muted);
	font-size: 13px;
	line-height: 1.9;
}
.mwh-size-guide .mwh-size-faq-title {
	margin: 0;
	font-size: 20px;
	line-height: 1.7;
	font-weight: 700;
}
.mwh-size-table-surface {
	overflow-x: auto;
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 3px 18px rgb(0 0 0 / 3%);
}
.mwh-size-table {
	width: 100%;
	table-layout: fixed;
	min-inline-size: 275px;
	border-collapse: separate;
	border-spacing: 0;
	margin: 0;
	font-size: 14px;
	border: 0;
}
.mwh-size-table .size-col {
	width: 14%;
}
.mwh-size-table th,
.mwh-size-table td {
	padding: 11px 3px;
	text-align: center;
	vertical-align: middle;
	overflow-wrap: anywhere;
	border: 0;
	line-height: 1.7;
}
.mwh-size-table thead th {
	background: var(--size-green);
	color: var(--size-paper);
	font-size: 13px;
	font-weight: 400;
	padding-block: 15px;
}
.mwh-size-table tbody th {
	color: var(--size-green);
	font-weight: 700;
	background: #f3eee7;
}
.mwh-size-table tbody td {
	direction: ltr;
	unicode-bidi: isolate;
}
.mwh-size-table tbody tr:nth-child(even) td {
	background: #f8f6f2;
}
.mwh-size-faq {
	margin-top: 40px;
}
.mwh-size-faq > .mwh-size-faq-title {
	margin: 0 0 22px;
}
.mwh-size-faq-items {
	background: #fff;
	border-radius: 14px;
	padding: 0 22px;
}
.mwh-size-faq details + details {
	border-top: 1px solid var(--size-line);
}
.mwh-size-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 66px;
	padding: 16px 0;
	list-style: none;
	cursor: pointer;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.9;
}
.mwh-size-faq summary::-webkit-details-marker {
	display: none;
}
.mwh-size-faq summary:focus-visible {
	outline: 2px solid #69645e;
	outline-offset: 4px;
	border-radius: 3px;
}
.mwh-size-faq .plus {
	position: relative;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	color: var(--size-green);
}
.mwh-size-faq .plus::before,
.mwh-size-faq .plus::after {
	content: '';
	position: absolute;
	left: 3px;
	top: 8px;
	width: 12px;
	height: 1.5px;
	background: currentColor;
}
.mwh-size-faq .plus::after {
	transform: rotate(90deg);
	transition: transform 0.24s ease;
}
.mwh-size-faq details[open]:not(.is-closing) .plus::after {
	transform: rotate(0);
}
.mwh-size-answer {
	overflow: hidden;
}
.mwh-size-faq p {
	margin: 0;
	padding: 0 0 22px;
	font-size: 14px;
	line-height: 2.1;
	color: #5a5a5a;
	max-width: 940px;
}
@media (hover: hover) {
	.mwh-size-table tbody tr:hover td {
		background: #eceee9;
	}
	.mwh-size-faq summary:hover {
		color: var(--size-green);
	}
}
@media (min-width: 980px) {
	.mwh-size-layout {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
		grid-template-areas: 'table figure';
		gap: 36px;
	}
	.mwh-size-reference {
		max-height: 560px;
	}
	.mwh-size-table {
		font-size: 15px;
	}
	.mwh-size-table thead th {
		font-size: 14px;
	}
	.mwh-size-table th,
	.mwh-size-table td {
		padding: 12px 8px;
	}
}
@media (max-width: 767px) {
	.mwh-size-guide {
		padding: 24px 0;
	}
	.mwh-size-container {
		width: calc(100% - 32px);
	}
	.mwh-size-heading .mwh-size-title {
		font-size: 25px;
	}
	.mwh-size-guide .mwh-size-faq-title {
		font-size: 18px;
	}
	.mwh-size-table {
		font-size: 13px;
	}
	.mwh-size-table thead th {
		font-size: 12px;
	}
	.mwh-size-faq-items {
		padding-inline: 18px;
	}
	.mwh-size-faq summary {
		font-size: 14px;
	}
	.mwh-size-faq {
		margin-top: 32px;
	}
}
@media (max-width: 359px) {
	.mwh-size-container {
		width: calc(100% - 24px);
	}
	.mwh-size-table {
		font-size: 12px;
	}
	.mwh-size-table thead th {
		font-size: 11px;
	}
	.mwh-size-table th,
	.mwh-size-table td {
		padding-inline: 1px;
	}
	.mwh-size-instructions {
		padding: 18px 16px;
	}
	.mwh-size-faq-items {
		padding-inline: 14px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.mwh-size-faq .plus::after {
		transition: none;
	}
}

.mwh-size-guide .mwh-size-layout.is-single {
	grid-template-areas: 'content';
	grid-template-columns: minmax(0, 1fr);
}
.mwh-size-guide .is-single > * {
	grid-area: content;
}
.mwh-size-table-surface:focus-visible {
	outline: 2px solid var(--size-green);
	outline-offset: 3px;
}
.mwh-size-guide .mwh-size-caption {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
