.rl-prod-price-history {
	background: linear-gradient(180deg, var(--cat-soft) 0%, var(--rl-cream, #f9f7f2) 100%);
}

.rl-prod-price-history__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
	align-items: center;
}

.rl-prod-price-history__now {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
}

.rl-prod-price-history__amount {
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	color: #000;
}

.rl-prod-price-history__unit {
	color: rgba(0, 0, 0, 0.55);
	font-size: 0.85rem;
}

.rl-prod-price-history__chart {
	width: 100%;
	height: auto;
}

.rl-prod-price-history__line {
	stroke-dashoffset: 1;
	transition: stroke-dashoffset 1.6s ease-out;
}

.rl-prod-price-history__chart.is-revealed .rl-prod-price-history__line {
	stroke-dashoffset: 0;
}

.rl-prod-price-history__stats {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.rl-prod-price-history__stats li {
	padding: 0.75rem 1rem;
	background: #fff;
	border-radius: var(--rl-prod-radius-sm);
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	border: 1px solid rgba(0, 0, 0, 0.04);
}

.rl-prod-price-history__stats span {
	font-size: 0.72rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: rgba(0, 0, 0, 0.55);
}

.rl-prod-price-history__stats strong {
	font-size: 1.05rem;
}

@media (min-width: 900px) {

	.rl-prod-price-history__grid {
		grid-template-columns: 1fr 2fr;
		grid-template-rows: auto auto;
		grid-template-areas: "now chart" "stats stats";
	}

	.rl-prod-price-history__now {
		grid-area: now;
	}

	.rl-prod-price-history__chart {
		grid-area: chart;
		max-height: 200px;
	}

	.rl-prod-price-history__stats {
		grid-area: stats;
		max-width: 600px;
	}
}

@media (prefers-reduced-motion: reduce) {

	.rl-prod-price-history__line {
		stroke-dashoffset: 0;
		transition: none;
	}
}

.rl-prod-price-history__cta {
	text-align: center;
	padding: 2rem 1rem 0;
}

@media (min-width: 900px) {

	.rl-prod-price-history__grid {
		justify-items: center;
	}

	.rl-prod-price-history__stats {
		text-align: center;
	}

	.rl-prod-price-history__stats li {
		justify-content: center;
		flex-direction: column;
		align-items: center;
	}
}
