/* gift.okto.it · visuel de la carte (tunnel, page de scan, PDF). Format carte bancaire (85,6 × 54), mis à l'échelle
   par les unités de conteneur : le même balisage sert à 300 px sur mobile comme à 170 mm dans le PDF. */

.okto-gift-visual-wrap {
	container-type: inline-size;
	width: 100%;
}

.okto-gift-visual {
	--ogc-fg: #fff;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	box-sizing: border-box;
	aspect-ratio: 85.6 / 54;
	width: 100%;
	padding: 6cqw 6.5cqw;
	overflow: hidden;
	border-radius: 4.5cqw;
	color: var(--ogc-fg);
	box-shadow: 0 1.5cqw 5cqw rgba(15, 23, 42, .22);
	font-family: inherit;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

.okto-gift-visual__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 3cqw;
}

.okto-gift-visual__logo {
	display: inline-flex;
	align-items: center;
	max-width: 42%;
	padding: 1.6cqw 2.4cqw;
	border-radius: 2.2cqw;
	background: rgba(255, 255, 255, .92);
}

.okto-gift-visual__logo img {
	display: block;
	max-width: 100%;
	max-height: 9cqw;
	width: auto;
	height: auto;
}

.okto-gift-visual__shop {
	font-size: 4.6cqw;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: .01em;
}

.okto-gift-visual__label {
	padding: 1.2cqw 2.6cqw;
	border: .3cqw solid currentColor;
	border-radius: 99px;
	font-size: 3.1cqw;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	white-space: nowrap;
	opacity: .95;
}

.okto-gift-visual__amount {
	font-size: 15cqw;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -.02em;
	text-shadow: 0 .4cqw 2cqw rgba(0, 0, 0, .12);
	overflow-wrap: anywhere;
}

.okto-gift-visual__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1cqw 4cqw;
	font-size: 3.8cqw;
	line-height: 1.25;
}

.okto-gift-visual__to {
	font-weight: 700;
}

.okto-gift-visual__from {
	opacity: .9;
}

.okto-gift-visual [hidden] {
	display: none !important;
}
