.dmfit-products-nav,
.dmfit-support-nav {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: .05rem;
}

.dmfit-products-nav__toggle {
	display: inline-grid;
	width: 1.8rem;
	height: 1.8rem;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1;
	cursor: pointer;
}

.dmfit-products-nav__toggle:hover,
.dmfit-products-nav__toggle:focus-visible,
.dmfit-products-nav.is-open .dmfit-products-nav__toggle,
.dmfit-support-nav.is-open .dmfit-support-nav__toggle {
	background: #eaf4f1;
	color: #168875;
}

.dmfit-products-nav__toggle:focus-visible {
	outline: 2px solid #168875;
	outline-offset: 2px;
}

.dmfit-products-dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: -.5rem;
	z-index: 1000;
	width: min(245px, calc(100vw - 2rem));
	overflow: visible;
	margin: 0;
	padding: .55rem;
	border: 1px solid #d6e1dd;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 14px 35px rgba(19, 50, 44, .16);
	list-style: none;
}

.dmfit-products-nav.is-open > .dmfit-products-dropdown,
.dmfit-support-nav.is-open > .dmfit-support-dropdown {
	display: block;
}

.dmfit-products-dropdown li {
	position: relative;
	margin: 0;
}

.dmfit-products-dropdown a {
	display: flex;
	min-height: 2.45rem;
	align-items: center;
	padding: .56rem .7rem;
	border-radius: 7px;
	color: #183e38;
	font-size: .9rem;
	line-height: 1.25;
	text-decoration: none;
}

.dmfit-products-dropdown a:hover,
.dmfit-products-dropdown a:focus-visible,
.dmfit-products-dropdown a[aria-current="page"] {
	background: #eaf4f1;
	color: #116f60;
}

.dmfit-products-dropdown a:focus-visible {
	outline: 2px solid #168875;
	outline-offset: 1px;
}

.dmfit-products-dropdown__submenu-toggle {
	position: absolute;
	top: .32rem;
	right: .35rem;
	display: grid;
	width: 1.8rem;
	height: 1.8rem;
	place-items: center;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #168875;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.dmfit-products-dropdown__submenu-toggle:hover,
.dmfit-products-dropdown__submenu-toggle:focus-visible,
.dmfit-products-dropdown__parent.is-submenu-open > .dmfit-products-dropdown__submenu-toggle {
	background: #eaf4f1;
}

.dmfit-products-dropdown__submenu-toggle:focus-visible {
	outline: 2px solid #168875;
	outline-offset: 1px;
}

.dmfit-products-dropdown__parent.opens-left > .dmfit-products-dropdown__submenu-toggle span {
	display: inline-block;
	transform: rotate(180deg);
}

.dmfit-products-dropdown--nested {
	top: -.55rem;
	left: calc(100% - .15rem);
	width: min(265px, calc(100vw - 2rem));
	max-height: min(70vh, 520px);
	overflow-y: auto;
	border-color: #dce7e3;
}

.dmfit-products-dropdown__parent.opens-left > .dmfit-products-dropdown--nested {
	right: calc(100% - .15rem);
	left: auto;
}

.dmfit-products-dropdown__parent.is-submenu-open > .dmfit-products-dropdown--nested {
	display: block;
}

@media (max-width: 560px) {
	.dmfit-products-dropdown:not(.dmfit-products-dropdown--nested) {
		left: 0;
	}

	.dmfit-products-dropdown--nested {
		position: static;
		width: auto;
		max-height: none;
		overflow: visible;
		margin: 0 .15rem .35rem .65rem;
		padding: .25rem;
		border-radius: 8px;
		box-shadow: none;
	}
}

/* Full width homepage banner carousel */
.hero.dmfit-has-carousel {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(300px, 30vw, 420px);
	padding: 0;
	overflow: hidden;
	isolation: isolate;
}

.dmfit-hero-carousel {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: #f2f5f3;
}

.dmfit-hero-carousel__slides,
.dmfit-hero-carousel__slide {
	position: absolute;
	inset: 0;
}

.dmfit-hero-carousel__slide {
	opacity: 0;
	transition: opacity .7s ease;
}

.dmfit-hero-carousel__slide.is-active {
	opacity: 1;
}

.dmfit-hero-carousel__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.dmfit-hero-carousel::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .88) 32%, rgba(255, 255, 255, .35) 62%, rgba(255, 255, 255, .04) 100%);
	content: "";
}

.hero .hero-grid.dmfit-hero-carousel__content {
	position: relative;
	z-index: 1;
	display: block;
	width: min(100% - 3rem, 1200px);
	margin-inline: auto;
	padding: 3.4rem 0 3.8rem;
}

.hero .dmfit-hero-carousel__content .hero-copy {
	max-width: 610px;
}

.hero .dmfit-hero-carousel__content .hero-products {
	display: none;
}

.dmfit-hero-carousel__controls {
	position: absolute;
	right: 0;
	bottom: 1rem;
	left: 0;
	z-index: 2;
	display: flex;
	justify-content: center;
}

.dmfit-hero-carousel__dots {
	display: flex;
	gap: .55rem;
	padding: .45rem .65rem;
	border-radius: 999px;
	background: rgba(20, 43, 39, .36);
}

.dmfit-hero-carousel__pause {
	margin-left: .45rem;
	padding: .25rem .6rem;
	border: 1px solid rgba(255, 255, 255, .75);
	border-radius: 999px;
	background: rgba(20, 43, 39, .55);
	color: #fff;
	font: inherit;
	font-size: .72rem;
	cursor: pointer;
}

.dmfit-hero-carousel__pause:focus-visible {
	outline: 2px solid #168875;
	outline-offset: 3px;
}

.dmfit-hero-carousel__dot {
	width: .62rem;
	height: .62rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .9);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
}

.dmfit-hero-carousel__dot.is-active {
	background: #fff;
}

.dmfit-hero-carousel__dot:focus-visible {
	outline: 2px solid #168875;
	outline-offset: 3px;
}

@media (max-width: 700px) {
	.hero.dmfit-has-carousel {
		min-height: 390px;
		align-items: flex-start;
	}

	.dmfit-hero-carousel__slide img {
		object-position: 58% center;
	}

	.dmfit-hero-carousel::after {
		background: linear-gradient(90deg, rgba(255, 255, 255, .95), rgba(255, 255, 255, .75) 72%, rgba(255, 255, 255, .35));
	}

	.hero .hero-grid.dmfit-hero-carousel__content {
		width: calc(100% - 2rem);
		padding: 2.2rem 0 3rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.dmfit-hero-carousel__slide {
		transition: none;
	}
}

.dmfit-category-menu {
	margin-top: 1.6rem;
	max-width: 980px;
}

.dmfit-category-menu__label {
	margin: 0 0 .7rem;
	color: #49625d;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.dmfit-category-menu__list {
	display: flex;
	flex-wrap: wrap;
	gap: .55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.dmfit-category-menu__list a {
	display: inline-flex;
	align-items: center;
	min-height: 2.35rem;
	padding: .45rem .85rem;
	border: 1px solid #c7d8d3;
	border-radius: 999px;
	background: rgba(255, 255, 255, .78);
	color: #183e38;
	font-size: .88rem;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
	transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.dmfit-category-menu__list a:hover,
.dmfit-category-menu__list a:focus-visible,
.dmfit-category-menu__list a[aria-current="page"] {
	border-color: #168875;
	background: #168875;
	color: #fff;
}

.dmfit-category-menu__list a:focus-visible {
	outline: 3px solid #85c9bb;
	outline-offset: 2px;
}

@media (max-width: 640px) {
	.dmfit-category-menu {
		margin-top: 1.25rem;
	}

	.dmfit-category-menu__list {
		gap: .45rem;
	}

	.dmfit-category-menu__list a {
		min-height: 2.2rem;
		padding: .4rem .7rem;
		font-size: .82rem;
	}
}
.range-card .range-photo {
	overflow: hidden;
}

.range-card .range-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
