.ih-quote-page {
	background: #fff;
}

.ih-quote-flow-full {
	min-height: calc(100vh - 110px);
	padding: 28px 24px 72px;
	color: #303036;
	font-family: "Montserrat", sans-serif;
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 24px;
}

.ih-quote-topbar {
	width: min(1100px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 150px 1fr 150px;
	align-items: center;
	gap: 16px;
}

.ih-quote-nav,
.ih-quote-next-indicator {
	min-height: 42px;
	border: 1px solid rgba(48, 48, 54, 0.16);
	background: #fff;
	color: #303036;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
}

.ih-quote-next-indicator {
	color: #ef4f78;
	border-color: rgba(239, 79, 120, 0.28);
	cursor: default;
}

.ih-quote-nav:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

.ih-quote-progress-line {
	position: relative;
	height: 4px;
	background: #ece9e6;
	overflow: hidden;
}

.ih-quote-progress-line span {
	position: absolute;
	inset: 0 auto 0 0;
	width: 0;
	background: linear-gradient(90deg, #ef3f77, #ff7d68);
	transition: width 0.24s ease;
}

.ih-quote-stage {
	display: grid;
	place-items: center;
}

.ih-quote-stage-inner {
	width: min(980px, 100%);
	display: grid;
	gap: 20px;
	text-align: center;
	animation: ihQuoteFade 0.24s ease;
}

.ih-quote-copy {
	display: grid;
	gap: 10px;
}

.ih-quote-kicker {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #ef4f78;
}

.ih-quote-stage-inner h1 {
	margin: 0;
	font-size: clamp(2.2rem, 4vw, 3.8rem);
	line-height: 1;
	font-weight: 800;
}

.ih-quote-stage-inner p {
	margin: 0;
	font-size: 16px;
	line-height: 1.7;
	color: #66666f;
}

.ih-quote-helper,
.ih-quote-error {
	font-size: 13px;
	font-weight: 700;
}

.ih-quote-helper {
	color: #ef4f78;
}

.ih-quote-error {
	color: #d72652;
}

.ih-quote-service-search {
	width: min(720px, 100%);
	margin: 0 auto;
	display: grid;
	gap: 12px;
}

.ih-quote-service-search input,
.ih-quote-inline-text input,
.ih-quote-inline-text textarea {
	width: 100%;
	border: 1px solid rgba(48, 48, 54, 0.16);
	background: #fff;
	color: #303036;
	font: inherit;
}

.ih-quote-service-search input {
	min-height: 58px;
	padding: 0 20px;
	font-size: 18px;
}

.ih-quote-search-results {
	display: grid;
	gap: 10px;
}

.ih-quote-search-results button,
.ih-quote-options button,
.ih-quote-package-grid button,
.ih-quote-palette-grid button {
	cursor: pointer;
}

.ih-quote-search-results button {
	border: 1px solid rgba(48, 48, 54, 0.12);
	background: #fff;
	padding: 18px 20px;
	text-align: left;
	display: grid;
	gap: 6px;
}

.ih-quote-search-results strong {
	font-size: 18px;
	font-weight: 800;
	color: #1d1d23;
}

.ih-quote-search-results span {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8e8e97;
}

.ih-quote-popular {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.ih-quote-popular button,
.ih-quote-options button {
	border: 1px solid rgba(48, 48, 54, 0.14);
	background: #fff;
	color: #303036;
	padding: 12px 18px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.ih-quote-options,
.ih-quote-palette-grid,
.ih-quote-package-grid,
.ih-quote-actions {
	width: min(920px, 100%);
	margin: 0 auto;
}

.ih-quote-options {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.ih-quote-options button.is-selected,
.ih-quote-popular button:hover,
.ih-quote-options button:hover,
.ih-quote-package-grid button.is-selected,
.ih-quote-palette-grid button.is-selected {
	border-color: #ef4f78;
	color: #ef4f78;
}

.ih-quote-check {
	display: inline-flex;
	width: 18px;
	height: 18px;
	align-items: center;
	justify-content: center;
	border: 1px solid currentColor;
	font-size: 12px;
}

.ih-quote-inline-text {
	width: min(780px, 100%);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	text-align: left;
}

.ih-quote-inline-text label {
	display: grid;
	gap: 8px;
	font-size: 13px;
	font-weight: 700;
	color: #303036;
}

.ih-quote-inline-text .is-wide {
	grid-column: 1 / -1;
}

.ih-quote-inline-text input,
.ih-quote-inline-text textarea {
	min-height: 54px;
	padding: 14px 16px;
	font-size: 15px;
}

.ih-quote-inline-text textarea {
	min-height: 150px;
	resize: vertical;
}

.ih-quote-package-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.ih-quote-package-grid button,
.ih-quote-palette-grid button {
	border: 1px solid rgba(48, 48, 54, 0.12);
	background: #fff;
	padding: 18px;
	text-align: left;
	display: grid;
	gap: 8px;
}

.ih-quote-package-grid strong,
.ih-quote-palette-grid strong {
	font-size: 17px;
	font-weight: 800;
	color: #1d1d23;
}

.ih-quote-package-grid span {
	font-size: 13px;
	font-weight: 700;
	color: #ef4f78;
}

.ih-quote-package-grid small,
.ih-quote-palette-grid small {
	font-size: 13px;
	line-height: 1.6;
	color: #64656b;
}

.ih-quote-palette-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 16px;
}

.ih-quote-swatches {
	display: grid;
	grid-template-columns: repeat(9, 1fr);
	min-height: 48px;
	overflow: hidden;
}

.ih-quote-swatches span {
	display: block;
	min-height: 48px;
}

.ih-quote-actions {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 6px;
}

.ih-quote-button {
	min-height: 52px;
	padding: 0 26px;
	border: 1px solid rgba(48, 48, 54, 0.14);
	background: #fff;
	color: #303036;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.ih-quote-button--primary {
	background: linear-gradient(135deg, #ef3f77, #ff7d68);
	border-color: transparent;
	color: #fff;
}

.ih-quote-button[disabled] {
	opacity: 0.45;
	cursor: not-allowed;
}

.ih-quote-summary {
	width: min(760px, 100%);
	margin: 0 auto;
	display: grid;
	gap: 12px;
	text-align: left;
}

.ih-quote-summary__card {
	border: 1px solid rgba(48, 48, 54, 0.12);
	padding: 22px;
	display: grid;
	gap: 14px;
}

.ih-quote-summary__row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding-bottom: 12px;
	border-bottom: 1px solid rgba(48, 48, 54, 0.08);
}

.ih-quote-summary__row:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.ih-quote-summary__row dt {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #8e8e97;
}

.ih-quote-summary__row dd {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #1d1d23;
	text-align: right;
}

@keyframes ihQuoteFade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 900px) {
	.ih-quote-topbar {
		grid-template-columns: 1fr;
	}

	.ih-quote-package-grid,
	.ih-quote-inline-text {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
	.ih-quote-flow-full {
		padding: 18px 16px 56px;
	}

	.ih-quote-stage-inner h1 {
		font-size: 2rem;
	}

	.ih-quote-service-search input {
		min-height: 52px;
		font-size: 16px;
	}

	.ih-quote-actions {
		flex-direction: column;
	}

	.ih-quote-button {
		width: 100%;
	}
}
