/**
 * Garment drawings, in the customer's size guide and the Size Chart tab.
 *
 * The line work is the made-to-measure form's: a white garment, grey pieces,
 * light seams and dashed stitching. Measurements are in the shop's accent
 * colour, numbered to match the table's columns.
 */

.ef24sr-dia {
	--ef24sr-accent: #e2231a;
	margin: 14px 0 0;
	padding: 0;
}

.ef24sr-dia svg {
	display: block;
	width: 100%;
	max-width: 340px;
	height: auto;
	margin: 0 auto;
}

.ef24sr-dia .garment {
	fill: #fcfcfc;
	stroke: #111;
	stroke-width: 1.7;
	stroke-linejoin: round;
	stroke-linecap: round;
}

.ef24sr-dia .piece {
	fill: #f0f0f0;
	stroke: #111;
	stroke-width: 1.5;
	stroke-linejoin: round;
}

.ef24sr-dia .detail {
	fill: none;
	stroke: #b8b8b8;
	stroke-width: 1;
	stroke-linecap: round;
}

.ef24sr-dia .stitch {
	fill: none;
	stroke: #c6c6c6;
	stroke-width: .9;
	stroke-dasharray: 3 3;
	stroke-linecap: round;
}

.ef24sr-dia .m .ind {
	fill: none;
	stroke: var(--ef24sr-accent);
	stroke-width: 1.6;
	stroke-dasharray: 4 3;
}

.ef24sr-dia .m .tick {
	fill: none;
	stroke: var(--ef24sr-accent);
	stroke-width: 1.6;
}

.ef24sr-dia .m .lead {
	fill: none;
	stroke: var(--ef24sr-accent);
	stroke-width: .9;
}

.ef24sr-dia .m .badge {
	fill: var(--ef24sr-accent);
}

.ef24sr-dia .m .num {
	fill: #fff;
	font: 700 13px/1 -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	text-anchor: middle;
}

.ef24sr-dia__legend {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	font-size: 12.5px;
	line-height: 1.45;
}

.ef24sr-dia__legend li {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: 0 0 6px;
}

.ef24sr-dia__legend b {
	flex: 0 0 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--ef24sr-accent);
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.ef24sr-dia__legend strong {
	font-weight: 600;
	white-space: nowrap;
}

.ef24sr-dia__legend span {
	color: #6b6b6b;
}

/* two garments side by side: room to be read, and the line work kept at
   the weight of a single drawing */
.ef24sr-dia--wide svg {
	max-width: 600px;
}

.ef24sr-dia--wide .garment {
	stroke-width: 3;
}

.ef24sr-dia--wide .piece {
	stroke-width: 2.6;
}

.ef24sr-dia--wide .detail {
	stroke-width: 1.8;
}

.ef24sr-dia--wide .stitch {
	stroke-width: 1.7;
	stroke-dasharray: 5 5;
}

@media ( max-width: 480px ) {
	.ef24sr-dia svg {
		max-width: 280px;
	}

	.ef24sr-dia--wide svg {
		max-width: 100%;
	}
}
