.homfix-cost-calculator {
	--homfix-navy: #18243a;
	--homfix-red: #e51e25;
	--homfix-text: #687386;
	--homfix-border: #e8e8e8;
	--homfix-selected: #f3f6fb;

	background: #ffffff;
	border: 1px solid var(--homfix-border);
	border-radius: 10px;
	box-shadow: 0 20px 55px rgba(24, 36, 58, 0.1);
	color: var(--homfix-navy);
	font-family: "General Sans", inherit;
	margin: 0 auto;
	max-width: 1120px;
	overflow: hidden;
	padding: 34px;
}

.homfix-cost-calculator *,
.homfix-cost-calculator *::before,
.homfix-cost-calculator *::after {
	box-sizing: border-box;
}

.homfix-cost-calculator .homfix-calculator__header {
	margin-bottom: 30px;
}

.homfix-cost-calculator .homfix-calculator__eyebrow {
	color: var(--homfix-red);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0;
	margin: 0 0 8px;
	text-transform: uppercase;
}

.homfix-cost-calculator .homfix-calculator__title {
	color: var(--homfix-navy);
	font-size: 34px;
	line-height: 1.16;
	margin: 0 0 10px;
}

.homfix-cost-calculator .homfix-calculator__description,
.homfix-cost-calculator .homfix-calculator__hint,
.homfix-cost-calculator .homfix-material-row__main span {
	color: var(--homfix-text);
}

.homfix-cost-calculator .homfix-calculator__description {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	max-width: 760px;
}

.homfix-cost-calculator .homfix-calculator__section {
	border-top: 1px solid var(--homfix-border);
	padding: 26px 0;
}

.homfix-cost-calculator .homfix-calculator__section-title {
	color: var(--homfix-navy);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.homfix-cost-calculator .homfix-project-type {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 760px;
}

.homfix-cost-calculator .homfix-project-type__button,
.homfix-cost-calculator .homfix-material-selector__button,
.homfix-cost-calculator .homfix-total-card__button,
.homfix-cost-calculator .homfix-material-row__remove {
	border-radius: 8px;
	cursor: pointer;
	font-weight: 800;
	transition: background 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.homfix-cost-calculator .homfix-project-type__button {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--homfix-border);
	color: var(--homfix-navy);
	display: inline-flex;
	gap: 12px;
	justify-content: center;
	min-height: 60px;
	padding: 15px 20px;
	text-align: center;
}

.homfix-cost-calculator .homfix-project-type__button:hover,
.homfix-cost-calculator .homfix-project-type__button:focus {
	border-color: var(--homfix-red);
	box-shadow: 0 0 0 3px rgba(229, 30, 37, 0.12);
	outline: none;
}

.homfix-cost-calculator .homfix-project-type__button.is-selected {
	background: var(--homfix-navy);
	border-color: var(--homfix-navy);
	box-shadow: inset 0 -3px 0 var(--homfix-red), 0 12px 24px rgba(24, 36, 58, 0.16);
	color: #ffffff;
}

.homfix-cost-calculator .homfix-project-type__icon {
	display: inline-flex;
	height: 25px;
	width: 25px;
}

.homfix-cost-calculator .homfix-project-type__icon svg {
	fill: currentColor;
	height: 100%;
	width: 100%;
}

.homfix-cost-calculator .homfix-project-type__icon i {
	color: currentColor;
	font-size: inherit;
	line-height: 1;
}

.homfix-cost-calculator .homfix-material-selector {
	display: grid;
	gap: 16px;
}

.homfix-cost-calculator .homfix-material-selector__buttons {
	display: grid;
	gap: 26px;
}

.homfix-cost-calculator .homfix-material-selector__group {
	display: grid;
	gap: 12px;
}

.homfix-cost-calculator .homfix-material-selector__category {
	align-items: center;
	color: var(--homfix-navy);
	display: flex;
	font-size: 13px;
	font-weight: 900;
	gap: 12px;
	letter-spacing: 0;
	margin: 0;
	text-transform: uppercase;
}

.homfix-cost-calculator .homfix-material-selector__category::after {
	background: var(--homfix-border);
	content: "";
	flex: 1 1 auto;
	height: 1px;
	min-width: 28px;
}

.homfix-cost-calculator .homfix-material-selector__category-button {
	align-items: center;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	gap: 8px;
	letter-spacing: inherit;
	margin: 0;
	padding: 0;
	text-align: inherit;
	text-transform: inherit;
}

.homfix-cost-calculator .homfix-material-selector__category-button:focus {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.homfix-cost-calculator .homfix-material-selector__category-icon {
	--homfix-category-icon-stroke: 2px;
	color: currentColor;
	display: inline-block;
	height: 12px;
	position: relative;
	width: 12px;
}

.homfix-cost-calculator .homfix-material-selector__category-icon::before,
.homfix-cost-calculator .homfix-material-selector__category-icon::after {
	background: currentColor;
	content: "";
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
	transition: opacity 160ms ease;
}

.homfix-cost-calculator .homfix-material-selector__category-icon::before {
	height: var(--homfix-category-icon-stroke);
	width: 100%;
}

.homfix-cost-calculator .homfix-material-selector__category-icon::after {
	height: 100%;
	width: var(--homfix-category-icon-stroke);
}

.homfix-cost-calculator .homfix-material-selector__category-button[aria-expanded="true"] .homfix-material-selector__category-icon::after {
	opacity: 0;
}

.homfix-cost-calculator .homfix-material-selector__items {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.homfix-cost-calculator .homfix-material-selector__button {
	align-items: stretch;
	background: #ffffff;
	border: 1px solid var(--homfix-border);
	color: var(--homfix-navy);
	display: grid;
	gap: 10px;
	min-height: 182px;
	padding: 12px;
	position: relative;
	text-align: left;
	width: 100%;
}

.homfix-cost-calculator .homfix-material-selector__button:hover,
.homfix-cost-calculator .homfix-material-selector__button:focus {
	border-color: rgba(229, 30, 37, 0.55);
	box-shadow: 0 12px 24px rgba(24, 36, 58, 0.1);
	outline: none;
	transform: translateY(-1px);
}

.homfix-cost-calculator .homfix-material-selector__button.is-selected {
	background: var(--homfix-selected);
	border-color: var(--homfix-navy);
	box-shadow: 0 14px 28px rgba(24, 36, 58, 0.14);
}

.homfix-cost-calculator .homfix-material-selector__button.is-selected:hover,
.homfix-cost-calculator .homfix-material-selector__button.is-selected:focus {
	border-color: var(--homfix-navy);
	box-shadow: 0 0 0 3px rgba(24, 36, 58, 0.13), 0 14px 28px rgba(24, 36, 58, 0.14);
}

.homfix-cost-calculator .homfix-material-selector__button.homfix-material-selector__button--no-image {
	display: inline-flex !important;
	flex-direction: row !important;
}

.homfix-cost-calculator .homfix-material-selector__button.homfix-material-selector__button--no-image .homfix-material-selector__content {
	width: 100%;
}

.homfix-cost-calculator .homfix-material-selector__image,
.homfix-cost-calculator .homfix-material-row__image {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--homfix-border);
	border-radius: 8px;
	display: inline-flex;
	flex: 0 0 auto;
	justify-content: center;
	overflow: hidden;
}

.homfix-cost-calculator .homfix-material-selector__image {
	height: 104px;
	width: 100%;
}

.homfix-cost-calculator .homfix-material-row__image {
	height: 62px;
	width: 72px;
}

.homfix-cost-calculator .homfix-material-selector__image img,
.homfix-cost-calculator .homfix-material-row__image img {
	height: 100%;
	object-fit: contain;
	padding: 8px;
	width: 100%;
}

.homfix-cost-calculator .homfix-material-image-fallback {
	color: var(--homfix-text);
	font-size: 18px;
	font-weight: 900;
}

.homfix-cost-calculator .homfix-material-selector__content {
	display: grid;
	gap: 4px;
}

.homfix-cost-calculator .homfix-material-selector__name {
	color: var(--homfix-navy);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.25;
}

.homfix-cost-calculator .homfix-material-selector__rate {
	color: var(--homfix-text);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.35;
}

.homfix-cost-calculator .homfix-material-selector__check {
	align-items: center;
	background: var(--homfix-navy);
	border: 2px solid #ffffff;
	border-radius: 999px;
	box-shadow: 0 5px 12px rgba(24, 36, 58, 0.22);
	color: #ffffff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 900;
	height: 28px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 9px;
	top: 9px;
	width: 28px;
}

.homfix-cost-calculator .homfix-material-selector__button:not(.is-selected) .homfix-material-selector__check {
	display: none;
}

.homfix-cost-calculator .homfix-calculator__section-title--rows {
	margin-top: 28px;
}

.homfix-cost-calculator .homfix-material-rows {
	display: grid;
	gap: 12px;
	margin-top: 14px;
}

.homfix-cost-calculator .homfix-material-row {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--homfix-border);
	border-radius: 8px;
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(220px, 1fr) minmax(170px, 220px) minmax(135px, 170px) auto;
	padding: 14px;
}

.homfix-cost-calculator .homfix-material-row:focus {
	border-color: var(--homfix-red);
	box-shadow: 0 0 0 3px rgba(229, 30, 37, 0.12);
	outline: none;
}

.homfix-cost-calculator .homfix-material-row__main {
	align-items: center;
	display: flex;
	gap: 14px;
	min-width: 0;
}

.homfix-cost-calculator .homfix-material-row__main h4 {
	color: var(--homfix-navy);
	font-size: 18px;
	line-height: 1.25;
	margin: 0 0 4px;
}

.homfix-cost-calculator .homfix-material-row__quantity span,
.homfix-cost-calculator .homfix-material-row__subtotal span {
	color: var(--homfix-text);
	display: block;
	font-size: 11px;
	font-weight: 900;
	margin-bottom: 6px;
	text-transform: uppercase;
}

.homfix-cost-calculator .homfix-material-row__quantity input {
	background: #ffffff;
	border: 1px solid var(--homfix-border);
	border-radius: 7px;
	color: var(--homfix-navy);
	min-height: 42px;
	padding: 8px 11px;
	width: 100%;
}

.homfix-cost-calculator .homfix-material-row__quantity input:focus {
	border-color: var(--homfix-red);
	box-shadow: 0 0 0 3px rgba(229, 30, 37, 0.12);
	outline: none;
}

.homfix-cost-calculator .homfix-material-row__quantity em {
	color: var(--homfix-text);
	display: block;
	font-style: normal;
	margin-top: 4px;
}

.homfix-cost-calculator .homfix-material-row__subtotal strong {
	color: var(--homfix-navy);
	font-size: 18px;
	line-height: 1.2;
}

.homfix-cost-calculator .homfix-material-row__remove {
	background: #ffffff;
	border: 1px solid var(--homfix-border);
	color: var(--homfix-red);
	min-height: 42px;
	padding: 10px 16px;
}

.homfix-cost-calculator .homfix-material-row__remove:hover,
.homfix-cost-calculator .homfix-material-row__remove:focus {
	border-color: var(--homfix-red);
	box-shadow: 0 0 0 3px rgba(229, 30, 37, 0.12);
	outline: none;
}

.homfix-cost-calculator .homfix-calculator__hint {
	margin: 14px 0 0;
}

.homfix-cost-calculator .homfix-total-card {
	align-items: center;
	background: linear-gradient(135deg, #f7f9fc 0%, #fff7f7 100%);
	border: 1px solid rgba(229, 30, 37, 0.18);
	border-radius: 10px;
	color: var(--homfix-navy);
	display: grid;
	gap: 18px;
	grid-template-columns: 1fr auto;
	margin-top: 4px;
	padding: 26px;
}

.homfix-cost-calculator .homfix-total-card__label {
	color: var(--homfix-navy);
	display: block;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.homfix-cost-calculator .homfix-total-card__value {
	color: var(--homfix-red);
	display: block;
	font-size: 42px;
	line-height: 1.08;
}

.homfix-cost-calculator .homfix-total-card__disclaimer,
.homfix-cost-calculator .homfix-total-card__message {
	color: var(--homfix-text);
	grid-column: 1 / -1;
	margin: 0;
}

.homfix-cost-calculator .homfix-total-card__button {
	background: var(--homfix-red);
	border: 1px solid var(--homfix-red);
	color: #ffffff;
	min-height: 48px;
	padding: 13px 20px;
	white-space: nowrap;
}

.homfix-cost-calculator .homfix-total-card__button:hover,
.homfix-cost-calculator .homfix-total-card__button:focus {
	background: var(--homfix-navy);
	border-color: var(--homfix-navy);
	color: #ffffff;
	outline: none;
}

.homfix-cost-calculator .homfix-calculator__empty {
	background: #fff7f7;
	border: 1px solid rgba(229, 30, 37, 0.2);
	border-radius: 8px;
	color: var(--homfix-navy);
	padding: 18px;
}

.homfix-quote-modal[hidden] {
	display: none;
}

.homfix-quote-modal {
	align-items: center;
	display: flex;
	inset: 0;
	justify-content: center;
	padding: 24px;
	position: fixed;
	z-index: 99999;
}

.homfix-quote-modal__backdrop {
	background: rgba(6, 22, 42, 0.58);
	inset: 0;
	position: absolute;
}

.homfix-quote-modal__dialog {
	background: #ffffff;
	border: 1px solid #edf0f3;
	border-radius: 14px;
	box-shadow: 0 24px 80px rgba(6, 22, 42, 0.2);
	color: #06162a;
	max-width: 620px;
	padding: 28px;
	position: relative;
	width: min(100%, 620px);
	z-index: 1;
}

.homfix-quote-modal__close {
	align-items: center;
	background: #ffffff;
	border: 1px solid #edf0f3;
	border-radius: 50%;
	color: #06162a;
	cursor: pointer;
	display: inline-flex;
	font-size: 24px;
	height: 36px;
	justify-content: center;
	line-height: 1;
	position: absolute;
	right: 16px;
	top: 16px;
	width: 36px;
}

.homfix-quote-modal__dialog h3 {
	font-size: 24px;
	font-weight: 900;
	line-height: 1.2;
	margin: 0 42px 8px 0;
}

.homfix-quote-modal__dialog p {
	color: #5d6674;
	margin: 0 0 18px;
}

.homfix-quote-form {
	display: grid;
	gap: 14px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.homfix-quote-form label {
	display: grid;
	gap: 6px;
}

.homfix-quote-form label span {
	color: #06162a;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.homfix-quote-form input,
.homfix-quote-form textarea {
	background: #ffffff;
	border: 1px solid #d6dde6;
	border-radius: 8px;
	color: #06162a;
	font: inherit;
	min-height: 42px;
	padding: 10px 12px;
	width: 100%;
}

.homfix-quote-form__wide,
.homfix-quote-form button,
.homfix-quote-form__status {
	grid-column: 1 / -1;
}

.homfix-quote-form button {
	background: #ed1c24;
	border: 1px solid #ed1c24;
	border-radius: 8px;
	color: #ffffff;
	cursor: pointer;
	font-weight: 900;
	min-height: 46px;
	padding: 12px 18px;
}

.homfix-quote-form button:disabled {
	cursor: wait;
	opacity: 0.65;
}

.homfix-quote-form__status {
	color: #16803a;
	font-size: 13px;
	margin: 0;
}

.homfix-quote-form__status.is-error {
	color: #ed1c24;
}

.homfix-quote-modal-open {
	overflow: hidden;
}

@media (max-width: 1024px) {
	.homfix-cost-calculator .homfix-material-selector__items {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.homfix-cost-calculator .homfix-material-row {
		grid-template-columns: minmax(220px, 1fr) minmax(150px, 200px) minmax(120px, 150px);
	}

	.homfix-cost-calculator .homfix-material-row__remove {
		justify-self: start;
	}
}

@media (max-width: 767px) {
	.homfix-cost-calculator {
		padding: 22px;
	}

	.homfix-cost-calculator .homfix-calculator__title {
		font-size: 27px;
	}

	.homfix-cost-calculator .homfix-project-type {
		grid-template-columns: 1fr;
	}

	.homfix-cost-calculator .homfix-material-selector__items {
		gap: 10px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.homfix-cost-calculator .homfix-material-selector__button {
		min-height: 168px;
		padding: 10px;
	}

	.homfix-cost-calculator .homfix-material-selector__image {
		height: 92px;
	}

	.homfix-cost-calculator .homfix-material-selector__name {
		font-size: 14px;
	}

	.homfix-cost-calculator .homfix-material-row,
	.homfix-cost-calculator .homfix-total-card {
		grid-template-columns: 1fr;
	}

	.homfix-cost-calculator .homfix-total-card__button {
		justify-self: start;
		white-space: normal;
	}

	.homfix-cost-calculator .homfix-total-card__value {
		font-size: 34px;
	}
}

.homfix-cost-calculator.homfix-cost-calculator--component {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font-family: inherit;
	margin: 0;
	max-width: none;
	overflow: visible;
	padding: 0;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__header,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__section,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__eyebrow,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__title,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__description,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__section-title,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__category,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__name,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__rate,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__main h4,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__main span,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__quantity span,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__quantity em,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__subtotal span,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__subtotal strong,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__label,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__value,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__disclaimer,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__message,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__hint {
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-transform: none;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__eyebrow,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__title,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__description,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__section-title,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__category,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__main h4,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__label,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__value,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__disclaimer,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__message,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-calculator__hint {
	margin: 0;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-project-type,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__items,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-rows,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	grid-template-columns: none;
	max-width: none;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__buttons,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__group {
	display: block;
	gap: normal;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__category::after {
	display: none;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-project-type__button,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__button,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__remove,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__button {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: inherit;
	font: inherit;
	min-height: 0;
	padding: 0.5em 0.75em;
	transform: none;
	transition: none;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-project-type__button:hover,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-project-type__button:focus,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__button:hover,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__button:focus,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__remove:hover,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__remove:focus,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__button:hover,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__button:focus {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	color: inherit;
	outline: none;
	transform: none;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-project-type__button.is-selected,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__button.is-selected {
	background: transparent;
	border-color: transparent;
	box-shadow: none;
	outline: none;
}

.homfix-cost-calculator.homfix-cost-calculator--selected_materials .homfix-material-rows {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__button {
	align-items: flex-start;
	display: inline-flex;
	flex-direction: column;
	gap: 0.35rem;
	min-height: 0;
	position: relative;
	text-align: inherit;
	width: auto;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-project-type__icon {
	height: 1em;
	width: 1em;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__image,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__image {
	background: transparent;
	border: 0;
	border-radius: 0;
	height: auto;
	max-width: 90px;
	overflow: visible;
	width: auto;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__image img,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__image img {
	height: auto;
	max-height: 90px;
	max-width: 90px;
	object-fit: contain;
	padding: 0;
	width: auto;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__content {
	display: block;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-selector__check {
	background: currentColor;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: Canvas;
	font-size: 0.75em;
	height: 1.4em;
	line-height: 1.4;
	position: absolute;
	right: -0.5em;
	top: -0.5em;
	width: 1.4em;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	width: 100%;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__main {
	display: flex;
	flex: 1 1 auto;
	gap: 0.5rem;
	min-width: 0;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__quantity input {
	background: transparent;
	border: 1px solid currentColor;
	border-radius: 0;
	color: inherit;
	font: inherit;
	min-height: 0;
	padding: 0.4em;
	width: auto;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__quantity span {
	grid-area: label;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__quantity input {
	grid-area: input;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__quantity em {
	grid-area: unit;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-material-row__quantity input:focus {
	border-color: currentColor;
	box-shadow: none;
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__disclaimer,
.homfix-cost-calculator.homfix-cost-calculator--component .homfix-total-card__message {
	flex-basis: 100%;
}

.homfix-cost-calculator.homfix-cost-calculator--h {
	--homfix-h-bg: #fbf7f1;
	--homfix-h-card: #ffffff;
	--homfix-h-navy: #06162a;
	--homfix-h-red: #ed1c24;
	--homfix-h-muted: #5d6674;
	--homfix-h-border: #edf0f3;
	--homfix-h-soft-red: #fff1f2;

	background: var(--homfix-h-bg);
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--homfix-h-navy);
	max-width: 1280px;
	padding: 24px;
}

.homfix-cost-calculator--h .homfix-calculator__header {
	margin: 0 auto 20px;
	max-width: 860px;
	text-align: center;
}

.homfix-cost-calculator--h .homfix-calculator__eyebrow {
	color: var(--homfix-h-red);
	font-size: 13px;
	font-weight: 900;
	margin-bottom: 8px;
}

.homfix-cost-calculator--h .homfix-calculator__title {
	color: var(--homfix-h-navy);
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 900;
	line-height: 1.08;
	margin-bottom: 6px;
}

.homfix-cost-calculator--h .homfix-calculator__description {
	color: var(--homfix-h-muted);
	font-size: 15px;
	line-height: 1.5;
	margin: 0 auto;
}

.homfix-calculator-h__layout {
	align-items: stretch;
	display: grid;
	gap: 24px;
	grid-template-columns: minmax(270px, 345px) minmax(0, 1fr);
}

.homfix-calculator-h__sidebar,
.homfix-calculator-h__content {
	background: var(--homfix-h-card);
	border: 1px solid var(--homfix-h-border);
	box-shadow: none;
}

.homfix-calculator-h__sidebar {
	border-radius: 14px;
	display: grid;
	gap: 22px;
	max-height: none;
	overflow: visible;
	padding: 20px;
	position: relative;
}

.homfix-calculator-h__content {
	border-radius: 14px;
	display: grid;
	gap: 14px;
	padding: 20px;
}

.homfix-cost-calculator--h .homfix-calculator__section {
	border: 0;
	padding: 0;
}

.homfix-cost-calculator--h .homfix-calculator__section-title {
	color: var(--homfix-h-navy);
	font-size: 13px;
	font-weight: 900;
	margin: 0 0 12px;
}

.homfix-cost-calculator--h .homfix-project-type {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: none;
}

.homfix-cost-calculator--h .homfix-project-type__button {
	background: transparent;
	border: 1px solid transparent;
	border-radius: 0;
	box-shadow: none;
	color: var(--homfix-h-navy);
	gap: 8px;
	font-size: 14px;
	min-height: 42px;
	padding: 10px 12px;
}

.homfix-cost-calculator--h .homfix-project-type__button:hover,
.homfix-cost-calculator--h .homfix-project-type__button:focus {
	border-color: rgba(237, 28, 36, 0.35);
	box-shadow: none;
}

.homfix-cost-calculator--h .homfix-project-type__button.is-selected {
	background: var(--homfix-h-red);
	border-color: var(--homfix-h-red);
	border-radius: 0;
	box-shadow: none;
	color: #ffffff;
}

.homfix-cost-calculator--h .homfix-project-type__icon {
	height: 18px;
	width: 18px;
}

.homfix-cost-calculator--h .homfix-material-selector {
	display: grid;
	gap: 16px;
}

.homfix-cost-calculator--h .homfix-material-selector__buttons {
	display: grid;
	gap: 12px;
}

.homfix-cost-calculator--h .homfix-material-selector__group {
	display: grid;
	gap: 10px;
}

.homfix-cost-calculator--h .homfix-material-selector__category {
	color: var(--homfix-h-navy);
	font-size: 14px;
	font-weight: 800;
	gap: 10px;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.homfix-cost-calculator--h .homfix-material-selector__category::after {
	background: var(--homfix-h-red);
	height: 1px;
}

.homfix-cost-calculator--h .homfix-material-selector__category-button {
	color: inherit;
	padding: 0;
	width: 100%;
}

.homfix-cost-calculator--h .homfix-material-selector__category-icon {
	color: var(--homfix-h-navy);
	height: 14px;
	width: 14px;
}

.homfix-cost-calculator--h .homfix-material-selector__category-icon::before,
.homfix-cost-calculator--h .homfix-material-selector__category-icon::after {
	background: currentColor;
}

.homfix-cost-calculator--h .homfix-material-selector__items {
	display: grid;
	gap: 8px;
	grid-template-columns: minmax(0, 1fr);
}

.homfix-cost-calculator--h .homfix-material-selector__button {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--homfix-h-border);
	border-radius: 10px;
	box-shadow: none;
	color: var(--homfix-h-navy);
	display: grid;
	gap: 12px;
	grid-template-columns: 44px minmax(0, 1fr);
	min-height: 54px;
	padding: 7px 12px;
	position: relative;
	text-align: left;
	width: 100%;
}

.homfix-cost-calculator--h .homfix-material-selector__button:hover,
.homfix-cost-calculator--h .homfix-material-selector__button:focus {
	background: #ffffff;
	border-color: var(--homfix-h-red);
	box-shadow: 0 8px 18px rgba(237, 28, 36, 0.1);
	color: var(--homfix-h-navy);
	transform: none;
}

.homfix-cost-calculator--h .homfix-material-selector__button.is-selected {
	background: var(--homfix-h-red);
	border-color: var(--homfix-h-red);
	box-shadow: none;
	color: #ffffff;
	outline: none;
}

.homfix-cost-calculator--h .homfix-material-selector__image {
	background: transparent;
	border: 0;
	border-radius: 0;
	height: 38px;
	width: 44px;
}

.homfix-cost-calculator--h .homfix-material-selector__image img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.homfix-cost-calculator--h .homfix-material-selector__content {
	display: grid;
	gap: 2px;
	min-width: 0;
}

.homfix-cost-calculator--h .homfix-material-selector__name {
	color: inherit;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.homfix-cost-calculator--h .homfix-material-selector__rate {
	color: currentColor;
	font-size: 12px;
	opacity: 0.78;
}

.homfix-cost-calculator--h .homfix-material-selector__check {
	background: #ffffff;
	border: 1px solid var(--homfix-h-red);
	border-radius: 50%;
	color: var(--homfix-h-red);
	font-size: 11px;
	height: 20px;
	line-height: 18px;
	position: absolute;
	right: -7px;
	top: -7px;
	width: 20px;
}

.homfix-cost-calculator--h .homfix-material-selector__button:not(.is-selected) .homfix-material-selector__check {
	display: none;
}

.homfix-cost-calculator--h .homfix-calculator__section-title--rows {
	font-size: 15px;
	margin-bottom: 10px;
}

.homfix-cost-calculator--h .homfix-material-rows {
	display: grid;
	gap: 10px;
	grid-template-columns: minmax(0, 1fr);
	max-width: none;
	width: 100%;
}

.homfix-cost-calculator--h .homfix-material-row {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--homfix-h-border);
	border-radius: 10px;
	box-shadow: none;
	display: grid;
	gap: 16px;
	grid-template-areas: "main quantity subtotal remove";
	grid-template-columns: minmax(210px, 1fr) 156px 118px 108px;
	min-height: 76px;
	padding: 10px 14px;
	width: 100%;
}

.homfix-cost-calculator--h .homfix-material-row__main {
	align-items: center;
	display: grid;
	gap: 14px;
	grid-area: main;
	grid-template-columns: 68px minmax(0, 1fr);
	min-width: 0;
}

.homfix-cost-calculator--h .homfix-material-row__image {
	background: transparent;
	border: 0;
	border-radius: 0;
	height: 54px;
	width: 68px;
}

.homfix-cost-calculator--h .homfix-material-row__image img {
	height: 100%;
	object-fit: contain;
	width: 100%;
}

.homfix-cost-calculator--h .homfix-material-row__main h4 {
	color: var(--homfix-h-navy);
	font-size: 15px;
	font-weight: 900;
	line-height: 1.15;
	margin: 0 0 3px;
}

.homfix-cost-calculator--h .homfix-material-row__main span {
	color: var(--homfix-h-muted);
	font-size: 13px;
}

.homfix-cost-calculator--h .homfix-material-row__quantity {
	align-items: start;
	display: grid;
	gap: 6px 8px;
	grid-area: quantity;
	grid-template-areas:
		"label label"
		"input unit";
	grid-template-columns: 88px minmax(34px, auto);
	justify-content: start;
	min-width: 0;
}

.homfix-cost-calculator--h .homfix-material-row__quantity span,
.homfix-cost-calculator--h .homfix-material-row__subtotal span {
	color: var(--homfix-h-muted);
	font-size: 10px;
	font-weight: 900;
	line-height: 1;
	text-transform: uppercase;
}

.homfix-cost-calculator--h .homfix-material-row__quantity input {
	background: #ffffff;
	border: 1px solid #d6dde6;
	border-radius: 5px;
	color: var(--homfix-h-navy);
	font-size: 13px;
	grid-area: input;
	min-height: 34px;
	padding: 6px 8px;
	width: 88px;
}

.homfix-cost-calculator--h .homfix-material-row__quantity em {
	align-self: center;
	color: var(--homfix-h-muted);
	font-size: 13px;
	font-style: normal;
	grid-area: unit;
	line-height: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.homfix-cost-calculator--h .homfix-material-row__subtotal {
	display: grid;
	gap: 7px;
	grid-area: subtotal;
	justify-items: start;
	min-width: 0;
}

.homfix-cost-calculator--h .homfix-material-row__subtotal strong {
	color: var(--homfix-h-navy);
	font-size: 15px;
	font-weight: 900;
	line-height: 1;
	white-space: nowrap;
}

.homfix-cost-calculator--h .homfix-material-row__remove {
	align-items: center;
	background: #ffffff;
	border: 1px solid var(--homfix-h-red);
	border-radius: 7px;
	color: var(--homfix-h-red);
	display: inline-flex;
	font-size: 13px;
	gap: 6px;
	grid-area: remove;
	justify-content: center;
	line-height: 1;
	min-height: 34px;
	min-width: 98px;
	padding: 8px 12px;
	white-space: nowrap;
}

.homfix-cost-calculator--h .homfix-material-row__remove:hover,
.homfix-cost-calculator--h .homfix-material-row__remove:focus {
	background: var(--homfix-h-red);
	border-color: var(--homfix-h-red);
	color: #ffffff;
}

.homfix-cost-calculator--h .homfix-material-row__remove-icon {
	fill: currentColor;
	flex: 0 0 auto;
	height: 14px;
	width: 14px;
}

.homfix-cost-calculator--h .homfix-total-card {
	background: var(--homfix-h-soft-red);
	border: 1px solid rgba(237, 28, 36, 0.22);
	border-radius: 10px;
	display: grid;
	gap: 10px 18px;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-top: 4px;
	padding: 18px 20px;
}

.homfix-cost-calculator--h .homfix-total-card__label {
	color: var(--homfix-h-navy);
	font-size: 14px;
	font-weight: 900;
	text-transform: uppercase;
}

.homfix-cost-calculator--h .homfix-total-card__value {
	color: var(--homfix-h-red);
	display: block;
	font-size: clamp(30px, 4vw, 44px);
	font-weight: 900;
	line-height: 1;
	margin-top: 8px;
}

.homfix-cost-calculator--h .homfix-total-card__disclaimer {
	color: var(--homfix-h-muted);
	font-size: 12px;
	grid-column: 1 / -1;
	line-height: 1.45;
	margin: 0;
}

.homfix-cost-calculator--h .homfix-total-card__button {
	align-self: center;
	background: var(--homfix-h-red);
	border: 1px solid var(--homfix-h-red);
	border-radius: 8px;
	color: #ffffff;
	font-size: 14px;
	min-height: 44px;
	padding: 12px 24px;
}

.homfix-cost-calculator--h .homfix-total-card__button:hover,
.homfix-cost-calculator--h .homfix-total-card__button:focus {
	background: #c9141b;
	border-color: #c9141b;
	color: #ffffff;
}

.homfix-cost-calculator--h .homfix-total-card__message {
	color: var(--homfix-h-navy);
	grid-column: 1 / -1;
	margin: 0;
}

@media (max-width: 1024px) {
	.homfix-calculator-h__layout {
		grid-template-columns: minmax(0, 1fr);
	}

	.homfix-calculator-h__sidebar {
		max-height: none;
		position: static;
	}

	.homfix-cost-calculator--h .homfix-material-row {
		grid-template-areas:
			"main quantity"
			"subtotal remove";
		grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
	}
}

@media (max-width: 680px) {
	.homfix-cost-calculator.homfix-cost-calculator--h {
		padding: 18px;
	}

	.homfix-calculator-h__sidebar,
	.homfix-calculator-h__content {
		border-radius: 14px;
		padding: 18px;
	}

	.homfix-cost-calculator--h .homfix-project-type {
		grid-template-columns: minmax(0, 1fr);
	}

	.homfix-cost-calculator--h .homfix-material-row,
	.homfix-cost-calculator--h .homfix-total-card {
		grid-template-columns: minmax(0, 1fr);
	}

	.homfix-cost-calculator--h .homfix-material-row {
		gap: 12px;
		grid-template-areas:
			"main"
			"quantity"
			"subtotal"
			"remove";
	}

	.homfix-cost-calculator--h .homfix-material-row__main {
		grid-template-columns: 62px minmax(0, 1fr);
	}

	.homfix-cost-calculator--h .homfix-material-row__image {
		height: 50px;
		width: 62px;
	}

	.homfix-cost-calculator--h .homfix-material-row__remove {
		width: 100%;
	}

	.homfix-cost-calculator--h .homfix-total-card__button {
		width: 100%;
	}
}
