/* QRS-431: the /christmas/ landing page (page-christmas.php). Loaded on this page only.
   The site look: Inter, black text and buttons, a warm light grey wash and the gold accent of the site.
   Phones first; 600px, 768px, 900px and 1024px steps. Every control a finger uses is at least 44px high.
   The store CSS sets "* { font-family: inter, Courier New }" on every element, so the text elements here set
   their own fonts. */

body.qr-xmas-page {
	--qr-ink: #111;
	--qr-ink-soft: #3b3b3b;
	--qr-muted: #6f6f6f;
	--qr-line: #e4e1dc;
	--qr-wash: #f6f5f2;
	--qr-gold: #dcb02e;
	--qr-gold-ink: #8a6a12;
	--qr-gold-wash: #fbf4de;
	--qr-green: #1a7f37;
	--qr-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--qr-sticky-h: 72px;
}

body.qr-xmas-page .qr-xmas :is(h1, h2, h3, p, li, a, span, strong, summary) {
	font-family: var(--qr-sans);
}

/* Sizes include the padding (the theme default is content-box). */
.qr-xmas,
.qr-xmas *,
.qr-xmas *::before,
.qr-xmas *::after {
	box-sizing: border-box;
}

/* The theme's #content is a floated column with top padding. Here the sections are full width. */
body.qr-xmas-page #content.qr-xmas {
	float: none;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	color: var(--qr-ink-soft);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}

.qr-xmas h1,
.qr-xmas h2,
.qr-xmas h3 {
	color: var(--qr-ink);
	letter-spacing: -0.01em;
	text-transform: none;
}

.qr-xmas p {
	margin: 0;
}

.qr-xmas a {
	color: inherit;
}

.qr-xmas-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 20px;
}

.qr-xmas-section {
	padding: 48px 0;
}

.qr-xmas-heading {
	margin: 0 0 24px;
	font-size: 28px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
}

/* ---------- Buttons and the offer line ---------- */

.qr-xmas .qr-xmas-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 34px;
	border: 1px solid var(--qr-ink);
	border-radius: 999px;
	background: var(--qr-ink);
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.qr-xmas .qr-xmas-btn:hover,
.qr-xmas .qr-xmas-btn:focus-visible {
	background: #333;
	border-color: #333;
	color: #fff;
}

.qr-xmas :is(a, summary, button):focus-visible {
	outline: 2px solid var(--qr-ink);
	outline-offset: 3px;
}

.qr-xmas-offer strong {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 18px;
	text-wrap: balance;
	background: var(--qr-gold-wash);
	color: var(--qr-ink);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

/* ---------- Section 1: hero ---------- */

.qr-xmas-hero {
	background: linear-gradient(180deg, var(--qr-wash) 0%, #fff 100%);
}

.qr-xmas-hero__inner {
	max-width: 1180px;
	margin: 0 auto;
}

/* The box has the shape of the hero media (--qr-xmas-hero-ratio, width / height, from page-christmas.php: 16:9 for
   the qr-scan clip). Tall media is cut to a lower box, so the headline stays on the first phone screen. */
.qr-xmas-hero__media {
	position: relative;
	width: 100%;
	aspect-ratio: var(--qr-xmas-hero-ratio, 4 / 3);
	max-height: 44vh;
	max-height: 44svh;
	overflow: hidden;
	background: #ece9e4;
}

.qr-xmas-hero__video,
.qr-xmas-hero__media img.qr-xmas-hero__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
}

.qr-xmas-hero__text {
	padding: 24px 20px 36px;
	text-align: center;
}

.qr-xmas .qr-xmas-hero__title {
	margin: 0 0 12px;
	font-size: 31px;
	font-weight: 600;
	line-height: 1.12;
}

.qr-xmas-hero__lead {
	max-width: 34em;
	margin: 0 auto 18px !important;
	font-size: 16px;
	line-height: 1.55;
}

.qr-xmas-hero .qr-xmas-offer {
	margin-bottom: 18px;
}

.qr-xmas-hero__note {
	max-width: 30em;
	margin: 16px auto 0 !important;
	color: var(--qr-muted);
	font-size: 13.5px;
	line-height: 1.45;
}

@media (min-width: 900px) {
	.qr-xmas-hero__inner {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: center;
		gap: 56px;
		padding: 48px 32px 56px;
	}

	.qr-xmas-hero__media {
		order: 2;
		max-height: min(640px, calc(100vh - 220px));
		border-radius: 18px;
	}

	.qr-xmas-hero__text {
		padding: 0;
		text-align: left;
	}

	.qr-xmas .qr-xmas-hero__title {
		font-size: 50px;
	}

	.qr-xmas-hero__lead {
		margin-left: 0 !important;
		font-size: 18px;
	}

	.qr-xmas-hero__note {
		margin-left: 0 !important;
	}
}

/* ---------- Section 2: trust line ---------- */

.qr-xmas-trust {
	border-top: 1px solid var(--qr-line);
	border-bottom: 1px solid var(--qr-line);
	background: #fff;
}

.qr-xmas-trust__list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px 16px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 18px 20px;
	list-style: none;
}

.qr-xmas-trust__item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: #444;
	font-size: 13px;
	line-height: 1.35;
}

.qr-xmas-trust__icon {
	flex: 0 0 auto;
	color: var(--qr-green);
}

@media (min-width: 900px) {
	.qr-xmas-trust__list {
		grid-template-columns: repeat(4, minmax(0, auto));
		justify-content: space-between;
		gap: 16px 28px;
		padding: 20px 32px;
	}

	.qr-xmas-trust__item {
		font-size: 14px;
	}
}

/* ---------- Section 3: how it works ---------- */

.qr-xmas-steps__list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.qr-xmas-step {
	margin: 0;
	padding: 22px 22px 24px;
	border-radius: 16px;
	background: var(--qr-wash);
	font-size: 15.5px;
	line-height: 1.55;
}

.qr-xmas-step strong {
	display: block;
	margin-bottom: 6px;
	color: var(--qr-ink);
	font-size: 18px;
	font-weight: 600;
}

.qr-xmas-step a,
.qr-xmas-faq__answer a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

@media (min-width: 768px) {
	.qr-xmas-steps__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 20px;
	}
}

/* ---------- Section 4: choose your design ---------- */

.qr-xmas-designs {
	/* The theme header stays at the top of the screen; the grid heading must show under it. */
	scroll-margin-top: 110px;
	outline: none;
}

.qr-xmas-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.qr-xmas-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 32px 20px;
	}
}

@media (min-width: 1024px) {
	.qr-xmas-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 40px 28px;
	}
}

.qr-xmas-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	text-align: center;
}

.qr-xmas-card__media {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 14px;
	background: #f1f1f1;
}

.qr-xmas-card__media img.qr-xmas-card__image {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.qr-xmas-card__media:hover img.qr-xmas-card__image {
	transform: scale(1.03);
}

.qr-xmas .qr-xmas-card__name {
	margin: 12px 0 2px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.25;
}

.qr-xmas-card__name a {
	text-decoration: none;
}

.qr-xmas-card__colour {
	color: var(--qr-muted);
	font-size: 14px;
}

.qr-xmas-card__price {
	margin: 4px 0 12px !important;
	color: var(--qr-ink);
	font-size: 17px;
	font-weight: 600;
}

.qr-xmas-card__buy {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
	margin-top: auto;
}

/* The WooCommerce loop button, a bigger outline pill (the shop style). */
.qr-xmas .qr-xmas-card__buy .button.add_to_cart_button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	width: 100%;
	max-width: 220px;
	min-height: 44px;
	margin: 0;
	padding: 0 16px;
	border: 1px solid var(--qr-ink);
	border-radius: 999px;
	background: #fff;
	color: var(--qr-ink);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
	text-decoration: none;
}

.qr-xmas .qr-xmas-card__buy .button.add_to_cart_button:hover,
.qr-xmas .qr-xmas-card__buy .button.add_to_cart_button:focus-visible {
	background: var(--qr-ink);
	color: #fff;
}

.qr-xmas .qr-xmas-card__buy .button.loading {
	opacity: 0.6;
}

/* "View cart" after an add (WooCommerce). */
.qr-xmas .qr-xmas-card__buy .added_to_cart {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	color: var(--qr-ink-soft);
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.qr-xmas-designs__note {
	max-width: 640px;
	margin: 32px auto 0 !important;
	padding: 14px 20px;
	border-radius: 14px;
	background: var(--qr-gold-wash);
	color: var(--qr-ink);
	font-size: 15.5px;
	font-weight: 500;
	text-align: center;
}

/* ---------- Sections 5 and 6: made for giving, for someone you miss ---------- */

.qr-xmas-stories {
	padding-top: 8px;
}

.qr-xmas-stories__grid {
	display: grid;
	gap: 16px;
}

.qr-xmas-story {
	padding: 28px 24px 30px;
	border-radius: 18px;
	background: var(--qr-wash);
}

.qr-xmas-story__label {
	margin-bottom: 10px !important;
	color: var(--qr-gold-ink);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.qr-xmas .qr-xmas-story__title {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.2;
}

.qr-xmas-story__text {
	font-size: 16px;
	line-height: 1.6;
}

.qr-xmas-story--miss {
	background: #1b1916;
	color: rgba(255, 255, 255, 0.86);
}

.qr-xmas .qr-xmas-story--miss .qr-xmas-story__title {
	color: #fff;
}

.qr-xmas-story--miss .qr-xmas-story__label {
	color: var(--qr-gold);
}

@media (min-width: 768px) {
	.qr-xmas-stories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px;
	}

	.qr-xmas-story {
		padding: 40px 36px 42px;
	}

	.qr-xmas .qr-xmas-story__title {
		font-size: 28px;
	}
}

/* ---------- Section 7: Christmas delivery ---------- */

.qr-xmas-delivery {
	scroll-margin-top: 110px;
}

.qr-xmas-delivery__box {
	max-width: 820px;
}

.qr-xmas-delivery__box > * {
	margin-left: 0;
}

.qr-xmas-delivery .qr-xmas-heading {
	text-align: left;
	margin-bottom: 16px;
}

.qr-xmas-delivery__list {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid var(--qr-line);
}

.qr-xmas-delivery__list li {
	position: relative;
	margin: 0;
	padding: 14px 0 14px 26px;
	border-bottom: 1px solid var(--qr-line);
	color: var(--qr-ink-soft);
	font-size: 15.5px;
	line-height: 1.55;
}

.qr-xmas-delivery__list li::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 4px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--qr-gold);
}

.qr-xmas-delivery__note {
	margin-top: 14px !important;
	color: var(--qr-muted);
	font-size: 14px;
}

/* ---------- Section 8: FAQ ---------- */

.qr-xmas-faq {
	background: var(--qr-wash);
}

.qr-xmas-faq__wrap {
	max-width: 820px;
}

.qr-xmas-faq__list {
	border-top: 1px solid var(--qr-line);
}

.qr-xmas-faq__item {
	border-bottom: 1px solid var(--qr-line);
}

.qr-xmas .qr-xmas-faq__question {
	position: relative;
	display: block;
	min-height: 44px;
	padding: 18px 44px 18px 0;
	color: var(--qr-ink);
	font-size: 16.5px;
	font-weight: 600;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.qr-xmas-faq__question::-webkit-details-marker {
	display: none;
}

/* A plus that turns into a minus when the answer is open. */
.qr-xmas-faq__question::before,
.qr-xmas-faq__question::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 8px;
	width: 14px;
	height: 2px;
	margin-top: -1px;
	background: var(--qr-ink);
	transition: transform 0.2s ease;
}

.qr-xmas-faq__question::after {
	transform: rotate(90deg);
}

.qr-xmas-faq__item[open] .qr-xmas-faq__question::after {
	transform: rotate(0deg);
}

.qr-xmas-faq__answer {
	padding: 0 44px 20px 0;
	color: var(--qr-ink-soft);
	font-size: 15.5px;
	line-height: 1.6;
}

/* ---------- Section 9: closing ---------- */

.qr-xmas-closing {
	text-align: center;
}

.qr-xmas-closing .qr-xmas-offer {
	margin-bottom: 18px;
}

.qr-xmas-closing .qr-xmas-offer strong {
	font-size: 18px;
}

@media (min-width: 768px) {
	.qr-xmas-section {
		padding: 72px 0;
	}

	.qr-xmas-wrap {
		padding: 0 32px;
	}

	.qr-xmas-heading {
		margin-bottom: 36px;
		font-size: 36px;
	}

	.qr-xmas-stories {
		padding-top: 8px;
	}
}

/* ---------- The fixed phone button ---------- */

.qr-xmas-sticky {
	display: none;
}

@media (max-width: 768px) {
	body.qr-xmas-page {
		padding-bottom: calc(var(--qr-sticky-h) + env(safe-area-inset-bottom, 0px));
	}

	.qr-xmas-sticky {
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 90;
		display: block;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.08);
		transition: transform 0.25s ease, visibility 0.25s;
	}

	.qr-xmas-sticky .qr-xmas-btn {
		display: flex;
		width: 100%;
	}

	.qr-xmas-sticky.is-hidden {
		visibility: hidden;
		transform: translateY(110%);
	}

	/* The back-to-top circle sits above the fixed button. */
	body.qr-xmas-page #pagewrap .back-top.back-top-float {
		bottom: calc(var(--qr-sticky-h) + 16px + env(safe-area-inset-bottom, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.qr-xmas-sticky,
	.qr-xmas-card__media img.qr-xmas-card__image,
	.qr-xmas-faq__question::after {
		transition: none;
	}
}

/* ---------- The theme's slide-out cart (used on this page only) ----------
   christmas-page.js moves the panel from the header to <body>. It stays above the dark overlay of the phone
   drawer (z-index 100000 on phones), and the page does not slide to the left when it opens. */
body.qr-xmas-page #slide-cart {
	z-index: 100001;
	max-width: 100%;
}

body.qr-xmas-page.slide-cart-visible.sidemenu-right {
	left: 0;
}

body.qr-xmas-page #slide-cart #cart-icon-close {
	min-width: 44px;
	min-height: 44px;
}

/* ---------- No sign-up popup on this page ----------
   The Klaviyo popup, flyout, full-screen and banner forms and the "GET 10% OFF" teaser are hidden here. The
   Klaviyo script still runs (tracking). Klaviyo forms use the class kl-private-reset-css-…, teasers kl-teaser-…,
   embedded forms klaviyo-form-…. */
body.qr-xmas-page [class*="kl-private-reset-css"],
body.qr-xmas-page [class*="kl-teaser"],
body.qr-xmas-page [class^="klaviyo-form"],
body.qr-xmas-page [class*=" klaviyo-form"],
body.qr-xmas-page [aria-label="POPUP Form"],
body.qr-xmas-page [aria-label="FLYOUT Form"],
body.qr-xmas-page [aria-label="FULLSCREEN Form"],
body.qr-xmas-page [aria-label="BANNER Form"] {
	display: none !important;
}
