html.shop-header-offsets {
	scroll-padding-top: calc(var(--shop-header-offset, 0px) + 16px);
}

html.shop-header-offsets :where(:target, .elementor-menu-anchor) {
	scroll-margin-top: var(--scroll-margin-top, 0px);
}

#main-container {
	--shop-desktop-header-height: 162px;
	--shop-admin-offset: var(--shop-admin-bar-height, var(--shop-admin-bar-fallback, 0px));
}

#header.shop-header {
	--shop-header-top-height: 34px;
	--shop-header-action-icon-size: 22px;
	position: fixed;
	top: var(--shop-admin-offset);
	left: 0;
	z-index: 999;
	width: 100%;
	height: var(--shop-desktop-header-height);
	margin: 0;
	padding: 0;
	background: var(--theme-palette-color-8);
}

.shop-header__container {
	width: min(var(--container-max), calc(100% - var(--container-gutter)));
	margin: 0 auto;
}

.shop-header__desktop {
	display: block;
}

/* Top bar */

.shop-header__top {
	height: var(--shop-header-top-height);
	background: var(--theme-palette-color-8);
	border-bottom: 1px solid color-mix(in srgb, var(--theme-palette-color-6) 65%, transparent);
}

.shop-header.is-top-hidden .shop-header__top {
	visibility: hidden;
}

.shop-header__top .shop-header__container {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
}

.shop-header__top-bar {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--space-6);
	width: 100%;
}

.shop-header__top-contacts {
	display: flex;
	align-items: center;
	gap: var(--space-5);
	height: 100%;
}

.shop-header__top-contact {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	height: 100%;
	color: var(--theme-palette-color-3);
	font-size: var(--fs-sm);
	font-weight: var(--fw-regular);
	line-height: 1;
	text-decoration: none;
	transition: color var(--transition-fast);
}

.shop-header__top-contact:hover {
	color: var(--theme-palette-color-5);
}

.shop-header__top-contact--phone {
	color: var(--theme-palette-color-4);
	font-weight: var(--fw-medium);
}

.shop-header__top-contact--telegram {
	color: var(--theme-palette-color-2);
	font-weight: var(--fw-medium);
}

.shop-header__top-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	color: currentColor;
}

.shop-header__top-icon svg,
.shop-header__mobile-contact-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.shop-header__top-menu,
#shop-header-high-menu {
	height: 100%;
	display: flex;
	align-items: center;
	gap: var(--space-6);
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-header__top-menu li {
	display: inline-flex;
	align-items: center;
	height: 100%;
	margin: 0;
	padding: 0;
}

.shop-header__top-menu a {
	display: inline-flex;
	align-items: center;
	height: 100%;
	color: var(--theme-palette-color-3);
	font-size: var(--fs-sm);
	font-weight: var(--fw-regular);
	line-height: 1;
	text-decoration: none;
	transition: color var(--transition-fast);
}

.shop-header__top-menu a:hover {
	color: var(--theme-palette-color-5);
}

/* Main */

.shop-header__main {
	height: 76px;
	background: var(--theme-palette-color-8);
}

.shop-header__main-inner {
	height: 100%;
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr) auto;
	align-items: center;
	gap: var(--space-7);
}

/* Logo */

.shop-header__logo-wrap {
	min-width: 0;
	display: flex;
	align-items: center;
}

.shop-header__logo {
	width: 280px;
	max-width: 100%;
	min-width: 0;
	display: inline-flex;
	align-items: center;
	color: var(--theme-palette-color-4);
	text-decoration: none;
}

.shop-header__logo-image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 60px;
	object-fit: contain;
	object-position: left center;
}

.shop-header__logo--text {
	color: var(--theme-palette-color-4);
	font-size: var(--fs-3xl);
	font-weight: var(--fw-bold);
}

/* Actions */

.shop-header__actions {
	display: flex;
	align-items: center;
	gap: 2px;
}

.shop-header__action,
.shop-header__wishlist,
.shop-header__cart,
.shop-header__account > a,
.shop-header__account > button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--control-touch, 44px);
	height: var(--control-touch, 44px);
	min-width: var(--control-touch, 44px);
	min-height: var(--control-touch, 44px);
	margin: 0;
	padding: 10px;
	background-color: transparent;
	border: 0;
	border-radius: var(--radius-sm);
	color: var(--theme-palette-color-4);
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition:
		background-color var(--transition-fast),
		color var(--transition-fast),
		transform var(--transition-fast);
}

.shop-header__action:hover,
.shop-header__wishlist:hover,
.shop-header__account > a:hover,
.shop-header__account > button:hover {
	background-color: color-mix(in srgb, var(--theme-palette-color-1) 10%, transparent);
	color: var(--theme-palette-color-1);
}

@media (hover: hover) and (pointer: fine) {
	.shop-header__cart:hover {
		background-color: color-mix(in srgb, var(--theme-palette-color-1) 10%, transparent);
		color: var(--theme-palette-color-1);
	}
}

.shop-header__action:active,
.shop-header__wishlist:active,
.shop-header__cart:active,
.shop-header__account > a:active,
.shop-header__account > button:active {
	background-color: color-mix(in srgb, var(--theme-palette-color-1) 16%, transparent);
	transform: scale(0.94);
}

.shop-header__action:focus-visible,
.shop-header__cart:focus-visible {
	outline: var(--focus-width) solid var(--theme-palette-color-1);
	outline-offset: var(--focus-offset-tight, 2px);
}

.shop-header .ct-header-cart {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
}

.shop-header .ct-header-cart .ct-icon-container {
	position: static;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.shop-header__action svg,
.shop-header__wishlist-icon svg,
.shop-header__cart > svg,
.shop-header .ct-header-cart .ct-icon-container > svg {
	width: var(--shop-header-action-icon-size);
	height: var(--shop-header-action-icon-size);
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Nav */

.shop-header__nav {
	--shop-mega-fade-duration: 200ms;
	position: relative;
	height: 52px;
	background: var(--theme-palette-color-4);
	box-shadow:
		0 10px 20px -10px color-mix(in srgb, var(--theme-palette-color-4) 28%, transparent),
		inset 0 -1px 0 color-mix(in srgb, #fff 8%, transparent);
	z-index: 1;
}

.shop-header__nav .shop-header__container {
	height: 100%;
	display: flex;
	align-items: center;
}

.shop-header__nav nav {
	width: 100%;
	height: 100%;
}

.shop-header__nav-list {
	position: relative;
	height: 100%;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	list-style: none;
}

.shop-header__nav-list > li {
	position: static;
	height: 100%;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}

.shop-header__nav-list > li > a {
	position: relative;
	height: 100%;
	display: inline-flex;
	align-items: center;
	padding: 0 var(--space-5);
	color: color-mix(in srgb, var(--theme-palette-color-8) 82%, transparent);
	font-size: 0.825rem;
	text-transform: uppercase;
	font-weight: var(--fw-medium);
	line-height: 1;
	letter-spacing: 0.005em;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--transition-fast), background-color var(--transition-fast);
}

.shop-header__nav-list > li > a:hover,
.shop-header__nav-list > li:not(.is-mega-dismissed):is(:hover, :focus-within):has(> .shop-header__mega-menu) > a {
	color: var(--theme-palette-color-1);
	background: color-mix(in srgb, #fff 5%, transparent);
}

.shop-header__nav-list > li > a:focus-visible {
	outline: var(--focus-width) solid var(--theme-palette-color-1);
	outline-offset: var(--focus-offset-tight, 2px);
}

.shop-header__nav-list > li.current-menu-item > a,
.shop-header__nav-list > li.current-menu-ancestor > a {
	color: var(--theme-palette-color-1);
}

.shop-header__nav-list > li > a::after {
	content: '';
	position: absolute;
	left: var(--space-5);
	right: var(--space-5);
	bottom: 0;
	height: 3px;
	background: var(--theme-palette-color-1);
	border-radius: 3px 3px 0 0;
	transform: scaleX(0);
	transform-origin: center;
}

.shop-header__nav-list > li > a:hover::after,
.shop-header__nav-list > li:not(.is-mega-dismissed):is(:hover, :focus-within):has(> .shop-header__mega-menu) > a::after,
.shop-header__nav-list > li.current-menu-item > a::after,
.shop-header__nav-list > li.current-menu-ancestor > a::after {
	transform: scaleX(1);
}

/* Optical alignment of uppercase Inter glyphs with the SVG icons. */
.shop-header__nav-label { position: relative; top: 1px; }

.shop-header__nav-arrow {
	margin-left: 7px;
	color: color-mix(in srgb, var(--theme-palette-color-8) 60%, transparent);
	font-size: var(--fs-sm);
	line-height: 1;
	transition: color var(--transition-fast), transform var(--transition-fast);
}

.shop-header__nav-list > li:not(.is-mega-dismissed):is(:hover, :focus-within) > a .shop-header__nav-arrow {
	color: var(--theme-palette-color-1);
	transform: rotate(180deg);
}

/* Mega menu */

.shop-header__mega-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 999;
	background: var(--theme-palette-color-8);
	box-shadow:
		0 30px 60px -20px rgb(0 0 0 / 0.16),
		0 8px 24px -10px rgb(0 0 0 / 0.08);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	border-radius: 0 0 var(--radius-md) var(--radius-md);
	overflow: hidden;
}

.shop-header__nav-list > li:not(.is-mega-dismissed):is(:hover, :focus-within) > .shop-header__mega-menu {
	z-index: 1000;
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	/* Animate entry only so the previous panel disappears immediately. */
	transition: opacity var(--shop-mega-fade-duration) ease-out;
}

.shop-header__mega-column {
	min-width: 0;
}

.shop-header__mega-title,
.shop-header__mega-list a {
	display: block;
	min-height: 34px;
	margin-inline-start: -5px;
	padding: 7px 5px;
	border-radius: var(--radius-sm);
	color: var(--theme-palette-color-4);
	font-size: var(--fs-base);
	line-height: var(--lh-snug);
	overflow-wrap: anywhere;
	text-decoration: none;
	transition: color var(--transition-fast), background-color var(--transition-fast);
}

.shop-header__mega-title { font-weight: var(--fw-medium); }

.shop-header__mega-title:is(:hover, :focus-visible),
.shop-header__mega-list a:is(:hover, :focus-visible) { color: var(--theme-palette-color-5); }

.shop-header__mega-list a:is(:hover, :focus-visible) {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.shop-header__mega-list,
.shop-header__mega-list li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Header dropdown motion */

.shop-header :is(.shop-header__account-dropdown, .ct-cart-content) {
	opacity: 0;
	visibility: hidden;
	transform: none;
	transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.shop-header__account:is(:hover, :focus-within) > .shop-header__account-dropdown,
.shop-header .ct-header-cart:has(:focus-visible) > .ct-cart-content {
	opacity: 1;
	visibility: visible;
}

/* Account dropdown */

.shop-header__account {
	position: relative;
}

.shop-header__account-dropdown {
	position: absolute;
	right: 0;
	z-index: 999;
	width: 260px;
	padding: 0;
	background: var(--theme-palette-color-8);
	border: 1px solid var(--theme-palette-color-6);
	border-radius: var(--radius-card, 12px);
	box-shadow:
		0 24px 48px -24px color-mix(in srgb, var(--theme-palette-color-4) 24%, transparent),
		0 8px 20px -12px color-mix(in srgb, var(--theme-palette-color-4) 12%, transparent);
	color: var(--theme-palette-color-4);
	font-size: var(--fs-sm);
	line-height: var(--lh-snug);
	overflow: hidden;
}

.shop-header__account-title {
	margin: 0;
	padding: 14px var(--space-4);
	background: var(--theme-palette-color-7);
	border-bottom: 1px solid var(--theme-palette-color-6);
	color: var(--theme-palette-color-3);
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	line-height: var(--lh-snug);
	letter-spacing: 0.02em;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.shop-header__account-dropdown a {
	display: flex;
	align-items: center;
	min-height: var(--control-md);
	margin: 0;
	padding: 10px var(--space-4);
	color: var(--theme-palette-color-4);
	font-size: var(--fs-base);
	line-height: var(--lh-snug);
	text-decoration: none;
	transition: color var(--transition-fast), background-color var(--transition-fast);
}

.shop-header__account-dropdown a + a {
	border-top: 1px solid color-mix(in srgb, var(--theme-palette-color-6) 60%, transparent);
}

.shop-header__account-dropdown a:is(:hover, :focus-visible) {
	background: color-mix(in srgb, var(--theme-palette-color-1) 12%, var(--theme-palette-color-8));
	color: var(--theme-palette-color-5);
}

.shop-header__account-dropdown a:focus-visible {
	outline: 2px solid var(--theme-palette-color-5);
	outline-offset: -2px;
}

.shop-header__account-dropdown a:active {
	background-color: color-mix(
		in srgb,
		var(--theme-palette-color-1) 14%,
		var(--theme-palette-color-8)
	);
}

.shop-header__account-dropdown a[href*='action=logout'] {
	color: var(--theme-palette-color-3);
}

.shop-header__account-dropdown a[href*='action=logout']:hover,
.shop-header__account-dropdown a[href*='action=logout']:focus-visible {
	background-color: color-mix(in srgb, #d33 8%, var(--theme-palette-color-8));
	color: #d33;
}

/* Wishlist icon */

.shop-header__wishlist-icon {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* Badges */

.shop-header .ct-header-cart .ct-dynamic-count-cart,
.shop-header__wishlist-count,
.shop-header__cart-count {
	position: absolute;
	min-width: 17px;
	height: 17px;
	padding: 0 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--theme-palette-color-2);
	color: var(--theme-palette-color-8);
	border-radius: var(--radius-pill);
	font-family: inherit;
	font-size: 10px;
	font-weight: var(--fw-bold);
	line-height: 1;
	font-variant-numeric: tabular-nums;
	pointer-events: none;
	user-select: none;
	white-space: nowrap;
	z-index: 2;
}

.shop-header .ct-header-cart .ct-dynamic-count-cart {
	left: auto;
	transform: none;
	animation: none;
}

.shop-header .ct-dynamic-count-cart:empty,
.shop-header .ct-dynamic-count-cart[data-count='0'] {
	display: none !important;
}

.shop-header .ct-header-cart .ct-dynamic-count-cart,
.shop-header__wishlist-count,
.shop-header__cart-count {
	top: 3px;
	right: 1px;
}

.shop-header__wishlist-count,
.shop-header__cart-count {
	display: none;
}

.shop-header__wishlist-count.is-visible,
.shop-header__cart-count.is-visible {
	display: inline-flex;
}

/* Mobile */

.shop-header__mobile {
	--shop-header-mobile-button-size: var(--control-touch, 44px);
	display: none;
}

.shop-header__mobile-main,
.shop-header__mobile-search {
	padding-inline: 14px;
}

.shop-header__mobile-main {
	height: 58px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	background: var(--theme-palette-color-8);
}

.shop-header__mobile-main .shop-header__logo {
	width: 190px;
	justify-self: center;
}

.shop-header__mobile-main .shop-header__logo-image {
	height: 48px;
	object-position: center;
}

.shop-header__mobile-menu-button {
	width: var(--shop-header-mobile-button-size);
	height: var(--shop-header-mobile-button-size);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	background: transparent;
	border: 0;
	border-radius: var(--radius-sm);
	color: var(--theme-palette-color-4);
	cursor: pointer;
	text-decoration: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	user-select: none;

	transition:
		background-color var(--transition-fast),
		color var(--transition-fast),
		transform var(--transition-fast);
}

@media (hover: hover) and (pointer: fine) {
	.shop-header__mobile-menu-button:hover {
		background-color: color-mix(in srgb, var(--theme-palette-color-1) 10%, transparent);
		color: var(--theme-palette-color-1);
	}
}

.shop-header__mobile-menu-button:active {
	background-color: color-mix(in srgb, var(--theme-palette-color-1) 16%, transparent);
	transform: scale(0.94);
}

.shop-header__mobile-menu-button:focus {
	outline: none;
}
.shop-header__mobile-menu-button:focus-visible {
	outline: var(--focus-width) solid var(--theme-palette-color-1);
	outline-offset: var(--focus-offset-tight, 2px);
}

.shop-header__mobile-menu-button svg {
	width: var(--shop-header-action-icon-size);
	height: var(--shop-header-action-icon-size);
	pointer-events: none;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.shop-header__mobile-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
}

.shop-header__mobile-actions .shop-header__wishlist,
.shop-header__mobile-actions .shop-header__cart {
	width: var(--shop-header-mobile-button-size);
	height: var(--shop-header-mobile-button-size);
	min-width: 0;
	min-height: 0;
	flex: 0 0 var(--shop-header-mobile-button-size);
	padding: 0;
}

/* Mobile search */

.shop-header__mobile-search {
	position: relative;
	z-index: 1;
	height: 55px;
	background: var(--theme-palette-color-8);
}

/* Mobile panel */

.shop-header__mobile-panel {
	position: fixed;
	top: var(--shop-admin-offset);
	left: 0;
	z-index: 1000;
	width: min(380px, 88vw);
	height: calc(100dvh - var(--shop-admin-offset));
	display: flex;
	flex-direction: column;
	background: var(--theme-palette-color-8);
	transform: translateX(-105%);
	visibility: hidden;
	box-shadow: 12px 0 35px -20px color-mix(in srgb, var(--theme-palette-color-4) 35%, transparent);
	transition:
		transform var(--transition-slow),
		visibility var(--transition-slow);
	overscroll-behavior: contain;
}

.shop-header__mobile-panel.is-open {
	transform: translateX(0);
	visibility: visible;
}

.shop-header__mobile-panel-inner {
	width: 100%;
	height: 100%;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.shop-header__mobile-panel-head {
	flex: 0 0 62px;
	height: 62px;
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) 44px;
	grid-template-areas: 'back title close';
	align-items: center;
	padding: 0 var(--space-3) 0 var(--space-2);
	background: var(--theme-palette-color-8);
	border-bottom: 1px solid var(--theme-palette-color-6);
	color: var(--theme-palette-color-4);
}

.shop-header__mobile-back {
	grid-area: back;
}

.shop-header__mobile-close {
	grid-area: close;
}

.shop-header__mobile-back[hidden] {
	display: inline-flex;
	visibility: hidden;
	pointer-events: none;
}

.shop-header__mobile-panel-title {
	grid-area: title;
	min-width: 0;
	color: var(--theme-palette-color-4);
	font-size: var(--fs-lg);
	font-weight: var(--fw-semibold);
	line-height: 1.2;
	text-align: center;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Main menu branding; section titles are managed by header.js. */
.shop-header__mobile-panel-brand {
	display: block;
}

.shop-header__mobile-panel-brand .shop-header__logo {
	width: 210px;
	vertical-align: middle;
}

.shop-header__mobile-panel-brand .shop-header__logo-image {
	height: 48px;
	object-position: center;
}

.shop-header__mobile-panel-brand[hidden],
.shop-header__mobile-panel-text[hidden] {
	display: none;
}

.shop-header__mobile-back,
.shop-header__mobile-close {
	width: var(--control-touch, 44px);
	height: var(--control-touch, 44px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	margin: 0;
	background: transparent;
	border: 0;
	border-radius: var(--radius-sm);
	color: var(--theme-palette-color-4);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition:
		background-color var(--transition-fast),
		color var(--transition-fast);
}

.shop-header__mobile-back:hover,
.shop-header__mobile-close:hover {
	background-color: color-mix(in srgb, var(--theme-palette-color-1) 10%, transparent);
	color: var(--theme-palette-color-5);
}

.shop-header__mobile-back:focus-visible,
.shop-header__mobile-close:focus-visible {
	outline: var(--focus-width) solid var(--theme-palette-color-1);
	outline-offset: var(--focus-offset-tight, 2px);
}

.shop-header__mobile-close svg {
	width: 22px;
	height: 22px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Mobile views (sliding) */

.shop-header__mobile-views {
	position: relative;
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
}

.shop-header__mobile-view {
	position: absolute;
	inset: 0;
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-y: contain;
	touch-action: pan-y;
	background: var(--theme-palette-color-8);
	transform: translateX(100%);
	transition: transform 0.34s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
	scrollbar-width: thin;
}

.shop-header__mobile-view.is-active {
	transform: translateX(0);
}

.shop-header__mobile-view.is-prev {
	transform: translateX(-28%);
}

.shop-header__mobile-view::-webkit-scrollbar {
	width: 4px;
}

.shop-header__mobile-view::-webkit-scrollbar-thumb {
	background: color-mix(in srgb, var(--theme-palette-color-3) 25%, transparent);
	border-radius: var(--radius-pill);
}

/* Mobile blocks */

.shop-header__mobile-block {
	border-bottom: 0;
}

.shop-header__mobile-block + .shop-header__mobile-block {
	border-top: 1px solid var(--theme-palette-color-6);
}

.shop-header__mobile-block-head {
	padding: var(--space-4) var(--space-5) 6px;
	color: var(--theme-palette-color-3);
	font-size: var(--fs-xs);
	font-weight: var(--fw-semibold);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.shop-header__mobile-block-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.shop-header__mobile-block-list li {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 0;
}

.shop-header__mobile-block-list a,
.shop-header__mobile-block-list button {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 14px;
	width: 100%;
	min-height: 52px;
	margin: 0;
	padding: 10px var(--space-5);
	background: transparent;
	border: 0;
	color: var(--theme-palette-color-4);
	font-family: inherit;
	font-size: var(--fs-md);
	font-weight: var(--fw-medium);
	line-height: var(--lh-normal);
	text-align: left;
	text-decoration: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition:
		background-color var(--transition-fast),
		color var(--transition-fast);
}

.shop-header__mobile-block-list a:hover,
.shop-header__mobile-block-list button:hover {
	background: var(--theme-palette-color-7);
	color: var(--theme-palette-color-5);
}

.shop-header__mobile-block-list a:active,
.shop-header__mobile-block-list button:active {
	background: color-mix(in srgb, var(--theme-palette-color-1) 10%, var(--theme-palette-color-8));
}

.shop-header__mobile-block-list a.shop-header__mobile-block-all,
.shop-header__mobile-block-list a.shop-header__mobile-block-sale {
	color: var(--theme-palette-color-2);
	font-weight: var(--fw-semibold);
}

.shop-header__mobile-item-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--icon-md);
	height: var(--icon-md);
	flex: 0 0 var(--icon-md);
	color: var(--theme-palette-color-3);
}

.shop-header__mobile-item-icon svg,
.shop-header__mobile-account-icon svg,
.shop-header__mobile-account-logout-icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.shop-header__mobile-block-list a:hover .shop-header__mobile-item-icon,
.shop-header__mobile-block-list button:hover .shop-header__mobile-item-icon {
	color: var(--theme-palette-color-2);
}

.shop-header__mobile-block-arrow,
.shop-header__mobile-account-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 12px;
	height: 12px;
	flex: 0 0 12px;
	margin-left: auto;
	color: var(--theme-palette-color-3);
	transition:
		color var(--transition-fast),
		transform var(--transition-fast);
}

.shop-header__mobile-block-arrow svg,
.shop-header__mobile-account-arrow svg {
	display: block;
	width: 6px;
	height: 10px;
}

.shop-header__mobile-block-list a:hover .shop-header__mobile-block-arrow,
.shop-header__mobile-block-list button:hover .shop-header__mobile-block-arrow {
	color: var(--theme-palette-color-2);
	transform: translateX(2px);
}

/* Mobile contacts */

.shop-header__mobile-contacts {
	display: flex;
	flex-direction: column;
}

.shop-header__mobile-contact {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	min-height: 52px;
	padding: 10px var(--space-5);
	color: var(--theme-palette-color-4);
	font-size: var(--fs-md);
	font-weight: var(--fw-medium);
	text-decoration: none;
	border-top: 0;
	transition:
		background-color var(--transition-fast),
		color var(--transition-fast);
}

.shop-header__mobile-contact:hover {
	background: var(--theme-palette-color-7);
}

.shop-header__mobile-contact--phone {
	color: var(--theme-palette-color-4);
}

.shop-header__mobile-contact--telegram {
	color: var(--theme-palette-color-2);
}

.shop-header__mobile-contact-icon,
.shop-header__mobile-account-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--icon-md);
	height: var(--icon-md);
	flex: 0 0 var(--icon-md);
	color: currentColor;
}

/* Mobile account footer (pinned) */

.shop-header__mobile-panel-foot {
	flex: 0 0 auto;
	padding: var(--space-3) var(--space-5);
	background: var(--theme-palette-color-7);
	border-top: 1px solid var(--theme-palette-color-6);
}

.shop-header__mobile-account {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 6px;
}

.shop-header__mobile-account-link {
	display: flex;
	align-items: center;
	gap: var(--space-3);
	min-width: 0;
	min-height: var(--control-lg);
	padding: 0 var(--space-4);
	background: var(--theme-palette-color-8);
	border: 1px solid var(--theme-palette-color-6);
	border-radius: var(--radius-md);
	color: var(--theme-palette-color-4);
	font-size: var(--fs-sm);
	font-weight: var(--fw-medium);
	text-decoration: none;
	transition:
		background-color var(--transition-fast),
		border-color var(--transition-fast),
		color var(--transition-fast);
}

.shop-header__mobile-account-link:hover {
	background: color-mix(in srgb, var(--theme-palette-color-1) 8%, var(--theme-palette-color-8));
	border-color: color-mix(in srgb, var(--theme-palette-color-1) 30%, var(--theme-palette-color-6));
	color: var(--theme-palette-color-5);
}

.shop-header__mobile-account-link:active {
	transform: scale(0.99);
}

.shop-header__mobile-account-link:focus-visible {
	outline: var(--focus-width) solid var(--theme-palette-color-1);
	outline-offset: var(--focus-offset-tight, 2px);
}

.shop-header__mobile-account-name {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.shop-header__mobile-account-link:hover .shop-header__mobile-account-arrow {
	color: var(--theme-palette-color-2);
	transform: translateX(2px);
}

.shop-header__mobile-account-logout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: var(--control-lg);
	padding: 0 var(--space-4);
	background: var(--theme-palette-color-8);
	border: 1px solid var(--theme-palette-color-6);
	border-radius: var(--radius-md);
	color: var(--theme-palette-color-3);
	font-size: var(--fs-sm);
	font-weight: var(--fw-medium);
	text-decoration: none;
	white-space: nowrap;
	transition:
		background-color var(--transition-fast),
		border-color var(--transition-fast),
		color var(--transition-fast);
}

.shop-header__mobile-account-logout:hover {
	background: color-mix(in srgb, #d33 8%, var(--theme-palette-color-8));
	border-color: color-mix(in srgb, #d33 30%, var(--theme-palette-color-6));
	color: #d33;
}

.shop-header__mobile-account-logout:active {
	transform: scale(0.98);
}

.shop-header__mobile-account-logout:focus-visible {
	outline: var(--focus-width) solid var(--theme-palette-color-1);
	outline-offset: var(--focus-offset-tight, 2px);
}

.shop-header__mobile-account-logout-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--icon-sm);
	height: var(--icon-sm);
	flex: 0 0 var(--icon-sm);
	color: currentColor;
}

.shop-header__mobile-account-actions {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 6px;
}

.shop-header__mobile-account-actions a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 var(--space-3);
	border-radius: var(--radius-compact, 8px);
	background: var(--theme-palette-color-8);
	color: var(--theme-palette-color-4);
	font-size: var(--fs-sm);
	font-weight: var(--fw-medium);
	text-decoration: none;
	text-align: center;
	transition:
		background-color var(--transition-fast),
		color var(--transition-fast),
		transform var(--transition-fast);
}

.shop-header__mobile-account-actions a:hover {
	background: color-mix(in srgb, var(--theme-palette-color-1) 10%, var(--theme-palette-color-8));
	color: var(--theme-palette-color-5);
}

.shop-header__mobile-account-actions a:active {
	transform: scale(0.98);
}

.shop-header__mobile-account-actions a.is-primary {
	background: var(--theme-palette-color-2);
	color: var(--theme-palette-color-8);
	font-weight: var(--fw-semibold);
}

.shop-header__mobile-account-actions a.is-primary:hover {
	background: var(--theme-palette-color-5);
	color: var(--theme-palette-color-8);
}

/* Overlay */

.shop-header__mobile-overlay {
	position: fixed;
	inset: var(--shop-admin-offset) 0 0;
	z-index: 998;
	background: color-mix(in srgb, var(--theme-palette-color-4) 22%, transparent);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--transition-slow);
}

.shop-header__mobile-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

/* Breakpoints */

@media (max-width: 999.98px) {
	#header.shop-header {
		height: var(--shop-mobile-header-height);
	}

	.shop-header__desktop {
		display: none;
	}

	.shop-header__mobile {
		display: block;
	}

	#main-container {
		--shop-mobile-header-height: 116px;
		padding-top: var(--shop-mobile-header-height);
	}

	.shop-header__account-dropdown {
		width: min(280px, calc(100vw - 24px));
	}

	.shop-header__account-dropdown a {
		min-height: 46px;
	}

	.shop-header .ct-cart-content {
		display: none !important;
	}

	body.shop-menu-open {
		overflow: hidden;
	}
}

@media (max-width: 689.98px) {
	.shop-header__mobile {
		--shop-header-mobile-button-size: 38px;
	}

	.shop-header__mobile-close {
		width: var(--shop-header-mobile-button-size);
		height: var(--shop-header-mobile-button-size);
		justify-self: center;
	}

	.shop-header__mobile-search {
		height: 53px;
	}

	#main-container {
		--shop-mobile-header-height: 114px;
	}
}

@media (max-width: 999.98px) and (prefers-reduced-motion: reduce) {
	.shop-header__mobile-panel,
	.shop-header__mobile-view,
	.shop-header__mobile-overlay { transition: none; }
}

@media (min-width: 600px) and (max-width: 999.98px) {
	.shop-header__mobile-panel {
		width: min(420px, 72vw);
	}
}

@media (min-width: 1000px) {
	#header.shop-header {
		position: sticky;
		top: calc(var(--shop-admin-offset) - var(--shop-header-top-height));
	}
}

@media (min-width: 1000px) and (max-width: 1200px) {
	.shop-header__container {
		width: min(var(--container-max), calc(100% - var(--container-gutter-compact)));
	}

	.shop-header__main-inner {
		grid-template-columns: 220px minmax(0, 1fr) auto;
		gap: var(--space-5);
	}

	.shop-header__nav-list > li > a {
		padding: 0 14px;
	}

	.shop-header__top-menu {
		gap: 18px;
	}

}

/* Admin bar */

.admin-bar #main-container {
	--shop-admin-bar-fallback: 32px;
}

@media (max-width: 782px) {
	.admin-bar #main-container {
		--shop-admin-bar-fallback: 46px;
	}
}

/* Mini cart */

.shop-header .ct-header-cart .ct-label {
	display: none;
}

.shop-header .ct-cart-content {
	position: absolute;
	z-index: 15;
	inset-block-start: 100%;
	inset-inline-end: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	width: 420px;
	max-width: calc(100vw - 32px);
	margin: 0;
	padding: 0;
	background: var(--theme-palette-color-8);
	border: 1px solid var(--theme-palette-color-6);
	border-radius: var(--radius-card, 12px);
	box-shadow:
		0 24px 48px -24px color-mix(in srgb, var(--theme-palette-color-4) 24%, transparent),
		0 8px 20px -12px color-mix(in srgb, var(--theme-palette-color-4) 12%, transparent);
	color: var(--theme-palette-color-4);
	font-size: var(--fs-sm);
	line-height: var(--lh-snug);
	overflow: hidden;
}

:is(.woocommerce-cart, .woocommerce-checkout) .shop-header .ct-cart-content,
.shop-header .ct-cart-content:is(:empty, [data-count='0']) {
	display: none;
}

@media (hover: hover) and (pointer: fine) {
	.shop-header .ct-header-cart:hover > .ct-cart-content {
		opacity: 1;
		visibility: visible;
	}
}

.shop-header .ct-cart-content > :not(.woocommerce-mini-cart__total, .woocommerce-mini-cart__buttons) {
	grid-column: 1 / -1;
}

.shop-header .ct-cart-content .woocommerce-mini-cart {
	display: flex;
	flex-direction: column;
	max-height: min(320px, 48vh);
	margin: 0;
	padding: var(--space-2) 0;
	list-style: none;
	overflow-y: auto;
	overscroll-behavior: contain;
	scrollbar-width: thin;
}

.shop-header .ct-cart-content .woocommerce-mini-cart::-webkit-scrollbar {
	width: 6px;
}

.shop-header .ct-cart-content .woocommerce-mini-cart::-webkit-scrollbar-thumb {
	background: color-mix(in srgb, var(--theme-palette-color-3) 30%, transparent);
	border-radius: var(--radius-pill);
}

.shop-header .ct-cart-content .mini_cart_item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr) 32px;
	grid-template-areas: 'image details remove';
	align-items: start;
	gap: var(--space-2);
	margin: 0;
	padding: var(--space-2) var(--space-3);
	list-style: none;
	border-bottom: 1px solid var(--theme-palette-color-6);
	transition: background-color var(--transition-fast);
}

.shop-header .ct-cart-content .mini_cart_item:last-child {
	border-bottom: 0;
}

.shop-header .ct-cart-content .mini_cart_item:hover {
	background: color-mix(in srgb, var(--theme-palette-color-1) 5%, var(--theme-palette-color-8));
}

.shop-header .ct-cart-content .ct-media-container {
	grid-area: image;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 2px;
	background: var(--theme-palette-color-8);
	border: 1px solid var(--theme-palette-color-6);
	border-radius: var(--radius-compact, 8px);
	overflow: hidden;
	text-decoration: none;
}

.shop-header .ct-cart-content .ct-media-container img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: var(--radius-sm);
	aspect-ratio: auto !important;
}

.shop-header .ct-cart-content .product-data {
	grid-area: details;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: baseline;
	gap: var(--space-1) var(--space-2);
	min-width: 0;
}

.shop-header .ct-cart-content .product-data > :not(.quantity) {
	grid-column: 1;
}

.shop-header .ct-cart-content .product-data > .quantity {
	grid-column: 2;
	grid-row: 1;
	text-align: end;
	white-space: nowrap;
}

.shop-header .ct-cart-content .product-title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--theme-palette-color-4);
	font-size: var(--fs-sm);
	font-weight: var(--fw-medium);
	line-height: 1.35;
	text-decoration: none;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	transition: color var(--transition-fast);
}

.shop-header .ct-cart-content .product-title:hover {
	color: var(--theme-palette-color-5);
}

.shop-header .ct-cart-content .product-data .quantity {
	display: inline-block;
	color: var(--theme-palette-color-3);
	font-size: var(--fs-xs);
	font-weight: var(--fw-regular);
	font-variant-numeric: tabular-nums;
	line-height: var(--lh-snug);
}

.shop-header .ct-cart-content .product-data .quantity .woocommerce-Price-amount {
	color: var(--theme-palette-color-4);
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
}

.shop-header .ct-cart-content .remove_from_cart_button {
	position: static;
	grid-area: remove;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	background: var(--theme-palette-color-7);
	border: 0;
	border-radius: var(--radius-md);
	color: var(--theme-palette-color-3);
	cursor: pointer;
	text-decoration: none;
	transition:
		background-color var(--transition-fast),
		color var(--transition-fast);
}

.shop-header .ct-cart-content .remove_from_cart_button svg {
	display: none;
}

.shop-header .ct-cart-content .remove_from_cart_button::before {
	content: '';
	width: 18px;
	height: 18px;
	background-color: currentColor;
	mask: url('../icons/trash.svg') center / contain no-repeat;
}

.shop-header .ct-cart-content .remove_from_cart_button:is(:hover, :focus-visible) {
	background: #fff1ef;
	color: #b23832;
}

.shop-header .ct-cart-content .woocommerce-mini-cart__total {
	display: grid;
	align-content: center;
	gap: 2px;
	margin: 0;
	padding: var(--space-3) var(--space-3);
	border-top: 1px solid var(--theme-palette-color-6);
	color: var(--theme-palette-color-3);
	font-size: var(--fs-sm);
	font-weight: var(--fw-regular);
	text-align: start;
	text-transform: none;
}

.shop-header .ct-cart-content .woocommerce-mini-cart__total strong {
	color: var(--theme-palette-color-3);
	font-weight: var(--fw-semibold);
}

.shop-header .ct-cart-content .woocommerce-mini-cart__total .woocommerce-Price-amount {
	color: var(--theme-palette-color-4);
	font-size: var(--fs-lg);
	font-weight: var(--fw-bold);
	font-variant-numeric: tabular-nums;
}

.shop-header .ct-cart-content .woocommerce-mini-cart__buttons {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin: 0;
	padding: var(--space-3) var(--space-3);
	background: var(--theme-palette-color-8);
	border-top: 1px solid var(--theme-palette-color-6);
}

.shop-header .ct-cart-content .woocommerce-mini-cart__buttons .button.checkout {
	display: none;
}

.shop-header .ct-cart-content .woocommerce-mini-cart__buttons .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--control-touch, 44px);
	margin: 0;
	padding: 0 14px;
	border: 1px solid var(--theme-palette-color-2);
	border-radius: var(--radius-compact, 8px);
	background: var(--theme-palette-color-2);
	color: var(--theme-palette-color-8);
	font-size: var(--fs-sm);
	font-weight: var(--fw-semibold);
	line-height: 1;
	text-align: center;
	text-transform: none;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--transition-fast),
		border-color var(--transition-fast),
		color var(--transition-fast),
		transform var(--transition-fast);
}

.shop-header .ct-cart-content .woocommerce-mini-cart__buttons .button:active {
	transform: scale(0.98);
}

.shop-header .ct-cart-content .woocommerce-mini-cart__buttons .button:not(.checkout):hover {
	background: var(--theme-palette-color-5);
	border-color: var(--theme-palette-color-5);
	color: var(--theme-palette-color-8);
}

.shop-header .ct-cart-content .woocommerce-mini-cart__empty-message {
	margin: 0;
	padding: var(--space-8) var(--space-6);
	color: var(--theme-palette-color-3);
	font-size: var(--fs-base);
	text-align: center;
}

/* Local Lucide assets use a square 24×24 viewBox. */
.shop-header__nav-arrow svg { display: block; width: 12px; height: 12px; }
.shop-header__mobile-block-arrow svg,
.shop-header__mobile-account-arrow svg { width: 12px; height: 12px; }
.shop-header__mobile-back svg { width: 22px; height: 22px; }


.shop-header__catalog-icon { display: inline-flex; flex: 0 0 16px; width: 16px; height: 16px; margin-right: 8px; }
.shop-header__catalog-icon svg { display: block; width: 100%; height: 100%; stroke-width: 2; }

/* Desktop only: a section rail for hierarchies, searchable grids for flat lists. */
@media (min-width: 1000px) {
	#main-container {
		/* Keep the panel height stable as the contact strip scrolls away. */
		--shop-mega-height: clamp(0px, calc(100dvh - var(--shop-desktop-header-height) - var(--shop-admin-offset) - 12px), 650px);
	}

	#main-container:has(.shop-header__nav-list > li:not(.is-mega-dismissed):is(:hover, :focus-within) > .shop-header__mega-menu)::before {
		content: '';
		position: fixed;
		inset: 0;
		z-index: 998;
		background: rgb(0 0 0 / 0.45);
	}

	.shop-header__mega-menu {
		height: var(--shop-mega-height);
	}
	.shop-header__mega-menu-inner {
		height: 100%;
		display: flex;
		flex-direction: column;
	}
	.shop-mega__bar {
		display: flex;
		flex: none;
		align-items: center;
		gap: var(--space-5);
		padding: 16px 24px;
		border-bottom: 1px solid var(--theme-palette-color-6);
	}
	.shop-mega__heading { font-size: var(--fs-base); color: var(--theme-palette-color-4); }
	.shop-mega__search-field { position: relative; display: block; width: min(360px, 42%); margin: 0 0 0 auto; }
	.shop-mega__search-field > svg { position: absolute; top: 50%; left: 12px; width: 16px; height: 16px; transform: translateY(-50%); color: var(--theme-palette-color-3); pointer-events: none; }
	.shop-mega__bar .shop-mega__search {
		width: 100%;
		height: 38px;
		margin: 0;
		padding: 0 12px 0 36px;
		border: 1px solid var(--theme-palette-color-6);
		border-radius: var(--radius-sm);
		background: var(--theme-palette-color-8);
		font-size: var(--fs-sm);
		transition: border-color var(--transition-fast);
	}
	.shop-mega__bar .shop-mega__search,
	.shop-mega__bar .shop-mega__search:focus { outline: none; box-shadow: none; }
	.shop-mega__bar .shop-mega__search:focus { border-color: var(--theme-palette-color-2); }
	.shop-mega__body {
		display: grid;
		flex: 1 1 auto;
		min-height: 0;
		grid-template: minmax(0, 1fr) / minmax(0, 1fr);
	}
	.is-hierarchical .shop-mega__body { grid-template-columns: clamp(280px, 25%, 300px) minmax(0, 1fr); }
	.shop-mega__rail,
	.shop-mega__panels {
		min-height: 0;
		overflow-y: auto;
		scrollbar-width: thin;
		overscroll-behavior: contain;
	}
	.shop-mega__rail {
		display: grid;
		align-content: start;
		/* Fit twelve rows where possible using the rail's actual content height. */
		grid-auto-rows: minmax(clamp(34px, calc(100% / 12 - 2px), 42px), max-content);
		gap: 2px;
		margin: 0;
		padding: 12px;
		list-style: none;
		border-right: 1px solid var(--theme-palette-color-6);
		background: var(--theme-palette-color-7);
	}
	.shop-mega__section {
		display: flex;
		border-radius: var(--radius-sm);
		color: var(--theme-palette-color-4);
		font-size: var(--fs-md);
		font-weight: var(--fw-medium);
		line-height: 1.35;
		transition: color var(--transition-fast), background-color var(--transition-fast);
	}
	.shop-mega__section:hover {
		background: color-mix(in srgb, var(--theme-palette-color-1) 10%, transparent);
		color: var(--theme-palette-color-5);
	}
	.shop-mega__rail .shop-mega__section.is-active {
		background: color-mix(in srgb, var(--theme-palette-color-1) 20%, var(--theme-palette-color-8));
		color: var(--theme-palette-color-5);
	}
	.shop-mega__section-link {
		display: flex;
		align-items: center;
		gap: 10px;
		flex: 1;
		padding: 6px 10px;
		border-radius: inherit;
		color: inherit;
		transition: none;
	}
	.shop-mega__section-link > svg { flex: 0 0 20px; width: 20px; height: 20px; stroke-width: 2; }
	.shop-mega__section-link > svg > * { vector-effect: non-scaling-stroke; }
	.shop-header__mega-menu a:focus-visible { outline: 2px solid var(--theme-palette-color-5); outline-offset: -2px; }
	.shop-mega__panels {
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
		align-content: start;
		gap: 8px 20px;
		padding: 20px 24px;
	}
	.is-hierarchical .shop-mega__panels { display: block; }
	.shop-header__mega-menu:not(.is-hierarchical) .shop-header__mega-title {
		height: 100%;
		margin: 0;
		padding: 10px 12px;
		font-size: var(--fs-sm);
	}
	.shop-header__mega-menu:not(.is-hierarchical) .shop-header__mega-title:is(:hover, :focus-visible) {
		background-color: color-mix(in srgb, var(--theme-palette-color-1) 12%, var(--theme-palette-color-8));
	}
	.shop-header__mega-column[hidden],
	.shop-header__mega-list li[hidden],
	.shop-mega__status[hidden] { display: none !important; }
	.is-hierarchical .shop-header__mega-title {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		margin-bottom: 12px;
		padding-block: 4px;
		font-size: var(--fs-xl);
		font-weight: var(--fw-semibold);
	}
	.is-hierarchical .shop-header__mega-title > svg {
		flex: 0 0 16px;
		width: 16px;
		height: 16px;
		color: var(--theme-palette-color-5);
	}
	.shop-header__mega-list { columns: 220px 2; column-gap: 24px; }
	.shop-header__mega-list:has(> li:nth-child(9 of :not([hidden]))) { column-count: 3; }
	.shop-header__mega-list > li { break-inside: avoid; }
	/* Keep real subgroups intact and give their headings the same left edge as their links. */
	.shop-header__mega-list:has(> .shop-mega__branch:not([hidden])) {
		max-inline-size: 790px;
		column-width: 210px;
		column-gap: 32px;
	}
	.shop-header__mega-list:has(> .shop-mega__branch:not([hidden])):has(> li:nth-child(5 of :not([hidden]))) { column-count: 3; }
	.shop-mega__branch { margin-bottom: 16px; }
	.shop-mega__branch > a { font-weight: var(--fw-semibold); }
	.shop-mega__sublist { margin: 0; padding: 0; list-style: none; }
	.shop-mega__sublist a { min-height: 30px; padding-block: 4px; }
	.shop-mega__sublist a:not(:is(:hover, :focus-visible)) { color: var(--theme-palette-color-3); }
	.is-enhanced.is-empty .shop-mega__body { display: none; }
	.is-enhanced.is-empty .shop-mega__status { padding-block: 24px; }
	.shop-header__mega-menu:not(.is-enhanced) :is(.shop-mega__rail, .shop-mega__search-field),
	.is-searching .shop-mega__rail { display: none; }
	.is-hierarchical:is(.is-searching, :not(.is-enhanced)) .shop-mega__body { grid-template-columns: minmax(0, 1fr); }
	.is-hierarchical:is(.is-searching, :not(.is-enhanced)) .shop-header__mega-column { margin-bottom: 24px; }
	.shop-mega__status { flex: none; margin: 0; padding: 10px 24px; border-top: 1px solid var(--theme-palette-color-6); color: var(--theme-palette-color-3); font-size: var(--fs-sm); }
}
@media (min-width: 1000px) and (prefers-reduced-motion: reduce) {
	.shop-header__nav { --shop-mega-fade-duration: 0s; }

	.shop-header__nav-list > li > a,
	.shop-header__nav-arrow,
	.shop-header__mega-menu a,
	.shop-mega__section,
	.shop-mega__bar .shop-mega__search,
	.shop-header :is(.shop-header__account-dropdown, .ct-cart-content),
	.shop-header__account-dropdown a,
	.shop-header .ct-cart-content .mini_cart_item,
	.shop-header .ct-cart-content .product-title { transition: none; }
}
