.ro-theme-header {
	position: sticky;
	top: 0;
	z-index: 10000;
	isolation: isolate;
	--ro-header-inner-bg: #f5efe7;
	--ro-header-surface-bg: var(--ro-header-inner-bg);
	--ro-header-shadow: rgba(24, 33, 43, 0.08);
	--ro-logo-size: 94px;
	--ro-logo-bg-inset: 7.5px;
	--ro-logo-edge-gap: 12px;
	--ro-logo-y: 50px;
	--ro-logo-offset: 0px;
	--ro-header-ease: cubic-bezier(0.2, 0, 0.12, 1);
	background: var(--ro-header-surface-bg);
	transition: box-shadow 0.42s ease;
}

.ro-theme-header #searchform-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	right: max(20px, calc((100vw - 1180px) / 2));
	z-index: 4;
	width: min(360px, calc(100vw - 40px));
	padding: 14px;
	border: 1px solid rgba(24, 33, 43, 0.12);
	border-top: 1px solid rgba(24, 33, 43, 0.12);
	border-radius: 14px;
	background: var(--ro-header-surface-bg);
	box-shadow: 0 18px 42px rgba(24, 33, 43, 0.16);
}

.ro-theme-header #searchform-dropdown .searchform {
	position: relative;
	margin: 0;
}

.ro-theme-header #searchform-dropdown input.field {
	width: 100%;
	height: 44px;
	padding: 0 46px 0 14px;
	border: 1px solid rgba(24, 33, 43, 0.16);
	border-radius: 10px;
	background: #fff;
	color: #18212b;
	font-family: Raleway, Arial, sans-serif;
	font-size: 14px;
}

.ro-theme-header #searchform-dropdown .searchform-submit {
	position: absolute;
	top: 2px;
	right: 2px;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #18212b;
}

.ro-theme-header::before {
	position: fixed;
	inset: 0;
	z-index: 1;
	background: rgba(24, 33, 43, 0.3);
	opacity: 0;
	pointer-events: none;
	content: "";
	transition: opacity 0.22s ease;
	backdrop-filter: blur(0);
	-webkit-backdrop-filter: blur(0);
}

.ro-theme-header.is-scrolled {
	--ro-header-shadow: rgba(24, 33, 43, 0.12);
	background: transparent;
}

.ro-theme-header-inner {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	width: min(1180px, calc(100% - 40px));
	min-height: 109px;
	margin: 0 auto;
	padding-left: calc(var(--ro-logo-size) + 62px);
	transition: min-height 0.62s var(--ro-header-ease), padding-left 0.72s var(--ro-header-ease);
}

.ro-theme-header.is-scrolled .ro-theme-header-inner {
	min-height: 33px;
	padding-left: calc(var(--ro-logo-size) + 62px);
}

.ro-header-logo {
	position: absolute;
	top: var(--ro-logo-y);
	left: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--ro-logo-size);
	height: var(--ro-logo-size);
	margin: 0;
	border-radius: 50%;
	background: var(--ro-header-surface-bg);
	text-decoration: none;
	transform-origin: left center;
	transform: translate3d(var(--ro-logo-offset), -50%, 0);
	will-change: transform;
}

.ro-header-logo::before {
	position: absolute;
	inset: calc(var(--ro-logo-bg-inset) * -1);
	z-index: 0;
	border-radius: 50%;
	background: var(--ro-header-surface-bg);
	content: "";
}

.ro-header-logo-img {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ro-header-logo-mark {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #8a3d22;
	color: #fff;
	font-size: 34px;
	font-weight: 800;
	line-height: 1;
}

.ro-header-nav {
	justify-self: end;
	min-width: 0;
	padding: 0 12px;
	border-radius: 0 0 14px 14px;
	background: var(--ro-header-surface-bg);
	box-shadow: none;
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	transition: transform 0.62s var(--ro-header-ease), box-shadow 0.42s ease;
}

.ro-theme-header.is-scrolled .ro-header-nav {
	box-shadow: 0 10px 24px var(--ro-header-shadow);
	transform: translateY(0);
}

.ro-header-menu,
.ro-header-menu ul,
.ro-header-mobile-menu,
.ro-header-mobile-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ro-header-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 4px;
}

.ro-header-menu > li {
	position: relative;
}

.ro-header-menu a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 0 11px;
	border-radius: 7px;
	color: #18212b;
	font-family: Raleway, Arial, sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.15;
	text-decoration: none;
	transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.ro-header-menu .menu-item-has-children > a::after {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-top: -3px;
	border-right: 1.6px solid currentColor;
	border-bottom: 1.6px solid currentColor;
	content: "";
	transform: rotate(45deg);
	transition: transform 0.18s ease;
}

.ro-header-menu .menu-item-has-children:hover > a::after,
.ro-header-menu .menu-item-has-children:focus-within > a::after {
	transform: rotate(225deg) translate(-2px, -2px);
}

.ro-header-menu > li:hover > a,
.ro-header-menu > li:focus-within > a,
.ro-header-menu > li.current-menu-item > a,
.ro-header-menu > li.current-menu-ancestor > a {
	background: rgba(138, 61, 34, 0.1);
	color: #7a341d;
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.54) inset;
}

.ro-header-menu .sub-menu {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 20;
	display: grid;
	gap: 2px;
	width: 260px;
	padding: 10px;
	border: 1px solid rgba(24, 33, 43, 0.1);
	border-radius: 12px;
	background: var(--ro-header-surface-bg);
	box-shadow: 0 18px 42px rgba(24, 33, 43, 0.16);
	opacity: 0;
	pointer-events: none;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.ro-header-menu .sub-menu::before {
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 10px;
	content: "";
}

.ro-header-menu li:hover > .sub-menu,
.ro-header-menu li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.ro-header-menu .sub-menu .sub-menu {
	top: -10px;
	left: calc(100% + 10px);
}

.ro-header-menu .sub-menu .sub-menu::before {
	top: 0;
	right: 100%;
	bottom: 0;
	left: auto;
	width: 12px;
	height: auto;
}

.ro-header-menu .sub-menu a {
	display: flex;
	justify-content: flex-start;
	width: 100%;
	min-height: 38px;
	padding: 9px 10px;
	color: #25323f;
	font-size: 14px;
	line-height: 1.25;
	white-space: normal;
}

.ro-header-menu .sub-menu li:hover > a,
.ro-header-menu .sub-menu li:focus-within > a,
.ro-header-menu .sub-menu li.current-menu-item > a {
	background: rgba(138, 61, 34, 0.1);
	color: #7a341d;
}

.ro-header-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(24, 33, 43, 0.12);
	border-radius: 10px;
	background: var(--ro-header-surface-bg);
	color: #18212b;
	cursor: pointer;
}

.ro-header-toggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: transform 0.18s ease, opacity 0.18s ease;
}

.ro-header-toggle span + span {
	margin-left: -20px;
}

.ro-header-toggle span:nth-child(1) {
	transform: translateY(-7px);
}

.ro-header-toggle span:nth-child(3) {
	transform: translateY(7px);
}

.ro-theme-header.is-menu-open .ro-header-toggle span:nth-child(1) {
	transform: rotate(45deg);
}

.ro-theme-header.is-menu-open .ro-header-toggle span:nth-child(2) {
	opacity: 0;
}

.ro-theme-header.is-menu-open .ro-header-toggle span:nth-child(3) {
	transform: rotate(-45deg);
}

.ro-header-mobile {
	display: none;
}

@media (max-width: 1120px) {
	.ro-theme-header.is-menu-open {
		position: fixed;
		top: var(--ro-menu-top, 0px);
		right: 0;
		left: 0;
	}

	.ro-theme-header.is-menu-open::before {
		opacity: 1;
		backdrop-filter: blur(7px);
		-webkit-backdrop-filter: blur(7px);
	}

	.ro-header-nav {
		display: none;
	}

	.ro-header-toggle {
		display: inline-flex;
		justify-self: end;
	}

	.ro-theme-header-inner {
		grid-template-columns: auto minmax(0, 1fr) auto;
		min-height: 76px;
		padding-left: 0;
	}

	.ro-header-logo {
		position: static;
		width: 68px;
		height: 68px;
		transform: none;
	}

	.ro-theme-header.is-scrolled .ro-theme-header-inner {
		min-height: 58px;
		padding-left: 0;
	}

	.ro-theme-header.is-scrolled .ro-header-logo {
		width: 46px;
		height: 46px;
		transform: none;
	}

	.ro-header-mobile {
		display: grid;
		grid-template-rows: 0fr;
		position: relative;
		z-index: 3;
		width: min(1180px, calc(100% - 40px));
		margin: 0 auto;
		border: 0 solid rgba(24, 33, 43, 0.1);
		border-radius: 14px;
		background: transparent;
		overflow: hidden;
		overscroll-behavior: contain;
		visibility: hidden;
		pointer-events: none;
		transition: grid-template-rows 0.22s ease, padding-bottom 0.22s ease, visibility 0s linear 0.22s;
	}

	.ro-header-mobile > * {
		min-height: 0;
		overflow: hidden;
	}

	.ro-theme-header.is-menu-open .ro-header-mobile {
		grid-template-rows: 1fr;
		max-height: calc(100dvh - var(--ro-menu-top, 0px) - 76px - env(safe-area-inset-bottom));
		border-width: 1px;
		background: var(--ro-header-surface-bg);
		overflow-y: auto;
		margin-bottom: 14px;
		visibility: visible;
		pointer-events: auto;
		transition-delay: 0s;
		-webkit-overflow-scrolling: touch;
	}

	.ro-theme-header.is-menu-open .ro-header-mobile > * {
		overflow: visible;
	}

	.ro-header-mobile-menu {
		display: grid;
		gap: 4px;
		min-height: 0;
		padding: 8px;
	}

	.ro-header-mobile-menu li {
		position: relative;
	}

	.ro-header-mobile-menu a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		min-height: 42px;
		padding: 10px 12px;
		border-radius: 8px;
		color: #18212b;
		font-family: Raleway, Arial, sans-serif;
		font-size: 15px;
		font-weight: 600;
		line-height: 1.25;
		text-decoration: none;
	}

	.ro-header-mobile-menu .menu-item-has-children > a {
		padding-right: 48px;
	}

	.ro-header-mobile-menu .menu-item-has-children > a::after {
		display: none;
	}

	.ro-mobile-submenu-toggle {
		position: absolute;
		top: 3px;
		right: 3px;
		display: grid;
		place-items: center;
		width: 36px;
		height: 36px;
		padding: 0;
		border: 0;
		border-radius: 8px;
		background: transparent;
		color: #18212b;
		cursor: pointer;
		transition: background-color 0.18s ease, color 0.18s ease;
	}

	.ro-mobile-submenu-toggle::before {
		width: 8px;
		height: 8px;
		margin-top: -3px;
		border-right: 1.7px solid currentColor;
		border-bottom: 1.7px solid currentColor;
		content: "";
		transform: rotate(45deg);
		transition: transform 0.18s ease;
	}

	.ro-header-mobile-menu .is-submenu-open > .ro-mobile-submenu-toggle::before {
		transform: rotate(225deg) translate(-2px, -2px);
	}

	.ro-mobile-submenu-toggle:hover,
	.ro-mobile-submenu-toggle:focus {
		background: rgba(138, 61, 34, 0.1);
		color: #7a341d;
	}

	.ro-header-mobile-menu a:hover,
	.ro-header-mobile-menu a:focus,
	.ro-header-mobile-menu .current-menu-item > a {
		background: rgba(138, 61, 34, 0.1);
		color: #7a341d;
	}

	.ro-header-mobile-menu .sub-menu {
		display: grid;
		gap: 2px;
		margin: 0 0 6px 12px;
		padding-left: 10px;
		border-left: 1px solid rgba(138, 61, 34, 0.2);
	}

	.ro-header-mobile-menu .menu-item-has-children:not(.is-submenu-open) > .sub-menu {
		display: none;
	}

	.ro-header-mobile-menu .sub-menu a {
		min-height: 36px;
		font-size: 14px;
		font-weight: 500;
	}

	.ro-theme-header #searchform-dropdown {
		top: 76px;
		right: 20px;
		left: 20px;
		width: auto;
	}
}

@media (max-width: 640px) {
	.ro-theme-header-inner,
	.ro-header-mobile {
		width: min(100% - 24px, 1180px);
	}

	.ro-theme-header.is-menu-open .ro-header-mobile {
		max-height: calc(100dvh - var(--ro-menu-top, 0px) - 74px - env(safe-area-inset-bottom));
	}

	.ro-theme-header #searchform-dropdown {
		right: 12px;
		left: 12px;
	}
}
