.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9990;
	opacity: 0;
	visibility: hidden;
	transition: all 0.3s;
}

.mobile-menu-overlay.active {
	opacity: 1;
	visibility: visible;
}

.mobile-menu-panel {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background: #f8f8f8;
	z-index: 9991;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	padding-top: 125px;
	overflow-y: auto;
}

.mobile-menu-panel.open {
	transform: translateX(0);
}

.menu-section {
	padding-bottom: 5px;
}

.menu-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
}

.menu-section-title {
	font-size: 18px;
	font-weight: 700;
	color: #212121;
	padding: 8px 0;
	letter-spacing: 0.5px;
}

.menu-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.menu-list li {
	margin-bottom: 2px;
}

.menu-list li a {
	display: block;
	padding: 10px 0;
	color: #2d3748;
	text-decoration: none;
	font-size: 16px;
	font-weight: 400;
	border-radius: 8px;
	transition: all 0.2s;
}

.menu-list li a:hover {
	background: #f7fafc;
	color: #1a4799;
}

.header-mobile.index-mobile,
.m-header-search-hero {
	position: relative;
	z-index: 9999 !important;
}

.mobile-menu-panel {
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.entry-btn {
	display: flex;
	align-items: center;
	padding: 10px 12px;
	background: #1a4799;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.3s;
	gap: 6px;
	margin-top: 10px;
}

.entry-btn:hover {
	background: #123573;
}

.entry-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	color: #ffffff;
}

.entry-icon svg {
	color: #ffffff;
	height: 100%;
	width: 100%;
}

.entry-text {
	flex: 1;
	font-size: 16px;
	font-weight: 600;
	color: #ffffff;
}

.entry-arrow {
	display: flex;
	align-items: center;
	transition: transform 0.3s;
}

.entry-arrow.open {
	transform: rotate(90deg);
}

.entry-arrow svg {
	color: #ffffff;
	width: 15px;
	height: 15px;
}

.menu-catalog-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #f8f8f8;
	padding: 20px;
	padding-top: 120px;
	overflow-y: auto;
	box-sizing: border-box;
}

.catalog-level-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0;
	margin-bottom: 5px;
	border-bottom: 2px solid #e2e8f0;
	position: sticky;
	top: 0;
	background: #f8f8f8;
	z-index: 5;
	gap: 12px;
}

.catalog-level-title {
	flex: 1;
	font-size: 18px;
	font-weight: 700;
	color: #1a202c;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}

.catalog-header-right {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.catalog-back-btn {
	display: flex;
	align-items: center;
	gap: 4px;
	cursor: pointer;
	color: #1a4799;
	font-weight: 500;
	font-size: 14px;
	padding: 6px 12px;
	border-radius: 8px;
	transition: all 0.2s;
	border: none;
	background: transparent;
	white-space: nowrap;
}

.catalog-back-btn:hover {
	background: #edf2f7;
}

.catalog-back-btn svg {
	color: #1a4799;
	width: 15px;
	height: 15px;
	rotate: 90deg;
}

.catalog-close-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: #fee2e2;
	color: #dc2626;
	cursor: pointer;
	transition: all 0.2s;
	padding: 0;
	flex-shrink: 0;
}

.catalog-close-btn:hover {
	background: #fecaca;
	transform: scale(1.05);
}

.catalog-close-btn svg {
	width: 12px;
	height: 12px;
}

.catalog-item {
	border-bottom: 1px solid #f0f0f0;
}

.catalog-item:last-child {
	border-bottom: none;
}

.catalog-item-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 0;
	cursor: pointer;
	user-select: none;
	text-decoration: none;
	color: #2d3748;
	transition: all 0.2s;
}

.catalog-item-link:hover {
	background: #f7fafc;
	margin: 0 -12px;
	padding: 14px 12px;
	border-radius: 8px;
}

.catalog-item-title {
	font-size: 17px;
	font-weight: 500;
	color: #2d3748;
}

.catalog-item-arrow {
	display: flex;
	align-items: center;
	color: #a0aec0;
}

.catalog-item-arrow svg {
	width: 15px;
	height: 15px;
}

.catalog-item-arrow.hidden {
	visibility: hidden;
}

.catalog-all-link {
	display: block;
	padding: 12px 0 12px 12px;
	margin-bottom: 8px;
	color: #1a4799;
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	border-left: 3px solid #1a4799;
	background: #ebf4ff;
	border-radius: 6px;
	transition: all 0.2s;
}

.catalog-all-link:hover {
	background: #dbeafe;
	padding-left: 16px;
}

.catalog-all-link::before {
	content: "🛒 ";
}

.catalog-empty {
	padding: 30px 0;
	text-align: center;
	color: #a0aec0;
	font-size: 16px;
}

.menu-city-container {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #f8f8f8;
	padding: 20px;
	padding-top: 120px;
	overflow-y: auto;
	box-sizing: border-box;
	z-index: 10;
}

.city-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 0 16px 0;
	margin-bottom: 12px;
	border-bottom: 2px solid #e2e8f0;
	position: sticky;
	top: 0;
	background: #f8f8f8;
	z-index: 5;
}

.city-title {
	flex: 1;
	font-size: 18px;
	font-weight: 700;
	color: #1a202c;
	text-align: left;
}

.city-close-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: #fee2e2;
	color: #dc2626;
	cursor: pointer;
	transition: all 0.2s;
	padding: 0;
	flex-shrink: 0;
}

.city-close-btn:hover {
	background: #fecaca;
	transform: scale(1.05);
}

.city-close-btn svg {
	stroke: currentColor;
	width: 18px;
	height: 18px;
}

.city-search-wrap {
	margin-bottom: 12px;
}

.city-search-input {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	font-size: 15px;
	outline: none;
	transition: border 0.2s;
	box-sizing: border-box;
}

.city-search-input:focus {
	border-color: #1a4799;
}

.city-list-wrap {
	overflow-y: auto;
}

.city-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 12px;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.2s;
	margin-bottom: 2px;
}

.city-item:hover {
	background: #f0f4ff;
}

.city-item.current-city {
	background: #e8edf5;
}

.city-item.current-city .city-check {
	color: #1a4799;
	font-weight: 700;
}

.city-name {
	font-size: 16px;
	color: #1a202c;
}

.city-check {
	color: #1a4799;
	font-weight: 700;
}

.city-item.hidden-city {
	display: none;
}

.menu-catalog-container,
.menu-city-container {
	animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
		opacity: 0;
	}
	to {
		transform: translateX(0);
		opacity: 1;
	}
}

.entry-arrow.open {
	transform: rotate(90deg);
	transition: transform 0.3s ease;
}
