/*
 * FIXO Estimator — wizard styles
 *
 * The proportions were measured off the approved design screenshots; the colours
 * are the site's own. Every token below reads the theme variable that
 * fixo-elementor.css already defines on :root — --fx-ink, --fx-navy,
 * --fx-soft, --fx-line, --fx-aqua and friends — with the current value as a
 * fallback. Retheme the site and the estimator follows automatically; there is
 * no second palette to keep in step.
 *
 * Cascade notes (learned the hard way on this site):
 *  - hello-elementor's reset.css styles `[type=button], button` and Elementor's
 *    kit styles `.elementor-kit-7 button`, `… a`, `… h1-h6`, `… p` at (0,1,1).
 *    Every rule here is anchored to `.fest-wrap` so it lands at (0,2,0) or
 *    better and wins without a single !important.
 *  - `.fest-*` is a fresh namespace: nothing in fixo-elementor.css, fixo-hf.css
 *    or the theme uses it, so there is no collision to inherit.
 *  - Tokens live on `.fest-wrap`, not :root, so two estimators on one page can
 *    be themed separately and nothing leaks into the rest of the page.
 */

.fest-wrap {
	/* Site palette, read straight from the theme's own custom properties. */
	--fest-ink: var(--fx-ink, #1B2540);            /* headings, dark ground   */
	--fest-band: var(--fx-ink, #1B2540);           /* the full-width band     */
	--fest-sel: var(--fx-navy-deep, #3B5080);      /* a chosen option         */
	--fest-accent: var(--fx-navy, #4D6598);        /* progress, primary CTA   */
	--fest-accent-d: var(--fx-navy-deep, #3B5080);
	--fest-accent-rgb: 77, 101, 152;               /* for focus rings         */
	--fest-body: var(--fx-ink-2, #4A5470);
	--fest-muted: var(--fx-ink-3, #7C86A2);
	--fest-label: var(--fx-ink-3, #7C86A2);
	--fest-fill: var(--fx-soft, #F5F7FC);          /* inputs, unchosen rows   */
	--fest-fill-h: #EAEFF9;
	--fest-rule: var(--fx-line, #E4E9F4);
	--fest-dot: #CBD4E8;                           /* a step not reached yet  */
	--fest-off: #AFB8CE;                           /* disabled button         */
	--fest-ok: #EDF9FB;                            /* confirmation wash       */
	--fest-ok-b: var(--fx-aqua, #B9F4F9);
	--fest-drop: #F6FBFD;
	--fest-drop-b: #A7DCE6;
	--fest-well: var(--fx-aqua, #B9F4F9);          /* icon tile in the dropzone */
	--fest-err: #B3261E;
	--fest-r: 16px;
	--fest-r-sm: 10px;
	--fest-shadow: 0 18px 48px rgba(27, 37, 64, .16);
	--fest-font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	box-sizing: border-box;
	max-width: 720px;
	margin: 0 auto;
	font-family: var(--fest-font);
	-webkit-font-smoothing: antialiased;
	text-align: left;
}

.fest-wrap *,
.fest-wrap *::before,
.fest-wrap *::after {
	box-sizing: border-box;
}

/* ---------------------------------------------------------------- band */

.fest-band {
	background: var(--fest-band);
	padding: 64px 28px;
}

@media (max-width: 767px) {
	.fest-band { padding: 40px 16px; }
}

/* ---------------------------------------------------------------- card */

.fest-wrap .fest-card {
	background: #fff;
	border-radius: var(--fest-r);
	box-shadow: var(--fest-shadow);
	overflow: hidden;
}

/* ------------------------------------------------------------- header */

.fest-wrap .fest-head {
	display: flex;
	align-items: center;
	gap: 13px;
	padding: 19px 28px;
	background: #fff;
	border-bottom: 1px solid var(--fest-rule);
}

.fest-wrap .fest-mark {
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 11px;
	background: var(--fest-accent);
	color: #fff;
}

.fest-wrap .fest-mark .fest-ico {
	width: 18px;
	height: 18px;
}

.fest-wrap .fest-head-t {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.fest-wrap .fest-head-t strong {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fest-ink);
}

.fest-wrap .fest-head-t span {
	font-size: 12.5px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--fest-muted);
}

.fest-wrap .fest-body {
	padding: 24px 28px 28px;
}

@media (max-width: 600px) {
	.fest-wrap .fest-head { padding: 15px 18px; gap: 11px; }
	.fest-wrap .fest-mark { width: 34px; height: 34px; border-radius: 10px; }
	.fest-wrap .fest-head-t strong { font-size: 15px; }
	.fest-wrap .fest-head-t span { font-size: 11.5px; }
	.fest-wrap .fest-body { padding: 20px 18px 22px; }
}

/* ------------------------------------------------------------- icons */

.fest-wrap .fest-ico {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	display: block;
}

/* ---------------------------------------------------------- progress */

.fest-wrap .fest-prog {
	margin: 0 0 24px;
}

.fest-wrap .fest-prog-row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 9px;
}

.fest-wrap .fest-prog-step {
	font-size: 13px;
	font-weight: 700;
	color: var(--fest-accent);
	letter-spacing: .005em;
}

.fest-wrap .fest-prog-pct {
	font-size: 12.5px;
	font-weight: 500;
	color: var(--fest-muted);
}

.fest-wrap .fest-bar {
	height: 6px;
	border-radius: 999px;
	background: var(--fest-fill);
	overflow: hidden;
}

.fest-wrap .fest-bar i {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: var(--fest-accent);
	transition: width .32s cubic-bezier(.4, 0, .2, 1);
}

/* Seven dots, evenly spread across the full bar width — space-between, not a
 * cluster on the left. This is what the design does and it reads as a map of
 * the whole journey rather than a second progress bar. */
.fest-wrap .fest-dots {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
}

.fest-wrap .fest-dots li {
	width: 7px;
	height: 7px;
	margin: 0;
	border-radius: 50%;
	background: var(--fest-dot);
	transition: background .2s ease;
}

.fest-wrap .fest-dots li.is-on,
.fest-wrap .fest-dots li.is-done {
	background: var(--fest-accent);
}

/* -------------------------------------------------------------- panels */

.fest-wrap .fest-panel {
	display: none;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.fest-wrap .fest-panel.is-active {
	display: block;
	animation: fest-in .26s ease both;
}

@keyframes fest-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.fest-wrap .fest-panel.is-active,
	.fest-wrap .fest-reveal { animation: none; }
	.fest-wrap .fest-bar i { transition: none; }
}

.fest-wrap .fest-q {
	margin: 0 0 5px;
	font-size: 23px;
	font-weight: 600;
	line-height: 1.28;
	letter-spacing: -.01em;
	color: var(--fest-ink);
	outline: none;
}

.fest-wrap .fest-qsub {
	margin: 0 0 20px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--fest-muted);
}

/* A sub-question inside a step (step 5 has two). */
.fest-wrap .fest-subq {
	margin: 0 0 11px;
	font-size: 14.5px;
	font-weight: 400;
	line-height: 1.4;
	color: var(--fest-ink);
}

@media (max-width: 600px) {
	.fest-wrap .fest-q { font-size: 20px; }
	.fest-wrap .fest-qsub { font-size: 13.5px; }
}

.fest-wrap .fest-rule {
	height: 1px;
	margin: 22px 0;
	border: 0;
	background: var(--fest-rule);
}

/* -------------------------------------------------------------- inputs */

/* Field labels are small caps-height uppercase, well-tracked, muted — the
 * design's quietest text, so the question above stays the loudest thing. */
.fest-wrap .fest-label {
	display: block;
	margin: 0 0 8px;
	font-size: 11.5px;
	font-weight: 600;
	line-height: 1.3;
	text-transform: uppercase;
	letter-spacing: .085em;
	color: var(--fest-label);
}

.fest-wrap .fest-input {
	display: block;
	width: 100%;
	padding: 14px 17px;
	font-family: inherit;
	font-size: 15px;
	line-height: 1.35;
	color: var(--fest-ink);
	background: var(--fest-fill);
	border: 0;
	border-radius: var(--fest-r-sm);
	box-shadow: none;
	transition: background .16s ease, box-shadow .16s ease;
	-webkit-appearance: none;
	appearance: none;
}

.fest-wrap .fest-input::placeholder {
	color: #9AA3BC;
	opacity: 1;
}

.fest-wrap .fest-input:hover {
	background: var(--fest-fill-h);
}

.fest-wrap .fest-input:focus,
.fest-wrap .fest-input:focus-visible {
	outline: none;
	background: #fff;
	box-shadow: inset 0 0 0 2px var(--fest-accent);
}

.fest-wrap .fest-input.has-error {
	box-shadow: inset 0 0 0 2px var(--fest-err);
}

/* Spinners are noise on a square-footage field. */
.fest-wrap .fest-input[type=number] {
	-moz-appearance: textfield;
}

.fest-wrap .fest-input[type=number]::-webkit-outer-spin-button,
.fest-wrap .fest-input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.fest-wrap .fest-select {
	padding-right: 42px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C86A2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 14px center;
	background-size: 16px 16px;
}

.fest-wrap .fest-select:focus {
	background-color: #fff;
}

.fest-wrap .fest-grid {
	display: grid;
	gap: 16px;
	margin: 0 0 16px;
}

.fest-wrap .fest-grid-2 { grid-template-columns: 1fr 1fr; }
.fest-wrap .fest-grid-3 { grid-template-columns: 1fr 1fr 1fr; }

@media (max-width: 560px) {
	.fest-wrap .fest-grid-2,
	.fest-wrap .fest-grid-3 { grid-template-columns: 1fr; }
}

.fest-wrap .fest-help {
	margin: 8px 0 0;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--fest-muted);
}

/* ------------------------------------------- confirm / error / info */

.fest-wrap .fest-confirm {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 14px 0 0;
	padding: 12px 15px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--fest-ink);
	background: var(--fest-ok);
	border: 1px solid var(--fest-ok-b);
	border-radius: var(--fest-r-sm);
}

.fest-wrap .fest-confirm::before {
	content: "";
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D6598' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7'/%3E%3C/svg%3E") center / 15px 15px no-repeat;
}

.fest-wrap .fest-error {
	margin: 12px 0 0;
	font-size: 13px;
	font-weight: 500;
	color: var(--fest-err);
}

.fest-wrap .fest-info {
	margin: 16px 0 0;
	padding: 13px 16px;
	font-size: 13px;
	line-height: 1.55;
	color: var(--fest-body);
	background: var(--fest-fill);
	border-radius: var(--fest-r-sm);
}

.fest-wrap .fest-skipnote {
	margin: 16px 0 0;
	font-size: 12.5px;
	text-align: center;
	color: var(--fest-muted);
}

/* A sub-question inside a revealed block sits tighter than a top-level one. */
.fest-wrap .fest-subq-sm {
	margin: 14px 0 9px;
	font-size: 13.5px;
	color: var(--fest-muted);
}

.fest-wrap .fest-label-loose {
	margin-top: 18px;
}

/* Scope the visitor could not price for us — named, not silently dropped. */
.fest-wrap .fest-pending {
	margin: 16px 0 0;
	padding: 13px 16px 13px 34px;
	list-style: disc;
	background: var(--fest-fill);
	border-radius: var(--fest-r-sm);
	font-size: 13px;
	line-height: 1.55;
	color: var(--fest-body);
}

.fest-wrap .fest-pending li {
	margin: 0 0 5px;
}

.fest-wrap .fest-pending li:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------- option rows */

.fest-wrap .fest-opts {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fest-wrap .fest-opt {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	padding: 15px 18px;
	cursor: pointer;
	background: var(--fest-fill);
	border: 0;
	border-radius: var(--fest-r-sm);
	transition: background .15s ease, color .15s ease;
}

.fest-wrap .fest-opt:hover {
	background: var(--fest-fill-h);
}

.fest-wrap .fest-opt input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.fest-wrap .fest-opt-in {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 3px;
	min-width: 0;
}

.fest-wrap .fest-opt-t {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--fest-ink);
}

.fest-wrap .fest-opt-d {
	font-size: 13px;
	line-height: 1.45;
	color: var(--fest-muted);
}

/* The tick only exists once a row is chosen; an unchosen row shows nothing
 * on the right, exactly as the design does. */
.fest-wrap .fest-tick {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	opacity: 0;
	transform: scale(.8);
	transition: opacity .15s ease, transform .15s ease;
}

.fest-wrap .fest-tick .fest-ico {
	width: 18px;
	height: 18px;
	stroke-width: 2.6;
}

/* Selected: navy fill, white type. Two selectors for the same state — :has()
 * for the modern path, .is-on set by the JS as the guaranteed fallback. */
.fest-wrap .fest-opt:has(input:checked),
.fest-wrap .fest-opt.is-on {
	background: var(--fest-sel);
}

.fest-wrap .fest-opt:has(input:checked) .fest-opt-t,
.fest-wrap .fest-opt.is-on .fest-opt-t {
	color: #fff;
}

.fest-wrap .fest-opt:has(input:checked) .fest-opt-d,
.fest-wrap .fest-opt.is-on .fest-opt-d {
	color: rgba(255, 255, 255, .74);
}

.fest-wrap .fest-opt:has(input:checked) .fest-tick,
.fest-wrap .fest-opt.is-on .fest-tick {
	opacity: 1;
	transform: none;
}

.fest-wrap .fest-opt input:focus-visible ~ .fest-opt-in {
	outline: 2px solid var(--fest-accent);
	outline-offset: 4px;
	border-radius: 4px;
}

/* ----------------------------------------------------------- chips */

.fest-wrap .fest-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fest-wrap .fest-chip {
	position: relative;
	margin: 0;
	cursor: pointer;
}

.fest-wrap .fest-chip input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
}

.fest-wrap .fest-chip span {
	display: inline-block;
	padding: 10px 16px;
	font-size: 13.5px;
	font-weight: 500;
	line-height: 1.3;
	color: var(--fest-ink);
	background: var(--fest-fill);
	border-radius: 999px;
	transition: background .15s ease, color .15s ease;
}

.fest-wrap .fest-chip:hover span {
	background: var(--fest-fill-h);
}

.fest-wrap .fest-chip input:checked + span,
.fest-wrap .fest-chip.is-on span {
	color: #fff;
	font-weight: 600;
	background: var(--fest-sel);
}

.fest-wrap .fest-chip input:focus-visible + span {
	box-shadow: 0 0 0 3px rgba(var(--fest-accent-rgb), .35);
}

/* -------------------------------------------------------- reveal block */

.fest-wrap .fest-reveal {
	margin: 0;
	animation: fest-in .22s ease both;
}

/* ----------------------------------------------------------- swatches */

.fest-wrap .fest-swatches {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
	margin: 0;
}

@media (max-width: 700px) {
	.fest-wrap .fest-swatches { grid-template-columns: repeat(2, 1fr); gap: 13px; }
}

@media (max-width: 440px) {
	.fest-wrap .fest-swatches { grid-template-columns: repeat(2, 1fr); }
}

.fest-wrap .fest-swatch {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.fest-wrap .fest-swatch input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
}

/* The tile is one rounded block: photo on top, label strip beneath, both
 * clipped by the same radius. The selected ring is an inset shadow rather
 * than a border so choosing a style never nudges the grid by 2px. */
.fest-wrap .fest-swatch-in {
	display: block;
	overflow: hidden;
	background: var(--fest-fill);
	border-radius: 12px;
	box-shadow: inset 0 0 0 0 var(--fest-accent);
	transition: box-shadow .15s ease;
}

.fest-wrap .fest-swatch-img {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--fest-fill);
}

.fest-wrap .fest-swatch-img img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: cover;
}

.fest-wrap .fest-swatch:hover .fest-swatch-in {
	box-shadow: inset 0 0 0 2px var(--fest-ok-b);
}

.fest-wrap .fest-swatch input:checked ~ .fest-swatch-in,
.fest-wrap .fest-swatch.is-on .fest-swatch-in {
	box-shadow: inset 0 0 0 2px var(--fest-accent);
}

.fest-wrap .fest-swatch input:focus-visible ~ .fest-swatch-in {
	box-shadow: inset 0 0 0 2px var(--fest-accent), 0 0 0 3px rgba(var(--fest-accent-rgb), .32);
}

.fest-wrap .fest-swatch-tick {
	position: absolute;
	top: 6px;
	right: 6px;
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: var(--fest-accent);
	color: #fff;
	opacity: 0;
	transform: scale(.7);
	transition: opacity .15s ease, transform .15s ease;
}

.fest-wrap .fest-swatch-tick .fest-ico {
	width: 11px;
	height: 11px;
	stroke-width: 3.4;
}

.fest-wrap .fest-swatch input:checked ~ .fest-swatch-in .fest-swatch-tick,
.fest-wrap .fest-swatch.is-on .fest-swatch-tick {
	opacity: 1;
	transform: none;
}

.fest-wrap .fest-swatch-meta {
	display: block;
	padding: 8px 10px 9px;
	background: var(--fest-fill);
}

.fest-wrap .fest-swatch-n {
	display: block;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fest-ink);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.fest-wrap .fest-swatch-tone {
	display: block;
	margin-top: 1px;
	font-size: 11px;
	line-height: 1.3;
	color: var(--fest-muted);
}

/* ----------------------------------------------------------- timeline */

.fest-wrap .fest-timeline {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 11px;
	margin: 0;
}

@media (max-width: 520px) {
	.fest-wrap .fest-timeline { grid-template-columns: 1fr; }
}

.fest-wrap .fest-tchip {
	position: relative;
	display: block;
	margin: 0;
	cursor: pointer;
}

.fest-wrap .fest-tchip input {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
}

.fest-wrap .fest-tchip > span {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-height: 56px;
	justify-content: center;
	padding: 12px 17px;
	background: var(--fest-fill);
	border-radius: var(--fest-r-sm);
	transition: background .15s ease, color .15s ease;
}

.fest-wrap .fest-tchip strong {
	font-size: 14.5px;
	font-weight: 600;
	line-height: 1.3;
	color: var(--fest-ink);
}

.fest-wrap .fest-tchip em {
	font-size: 12.5px;
	font-style: normal;
	line-height: 1.35;
	color: var(--fest-muted);
}

.fest-wrap .fest-tchip:hover > span {
	background: var(--fest-fill-h);
}

.fest-wrap .fest-tchip input:checked + span,
.fest-wrap .fest-tchip.is-on > span {
	background: var(--fest-sel);
}

.fest-wrap .fest-tchip input:checked + span strong,
.fest-wrap .fest-tchip.is-on > span strong {
	color: #fff;
}

.fest-wrap .fest-tchip input:checked + span em,
.fest-wrap .fest-tchip.is-on > span em {
	color: rgba(255, 255, 255, .74);
}

.fest-wrap .fest-tchip input:focus-visible + span {
	box-shadow: 0 0 0 3px rgba(var(--fest-accent-rgb), .35);
}

/* ----------------------------------------------------------- dropzone */

.fest-wrap .fest-drop {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 30px 20px 28px;
	text-align: center;
	cursor: pointer;
	background: var(--fest-drop);
	border: 2px dashed var(--fest-drop-b);
	border-radius: 12px;
	transition: background .15s ease, border-color .15s ease;
}

.fest-wrap .fest-drop:hover,
.fest-wrap .fest-drop.is-over {
	background: var(--fest-ok);
	border-color: var(--fest-accent);
}

.fest-wrap .fest-drop input[type=file] {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	opacity: 0;
	border: 0;
}

.fest-wrap .fest-drop-ico {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-bottom: 4px;
	border-radius: 12px;
	background: var(--fest-well);
	color: var(--fest-accent);
}

.fest-wrap .fest-drop-ico .fest-ico {
	width: 22px;
	height: 22px;
}

.fest-wrap .fest-drop-t {
	font-size: 14.5px;
	font-weight: 600;
	color: var(--fest-ink);
}

.fest-wrap .fest-drop-s {
	font-size: 12.5px;
	color: var(--fest-muted);
}

.fest-wrap .fest-drop.is-busy {
	pointer-events: none;
	opacity: .65;
}

.fest-wrap .fest-thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 10px;
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}

.fest-wrap .fest-thumbs:empty {
	display: none;
}

.fest-wrap .fest-thumbs li {
	position: relative;
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: var(--fest-fill);
	border-radius: var(--fest-r-sm);
}

.fest-wrap .fest-thumbs img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fest-wrap .fest-thumbs li.is-pending {
	display: flex;
	align-items: center;
	justify-content: center;
}

.fest-wrap .fest-thumbs li.is-pending::after {
	content: "";
	width: 20px;
	height: 20px;
	border: 2.5px solid var(--fest-ok-b);
	border-top-color: var(--fest-accent);
	border-radius: 50%;
	animation: fest-spin .7s linear infinite;
}

@keyframes fest-spin { to { transform: rotate(360deg); } }

.fest-wrap .fest-thumb-x {
	position: absolute;
	top: 4px;
	right: 4px;
	width: 22px;
	height: 22px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: #fff;
	background: rgba(27, 37, 64, .80);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background .15s ease;
}

.fest-wrap .fest-thumb-x:hover,
.fest-wrap .fest-thumb-x:focus {
	color: #fff;
	background: var(--fest-err);
}

.fest-wrap .fest-thumb-x .fest-ico {
	width: 12px;
	height: 12px;
	stroke-width: 2.6;
}

/* --------------------------------------------------------------- nav */

.fest-wrap .fest-nav {
	display: flex;
	align-items: stretch;
	gap: 12px;
	margin: 28px 0 0;
}

.fest-wrap .fest-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 48px;
	padding: 13px 26px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	border-radius: var(--fest-r-sm);
	box-shadow: none;
	transition: background .16s ease, color .16s ease, transform .1s ease;
	-webkit-appearance: none;
	appearance: none;
}

.fest-wrap .fest-btn:active {
	transform: translateY(1px);
}

.fest-wrap .fest-btn .fest-ico {
	width: 17px;
	height: 17px;
}

.fest-wrap .fest-btn-next {
	flex: 1 1 auto;
	color: #fff;
	background: var(--fest-accent);
}

.fest-wrap .fest-btn-next:hover,
.fest-wrap .fest-btn-next:focus {
	color: #fff;
	background: var(--fest-accent-d);
}

.fest-wrap .fest-btn-next[disabled],
.fest-wrap .fest-btn-next[aria-disabled=true] {
	color: #fff;
	background: var(--fest-off);
	cursor: not-allowed;
	transform: none;
}

.fest-wrap .fest-btn-next.is-busy {
	cursor: progress;
}

.fest-wrap .fest-btn-back {
	flex: 0 0 auto;
	color: var(--fest-ink);
	background: var(--fest-fill);
}

.fest-wrap .fest-btn-back:hover,
.fest-wrap .fest-btn-back:focus {
	color: var(--fest-ink);
	background: var(--fest-fill-h);
}

.fest-wrap .fest-btn:focus-visible {
	outline: 3px solid rgba(var(--fest-accent-rgb), .45);
	outline-offset: 2px;
}

@media (max-width: 460px) {
	.fest-wrap .fest-btn { padding: 13px 18px; font-size: 14.5px; }
}

.fest-wrap .fest-skip {
	margin: 14px 0 0;
	text-align: center;
}

.fest-wrap .fest-linkbtn {
	padding: 2px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 500;
	color: var(--fest-muted);
	background: none;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: color .15s ease;
}

.fest-wrap .fest-linkbtn:hover,
.fest-wrap .fest-linkbtn:focus {
	color: var(--fest-ink);
	background: none;
	text-decoration: underline;
}

.fest-wrap .fest-trust,
.fest-wrap .fest-privacy {
	margin: 22px 0 0;
	font-size: 12px;
	line-height: 1.55;
	text-align: center;
	color: var(--fest-muted);
}

.fest-wrap .fest-privacy {
	margin-top: 8px;
}

.fest-wrap .fest-privacy a {
	color: var(--fest-muted);
	text-decoration: underline;
}

/* ------------------------------------------------------------- result */

.fest-wrap .fest-result-head {
	text-align: center;
	margin: 0 0 20px;
}

.fest-wrap .fest-result-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	margin: 0 0 14px;
	border-radius: 50%;
	background: var(--fest-accent);
	color: #fff;
}

.fest-wrap .fest-result-badge .fest-ico {
	width: 26px;
	height: 26px;
	stroke-width: 3;
}

.fest-wrap .fest-result-head .fest-q,
.fest-wrap .fest-result-head .fest-qsub {
	text-align: center;
}

.fest-wrap .fest-result-head .fest-qsub {
	margin-bottom: 0;
}

.fest-wrap .fest-total {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	padding: 22px 20px;
	text-align: center;
	background: var(--fest-ok);
	border: 1px solid var(--fest-ok-b);
	border-radius: 12px;
}

.fest-wrap .fest-total-l {
	font-size: 11.5px;
	font-weight: 600;
	color: var(--fest-accent-d);
	text-transform: uppercase;
	letter-spacing: .085em;
}

.fest-wrap .fest-total strong {
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
	color: var(--fest-ink);
}

.fest-wrap .fest-total-n {
	font-size: 12.5px;
	color: var(--fest-muted);
}

@media (max-width: 460px) {
	.fest-wrap .fest-total strong { font-size: 32px; }
}

.fest-wrap .fest-lines {
	width: 100%;
	margin: 20px 0 0;
	border-collapse: collapse;
	font-size: 13.5px;
}

.fest-wrap .fest-lines:empty {
	display: none;
}

.fest-wrap .fest-lines th,
.fest-wrap .fest-lines td {
	padding: 11px 8px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid var(--fest-rule);
	color: var(--fest-ink);
}

.fest-wrap .fest-lines thead th {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .075em;
	color: var(--fest-label);
	border-bottom: 1.5px solid var(--fest-fill);
}

.fest-wrap .fest-lines td:last-child,
.fest-wrap .fest-lines th:last-child {
	text-align: right;
	white-space: nowrap;
}

.fest-wrap .fest-lines .fest-l-note {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	line-height: 1.4;
	color: var(--fest-muted);
}

.fest-wrap .fest-lines .fest-l-qty,
.fest-wrap .fest-lines .fest-l-rate {
	color: var(--fest-muted);
	white-space: nowrap;
}

.fest-wrap .fest-lines tfoot td {
	font-weight: 600;
	border-bottom: 0;
}

.fest-wrap .fest-lines tfoot tr.fest-l-total td {
	padding-top: 14px;
	font-size: 16px;
	border-top: 1.5px solid var(--fest-fill);
}

@media (max-width: 520px) {
	.fest-wrap .fest-lines .fest-l-rate { display: none; }
}

.fest-wrap .fest-foot {
	margin: 16px 0 0;
	font-size: 12.5px;
	line-height: 1.6;
	color: var(--fest-muted);
}

.fest-wrap .fest-result-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 22px 0 0;
}

.fest-wrap .fest-result-cta .fest-btn {
	flex: 1 1 190px;
}

.fest-wrap .fest-cta-alt {
	color: var(--fest-ink);
	background: var(--fest-fill);
}

.fest-wrap .fest-cta-alt:hover,
.fest-wrap .fest-cta-alt:focus {
	color: var(--fest-ink);
	background: var(--fest-fill-h);
}

/* --------------------------------------------------- utility / a11y */

.fest-wrap .fest-sr,
.fest-wrap .fest-sr-only,
.fest-wrap legend.fest-sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* The honeypot has to be invisible to people yet real to a headless bot, so
 * it is moved off-screen rather than display:none — which many bots skip. */
.fest-wrap .fest-hp {
	position: absolute !important;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.fest-wrap [hidden] {
	display: none !important;
}

/* --- Best Seller / New ribbon on a style tile ------------------------- */
.fest-wrap .fest-swatch-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	display: inline-block;
	max-width: calc(100% - 16px);
	padding: 4px 9px;
	border-radius: 999px;
	background: var(--fest-sel);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .02em;
	text-transform: uppercase;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	box-shadow: 0 1px 3px rgba(0,0,0,.18);
	pointer-events: none;
}

@media (max-width: 440px) {
	.fest-wrap .fest-swatch-badge { font-size: 10px; padding: 3px 7px; top: 6px; left: 6px; }
}

/* =========================================================================
 * Banded layout — marketing column beside the card
 *
 * Only applies where the estimator draws its own band. The copy column sits
 * outside .fest-wrap, so it cannot read the --fest-* tokens (those are scoped
 * to the wrap on purpose); it reads the site's own --fx-* variables instead,
 * with the current values as fallbacks, exactly like the rest of this file.
 * ========================================================================= */

.fest-band { padding: 72px 28px; }

.fest-band .fest-band-inner {
	box-sizing: border-box;
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 560px);
	gap: 56px;
	align-items: center;
}

/* the card stops centring itself once it is a grid cell */
.fest-band .fest-band-inner .fest-wrap { max-width: none; margin: 0; }

.fest-band .fest-band-copy {
	box-sizing: border-box;
	min-width: 0;
	font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	color: #fff;
}
.fest-band .fest-band-copy *, .fest-band .fest-band-copy *::before, .fest-band .fest-band-copy *::after { box-sizing: border-box; }

.fest-band .fest-band-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px 7px 12px;
	border-radius: 999px;
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: .01em;
	line-height: 1;
	color: var(--fx-aqua, #B9F4F9);
	background: rgba(24, 191, 174, .16);
	border: 1px solid rgba(185, 244, 249, .26);
}
.fest-band .fest-band-pill .fest-ico {
	width: 15px;
	height: 15px;
	flex: 0 0 auto;
	color: var(--fx-brand-teal, #18BFAE);
}

.fest-band .fest-band-h {
	margin: 20px 0 0;
	font-size: clamp(30px, 3.5vw, 38px);
	line-height: 1.08;
	letter-spacing: -.022em;
	font-weight: 700;
	color: #fff;
	text-wrap: balance;
}
.fest-band .fest-band-h em { display: block; font-style: normal; color: #fff; }

.fest-band .fest-band-sub {
	margin: 18px 0 0;
	max-width: 52ch;
	font-size: 15.5px;
	line-height: 1.68;
	color: rgba(255, 255, 255, .70);
}

.fest-band .fest-band-stats {
	margin: 34px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
	max-width: 520px;
}
.fest-band .fest-band-stats li {
	margin: 0;
	padding: 18px 20px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .045);
	border: 1px solid rgba(255, 255, 255, .10);
	transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.fest-band .fest-band-stats li:hover {
	background: rgba(255, 255, 255, .075);
	border-color: rgba(185, 244, 249, .30);
	transform: translateY(-2px);
}
.fest-band .fest-band-stats b {
	display: block;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -.015em;
	color: var(--fx-brand-teal, #18BFAE);
	font-variant-numeric: tabular-nums;
}
.fest-band .fest-band-stats span {
	display: block;
	margin-top: 5px;
	font-size: 12.5px;
	line-height: 1.45;
	color: rgba(255, 255, 255, .62);
}

@media (prefers-reduced-motion: reduce) {
	.fest-band .fest-band-stats li { transition: none; }
	.fest-band .fest-band-stats li:hover { transform: none; }
}

@media (max-width: 1080px) {
	.fest-band .fest-band-inner {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
		max-width: 720px;
	}
	.fest-band .fest-band-h { font-size: clamp(28px, 5vw, 38px); }
	.fest-band .fest-band-stats { max-width: none; }
}

@media (max-width: 560px) {
	.fest-band { padding: 44px 16px; }
	.fest-band .fest-band-h { margin-top: 16px; }
	.fest-band .fest-band-sub { margin-top: 14px; font-size: 14.5px; }
	.fest-band .fest-band-stats { margin-top: 26px; gap: 10px; }
	.fest-band .fest-band-stats li { padding: 14px 15px; border-radius: 12px; }
	.fest-band .fest-band-stats b { font-size: 21px; }
	.fest-band .fest-band-stats span { font-size: 11.5px; }
}

/* ===== MOBILE ESTIMATE LINES =============================================
   Below 560px the four-column estimate table cannot hold three text columns
   without shredding every label. Each line becomes a receipt row instead:
   description (+ note) on the left, amount right-aligned on the same line,
   quantity as a quiet second line underneath. Gutters tighten so the card
   uses the width the phone actually has.
   ======================================================================== */
@media (max-width: 560px) {

  .fest-band { padding: 40px 12px; }
  .fest-wrap .fest-body { padding: 20px 14px 22px; }
  .fest-wrap .fest-head { padding: 14px 14px; }
  .fest-wrap .fest-total { padding: 20px 14px; border-radius: 12px; }

  .fest-wrap .fest-lines,
  .fest-wrap .fest-lines thead,
  .fest-wrap .fest-lines tbody,
  .fest-wrap .fest-lines tfoot,
  .fest-wrap .fest-lines tr,
  .fest-wrap .fest-lines th,
  .fest-wrap .fest-lines td { display: block; width: auto; }

  .fest-wrap .fest-lines { width: 100%; margin: 18px 0 0; font-size: 14px; }

  /* the column headings are redundant once each value is labelled in place */
  .fest-wrap .fest-lines thead {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

  .fest-wrap .fest-lines tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    column-gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--fest-rule); }
  .fest-wrap .fest-lines tbody tr:first-child { padding-top: 4px; }

  .fest-wrap .fest-lines tbody td { padding: 0; border: 0; }
  .fest-wrap .fest-lines tbody td:nth-child(1) {
    grid-column: 1; grid-row: 1; min-width: 0;
    font-weight: 600; line-height: 1.4; color: var(--fest-ink); }
  .fest-wrap .fest-lines tbody td:nth-child(4) {
    grid-column: 2; grid-row: 1;
    text-align: right; white-space: nowrap;
    font-weight: 700; font-variant-numeric: tabular-nums; color: var(--fest-ink); }
  .fest-wrap .fest-lines tbody td.fest-l-qty {
    grid-column: 1; grid-row: 2; margin-top: 5px;
    font-size: 12.5px; line-height: 1.4; color: var(--fest-muted); white-space: normal; }
  .fest-wrap .fest-lines tbody td.fest-l-rate { display: none; }
  .fest-wrap .fest-lines .fest-l-note { margin-top: 5px; font-size: 12.5px; font-weight: 400; }

  /* subtotal / tax / grand total read as a summary list, not as table cells */
  .fest-wrap .fest-lines tfoot tr {
    display: flex; justify-content: space-between; align-items: baseline;
    gap: 14px; padding: 9px 0; border: 0; }
  .fest-wrap .fest-lines tfoot td { padding: 0; border: 0; }
  .fest-wrap .fest-lines tfoot td:first-child {
    text-align: left; font-weight: 600; color: var(--fest-body); }
  .fest-wrap .fest-lines tfoot td:last-child {
    text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .fest-wrap .fest-lines tfoot tr.fest-l-total {
    margin-top: 6px; padding-top: 14px;
    border-top: 1.5px solid var(--fest-fill); font-size: 17px; }
  .fest-wrap .fest-lines tfoot tr.fest-l-total td { padding-top: 0; font-weight: 700; border-top: 0; }

  .fest-wrap .fest-pending { padding: 12px 14px 12px 30px; }
  .fest-wrap .fest-result-cta .fest-btn { flex: 1 1 100%; }
}

@media (max-width: 380px) {
  .fest-band { padding: 34px 12px; }
  .fest-wrap .fest-body { padding: 18px 12px 20px; }
  .fest-wrap .fest-lines { font-size: 13.5px; }
  .fest-wrap .fest-lines tbody tr { column-gap: 10px; }
}
/* ===== THEME TABLE SKIN — neutralised inside the estimate lines ==========
   hello-elementor ships a generic table skin that this table was inheriting:
     table td, table th        { border: 1px solid rgba(128,128,128,.5); padding: 15px }
     tbody > tr:nth-child(odd) { background: rgba(128,128,128,.07) }
     tbody tr:hover > td       { background: rgba(128,128,128,.10) }
   Our own rules set only border-BOTTOM and never set background, so the grey
   grid lines and the zebra stripes came through and made the estimate read
   like a spreadsheet. Reset them here, at a specificity the theme cannot beat.
   ======================================================================== */
.fest-wrap .fest-lines { background: transparent; }
.fest-wrap .fest-lines th,
.fest-wrap .fest-lines td { border: 0; border-bottom: 1px solid var(--fest-rule); background: transparent; }
.fest-wrap .fest-lines thead th { border-bottom: 1.5px solid var(--fest-fill); }
.fest-wrap .fest-lines tbody > tr:nth-child(2n+1) > td,
.fest-wrap .fest-lines tbody > tr:nth-child(2n+1) > th,
.fest-wrap .fest-lines tbody > tr:nth-child(2n) > td,
.fest-wrap .fest-lines tbody > tr:nth-child(2n) > th,
.fest-wrap .fest-lines tbody tr:hover > td,
.fest-wrap .fest-lines tbody tr:hover > th { background: transparent; }
.fest-wrap .fest-lines tbody tr:last-child > td { border-bottom: 0; }
.fest-wrap .fest-lines tfoot td { border: 0; background: transparent; }