/*
 * find-the-fit.css
 *
 * Ad-driven landing page: single-page funnel for the Adjustable Anti-Pull
 * Y-Harness with optional lead + collar bundle. Loaded only on the
 * page-templates/find-the-fit.php template (see conditional enqueue in
 * functions.php).
 *
 * All classes prefixed `ftf-` to avoid any collision with main.css,
 * product.css, or Storefront's own styles.
 *
 * Structure (top to bottom of file):
 *   1. Tokens (colours, type, spacing) scoped under .ftf-page
 *   2. Typography + shared helpers
 *   3. Hero + carousel
 *   4. Features carousel
 *   5. Bundle builder (product cards, sizing help, summary)
 *   6. Reviews + FAQ
 *   7. Checkout copy block
 *   8. Lightbox
 *   9. Sticky bottom bar
 *  10. Responsive breakpoints (mobile-first, extra rules at 720px and 1024px)
 */

/* ============ 1. TOKENS ============
   Scoped to :root because the CSS file only loads on this template
   (conditional enqueue). Both .ftf-page (main content) AND the
   .ftf-sticky-bar / .ftf-lightbox (which render OUTSIDE .ftf-page
   as direct body children) need these tokens to resolve. */
:root {
	--ftf-brand-orange: #FF4E00;
	--ftf-brand-orange-dark: #CC3E00;
	--ftf-brand-cream: #FAF5ED;
	--ftf-brand-cream-deep: #F0E9D8;
	--ftf-near-black: #1A1A1A;
	--ftf-off-white: #FFFFFF;
	--ftf-text: #1A1A1A;
	--ftf-text-muted: #5C5C5C;
	--ftf-text-mute-2: #8A8A8A;
	--ftf-border: rgba(26,26,26,0.14);
	--ftf-border-strong: rgba(26,26,26,0.28);
	--ftf-success: #00B67A;

	--ftf-font-display: var(--font-display, 'Fraunces', 'Georgia', serif);
	--ftf-font-body: var(--font-body, 'Sen', sans-serif);
	--ftf-font-accent: var(--font-accent, 'Caveat', cursive);

	--ftf-section-x: 20px;
	--ftf-section-y: 48px;
	--ftf-container-max: 1200px;
}
@media (min-width: 720px) { :root { --ftf-section-x: 32px; --ftf-section-y: 64px; } }
@media (min-width: 1024px) { :root { --ftf-section-x: 48px; --ftf-section-y: 80px; } }

/* ============ 2. TYPE ============ */
.ftf-page, .ftf-page *, .ftf-page *::before, .ftf-page *::after { box-sizing: border-box; }
.ftf-page { font-family: var(--ftf-font-body); color: var(--ftf-text); line-height: 1.5; font-size: 15px; }

.ftf-page h1, .ftf-page h2, .ftf-page h3, .ftf-page h4 {
	font-family: var(--ftf-font-display);
	line-height: 1.1;
	letter-spacing: -0.02em;
	text-wrap: balance;
	margin: 0;
	font-weight: 600;
}
.ftf-page h1 { font-size: 2.1rem; font-weight: 800; }
.ftf-page h2 { font-size: 1.7rem; }
.ftf-page h3 { font-size: 1.2rem; }
.ftf-page h4 { font-size: 0.95rem; font-family: var(--ftf-font-body); font-weight: 700; }
@media (min-width: 720px) { .ftf-page h1 { font-size: 2.8rem; } .ftf-page h2 { font-size: 2rem; } }
@media (min-width: 1024px) { .ftf-page h1 { font-size: 3.6rem; } .ftf-page h2 { font-size: 2.4rem; } .ftf-page h3 { font-size: 1.4rem; } }
.ftf-page .italic { font-style: italic; font-weight: 300; }
.ftf-page p { margin: 0 0 1em; }
.ftf-page p:last-child { margin-bottom: 0; }

.ftf-eyebrow {
	font-family: var(--ftf-font-body);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ftf-text-muted);
}
.ftf-script {
	font-family: var(--ftf-font-accent);
	font-weight: 700;
	font-size: 1.4rem;
	color: var(--ftf-brand-orange);
	line-height: 1;
}

/* ============ 3. HERO ============
   Entire hero is cream so the transparent-PNG harness photos in the
   carousel float in without any visible container. */
.ftf-hero {
	background: var(--ftf-brand-cream, #FAF5ED);
	color: var(--ftf-text, #1A1A1A);
	padding: var(--ftf-section-y) var(--ftf-section-x);
	position: relative;
	overflow: hidden;
}
.ftf-hero-bg { display: none; }
.ftf-hero-inner {
	position: relative;
	max-width: var(--ftf-container-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}
@media (min-width: 900px) { .ftf-hero-inner { grid-template-columns: 1fr 1fr; gap: 48px; } }
.ftf-hero-eyebrow {
	display: inline-flex;
	gap: 12px;
	color: rgba(255,255,255,0.6);
	margin-bottom: 18px;
	flex-wrap: wrap;
}
.ftf-hero-eyebrow span::before {
	content: "";
	display: inline-block;
	width: 4px; height: 4px;
	border-radius: 50%;
	background: var(--ftf-brand-orange);
	margin-right: 8px;
	vertical-align: middle;
}
.ftf-page .ftf-hero-copy h1 { color: var(--ftf-text, #1A1A1A); margin-bottom: 14px; }
.ftf-hero-tag {
	font-size: 15px;
	color: var(--ftf-text-muted, #5C5C5C);
	line-height: 1.55;
	max-width: 42ch;
	margin-bottom: 24px;
}
.ftf-hero-cta-row {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
	font-size: 12px;
	color: var(--ftf-text-muted, #5C5C5C);
}
.ftf-hero-cta-row strong { color: var(--ftf-brand-orange, #FF4E00); font-weight: 800; }
.ftf-divider { width: 1px; height: 20px; background: rgba(26,26,26,0.15); }
.ftf-hero-note {
	background: var(--ftf-brand-orange);
	padding: 14px 18px;
	margin-top: 20px;
	font-size: 12.5px;
	line-height: 1.55;
	color: var(--ftf-off-white);
}
.ftf-hero-note strong { color: var(--ftf-off-white); font-weight: 800; }

/* Hero carousel — transparent so the surrounding cream hero shows
   right through. Square aspect (1:1) on every viewport. Product
   PNGs are cropped to fill the square (cover), not letterboxed. */
.ftf-hero-carousel {
	aspect-ratio: 1 / 1;
	position: relative;
	overflow: hidden;
	max-width: 100%;
	background: transparent;
}
@media (min-width: 900px) { .ftf-hero-carousel { max-width: 500px; margin-left: auto; } }
.ftf-hero-slides {
	display: flex;
	height: 100%;
	width: 100%;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.ftf-hero-slides::-webkit-scrollbar { display: none; }
.ftf-hero-slide {
	flex: 0 0 100%;
	height: 100%;
	scroll-snap-align: start;
	position: relative;
	overflow: hidden;
	background: transparent;
}
.ftf-hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}
.ftf-hero-badge {
	position: absolute;
	top: 12px; left: 12px;
	background: var(--ftf-brand-orange);
	color: var(--ftf-off-white);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.14em;
	padding: 5px 9px;
	text-transform: uppercase;
	z-index: 3;
}
.ftf-hero-counter {
	position: absolute;
	top: 12px; right: 12px;
	background: var(--ftf-near-black, #1A1A1A);
	color: var(--ftf-off-white, #FFFFFF);
	font-size: 11px;
	font-weight: 700;
	padding: 4px 9px;
	z-index: 3;
	letter-spacing: 0.06em;
}
.ftf-hero-dots {
	position: absolute;
	bottom: 10px; left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 5px;
	z-index: 3;
}
.ftf-hero-dot {
	width: 5px; height: 5px;
	border-radius: 50%;
	background: rgba(26,26,26,0.3);
	border: 0;
	cursor: pointer;
	transition: all 0.25s ease;
	padding: 0;
}
.ftf-hero-dot[aria-current="true"] {
	background: var(--ftf-near-black, #1A1A1A);
	width: 18px;
	border-radius: 3px;
}

/* ============ 4. FEATURES ============
   Black band between the cream hero and the (white) product picker,
   so the page runs cream → black → white → cream → orange → footer.
   Section headline colours are overridden below to sit on the dark
   background; cards stay white for contrast against the black. */
.ftf-section-features {
	background: var(--ftf-near-black, #1A1A1A);
	color: var(--ftf-off-white, #FFFFFF);
	padding: var(--ftf-section-y) 0;
}
.ftf-section-features .seo-content-header { margin-bottom: 32px; }
.ftf-section-features .seo-content-title { color: var(--ftf-off-white, #FFFFFF); }
.ftf-section-features .seo-content-sub { color: rgba(255,255,255,0.72); }

/* Cards → white on cream (section BG is cream, cards need contrast). */
.ftf-section-features .feature-card {
	background: #FFFFFF;
	background: var(--ftf-off-white, #FFFFFF);
}
.ftf-section-features .feature-card:hover {
	background: var(--brand-orange, #FF4E00);
}
/* Explicit card widths per breakpoint so the horizontal scroll
   carousel actually shows the intended card count regardless of what
   the parent .container's max-width resolves to.
   Mobile: 82% (edge of next peeking). Tablet: 44% (2 visible).
   Desktop: 25% (4 visible). Matches the harness category page. */
.ftf-section-features .feature-card {
	flex: 0 0 82%;
	max-width: none;
	min-width: 240px;
}
@media (min-width: 720px) {
	.ftf-section-features .feature-card {
		flex: 0 0 calc(50% - 6px);
	}
}
@media (min-width: 1024px) {
	.ftf-section-features .feature-card {
		flex: 0 0 calc(25% - 9px);
		min-width: 220px;
	}
}

/* ============ 5. BUNDLE BUILDER ============ */
.ftf-builder { background: var(--ftf-off-white); padding: var(--ftf-section-y) var(--ftf-section-x); }
.ftf-builder-head { text-align: center; max-width: 620px; margin: 0 auto 32px; }
.ftf-builder-head .ftf-script { display: block; margin-bottom: 4px; }
.ftf-builder-head h2 { margin-bottom: 10px; }
.ftf-builder-head p { color: var(--ftf-text-muted); font-size: 14px; margin: 0; }

.ftf-builder-cards {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
	max-width: var(--ftf-container-max);
	margin: 0 auto;
}
@media (min-width: 900px) {
	.ftf-builder-cards {
		/* dense fill lets the plus signs and cards flow into row 1
		   while the sizing help block sits at row 2 spanning cols 1-5. */
		grid-template-columns: 1fr auto 1fr auto 1fr;
		grid-auto-flow: dense;
		gap: 14px;
		align-items: stretch;
	}
	.ftf-builder-cards > .ftf-pcard-help-block--standalone {
		grid-column: 1 / -1;
		grid-row: 2;
		margin: 0;
	}
}

.ftf-bundle-plus {
	font-family: var(--ftf-font-display);
	font-size: 28px;
	color: var(--ftf-brand-orange);
	text-align: center;
	align-self: center;
	font-weight: 300;
}

.ftf-pcard {
	background: var(--ftf-off-white);
	border: 1px solid var(--ftf-border-strong);
	display: flex;
	flex-direction: column;
	position: relative;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}
.ftf-pcard[data-off] { opacity: 0.55; }
.ftf-pcard[data-off] .ftf-pcard-body > *:not(.ftf-pcard-toggle-row) { pointer-events: none; }
/* Legacy absolute-positioned tags — no longer rendered by the
   template (replaced by .ftf-pcard-top-bar). Kept as inert rules so
   any stale HTML output during a cache warm-up doesn't spike weirdly. */
.ftf-pcard-required-tag,
.ftf-pcard-free-tag { display: none; }
.ftf-pcard[data-free] .ftf-pcard-free-tag { display: block; }
.ftf-pcard[data-free] { border-color: var(--ftf-brand-orange); border-width: 2px; }

.ftf-pcard-media {
	aspect-ratio: 4 / 3;
	background: transparent;
	position: relative;
	overflow: hidden;
}
.ftf-pcard-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	display: block;
}
.ftf-pcard-media-label { display: none; }
.ftf-pcard-body {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 1;
}
.ftf-pcard-cat {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ftf-text-muted);
}
/* Top bar shared by all three cards so image tops align. */
.ftf-pcard-top-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	font-weight: 700;
	padding: 12px 16px;
	min-height: 44px;
	box-sizing: border-box;
	background: var(--ftf-brand-cream);
}
.ftf-pcard-toggle-row {
	cursor: pointer;
	user-select: none;
}
/* Required label — same footprint as the toggle row so the image
   below starts at the same Y position across all three cards. */
.ftf-pcard-required-bar {
	justify-content: flex-end;
	background: var(--ftf-near-black, #1A1A1A);
	color: var(--ftf-off-white, #FFFFFF);
}
.ftf-pcard-required-label {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.ftf-pcard-toggle {
	width: 20px; height: 20px;
	border: 1.5px solid var(--ftf-border-strong);
	background: var(--ftf-off-white);
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ftf-off-white);
	font-size: 13px;
	font-weight: 800;
}
.ftf-pcard[data-off] .ftf-pcard-toggle { background: var(--ftf-off-white); }
.ftf-pcard:not([data-off]) .ftf-pcard-toggle {
	background: var(--ftf-near-black);
	border-color: var(--ftf-near-black);
}
.ftf-pcard:not([data-off]) .ftf-pcard-toggle::after { content: "✓"; }
.ftf-pcard[data-free]:not([data-off]) .ftf-pcard-toggle {
	background: var(--ftf-brand-orange);
	border-color: var(--ftf-brand-orange);
}
.ftf-pcard-toggle-label { flex: 1; text-transform: capitalize; }
.ftf-pcard-toggle-hint { font-size: 10px; color: var(--ftf-brand-orange); font-weight: 800; letter-spacing: 0.06em; }

.ftf-pcard-product-name {
	font-family: var(--ftf-font-display);
	font-size: 18px;
	font-weight: 700;
	margin: 0;
	letter-spacing: -0.01em;
	line-height: 1.15;
}
.ftf-pcard-product-link {
	font-size: 11px;
	color: var(--ftf-text-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
	font-weight: 400;
	background: transparent;
	border: 0;
	padding: 0;
	font-family: inherit;
	cursor: pointer;
	text-align: left;
	align-self: flex-start;
}
.ftf-pcard-product-link:hover { color: var(--ftf-brand-orange); }

.ftf-pcard-chart-embed {
	display: block;
	width: 100%;
	background: var(--ftf-brand-cream);
	border: 1px dashed var(--ftf-border-strong);
	padding: 14px 12px;
	color: var(--ftf-text);
	font-family: var(--ftf-font-body);
	font-size: 13px;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}
.ftf-pcard-chart-embed:hover { border-color: var(--ftf-brand-orange); background: var(--ftf-brand-cream-deep); }
.ftf-pcard-chart-embed-inner { display: flex; flex-direction: column; gap: 3px; align-items: center; }
.ftf-pcard-chart-embed-label { font-family: var(--ftf-font-display); font-weight: 700; font-size: 14px; }
.ftf-pcard-chart-embed-hint { font-size: 10px; color: var(--ftf-brand-orange); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.ftf-pcard-opt-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ftf-text-muted);
	margin-bottom: 6px;
	display: flex;
	justify-content: space-between;
}
.ftf-pcard-opt-current { color: var(--ftf-text); font-weight: 700; font-size: 12px; text-transform: none; letter-spacing: 0.02em; }

.ftf-pcard-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.ftf-pswatch {
	width: 26px; height: 26px;
	border: 2px solid transparent;
	outline: 1px solid var(--ftf-border);
	outline-offset: 2px;
	cursor: pointer;
	border-radius: 50%;
	transition: transform 0.15s ease;
	padding: 0;
}
.ftf-pswatch:hover { transform: scale(1.1); }
.ftf-pswatch[aria-checked="true"] { outline: 2px solid var(--ftf-near-black); }
.ftf-pswatch[data-oos] {
	opacity: 0.35;
	cursor: not-allowed;
	position: relative;
}
.ftf-pswatch[data-oos]::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(to top right,
			transparent calc(50% - 1px),
			rgba(0,0,0,0.6) calc(50% - 1px),
			rgba(0,0,0,0.6) calc(50% + 1px),
			transparent calc(50% + 1px)
		);
	border-radius: 50%;
	pointer-events: none;
}
.ftf-pswatch[data-oos]:hover { transform: none; }

.ftf-pcard-sizes { display: flex; gap: 6px; flex-wrap: wrap; }
.ftf-psize {
	min-width: 44px;
	padding: 8px 10px;
	border: 1px solid var(--ftf-border-strong);
	background: var(--ftf-off-white);
	font-family: var(--ftf-font-body);
	font-weight: 700;
	font-size: 12px;
	letter-spacing: 0.04em;
	cursor: pointer;
}
.ftf-psize[aria-checked="true"] {
	background: var(--ftf-near-black);
	color: var(--ftf-off-white);
	border-color: var(--ftf-near-black);
}
.ftf-psize[data-oos] {
	color: var(--ftf-text-mute-2);
	background: repeating-linear-gradient(-45deg, transparent 0 4px, rgba(26,26,26,0.06) 4px 5px);
	cursor: not-allowed;
}

.ftf-pcard-qty-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}
.ftf-pcard-qty-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ftf-text-muted);
}
.ftf-pcard-qty-label small {
	color: var(--ftf-text-mute-2);
	font-weight: 400;
	font-size: 10px;
	text-transform: none;
	letter-spacing: 0.02em;
	display: block;
	margin-top: 2px;
}
.ftf-pcard-qty {
	display: flex;
	border: 1px solid var(--ftf-border-strong);
	align-items: stretch;
	flex-shrink: 0;
}
.ftf-pcard-qty button {
	width: 32px;
	background: var(--ftf-off-white);
	border: 0;
	font-size: 15px;
	font-weight: 800;
	cursor: pointer;
	color: var(--ftf-text);
}
.ftf-pcard-qty button:hover { background: var(--ftf-brand-cream); }
.ftf-pcard-qty input {
	width: 40px;
	border: 0;
	border-left: 1px solid var(--ftf-border-strong);
	border-right: 1px solid var(--ftf-border-strong);
	text-align: center;
	font-family: var(--ftf-font-body);
	font-weight: 800;
	font-size: 14px;
	background: var(--ftf-off-white);
	-moz-appearance: textfield;
	padding: 0;
}
.ftf-pcard-qty input::-webkit-outer-spin-button,
.ftf-pcard-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Sizing help block — standalone (renders as its own grid item,
   sits under harness on mobile, spans all 3 columns on desktop). */
.ftf-pcard-help-block {
	padding: 18px;
	background: var(--ftf-brand-orange);
	color: var(--ftf-off-white);
	display: flex;
	flex-direction: column;
	gap: 12px;
}
@media (min-width: 720px) {
	.ftf-pcard-help-block--standalone {
		flex-direction: row;
		align-items: center;
		gap: 24px;
	}
	.ftf-pcard-help-block--standalone .ftf-pcard-help-body { flex: 1; }
	.ftf-pcard-help-block--standalone .ftf-pcard-help-buttons { flex: 0 0 260px; }
}
.ftf-pcard-help-body strong {
	display: block;
	font-family: var(--ftf-font-body);
	font-size: 18px;
	font-weight: 800;
	margin-bottom: 8px;
	color: var(--ftf-off-white);
	letter-spacing: -0.005em;
	line-height: 1.2;
}
@media (min-width: 1024px) {
	.ftf-pcard-help-block--standalone .ftf-pcard-help-body strong { font-size: 22px; }
}
.ftf-pcard-help-body p {
	font-size: 12px;
	line-height: 1.55;
	color: rgba(255,255,255,0.92);
	margin: 0 0 8px;
}
.ftf-pcard-help-body em {
	color: var(--ftf-off-white);
	font-family: var(--ftf-font-accent);
	font-weight: 700;
	font-style: normal;
	text-transform: none;
	font-size: 18px;
	letter-spacing: 0.02em;
	display: block;
	line-height: 1.1;
}
.ftf-pcard-help-buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.ftf-pcard-help-btn {
	background: transparent;
	border: 1.5px solid rgba(255,255,255,0.6);
	color: var(--ftf-off-white);
	padding: 12px 12px;
	font-family: var(--ftf-font-body);
	font-weight: 800;
	letter-spacing: 0.1em;
	font-size: 11px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease;
}
.ftf-pcard-help-btn[aria-pressed="true"] {
	background: var(--ftf-off-white);
	color: var(--ftf-brand-orange);
	border-color: var(--ftf-off-white);
}
.ftf-pcard-help-btn[aria-pressed="false"] {
	opacity: 0.45;
	text-decoration: line-through;
	text-decoration-thickness: 1.5px;
	background: rgba(0,0,0,0.08);
	border-color: rgba(255,255,255,0.35);
}
.ftf-pcard-help-btn[aria-pressed="false"]:hover {
	opacity: 0.85;
	background: rgba(255,255,255,0.15);
}

.ftf-pcard-price {
	margin-top: auto;
	padding-top: 12px;
	border-top: 1px solid var(--ftf-border);
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}
.ftf-pcard-price-label {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ftf-text-muted);
}
.ftf-pcard-price-amount {
	font-family: var(--ftf-font-display);
	font-size: 20px;
	font-weight: 800;
}
.ftf-pcard-price-was { color: var(--ftf-text-mute-2); text-decoration: line-through; font-size: 12px; margin-right: 6px; }
.ftf-pcard-price-free {
	color: var(--ftf-brand-orange);
	font-family: var(--ftf-font-display);
	font-size: 20px;
	font-weight: 800;
}

/* Bundle summary */
.ftf-bundle-summary {
	background: var(--ftf-near-black);
	color: var(--ftf-off-white);
	padding: 24px;
	margin: 24px auto 0;
	max-width: var(--ftf-container-max);
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	align-items: center;
}
@media (min-width: 720px) { .ftf-bundle-summary { grid-template-columns: 1fr auto; } }
.ftf-bundle-summary-lines { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.ftf-bs-line { display: flex; justify-content: space-between; gap: 12px; color: rgba(255,255,255,0.75); }
.ftf-bs-line-free { color: var(--ftf-brand-orange); font-weight: 700; }
.ftf-bs-line-total {
	font-family: var(--ftf-font-display);
	font-size: 24px;
	font-weight: 800;
	color: var(--ftf-off-white);
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding-top: 8px;
	border-top: 1px solid rgba(255,255,255,0.15);
	margin-top: 4px;
}
.ftf-bs-code {
	background: rgba(255,78,0,0.15);
	border: 1px dashed rgba(255,78,0,0.5);
	padding: 8px 12px;
	font-family: var(--ftf-font-body);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ftf-brand-orange);
	text-align: center;
	margin-top: 6px;
	display: none;
}
.ftf-bs-code[data-visible] { display: block; }
.ftf-bs-code strong { color: var(--ftf-off-white); font-family: monospace; letter-spacing: 0.24em; }
.ftf-bs-hint {
	font-size: 11px;
	color: rgba(255,255,255,0.55);
	text-align: center;
	margin-top: 6px;
	font-style: italic;
}
.ftf-bs-hint[hidden] { display: none; }
.ftf-bs-cta {
	background: var(--ftf-brand-orange);
	color: var(--ftf-off-white);
	border: 0;
	padding: 16px 22px;
	font-family: var(--ftf-font-body);
	font-weight: 800;
	letter-spacing: 0.14em;
	font-size: 12px;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.15s ease;
}
.ftf-bs-cta:hover { background: var(--ftf-brand-orange-dark); }

/* ============ 6. REVIEWS + FAQ ============
   Uses .reviews-section + .review-card + .faq-section styles from
   product.css / shop.css (both enqueued alongside this file). Only
   overrides needed here: the review card grid + Load More button. */
.ftf-section-reviews .commentlist {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media (min-width: 720px) { .ftf-section-reviews .commentlist { grid-template-columns: 1fr 1fr; } }

/* Force-hide review items past the initial batch. product.css or
   Storefront's default .review styles may set display:block/flex
   which would override the browser's default [hidden] { display:none }. */
.ftf-section-reviews .ftf-review-item[hidden] { display: none !important; }

.ftf-reviews-cta {
	text-align: center;
	margin-top: 32px;
}
.ftf-reviews-cta[hidden] { display: none; }
.ftf-reviews-more[hidden] { display: none; }
/* Uses .reviews-cta-button styling from product.css (black pill,
   uppercase label). The only thing we add here is a hover polish. */
.ftf-reviews-more:hover { background: var(--brand-orange, #FF4E00); }

/* ---- FAQ: touch the footer ----
   The section already sits below the reviews. Reset the .ftf-page
   bottom padding when the FAQ is the last block so the orange runs
   all the way into the footer instead of leaving a white gutter. */
.page-template-find-the-fit #content,
.page-template-find-the-fit #main,
.page-template-find-the-fit .site-main {
	padding-bottom: 0 !important;
	margin-bottom: 0 !important;
}
.ftf-page { padding-bottom: 0 !important; }
.ftf-page > :last-child.faq-section { margin-bottom: 0; padding-bottom: var(--section-y); }

/* ============ 7. CHECKOUT COPY (call to action) ============ */
.ftf-checkout-copy { background: var(--ftf-off-white); padding: var(--ftf-section-y) var(--ftf-section-x); }
.ftf-checkout-copy > * { max-width: 780px; margin-left: auto; margin-right: auto; }
.ftf-checkout-head { text-align: center; margin-bottom: 28px; }
.ftf-checkout-head .ftf-script { display: block; margin-bottom: 4px; }
.ftf-checkout-head h2 { margin-bottom: 8px; }
.ftf-checkout-head p { color: var(--ftf-text-muted); font-size: 13px; margin: 0; line-height: 1.55; }
.ftf-checkout-head p strong { color: var(--ftf-text); font-weight: 800; }
.ftf-checkout-summary {
	background: var(--ftf-brand-cream);
	padding: 18px 22px;
	margin-bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ftf-checkout-summary:empty { display: none; }
.ftf-check-line { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.ftf-check-line-total {
	padding-top: 10px;
	border-top: 1px solid var(--ftf-border);
	font-family: var(--ftf-font-display);
	font-size: 18px;
	font-weight: 800;
}
.ftf-check-save { color: var(--ftf-success); font-weight: 700; }
.ftf-check-submit {
	width: 100%;
	background: var(--ftf-near-black);
	color: var(--ftf-off-white);
	border: 0;
	padding: 18px;
	font-family: var(--ftf-font-body);
	font-weight: 800;
	letter-spacing: 0.14em;
	font-size: 12px;
	text-transform: uppercase;
	cursor: pointer;
	transition: background 0.15s ease;
}
.ftf-check-submit:hover:not(:disabled) { background: #000; }
.ftf-check-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.ftf-check-submit strong { color: var(--ftf-brand-orange); }
.ftf-checkout-hint {
	text-align: center;
	font-size: 11px;
	color: var(--ftf-text-mute-2);
	margin: 12px 0 0;
}

/* ============ 8. LIGHTBOX ============ */
.ftf-lightbox[hidden] { display: none !important; }
.ftf-lightbox {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.ftf-lightbox-backdrop {
	position: absolute; inset: 0;
	background: rgba(0,0,0,0.78);
	cursor: pointer;
}
.ftf-lightbox-inner {
	position: relative;
	background: var(--ftf-off-white);
	max-width: 720px;
	width: 100%;
	max-height: 90vh;
	overflow: auto;
	padding: 44px 24px 28px;
	z-index: 1;
}
.ftf-lightbox-close {
	position: absolute;
	top: 10px; right: 10px;
	width: 34px; height: 34px;
	background: transparent;
	border: 0;
	font-size: 24px;
	font-weight: 300;
	cursor: pointer;
	z-index: 2;
	line-height: 1;
	color: var(--ftf-text);
}
.ftf-lightbox-close:hover { color: var(--ftf-brand-orange); }
.ftf-lightbox-content h3 {
	font-family: var(--ftf-font-display);
	font-size: 22px;
	font-weight: 700;
	margin: 0 0 4px;
	color: var(--ftf-text);
}
.ftf-lightbox-content .ftf-lightbox-sub {
	font-size: 12px;
	color: var(--ftf-text-muted);
	margin-bottom: 20px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-weight: 700;
}
.ftf-lightbox-content img {
	width: 100%;
	height: auto;
	display: block;
	margin: 0;
}

/* ============ 9. STICKY BAR ============ */
.ftf-sticky-bar {
	position: fixed;
	bottom: 0; left: 0; right: 0;
	background: #1A1A1A;
	background: var(--ftf-near-black, #1A1A1A);
	color: #FFFFFF;
	color: var(--ftf-off-white, #FFFFFF);
	padding: 12px var(--ftf-section-x, 20px);
	padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
	z-index: 30;
	transform: translateY(100%);
	transition: transform 0.3s ease;
	border-top: 1px solid rgba(255,255,255,0.1);
}
/* Inner wrapper constrains content to the same 1200px container the
   rest of the page uses, so the sticky bar CONTENT lines up with the
   product cards / hero copy above it while the bar background still
   spans the full viewport. */
.ftf-sticky-bar-inner {
	max-width: var(--ftf-container-max, 1200px);
	margin: 0 auto;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}
.ftf-sticky-bar[data-visible] { transform: translateY(0); }
.ftf-sticky-bar-copy { display: flex; flex-direction: column; gap: 1px; font-size: 11px; min-width: 0; }
.ftf-sticky-bar-label {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	color: rgba(255,255,255,0.7);
}
.ftf-sticky-bar-price { font-family: var(--ftf-font-display); font-size: 18px; font-weight: 800; }
.ftf-sticky-bar-save { color: var(--ftf-brand-orange); font-size: 10px; font-weight: 800; letter-spacing: 0.08em; }
.ftf-sticky-bar-cta {
	background: var(--ftf-brand-orange);
	color: var(--ftf-off-white);
	border: 0;
	padding: 11px 16px;
	font-family: var(--ftf-font-body);
	font-weight: 800;
	letter-spacing: 0.1em;
	font-size: 11px;
	text-transform: uppercase;
	cursor: pointer;
	white-space: nowrap;
}
.ftf-sticky-bar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Add breathing room at the bottom so the sticky bar doesn't cover
   the last piece of content when the page is scrolled to the bottom. */
.ftf-page { padding-bottom: 100px; }

/* Focus / accessibility */
.ftf-page button:focus-visible,
.ftf-page input:focus-visible,
.ftf-page .ftf-pswatch:focus-visible {
	outline: 2px solid var(--ftf-brand-orange);
	outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
	.ftf-page *, .ftf-page *::before, .ftf-page *::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}
html:has(.ftf-page) { scroll-behavior: smooth; }

/* ============ STOREFRONT WRAPPER RESET ============
   Storefront wraps every page in .col-full / #primary / .content-area
   with fixed max-width, side padding, and a sidebar column. The
   landing page needs the full viewport width with no chrome, so we
   flatten Storefront's layout around this template only. */
.page-template-find-the-fit .col-full,
.page-template-find-the-fit #primary,
.page-template-find-the-fit #main,
.page-template-find-the-fit .site-main,
.page-template-find-the-fit .content-area {
	max-width: none !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	border: 0 !important;
}
.page-template-find-the-fit #content { padding-top: 0 !important; }
.page-template-find-the-fit .entry-header,
.page-template-find-the-fit .entry-footer,
.page-template-find-the-fit .post-thumbnail { display: none !important; }
.page-template-find-the-fit .hentry {
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}
.page-template-find-the-fit .entry-content { margin: 0 !important; }
/* Kill any lingering Storefront sidebar column. */
.page-template-find-the-fit #secondary,
.page-template-find-the-fit .widget-area { display: none !important; }
