/**
 * Winter promo hero, [lunettes_promo_hero] (shortcodes/lunettes-promo-hero/)
 *
 * Fonts, both under the SIL Open Font License 1.1 (https://openfontlicense.org), taken
 * from the Twenty Twenty-Five theme:
 * - Literata, Copyright 2017 The Literata Project Authors (https://github.com/googlefonts/literata)
 * - Manrope, Copyright 2018 The Manrope Project Authors (https://github.com/sharanda/manrope)
 */

@font-face {
	font-family: "Lunettes Literata";
	src: url("../fonts/Literata72pt-Black.woff2") format("woff2");
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Lunettes Literata";
	src: url("../fonts/Literata72pt-SemiBoldItalic.woff2") format("woff2");
	font-weight: 600;
	font-style: italic;
	font-display: swap;
}

@font-face {
	font-family: "Lunettes Manrope";
	src: url("../fonts/Manrope-VariableFont_wght.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

.lunettes-promo-hero {
	--lph-ink: #13263c;
	--lph-text: #3d4c5e;
	--lph-red: #8a1214;
	--lph-red-deep: #5e0b0d;
	--lph-red-hi: #b51d22;
	--lph-gold: #c9a45c;
	--lph-gold-hi: #f0d9a3;
	--lph-cream: #fff7ec;
	--lph-frost: #c5d7e6;
	--lph-serif: "Lunettes Literata", Georgia, "Times New Roman", serif;
	--lph-sans: "Lunettes Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

	position: relative;
	isolation: isolate;
	overflow: hidden;
	font-family: var(--lph-sans);
	color: var(--lph-text);
	background:
		radial-gradient(ellipse 60% 70% at 72% 55%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
		linear-gradient(180deg, #d9e6f1 0%, #e9f1f7 46%, #f6f9fc 78%, #ffffff 100%);
}

.lunettes-promo-hero *,
.lunettes-promo-hero *::before,
.lunettes-promo-hero *::after {
	box-sizing: border-box;
}

.lph-defs {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}


/* ─── Sky: bokeh, flakes, falling snow, the ground ─────────────────────────── */

.lph-sky {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(circle at 63% 16%, rgba(255, 222, 160, 0.55) 0 10px, rgba(255, 222, 160, 0) 17px),
		radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.95) 0 22px, rgba(255, 255, 255, 0) 34px),
		radial-gradient(circle at 97% 46%, rgba(255, 214, 150, 0.4) 0 30px, rgba(255, 214, 150, 0) 48px),
		radial-gradient(circle at 54% 34%, rgba(255, 255, 255, 0.85) 0 7px, rgba(255, 255, 255, 0) 12px),
		radial-gradient(circle at 84% 30%, rgba(255, 230, 185, 0.5) 0 5px, rgba(255, 230, 185, 0) 9px),
		radial-gradient(circle at 46% 12%, rgba(255, 255, 255, 0.9) 0 14px, rgba(255, 255, 255, 0) 24px),
		radial-gradient(circle at 6% 88%, rgba(255, 226, 170, 0.35) 0 26px, rgba(255, 226, 170, 0) 42px),
		radial-gradient(circle at 30% 8%, rgba(255, 233, 196, 0.45) 0 4px, rgba(255, 233, 196, 0) 8px);
}

.lph-flake {
	position: absolute;
	color: var(--lph-frost);
	opacity: 0.55;
}

.lph-flake--a {
	width: 260px;
	height: 260px;
	left: -70px;
	top: -60px;
	transform: rotate(8deg);
	opacity: 0.4;
}

.lph-flake--b {
	width: 120px;
	height: 120px;
	left: 44%;
	bottom: 16%;
	transform: rotate(-12deg);
	opacity: 0.35;
}

.lph-flake--c {
	width: 190px;
	height: 190px;
	right: -40px;
	bottom: -10px;
	transform: rotate(22deg);
	opacity: 0.5;
}

.lph-snow {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	will-change: transform;
}

.lph-snow--near {
	top: -320px;
	background-size: 320px 320px;
	background-image:
		radial-gradient(circle at 24px 40px, #fff 0 2.4px, rgba(150, 180, 208, 0.35) 3px, transparent 3.8px),
		radial-gradient(circle at 132px 18px, #fff 0 1.8px, rgba(150, 180, 208, 0.3) 2.3px, transparent 3px),
		radial-gradient(circle at 250px 76px, #fff 0 2.6px, rgba(150, 180, 208, 0.35) 3.2px, transparent 4px),
		radial-gradient(circle at 76px 150px, #fff 0 1.6px, rgba(150, 180, 208, 0.3) 2.1px, transparent 2.8px),
		radial-gradient(circle at 196px 198px, #fff 0 2.2px, rgba(150, 180, 208, 0.35) 2.8px, transparent 3.5px),
		radial-gradient(circle at 300px 250px, #fff 0 1.7px, rgba(150, 180, 208, 0.3) 2.2px, transparent 2.9px),
		radial-gradient(circle at 40px 278px, #fff 0 2px, rgba(150, 180, 208, 0.3) 2.6px, transparent 3.3px),
		radial-gradient(circle at 150px 300px, #fff 0 1.5px, rgba(150, 180, 208, 0.3) 2px, transparent 2.6px);
	animation: lph-fall-near 16s linear infinite;
}

.lph-snow--far {
	top: -520px;
	background-size: 520px 520px;
	background-image:
		radial-gradient(circle at 90px 60px, rgba(255, 255, 255, 0.9) 0 3.5px, transparent 6px),
		radial-gradient(circle at 370px 140px, rgba(255, 255, 255, 0.85) 0 4.5px, transparent 7.5px),
		radial-gradient(circle at 220px 330px, rgba(255, 255, 255, 0.9) 0 3px, transparent 5.5px),
		radial-gradient(circle at 470px 430px, rgba(255, 255, 255, 0.85) 0 4px, transparent 7px),
		radial-gradient(circle at 30px 460px, rgba(255, 255, 255, 0.8) 0 3px, transparent 5.5px);
	animation: lph-fall-far 30s linear infinite;
	opacity: 0.9;
}

@keyframes lph-fall-near {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(-20px, 320px, 0); }
}

@keyframes lph-fall-far {
	from { transform: translate3d(0, 0, 0); }
	to { transform: translate3d(26px, 520px, 0); }
}

.lph-ground {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 120px;
}

.lph-ground__back {
	fill: #e4edf5;
}

.lph-ground__front {
	fill: #fff;
}


/* ─── Layout ──────────────────────────────────────────────────────────────── */

.lph-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	align-items: center;
	gap: 24px;
	max-width: 1170px;
	min-height: 440px;
	margin: 0 auto;
	padding: 48px 20px 40px;
}


/* ─── Copy ────────────────────────────────────────────────────────────────── */

.lph-copy > * {
	animation: lph-rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.lph-copy > :nth-child(2) { animation-delay: 0.08s; }
.lph-copy > :nth-child(3) { animation-delay: 0.16s; }
.lph-copy > :nth-child(4) { animation-delay: 0.24s; }

@keyframes lph-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: none; }
}

.lunettes-promo-hero .lph-eyebrow {
	display: flex;
	align-items: center;
	gap: 0.55em;
	margin: 0 0 18px;
	font-family: var(--lph-sans);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--lph-red);
}

.lph-eyebrow__flake {
	width: 18px;
	height: 18px;
	flex: none;
}

.lunettes-promo-hero .lph-title {
	margin: 0 0 20px;
	max-width: 11.5em;
	font-family: var(--lph-serif);
	font-size: clamp(36px, 2.2vw + 22px, 60px);
	font-weight: 900;
	line-height: 1.02;
	letter-spacing: -0.015em;
	text-transform: none;
	color: var(--lph-ink);
	text-wrap: balance;
}

.lunettes-promo-hero .lph-title em {
	display: block;
	font-style: italic;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--lph-red);
}

.lunettes-promo-hero .lph-text {
	max-width: 31em;
	margin: 0 0 28px;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.6;
	color: var(--lph-text);
}

.lunettes-promo-hero .lph-text strong {
	font-weight: 800;
	color: var(--lph-ink);
}

.lph-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
}

/* Doubled class: Elementor colours links with .elementor-element a:not(.button):not(.trigger). */
.lunettes-promo-hero .lph-actions a.lph-cta.lph-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 24px 15px 26px;
	border-radius: 6px;
	background: var(--lph-red);
	box-shadow: 0 10px 22px -10px rgba(94, 11, 13, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.16);
	font-family: var(--lph-sans);
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.01em;
	color: #fff;
	text-decoration: none;
	transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.lph-cta svg {
	width: 20px;
	height: 20px;
	transition: transform 0.2s ease;
}

.lunettes-promo-hero .lph-actions a.lph-cta.lph-cta:hover,
.lunettes-promo-hero .lph-actions a.lph-cta.lph-cta:focus-visible {
	background: var(--lph-red-deep);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 14px 26px -12px rgba(94, 11, 13, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.lph-cta:hover svg,
.lph-cta:focus-visible svg {
	transform: translateX(3px);
}

.lunettes-promo-hero .lph-actions a.lph-cta.lph-cta:focus-visible {
	outline: 3px solid var(--lph-gold);
	outline-offset: 3px;
}

.lunettes-promo-hero .lph-period {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 14px;
	font-weight: 700;
	color: var(--lph-ink);
	opacity: 0.78;
}

.lph-period svg {
	width: 18px;
	height: 18px;
	color: var(--lph-red);
}


/* ─── Visual: the box on snow, baubles and the gift tag ───────────────────── */

.lph-visual {
	position: relative;
	align-self: stretch;
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	min-height: 330px;
}

.lph-glow {
	position: absolute;
	right: -8%;
	bottom: 0;
	width: 100%;
	height: 86%;
	background: radial-gradient(ellipse at center, #fff 0 42%, rgba(255, 255, 255, 0) 70%);
}

/*
 * Sunk into the snow by a share of its own width, so it sits the same at every size.
 * A margin rather than a transform: a transform would isolate the box's multiply blend
 * from the sky behind it, and its white would show.
 */
.lph-boxwrap {
	--box: min(88%, 480px);
	position: relative;
	display: block;
	width: var(--box);
	margin: 0 -1% calc(var(--box) * -0.05) 0;
}

.lph-box {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	mix-blend-mode: multiply;
	animation: lph-rise 0.9s 0.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* A drift of snow over the foot of the box. */
.lph-boxwrap::after {
	content: "";
	position: absolute;
	left: -12%;
	right: -12%;
	bottom: -2%;
	height: 20%;
	border-radius: 50%;
	background: radial-gradient(ellipse at 50% 45%, #fff 0 44%, rgba(255, 255, 255, 0.8) 56%, rgba(255, 255, 255, 0) 71%);
	pointer-events: none;
}

/* Everything that hangs starts at the top of the hero; --drop is the string's length. */
.lph-hang {
	position: absolute;
	top: -48px;
	z-index: 2;
	font-size: 16px;
	animation: lph-drop 1.1s cubic-bezier(0.3, 1.35, 0.55, 1) both;
}

.lph-swing {
	position: relative;
	display: block;
	padding-top: var(--drop);
	transform-origin: 50% 0;
	animation: lph-sway var(--sway, 5.5s) ease-in-out infinite alternate;
}

.lph-swing::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 1.5px;
	height: calc(var(--drop) + var(--string-overlap, 0px));
	margin-left: -0.75px;
	background: linear-gradient(180deg, rgba(150, 120, 70, 0.35), var(--lph-gold));
	z-index: 1;
}

@keyframes lph-drop {
	from { opacity: 0; transform: translateY(-60px); }
	to { opacity: 1; transform: none; }
}

@keyframes lph-sway {
	from { transform: rotate(-2.6deg); }
	to { transform: rotate(2.2deg); }
}

.lph-hang--silver {
	right: -7%;
	--drop: 96px;
	--sway: 4.6s;
	animation-delay: 0.15s;
}

.lph-hang--red {
	right: 11%;
	--drop: 34px;
	--sway: 6.2s;
	animation-delay: 0.3s;
}

.lph-hang--tag {
	left: 1%;
	--drop: 74px;
	--sway: 5.4s;
	--string-overlap: 1.35em;
	animation-delay: 0.45s;
	filter: drop-shadow(0 16px 18px rgba(70, 12, 14, 0.28)) drop-shadow(0 2px 3px rgba(70, 12, 14, 0.25));
}

.lph-bauble {
	position: relative;
	display: block;
	width: var(--size, 48px);
	height: var(--size, 48px);
	margin-top: 8px;
	border-radius: 50%;
	box-shadow: 0 10px 18px -8px rgba(19, 38, 60, 0.45);
}

.lph-bauble::before {
	content: "";
	position: absolute;
	left: 50%;
	top: -8px;
	width: 34%;
	height: 10px;
	transform: translateX(-50%);
	border-radius: 2px 2px 1px 1px;
	background: linear-gradient(90deg, #8c6a2c, var(--lph-gold-hi) 45%, #a9843f);
}

.lph-hang--silver .lph-bauble {
	--size: 50px;
	background: radial-gradient(circle at 34% 30%, #fff 0 5%, #eef2f6 16%, #b6c3cf 52%, #74859a 100%);
}

.lph-hang--red .lph-bauble {
	--size: 32px;
	background: radial-gradient(circle at 34% 30%, #ffd9d6 0 5%, #d8383e 18%, var(--lph-red) 55%, var(--lph-red-deep) 100%);
}

/* The tag: corners cut at the top, an eyelet, a stitched edge. */
.lunettes-promo-hero .lph-tag {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	width: 10.25em;
	height: 13.5em;
	margin: 0;
	padding: 0 0.6em 1.5em;
	text-align: center;
	color: var(--lph-cream);
	background:
		linear-gradient(115deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.12) 42%, rgba(255, 255, 255, 0) 54%),
		linear-gradient(165deg, var(--lph-red-hi) 0%, var(--lph-red) 46%, var(--lph-red-deep) 100%);
	clip-path: polygon(24% 0, 76% 0, 100% 17%, 100% 100%, 0 100%, 0 17%);
	-webkit-mask: radial-gradient(circle at 50% 1.35em, transparent 0.42em, #000 0.46em);
	mask: radial-gradient(circle at 50% 1.35em, transparent 0.42em, #000 0.46em);
}

/* Eyelet */
.lph-tag::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 1.35em;
	width: 1.3em;
	height: 1.3em;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	border: 0.22em solid var(--lph-gold);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5);
}

/* Stitching */
.lph-tag::after {
	content: "";
	position: absolute;
	inset: 3.05em 0.55em 0.55em;
	border: 1.5px dashed rgba(255, 239, 214, 0.42);
	border-radius: 3px;
	pointer-events: none;
}

.lph-tag__kicker,
.lph-tag__free {
	display: block;
	font-family: var(--lph-sans);
	font-weight: 800;
	text-transform: uppercase;
	line-height: 1;
}

.lph-tag__kicker {
	font-size: 0.82em;
	letter-spacing: 0.34em;
	margin-right: -0.34em;
	color: var(--lph-gold-hi);
}

.lph-tag__offer {
	display: block;
	margin: 0.08em 0 0.06em;
	font-family: var(--lph-serif);
	font-size: 4.9em;
	font-weight: 900;
	line-height: 1;
	letter-spacing: -0.03em;
	color: #fff;
	text-shadow: 0 2px 0 rgba(60, 6, 8, 0.35);
}

.lph-tag__plus {
	display: inline-block;
	margin: 0 0.02em;
	font-size: 0.62em;
	vertical-align: 0.32em;
	color: var(--lph-gold-hi);
}

.lph-tag__free {
	font-size: 1.02em;
	letter-spacing: 0.26em;
	margin-right: -0.26em;
}


/* ─── Small print and the editors' note ──────────────────────────────────── */

.lph-terms {
	position: relative;
	background: #fff;
	border-top: 1px solid rgba(19, 38, 60, 0.07);
}

.lunettes-promo-hero .lph-terms p {
	max-width: 1170px;
	margin: 0 auto;
	padding: 10px 20px 12px;
	font-size: 11.5px;
	line-height: 1.5;
	color: #5c6977;
}

.lunettes-promo-hero .lph-terms p a:not(.button) {
	color: inherit;
}

.lunettes-promo-hero .lph-preview {
	position: absolute;
	top: 12px;
	left: 50%;
	z-index: 5;
	transform: translateX(-50%);
	margin: 0;
	padding: 6px 12px;
	border-radius: 4px;
	background: var(--lph-ink);
	font-size: 12px;
	font-weight: 700;
	color: #fff;
	white-space: nowrap;
}


/* ─── Smaller screens ─────────────────────────────────────────────────────── */

@media (max-width: 1099px) {
	.lph-inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
		min-height: 400px;
	}

	.lph-hang--tag {
		font-size: 14px;
		left: 0;
	}

	.lph-hang--silver {
		right: -4%;
	}
}

@media (max-width: 767px) {
	.lph-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
		min-height: 0;
		padding: 0 20px 34px;
	}

	.lph-visual {
		order: -1;
		min-height: 250px;
		margin: 0 -20px;
	}

	.lph-boxwrap {
		--box: min(72%, 340px);
		margin-right: 4%;
	}

	.lph-hang {
		top: 0;
	}

	.lph-hang--tag {
		font-size: 11px;
		left: 5%;
		--drop: 22px;
	}

	.lph-hang--silver {
		right: 3%;
		--drop: 18px;
	}

	.lph-hang--silver .lph-bauble {
		--size: 36px;
	}

	.lph-hang--red {
		display: none;
	}

	.lph-flake--a {
		width: 160px;
		height: 160px;
		left: -50px;
		top: auto;
		bottom: 34%;
	}

	.lph-flake--b {
		display: none;
	}

	/* The bokeh stays in the sky above the box, out of the text. */
	.lph-sky {
		background:
			radial-gradient(circle at 58% 9%, rgba(255, 222, 160, 0.55) 0 7px, rgba(255, 222, 160, 0) 12px),
			radial-gradient(circle at 70% 4%, rgba(255, 255, 255, 0.95) 0 16px, rgba(255, 255, 255, 0) 26px),
			radial-gradient(circle at 44% 16%, rgba(255, 255, 255, 0.85) 0 6px, rgba(255, 255, 255, 0) 10px),
			radial-gradient(circle at 96% 24%, rgba(255, 214, 150, 0.4) 0 18px, rgba(255, 214, 150, 0) 30px);
	}

	.lph-ground {
		top: 186px;
		bottom: auto;
		height: 80px;
	}

	.lunettes-promo-hero {
		background:
			radial-gradient(ellipse 70% 30% at 50% 22%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
			linear-gradient(180deg, #d9e6f1 0%, #ebf2f8 150px, #fff 260px, #fff 100%);
	}

	.lph-glow {
		height: 100%;
	}

	.lunettes-promo-hero .lph-eyebrow {
		margin-bottom: 12px;
		font-size: 12px;
	}

	.lunettes-promo-hero .lph-title {
		margin-bottom: 14px;
	}

	.lunettes-promo-hero .lph-text {
		margin-bottom: 22px;
		font-size: 16px;
	}

	.lunettes-promo-hero .lph-preview {
		white-space: normal;
		width: max-content;
		max-width: 90%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lunettes-promo-hero *,
	.lunettes-promo-hero *::before {
		animation: none !important;
		transition: none !important;
	}

	.lph-snow {
		display: none;
	}
}
