:root {
	--rhosus-header-red: #ed1c24;
	--rhosus-header-ink: #111214;
	--rhosus-header-muted: #62676c;
	--rhosus-header-line: #e5e5e5;
	--rhosus-header-soft: #f7f7f6;
}

.ct-header,
.ct-header .ct-container,
.ct-header [data-row],
.ct-header [data-column] {
	overflow: visible;
}

.rhosus-header-navigation,
.rhosus-header-navigation * {
	box-sizing: border-box;
}

.rhosus-header-navigation {
	position: relative;
	font-family: inherit;
}

.rhosus-desktop-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(18px, 2vw, 32px);
}

.rhosus-language-switcher {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.rhosus-language-switcher__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-width: 58px;
	height: 40px;
	padding: 0 13px;
	border: 1px solid var(--rhosus-header-red);
	border-radius: 999px;
	background: var(--rhosus-header-red);
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 780;
	letter-spacing: .04em;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(237, 28, 36, .15);
	transition: background .18s ease, box-shadow .18s ease;
}

.rhosus-language-switcher__toggle:hover,
.rhosus-language-switcher__toggle:focus-visible,
.rhosus-language-switcher.is-open .rhosus-language-switcher__toggle {
	background: #cf151c;
	box-shadow: 0 10px 24px rgba(237, 28, 36, .22);
}

.rhosus-language-switcher__toggle svg {
	display: block;
	width: 10px;
	height: 7px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
	transition: transform .18s ease;
}

.rhosus-language-switcher.is-open .rhosus-language-switcher__toggle svg {
	transform: rotate(180deg);
}

.rhosus-language-switcher__menu {
	position: absolute;
	z-index: 10020;
	top: calc(100% + 10px);
	right: 0;
	display: grid;
	width: 176px;
	padding: 7px;
	border: 1px solid #e4e4e4;
	border-radius: 15px;
	background: rgba(255, 255, 255, .99);
	box-shadow: 0 18px 42px rgba(16, 20, 25, .16);
}

.rhosus-language-switcher__menu[hidden] {
	display: none;
}

.rhosus-language-switcher__menu a {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr) 18px;
	align-items: center;
	min-height: 42px;
	padding: 0 10px;
	border-radius: 10px;
	color: var(--rhosus-header-muted);
	font-size: 13px;
	line-height: 1;
	text-decoration: none;
	transition: background .16s ease, color .16s ease;
}

.rhosus-language-switcher__menu a:hover,
.rhosus-language-switcher__menu a:focus-visible {
	background: var(--rhosus-header-soft);
	color: var(--rhosus-header-ink);
}

.rhosus-language-switcher__menu a.is-active {
	background: #fff1f2;
	color: var(--rhosus-header-ink);
}

.rhosus-language-switcher__code {
	color: var(--rhosus-header-red);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
}

.rhosus-language-switcher__name {
	overflow: hidden;
	font-weight: 620;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.rhosus-language-switcher__check {
	color: var(--rhosus-header-red);
	font-size: 13px;
	font-weight: 800;
	text-align: right;
}

.rhosus-language-switcher--mobile {
	display: none;
}

.rhosus-desktop-nav__list,
.rhosus-mega-menu ul,
.rhosus-mobile-nav,
.rhosus-mobile-panel ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.rhosus-desktop-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(28px, 3.2vw, 52px);
}

.rhosus-desktop-nav__list > li > a,
.rhosus-desktop-nav__product-link > a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 74px;
	color: var(--rhosus-header-ink);
	font-size: 16px;
	font-weight: 560;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.rhosus-desktop-nav__list > li > a::after,
.rhosus-desktop-nav__product-link > a::after {
	position: absolute;
	right: 0;
	bottom: 18px;
	left: 0;
	height: 2px;
	background: var(--rhosus-header-red);
	content: "";
	transform: scaleX(0);
	transform-origin: center;
	transition: transform .2s ease;
}

.rhosus-desktop-nav__list > li > a:hover::after,
.rhosus-desktop-nav__list > li > a:focus-visible::after,
.rhosus-desktop-nav__products:hover .rhosus-desktop-nav__product-link > a::after,
.rhosus-desktop-nav__products:focus-within .rhosus-desktop-nav__product-link > a::after,
.rhosus-desktop-nav__products.is-open .rhosus-desktop-nav__product-link > a::after {
	transform: scaleX(1);
}

.rhosus-desktop-nav__products {
	position: static;
}

.rhosus-desktop-nav__product-link {
	display: flex;
	align-items: center;
}

.rhosus-desktop-nav__product-link > button {
	display: none;
}

.rhosus-mega-menu {
	position: absolute;
	z-index: 9999;
	top: 100%;
	left: 50%;
	display: grid;
	grid-template-columns: minmax(260px, 34%) minmax(520px, 66%);
	width: min(1045px, calc(100vw - 40px));
	min-height: 462px;
	padding: 22px;
	border-top: 2px solid var(--rhosus-header-red);
	border-radius: 0 0 24px 24px;
	background: rgba(255, 255, 255, .985);
	box-shadow: 0 22px 50px rgba(16, 20, 25, .17);
	opacity: 0;
	pointer-events: none;
	transform: translate(-50%, 12px);
	visibility: hidden;
	transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.rhosus-desktop-nav__products:hover .rhosus-mega-menu,
.rhosus-desktop-nav__products:focus-within .rhosus-mega-menu,
.rhosus-desktop-nav__products.is-open .rhosus-mega-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translate(-50%, 0);
	visibility: visible;
}

.rhosus-mega-menu__left {
	display: grid;
	grid-template-rows: 1fr .78fr;
	gap: 15px;
	padding-right: 15px;
}

.rhosus-mega-card,
.rhosus-mega-parts {
	border: 1px solid #dfdfdf;
	border-radius: 17px;
	background: linear-gradient(145deg, #fff 0%, #f8f8f7 100%);
}

.rhosus-mega-card {
	padding: 21px 22px;
}

.rhosus-mega-card__title,
.rhosus-mega-parts__title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 11px;
	color: var(--rhosus-header-ink);
	text-decoration: none;
}

.rhosus-mega-card__title strong,
.rhosus-mega-parts__title strong {
	font-size: 19px;
	font-weight: 720;
}

.rhosus-mega-card__title span,
.rhosus-mega-parts__title span {
	display: grid;
	width: 30px;
	color: var(--rhosus-header-red);
	place-items: center;
	transition: transform .2s ease;
}

.rhosus-mega-card__title:hover span,
.rhosus-mega-parts__title:hover span {
	transform: translateX(4px);
}

.rhosus-mega-menu svg {
	display: block;
	width: 19px;
	height: 19px;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
}

.rhosus-mega-card__links {
	margin-top: 21px;
	padding-top: 18px;
	border-top: 1px solid var(--rhosus-header-line);
}

.rhosus-mega-card__links ul {
	display: grid;
	gap: 13px;
	justify-content: center;
	text-align: center;
}

.rhosus-mega-card__links a,
.rhosus-mega-panel li a,
.rhosus-mega-panel p {
	color: var(--rhosus-header-muted);
	font-size: 15px;
	line-height: 1.45;
	text-decoration: none;
}

.rhosus-mega-card__links a:hover,
.rhosus-mega-panel li a:hover {
	color: var(--rhosus-header-red);
}

.rhosus-mega-card--accessories {
	display: grid;
	place-items: center;
}

.rhosus-mega-parts {
	padding: 21px 23px 22px;
	border-color: rgba(237, 28, 36, .32);
}

.rhosus-mega-parts__title {
	padding-bottom: 19px;
	border-bottom: 1px solid var(--rhosus-header-line);
}

.rhosus-mega-parts__body {
	display: grid;
	grid-template-columns: 39% 61%;
	min-height: 335px;
}

.rhosus-mega-groups {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 11px 15px 0 0;
	border-right: 1px solid var(--rhosus-header-line);
}

.rhosus-mega-group {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 42px;
	align-items: center;
	min-height: 47px;
	border: 1px solid transparent;
	border-radius: 11px;
	transition: border-color .18s ease, background .18s ease;
}

.rhosus-mega-group.is-active {
	border-color: rgba(237, 28, 36, .2);
	background: #fff4f4;
}

.rhosus-mega-group > a {
	padding: 13px 7px 13px 13px;
	color: #5a5f64;
	font-size: 14px;
	line-height: 1.25;
	text-decoration: none;
}

.rhosus-mega-group.is-active > a,
.rhosus-mega-group > a:hover {
	color: var(--rhosus-header-ink);
}

.rhosus-mega-group > button {
	display: grid;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--rhosus-header-red);
	cursor: pointer;
	place-items: center;
}

.rhosus-mega-panels {
	padding: 13px 0 0 17px;
}

.rhosus-mega-panel {
	min-height: 205px;
	padding: 15px 20px 19px;
	border: 1px solid #e1e1e1;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 18px 34px rgba(15, 20, 25, .08);
}

.rhosus-mega-panel[hidden] {
	display: none;
}

.rhosus-mega-panel__title {
	display: block;
	margin-bottom: 14px;
	padding-bottom: 13px;
	border-bottom: 1px solid var(--rhosus-header-line);
	color: var(--rhosus-header-ink);
	font-size: 16px;
	font-weight: 720;
	text-decoration: none;
}

.rhosus-mega-panel ul {
	display: grid;
	gap: 15px;
	padding: 9px 0 0 56px;
}

.rhosus-mega-panel p {
	margin: 20px 0 0;
}

.rhosus-mobile-trigger,
.rhosus-mobile-panel,
.rhosus-mobile-backdrop {
	display: none;
}

.ct-header .ct-search-box,
.ct-header .search-form {
	border-radius: 999px;
}

@media (max-width: 1180px) and (min-width: 1000px) {
	.rhosus-desktop-nav__list { gap: 25px; }
	.rhosus-desktop-nav__list > li > a,
	.rhosus-desktop-nav__product-link > a { font-size: 15px; }
	.rhosus-mega-menu { width: calc(100vw - 32px); }
	.rhosus-desktop-nav { gap: 14px; }
	.rhosus-language-switcher__toggle { min-width: 54px; padding-inline: 11px; }
}

@media (max-width: 999px) {
	body.rhosus-nav-lock { overflow: hidden; }
	.rhosus-desktop-nav { display: none; }
	.rhosus-mobile-trigger {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		min-height: 42px;
		padding: 0 4px 0 12px;
		border: 0;
		background: transparent;
		color: var(--rhosus-header-ink);
		font-size: 13px;
		font-weight: 700;
		cursor: pointer;
	}
	.rhosus-mobile-trigger i,
	.rhosus-mobile-trigger i::before,
	.rhosus-mobile-trigger i::after {
		display: block;
		width: 24px;
		height: 2px;
		background: currentColor;
		content: "";
		transition: transform .2s ease, opacity .2s ease;
	}
	.rhosus-mobile-trigger i { position: relative; }
	.rhosus-mobile-trigger i::before { position: absolute; top: -7px; }
	.rhosus-mobile-trigger i::after { position: absolute; top: 7px; }
	.rhosus-mobile-trigger[aria-expanded="true"] i { background: transparent; }
	.rhosus-mobile-trigger[aria-expanded="true"] i::before { top: 0; transform: rotate(45deg); }
	.rhosus-mobile-trigger[aria-expanded="true"] i::after { top: 0; transform: rotate(-45deg); }
	.rhosus-mobile-backdrop {
		position: fixed;
		z-index: 99996;
		inset: 0;
		display: block;
		background: rgba(10, 12, 14, .38);
		opacity: 0;
		pointer-events: none;
		visibility: hidden;
		transition: opacity .22s ease, visibility .22s ease;
	}
	.rhosus-mobile-panel {
		position: fixed;
		z-index: 99997;
		top: 0;
		right: 0;
		display: block;
		width: min(420px, 92vw);
		height: 100dvh;
		padding: 0 21px 36px;
		background: #fff;
		box-shadow: -18px 0 45px rgba(10, 12, 14, .18);
		overflow-y: auto;
		transform: translateX(105%);
		transition: transform .25s ease;
	}
	.rhosus-header-navigation.is-mobile-open .rhosus-mobile-backdrop {
		opacity: 1;
		pointer-events: auto;
		visibility: visible;
	}
	.rhosus-header-navigation.is-mobile-open .rhosus-mobile-panel { transform: translateX(0); }
	.rhosus-mobile-panel__head {
		position: sticky;
		top: 0;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: space-between;
		height: 74px;
		border-bottom: 1px solid var(--rhosus-header-line);
		background: #fff;
	}
	.rhosus-mobile-panel__head strong { font-size: 20px; }
	.rhosus-mobile-panel__head button {
		width: 42px;
		height: 42px;
		padding: 0;
		border: 0;
		background: transparent;
		color: var(--rhosus-header-ink);
		font-size: 32px;
		line-height: 1;
		cursor: pointer;
	}
	.rhosus-language-switcher--mobile {
		display: inline-flex;
		justify-content: flex-start;
		margin: 16px 0 10px;
	}
	.rhosus-language-switcher--mobile .rhosus-language-switcher__toggle {
		min-width: 70px;
		height: 42px;
	}
	.rhosus-language-switcher--mobile .rhosus-language-switcher__menu {
		top: calc(100% + 8px);
		right: auto;
		left: 0;
	}
	.rhosus-mobile-nav > li { border-bottom: 1px solid var(--rhosus-header-line); }
	.rhosus-mobile-nav > li > a,
	.rhosus-mobile-nav__accordion > div:first-child > a {
		display: flex;
		align-items: center;
		min-height: 62px;
		color: var(--rhosus-header-ink);
		font-size: 17px;
		font-weight: 680;
		text-decoration: none;
	}
	.rhosus-mobile-nav__accordion > div:first-child,
	.rhosus-mobile-group > div:first-child {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 46px;
		align-items: center;
	}
	.rhosus-mobile-nav button[data-rhosus-accordion-toggle] {
		position: relative;
		display: grid;
		width: 42px;
		height: 42px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: var(--rhosus-header-soft);
		color: var(--rhosus-header-ink);
		cursor: pointer;
		place-items: center;
	}
	.rhosus-mobile-nav button[data-rhosus-accordion-toggle] svg { display: none; }
	.rhosus-mobile-nav button[data-rhosus-accordion-toggle]::before,
	.rhosus-mobile-nav button[data-rhosus-accordion-toggle]::after {
		position: absolute;
		width: 16px;
		height: 1.5px;
		background: currentColor;
		content: "";
		transition: opacity .18s ease, transform .18s ease;
	}
	.rhosus-mobile-nav button[data-rhosus-accordion-toggle]::after { transform: rotate(90deg); }
	.rhosus-mobile-nav button[data-rhosus-accordion-toggle][aria-expanded="true"]::after { opacity: 0; transform: rotate(0); }
	.rhosus-mobile-nav__submenu {
		padding: 4px 0 18px 16px;
	}
	.rhosus-mobile-nav__submenu[hidden] { display: none; }
	.rhosus-mobile-nav__submenu > ul { display: grid; gap: 5px; padding: 4px 0 12px 14px; }
	.rhosus-mobile-nav__submenu li a,
	.rhosus-mobile-group a {
		display: flex;
		align-items: center;
		min-height: 43px;
		color: var(--rhosus-header-muted);
		font-size: 14px;
		text-decoration: none;
	}
	.rhosus-mobile-section-link {
		display: flex;
		align-items: center;
		min-height: 50px;
		margin-top: 6px;
		border-bottom: 1px solid #ececec;
		color: var(--rhosus-header-ink);
		font-size: 15px;
		font-weight: 720;
		text-decoration: none;
	}
	.rhosus-mobile-group { border-bottom: 1px solid #f0f0f0; }
	.rhosus-mobile-group > div:first-child > a { padding-left: 9px; }
	.rhosus-mobile-nav__submenu--nested { padding: 0 0 12px 15px; }
}

@media (max-width: 520px) {
	.rhosus-mobile-trigger span { display: none; }
	.rhosus-mobile-panel { width: 94vw; }
}

@media (prefers-reduced-motion: reduce) {
	.rhosus-header-navigation *,
	.rhosus-header-navigation *::before,
	.rhosus-header-navigation *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}


/* RHOSUS 1.18.2: the mobile drawer/backdrop are portaled to document.body.
   Direct open classes prevent Blocksy header stacking contexts masking them. */
@media (max-width: 999px) {
    .rhosus-mobile-panel, .rhosus-mobile-backdrop { box-sizing: border-box; }
    .rhosus-mobile-backdrop { z-index: 2147483000; }
    .rhosus-mobile-panel {
        z-index: 2147483001;
        visibility: hidden;
        pointer-events: none;
        transition: transform .25s ease, visibility .25s ease;
    }
    .rhosus-mobile-backdrop.is-open {
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }
    .rhosus-mobile-panel.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
}

/* RHOSUS 1.18.3: mobile drawer must be independent of Blocksy's native
   off-canvas overlay. JS redirects the native hamburger to this panel. */
@media (max-width: 999px) {
    body > .rhosus-mobile-backdrop {
        position: fixed;
        inset: 0;
        z-index: 2147483000;
    }
    body > .rhosus-mobile-panel {
        position: fixed;
        z-index: 2147483001;
        top: 0;
        right: 0;
        display: block;
        width: min(420px, 94vw);
        max-width: 100vw;
        height: 100dvh;
        background: #fff;
        color: #111214;
        visibility: hidden;
        pointer-events: none;
        transform: translate3d(105%, 0, 0);
        opacity: 1;
    }
    body > .rhosus-mobile-panel.is-open {
        visibility: visible;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
    }
    body > .rhosus-mobile-backdrop.is-open {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }
}
