/* Native Offers: sales page. Colours can be changed by overriding the --nof-* variables in your theme. */

body.nof-sales-page {
	overflow-x: clip;
}

.nof-page,
.nof-part {
	--nof-dark: #0b1a14;
	--nof-dark-2: #0b2924;
	--nof-accent: #3edda6;
	--nof-on-accent: #062015;
	--nof-green: #1b8f63;
	--nof-heading: #0e1210;
	--nof-text: #4d5753;
	--nof-muted: #59645f;
	--nof-light: #f4f5f2;
	--nof-line: #e4e7e2;
	--nof-on-dark: #e3e8e5;
	--nof-radius: 20px;
	--nof-max: 1200px;
	--nof-header-offset: 0px;
	color: var(--nof-text);
	line-height: 1.6;
}

body.nof-sales-page.nof-header-transparent .nof-page {
	--nof-header-offset: inherit;
}

.nof-page *,
.nof-page *::before,
.nof-page *::after,
.nof-part *,
.nof-part *::before,
.nof-part *::after {
	box-sizing: border-box;
}

.nof-wrap {
	width: 100%;
	max-width: var(--nof-max);
	margin-inline: auto;
	padding-inline: clamp(16px, 4vw, 32px);
}

.nof-full {
	position: relative;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	margin-left: -50vw;
}

.nof-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Top section */

.nof-hero {
	isolation: isolate;
	overflow: hidden;
	padding-top: calc(var(--nof-header-offset) + clamp(40px, 7vw, 96px));
	padding-bottom: clamp(40px, 7vw, 96px);
	color: #fff;
	background: radial-gradient(120% 90% at 85% 0%, rgba(62, 221, 166, 0.18) 0%, rgba(62, 221, 166, 0) 55%), linear-gradient(160deg, var(--nof-dark-2) 0%, var(--nof-dark) 70%);
}

.nof-hero__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.nof-hero--image::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(90deg, rgba(6, 18, 13, 0.92) 0%, rgba(6, 18, 13, 0.78) 45%, rgba(6, 18, 13, 0.45) 100%), linear-gradient(0deg, rgba(6, 18, 13, 0.55) 0%, rgba(6, 18, 13, 0) 40%);
}

.nof-hero__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
	gap: clamp(32px, 5vw, 72px);
	align-items: center;
}

.nof-hero__labels {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 10px;
	align-items: center;
	margin-bottom: 20px;
}

.nof-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: 999px;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.02em;
	color: var(--nof-on-accent);
	background: var(--nof-accent);
}

.nof-pill--live::before,
.nof-pill--ending_soon::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.nof-pill--ending_soon {
	color: #3d1d00;
	background: #ffc078;
}

.nof-pill--upcoming {
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.nof-pill--sold_out,
.nof-pill--ended {
	color: #fff;
	background: #6b7570;
}

.nof-pill--badge {
	color: #fff;
	background: transparent;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.nof-hero__term {
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--nof-on-dark);
	text-decoration: none;
}

a.nof-hero__term:hover,
a.nof-hero__term:focus-visible {
	color: #fff;
	text-decoration: underline;
}

.nof-hero__title {
	margin: 0;
	font-size: clamp(2.125rem, 4.6vw, 3.75rem);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.025em;
	color: #fff;
	text-wrap: balance;
}

.nof-hero__pitch {
	max-width: 40ch;
	margin: 20px 0 0;
	font-size: clamp(1.0625rem, 1.6vw, 1.3125rem);
	line-height: 1.55;
	color: var(--nof-on-dark);
}

/* Offer card */

.nof-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: clamp(22px, 3vw, 32px);
	border-radius: var(--nof-radius);
	color: var(--nof-text);
	background: #fff;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.45);
}

.nof-price p {
	margin: 0;
}

.nof-price__now {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	font-size: clamp(2.125rem, 3.4vw, 2.75rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--nof-heading);
	font-variant-numeric: tabular-nums;
}

.nof-price__note {
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--nof-muted);
}

.nof-price__was {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-top: 8px !important;
	color: var(--nof-muted);
}

.nof-price__save {
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 0.875rem;
	font-weight: 700;
	color: #0b5c40;
	background: rgba(62, 221, 166, 0.2);
}

/* Countdown */

.nof-countdown p {
	margin: 0;
}

.nof-countdown__label {
	margin-bottom: 8px !important;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nof-muted);
}

.nof-countdown__units {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 8px;
}

.nof-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 10px 4px 8px;
	border-radius: 12px;
	background: var(--nof-light);
}

.nof-countdown__num {
	font-size: 1.625rem;
	font-weight: 800;
	line-height: 1.1;
	color: var(--nof-heading);
	font-variant-numeric: tabular-nums;
}

.nof-countdown__name {
	font-size: 0.75rem;
	color: var(--nof-muted);
}

.nof-countdown__date {
	margin-top: 8px !important;
	font-size: 0.875rem;
	color: var(--nof-muted);
}

.nof-countdown--none {
	margin: 0;
	font-size: 0.875rem;
	color: var(--nof-muted);
}

.nof-countdown.is-done .nof-countdown__units {
	display: none;
}

/* Slots */

.nof-slots__text {
	margin: 0 0 8px;
	font-weight: 700;
	color: var(--nof-heading);
}

.nof-slots__bar {
	height: 8px;
	overflow: hidden;
	border-radius: 999px;
	background: var(--nof-line);
}

.nof-slots__bar span {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--nof-green);
}

.nof-slots--low .nof-slots__text {
	color: #a8360b;
}

.nof-slots--low .nof-slots__bar span {
	background: #e8590c;
}

/* Buttons */

.nof-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nof-button,
:is(.nof-page, .nof-part) a.nof-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	margin: 0;
	padding: 14px 26px;
	border: 0;
	border-radius: 999px;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

:is(.nof-page, .nof-part) a.nof-button--primary,
.nof-button--primary {
	color: var(--nof-on-accent);
	background: var(--nof-accent);
	box-shadow: 0 10px 24px -12px rgba(27, 143, 99, 0.9);
}

:is(.nof-page, .nof-part) a.nof-button--primary:hover {
	color: var(--nof-on-accent);
	background: #5be6b5;
	transform: translateY(-1px);
}

:is(.nof-page, .nof-part) a.nof-button--ghost {
	color: var(--nof-heading);
	background: transparent;
	box-shadow: inset 0 0 0 1.5px var(--nof-line);
}

:is(.nof-page, .nof-part) a.nof-button--ghost:hover {
	color: var(--nof-heading);
	box-shadow: inset 0 0 0 1.5px var(--nof-heading);
}

.nof-button--disabled {
	color: var(--nof-muted);
	background: var(--nof-light);
	box-shadow: inset 0 0 0 1px var(--nof-line);
	cursor: default;
}

:is(.nof-page, .nof-part) a.nof-button:focus-visible,
:is(.nof-page, .nof-part) a.nof-hero__term:focus-visible {
	outline: 3px solid var(--nof-accent);
	outline-offset: 3px;
}

.nof-card a.nof-button:focus-visible,
.nof-sticky a.nof-button:focus-visible {
	outline-color: var(--nof-green);
}

/* Notices */

.nof-notice {
	padding: 14px 16px;
	border-radius: 12px;
	background: var(--nof-light);
	box-shadow: inset 4px 0 0 var(--nof-muted);
}

.nof-notice p {
	margin: 0;
}

.nof-notice__title {
	font-weight: 700;
	color: var(--nof-heading);
}

.nof-notice__text {
	margin-top: 4px !important;
	font-size: 0.9375rem;
}

.nof-notice--upcoming {
	box-shadow: inset 4px 0 0 var(--nof-green);
}

.nof-page--content > .nof-wrap {
	padding-block: 24px;
}

.nof-preview {
	position: fixed;
	right: auto;
	bottom: 16px;
	left: 16px;
	z-index: 100000;
	max-width: min(440px, calc(100vw - 32px));
	margin: 0;
	padding: 12px 16px;
	border-radius: 12px;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.45;
	color: #4a3700;
	background: #fff3c4;
	box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4);
}

/* Body */

.nof-body {
	display: grid;
	gap: clamp(48px, 6vw, 80px);
	padding-block: clamp(48px, 7vw, 96px);
}

.nof-section__title {
	margin: 0 0 20px;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.015em;
	color: var(--nof-heading);
}

.nof-about .nof-content {
	max-width: 72ch;
	font-size: 1.0625rem;
}

.nof-about .nof-content :where(p, li):not([class*="-font-size"]),
.nof-terms__list li {
	font-size: 1.0625rem;
	line-height: 1.65;
}

.nof-about .nof-content > :first-child {
	margin-top: 0;
}

.nof-facts__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
	margin: 0;
}

.nof-facts__item {
	padding: 20px 22px;
	border-radius: 16px;
	background: var(--nof-light);
}

.nof-facts__item dt {
	margin: 0 0 6px;
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--nof-muted);
}

.nof-facts__item dd {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--nof-heading);
}

.nof-terms__list {
	display: grid;
	gap: 12px;
	max-width: 72ch;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nof-terms__list li {
	position: relative;
	margin: 0;
	padding-left: 30px;
}

.nof-terms__list li::before {
	content: "";
	position: absolute;
	top: 0.35em;
	left: 0;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: rgba(62, 221, 166, 0.25) radial-gradient(circle, var(--nof-green) 0 3px, transparent 3.5px);
}

/* Closing call to action */

.nof-cta {
	padding-block: clamp(48px, 7vw, 88px);
	color: var(--nof-on-dark);
	background: radial-gradient(80% 120% at 0% 100%, rgba(62, 221, 166, 0.16) 0%, rgba(62, 221, 166, 0) 60%), var(--nof-dark);
}

.nof-cta__inner {
	display: flex;
	flex-wrap: wrap;
	gap: 28px 48px;
	align-items: center;
	justify-content: space-between;
}

.nof-cta__text {
	flex: 1 1 420px;
}

.nof-cta__title {
	margin: 0;
	font-size: clamp(1.75rem, 3.2vw, 2.5rem);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #fff;
	text-wrap: balance;
}

.nof-cta__meta {
	margin: 12px 0 0;
}

.nof-cta__side {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
}

.nof-cta__price {
	margin: 0;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 800;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.nof-cta .nof-actions {
	flex-direction: row;
}

.nof-cta .nof-button--disabled {
	color: var(--nof-on-dark);
	background: rgba(255, 255, 255, 0.08);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

/* Own content (Elementor or the block editor) */

.nof-content--own > :first-child {
	margin-top: 0;
}

.nof-page--hero .nof-content--own:not(:empty) {
	padding-block: clamp(32px, 5vw, 64px);
}

.nof-page--hero .nof-content--own .elementor {
	margin-block: calc(-1 * clamp(32px, 5vw, 64px));
}

/* Phone claim bar */

.nof-sticky {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 9990;
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
	background: #fff;
	box-shadow: 0 -10px 30px -12px rgba(0, 0, 0, 0.35);
	transform: translateY(0);
	transition: transform 0.2s ease;
}

.nof-sticky[hidden] {
	display: none;
}

.nof-sticky.is-away {
	transform: translateY(110%);
}

.nof-sticky__price {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.nof-sticky__now {
	font-size: 1.25rem;
	font-weight: 800;
	color: var(--nof-heading);
}

.nof-sticky__was {
	font-size: 0.8125rem;
	color: var(--nof-muted);
}

.nof-sticky .nof-button {
	min-height: 46px;
	padding: 10px 20px;
}

@media (min-width: 782px) {
	.nof-sticky {
		display: none !important;
	}
}

@media (max-width: 900px) {
	.nof-hero__inner {
		grid-template-columns: minmax(0, 1fr);
	}

	.nof-hero--image::before {
		background: linear-gradient(180deg, rgba(6, 18, 13, 0.7) 0%, rgba(6, 18, 13, 0.92) 70%);
	}
}

@media (max-width: 480px) {
	.nof-countdown__num {
		font-size: 1.375rem;
	}

	.nof-cta .nof-actions,
	.nof-cta__side {
		width: 100%;
	}

	.nof-cta .nof-actions {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nof-button,
	.nof-sticky {
		transition: none;
	}

	:is(.nof-page, .nof-part) a.nof-button--primary:hover {
		transform: none;
	}
}

@media (max-width: 781px) {
	body.nof-has-sticky {
		padding-bottom: 76px;
	}
}

/* Offer parts placed anywhere: shortcodes and Elementor widgets */

.nof-part {
	margin: 0 0 1em;
}

.nof-part--button .nof-actions {
	flex-direction: row;
	flex-wrap: wrap;
}

.nof-part--button.is-full .nof-actions {
	flex-direction: column;
}

.nof-part--button.is-full a.nof-button {
	width: 100%;
}

.nof-part--countdown .nof-countdown {
	max-width: 420px;
}

.nof-part--dark {
	--nof-heading: #fff;
	--nof-text: #e3e8e5;
	--nof-muted: #c4cdc8;
	--nof-light: rgba(255, 255, 255, 0.1);
	--nof-line: rgba(255, 255, 255, 0.25);
}

.nof-part--dark .nof-price__save {
	color: var(--nof-on-accent);
	background: var(--nof-accent);
}

.nof-part--dark .nof-slots--low .nof-slots__text {
	color: #ffc078;
}

.nof-part--dark .nof-notice {
	box-shadow: inset 4px 0 0 var(--nof-accent);
}

.nof-part--dark :is(.nof-page, .nof-part) a.nof-button--ghost,
.nof-part--dark a.nof-button--ghost {
	color: #fff;
}

.nof-part-missing {
	padding: 12px 14px;
	border: 1px dashed #c3c4c7;
	border-radius: 8px;
	font-size: 14px;
	color: #50575e;
}
