/**
 * Footwear X-ray — scoped under .vz-x-ray
 */

.vz-x-ray {
	background-color: #fff;
	color: var(--color-text);
}

.vz-x-ray__inner {
	max-width: var(--content-max-width);
	margin-left: auto;
	margin-right: auto;
	padding: 3rem 1.5rem;
}

@media (min-width: 920px) {
	.vz-x-ray__inner {
		padding: 4.5rem 1.5rem;
	}
}

.vz-x-ray__card {
	display: grid;
	overflow: hidden;
	border-radius: var(--radius-card);
	border: 1px solid var(--color-border);
	background-color: var(--color-surface-2);
}

@media (min-width: 920px) {
	.vz-x-ray__card {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		min-height: 28rem;
	}

	.vz-x-ray__panel {
		border-top: 0;
		border-left: 1px solid var(--color-border);
	}
}

.vz-x-ray__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 20rem;
	padding: 3.5rem 1.5rem 4rem;
	background-color: var(--color-slate-eleva);
}

.vz-x-ray__visual--compare {
	padding: 0;
	align-items: stretch;
}

.vz-x-ray__visual--compare .vz-before-after {
	width: 100%;
	min-height: 20rem;
	border-radius: 0;
}

@media (min-width: 920px) {
	.vz-x-ray__visual--compare .vz-before-after {
		min-height: 100%;
	}
}

@media (min-width: 920px) {
	.vz-x-ray__visual {
		min-height: 100%;
		padding: 3rem 2rem;
	}
}

.vz-x-ray__image {
	display: block;
	width: 80%;
	height: auto;
	max-height: 15rem;
	object-fit: contain;
}

@media (min-width: 920px) {
	.vz-x-ray__image {
		width: 100%;
		max-height: 22rem;
	}
}

.vz-x-ray__callouts {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	list-style: none;
	pointer-events: none;
}

.vz-x-ray__callout {
	position: absolute;
	max-width: 9.5rem;
	padding: 0.5rem 0.85rem;
	border-radius: 0.75rem;
	background-color: var(--color-surface);
	border: 1px solid var(--color-border);
	box-shadow: var(--shadow-card);
	color: var(--color-text);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.25;
	text-align: center;
	text-wrap: balance;
	pointer-events: auto;
}

.vz-x-ray__callout:nth-child(1) {
	top: 11%;
	left: 6%;
}

@media (min-width: 920px) {
	.vz-x-ray__callout:nth-child(1) {
		top: 14%;
	}
}

.vz-x-ray__callout:nth-child(2) {
	bottom: 12%;
	left: 8%;
}

.vz-x-ray__callout:nth-child(3) {
	top: 28%;
	right: 6%;
	left: auto;
}

@media (min-width: 920px) {
	.vz-x-ray__callout:nth-child(3) {
		top: 42%;
	}
}

.vz-x-ray__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 1.75rem 1.5rem 2rem;
	background-color: var(--color-surface);
	color: var(--color-text);
	border-top: 1px solid var(--color-border);
}

@media (min-width: 920px) {
	.vz-x-ray__panel {
		padding: 2.5rem 2.25rem;
	}
}

.vz-x-ray__panel-title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.25rem, 2.2vw, 1.65rem);
	font-weight: var(--weight-heading);
	line-height: 1.2;
	letter-spacing: var(--tracking-heading);
}

.vz-x-ray__panel-body {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.9375rem;
	line-height: 1.55;
}

@media (min-width: 920px) {
	.vz-x-ray__panel-body {
		margin-bottom: 1.5rem;
	}
}

.vz-x-ray__steps {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vz-x-ray__step {
	display: flex;
	gap: 0.85rem;
	padding: 1rem 0;
	border-top: 1px solid var(--color-border);
}

.vz-x-ray__step:last-child {
	padding-bottom: 0;
}

.vz-x-ray__step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.85rem;
	height: 1.85rem;
	border: 1px solid var(--color-blue-eleva);
	color: var(--color-blue-eleva);
	border-radius: var(--radius-pill);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.vz-x-ray__step-title {
	margin: 0 0 0.25rem;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.3;
}

.vz-x-ray__step-text {
	margin: 0;
	color: var(--color-muted);
	font-size: 0.875rem;
	line-height: 1.5;
}
