/* Trade "tool" row in the mega menu (the flooring calculator). One navy row under the services list. */
.khs-mm-root a.khs-mm-tool,
a.khs-mm-tool {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 14px;
	padding: 18px 16px 14px;
	border-radius: 14px;
	background: #0c2340;
	color: #fff !important;
	text-decoration: none !important;
	transition: background 0.2s;
}

a.khs-mm-tool:hover,
a.khs-mm-tool:focus-visible {
	background: #132f52;
	color: #fff !important;
}

/* Tape-measure ticks, stopping short of the rounded corners */
a.khs-mm-tool::before {
	content: "";
	position: absolute;
	top: 0;
	left: 18px;
	right: 18px;
	height: 8px;
	background-image: linear-gradient(90deg, #e0b384 0 2px, transparent 2px), linear-gradient(90deg, #e0b384 0 1.5px, transparent 1.5px);
	background-size: 48px 8px, 12px 5px;
	background-repeat: space no-repeat;
	pointer-events: none;
}

.khs-mm-tool-ic {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	color: #e8b98a;
}

.khs-mm-tool-ic svg {
	display: block;
	width: 100%;
	height: 100%;
}

.khs-mm-tool-text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 1px;
}

.khs-mm-tool-text strong {
	font: 800 15.5px/1.25 Outfit, sans-serif;
	color: #fff;
}

.khs-mm-tool-text span {
	font-size: 13px;
	line-height: 1.35;
	color: #dce5f0;
}

.khs-mm-tool-open {
	flex-shrink: 0;
	padding: 8px 12px;
	border-radius: 8px;
	background: #e8b98a;
	color: #0c2340;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

/* Phone drawer: sits under the service list */
a.khs-mm-tool.is-drawer {
	margin: 12px 16px 4px;
}
