html.coco-header-search-open,
html.coco-header-menu-open {
	overflow: hidden;
}

/* Notice topbar — in document flow; scrolls away naturally */
.coco-notice-bar {
	position: relative;
	top: auto;
	left: auto;
	right: auto;
	z-index: 121;
	min-height: var(--coco-notice-height, 36px);
	background: #1a1a2e;
	color: #f8fafc;
}

.coco-notice-bar__inner {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr) 72px;
	align-items: center;
	min-height: 36px;
	gap: 12px;
}

.coco-notice-bar__center {
	display: flex;
	justify-content: center;
	min-width: 0;
	overflow: hidden;
}

.coco-notice-bar__item,
.coco-notice-bar__link,
.coco-notice-bar__text {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.coco-notice-bar__link {
	color: inherit;
	text-decoration: none;
}

.coco-notice-bar__link:hover,
.coco-notice-bar__link:focus {
	text-decoration: underline;
}

.coco-notice-bar--rotate .coco-notice-bar__center,
.coco-notice-bar--static .coco-notice-bar__center {
	height: 36px;
	overflow: hidden;
}

.coco-notice-bar__rotator {
	position: relative;
	width: 100%;
	height: 36px;
	overflow: hidden;
}

.coco-notice-bar__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: translateY(100%);
	visibility: hidden;
}

.coco-notice-bar__slide.is-active {
	transform: translateY(0);
	visibility: visible;
	transition: transform 0.35s ease;
}

.coco-notice-bar__slide.is-leaving {
	transform: translateY(-100%);
	visibility: visible;
	transition: transform 0.35s ease;
}

.coco-notice-bar__slide.is-entering {
	transform: translateY(100%);
	visibility: visible;
}

.coco-notice-bar__slide.is-entering.is-active {
	transform: translateY(0);
	transition: transform 0.35s ease;
}

.coco-notice-bar--static .coco-notice-bar__slide {
	position: relative;
	transform: none;
	visibility: visible;
	transition: none;
}

.coco-notice-bar__currency {
	display: flex;
	justify-content: flex-end;
}

.coco-notice-bar__currency-btn {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 12px;
	font-weight: 600;
	opacity: 0.72;
	cursor: default;
}

.coco-notice-bar--rotate .coco-notice-bar__message,
.coco-notice-bar--static .coco-notice-bar__message {
	min-height: 36px;
}

body.has-notice-bar .coco-header {
	top: 0;
}

body.coco-search-open [data-coco-notice-bar],
html.coco-header-menu-open [data-coco-notice-bar] {
	display: none;
}

html.coco-header-menu-open .coco-header,
html.coco-header-menu-open.coco-hero-header .coco-header,
html.coco-header-menu-open body.has-notice-bar .coco-header,
html.coco-header-menu-open body.coco-hero-header .coco-header {
	top: 0;
	z-index: 132;
}

body.coco-search-open .coco-header,
body.coco-search-open.coco-hero-header .coco-header,
body.coco-search-open.has-notice-bar .coco-header {
	top: 0;
}

.coco-notice-bar__message {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0;
	max-width: 100%;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.4;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.coco-notice-bar__inline-link {
	color: var(--coco-notice-link-color, currentColor);
	text-decoration: underline;
	text-underline-offset: 2px;
	font-weight: 600;
}

.coco-notice-bar__inline-link:hover,
.coco-notice-bar__inline-link:focus {
	text-decoration: underline;
}

.coco-header.is-search-open {
	z-index: 140;
}

.coco-header {
	position: sticky;
	top: 0;
	z-index: 120;
	background: transparent;
	border-bottom: 1px solid transparent;
	color: #fff;
	transition: background 0.24s ease, border-color 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

body.coco-header-static .coco-header {
	position: relative;
	top: auto;
}

body.coco-hero-header .coco-header {
	position: fixed;
	top: var(--coco-hero-header-top, var(--coco-notice-height, 0px));
	left: 0;
	right: 0;
	width: 100%;
	z-index: 122;
}

body.coco-hero-header .coco-hp-hero {
	margin-top: 0;
	padding-top: 0;
}

body.coco-hero-header .coco-main {
	padding-top: 0;
}

body.coco-hero-header .coco-header:not(.is-scrolled):not(.is-menu-open):not(.is-search-open)[data-tone="light"] {
	color: #fff;
}

body.coco-hero-header .coco-header:not(.is-scrolled):not(.is-menu-open):not(.is-search-open)[data-tone="dark"] {
	color: #111827;
}

.coco-header[data-tone="dark"]:not(.is-scrolled):not(.is-menu-open):not(.is-search-open) .coco-header__logo-img--dark {
	display: block;
}

.coco-header[data-tone="dark"]:not(.is-scrolled):not(.is-menu-open):not(.is-search-open) .coco-header__logo-img--light {
	display: none;
}

.coco-header[data-tone="light"]:not(.is-scrolled):not(.is-menu-open):not(.is-search-open) .coco-header__logo-img--dark {
	display: none;
}

.coco-header[data-tone="light"]:not(.is-scrolled):not(.is-menu-open):not(.is-search-open) .coco-header__logo-img--light {
	display: block;
}

.coco-header[data-tone="dark"]:not(.is-scrolled) .coco-header__icon-btn:hover,
.coco-header[data-tone="dark"]:not(.is-scrolled) .coco-header__icon-btn:focus {
	background: rgba(0, 0, 0, 0.06);
}

.coco-header.is-scrolled {
	background: #fff;
	border-bottom-color: var(--border-color);
	color: var(--text-main);
	box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
}

body.coco-hero-header .coco-header.is-menu-open,
body.coco-hero-header .coco-header.is-search-open {
	background: #fff;
	border-bottom-color: var(--border-color);
	color: var(--text-main);
	box-shadow: 0 1px 8px rgba(15, 23, 42, 0.06);
}

body.coco-hero-header .coco-header.is-menu-open .coco-header__logo-img--dark,
body.coco-hero-header .coco-header.is-search-open .coco-header__logo-img--dark {
	display: block;
}

body.coco-hero-header .coco-header.is-menu-open .coco-header__logo-img--light,
body.coco-hero-header .coco-header.is-search-open .coco-header__logo-img--light {
	display: none;
}

.coco-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 64px;
	gap: 24px;
}

.coco-header__brand {
	display: flex;
	align-items: center;
	gap: 28px;
	min-width: 0;
	flex: 1;
}

.coco-header__logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	color: inherit;
}

.coco-header__logo-img {
	display: block;
	width: auto;
	height: 16px;
	max-width: min(110px, 38vw);
	object-fit: contain;
}

.coco-header__logo-img--dark {
	display: none;
}

.coco-header__logo-img--light {
	display: block;
}

.coco-header.is-scrolled .coco-header__logo-img--dark {
	display: block;
}

.coco-header.is-scrolled .coco-header__logo-img--light {
	display: none;
}

.coco-header__logo-text {
	font-size: 18px;
	font-weight: 600;
}

.coco-header__nav--desktop {
	min-width: 0;
}

.coco-header__menu {
	display: flex;
	align-items: center;
	gap: 22px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.coco-header__menu > li {
	position: relative;
}

.coco-header__menu a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: inherit;
	font-size: 14px;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
}

.coco-header__menu > li > a {
	padding: 4px 0;
}

.coco-header__menu-text {
	transition: color 0.15s ease, opacity 0.15s ease;
}

.coco-header.is-scrolled .coco-header__menu > li > a:hover .coco-header__menu-text,
.coco-header.is-scrolled .coco-header__menu > li > a:focus .coco-header__menu-text,
body:not(.coco-hero-header) .coco-header__menu > li > a:hover .coco-header__menu-text,
body:not(.coco-hero-header) .coco-header__menu > li > a:focus .coco-header__menu-text {
	color: var(--theme-color, #2271b1);
}

body.coco-hero-header .coco-header:not(.is-scrolled):not(.is-menu-open):not(.is-search-open)[data-tone="light"] .coco-header__menu > li > a:hover .coco-header__menu-text,
body.coco-hero-header .coco-header:not(.is-scrolled):not(.is-menu-open):not(.is-search-open)[data-tone="light"] .coco-header__menu > li > a:focus .coco-header__menu-text {
	opacity: 0.78;
}

body.coco-hero-header .coco-header:not(.is-scrolled):not(.is-menu-open):not(.is-search-open)[data-tone="dark"] .coco-header__menu > li > a:hover .coco-header__menu-text,
body.coco-hero-header .coco-header:not(.is-scrolled):not(.is-menu-open):not(.is-search-open)[data-tone="dark"] .coco-header__menu > li > a:focus .coco-header__menu-text {
	opacity: 0.72;
}

.coco-header__menu-badge {
	display: inline-flex;
	align-items: center;
	padding: 1px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	font-size: 10px;
	font-weight: 600;
	line-height: 1.4;
	opacity: 1;
	transition: none;
}

.coco-header.is-scrolled .coco-header__menu-badge,
.coco-header[data-tone="dark"]:not(.is-scrolled) .coco-header__menu-badge {
	background: #eef2ff;
	color: #3730a3;
}

.coco-header__menu .sub-menu {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	min-width: 180px;
	margin: 0;
	padding: 8px;
	list-style: none;
	border: 1px solid var(--border-color);
	border-radius: 12px;
	background: #fff;
	color: var(--text-main);
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	z-index: 2;
}

.coco-header__menu li:hover > .sub-menu,
.coco-header__menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.coco-header__menu .sub-menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	color: inherit;
	white-space: nowrap;
}

.coco-header__menu .sub-menu a:hover,
.coco-header__menu .sub-menu a:focus {
	background: #f3f4f6;
	opacity: 1;
}

.coco-header__tools {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.coco-header__tool {
	position: relative;
}

.coco-header-cart::after,
.coco-header-user::after {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 4px;
	display: none;
}

.coco-header-cart:hover::after,
.coco-header-cart.is-open::after,
.coco-header-cart:focus-within::after,
.coco-header-user:hover::after,
.coco-header-user.is-open::after,
.coco-header-user:focus-within::after {
	display: block;
}

.coco-header__tool--mobile {
	display: none;
}

.coco-header__icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	overflow: visible;
	transition: background 0.15s ease;
}

.coco-header__icon-btn:hover,
.coco-header__icon-btn:focus {
	background: rgba(255, 255, 255, 0.12);
	outline: none;
}

.coco-header.is-scrolled .coco-header__icon-btn:hover,
.coco-header.is-scrolled .coco-header__icon-btn:focus {
	background: rgba(0, 0, 0, 0.06);
}

.coco-header-cart__badge {
	position: absolute;
	top: 4px;
	right: 2px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #2563eb;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	pointer-events: none;
}

.coco-header-cart__badge:empty {
	display: none;
}

.coco-header-cart__trigger {
	border: 0;
	box-shadow: none;
}

.coco-header__dropdown {
	position: absolute;
	top: calc(100% - 2px);
	right: 0;
	min-width: 220px;
	margin-top: 0;
	padding: 10px;
	border: 1px solid var(--border-color);
	border-radius: 10px;
	background: #fff;
	color: var(--text-main);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
	pointer-events: none;
}

.coco-header__dropdown::before {
	content: '';
	position: absolute;
	top: -4px;
	left: 0;
	right: 0;
	height: 4px;
}

.coco-header-cart.is-open .coco-header-cart__dropdown,
.coco-header-cart:hover .coco-header-cart__dropdown,
.coco-header-cart:focus-within .coco-header-cart__dropdown,
.coco-header-user.is-open .coco-header-user__dropdown,
.coco-header-user:hover .coco-header-user__dropdown,
.coco-header-user:focus-within .coco-header-user__dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.coco-header-cart__dropdown {
	min-width: 300px;
	padding: 12px;
}

.coco-header-cart__empty {
	margin: 0;
	padding: 8px 0;
	color: var(--text-gray);
	font-size: 14px;
}

.coco-header-cart__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.coco-header-cart__item {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	padding: 10px 0;
	border-bottom: 1px solid var(--border-color);
}

.coco-header-cart__item:last-child {
	border-bottom: 0;
}

.coco-header-cart__thumb {
	display: block;
	flex-shrink: 0;
}

.coco-header-cart__thumb img {
	display: block;
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 6px;
}

.coco-header-cart__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.coco-header-cart__name {
	color: inherit;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.35;
	text-decoration: none;
}

a.coco-header-cart__name:hover,
a.coco-header-cart__name:focus {
	color: var(--theme-color, #2271b1);
}

.coco-header-cart__details {
	display: block;
	color: var(--text-gray);
	font-size: 12px;
	line-height: 1.4;
}

.coco-header-cart__addons {
	margin-top: 6px;
}

.coco-header-cart__addons .coco-cart-addons {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.coco-header-cart__addons .coco-cart-addon {
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
}

.coco-header-cart__addons .coco-cart-addon:not(:has(.coco-order-item__thumb)) {
	grid-template-columns: minmax(0, 1fr);
}

.coco-header-cart__addons .coco-order-item__thumb,
.coco-header-cart__addons .coco-order-item__thumb--child {
	display: block;
	width: 32px;
	height: 32px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 4px;
}

.coco-header-cart__addons .coco-order-item__thumb-img {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: cover;
	border-radius: 4px;
}

.coco-header-cart__addons .coco-cart-addon__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.coco-header-cart__addons .coco-cart-addon__name {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--text-gray);
}

.coco-header-cart__addons .coco-cart-addon__price {
	font-size: 11px;
	color: var(--text-gray);
	opacity: 0.85;
}

.coco-header-cart__more {
	margin-top: 4px;
	padding-top: 10px;
	border-top: 1px solid var(--border-color);
	color: var(--text-gray);
	font-size: 12px;
	line-height: 1.4;
	text-align: center;
}

.coco-header-cart__footer {
	display: flex;
	justify-content: center;
	padding-top: 12px;
}

.coco-header-cart__checkout {
	min-height: 40px;
	min-width: 160px;
	padding: 0 24px;
	font-size: 14px;
	justify-content: center;
}

.coco-header-user__link {
	display: block;
	padding: 8px 10px;
	border-radius: 8px;
	color: inherit;
	font-size: 13px;
	font-weight: 500;
}

.coco-header-user__link:hover,
.coco-header-user__link:focus {
	background: #f3f4f6;
}

/* Animated menu button — 2 lines to X */
.coco-header-menu-btn__icon {
	position: relative;
	display: block;
	width: 18px;
	height: 10px;
}

.coco-header-menu-btn__line {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	transition: transform 0.28s ease, top 0.28s ease, opacity 0.2s ease;
}

.coco-header-menu-btn__line:first-child {
	top: 0;
}

.coco-header-menu-btn__line:last-child {
	top: 8px;
}

.coco-header.is-menu-open .coco-header-menu-btn__line:first-child {
	top: 4px;
	transform: rotate(45deg);
}

.coco-header.is-menu-open .coco-header-menu-btn__line:last-child {
	top: 4px;
	transform: rotate(-45deg);
}

/* Search panel — drops from top */
.coco-header-search-backdrop {
	position: fixed;
	inset: 0;
	z-index: 139;
	background: rgba(15, 23, 42, 0.28);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, visibility 0.22s ease;
	pointer-events: none;
}

.coco-header-search-backdrop.is-visible {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.coco-header-search-panel {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 141;
	background: #fff;
	color: var(--text-main);
	border-bottom: 1px solid var(--border-color);
	box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
	transform: translateY(-100%);
	visibility: hidden;
	transition: transform 0.28s ease, visibility 0.28s ease;
	pointer-events: none;
}

.coco-header-search-panel.is-open {
	transform: translateY(0);
	visibility: visible;
	pointer-events: auto;
}

.coco-header.is-search-open .coco-header-search-panel {
	transform: translateY(0);
	visibility: visible;
	pointer-events: auto;
}

.coco-header-search-panel__inner {
	display: flex;
	flex-direction: column;
	min-height: min(335px, 36vh);
	padding: 20px 0 24px;
}

.coco-header-search-panel__bar {
	display: flex;
	align-items: center;
	gap: 10px;
	width: min(520px, 100%);
	margin: 0 auto 24px;
	padding: 0 4px;
	border-bottom: 1px solid var(--border-color);
}

.coco-header-search-panel__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-gray);
	flex-shrink: 0;
}

.coco-header-search-panel__input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0;
	border: 0;
	background: transparent;
	font-size: 16px;
	color: var(--text-main);
	appearance: none;
}

.coco-header-search-panel__input::-webkit-search-cancel-button,
.coco-header-search-panel__input::-webkit-search-decoration {
	display: none;
	appearance: none;
}

.coco-header-search-panel__input::-ms-clear {
	display: none;
}

.coco-header-search-panel__input::placeholder {
	color: #9ca3af;
}

.coco-header-search-panel__input:focus {
	outline: none;
}

.coco-header-search-panel__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--text-gray);
	cursor: pointer;
	flex-shrink: 0;
}

.coco-header-search-panel__close:hover,
.coco-header-search-panel__close:focus {
	background: #f3f4f6;
	outline: none;
}

.coco-header-search-panel__heading {
	margin: 0 0 8px;
	padding: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--text-gray);
	letter-spacing: 0.02em;
	border: 0;
}

.coco-header-search-panel__body {
	width: min(520px, 100%);
	margin: 0 auto;
}

.coco-header-search-panel__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.coco-header-search-panel__list--links li + li {
	border-top: 0;
}

.coco-header-search-panel__link,
.coco-header-search-panel__title-link {
	display: block;
	padding: 11px 0;
	border-bottom: 1px solid #f1f5f9;
	color: var(--text-main);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.45;
	transition: color 0.15s ease;
}

.coco-header-search-panel__list--links .coco-header-search-panel__link:last-child,
.coco-header-search-panel__results .coco-header-search-panel__title-link:last-child {
	border-bottom: 0;
}

.coco-header-search-panel__link:hover,
.coco-header-search-panel__link:focus,
.coco-header-search-panel__title-link:hover,
.coco-header-search-panel__title-link:focus {
	color: var(--theme-color, #2271b1);
}

.coco-header-search-panel__empty {
	margin: 0;
	padding: 12px 0;
	color: var(--text-gray);
	font-size: 14px;
}

/* Mobile menu panel */
.coco-header-mobile-panel {
	position: fixed;
	inset: 0;
	z-index: 130;
	display: flex;
	flex-direction: column;
	background: #fff;
	color: var(--text-main);
	transform: translateY(-12px);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
	pointer-events: none;
}

.coco-header.is-menu-open .coco-header__inner {
	visibility: hidden;
	pointer-events: none;
}

.coco-header.is-menu-open .coco-header-mobile-panel {
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.coco-header-mobile-panel__topbar {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 56px;
	padding: 0 12px 0 8px;
	border-bottom: 1px solid var(--border-color);
	background: #fff;
	flex-shrink: 0;
}

.coco-header-mobile-panel__back,
.coco-header-mobile-panel__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	cursor: pointer;
	flex-shrink: 0;
}

.coco-header-mobile-panel__back[hidden] {
	display: none;
}

.coco-header-mobile-panel__back:hover,
.coco-header-mobile-panel__back:focus,
.coco-header-mobile-panel__close:hover,
.coco-header-mobile-panel__close:focus {
	background: #f3f4f6;
	outline: none;
}

.coco-header-mobile-panel__title {
	flex: 1;
	min-width: 0;
	padding: 0 4px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.coco-header-mobile-panel__title:empty {
	display: none;
}

.coco-header-mobile-panel__close {
	margin-left: auto;
}

.coco-header-mobile-panel.is-submenu-view .coco-header-mobile-panel__close {
	margin-left: 0;
}

.coco-header-mobile-panel__body {
	position: relative;
	flex: 1;
	min-height: 0;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.coco-header-mobile-panel__view {
	display: flex;
	flex-direction: column;
	flex: 1;
	min-height: 0;
	overflow: auto;
	-webkit-overflow-scrolling: touch;
}

.coco-header-mobile-panel__view[hidden] {
	display: none !important;
}

.coco-header-mobile-panel__nav {
	flex: 1 1 auto;
	padding: 8px 20px;
}

.coco-header-mobile-panel__menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.coco-header-mobile-panel__menu > li {
	border-bottom: 1px solid #f1f5f9;
}

.coco-header-mobile-panel__menu .sub-menu {
	display: none;
}

.coco-header-mobile-panel__link,
.coco-header-mobile-panel__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 16px 0;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 16px;
	font-weight: 500;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.coco-header-mobile-panel__trigger-main {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.coco-header-mobile-panel__chevron {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--text-gray);
	flex-shrink: 0;
}

.coco-header-mobile-panel__submenu {
	list-style: none;
	margin: 0;
	padding: 8px 20px;
}

.coco-header-mobile-panel__submenu li {
	border-bottom: 1px solid #f1f5f9;
}

.coco-header-mobile-panel__submenu-link {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 16px 0;
	color: inherit;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
}

.coco-header-mobile-panel__menu .coco-header__menu-badge {
	background: #eef2ff;
	color: #3730a3;
}

.coco-header-mobile-panel__auth {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
	margin-top: auto;
	padding: 20px 16px max(20px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--border-color);
}

.coco-header-mobile-panel__btn {
	flex: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--border-color);
	border-radius: 999px;
	color: inherit;
	font-size: 14px;
	font-weight: 600;
}

.coco-header-mobile-panel__btn--primary {
	border-color: var(--theme-color, #2271b1);
	background: var(--theme-color, #2271b1);
	color: #fff;
}


@media (max-width: 960px) {
	.coco-header__nav--desktop,
	.coco-header__tool--desktop {
		display: none;
	}

	.coco-header__tool--mobile {
		display: block;
	}

	.coco-header__inner {
		min-height: 48px;
	}

	.coco-header-cart__dropdown {
		display: none;
	}

	/* Search — fullscreen on mobile */
	html.coco-header-search-open .coco-header-search-backdrop {
		display: none;
	}

	html.coco-header-search-open .coco-header-search-panel {
		inset: 0;
		height: 100%;
		border-bottom: 0;
		box-shadow: none;
	}

	html.coco-header-search-open .coco-header-search-panel__inner {
		min-height: 100%;
		height: 100%;
		padding: calc(var(--coco-header-height, 48px) + 16px) 16px 24px;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	.coco-header-search-panel__bar,
	.coco-header-search-panel__body {
		width: 100%;
	}
}
