/* 1.0.598: product type, customer intent and brand mega navigation. */
.klima-category-menu__mega,
.klima-category-menu__mega * {
	box-sizing: border-box;
}

.klima-category-menu__mega {
	display: grid;
	grid-template-columns: minmax(320px, 1.12fr) minmax(300px, 1fr) minmax(250px, 0.82fr);
	min-width: 0;
	background: #fff;
	color: #14253a;
}

/* wpautop must never become a grid participant in saved header templates. */
.klima-category-menu__mega br,
.klima-category-menu__mega > p:empty,
.klima-category-menu__mega-section > p:empty {
	display: none !important;
}

.klima-category-menu__mega--no-brands {
	grid-template-columns: repeat(2, minmax(320px, 1fr));
}

.klima-category-menu__mega-section {
	min-width: 0;
	padding: 25px 24px 22px;
}

.klima-category-menu__mega-section + .klima-category-menu__mega-section {
	border-left: 1px solid #e1e9f0;
}

.klima-category-menu__mega-section--intents {
	background: #f7fafc;
}

.klima-category-menu__mega-section--brands {
	background: linear-gradient(155deg, #f4f8fb 0%, #edf4f8 100%);
}

.klima-category-menu__mega-heading {
	margin: 0 0 17px;
}

.klima-category-menu__mega-heading > span {
	display: block;
	margin-bottom: 5px;
	color: #c52447;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.klima-category-menu__mega-heading > strong {
	display: block;
	color: #14253a;
	font-size: 20px;
	font-weight: 900;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.klima-category-menu__mega-heading > small {
	display: block;
	margin-top: 5px;
	color: #687b8e;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
}

.klima-category-menu__mega-list,
.klima-category-menu__intent-list,
.klima-category-menu__brand-list {
	display: grid;
	gap: 5px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.klima-category-menu__mega-list > li,
.klima-category-menu__intent-list > li,
.klima-category-menu__brand-list > li {
	margin: 0 !important;
	padding: 0 !important;
}

.klima-category-menu__mega-link,
.klima-category-menu__intent-list a,
.klima-category-menu__brand-list a {
	display: grid !important;
	grid-template-columns: 38px minmax(0, 1fr) auto 16px !important;
	align-items: center;
	gap: 11px;
	min-height: 58px;
	padding: 8px 10px !important;
	border: 1px solid transparent !important;
	border-radius: 12px !important;
	background: transparent;
	color: #14253a !important;
	text-decoration: none !important;
	transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.klima-category-menu__intent-list a,
.klima-category-menu__brand-list a {
	grid-template-columns: 38px minmax(0, 1fr) 16px !important;
}

.klima-category-menu__mega-link > .klima-category-menu__icon,
.klima-category-menu__intent-list a > .klima-category-menu__intent-icon,
.klima-category-menu__brand-list a > .klima-category-menu__brand-mark {
	grid-column: 1;
}

.klima-category-menu__mega-link > .klima-category-menu__mega-copy,
.klima-category-menu__intent-list a > .klima-category-menu__mega-copy,
.klima-category-menu__brand-list a > .klima-category-menu__mega-copy {
	grid-column: 2;
}

.klima-category-menu__mega-link > .klima-category-menu__count {
	grid-column: 3;
}

.klima-category-menu__mega-link > .klima-category-menu__mega-arrow {
	grid-column: 4;
}

.klima-category-menu__intent-list a > .klima-category-menu__mega-arrow,
.klima-category-menu__brand-list a > .klima-category-menu__mega-arrow {
	grid-column: 3;
}

.klima-category-menu__mega-link:is(:hover, :focus-visible),
.klima-category-menu__intent-list a:is(:hover, :focus-visible),
.klima-category-menu__brand-list a:is(:hover, :focus-visible) {
	border-color: #cbdce8 !important;
	background: #fff;
	box-shadow: 0 9px 24px rgba(21, 57, 86, 0.09);
	transform: translateY(-1px);
}

.klima-category-menu__mega-copy {
	display: block;
	min-width: 0;
}

.klima-category-menu__mega-copy > strong,
.klima-category-menu__mega-copy > small {
	display: block;
}

.klima-category-menu__mega-copy > strong {
	color: #18304a;
	font-size: 13px;
	font-weight: 850;
	letter-spacing: -0.012em;
	line-height: 1.25;
}

.klima-category-menu__mega-copy > small {
	margin-top: 3px;
	color: #708397;
	font-size: 10.5px;
	font-weight: 500;
	line-height: 1.35;
}

.klima-category-menu__mega .klima-category-menu__icon,
.klima-category-menu__intent-icon,
.klima-category-menu__brand-mark {
	display: grid;
	width: 38px;
	height: 38px;
	place-items: center;
	border-radius: 10px;
	background: #edf5fa;
	box-shadow: inset 0 0 0 1px rgba(31, 95, 137, 0.08);
}

.klima-category-menu__intent-icon {
	position: relative;
}

.klima-category-menu__intent-icon::before,
.klima-category-menu__intent-icon::after {
	position: absolute;
	content: "";
}

.klima-category-menu__intent-icon--cooling::before,
.klima-category-menu__intent-icon--winter::before {
	width: 20px;
	height: 20px;
	background: #20658f;
	clip-path: polygon(45% 0, 55% 0, 55% 37%, 82% 21%, 88% 30%, 61% 46%, 94% 46%, 94% 56%, 61% 56%, 88% 72%, 82% 81%, 55% 65%, 55% 100%, 45% 100%, 45% 65%, 18% 81%, 12% 72%, 39% 56%, 6% 56%, 6% 46%, 39% 46%, 12% 30%, 18% 21%, 45% 37%);
}

.klima-category-menu__intent-icon--winter::after {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #c52447;
}

.klima-category-menu__intent-icon--heating::before {
	width: 14px;
	height: 23px;
	border: 2px solid #20658f;
	border-radius: 9px;
}

.klima-category-menu__intent-icon--heating::after {
	bottom: 9px;
	width: 5px;
	height: 11px;
	border-radius: 4px;
	background: #c52447;
}

.klima-category-menu__intent-icon--rooms::before {
	width: 18px;
	height: 16px;
	border: 2px solid #20658f;
	border-radius: 4px;
	box-shadow: 6px 6px 0 -2px #edf5fa, 6px 6px #c52447;
}

.klima-category-menu__brand-mark {
	overflow: hidden;
	background: #fff;
}

.klima-category-menu__brand-mark img {
	display: block;
	width: 31px;
	height: 27px;
	object-fit: contain;
}

.klima-category-menu__brand-mark b {
	color: #1c5e89;
	font-size: 17px;
	font-weight: 900;
}

.klima-category-menu__count {
	display: inline-grid;
	min-width: 26px;
	height: 22px;
	place-items: center;
	padding: 0 6px;
	border-radius: 999px;
	background: #e8f0f6;
	color: #395a75;
	font-size: 10px;
	font-weight: 850;
	line-height: 1;
}

.klima-category-menu__mega-arrow {
	display: block;
	width: 16px;
	height: 16px;
	fill: none;
	stroke: #8da0b2;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
}

.klima-category-menu__mega-footer-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	margin-top: 13px;
	padding: 10px 14px;
	border-radius: 11px;
	background: #102f5f;
	color: #fff !important;
	font-size: 12px;
	font-weight: 850;
	text-decoration: none !important;
}

.klima-category-menu__mega-footer-link .klima-category-menu__mega-arrow {
	stroke: currentcolor;
}

.klima-category-menu__decision-card,
.klima-category-menu__brand-help {
	display: grid;
	margin-top: 15px;
	border-radius: 13px;
	text-decoration: none !important;
}

.klima-category-menu__decision-card {
	grid-template-columns: 34px minmax(0, 1fr);
	align-items: center;
	gap: 11px;
	padding: 13px;
	background: #102f5f;
	color: #fff !important;
}

.klima-category-menu__decision-card > span:first-child {
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 50%;
	background: #ffc83d;
	color: #14253a;
	font-size: 17px;
	font-weight: 900;
}

.klima-category-menu__decision-card .klima-category-menu__mega-copy > strong {
	color: #fff;
}

.klima-category-menu__decision-card .klima-category-menu__mega-copy > small {
	color: #c8d8e6;
}

.klima-category-menu__brand-help {
	padding: 14px;
	border: 1px solid #d4e0e8;
	background: rgba(255, 255, 255, 0.72);
	color: #18304a !important;
}

.klima-category-menu__brand-help:is(:hover, :focus-visible),
.klima-category-menu__decision-card:is(:hover, :focus-visible),
.klima-category-menu__mega-footer-link:is(:hover, :focus-visible) {
	box-shadow: 0 10px 24px rgba(15, 47, 80, 0.16);
	transform: translateY(-1px);
}

.klima-category-menu__mega a:focus-visible {
	outline: 3px solid rgba(197, 36, 71, 0.25);
	outline-offset: 2px;
}

@media (min-width: 1280px) {
	.klima-nav .klima-nav__inner .klima-category-menu > .klima-category-menu__panel {
		width: min(1120px, calc(100vw - 64px)) !important;
		min-width: min(930px, calc(100vw - 64px)) !important;
		max-width: min(1120px, calc(100vw - 64px)) !important;
		max-height: calc(100dvh - 112px) !important;
		padding: 0 !important;
		overflow-x: hidden;
		overflow-y: auto;
		border: 1px solid #d9e3eb;
		border-radius: 18px !important;
		box-shadow: 0 28px 76px rgba(3, 14, 31, 0.25) !important;
	}
}

@media (min-width: 1280px) and (max-width: 1439px) {
	.klima-category-menu__mega {
		grid-template-columns: minmax(290px, 1.05fr) minmax(280px, 1fr) minmax(235px, 0.8fr);
	}

	.klima-category-menu__mega-section {
		padding: 21px 19px 19px;
	}

	.klima-category-menu__mega-copy > small {
		font-size: 10px;
	}
}

@media (max-width: 1279px) {
	.klima-nav .klima-category-menu--mobile > .klima-category-menu__panel {
		position: static !important;
		width: 100% !important;
		min-width: 0 !important;
		max-width: none !important;
		max-height: min(68vh, 720px) !important;
		padding: 0 !important;
		overflow-x: hidden !important;
		overflow-y: auto !important;
		border-radius: 0 0 14px 14px !important;
	}

	.klima-category-menu__mega,
	.klima-category-menu__mega--no-brands {
		display: block;
	}

	.klima-category-menu__mega-section {
		padding: 20px 16px;
	}

	.klima-category-menu__mega-section + .klima-category-menu__mega-section {
		border-top: 1px solid #dfe8ef;
		border-left: 0;
	}

	.klima-category-menu__mega-heading > strong {
		font-size: 18px;
	}

	.klima-category-menu__mega-link,
	.klima-category-menu__intent-list a,
	.klima-category-menu__brand-list a {
		min-height: 60px;
		padding-inline: 8px !important;
	}
}

@media (max-width: 480px) {
	.klima-category-menu__mega-section {
		padding: 18px 12px;
	}

	.klima-category-menu__mega-link {
		grid-template-columns: 36px minmax(0, 1fr) 16px !important;
	}

	.klima-category-menu__mega-link > .klima-category-menu__count {
		display: none;
	}

	.klima-category-menu__mega-copy > strong {
		font-size: 12.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.klima-category-menu__mega a {
		transition: none;
	}
}
