.twodata-menu {
	--twodata-border: #e5e5e5;
	--twodata-text: #111111;
	--twodata-muted: #6b6b6b;
	--twodata-bg: #ffffff;
	--twodata-panel-bg: #ffffff;
	--twodata-accent: var(--primary, #111111);
	--twodata-font: "Open Sans", Arial, sans-serif;
	font-family: var(--twodata-font);
	color: var(--twodata-text);
	position: relative;
	background: var(--twodata-bg);
}

.twodata-theme-light {
	--twodata-border: #e5e5e5;
	--twodata-text: #111111;
	--twodata-muted: #6b6b6b;
	--twodata-bg: #ffffff;
	--twodata-panel-bg: #ffffff;
}

.twodata-theme-dark {
	--twodata-border: #2b2b2b;
	--twodata-text: #f5f5f5;
	--twodata-muted: #b9b9b9;
	--twodata-bg: #111111;
	--twodata-panel-bg: #151515;
}

@media (prefers-color-scheme: dark) {
	.twodata-menu:not(.twodata-theme-light):not(.twodata-theme-dark) {
		--twodata-border: #2b2b2b;
		--twodata-text: #f5f5f5;
		--twodata-muted: #b9b9b9;
		--twodata-bg: #111111;
		--twodata-panel-bg: #151515;
	}
}

.twodata-menu--minimal {
	display: inline-flex;
}

.twodata-menu--minimal .twodata-shop-all-toggle {
	border: 1px solid var(--twodata-border) !important;
}

.twodata-menu--preinit {
	display: none;
}

.twodata-menu-bar {
	display: flex;
	align-items: stretch;
	gap: 0;
	border-bottom: 1px solid var(--twodata-border) !important;
	padding: 0;
}

.twodata-menu--minimal .twodata-menu-bar {
	border-bottom: none;
}

.twodata-shop-all-toggle {
	display: inline-flex;
	align-items: center;
	padding: 12px;
	gap: 12px;
	border: none;
	background: transparent;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: var(--twodata-text);
	cursor: pointer;
	white-space: nowrap;
	border-right: 1px solid var(--twodata-border) !important;
}

.twodata-shop-all-toggle:is(:hover, .is-open) {
	color: white;
	background: var(--twodata-accent);
}

.twodata-shop-all-toggle .icon-close {
	display: none;
}

.twodata-shop-all-toggle.is-open .icon-hamburger {
	display: none;
}

.twodata-shop-all-toggle.is-open .icon-close {
	display: flex;
}

.twodata-menu[data-button-display="icon"] .twodata-shop-all-label {
	display: none;
}

.twodata-menu.twodata-is-mobile[data-button-visibility="desktop"] .twodata-shop-all-toggle,
.twodata-menu.twodata-is-desktop[data-button-visibility="mobile"] .twodata-shop-all-toggle,
.twodata-menu[data-button-visibility="hide"] .twodata-shop-all-toggle {
	display: none;
}

.twodata-menu.twodata-is-mobile[data-featured-mobile="0"] .twodata-featured,
.twodata-menu.twodata-is-mobile[data-featured-mobile="0"] .twodata-featured-nav {
	display: none;
}

.twodata-shop-all-icon {
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
}

.twodata-featured {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0;
	flex-wrap: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	scroll-behavior: smooth;
}

.twodata-featured::-webkit-scrollbar {
	display: none;
}

.twodata-featured-item {
	display: flex;
}

.twodata-featured-item a {
    height: 100%;
    display: flex;
    align-items: center;
}

.twodata-featured-nav {
	border: none;
	background: transparent;
	font-size: 18px;
	line-height: 1;
	color: var(--twodata-text);
	cursor: pointer;
	padding: 4px 6px;
}

.twodata-featured-prev {
	border-right: 1px solid var(--twodata-border) !important;
}

.twodata-featured-next {
	border-left: 1px solid var(--twodata-border) !important;
}

.twodata-featured-nav[disabled] {
	opacity: 0.3;
	cursor: default;
}

.twodata-featured-link,
.twodata-shop-all-toggle {
	text-decoration: none;
}

.twodata-featured-link {
	color: var(--twodata-text);
	font-weight: 400;
	white-space: nowrap;
	padding: 12px;
}

.twodata-featured-link:hover {
	color: var(--twodata-accent);
}

.twodata-featured-link:not(:last-child) {
	border-right: 1px solid var(--twodata-border);
}

.twodata-featured-link:first-child {
	border-left: 1px solid var(--twodata-border);
}

.twodata-featured-link .twodata-category-count {
	color: var(--twodata-muted);
	margin-left: 4px;
	display: none;
}

.twodata-shop-all-panel {
	position: absolute;
	left: 0;
	right: 0;
	top: var(--twodata-panel-top, 100%);
	height: var(--twodata-panel-height, calc(100vh - 100%));
	background: rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	z-index: 9999;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.twodata-shop-all-panel[hidden] {
	display: none;
}

.twodata-shop-all-panel.is-open {
	opacity: 1;
	pointer-events: auto;
}

.twodata-shop-all-panel .twodata-shop-all-body {
	background: var(--twodata-panel-bg);
}

.twodata-shop-all-panel .twodata-shop-all-header {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	border-bottom: 1px solid var(--twodata-border);
	background: var(--twodata-panel-bg);
	position: sticky;
	top: 0;
	z-index: 1;
	width: min(420px, 90vw);
	transform: translateX(-16px);
	opacity: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.twodata-shop-all-back {
	border: none;
	background: transparent;
	font-size: 14px;
	font-weight: 600;
	color: var(--twodata-text);
	cursor: pointer;
}

.twodata-shop-all-current {
	font-size: 18px;
	font-weight: 700;
	flex: 1;
}

.twodata-shop-all-link {
	color: var(--twodata-text);
	font-weight: 600;
	text-decoration: underline;
}

.twodata-shop-all-panel .twodata-shop-all-body {
	width: min(420px, 90vw);
	height: auto;
	flex: 1;
	overflow-y: auto;
	box-shadow: 12px 0 40px rgba(0, 0, 0, 0.12);
	position: relative;
	overflow-x: hidden;
	transform: translateX(-16px);
	opacity: 0;
	transition: transform 0.25s ease, opacity 0.25s ease;
}
.twodata-shop-all-panel .twodata-shop-all-body:not(.is-scrollable) {
	scrollbar-width: none;
}

.twodata-shop-all-panel .twodata-shop-all-body:not(.is-scrollable)::-webkit-scrollbar {
	width: 0;
}

.twodata-shop-all-panel .twodata-shop-all-body.is-not-scrollable {
	overflow-y: hidden;
}

.twodata-shop-all-panel .twodata-shop-all-body.is-scrollable {
	scrollbar-width: thin;
}

.twodata-shop-all-panel .twodata-shop-all-body.is-scrollable::-webkit-scrollbar {
	width: 10px;
}

.twodata-shop-all-panel.is-open .twodata-shop-all-header,
.twodata-shop-all-panel.is-open .twodata-shop-all-body {
	transform: translateX(0);
	opacity: 1;
}

.twodata-mobile-list {
	list-style: none;
	padding: 0;
	margin: 0;
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: translateX(16px);
	transition: transform 0.2s ease, opacity 0.2s ease;
	pointer-events: none;
	visibility: hidden;
}

.twodata-mobile-list.is-active {
	position: relative;
	opacity: 1;
	transform: translateX(0);
	pointer-events: auto;
	visibility: visible;
}

.twodata-mobile-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 0;
	border-bottom: 1px solid var(--twodata-border) !important;
}

.twodata-mobile-section {
	font-weight: 700;
	padding: 18px 12px 8px;
	border-bottom: 1px solid var(--twodata-border) !important;
	position: sticky;
	top: 0;
	background: var(--twodata-panel-bg);
	z-index: 2;
	display: flex;
	align-items: center;
	gap: 12px;
}

.twodata-mobile-section-title {
	flex: 1;
}

.twodata-mobile-back {
	border: none;
	background: transparent;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	color: var(--twodata-text);
}

.twodata-mobile-section-link {
	color: var(--twodata-text);
	font-weight: 600;
	text-decoration: underline;
}

.twodata-mobile-link {
	flex: 1;
	color: var(--twodata-text);
	text-decoration: none;
	font-weight: 400;
	padding: 12px;
	line-height: 1.2;
}

.twodata-mobile-link:hover {
	color: var(--twodata-accent);
	background: var(--twodata-border);
}

.twodata-mobile-trigger {
	border: none;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	text-align: left;
	cursor: pointer;
}

.twodata-mobile-chevron {
	font-size: 18px;
	line-height: 1;
}

.twodata-mobile-link .twodata-category-count {
	color: var(--twodata-muted);
	font-weight: 400;
	margin-left: 4px;
	display: none;
}
