/* Loyalty World homepage. Everything is scoped under .lwhp so the theme's styles don't leak in or out. */
.lwhp {
	--lwhp-navy: #1A1540;
	--lwhp-gold: #FFC861;
	--lwhp-ink: #1B1A24;
	--lwhp-muted: #56536A;
	--lwhp-line: #E4E2EA;
	--lwhp-mist: #F6F5F8;
	--lwhp-paper: #FFFFFF;
	--lwhp-display: inherit;
	--lwhp-body: inherit;
	--lwhp-measure: 1272px;
	--lwhp-band: 64px;

	/* Full-bleed: break out of whatever container the theme's header opened. */
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: 0;
	background: var(--lwhp-paper);
	color: var(--lwhp-ink);
	font-family: var(--lwhp-body);
	font-size: 18px;
	line-height: 1.45;
	text-align: left;
}
.lwhp.lwhp--fonts {
	--lwhp-display: "Playfair Display", Georgia, "Times New Roman", serif;
	--lwhp-body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
	letter-spacing: .04em;
}
body.lwhp-front { overflow-x: clip; }

.lwhp *, .lwhp *::before, .lwhp *::after { box-sizing: border-box; }
.lwhp img { max-width: 100%; display: block; margin: 0; border-radius: 0; box-shadow: none; }
.lwhp a { color: inherit; text-decoration: none; box-shadow: none; }
.lwhp a:focus-visible, .lwhp button:focus-visible { outline: 2px solid var(--lwhp-gold); outline-offset: 3px; }
.lwhp h1, .lwhp h2, .lwhp h3 { font-family: var(--lwhp-display); letter-spacing: 0; text-wrap: balance; margin: 0; padding: 0; text-transform: none; }
.lwhp p { margin: 0; }
.lwhp ol, .lwhp ul { margin: 0; padding: 0; list-style: none; }

.lwhp-in { max-width: calc(var(--lwhp-measure) + 48px); margin-inline: auto; padding-inline: 24px; }
.lwhp-h2 { font-weight: 600; font-size: clamp(28px, 3vw, 36px); line-height: 1.3; color: var(--lwhp-navy); }
.lwhp-intro { margin-top: 12px !important; color: var(--lwhp-ink); max-width: 64ch; }
.lwhp-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 48px; }
.lwhp-caps { font: 500 13px var(--lwhp-body); letter-spacing: .1em; text-transform: uppercase; color: var(--lwhp-navy) !important; text-decoration: underline !important; text-underline-offset: 4px; white-space: nowrap; }

.lwhp-pill { display: inline-flex; align-items: center; gap: 8px; font: 500 14px var(--lwhp-body); letter-spacing: .1em; text-transform: uppercase; padding: 14px 26px; border-radius: 999px; background: var(--lwhp-navy); color: #fff !important; border: 1px solid var(--lwhp-navy); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.lwhp-pill:hover { background: #2B2560; }
.lwhp-pill--gold { background: var(--lwhp-gold); border-color: var(--lwhp-gold); color: var(--lwhp-navy) !important; }
.lwhp-pill--gold:hover { background: #FFD684; }
.lwhp-pill--light { background: transparent; color: #fff !important; border-color: rgb(255 255 255 / 70%); }
.lwhp-pill--light:hover { background: #fff; color: var(--lwhp-navy) !important; }

.lwhp-band { padding-block: var(--lwhp-band); }
.lwhp-band--mist { background: var(--lwhp-mist); border-block: 1px solid var(--lwhp-line); }
.lwhp-band--tight { padding-block: 0; margin-block: var(--lwhp-band); }

/* Hero */
.lwhp-hero { position: relative; min-height: clamp(460px, 42vw, 600px); display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--lwhp-navy); }
.lwhp-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.lwhp-slide.is-on { opacity: 1; }
.lwhp-slide img { width: 100%; height: 100%; max-width: none; object-fit: cover; }
.lwhp-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(26 21 64 / 82%) 0%, rgb(26 21 64 / 55%) 42%, rgb(26 21 64 / 5%) 78%); }
.lwhp-hero .lwhp-in { position: relative; z-index: 1; width: 100%; padding-block: 56px; }
.lwhp-kicker { font: 500 13px var(--lwhp-body); letter-spacing: .14em; text-transform: uppercase; color: var(--lwhp-gold); }
.lwhp-h1 { font-weight: 500; font-size: clamp(38px, 5vw, 64px); line-height: 1.08; margin: 16px 0 28px !important; max-width: 13em; color: #fff; }
.lwhp-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.lwhp-dots { position: absolute; z-index: 1; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; }
.lwhp-dots button { width: 9px; height: 9px; min-height: 0; border-radius: 50%; border: 0; padding: 0; margin: 0; background: rgb(255 255 255 / 55%); cursor: pointer; transition: width .3s ease; }
.lwhp-dots button[aria-current="true"] { background: #fff; width: 26px; border-radius: 6px; }

/* Categories */
.lwhp-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lwhp-cat { position: relative; aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; color: #fff !important; isolation: isolate; }
.lwhp-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -2; }
.lwhp-cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / 0%) 45%, rgb(14 12 36 / 78%) 100%); }
.lwhp-cat:hover img { transform: scale(1.04); }
.lwhp-cat__lab { position: absolute; left: 20px; right: 20px; bottom: 20px; display: grid; gap: 4px; }
.lwhp-cat h3 { font-weight: 600; font-size: 26px; line-height: 1.15; color: #fff; }
.lwhp-cat span { font-size: 15px; color: rgb(255 255 255 / 85%); font-variant-numeric: tabular-nums; }

/* Featured products */
.lwhp-promo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.lwhp-pc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 44%); background: var(--lwhp-paper); border-radius: 12px; overflow: hidden; box-shadow: 0 6px 24px rgb(26 21 64 / 10%); min-height: 240px; color: var(--lwhp-ink) !important; }
.lwhp-pc__t { padding: 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.lwhp-pc__eyebrow { font: 500 12px var(--lwhp-body); letter-spacing: .12em; text-transform: uppercase; color: var(--lwhp-muted); }
.lwhp-pc h3 { font-weight: 600; font-size: 22px; line-height: 1.25; color: var(--lwhp-navy); }
.lwhp-pc__price { margin-top: auto; font-size: 20px; font-weight: 600; color: var(--lwhp-ink); font-variant-numeric: tabular-nums lining-nums; }
.lwhp-pc__price del { font-weight: 400; font-size: 15px; color: var(--lwhp-muted); margin-right: 6px; }
.lwhp-pc__price ins { text-decoration: none; background: none; }
.lwhp-pc .lwhp-caps { align-self: flex-start; }
.lwhp-pc__img { position: relative; min-height: 100%; }
.lwhp-pc__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }

/* Steps */
.lwhp-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.lwhp-steps li { display: grid; gap: 8px; align-content: start; padding-top: 20px; border-top: 2px solid var(--lwhp-navy); min-width: 0; margin: 0; }
.lwhp-steps__num { font: italic 500 40px/1 var(--lwhp-display); color: var(--lwhp-navy); }
.lwhp-steps h3 { font-weight: 600; font-size: 21px; color: var(--lwhp-navy); }
.lwhp-steps p { font-size: 16px; color: var(--lwhp-muted); }

/* Refund banner */
.lwhp-banner { position: relative; border-radius: 12px; overflow: hidden; color: #fff; isolation: isolate; }
.lwhp-banner img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 60%; z-index: -2; }
.lwhp-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(26 21 64 / 85%) 0%, rgb(26 21 64 / 55%) 55%, rgb(26 21 64 / 10%) 100%); }
.lwhp-banner__in { padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; }
.lwhp-banner .lwhp-h2 { color: #fff; }
.lwhp-banner p { margin-top: 10px; max-width: 52ch; color: rgb(255 255 255 / 90%); }

/* Help */
.lwhp-help { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; }
.lwhp-mail { font-weight: 600; color: var(--lwhp-navy) !important; overflow-wrap: anywhere; }
.lwhp-mail:hover { text-decoration: underline !important; text-underline-offset: 4px; }

@media (max-width: 1080px) {
	.lwhp-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lwhp-promo { grid-template-columns: 1fr; }
	.lwhp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
}
@media (max-width: 600px) {
	.lwhp { --lwhp-band: 48px; font-size: 17px; }
	.lwhp-in { padding-inline: 16px; }
	.lwhp-hero { min-height: 520px; }
	.lwhp-hero::after { background: linear-gradient(180deg, rgb(26 21 64 / 40%) 0%, rgb(26 21 64 / 85%) 70%); }
	.lwhp-hero .lwhp-in { align-self: end; padding-block: 40px 64px; }
	.lwhp-cats { gap: 12px; }
	.lwhp-cat__lab { left: 14px; right: 14px; bottom: 14px; }
	.lwhp-cat h3 { font-size: 20px; }
	.lwhp-head { margin-bottom: 32px; }
	.lwhp-pc { grid-template-columns: minmax(0, 1fr) 38%; min-height: 200px; }
	.lwhp-pc__t { padding: 18px; }
	.lwhp-pc h3 { font-size: 19px; }
	.lwhp-steps { grid-template-columns: 1fr; }
	.lwhp-banner__in { padding: 28px 22px; }
	.lwhp-help { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.lwhp-slide, .lwhp-cat img, .lwhp-dots button { transition: none; }
}
