/*
 * Dress Size Converter — result layout only.
 *
 * The select, the size-card grid, the skeleton, the result actions and the
 * print sheet all live in st-core.css now, because the shoe converter needs
 * them too. Anything reusable that gets added here should move there.
 */

/* -------------------------------------------------------------- form -- */

.st-dresssize__fields {
	grid-template-columns: 1fr;
}

/* ------------------------------------------------------------ result -- */

.st-size-result {
	margin-top: 24px;
	padding: 24px 18px;
	background: var(--st-white);
	border: 1px solid var(--st-line);
	border-radius: var(--st-radius-lg);
	box-shadow: var(--st-shadow);
	animation: st-rise-size .32s ease both;
}

@keyframes st-rise-size {
	from { opacity: 0; transform: translateY(10px); }
	to   { opacity: 1; transform: none; }
}

.st-size-result__title {
	margin: 0;
	color: var(--st-wine);
	font-size: 30px;
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.01em;
}

.st-size-result__lede {
	margin: 10px 0 0;
	font-size: 17px;
	line-height: 1.55;
}

/* ------------------------------------------------------ starting size -- */

.st-size-input {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	margin-top: 20px;
	padding: 14px 16px;
	background: var(--st-cream);
	border-radius: var(--st-radius);
}

.st-size-input__label {
	width: 100%;
	color: var(--st-wine);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.st-size-input__value {
	color: var(--st-ink);
	font-size: 24px;
	font-weight: 800;
}

.st-size-input__name {
	color: var(--st-ink-soft);
	font-size: 15px;
}

.st-size-note {
	background: var(--st-sage-tint);
	border-left-color: var(--st-sage);
}

/* ------------------------------------------------------------ desktop -- */

@media (min-width: 768px) {
	.st-dresssize__fields {
		grid-template-columns: 1fr 1fr;
	}

	.st-size-result {
		padding: 32px 30px;
	}

	.st-size-result__title {
		font-size: 38px;
	}
}
