/* =========================================================================
   La Vela — Gift Landing template (template-gift-landing.php)
   Loaded only on pages using that template. Mobile-first.
   Colours and type follow the La Vela brand kit.
   ========================================================================= */

.lvg {
	--lvg-gold: #B8976A;
	--lvg-gold-soft: #C9A96E;
	--lvg-charcoal: #1E1E1E;
	--lvg-black: #111111;
	--lvg-cream: #F7F3EE;
	--lvg-sand: #C5B9A8;
	--lvg-linen: #E8E0D4;
	--lvg-white: #FFFFFF;
	--lvg-earth: #6B5E53;
	/* Follow the theme's fonts so headings match the rest of the site. */
	--lvg-serif: var(--font-display, 'Cormorant Garamond', Georgia, serif);
	--lvg-sans: var(--font-body, 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif);
	--lvg-radius: 4px;
}

/* ---------- Template-wide overrides (body classes added by the template) ---------- */

/* Paid visitors see content immediately: no loader on gift pages. */
body.lvg-page #page-loader {
	display: none !important;
}

/* The theme's "Book Now" bar sends gift buyers to bookings; replace it with ours. */
body.lvg-page .mobile-book {
	display: none !important;
}

/* Ad page: logo only, no menu, no footer link grid. */
body.lvg-ad .nav-links,
body.lvg-ad .nav-toggle,
body.lvg-ad #mobileNav,
body.lvg-ad .footer-grid {
	display: none !important;
}

/* ---------- Shared bits ---------- */

.lvg h1 em,
.lvg h2 em {
	font-style: italic;
}

.lvg .lvg-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 40px;
}

.lvg .lvg-head h2 {
	margin-bottom: 0;
}

.lvg .lvg-intro {
	margin-top: 16px;
	color: var(--lvg-earth);
	font-size: 16px;
	line-height: 1.7;
}

.lvg .lvg-stars {
	color: var(--lvg-gold-soft);
	letter-spacing: 0.12em;
}

.lvg .lvg-text-link {
	display: inline-block;
	font-family: var(--lvg-sans);
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--lvg-charcoal);
	text-decoration: none;
	border-bottom: 1px solid var(--lvg-gold);
	padding-bottom: 4px;
}

.lvg .lvg-text-link:hover,
.lvg .lvg-text-link:focus-visible {
	color: var(--lvg-gold);
}

.lvg a:focus-visible,
.lvg button:focus-visible,
.lvg summary:focus-visible {
	outline: 2px solid var(--lvg-gold);
	outline-offset: 3px;
}

/* ---------- Hero ---------- */

.lvg .lvg-hero .hero-inner {
	text-align: center;
}

.lvg .lvg-hero-eyebrow {
	justify-content: center;
	color: var(--lvg-gold-soft);
}

.lvg .lvg-hero-h1 {
	color: var(--lvg-white);
}

.lvg .lvg-hero-sub {
	color: rgba(255, 255, 255, 0.78);
	max-width: 560px;
	margin: 16px auto 0;
	font-size: 16px;
	line-height: 1.7;
}

.lvg .lvg-hero-proof {
	margin-top: 20px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 10px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.8);
}

.lvg .lvg-hero-proof-note {
	width: 100%;
	color: rgba(255, 255, 255, 0.6);
}

/* ---------- Christmas / offer strip ---------- */

.lvg .lvg-strip {
	background: var(--lvg-charcoal);
	color: var(--lvg-sand);
	text-align: center;
	padding: 14px 0;
	font-size: 14px;
	line-height: 1.6;
}

.lvg .lvg-strip p {
	margin: 0;
}

.lvg .lvg-strip p + p {
	margin-top: 4px;
}

.lvg .lvg-strip strong {
	color: var(--lvg-gold-soft);
	font-weight: 500;
}

/* ---------- Studio selector ---------- */

.lvg .lvg-studio {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin: 0 auto 32px;
	text-align: center;
}

.lvg .lvg-studio-label {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lvg-earth);
}

.lvg .lvg-studio-options {
	display: inline-flex;
	border: 1px solid var(--lvg-linen);
	border-radius: 999px;
	background: var(--lvg-white);
	padding: 4px;
	gap: 4px;
}

.lvg .lvg-studio-btn {
	appearance: none;
	border: 0;
	background: transparent;
	border-radius: 999px;
	padding: 10px 18px;
	cursor: pointer;
	font-family: var(--lvg-sans);
	color: var(--lvg-charcoal);
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.2;
	min-width: 132px;
}

.lvg .lvg-studio-name {
	font-size: 14px;
	font-weight: 500;
}

.lvg .lvg-studio-city {
	font-size: 12px;
	color: var(--lvg-earth);
}

.lvg .lvg-studio-btn[aria-pressed="true"] {
	background: var(--lvg-charcoal);
	color: var(--lvg-white);
}

.lvg .lvg-studio-btn[aria-pressed="true"] .lvg-studio-city {
	color: var(--lvg-sand);
}

.lvg .lvg-studio-note {
	font-size: 13px;
	color: var(--lvg-earth);
}

/* ---------- Ritual cards ---------- */

.lvg .lvg-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.lvg .lvg-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--lvg-white);
	border: 1px solid var(--lvg-linen);
	border-radius: var(--lvg-radius);
	padding: 28px 24px 24px;
}

.lvg .lvg-card.is-featured {
	order: -1; /* Renewal first on mobile */
	border: 1px solid var(--lvg-gold);
	box-shadow: 0 0 0 1px var(--lvg-gold);
}

.lvg .lvg-card-img {
	margin: -28px -24px 22px; /* bleeds to the card edges (card padding 28px 24px) */
	aspect-ratio: 3 / 2;
	overflow: hidden;
	border-radius: var(--lvg-radius) var(--lvg-radius) 0 0;
	background: var(--lvg-linen);
}

.lvg .lvg-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.lvg .lvg-badge {
	position: absolute;
	z-index: 2;
	top: -11px;
	left: 24px;
	background: var(--lvg-gold);
	color: var(--lvg-white);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 2px;
}

.lvg .lvg-for {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--lvg-gold);
	margin-bottom: 6px;
}

.lvg .lvg-card-title {
	font-family: var(--lvg-serif);
	font-weight: 300;
	font-size: 28px;
	line-height: 1.15;
	color: var(--lvg-charcoal);
	margin: 0;
}

.lvg .lvg-card-meta {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin: 10px 0 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--lvg-linen);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--lvg-earth);
}

.lvg .lvg-price {
	font-family: var(--lvg-serif);
	font-size: 30px;
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--lvg-charcoal);
}

.lvg .lvg-card-line {
	color: var(--lvg-earth);
	font-size: 15px;
	line-height: 1.65;
	margin: 0 0 14px;
}

.lvg .lvg-tags {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.lvg .lvg-tags li {
	font-size: 12px;
	color: var(--lvg-earth);
	background: var(--lvg-cream);
	border: 1px solid var(--lvg-linen);
	border-radius: 999px;
	padding: 4px 10px;
}

.lvg .lvg-card-actions {
	margin-top: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.lvg .lvg-card-actions .btn {
	width: 100%;
	justify-content: center;
}

.lvg .lvg-details {
	font-size: 13px;
	color: var(--lvg-earth);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.lvg .lvg-subhead {
	font-family: var(--lvg-serif);
	font-weight: 300;
	font-style: italic;
	font-size: 26px;
	text-align: center;
	color: var(--lvg-charcoal);
	margin: 48px 0 24px;
}

.lvg .lvg-amount {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	align-items: flex-start;
	border-top: 1px solid var(--lvg-linen);
	padding-top: 28px;
}

.lvg .lvg-amount p {
	color: var(--lvg-earth);
	margin: 8px 0 0;
	line-height: 1.65;
}

.lvg .lvg-mailout {
	margin-top: 20px;
	font-size: 14px;
	color: var(--lvg-earth);
}

/* ---------- Candle comparison ---------- */

.lvg .lvg-compare {
	text-align: center;
}

.lvg .lvg-compare p {
	color: var(--lvg-earth);
	font-size: 17px;
	line-height: 1.75;
	max-width: 620px;
	margin: 16px auto 0;
}

/* ---------- What they'll feel ---------- */

.lvg .lvg-experience-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}

.lvg .lvg-experience-img img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--lvg-radius);
	display: block;
}

.lvg .lvg-beats {
	list-style: none;
	margin: 24px 0 0;
	padding: 0;
	counter-reset: lvgbeat;
}

.lvg .lvg-beats li {
	counter-increment: lvgbeat;
	position: relative;
	padding: 0 0 20px 44px;
}

.lvg .lvg-beats li::before {
	content: counter(lvgbeat, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 2px;
	font-family: var(--lvg-serif);
	font-size: 20px;
	color: var(--lvg-gold);
}

.lvg .lvg-beats h3 {
	font-family: var(--lvg-serif);
	font-weight: 400;
	font-size: 22px;
	margin: 0 0 4px;
	color: var(--lvg-charcoal);
}

.lvg .lvg-beats p {
	margin: 0;
	color: var(--lvg-earth);
	line-height: 1.65;
}

/* ---------- Reviews ---------- */

.lvg .lvg-review-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.lvg .lvg-review {
	margin: 0;
	background: var(--lvg-cream);
	border-radius: var(--lvg-radius);
	padding: 24px;
}

.lvg .lvg-review blockquote {
	margin: 10px 0 12px;
	padding: 0;
	border: 0;
}

.lvg .lvg-review blockquote p {
	font-family: var(--lvg-serif);
	font-size: 20px;
	line-height: 1.45;
	color: var(--lvg-charcoal);
	margin: 0;
}

.lvg .lvg-review figcaption {
	font-size: 13px;
	color: var(--lvg-earth);
}

/* ---------- Gift finder ---------- */

.lvg .lvg-finder-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	border-top: 1px solid var(--lvg-linen);
}

.lvg .lvg-finder-item {
	padding: 24px 0;
	border-bottom: 1px solid var(--lvg-linen);
}

.lvg .lvg-finder-item h3 {
	font-family: var(--lvg-serif);
	font-weight: 400;
	font-size: 24px;
	margin: 0 0 6px;
	color: var(--lvg-charcoal);
}

.lvg .lvg-finder-item p {
	color: var(--lvg-earth);
	line-height: 1.65;
	margin: 0 0 14px;
}

/* ---------- How it works ---------- */

.lvg .lvg-steps {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lvg .lvg-steps li {
	display: flex;
	gap: 20px;
	padding: 20px 0;
	border-bottom: 1px solid var(--lvg-linen);
}

.lvg .lvg-steps li:first-child {
	border-top: 1px solid var(--lvg-linen);
}

.lvg .lvg-step-num {
	font-family: var(--lvg-serif);
	font-size: 28px;
	line-height: 1;
	color: var(--lvg-gold);
	min-width: 40px;
}

.lvg .lvg-steps h3 {
	font-family: var(--lvg-sans);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.04em;
	margin: 0 0 4px;
	color: var(--lvg-charcoal);
}

.lvg .lvg-steps p {
	margin: 0;
	color: var(--lvg-earth);
	line-height: 1.65;
}

.lvg .lvg-assure {
	list-style: none;
	margin: 32px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.lvg .lvg-assure li {
	font-size: 13px;
	color: var(--lvg-charcoal);
	border: 1px solid var(--lvg-linen);
	background: var(--lvg-white);
	border-radius: 999px;
	padding: 6px 14px;
}

.lvg .lvg-assure li::before {
	content: '';
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--lvg-gold);
	margin-right: 8px;
	vertical-align: middle;
}

/* ---------- FAQ ---------- */

.lvg .lvg-faq-item {
	border-bottom: 1px solid var(--lvg-linen);
}

.lvg .lvg-faq-item:first-of-type {
	border-top: 1px solid var(--lvg-linen);
}

.lvg .lvg-faq-item summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding: 18px 0;
	font-size: 16px;
	color: var(--lvg-charcoal);
}

.lvg .lvg-faq-item summary::-webkit-details-marker {
	display: none;
}

.lvg .lvg-faq-icon {
	position: relative;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
}

.lvg .lvg-faq-icon::before,
.lvg .lvg-faq-icon::after {
	content: '';
	position: absolute;
	left: 0;
	top: 6px;
	width: 14px;
	height: 1.5px;
	background: var(--lvg-gold);
	transition: transform 0.2s ease;
}

.lvg .lvg-faq-icon::after {
	transform: rotate(90deg);
}

.lvg .lvg-faq-item[open] .lvg-faq-icon::after {
	transform: rotate(0deg);
}

.lvg .lvg-faq-a p {
	margin: 0 0 18px;
	color: var(--lvg-earth);
	line-height: 1.7;
}

.lvg .lvg-faq-a a {
	color: var(--lvg-charcoal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Final CTA ---------- */

.lvg .lvg-final {
	text-align: center;
}

.lvg .lvg-final .eyebrow {
	justify-content: center;
}

.lvg .lvg-final-xmas {
	margin: 12px auto 0;
}

/* main.css pulls .cta-micro up 12px to tuck it under the h2; with the
   Christmas line in between that made the two lines overlap. */
.lvg .lvg-final-xmas + .cta-micro {
	margin-top: 10px !important;
}

.lvg .lvg-fallback-label {
	margin: 28px 0 10px;
	font-size: 13px;
	opacity: 0.8;
}

.lvg .lvg-fallback {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 28px;
}

/* ---------- Sticky mobile bar ---------- */

.lvg .lvg-sticky {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 90;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
	background: rgba(247, 243, 238, 0.96);
	border-top: 1px solid var(--lvg-linen);
	transform: translateY(110%);
	visibility: hidden;
	transition: transform 0.25s ease, visibility 0s linear 0.25s;
}

.lvg .lvg-sticky.is-on {
	transform: translateY(0);
	visibility: visible;
	transition: transform 0.25s ease, visibility 0s linear 0s;
}

.lvg .lvg-sticky .btn {
	width: 100%;
	justify-content: center;
}

/* ---------- Studio picker dialog ---------- */

.lvg .lvg-dialog {
	margin: auto; /* main.css resets every margin to 0, which un-centres <dialog> */
	border: 0;
	border-radius: var(--lvg-radius);
	padding: 32px 24px 20px;
	max-width: 420px;
	width: calc(100% - 32px);
	background: var(--lvg-white);
	color: var(--lvg-charcoal);
	text-align: center;
}

.lvg .lvg-dialog::backdrop {
	background: rgba(17, 17, 17, 0.6);
}

.lvg .lvg-dialog h2 {
	font-family: var(--lvg-serif);
	font-weight: 300;
	font-size: 28px;
	line-height: 1.2;
	margin: 0 0 8px;
}

.lvg .lvg-dialog p {
	color: var(--lvg-earth);
	margin: 0 0 20px;
	line-height: 1.6;
}

.lvg .lvg-dialog-options {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.lvg .lvg-dialog-options .btn {
	width: 100%;
	justify-content: center;
}

.lvg .lvg-dialog-cancel {
	appearance: none;
	border: 0;
	background: none;
	margin-top: 14px;
	padding: 8px;
	font-family: var(--lvg-sans);
	font-size: 13px;
	color: var(--lvg-earth);
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Tablet and up ---------- */

@media (min-width: 720px) {
	.lvg .lvg-cards {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.lvg .lvg-cards-special {
		max-width: 860px;
		margin: 0 auto;
	}

	.lvg .lvg-amount {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 32px;
	}

	.lvg .lvg-review-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.lvg .lvg-finder-grid {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 48px;
	}

	.lvg .lvg-experience-grid {
		grid-template-columns: 1fr 1fr;
		gap: 56px;
	}
}

/* ---------- Desktop ---------- */

@media (min-width: 1080px) {
	.lvg .lvg-cards {
		grid-template-columns: repeat(4, 1fr);
	}

	.lvg .lvg-card.is-featured {
		order: 0; /* natural shortest-to-longest order on desktop */
	}

	.lvg .lvg-cards-special {
		grid-template-columns: repeat(2, 1fr);
	}

	.lvg .lvg-finder-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	/* No sticky bar on desktop: the hero button is always in reach. */
	.lvg .lvg-sticky {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.lvg .lvg-sticky,
	.lvg .lvg-faq-icon::before,
	.lvg .lvg-faq-icon::after {
		transition: none;
	}
}
