/*
 * Farin header: frame, rows, elements and the phone drawer.
 * The category mega menu has its own file (mega.css), loaded only when used.
 * Desktop from 1024px; below that the header folds into burger + drawer.
 */

/* The page edge (WordPress's block styles used to set it; they are no longer loaded: Features\Lean). */
body {
	margin: 0;
}

.screen-reader-text {
	position: absolute !important;
	inline-size: 1px;
	block-size: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	inset-block-start: 8px;
	inset-inline-start: 8px;
	z-index: 100000;
	inline-size: auto;
	block-size: auto;
	padding: 12px 16px;
	clip-path: none;
	border-radius: 12px;
	background: #fff;
	color: #1d1730;
	box-shadow: 0 8px 24px rgb(20 16 40 / 0.16);
}

.fh {
	--fh-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	position: relative;
	z-index: 900;
	color: var(--fh-fg);
	font-size: 14px;
	line-height: 1.5;
}

.fh *,
.fh *::before,
.fh *::after,
.fh-drawer * {
	box-sizing: border-box;
}

.fh a,
.fh-drawer a {
	color: inherit;
	text-decoration: none;
}

.fh :focus-visible,
.fh-drawer :focus-visible {
	outline: 2px solid var(--fh-accent);
	outline-offset: 2px;
	border-radius: 10px;
}

.fh button {
	font: inherit;
	color: inherit;
}

/* ---------- Sticking ---------- */

.fh[data-sticky="always"],
.fh[data-sticky="up"] {
	position: sticky;
	inset-block-start: var(--wp-admin--admin-bar--height, 0px);
}

.fh[data-sticky="up"] {
	transition: transform 0.3s var(--fh-ease);
}

.fh.is-hidden {
	transform: translateY(calc(-100% - var(--wp-admin--admin-bar--height, 0px) - 8px));
}

/* In Elementor's editor the header stays in its place, never over the page being edited. */
.elementor-editor-active .fh[data-sticky] {
	position: relative;
	inset-block-start: auto;
	transform: none;
}

@media (max-width: 600px) {
	.fh[data-sticky="always"],
	.fh[data-sticky="up"] {
		inset-block-start: 0;
	}
}

/* ---------- Frame and background ---------- */

.fh__frame {
	position: relative;
	isolation: isolate;
}

.fh__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--fh-layer);
}

.fh__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background-image: var(--fh-pattern);
	background-size: var(--fh-psize) var(--fh-psize);
	pointer-events: none;
}

/* Blur sits on the background layer only, so menus and the drawer are not trapped by it. */
.fh.is-glass .fh__bg {
	-webkit-backdrop-filter: blur(var(--fh-blur)) saturate(1.4);
	backdrop-filter: blur(var(--fh-blur)) saturate(1.4);
}

.fh__inner {
	display: flex;
	align-items: center;
	gap: var(--fh-zgap);
	inline-size: 100%;
	max-inline-size: var(--fh-max);
	margin-inline: auto;
	padding-inline: 24px;
}

.fh--boxed {
	padding: var(--fh-float) 16px 0;
}

.fh--boxed .fh__frame {
	max-inline-size: var(--fh-max);
	margin-inline: auto;
	border-radius: var(--fh-radius);
}

.fh--boxed .fh__inner {
	max-inline-size: none;
}

.fh--full.has-shadow-none .fh__frame {
	border-block-end: 1px solid var(--fh-line);
}

.fh--full.has-shadow-soft .fh__frame {
	box-shadow: 0 1px 0 var(--fh-line), 0 8px 24px rgb(20 16 40 / 0.05);
}

.fh--boxed.has-shadow-none .fh__frame {
	box-shadow: 0 0 0 1px var(--fh-line);
}

.fh--boxed.has-shadow-soft .fh__frame {
	box-shadow: 0 0 0 1px var(--fh-line), 0 12px 40px rgb(20 16 40 / 0.08);
}

.fh.has-shadow-strong .fh__frame {
	box-shadow: 0 18px 50px rgb(20 16 40 / 0.18);
}

/* ---------- Rows and zones ---------- */

.fh__row--main .fh__inner {
	min-block-size: var(--fh-h1);
}

.fh__row--bottom {
	border-radius: 0 0 var(--fh-radius) var(--fh-radius);
	background: var(--fh-bottom);
}

.fh__row--bottom .fh__inner {
	min-block-size: var(--fh-h2);
}

.fh.has-divider .fh__row + .fh__row {
	border-block-start: 1px solid var(--fh-line);
}

.fh__zone {
	display: flex;
	align-items: center;
	gap: var(--fh-zgap);
	min-inline-size: 0;
}

.fh__zone--center {
	flex: 1 1 0;
	justify-content: center;
}

.fh__zone--end {
	justify-content: flex-end;
}

.fh__zone:empty {
	display: none;
}

/* With an empty centre, the end zone still sits at the far side. */
.fh__zone--end {
	margin-inline-start: auto;
}

.fh-el {
	display: flex;
	align-items: center;
	min-inline-size: 0;
}

/* ---------- Logo ---------- */

.fh-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: none;
}

.fh-logo__img {
	display: block;
	flex-shrink: 0;
	/* Width comes from the tag (Logo sizes it per place): an SVG with only a viewBox
	   has no size of its own, so «width: auto» drew it at zero. */
	max-inline-size: 100%;
	max-block-size: calc(var(--fh-h1) - 24px);
	height: auto;
	object-fit: contain;
}

.fh-logo__text {
	color: var(--fh-accent);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

/* ---------- Main menu ---------- */

.fh-menu__list,
.fh-menu__list .sub-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fh-menu__list {
	display: flex;
	align-items: center;
	gap: 4px;
}

.fh-menu__list li {
	position: relative;
	display: flex;
	align-items: center;
}

.fh-menu__list > li > a {
	position: relative;
	display: flex;
	align-items: center;
	min-block-size: 44px;
	padding-inline: 12px;
	border-radius: 10px;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s, background-color 0.2s;
}

.fh-menu__list > li > a:hover {
	color: var(--fh-accent);
}

.fh-menu__list > .menu-item-has-children > a {
	padding-inline-end: 4px;
}

.is-active-underline .fh-menu__list > .current-menu-item > a,
.is-active-underline .fh-menu__list > .current-menu-ancestor > a,
.is-active-color .fh-menu__list > .current-menu-item > a,
.is-active-color .fh-menu__list > .current-menu-ancestor > a {
	color: var(--fh-accent);
	font-weight: 700;
}

.is-active-underline .fh-menu__list > .current-menu-item > a::after,
.is-active-underline .fh-menu__list > .current-menu-ancestor > a::after {
	content: "";
	position: absolute;
	inset-inline: 12px;
	inset-block-end: 4px;
	block-size: 2px;
	border-radius: 2px;
	background: currentColor;
}

.is-active-pill .fh-menu__list > .current-menu-item > a,
.is-active-pill .fh-menu__list > .current-menu-ancestor > a {
	background: color-mix(in srgb, var(--fh-accent) 12%, transparent);
	color: var(--fh-accent);
	font-weight: 700;
}

.fh-sub {
	display: grid;
	place-items: center;
	inline-size: 28px;
	block-size: 44px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	opacity: 0.7;
}

.fh-sub svg {
	transition: transform 0.2s var(--fh-ease);
}

.fh-menu__list .sub-menu {
	position: absolute;
	inset-block-start: 100%;
	inset-inline-start: 0;
	z-index: 30;
	display: flex;
	flex-direction: column;
	min-inline-size: 220px;
	padding: 8px;
	border: 1px solid var(--fh-line);
	border-radius: 16px;
	background: var(--fh-panel);
	box-shadow: 0 16px 40px rgb(20 16 40 / 0.12);
	visibility: hidden;
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.18s, transform 0.18s var(--fh-ease), visibility 0s 0.18s;
}

.fh-menu__list .sub-menu .sub-menu {
	inset-block-start: -8px;
	inset-inline-start: calc(100% + 4px);
}

.fh-menu__list li:hover > .sub-menu,
.fh-menu__list li:focus-within > .sub-menu,
.fh-menu__list li.is-open > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition-delay: 0s;
}

.fh-menu__list li.is-open > .fh-sub svg {
	transform: rotate(180deg);
}

.fh-menu__list .sub-menu a {
	display: flex;
	flex: 1;
	align-items: center;
	min-block-size: 40px;
	padding-inline: 12px;
	border-radius: 10px;
	white-space: nowrap;
}

.fh-menu__list .sub-menu a:hover {
	background: var(--fh-soft);
	color: var(--fh-accent);
}

.fh-menu__list .sub-menu .fh-sub svg {
	transform: rotate(90deg);
}

/* A menu item with no address of its own only opens its submenu. */
.fh-menu__label {
	display: flex;
	align-items: center;
	min-block-size: 44px;
	padding-inline: 12px 4px;
	font-weight: 500;
	white-space: nowrap;
	cursor: default;
}

.fh-menu__list .sub-menu .fh-menu__label {
	flex: 1;
	min-block-size: 40px;
	padding-inline: 12px;
}

.fh-badge-text {
	margin-inline-start: 6px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--fh-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.6;
}

/* «Mega»: the second level as columns, the third listed under each. */
.fh-menu__list > li.is-mega > .sub-menu {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 8px 16px;
	inline-size: min(880px, 92vw);
	padding: 16px;
}

.fh-menu__list > li.is-mega > .sub-menu > li {
	flex-direction: column;
	align-items: stretch;
}

.fh-menu__list > li.is-mega > .sub-menu > li > a,
.fh-menu__list > li.is-mega > .sub-menu > li > .fh-menu__label {
	font-weight: 700;
	color: var(--fh-fg);
}

.fh-menu__list > li.is-mega .sub-menu .sub-menu {
	position: static;
	min-inline-size: 0;
	padding: 0 0 4px;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	visibility: inherit;
	opacity: 1;
	transform: none;
	transition: none;
}

.fh-menu__list > li.is-mega .sub-menu .sub-menu a {
	min-block-size: 32px;
	color: color-mix(in srgb, var(--fh-fg) 72%, transparent);
	font-size: 13px;
}

.fh-menu__list > li.is-mega .sub-menu .fh-sub {
	display: none;
}

/* ---------- Search ---------- */

.fh-el--search {
	flex: 1 1 auto;
	justify-content: center;
}

.fh-search {
	inline-size: 100%;
	max-inline-size: var(--fh-search-w);
}

.fh-search .farin-search {
	max-inline-size: none;
}

.fh-search .farin-search__field {
	gap: 4px;
	padding: 4px;
	padding-inline-start: 8px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: var(--fh-soft);
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.fh-search .farin-search__field:focus-within {
	border-color: var(--fh-accent);
	background: var(--fh-panel);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--fh-accent) 18%, transparent);
}

.fh-search .farin-search__icon {
	display: none;
}

.fh-search .farin-search input[type="search"],
.fh-search .farin-search input[type="search"]:focus {
	flex: 1;
	min-inline-size: 0;
	min-block-size: 40px;
	padding-inline: 8px;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--fh-fg);
}

.fh-search .farin-search input[type="search"]:focus-visible {
	outline: none;
}

.farin-search__go {
	display: grid;
	flex: none;
	place-items: center;
	inline-size: 40px;
	block-size: 40px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--fh-accent, #7b2cbf);
	color: #fff;
	cursor: pointer;
	transition: filter 0.2s;
}

.farin-search__go:hover {
	filter: brightness(1.08);
}

.farin-search__cat {
	display: flex;
	flex: none;
	align-items: center;
	padding-inline-end: 4px;
	border-inline-end: 1px solid var(--fh-line);
}

.farin-search__cat select {
	max-inline-size: 150px;
	min-block-size: 32px;
	padding-block: 0;
	padding-inline: 8px 24px;
	border: 0;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b6580' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat;
	background-position: left 4px center;
	color: var(--fh-fg);
	font: inherit;
	font-weight: 500;
	text-overflow: ellipsis;
	cursor: pointer;
	appearance: none;
}

[dir="ltr"] .farin-search__cat select {
	background-position: right 4px center;
}

/* ---------- Icon buttons, badges ---------- */

.fh-icon {
	position: relative;
	display: grid;
	flex: none;
	place-items: center;
	inline-size: 44px;
	block-size: 44px;
	border-radius: 12px;
	transition: color 0.2s, background-color 0.2s;
}

.fh-icon:hover {
	background: var(--fh-soft);
	color: var(--fh-accent);
}

.fh-badge {
	position: absolute;
	inset-block-start: 2px;
	inset-inline-end: 0;
	min-inline-size: 20px;
	block-size: 20px;
	padding-inline: 5px;
	border-radius: 10px;
	background: var(--fh-accent);
	box-shadow: 0 0 0 2px var(--fh-panel);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

.fh-badge[hidden] {
	display: none;
}

.fh-badge.is-bump {
	animation: fh-bump 0.4s var(--fh-ease);
}

@keyframes fh-bump {
	40% {
		transform: scale(1.3);
	}
}

/* ---------- Account ---------- */

.fh-el--account:not(:first-child) {
	padding-inline-start: var(--fh-zgap);
	border-inline-start: 1px solid var(--fh-line);
}

.fh-account {
	display: flex;
	align-items: center;
	gap: 10px;
	min-block-size: 44px;
	padding: 2px;
	border: 0;
	border-radius: 14px;
	background: none;
	text-align: start;
	cursor: pointer;
}

.fh-account__icon {
	display: grid;
	flex: none;
	place-items: center;
	inline-size: 40px;
	block-size: 40px;
	border-radius: 50%;
	background: var(--fh-soft);
	color: var(--fh-accent);
	transition: background-color 0.2s, color 0.2s;
}

.fh-account:hover .fh-account__icon {
	background: var(--fh-accent);
	color: #fff;
}

.fh-account__text {
	display: flex;
	flex-direction: column;
	line-height: 1.5;
	white-space: nowrap;
}

.fh-account__text b {
	font-size: 14px;
	font-weight: 700;
}

.fh-account__text small {
	color: color-mix(in srgb, var(--fh-fg) 60%, transparent);
	font-size: 12px;
}

.fh-chev {
	display: grid;
	opacity: 0.6;
	transition: transform 0.2s var(--fh-ease);
}

[aria-expanded="true"] > .fh-chev {
	transform: rotate(180deg);
}

.fh-drop {
	position: relative;
}

.fh-drop__panel {
	position: absolute;
	inset-block-start: calc(100% + 8px);
	inset-inline-end: 0;
	z-index: 40;
	min-inline-size: 220px;
	margin: 0;
	padding: 8px;
	border: 1px solid var(--fh-line);
	border-radius: 16px;
	background: var(--fh-panel);
	box-shadow: 0 16px 40px rgb(20 16 40 / 0.12);
	list-style: none;
}

.fh-drop__panel[hidden] {
	display: none;
}

.fh-drop__panel a {
	display: flex;
	align-items: center;
	min-block-size: 40px;
	padding-inline: 12px;
	border-radius: 10px;
}

.fh-drop__panel a:hover {
	background: var(--fh-soft);
	color: var(--fh-accent);
}

.fh-drop__panel .is-out {
	margin-block-start: 4px;
	padding-block-start: 4px;
	border-block-start: 1px solid var(--fh-line);
}

.fh-drop__panel .is-out a {
	color: #dc2626;
}

/* ---------- Category button, strip, offer, phone, custom ---------- */

.fh-cats__btn {
	display: flex;
	align-items: center;
	gap: 10px;
	min-block-size: 44px;
	padding-inline: 18px 14px;
	border: 0;
	border-radius: 999px;
	font-weight: 700;
	white-space: nowrap;
	cursor: pointer;
	transition: filter 0.2s, background-color 0.2s;
}

.fh-cats__btn.is-solid {
	background: var(--fh-accent2);
	color: #fff;
}

.fh-cats__btn.is-soft {
	background: color-mix(in srgb, var(--fh-accent) 12%, transparent);
	color: var(--fh-accent);
}

.fh-cats__btn.is-plain {
	background: none;
}

.fh-cats__btn:hover {
	filter: brightness(1.08);
}

.fh-el--catnav {
	flex: 1 1 auto;
}

.fh-catnav {
	min-inline-size: 0;
}

.fh-catnav ul {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	list-style: none;
	scrollbar-width: none;
}

.fh-catnav ul::-webkit-scrollbar {
	display: none;
}

.fh-catnav li + li {
	border-inline-start: 1px solid var(--fh-line);
}

.fh-catnav a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-block-size: 40px;
	padding-inline: 16px;
	font-weight: 500;
	white-space: nowrap;
	transition: color 0.2s;
}

.fh-catnav a:hover,
.fh-catnav a[aria-current] {
	color: var(--fh-accent);
}

.fh-catnav a[aria-current] {
	font-weight: 700;
}

.fh-catnav img {
	inline-size: 22px;
	block-size: 22px;
	border-radius: 6px;
	object-fit: contain;
}

.fh-pill {
	display: flex;
	align-items: center;
	gap: 8px;
	min-block-size: 40px;
	padding-inline: 16px;
	border-radius: 999px;
	font-weight: 700;
	white-space: nowrap;
	transition: filter 0.2s;
}

.fh-pill:hover {
	filter: brightness(0.96);
}

.fh-pill.is-soft {
	background: color-mix(in srgb, var(--fh-accent) 12%, transparent);
	color: var(--fh-accent);
}

.fh-pill.is-solid {
	background: var(--fh-accent);
	color: #fff;
}

.fh-pill.is-plain {
	color: var(--fh-accent);
}

.fh-phone {
	display: flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
}

.fh-phone__icon {
	display: grid;
	place-items: center;
	inline-size: 40px;
	block-size: 40px;
	border-radius: 50%;
	background: var(--fh-soft);
	color: var(--fh-accent);
}

.fh-phone__text {
	display: flex;
	flex-direction: column;
	line-height: 1.5;
}

.fh-phone__text small {
	color: color-mix(in srgb, var(--fh-fg) 60%, transparent);
	font-size: 12px;
}

.fh-phone__text b {
	font-weight: 700;
}

.fh-custom {
	display: flex;
	align-items: center;
	gap: 8px;
}

.fh-custom > :where(p, div) {
	margin: 0;
}

.fh-burger {
	display: none;
	flex: none;
	place-items: center;
	inline-size: 44px;
	block-size: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--fh-soft);
	cursor: pointer;
}

/* ---------- Phones and tablets ---------- */

@media (max-width: 1023.98px) {
	.fh--boxed {
		padding: 8px 8px 0;
	}

	.fh--boxed .fh__frame {
		border-radius: min(var(--fh-radius), 16px);
	}

	.fh__frame {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 8px;
		padding: 10px 12px;
	}

	.fh__row,
	.fh__inner,
	.fh__zone {
		display: contents;
	}

	.fh .fh-desk {
		display: none;
	}

	.fh-burger {
		display: grid;
		order: 1;
	}

	.fh-el--logo {
		order: 2;
	}

	.is-logo-center .fh-el--logo {
		flex: 1;
		justify-content: center;
	}

	.is-logo-start .fh-el--logo {
		margin-inline-end: auto;
	}

	.fh-logo__img {
		max-block-size: var(--fh-m-logo, 44px);
	}

	.fh-el--cart {
		order: 4;
	}

	/*
	 * «جمع‌وجور» (the default): the burger alone on the right, the logo in
	 * the middle, night mode and the cart on the left; no account icon.
	 * «کلاسیک»: night mode, burger, logo, cart and account.
	 */
	.is-m-compact .fh-el--daynight {
		order: 3;
	}

	/* The burger balances the two icons across, so the logo sits in the true middle. */
	.is-m-compact.is-logo-center:not(.no-m-cart):not(.no-m-daynight):has(.farin-daynight) .fh-burger {
		margin-inline-end: 52px;
	}

	.no-m-header {
		display: none;
	}

	.fh-el--account {
		order: 5;
	}

	.fh-el--account:not(:first-child) {
		padding: 0;
		border: 0;
	}

	.fh-account__text,
	.fh-account .fh-chev {
		display: none;
	}

	.fh-el--search {
		order: 10;
		flex: 1 0 100%;
		margin-block-start: 4px;
	}

	.fh-search {
		max-inline-size: none;
	}

	.no-m-search .fh-el--search,
	.no-m-account .fh-el--account,
	.no-m-cart .fh-el--cart,
	.no-m-daynight .fh-el--daynight {
		display: none;
	}
}

/* ---------- Drawer ---------- */

.fh-drawer {
	--fh-from: -100%;
	position: fixed;
	inset-block: 0;
	inset-inline-start: 0;
	inset-inline-end: auto;
	inline-size: min(86vw, 360px);
	max-inline-size: none;
	block-size: 100dvh;
	max-block-size: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: #fff;
	color: #1d1730;
	font-size: 15px;
	line-height: 1.5;
	box-shadow: 0 0 40px rgb(20 16 40 / 0.2);
}

[dir="rtl"] .fh-drawer {
	--fh-from: 100%;
}

.fh-drawer[open] {
	display: flex;
	flex-direction: column;
	animation: fh-slide 0.28s var(--fh-ease, ease);
}

.fh-drawer.is-closing {
	transform: translateX(var(--fh-from));
	transition: transform 0.22s ease-in;
}

.fh-drawer::backdrop {
	background: rgb(15 12 25 / 0.45);
}

@keyframes fh-slide {
	from {
		transform: translateX(var(--fh-from));
	}
}

.fh-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 16px;
	border-block-end: 1px solid var(--fh-line);
}

.fh-drawer .fh-logo__img {
	max-block-size: 36px;
	height: auto;
}

.fh-drawer__close {
	display: grid;
	place-items: center;
	inline-size: 44px;
	block-size: 44px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: var(--fh-soft);
	color: inherit;
	cursor: pointer;
}

.fh-drawer__body {
	flex: 1;
	overflow-y: auto;
	padding: 8px 12px 24px;
	overscroll-behavior: contain;
}

.fh-dmenu,
.fh-dmenu .sub-menu,
.fh-dcats,
.fh-dcats ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fh-dmenu li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.fh-dmenu a,
.fh-dmenu .fh-menu__label,
.fh-dcats a,
.fh-dcats summary {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	min-block-size: 48px;
	padding-inline: 12px;
	border-radius: 12px;
	font-weight: 500;
	cursor: pointer;
}

.fh-dmenu a:hover,
.fh-dcats a:hover,
.fh-dcats summary:hover,
.fh-dmenu .current-menu-item > a {
	background: var(--fh-soft);
	color: var(--fh-accent);
}

.fh-dmenu .fh-sub {
	display: grid;
	place-items: center;
	inline-size: 48px;
	block-size: 48px;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	cursor: pointer;
}

.fh-dmenu .fh-sub svg,
.fh-dcats summary svg {
	transition: transform 0.2s;
}

.fh-dmenu .sub-menu {
	display: none;
	flex-basis: 100%;
	padding-inline-start: 12px;
}

.fh-dmenu li.is-open > .sub-menu {
	display: block;
}

.fh-dmenu li.is-open > .fh-sub svg,
.fh-dcats details[open] > summary svg {
	transform: rotate(180deg);
}

.fh-dcats summary {
	list-style: none;
}

.fh-dcats summary::-webkit-details-marker {
	display: none;
}

.fh-dcats ul {
	padding-inline-start: 12px;
}

.fh-drawer__title {
	margin: 16px 12px 4px;
	color: #6b6580;
	font-size: 13px;
	font-weight: 700;
}

.fh-drawer__extra {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-block-start: 16px;
	padding: 16px 12px 0;
	border-block-start: 1px solid var(--fh-line);
}

.fh-drawer__extra .fh-icon {
	display: flex;
	gap: 8px;
	inline-size: auto;
	padding-inline: 8px;
}

@media (prefers-reduced-motion: reduce) {
	.fh,
	.fh *,
	.fh-drawer,
	.fh-drawer * {
		animation: none !important;
		transition: none !important;
	}
}
