/* LiveFinish: Design It Now button, lead-time ticker, visualizer tabs, save form, homepage
 * hero/teaser/steps, and the customer gallery. Theme palette variables only, so light and
 * dark mode both work. (inc/livefinish.php, inc/livefinish-gallery.php) */

/* ---------- Design It Now ---------- */
.la-dnow {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	min-height: 60px;
	padding: 10px 28px;
	border-radius: var(--theme-button-border-radius, 4px);
	background: var(--theme-button-background-initial-color, var(--theme-palette-color-1));
	color: var(--theme-button-text-initial-color, #fff);
	border: 2px solid var(--theme-button-background-initial-color, var(--theme-palette-color-1));
	text-decoration: none;
	line-height: 1.15;
	text-align: center;
	transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.la-dnow:hover,
.la-dnow:focus-visible {
	background: var(--theme-button-background-hover-color, var(--theme-palette-color-2));
	border-color: var(--theme-button-background-hover-color, var(--theme-palette-color-2));
	color: var(--theme-button-text-hover-color, #fff);
	transform: translateY(-1px);
}
.la-dnow-main {
	font-family: 'Barlow Condensed', var(--theme-font-family, sans-serif);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
}
.la-dnow-sub {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .85;
}
.la-dnow.is-outline {
	background: transparent;
	color: var(--theme-palette-color-1);
}
.la-dnow.is-outline:hover,
.la-dnow.is-outline:focus-visible {
	background: var(--theme-palette-color-1);
	color: var(--theme-button-text-initial-color, #fff);
}
.la-dnow-cta {
	margin: 48px auto 8px;
	padding: 24px;
	max-width: 900px;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: space-between;
	background: var(--theme-palette-color-6);
	border-left: 4px solid var(--theme-palette-color-1);
	border-radius: 6px;
}
.la-dnow-cta-text { margin: 0; flex: 1 1 320px; }

/* Highlighted menu item */
#header .la-menu-dnow > a {
	background: var(--theme-button-background-initial-color, var(--theme-palette-color-1));
	color: var(--theme-button-text-initial-color, #fff) !important;
	border-radius: var(--theme-button-border-radius, 4px);
	padding-inline: 16px !important;
	height: auto !important;
	min-height: 44px;
	align-self: center;
	font-weight: 700;
}
#header .la-menu-dnow > a:hover { background: var(--theme-button-background-hover-color, var(--theme-palette-color-2)); }
#offcanvas .la-menu-dnow > a {
	display: inline-flex;
	background: #AFC297;
	color: #14200F !important;
	border-radius: 4px;
	padding: 8px 16px !important;
	font-weight: 700;
	margin-block: 4px;
}

/* ---------- Lead-time ticker ---------- */
.la-ticker {
	display: flex;
	align-items: stretch;
	width: 100%;
	background: var(--la-footer-bg, #232A21);
	color: var(--la-footer-text, #D4D6C9);
	font-size: 15px;
	line-height: 1.3;
	border-top: 1px solid rgba(175, 194, 151, .25);
	border-bottom: 1px solid rgba(175, 194, 151, .25);
	overflow: hidden;
	position: relative;
	z-index: 5;
}
.la-ticker-live {
	flex: none;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: #AFC297;
	color: #14200F;
	font-weight: 800;
	font-size: 13px;
	letter-spacing: .14em;
}
.la-ticker-what { letter-spacing: .02em; font-weight: 700; white-space: nowrap; }
.la-ticker-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: #2E7D32;
	box-shadow: 0 0 0 0 rgba(46, 125, 50, .7);
	animation: la-ticker-pulse 1.6s infinite;
}
/* After hours, 8pm-9am Central (livefinish.js adds .is-closed; Adam, Dec 2) */
.la-ticker.is-closed .la-ticker-dot { background: #C62828; box-shadow: 0 0 0 0 rgba(198, 40, 40, .7); animation-name: la-ticker-pulse-red; }
.la-ticker-hours[hidden] { display: none !important; }
.la-ticker-hours { white-space: nowrap; }
.la-ticker.is-closed .la-ticker-hours { color: #FF6B66; }
@keyframes la-ticker-pulse-red {
	0% { box-shadow: 0 0 0 0 rgba(198, 40, 40, .7); }
	70% { box-shadow: 0 0 0 8px rgba(198, 40, 40, 0); }
	100% { box-shadow: 0 0 0 0 rgba(198, 40, 40, 0); }
}
@keyframes la-ticker-pulse {
	0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, .7); }
	70% { box-shadow: 0 0 0 8px rgba(46, 125, 50, 0); }
	100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}
.la-ticker-track {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-inline: 16px;
}
.la-ticker-run { display: flex; white-space: nowrap; margin-inline: auto; }
.la-ticker-row { display: inline-flex; align-items: center; gap: 14px; padding-right: 14px; }
.la-ticker-copy { display: none; }
.la-ticker-item b { color: #EEEFE4; font-weight: 700; }
.la-ticker-sep { opacity: .45; }
.la-ticker-link { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.la-ticker-link:hover, .la-ticker-link:focus { color: #EEEFE4; text-decoration-style: solid; }
.la-ticker-upd { color: #AFC297; font-style: italic; }
.la-ticker.is-scrolling .la-ticker-run { margin-inline: 0; animation: la-ticker-scroll var(--la-ticker-dur, 28s) linear infinite; }
.la-ticker.is-scrolling .la-ticker-copy { display: inline-flex; }
.la-ticker.is-scrolling .la-ticker-track { padding-inline: 0; }
.la-ticker:hover .la-ticker-run { animation-play-state: paused; }
@keyframes la-ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 689.98px) {
	.la-ticker { font-size: 14px; }
	.la-ticker-live { padding: 7px 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.la-ticker-dot { animation: none; }
	.la-ticker.is-scrolling .la-ticker-run { animation: none; }
	.la-ticker.is-scrolling .la-ticker-copy { display: none; }
	.la-ticker-run, .la-ticker-row { white-space: normal; flex-wrap: wrap; }
	.la-ticker.is-scrolling .la-ticker-track { padding: 6px 12px; }
}

/* ---------- Visualizer page ---------- */
.la-lf-subtitle { font-size: clamp(20px, 2.2vw, 24px); font-weight: 500; margin-top: 0; }
.la-lf-modes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 0 0 20px;
}
.la-lf-mode {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2px;
	padding: 14px 18px;
	border: 2px solid var(--theme-palette-color-5);
	border-radius: 6px;
	background: var(--theme-palette-color-8);
	color: var(--theme-palette-color-3);
	text-align: left;
	cursor: pointer;
}
.la-lf-mode:hover { border-color: var(--theme-palette-color-1); }
.la-lf-mode[aria-selected="true"] {
	border-color: var(--theme-palette-color-1);
	background: var(--theme-palette-color-6);
	box-shadow: inset 0 -4px 0 var(--theme-palette-color-1);
}
.la-lf-mode-title { font-family: 'Barlow Condensed', sans-serif; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--theme-palette-color-4); }
.la-lf-mode-sub { font-size: 15px; }
@media (max-width: 689.98px) {
	.la-lf-mode { padding: 10px 12px; }
	.la-lf-mode-title { font-size: 19px; }
	.la-lf-mode-sub { font-size: 13px; }
}
.la-lf-contest {
	margin: 0 0 16px;
	padding: 12px 16px;
	border-radius: 6px;
	background: var(--theme-palette-color-6);
	border-left: 4px solid var(--theme-palette-color-1);
}
.la-lf-preview-tag {
	display: inline-block;
	margin: 0 0 12px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--theme-palette-color-6);
	border: 1px dashed var(--theme-palette-color-1);
	font-size: 14px;
	font-weight: 600;
}
.la-lf-save-open {
	padding: 10px 16px;
	border: 2px solid var(--theme-palette-color-1);
	border-radius: var(--theme-button-border-radius, 4px);
	background: transparent;
	color: var(--theme-palette-color-1);
	font-weight: 700;
	cursor: pointer;
}
.la-lf-save-open:disabled { opacity: .45; cursor: not-allowed; }

/* Save dialog */
.la-lf-save {
	width: min(560px, calc(100vw - 32px));
	max-height: calc(100vh - 32px);
	padding: 24px;
	border: 0;
	border-radius: 8px;
	background: var(--theme-palette-color-8);
	color: var(--theme-palette-color-3);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}
.la-lf-save::backdrop { background: rgba(10, 14, 9, .6); }
.la-lf-save h2 { font-size: 30px; margin: 0 32px 12px 0; }
.la-lf-save label { display: block; margin: 0 0 12px; font-weight: 600; }
.la-lf-save input[type="text"],
.la-lf-save input[type="email"],
.la-lf-save input[type="password"],
.la-lf-save input[type="tel"],
.la-lf-save textarea { display: block; width: 100%; margin-top: 4px; font-weight: 400; }
.la-lf-save .la-lf-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.la-lf-save .la-lf-check input { width: 20px; height: 20px; flex: none; margin-top: 3px; }
.la-lf-save .la-lf-check small { display: block; font-weight: 400; }
.la-lf-contest-check { flex-wrap: wrap; }
.la-lf-save-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; cursor: pointer; color: inherit; }
.la-lf-save-preview { display: block; width: 100%; max-height: 200px; object-fit: contain; margin: 0 0 14px; border-radius: 6px; background: #fff; }
.la-lf-save-small { font-size: 15px; opacity: .9; }
.la-lf-save-msg { min-height: 1.3em; color: var(--la-required, #8A3B2E); font-weight: 600; }
.la-lf-save-buttons { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.la-lf-save-cancel { background: none; border: 0; color: var(--theme-palette-color-1); text-decoration: underline; cursor: pointer; }
.la-lf-save-link { width: 100%; }
.la-lf-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.la-optional { font-weight: 400; opacity: .8; }
.la-req { font-weight: 400; }

/* ---------- Homepage hero ---------- */
.la-lf-hero {
	background: var(--theme-palette-color-6);
	padding: clamp(28px, 5vw, 72px) max(16px, 4vw);
}
.la-lf-hero-inner {
	max-width: 1290px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start; /* text starts level with the top of the designer box (Adam, Nov 22; was centered) */
}
.la-lf-hero-copy .la-eyebrow { margin: 0 0 6px; }
.la-lf-hero-title { margin: 0 0 .35em; }
.la-lf-hero-sub { font-size: clamp(19px, 1.9vw, 22px); margin: 0 0 24px; }
.la-lf-hero-cta { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.la-lf-hero-gallery { font-weight: 700; }
.la-lf-teaser {
	background: var(--theme-palette-color-8);
	border: 1px solid var(--theme-palette-color-5);
	border-radius: 10px;
	padding: 16px;
	box-shadow: 0 10px 30px rgba(20, 30, 15, .12);
}
.la-lf-teaser-stage { position: relative; background: #fff; border-radius: 6px; overflow: hidden; }
.la-lf-teaser-stage picture { display: block; }
.la-lf-teaser-stage img,
.la-lf-teaser-stage canvas { display: block; width: 100%; height: auto; aspect-ratio: 1100 / 775; object-fit: contain; }
.la-lf-teaser-stage canvas { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.la-lf-teaser.is-live .la-lf-teaser-stage canvas { opacity: 1; }
.la-lf-teaser-controls { margin-top: 12px; }
.la-lf-teaser-parts { display: inline-flex; gap: 6px; margin-bottom: 10px; }
.la-lf-teaser-parts button {
	padding: 6px 14px;
	border-radius: 999px;
	border: 2px solid var(--theme-palette-color-5);
	background: transparent;
	color: var(--theme-palette-color-3);
	font-weight: 700;
	cursor: pointer;
}
.la-lf-teaser-parts button[aria-pressed="true"] { border-color: var(--theme-palette-color-1); background: var(--theme-palette-color-1); color: var(--theme-button-text-initial-color, #fff); }
.la-lf-teaser-swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.la-lf-teaser-swatches button {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 6px 2px;
	border: 2px solid transparent;
	border-radius: 6px;
	background: none;
	color: var(--theme-palette-color-3);
	cursor: pointer;
	font-size: 12px;
	line-height: 1.15;
}
.la-lf-teaser-swatches button[aria-pressed="true"] { border-color: var(--theme-palette-color-1); background: var(--theme-palette-color-6); }
.la-lf-teaser-chip { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); box-shadow: inset 0 -4px 6px rgba(0, 0, 0, .2), inset 0 3px 5px rgba(255, 255, 255, .25); }
.la-lf-teaser-name { text-align: center; }
.la-lf-teaser-picked { margin: 10px 0 4px; font-size: 15px; min-height: 1.3em; }
.la-lf-teaser-more { font-weight: 700; }
@media (max-width: 999.98px) {
	.la-lf-hero-inner { grid-template-columns: 1fr; }
}
@media (max-width: 689.98px) {
	.la-lf-hero { padding-top: 20px; }
	.la-lf-hero-sub { margin-bottom: 16px; }
	.la-lf-hero-title { font-size: 34px; }
	.la-lf-teaser { padding: 10px; }
	.la-lf-teaser-swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.la-lf-hero-cta .la-dnow { width: 100%; }
}

/* Split top section: visualizer left (text above the teaser), featured pistols right (Adam, Nov 23) */
/* Same edges as the rest of the page (90vw, up to 1550px); both columns centered (Adam, Nov 23). */
.la-lf-hero.is-split { padding-inline: 0; }
.la-lf-hero.is-split .la-lf-hero-inner { width: min(90vw, 1550px); max-width: none; margin: 0 auto; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 3.5vw, 56px); align-items: start; }
.la-lf-hero.is-split .la-lf-hero-copy { margin-bottom: 24px; text-align: center; }
.la-lf-hero.is-split .la-lf-hero-name { margin-inline: auto; }
.la-lf-hero.is-split .la-lf-hero-cta, .la-lf-hero.is-split .la-lf-hero-cta.is-centered { margin-inline: auto; justify-content: center; }
.la-lf-hero.is-split .la-lf-hero-title { font-size: clamp(32px, 3.2vw, 46px); text-wrap: balance; }
.la-lf-hero.is-split .la-lf-hero-sub, .la-lf-hero-featured .la-lf-feat-sub { text-wrap: balance; }
.la-lf-hero-featured { text-align: center; }
.la-lf-hero-featured .la-lf-feat-title { margin: 0 0 .3em; font-size: clamp(28px, 2.6vw, 38px); line-height: 1.05; }
.la-lf-hero-featured .la-lf-feat-sub { margin: 0 0 18px; }
.la-lf-hero-featured .la-lf-feat-promise { margin: 0 0 .45em; font-family: "Barlow Condensed", sans-serif; font-weight: 700; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.1; letter-spacing: .03em; text-transform: uppercase; color: var(--theme-palette-color-1); }
@media (max-width: 689.98px) { .la-lf-hero.is-split .la-lf-hero-inner { width: calc(100% - 32px); } }
/* Compact 2x2 product cards beside the visualizer (Blocksy's shop grid styles don't reach inside the hero) */
.la-lf-hero-featured .woocommerce { margin: 0; }
.la-lf-hero-featured ul.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0 0 18px; padding: 0; list-style: none; }
.la-lf-hero-featured ul.products::before, .la-lf-hero-featured ul.products::after { display: none; }
.la-lf-hero-featured li.product { width: auto !important; float: none !important; margin: 0 !important; display: flex; flex-direction: column; background: var(--theme-palette-color-8); border: 1px solid var(--theme-palette-color-5); border-radius: 8px; overflow: hidden; text-align: center; }
.la-lf-hero-featured li.product figure { margin: 0; background: #fff; }
.la-lf-hero-featured li.product figure img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: contain; }
.la-lf-hero-featured .woocommerce-loop-product__title { margin: 10px 10px 4px; font-size: 15px; line-height: 1.2; text-transform: uppercase; }
.la-lf-hero-featured .woocommerce-loop-product__title a { color: var(--theme-palette-color-4); text-decoration: none; }
.la-lf-hero-featured .la-nf-origin, .la-lf-hero-featured .la-nf-where { display: block; font-size: 12px; letter-spacing: .04em; color: var(--theme-palette-color-3); margin-top: 2px; }
.la-lf-hero-featured li.product .entry-meta { display: none; }
.la-lf-hero-featured .ct-woo-card-actions { margin-top: auto; padding: 8px 12px 12px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.la-lf-hero-featured .price { font-weight: 700; color: var(--theme-palette-color-4); font-size: 17px; }
.la-lf-hero-featured .la-nf-card-link { display: inline-block; padding: 7px 12px; border-radius: 4px; background: var(--theme-palette-color-1); color: #14200F !important; font-size: 14px; font-weight: 700; text-decoration: none; opacity: 1; }
.la-lf-hero-featured .la-nf-card-link:hover, .la-lf-hero-featured a.add_to_cart_button:hover { background: var(--theme-palette-color-2); }
.la-lf-hero-featured a.add_to_cart_button { display: inline-block; border-radius: 4px; background: var(--theme-palette-color-1); color: #14200F !important; font-weight: 700; text-decoration: none; opacity: 1; } /* same as View pistol (was light text on light green) */
.la-lf-hero-featured .la-lf-feat-sub strong { color: var(--theme-palette-color-1); }
@media (max-width: 689.98px) {
	.la-lf-hero-featured ul.products { gap: 10px; }
	.la-lf-hero-featured .woocommerce-loop-product__title { font-size: 13px; }
	.la-lf-hero-featured .ct-woo-card-actions { justify-content: center; }
}
/* 8 smaller tiles, 4 across (Adam, Nov 24); 2 across on phones. */
.la-lf-hero-featured ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.la-lf-hero-featured .woocommerce-loop-product__title { margin: 6px 6px 2px; font-size: 12px; line-height: 1.15; }
.la-lf-hero-featured .la-nf-origin, .la-lf-hero-featured .la-nf-where { font-size: 10.5px; letter-spacing: .02em; }
.la-lf-hero-featured .la-nf-foot { font-size: 10px; }
.la-lf-hero-featured .la-nf-cond { font-size: 10px; padding: 1px 6px; }
.la-lf-hero-featured .ct-woo-card-actions { flex-direction: column; justify-content: center; gap: 5px; padding: 6px 6px 8px; }
.la-lf-hero-featured .price { font-size: 14px; line-height: 1.2; }
.la-lf-hero-featured .price del { font-size: 11px; }
.la-lf-hero-featured .la-nf-card-link, .la-lf-hero-featured .ct-woo-card-actions .button { padding: 5px 9px; font-size: 12px; min-height: 0; line-height: 1.3; }
.la-lf-hero-featured .onsale, .la-lf-hero-featured .ct-woo-badge-onsale { font-size: 10px; }
@media (max-width: 689.98px) {
	.la-lf-hero-featured ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.la-lf-hero-featured .la-lf-feat-more { margin: 0; }
.la-lf-hero-featured .la-lf-feat-all { display: inline-block; padding: 10px 20px; border: 2px solid var(--theme-palette-color-1); border-radius: 4px; background: transparent; color: var(--theme-palette-color-1); font-weight: 700; text-decoration: none; }
.la-lf-hero-featured .la-lf-feat-all:hover { background: var(--theme-palette-color-1); color: #14200F; }
@media (max-width: 999.98px) {
	.la-lf-hero.is-split .la-lf-hero-inner { grid-template-columns: 1fr; }
}

/* ---------- How it works strip ---------- */
.la-lf-steps { max-width: 1200px; margin: 0 auto; padding: clamp(40px, 6vw, 72px) 16px; text-align: center; }
.la-lf-steps-title { margin-top: 0; }
.la-lf-steps-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.la-lf-step { position: relative; padding: 24px 20px; border-radius: 8px; background: var(--theme-palette-color-8); border: 1px solid var(--theme-palette-color-5); }
.la-lf-step-icon svg { width: 52px; height: 52px; fill: none; stroke: var(--theme-palette-color-1); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.la-lf-step-num { position: absolute; top: 12px; left: 14px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: 20px; color: var(--theme-palette-color-1); opacity: .7; }
.la-lf-step-title { font-size: 26px; margin: 8px 0 6px; }
.la-lf-step p { margin: 0; }
@media (max-width: 799.98px) {
	.la-lf-steps-list { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */
.la-lf-recent { max-width: 1200px; margin: 0 auto; padding: 0 16px clamp(40px, 6vw, 72px); }
.la-lf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.la-lf-grid-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 899.98px) { .la-lf-grid-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.la-lf-card {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 10px 10px 14px;
	border-radius: 8px;
	background: var(--theme-palette-color-8);
	border: 1px solid var(--theme-palette-color-5);
	color: var(--theme-palette-color-3);
	text-decoration: none;
}
.la-lf-card:hover { border-color: var(--theme-palette-color-1); }
.la-lf-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 6px; margin-bottom: 6px; }
.la-lf-card-title { font-weight: 700; color: var(--theme-palette-color-4); }
.la-lf-card-by { font-size: 15px; }
.la-lf-chips { display: flex; gap: 4px; margin-top: 4px; }
.la-lf-chip { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .3); vertical-align: -3px; flex: none; }
.la-lf-filters { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; margin: 0 0 24px; }
.la-lf-filters label { display: flex; flex-direction: column; gap: 4px; font-weight: 600; }
.la-lf-filters .la-lf-check { flex-direction: row; align-items: center; }
.la-lf-filters select option { background: var(--theme-palette-color-8); color: var(--theme-palette-color-3); }
.la-lf-filter-go { padding: 10px 18px; }
.la-lf-pager { display: flex; gap: 8px; margin: 24px 0; }
.la-lf-pager a, .la-lf-pager span { padding: 6px 12px; border-radius: 4px; border: 1px solid var(--theme-palette-color-5); }
.la-lf-pager span { background: var(--theme-palette-color-1); color: var(--theme-button-text-initial-color, #fff); }
.la-lf-gallery-cta { margin-top: 32px; text-align: center; }
.la-lf-design { max-width: 900px; }
.la-lf-design-img { display: block; width: 100%; height: auto; border-radius: 8px; background: #fff; margin: 12px 0 18px; }
.la-lf-design-colors { list-style: none; padding: 0; margin: 0 0 20px; }
.la-lf-design-colors li { margin: 0 0 6px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.la-lf-design-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin: 8px 0 16px; }

/* ---------- LiveFinish name (Adam, Nov 21): written "LiveFinish", never all caps; same color and
 * weight as the surrounding text (the two-tone bold version was rejected). ---------- */
.la-lf-name { text-transform: none; }
.la-lf-brand { white-space: nowrap; }
.la-lf-live,
.la-lf-finish { color: inherit; font-weight: inherit; }

/* Bigger name: homepage hero and the page headings */
.la-lf-hero-name {
	margin: 0 0 10px;
	font-family: 'Barlow Condensed', sans-serif;
	font-size: clamp(34px, 4.3vw, 56px);
	font-weight: 600; /* a little lighter, like the buttons (Adam, Nov 22) */
	line-height: 1.05;
	color: var(--theme-palette-color-1); /* Ranger Green (light green in dark mode) */
	/* Name centered over the sub-line; the pair stays at the left of the column (Adam, Nov 22) */
	display: table;
	text-align: center;
}
h1.la-lf-title {
	font-size: clamp(46px, 6.2vw, 76px);
	line-height: 1;
	color: var(--theme-palette-color-1);
}
@media (max-width: 689.98px) {
	.la-lf-hero-name { font-size: 32px; margin-bottom: 6px; }
}

/* Staff Pick badge and contest teaser (Adam, Nov 21) */
.la-lf-card { position: relative; }
.la-lf-pick {
	position: absolute;
	top: 16px;
	left: 16px;
	z-index: 1;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--theme-palette-color-1);
	color: var(--theme-button-text-initial-color, #fff);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .04em;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
.la-lf-pick.is-inline { position: static; display: inline-block; }
.la-lf-contest.is-teaser { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; }
.la-lf-contest-star { color: var(--theme-palette-color-1); }

/* Menu button: two lines, like the homepage button (Adam, Nov 22) */
.la-menu-dnow > a { flex-direction: column; justify-content: center; line-height: 1.1; }
#header .la-menu-dnow > a { display: inline-flex; padding-block: 6px !important; min-height: 50px; }
.la-menu-dnow-main { display: block; font-size: 17px; font-weight: 700; white-space: nowrap; }
.la-menu-dnow-sub { display: block; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .85; white-space: nowrap; }
#offcanvas .la-menu-dnow > a { align-items: flex-start; padding: 8px 14px !important; }
#offcanvas .la-menu-dnow-main { font-size: 18px; }

/* Hero name sub-line, styled like the button's second line and scaled the same way (13/22 of the
 * line above). Adam, Nov 22. */
.la-lf-hero-subline {
	display: block;
	margin-top: .18em;
	font-family: 'Barlow', var(--theme-font-family, sans-serif);
	font-size: .59em;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.1;
	opacity: .85;
}

/* Hero button + "Get Inspired" link centered under the name block (Adam, Nov 22). The width is set by
 * livefinish.js to the name block's width; without script they stay left-aligned. */
.la-lf-hero-cta.is-centered { flex-direction: column; align-items: center; gap: 14px; }
.la-lf-hero-cta.is-centered .la-lf-hero-gallery { text-align: center; }

/* One-column hero (phones, tablets): LiveFinish name block, button, and link centered on the screen
 * (Adam, Nov 22: "does not appear centered on the phone screen"). */
@media (max-width: 999.98px) {
	.la-lf-hero-name { margin-inline: auto; }
	.la-lf-hero-cta.is-centered { width: 100%; }
}
@media (max-width: 689.98px) {
	/* Whole top section centered on phones (Adam, Nov 22) */
	.la-lf-hero-title,
	.la-lf-hero-sub { text-align: center; }
	.la-lf-hero-cta.is-centered .la-dnow { width: 100%; }
	.la-lf-hero-cta.is-centered .la-lf-hero-gallery { font-size: 16px; }
}

/* Gallery button stacked under the visualizer button in the menu (Adam, Nov 22) */
#header .la-menu-dnow { display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 6px; }
#header .la-menu-dnow > a.la-menu-gallery-btn {
	min-height: 0;
	padding-block: 5px !important;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	justify-content: center;
	text-align: center;
	white-space: nowrap;
}
#offcanvas .la-menu-dnow { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }

/* Phones: button and "Get Inspired" link both full width, without depending on the script (Adam, Nov 22).
 * The link is an outlined bar so its full width shows, with a comfortable tap height. */
@media (max-width: 689.98px) {
	.la-lf-hero-cta,
	.la-lf-hero-cta.is-centered { display: flex; flex-direction: column; align-items: stretch; gap: 12px; width: 100% !important; }
	.la-lf-hero-cta .la-dnow { width: 100%; }
	.la-lf-hero-cta .la-lf-hero-gallery {
		display: block;
		width: 100%;
		box-sizing: border-box;
		padding: 12px 10px;
		text-align: center;
		border: 2px solid var(--theme-palette-color-1);
		border-radius: var(--theme-button-border-radius, 4px);
		text-decoration: none;
		font-size: 16px;
		line-height: 1.3;
	}
}

/* Desktop and tablet hero: a LiveFinish Gallery button under the "Get Inspired" line, like the gallery button in the
 * menu; both hero buttons the same width (Adam, Nov 22; tablets too, same day). Phones keep the outlined link only. */
.la-lf-hero-gallery-btn { display: none; }
@media (min-width: 690px) {
	.la-lf-hero-cta .la-dnow,
	.la-lf-hero-gallery-btn { min-width: 300px; box-sizing: border-box; }
	.la-lf-hero-gallery-btn {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 9px 20px;
		border-radius: var(--theme-button-border-radius, 4px);
		background: var(--theme-button-background-initial-color, var(--theme-palette-color-1));
		color: var(--theme-button-text-initial-color, #fff);
		font-size: 17px;
		font-weight: 700;
		line-height: 1.2;
		text-decoration: none;
		white-space: nowrap;
		transition: background-color .15s, transform .15s;
	}
	.la-lf-hero-gallery-btn:hover,
	.la-lf-hero-gallery-btn:focus-visible {
		background: var(--theme-button-background-hover-color, var(--theme-palette-color-2));
		color: var(--theme-button-text-hover-color, #fff);
		transform: translateY(-1px);
	}
}

/* Save dialog: account section (Adam, Nov 22: an account is needed to save a design) */
.la-lf-acct { margin: 0 0 14px; padding: 12px 14px 4px; border: 1px solid var(--theme-palette-color-5); border-radius: 6px; }
.la-lf-acct legend { padding: 0 6px; font-weight: 700; }
.la-lf-acct-modes { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 8px; }
.la-lf-acct-modes .la-lf-check { margin: 0; }
.la-lf-save-account { margin: 0 0 12px; padding: 10px 12px; border-radius: 6px; background: var(--theme-palette-color-6); }

/* Visualizer account popup (inc/livefinish-account.php, Nov 22) — same look as the first-visit offer popup */
.la-lfp[hidden] { display: none; }
.la-lfp { position: fixed; inset: 0; z-index: 99998; display: flex; padding: 16px; background: rgba(10, 14, 9, .88); overflow-y: auto; }
html[data-la-lfp="open"] body { overflow: hidden; }
.la-lfp-box { position: relative; width: 100%; max-width: 520px; margin: auto; padding: clamp(24px, 5vw, 40px); border: 1px solid var(--theme-palette-color-5); border-radius: 6px; background: var(--theme-palette-color-8); color: var(--theme-text-color); }
.la-lfp-box h2 { margin: 0 32px 12px 0; font-size: clamp(24px, 5vw, 32px); text-transform: none; } /* "LiveFinish" is never all caps */
.la-lfp-x { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: none; color: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.la-lfp-offer { padding: 10px 14px; border-left: 4px solid var(--theme-palette-color-1); border-radius: 4px; background: var(--theme-palette-color-6); }
.la-lfp-form label { display: block; margin: 0 0 12px; font-weight: 600; }
.la-lfp-form input[type="email"], .la-lfp-form input[type="password"], .la-lfp-form input[type="text"], .la-lfp-form input[type="tel"] { display: block; width: 100%; margin-top: 4px; font-weight: 400; }
.la-lfp-names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; } /* Nov 25, 2026 */
@media (max-width: 420px) { .la-lfp-names { grid-template-columns: 1fr; } }
.la-lfp-form .la-lfp-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; font-weight: 400; line-height: 1.45; }
.la-lfp-check input { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; }
.la-lfp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.la-lfp-msg { color: var(--la-required); font-weight: 600; min-height: 1em; margin: 0 0 8px; }
.la-lfp-msg a { color: inherit; }
.la-lfp-go, .la-lfp-finish { width: 100%; min-height: 48px; }
.la-lfp-small { margin: 12px 0 0; font-size: 15px; }
.la-lfp-skip { display: block; width: 100%; margin-top: 12px; padding: 10px; border: 1px solid var(--theme-palette-color-5); border-radius: var(--theme-button-border-radius, 4px); background: transparent; color: inherit; font-weight: 600; cursor: pointer; }
.la-lfp-skip:hover { border-color: var(--theme-palette-color-1); }
.la-lf-acct-offer { margin: 0 0 8px; }
/* Save dialog: name boxes, text consent, and the "Add your mobile number" step (Nov 25, 2026) */
.la-lf-save [hidden] { display: none !important; }
.la-lf-names { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
@media (max-width: 420px) { .la-lf-names { grid-template-columns: 1fr; } }
.la-lf-save .la-lf-sms span { font-size: 13px; font-weight: 400; line-height: 1.45; }
.la-lf-save-phone { position: relative; }
