/**
 * Ulannii — the notification block on a product page.
 *
 * Loaded only on single products. Warm panel, the certificate photographed as
 * a document rather than dressed up as decoration: the red seal and the
 * handwriting are the whole argument, so they are shown at a size where both
 * can be made out.
 */

.u-paper {
	display: grid;
	grid-template-columns: 220px minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	margin: 46px 0;
	padding: 26px 30px;
	background: #fef3eb;
	border-radius: 16px;
}

.u-paper__shot {
	display: block;
	overflow: hidden;
	background: #fff;
	border: 1px solid #e8ded5;
	border-radius: 10px;
	box-shadow: 0 8px 20px rgba(60, 40, 20, 0.12);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.u-paper__shot:hover,
.u-paper__shot:focus-visible {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(60, 40, 20, 0.18);
}

/* Cropped to the head of the page, which is where the seal, the signature and
   the reference number are. The rest of the sheet is a blank form, and showing
   it whole would shrink the only part that matters to nothing. */
.u-paper__shot img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	object-position: top center;
}

.u-paper__text h2 {
	margin: 0 0 8px;
	font-size: 20px;
	font-weight: 800;
	color: #26303b;
}

.u-paper__text p {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.7;
	color: #6b5c50;
}

.u-paper dl {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 34px;
	margin: 0 0 20px;
}

.u-paper dt {
	margin: 0 0 3px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #a08a76;
}

.u-paper dd {
	margin: 0;
	font-size: 16.5px;
	font-weight: 800;
	color: #26303b;
	font-variant-numeric: tabular-nums;
}

.u-paper__open {
	display: inline-block;
	padding: 11px 22px;
	font-size: 14.5px;
	font-weight: 800;
	color: #fff;
	background: #e2650f;
	border-radius: 9px;
	text-decoration: none;
}

.u-paper__open:hover,
.u-paper__open:focus-visible {
	color: #fff;
	background: #c9560c;
}

@media (max-width: 921px) {

	.u-paper {
		grid-template-columns: 1fr;
		gap: 18px;
		margin: 32px 0;
		padding: 20px;
	}

	.u-paper__shot img {
		aspect-ratio: 2 / 1;
	}

	.u-paper__text h2 {
		font-size: 18px;
	}

}
