/* FFM Carpet Calculator — frontend (matched to Floors from Moulton) */

/* NO SHOW PRICES */
.ffm-sum__value,
.ffm-cc__addon-price {opacity: 0;}
.ffm-cc__addon input {order: 1;right: 5px;}
.ffm-cc__addon-img {margin-left: -5px;}
/* END */


.ffm-cc {
	--ffm-accent: #726658;
	--ffm-accent-dark: #5d5346;
	--ffm-cream: #f6f0e0;
	--ffm-card: #ffffff;
	--ffm-tint: #72665810;
	--ffm-tint-strong: #7266581f;
	--ffm-line: hsl(32deg 13% 40% / 20%);
	--ffm-line-strong: #72665833;
	--ffm-ink: #4a4235;
	--ffm-muted: #9a9080;
	--ffm-radius: 20px;
	--ffm-radius-sm: 12px;
	--ffm-display: 'Sonder Slab Rough', 'Sonder Slab', Georgia, serif;
	--ffm-hand: 'Blisa', 'Sonder Slab Rough', cursive;
	color: var(--ffm-ink);
	width: 100%;
	max-width: none;
	margin: 0;
	font-family: 'Lexend Deca', -apple-system, BlinkMacSystemFont, sans-serif;
	line-height: 1.5;
}

.col.span_12:has(.ffm-cc) {z-index: 99999999;}
body .ffm-cc {margin-top: -135px;}

.ffm-cc *,
.ffm-cc *::before,
.ffm-cc *::after {
	box-sizing: border-box;
}

.ffm-cc__grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2.5rem;
	align-items: start;
}

/* ---------------------------------------------------------------- Cards */

.ffm-cc__form {
	background: transparent;
	padding: 0px;
}

.ffm-cc__result {
	background: var(--ffm-card);
	border: 1px solid var(--ffm-line);
	border-radius: var(--ffm-radius);
	padding: 1.75rem;
	position: relative;
	min-width: 500px;
}

/* ---------------------------------------------------------------- Labels / fields */
.ffm-cc__field {
	margin-bottom: 1.4rem;
}

.ffm-cc__label,
.ffm-cc legend.ffm-cc__label {
	display: block;
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: -0.03em;
	color: var(--ffm-ink);
	margin-bottom: 0.75rem;
	padding: 0;
	font-family: 'Sonder Slab Rough';
	position: relative;
}

.ffm-cc__select,
.ffm-cc input[type="text"],
.ffm-cc input[type="email"],
.ffm-cc input[type="tel"],
.ffm-cc input[type="number"] {
	width: 100%;
	padding: var(--field-padding);
	border: 1px solid var(--ffm-line-strong) !important;
	border-radius: calc(var(--border-radius-value) / 2.5);
	background: var(--ffm-card);
	font-size: 0.9rem !important;
	line-height: 1.2 !important;
	font-weight: 400;
	letter-spacing: -0.02em;
	color: var(--ffm-ink);
	font-family: inherit;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
	-webkit-appearance: none;
	appearance: none;
}

input.ffm-cc__room-name {
	padding-left: 52px !important;
}

.ffm-cc__select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23726658' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	padding-right: 2.4rem;
	cursor: pointer;
}

.ffm-cc__select--sm {
	padding: 0.7rem 2.2rem 0.7rem 0.8rem;
	font-size: 0.95rem;
	background-position: right 0.75rem center;
}

.ffm-cc__select:focus,
.ffm-cc input:focus {
	outline: none;
	border-color: var(--ffm-accent);
	box-shadow: 0 0 0 3px var(--ffm-tint-strong);
}

.ffm-cc input::placeholder {
	color: #c1b8a8;
}

.ffm-cc__rooms,
.ffm-cc__addons {
	border: 0;
	padding: 0;
	margin: 0 0 1.6rem;
}

.ffm-cc__addons {
	margin-bottom: 0;
	margin-top: 40px;
}

/* ---------------------------------------------------------------- Rooms */
.ffm-cc__rooms-list {
	display: flex;
	flex-direction: column;
}

.ffm-cc__room {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	background: var(--ffm-card);
	border: 1.5px solid var(--ffm-line-strong);
	border-radius: var(--ffm-radius-sm);
	padding: 27.5px;
	margin-bottom: 0.85rem;
	box-shadow: 0 1px 2px rgba(114, 102, 88, 0.05);
	overflow: hidden;
	transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.4s ease,
		margin 0.35s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	position: relative;
}

.ffm-cc__room:last-child {
	margin-bottom: 0;
}

.ffm-cc__room:focus-within {
	border-color: var(--ffm-accent);
	box-shadow: 0 20px 45px rgba(114, 102, 88, 0.1);
}

@keyframes ffm-room-in {
	from { opacity: 0; transform: translateY(-10px); }
	to { opacity: 1; transform: none; }
}

.ffm-cc__room.is-new {
	animation: ffm-room-in 0.35s ease;
}

.ffm-cc__room-num {
	flex: 0 0 1.85rem;
	height: 1.85rem;
	line-height: 1.85rem;
	text-align: center;
	border-radius: 50%;
	background: var(--ffm-accent);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	margin-top: 0.1rem;
	position: absolute;
	left: 37px;
	top: 37px;
	width: 1.85rem;
	height: 1.85rem;
}

.ffm-cc__room-body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	min-width: 0;
}

.ffm-cc__room-name {
	font-weight: 500;
}

.ffm-cc__room-selects {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 0.6rem;
}

.ffm-cc__room-thumb {
	flex: 0 0 auto;
	width: 48.5px;
	height: 48.5px;
	border-radius: 10px;
	background-size: cover;
	background-position: center;
	border: 1px solid hsl(48deg 7.94% 87.65%);
	align-self: flex-end;
	overflow: hidden;
}

.ffm-cc__mini {
	flex: 1 1 150px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	font-size: 0.75rem;
	color: var(--ffm-muted);
	letter-spacing: -0.03em;
}

.ffm-cc__mini > span {
	margin-bottom: 0.3rem;
}

.ffm-cc__room-inputs {
	display: flex;
	align-items: flex-end;
	gap: 0.6rem;
}

.ffm-cc__dim {
	flex: 1 1 0;
	font-size: 0.75rem;
	color: var(--ffm-muted);
	letter-spacing: -0.03em;
	min-width: 0;
}

.ffm-cc__dim > span {
	display: block;
	margin-bottom: 0.3rem;
}

.ffm-cc__x {
	padding-bottom: 0.7rem;
	color: var(--ffm-muted);
	font-size: 1.25rem;
}

body .row .ffm-cc__remove {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 1.85rem;
	height: 1.85rem;
	border: 1.5px solid #b23b3b;
	border-radius: 50%;
	color: var(--ffm-muted);
	line-height: 0;
	cursor: pointer;
	margin-top: 0.1rem;
	transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
	padding: 0px;
	color: #fff;
	background: #b23b3b;
	border-color: #b23b3b;
	border-radius: 5px !important;
	position: absolute;
	right: 37px;
	top: 37px;
}

body .row .ffm-cc__remove svg {
	display: block;
	width: 1rem;
	height: 1rem;
	margin: 0;
	pointer-events: none;
}

.ffm-cc__add, body .row .ffm-cc__reset {
	margin-top: 0.9rem;
	background: none;
	border: 1px dashed #72665840;
	color: var(--ffm-accent);
	background: var(--ffm-tint);
	border-radius: var(--ffm-radius-sm);
	padding: var(--button-padding);
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	text-transform: capitalize;
	font-family: inherit;
	transition: background 0.2s ease, transform 0.05s ease;
	width: 100%;
	letter-spacing: -0.03em;
}

.ffm-cc__add:hover:not(:disabled) {
	background: var(--ffm-tint-strong);
}

.ffm-cc__add:active:not(:disabled) {
	transform: translateY(1px);
}

.ffm-cc__add:disabled {
	opacity: 0.4;
	cursor: not-allowed;
}

/* ---------------------------------------------------------------- Add-ons */
body .row .ffm-cc__addon {
	display: flex;
	align-items: flex-start;
	gap: 12.5px !important;
	padding: 0.85rem 1.2rem;
	border: 1.5px solid var(--ffm-line-strong);
	border-radius: var(--ffm-radius-sm);
	margin-bottom: 0.6rem;
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
	background: #fff;
}

body .row .ffm-cc__addon:has( input:checked ) {
	border-color: var(--nectar-accent-color);
	border-width: 1.5px;
}

body .row .ffm-cc__addon:last-child {
	margin: 0px;
}

.ffm-cc__addon:last-child {
	margin-bottom: 0;
}

.ffm-cc__addon:hover {
	border-color: var(--ffm-accent);
	background: var(--ffm-tint);
}

label:has(input[type="checkbox"]) input[type="checkbox"]:checked {background: var(--nectar-accent-color);}
.ffm-cc input::placeholder,
.ffm-cc select::placeholder,
.ffm-cc__select--sm {color: var(--ffm-muted) !important;}

label:has(input[type="checkbox"]) input[type="checkbox"]::before {
	border-color: #fff;
	width: 5px;
	height: 10px;
	top: 45%;
}

.ffm-cc__addon input {
	margin-top: 0.15rem;
	accent-color: var(--ffm-accent);
	width: 1.15rem;
	height: 1.15rem;
	flex: 0 0 auto;
	cursor: pointer;
	border-radius: 3.5px !important;
	border-width: 1.5px !important;
	border-color: #71665852 !important;
}

.ffm-cc__addon-img {
	display: inline-block;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--ffm-tint) center / cover no-repeat;
	border: 1px solid var(--ffm-line);
	background-size: 110%;
}

.ffm-cc__addon-img--empty {
	background:
		var(--ffm-tint)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23726658' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l2.4 5.4L20 8l-4 4 1 6-5-3-5 3 1-6-4-4 5.6-.6z'/%3E%3C/svg%3E")
		center / 20px no-repeat;
	opacity: 0.85;
}

.ffm-cc__addon-body {
	flex: 1 1 auto;
}

.ffm-cc__addon-name {
	display: block;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1;
	color: var(--ffm-ink);
	margin-bottom: 2.5px;
	letter-spacing: -0.035em;
	text-transform: capitalize;
}

.ffm-cc__addon-desc {
	display: block;
	font-size: 0.75rem;
	line-height: 1.2;
	color: var(--ffm-muted);
	margin-top: 0.15rem;
	margin-bottom: -3.25px;
}

.ffm-cc__addon-price {
	flex: 0 0 auto;
	text-align: right;
	font-weight: 600;
	font-size: 0.95rem;
	white-space: nowrap;
	color: var(--ffm-accent);
}

.ffm-cc__addon-price small {
	display: block;
	font-weight: 400;
	font-size: 0.72rem;
	color: var(--ffm-muted);
}

/* ---------------------------------------------------------------- Result */
.ffm-cc__handwritten {
	display: block;
	font-family: var(--ffm-hand);
	color: var(--ffm-accent);
	font-size: 1.85rem;
	line-height: 0.9;
	text-align: center;
	margin: 10px auto 0px;
	max-width: 36ch;
	text-transform: capitalize;
	transform: rotate(-2deg);
}

.ffm-cc__total-card {
	text-align: center;
	background: var(--ffm-tint);
	border: 1px solid var(--ffm-line);
	border-radius: var(--ffm-radius-sm);
	padding: 1.5rem 1.1rem;
	margin: -15px -15px;
	margin-bottom: 10px;
}

.ffm-cc__total-label {
	display: block;
	font-size: 0.72rem;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: var(--ffm-muted);
	margin-bottom: 0.5rem;
}

.ffm-cc__total-value {
	display: inline-flex;
	font-family: var(--ffm-display);
	font-size: 2.8rem;
	font-weight: 400;
	color: var(--ffm-accent);
	line-height: 1;
	letter-spacing: -0.04em;
}

.ffm-cc__total-note {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.8rem;
	color: var(--ffm-muted);
	line-height: 1.4;
	max-width: 50ch;
	margin-left: auto;
	margin-right: auto;
}

/* Odometer */
.ffm-odo {
	font-variant-numeric: tabular-nums;
}

.ffm-odo__sep {
	display: inline-block;
}

.ffm-odo__cell {
	display: inline-block;
	height: 1em;
	overflow: hidden;
	vertical-align: bottom;
	padding-right: 4px;
	margin-right: -3px;
	letter-spacing: -4px;
}

.ffm-odo__col {
	display: flex;
	flex-direction: column;
	transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
	will-change: transform;
}

.ffm-odo__digit {
	height: 1em;
	line-height: 1em;
	display: block;
	text-align: center;
}

@keyframes ffm-pop {
	0% { transform: scale(1); }
	40% { transform: scale(1.04); }
	100% { transform: scale(1); }
}

.ffm-cc__total-value.is-ticking {
	animation: ffm-pop 0.4s ease;
}

/* Clean itemised summary (injected via AJAX) */
.ffm-sum__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ffm-cc__email-toggle.is-active span {margin-left: -22.5px;}

.ffm-sum__row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 0;
	border-bottom: 1px dashed var(--ffm-line);
}

.ffm-cc__breakdown {
	margin: 0px -10px 0px;
}

.ffm-sum__row--extra:last-child {
	padding-bottom: 0px;
}

.ffm-sum__list:last-child .ffm-sum__row:last-child {
	border-bottom: 0;
}

.ffm-sum__num {
	flex: 0 0 auto;
	width: 1.85rem;
	height: 1.85rem;
	line-height: 1.85rem;
	text-align: center;
	border-radius: 50%;
	background: var(--ffm-accent);
	color: #fff;
	font-size: 0.9rem;
	font-weight: 600;
}

.ffm-sum__label {
	display: flex;
	flex-direction: column;
	gap: 0px;
	min-width: 0;
	margin-right: auto;
}

.ffm-sum__name {
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--ffm-ink);
	text-transform: capitalize;
}

.ffm-sum__meta {
	font-size: 0.75rem;
	color: var(--ffm-muted);
	line-height: 1.4;
	padding-right: 15px;
}

.ffm-sum__value {
	flex: 0 0 auto;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--ffm-accent);
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.ffm-sum__row--extra {
	padding-left: 0px;
}

.ffm-sum__img {
	flex: 0 0 auto;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	background: var(--ffm-tint) center / cover no-repeat;
	border: 1px solid var(--ffm-line);
}

.ffm-sum__img--empty {
	background:
		var(--ffm-tint)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23726658' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E")
		center / 13px no-repeat;
}

.ffm-sum__divider {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0.75rem 0 0rem;
}

.ffm-sum__divider::before,
.ffm-sum__divider::after {
	content: '';
	flex: 1 1 auto;
	height: 1px;
	background: var(--ffm-line);
}

.ffm-sum__divider span {
	font-size: 0.625rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--ffm-muted);
	padding: 4px 12px;
	background: var(--ffm-tint-strong);
	border-radius: 100000px;
}

.ffm-sum__list--subtotals {
	margin-top: 0.5rem;
	padding-top: 0.6rem;
	border-top: 1px solid var(--ffm-line);
	display: none;
}

.ffm-sum__list--subtotals .ffm-sum__row {
	border-bottom: 0;
	padding: 0.3rem 0;
}

.ffm-sum__list--subtotals .ffm-sum__label {
	font-size: 0.85rem;
	color: var(--ffm-muted);
	font-weight: 500;
}

.ffm-sum__list--subtotals .ffm-sum__value {
	font-size: 0.9rem;
	color: var(--ffm-ink);
}

.ffm-cc__hint {
	color: var(--ffm-muted);
	font-size: 0.92rem;
	text-align: center;
	padding: 1.25rem 0;
}

/* ---------------------------------------------------------------- Email toggle + form */
.ffm-cc__email-wrap {
	margin-top: 10px;
}

.ffm-cc__email-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	width: 100%;
	border: 1.5px solid var(--ffm-line);
	color: var(--ffm-accent);
	border-radius: 100px;
	font-size: 1rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
	text-decoration: none !important;
	border-radius: 7.5px;
	padding: 0.9rem 1.7rem;
	font-weight: 600;
	transition: background 0.2s ease, transform 0.05s ease;
	font-family: 'Sonder Slab Rough';
	font-size: 14px;
}

.ffm-cc__plane {
	flex: 0 0 auto;
	transition: transform 0.3s ease;
	opacity: 1;
	margin: -3px 0px;
}

.ffm-cc__email-toggle.is-active .ffm-cc__plane {
	transform: scale(0) translateX(2px) translateY(-1px) rotate(8deg);
	opacity: 0;
}

.ffm-cc__email {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.ffm-cc__email.is-open {
	max-height: 640px;
	opacity: 1;
	margin-top: 1.5rem;
}

/* Fully open (set by frontend.js after the slide): don't clip field focus rings. */
.ffm-cc__email.is-open.is-settled {
	max-height: none;
	overflow: visible;
}

.ffm-cc__email-title {
	font-family: var(--ffm-display);
	font-size: 1.2rem;
	line-height: 1;
	color: var(--ffm-ink);
	margin: 0.5rem 0 0.5rem;
	letter-spacing: -0.01em;
	text-align: center;
}

span.ffm-odo__sep:first-child {
	font-family: 'Lexend Deca';
	font-weight: 900;
	background: var(--nectar-accent-color);
	width: 2.65rem;
	height: 2.65rem;
	line-height: 2.55rem;
	font-size: 1.8rem;
	text-indent: -0.03em;
	display: block;
	color: #fff;
	border-radius: 1000000px;
	top: 0.15rem;
	margin-right: 6px;
	position: relative;
}

.ffm-sum__row:last-child {
	border-bottom: 0px;
}

.ffm-cc__email-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.25rem 0.75rem;
}

.ffm-cc__email .ffm-cc__field {
	margin-bottom: 0;
}

.ffm-cc__field--wide {
	grid-column: 1 / -1;
}

.ffm-cc__email label {
	display: block;
	font-size: var(--field-label-size) !important;
	letter-spacing: -0.03em;
	color: var(--ffm-muted);
	margin-bottom: 0.35rem;
}

.ffm-cc__err {
	display: block;
	color: #b23b3b;
	font-size: 0.75rem;
	margin-top: 0.25rem;
	min-height: 0.5rem;
}

.ffm-cc__field--error input {
	border-color: #b23b3b;
}

/* Extras limited to flooring types the customer hasn't chosen. */
.ffm-cc__addon[hidden] {
	display: none !important;
}

/* Spam trap. display:none (not off-screen) so browser autofill never fills it. */
.ffm-cc__hp {
	display: none !important;
}

.ffm-cc__submit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin: 0.75rem auto 0;
	width: 100%;
	background: var(--ffm-accent);
	color: #fff;
	border: 0;
	border-radius: 100px;
	padding: 1rem 1.4rem;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3 !important;
	cursor: pointer;
	font-family: inherit;
	letter-spacing: 0.01em;
	text-align: center;
	transition: background 0.2s ease, transform 0.05s ease;
	width: 100% !important;
}

.ffm-cc__submit:hover:not(:disabled) {
	background: var(--ffm-accent-dark);
}

.ffm-cc__submit:active:not(:disabled) {
	transform: translateY(1px);
}

.ffm-cc__submit:disabled {
	opacity: 0.6;
	cursor: progress;
}

.ffm-cc__feedback {
	margin: 1.2rem 0 0;
	font-size: 0.8rem;
	min-height: 1rem;
	text-align: center;
}

.ffm-cc__feedback--ok {
	color: #2f7d3b;
}

.ffm-cc__feedback--err {
	color: #b23b3b;
}

/* Sits directly under the result card, inside the sticky result column. */
.ffm-cc__disclaimer {
	font-size: 0.78rem;
	color: var(--ffm-muted);
	font-style: italic;
	text-align: center;
	max-width: 400px;
	margin: auto;
	margin-top: 20px;
}

@media ( prefers-reduced-motion: reduce ) {
	.ffm-cc__room,
	.ffm-cc__room.is-new,
	.ffm-odo__col,
	.ffm-cc__total-value.is-ticking {
		transition: none !important;
		animation: none !important;
	}
}

/* ---------------------------------------------------------------- Intro */
.ffm-cc__intro {
	text-align: center;
	padding-top: 115px;
	margin-bottom: 35px;
}

body .row .ffm-cc__intro-heading {
	font-family: var(--ffm-display);
	font-size: 1.95rem;
	color: var(--ffm-ink);
	margin: 0 0 0.5rem;
	letter-spacing: -0.05em;
	line-height: 0.95;
	text-align: left;
	max-width: 460px;
	margin-bottom: 0px;
}

body .row .ffm-cc__intro-heading:before {
    content: 'Tell us about your project';
    display: block;
    font-family: 'Blisa';
    font-weight: 300;
    font-size: 32px;
    line-height: 1.2;
    margin-top: -5px;
    margin-bottom: 2.5px;
    letter-spacing: -1px;
    text-transform: none;
    color: #726658ba;
    margin-top: -10px;
}

.ffm-cc__intro-text {
	font-size: 1rem;
	line-height: 1.5;
	max-width: 760px;
	margin-top: 12.5px;
	opacity: 0.8;
	text-align: left;
}

.ffm-cc__intro:after {
	content: url(/wp-content/uploads/2026/08/badge.svg);
	width: 140px;
	height: 140px;
	position: absolute;
	top: 25px;
	right: 0px;
	rotate: 10deg;
	box-shadow: 2px 7px 50px -30px #1f1f1f17;
	border-radius: 100000px !important;
}

/* ---------------------------------------------------------------- Book-a-measure CTA */
.ffm-cc__cta {
	margin-top: 20px;
	border-radius: var(--ffm-radius-sm);
	text-align: center;
}

body .row .ffm-cc__cta-eyebrow {
	font-family: var(--handwritten) !important;
	color: var(--ffm-accent);
	font-size: 1.7rem;
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 0.9;
	margin: 30px 0 0.5rem;
	text-transform: capitalize;
	transform: rotate(-2deg);
}

body .row .ffm-cc__cta-heading {
	font-family: var(--ffm-display);
	font-size: 1.5rem;
	color: var(--ffm-ink);
	margin: 0 0 0.6rem;
	line-height: 0.95;
	letter-spacing: -0.01em;
	max-width: 320px;
	margin: auto;
}

.ffm-cc__cta-text {
	color: var(--ffm-accent);
	line-height: 1.45;
	font-size: 0.85rem;
	margin: 10px auto 15px;
	padding: 0;
	max-width: 52ch;
}

.ffm-cc__cta-btn {
	display: block;
	background: var(--ffm-accent);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 7.5px;
	padding: 0.9rem 1.7rem;
	font-weight: 600;
	transition: background 0.2s ease, transform 0.05s ease;
	font-family: 'Sonder Slab Rough';
	font-size: 14px;
}

.ffm-cc__cta-btn:hover {
	background: var(--nectar-extra-color-4);
	color: #fff !important;
}

.ffm-cc__cta-btn:active {
	transform: translateY(1px);
}

/* ---------------------------------------------------------------- Help box (below the result card) */
.ffm-cc__help {
	margin-top: 20px;
	padding: 1.5rem 1.75rem 1.75rem;
	background: var(--nectar-accent-color);
	border: 1px solid var(--ffm-line);
	border-radius: var(--ffm-radius);
	text-align: center;
	display: flex;
	flex-direction: column;
}

/* Optional image above the text (e.g. a photo of Liam). Size is !important because
   themes commonly force images to width: 100% / height: auto. */
body .row .ffm-cc__help-img {
	display: block;
	width: calc(100% + 30px);
	height: 150px;
	max-width: none !important;
	margin: 25px -15px -15px !important;
	border-radius: 10px;
	object-fit: cover;
	order: 10;
}

body .row .ffm-cc__help-eyebrow {
	font-family: var(--handwritten) !important;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 300;
	letter-spacing: -0.02em;
	line-height: 0.9;
	margin: 0 0 0.5rem;
	text-transform: none;
	transform: rotate(-2deg);
}

body .row .ffm-cc__help-heading {
	font-family: var(--ffm-display);
	font-size: 1.3rem;
	color: #fff;
	line-height: 0.95;
	letter-spacing: -0.03em;
	max-width: 320px;
	margin: 0 auto -2.5px;
}

.ffm-cc__help-text {
	color: #fff;
	line-height: 1.4;
	font-size: 0.8rem;
	margin: 10px auto 15px;
	padding: 0;
	max-width: 55ch;
	opacity: 0.75;
}

.ffm-cc__help-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	border: 1.5px solid var(--ffm-accent);
	border-radius: 7.5px;
	padding: 0.9rem 1.7rem;
	background: transparent;
	color: var(--ffm-accent) !important;
	text-decoration: none !important;
	font-family: 'Sonder Slab Rough';
	font-size: 14px;
	font-weight: 600;
	transition: background 0.2s ease, color 0.2s ease, transform 0.05s ease;
}

.ffm-cc__help-btn:hover {
	background: var(--ffm-accent);
	color: #fff !important;
}

.ffm-cc__help-btn:active {
	transform: translateY(1px);
}

.ffm-cc__help-btn svg {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
}

/* ---------------------------------------------------------------- Reset (under the extras) */
/* !important on the "plain link" properties: themes style <button> with high specificity. */

body .row .ffm-cc__reset:hover {
	color: var(--ffm-accent) !important;
}

.ffm-cc__reset svg {
	width: 14px;
	height: 14px;
	transition: transform 0.4s ease;
	top: 1.5px;
	position: relative;
	margin-right: 2px;
}

.ffm-cc__reset:hover svg {
	transform: rotate(-180deg);
}

/* Sticky columns (see StickyPair in frontend.js). Native sticky is smooth; the theme's
   body { overflow: hidden } would break it, so swap that for overflow: clip on this page. */
@supports (overflow: clip) {
	body.ffm-cc-page {
		overflow: clip;
	}
}

@media (min-width: 1000px) {
	.ffm-cc__grid.is-native-sticky > .ffm-cc__form,
	.ffm-cc__grid.is-native-sticky > .ffm-cc__result-col {
		position: sticky;
		top: 28px;
	}
}

/* JS fallback moves the shorter column with transforms. */
.ffm-cc__grid:not(.is-native-sticky) > .ffm-cc__form,
.ffm-cc__grid:not(.is-native-sticky) > .ffm-cc__result-col {
	will-change: transform;
}

@media (max-width: 1600px) {
	.ffm-cc__result {
	    position: relative;
	    min-width: 450px;
	}
}

@media (max-width: 1300px) {
	.ffm-cc__intro:after {width: 115px;height: 115px;top: 35px;right: -10px;rotate: 15deg;}
	.ffm-cc__result {min-width: 375px;padding: 20px;}
	.ffm-cc__help {padding: 20px;}
	.ffm-cc__total-card {padding: 1.5rem 1.1rem;margin: -5px -5px 10px;}
	.ffm-cc__total-note {max-width: 44ch;font-size: 0.75rem;margin-top: 10px;}
	.ffm-cc__cta-text {max-width: 40ch;}
	body .row .ffm-cc__help-img {
    margin: 22.5px -5px -5px !important;
    width: calc(100% + 10px);
    height: 125px;
}
	.ffm-cc__breakdown {
    margin: 0px -5px 0px;
}
}

@media (max-width: 1150px) {
	.ffm-cc__intro:after {display: none;}
}

@media (max-width: 999px) {
	.ffm-cc__form, .ffm-cc__result-col, .ffm-cc__result {transform:none !important;position: relative !important;min-width: 100%;}
	.ffm-cc__form {
	border-bottom: 1px dashed var(--ffm-line);
	padding-bottom: 30px;
	border-bottom-left-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
}
	.ffm-cc__grid {
		grid-template-columns: 1fr;
		gap: 30px;
	}
	.ffm-cc__intro,
	body .row .ffm-cc__intro-heading,
	.ffm-cc__intro-text {
		text-align:center;
		margin-left:auto;
		margin-right:auto;
	}
	.ffm-cc__intro {padding:0px;}
	body .ffm-cc {margin-top: 0px;}
	p.ffm-cc__cta-text,
	.ffm-cc__total-note {max-width: 95%;}
	.ffm-cc__disclaimer {margin-top:25px;max-width: 350px;}
	body .row .ffm-cc__reset {margin: 27.5px auto 0;}
}

@media (max-width: 690px) {
	.ffm-cc__intro h3 {max-width: 18ch;line-height: 0.95 !important;}
	.ffm-cc__intro-text {max-width: 430px;font-size: 0.95rem;padding: 0px 5px;}
	.ffm-cc__room {padding: 20px 17.5px;}
	.ffm-cc__email-wrap {
	margin-top: 7.5px;
}
	.ffm-cc__addon-img {width: 40px;height: 40px;}
	.ffm-cc__room-num {left: 27px;top: 28px;}
	body .row .ffm-cc__remove {right: 27px;top: 27px;}
input.ffm-cc__room-name {
	padding-left: 47px !important;
}
}

@media (max-width: 479px) {
	.ffm-cc__intro h3 {max-width: 18ch;line-height: 0.95 !important;font-size: 1.775rem !important;}
	.ffm-cc__room {padding: 17.5px 15px;}
	.ffm-cc__room-num {left: 22px;top: 25px;}
	body .row .ffm-cc__remove {right: 25px;top: 25px;}
	input.ffm-cc__room-name {padding-left: 47.5px !important;}
	body .row .ffm-cc__intro-heading:before {
    font-size: 30px;
}
}

@media (max-width: 374px) {
	.ffm-cc__addon-img {display:none;}
}
