/* Menu Danh mục sản phẩm trên header (dropdown + submenu hover) */
.imoto-cat-menu {
	position: relative;
}

.imoto-cat-dropdown {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	z-index: 60;
	min-width: 300px;
	margin: 0;
	padding: 10px;
	background: #fff;
	border: 1px solid #f0f0f0;
	border-top: 0;
	border-radius: 0 0 14px 14px;
	box-shadow: 0 18px 38px rgba(0, 0, 0, .14);
	list-style: none;
}

.imoto-cat-menu:hover > .imoto-cat-dropdown,
.imoto-cat-menu:focus-within > .imoto-cat-dropdown {
	display: block;
}

.imoto-cat-submenu {
	display: none;
	position: absolute;
	left: 100%;
	top: 0;
	z-index: 61;
	min-width: 240px;
	padding: 10px;
	background: #fff;
	border: 1px solid #f0f0f0;
	border-radius: 14px;
	box-shadow: 0 18px 38px rgba(0, 0, 0, .14);
}

.imoto-cat-item:hover > .imoto-cat-submenu,
.imoto-cat-item:focus-within > .imoto-cat-submenu {
	display: block;
}

/* Xoay mũi tên khi mở dropdown */
.imoto-cat-menu:hover .imoto-cat-caret {
	transform: rotate(180deg);
}

.imoto-cat-dropdown ul,
.imoto-cat-submenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.imoto-cat-item {
	position: relative;
}

.imoto-cat-item > a,
.imoto-cat-submenu a {
	min-height: 42px;
	border-radius: 10px;
	text-decoration: none;
	transition: color .18s ease, background .18s ease, transform .18s ease;
}

.imoto-cat-item > a {
	font-weight: 500;
}

.imoto-cat-item > a:hover,
.imoto-cat-submenu a:hover {
	color: #f05225 !important;
	background: #fff3ee !important;
}

.imoto-cat-item > a:hover {
	transform: translateX(2px);
}

.imoto-cat-item > a img {
	width: 30px !important;
	height: 30px !important;
	padding: 5px;
	background: #f8f8f8;
	border: 1px solid #f1f1f1;
	border-radius: 9px;
	object-fit: contain;
}

.imoto-cat-menu--bar .imoto-cat-dropdown {
	border-radius: 0 0 16px 16px;
}

/* ===== Trang chủ: search + danh mục nổi bật + reviews ===== */
.imoto-home-search-panel {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: min(100% - 32px, 1224px);
	margin: 32px auto 42px;
	padding: 28px 32px;
	background: #fff;
	border: 1px solid #f1f1f1;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.imoto-home-search-panel *,
.imoto-home-reviews *,
.imoto-home-product-section,
.imoto-home-product-section * {
	box-sizing: border-box;
}

.imoto-home-search-form {
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 14px;
	color: #777;
	background: #f7f7f7;
	border: 1px solid #d7d7d7;
	border-radius: 7px;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.imoto-home-search-form:focus-within {
	background: #fff;
	border-color: #f05225;
	box-shadow: 0 0 0 3px rgba(240, 82, 37, .12);
}

.imoto-home-search-form input {
	flex: 1;
	min-width: 0;
	height: 100%;
	color: #1f1f1f;
	font-size: 16px;
	line-height: 1.4;
	background: transparent;
	border: 0;
	outline: 0;
}

.imoto-home-search-form input::placeholder {
	color: #a9b1bd;
}

.imoto-home-category-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 18px;
	align-items: center;
}

.imoto-home-category-row.is-empty {
	display: flex;
	justify-content: flex-end;
}

.imoto-home-category-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
}

.imoto-home-category-item {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 54px;
	padding: 10px 12px;
	color: #1f1f1f;
	background: #fff;
	border: 1px solid #eeeeee;
	border-radius: 10px;
	text-decoration: none;
	transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, color .18s ease;
}

.imoto-home-category-item:hover {
	color: #f05225;
	border-color: rgba(240, 82, 37, .34);
	box-shadow: 0 10px 24px rgba(240, 82, 37, .12);
	transform: translateY(-1px);
}

.imoto-home-category-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	background: #f7f7f7;
	border-radius: 9px;
}

.imoto-home-category-icon img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.imoto-home-category-name {
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.imoto-home-view-all {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 112px;
	height: 42px;
	padding: 0 18px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	background: #f05225;
	border-radius: 999px;
	white-space: nowrap;
}

.imoto-home-view-all:hover {
	background: #df431a;
}

.imoto-home-product-section {
	width: min(100%, 1224px);
	margin-right: auto;
	margin-left: auto;
}

.imoto-home-reviews {
	margin: 60px 0 80px;
	padding: 0 16px;
}

.imoto-home-reviews .container {
	width: 100%;
	max-width: 1224px;
	margin: 0 auto;
}

.imoto-home-reviews-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.imoto-home-reviews-head h4 {
	margin: 0;
	color: #1f1f1f;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.3;
}

.imoto-home-reviews-head p {
	margin: 2px 0 0;
	color: #777;
	font-size: 16px;
	line-height: 1.5;
}

.imoto-review-controls {
	display: flex;
	align-items: center;
	gap: 20px;
}

.imoto-review-control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	color: #b7c0cc;
	background: rgba(255, 255, 255, .95);
	border: 0;
	border-radius: 50%;
	box-shadow: 0 7px 18px rgba(0, 0, 0, .12);
	cursor: pointer;
	transition: color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.imoto-review-control:hover,
.imoto-review-control.is-next {
	color: #f05225;
}

.imoto-review-control:hover {
	box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
	transform: translateY(-1px);
}

.imoto-home-reviews-body {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	gap: 36px;
	align-items: stretch;
}

.imoto-review-summary,
.imoto-review-card {
	background: #fff;
	border: 1px solid #dedede;
	border-radius: 18px;
}

.imoto-review-summary {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 214px;
	padding: 22px;
}

.imoto-review-summary strong {
	color: #191919;
	font-size: 56px;
	font-weight: 700;
	line-height: 1;
}

.imoto-review-stars {
	display: flex;
	align-items: center;
	gap: 5px;
	color: #fbbc04;
}

.imoto-review-stars--large {
	margin-top: 18px;
}

.imoto-review-star.is-muted {
	opacity: .25;
}

.imoto-review-platform {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-top: 18px;
	color: #1f1f1f;
	font-size: 20px;
	font-weight: 600;
}

.imoto-google-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	color: #4285f4;
	font-size: 22px;
	font-weight: 800;
	line-height: 1;
}

.imoto-google-mark--small {
	width: 26px;
	height: 26px;
	margin-left: auto;
	font-size: 20px;
}

.imoto-review-track {
	display: flex;
	gap: 24px;
	min-width: 0;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.imoto-review-track::-webkit-scrollbar {
	display: none;
}

.imoto-review-card {
	display: flex;
	flex: 0 0 calc((100% - 48px) / 3);
	flex-direction: column;
	min-height: 214px;
	padding: 18px;
	color: #1f1f1f;
	text-decoration: none;
	scroll-snap-align: start;
}

.imoto-review-content {
	display: -webkit-box;
	margin: 18px 0 18px;
	overflow: hidden;
	color: #242424;
	font-size: 15px;
	line-height: 1.38;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}

.imoto-review-author {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: auto;
}

.imoto-review-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	overflow: hidden;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	background: #f05225;
	border-radius: 50%;
}

.imoto-review-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.imoto-review-author strong {
	overflow: hidden;
	color: #1f1f1f;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* ===== Header desktop 2 tầng ===== */
.imoto-desktop-header {
	position: relative;
	z-index: 49;
	background: #fff;
	border-bottom: 1px solid #f0f0f0;
}

.sr-only,
.imoto-header-main-search .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.imoto-header-top {
	background: #fff;
}

.imoto-desktop-header .container {
	width: 100%;
	max-width: 1224px;
	margin-right: auto;
	margin-left: auto;
}

.imoto-header-top-inner {
	display: grid;
	grid-template-columns: 190px minmax(360px, 1fr) 130px;
	align-items: center;
	gap: 32px;
	min-height: 126px;
	padding-right: 0;
	padding-left: 0;
}

.imoto-header-logo {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	text-decoration: none;
}

.imoto-header-logo img,
.imoto-header-logo svg {
	display: block;
	width: 160px;
	max-width: 100%;
	height: auto;
	max-height: 104px;
	object-fit: contain;
}

.imoto-header-main-search {
	position: relative;
	display: flex;
	width: 100%;
	max-width: 620px;
	margin: 0 auto;
	border: 1px solid #d2d2d2;
	background: #fff;
}

.imoto-header-main-search input {
	flex: 1;
	min-width: 0;
	height: 44px;
	padding: 0 14px;
	color: #333;
	font-size: 16px;
	line-height: 1.2;
	background: #fff;
	border: 0;
	border-radius: 0;
	outline: none;
}

.imoto-header-main-search input::placeholder {
	color: #7f7f7f;
}

.imoto-header-main-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 104px;
	height: 44px;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1;
	background: #f05225;
	border: 0;
	cursor: pointer;
}

.imoto-header-main-search button:hover {
	background: #df431a;
}

.imoto-live-search-results {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 90;
	width: 100%;
	max-height: 360px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

.imoto-live-search-item {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	padding: 10px 12px;
	color: #1a1a1a;
	text-decoration: none;
	border-bottom: 1px solid #f1f1f1;
}

.imoto-live-search-item:last-child {
	border-bottom: 0;
}

.imoto-live-search-item:hover {
	background: #fff4f0;
}

.imoto-live-search-thumb {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 54px;
	overflow: hidden;
	background: #f6f6f6;
	border-radius: 6px;
}

.imoto-live-search-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.imoto-live-search-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 4px;
}

.imoto-live-search-title {
	overflow: hidden;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.imoto-live-search-price {
	color: #f05225;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.imoto-live-search-empty {
	padding: 14px 16px;
	color: #777;
	font-size: 14px;
	line-height: 1.4;
}

.imoto-header-actions {
	justify-self: end;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}

.imoto-header-contact {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 108px;
	height: 44px;
	padding: 0 20px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	background: #f05225;
	border-radius: 8px;
	white-space: nowrap;
}

.imoto-header-contact:hover {
	background: #df431a;
}

.imoto-header-nav-bar {
	background: #f05225;
}

.imoto-header-nav-inner {
	display: flex;
	align-items: stretch;
	
	padding-right: 0;
	padding-left: 0;
}

.imoto-cat-menu--bar {
	flex: 0 0 280px;
	margin: 0 !important;
}

.imoto-cat-menu--bar .imoto-cat-toggle {
	justify-content: space-between;
	width: 100%;
	height: 48px !important;
	padding: 0 18px;
	background: #f05225 !important;
	border: 0;
	border-radius: 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .01em;
	cursor: pointer;
}

.imoto-cat-hamburger {
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
}

.imoto-cat-menu--bar .imoto-cat-dropdown {
	width: 100%;
	min-width: 100%;
}

.imoto-desktop-nav {
	display: flex;
	align-items: stretch;
	min-width: 0;
}

.imoto-header-nav-inner .imoto-desktop-nav {
	flex: 1;
}

.imoto-primary-menu {
	display: flex;
	align-items: stretch;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.imoto-primary-menu .menu-item {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.imoto-primary-menu > .menu-item > a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 18px;
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	text-transform: uppercase;
	transition: color .2s ease, background .2s ease;
}

.imoto-primary-menu > .menu-item > a:hover,
.imoto-primary-menu > .current-menu-item > a,
.imoto-primary-menu > .current-menu-ancestor > a {
	color: #333;
	background: #ececec;
}

.imoto-primary-menu .menu-item-has-children > a::after {
	content: "";
	width: 7px;
	height: 7px;
	margin-left: 2px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: transform .2s ease;
}

.imoto-primary-menu .menu-item-has-children:hover > a::after,
.imoto-primary-menu .menu-item-has-children:focus-within > a::after {
	transform: rotate(225deg) translateY(-2px);
}

.imoto-primary-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 70;
	display: none;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: #fff;
	border: 1px solid #f5f5f5;
	border-radius: 0 0 8px 8px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

.imoto-primary-menu .sub-menu .sub-menu {
	top: -8px;
	left: 100%;
	border-radius: 8px;
}

.imoto-primary-menu .menu-item:hover > .sub-menu,
.imoto-primary-menu .menu-item:focus-within > .sub-menu {
	display: block;
}

.imoto-primary-menu .sub-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 16px;
	color: #1a1a1a;
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	white-space: nowrap;
	text-decoration: none;
	text-transform: none;
}

.imoto-primary-menu .sub-menu a:hover {
	color: #f05225;
	background: #f6f6f6;
}

.imoto-primary-menu .sub-menu .menu-item-has-children > a::after {
	width: 6px;
	height: 6px;
	transform: rotate(-45deg);
}

/* ===== Header mobile ===== */
.imoto-mobile-header {
	background: #fff;
	border-bottom: 1px solid #f1f1f1;
	max-width: 100vw;
}

@media (max-width: 1023px) {
	#root-layout {
		width: 100%;
		max-width: 100vw !important;
		overflow-x: hidden;
	}
}

.imoto-mobile-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
	width: 100%;
	max-width: 100vw;
	min-height: 82px;
	padding: 10px 16px;
}

.imoto-mobile-logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.imoto-mobile-logo img,
.imoto-mobile-logo svg {
	display: block;
	width: 108px;
	max-width: 42vw;
	height: auto;
	max-height: 62px;
	object-fit: contain;
}

.imoto-mobile-login {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 78px;
	height: 38px;
	padding: 0 14px;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	background: #f05225;
	border-radius: 8px;
	white-space: nowrap;
}

.imoto-mobile-action-bar {
	position: relative;
	z-index: 52;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 118px;
	align-items: stretch;
	box-sizing: border-box;
	width: 100%;
	max-width: 100vw;
	min-height: 48px;
	background: #f05225;
}

.imoto-mobile-action-bar .imoto-cat-menu--bar {
	width: 100%;
	min-width: 0;
	margin: 0 !important;
}

.imoto-mobile-action-bar .imoto-cat-menu--bar .imoto-cat-toggle {
	justify-content: space-between;
	width: 100%;
	height: 48px !important;
	padding: 0 16px;
	background: #f05225 !important;
	border: 0;
	border-radius: 0 !important;
	font-size: 15px !important;
	font-weight: 700 !important;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: .01em;
	cursor: pointer;
}

.imoto-mobile-action-bar .imoto-cat-toggle span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.imoto-mobile-action-bar .imoto-cat-menu--bar .imoto-cat-hamburger {
	width: 28px;
	height: 28px;
	flex: 0 0 28px;
}

.imoto-mobile-action-bar .imoto-cat-dropdown {
	left: 0;
	width: min(100vw, 645px);
	min-width: 100%;
}

.imoto-mobile-menu-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 118px;
	min-width: 0;
	height: 48px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	background: #f05225;
	border: 0;
	border-left: 1px solid rgba(255, 255, 255, .24);
	cursor: pointer;
}

.imoto-mobile-menu-toggle svg {
	width: 26px;
	height: 26px;
	flex: 0 0 26px;
}

@media (max-width: 1279px) {
	.imoto-header-top-inner {
		grid-template-columns: 170px minmax(280px, 1fr) 118px;
		gap: 22px;
		min-height: 116px;
		padding-right: 16px;
		padding-left: 16px;
	}

	.imoto-header-logo img,
	.imoto-header-logo svg {
		width: 145px;
		max-height: 94px;
	}

	.imoto-header-main-search input,
	.imoto-header-main-search button {
		height: 42px;
		font-size: 14px;
	}

	.imoto-header-main-search button {
		width: 92px;
	}

	.imoto-cat-menu--bar {
		flex-basis: 245px;
	}

	.imoto-cat-menu--bar .imoto-cat-toggle,
	.imoto-primary-menu > .menu-item > a {
		height: 46px !important;
		min-height: 46px;
		font-size: 13px !important;
	}

	.imoto-primary-menu > .menu-item > a {
		padding: 0 12px;
	}
}

@media (max-width: 420px) {
	.imoto-mobile-top {
		min-height: 76px;
		padding-right: 12px;
		padding-left: 12px;
	}

	.imoto-mobile-logo img,
	.imoto-mobile-logo svg {
		width: 96px;
		max-height: 56px;
	}

	.imoto-mobile-action-bar .imoto-cat-menu--bar .imoto-cat-toggle {
		padding-right: 12px;
		padding-left: 12px;
		font-size: 13px !important;
	}

	.imoto-mobile-menu-toggle {
		width: 102px;
		font-size: 15px;
	}

	.imoto-mobile-action-bar {
		grid-template-columns: minmax(0, 1fr) 102px;
	}
}

/* ===== Search desktop trên header ===== */
.imoto-header-search {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
}

.imoto-header-search .sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.imoto-header-search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #f05225;
	background: #fff;
	border: 0;
	border-radius: 9999px;
	cursor: pointer;
	transition: background .2s ease;
}

.imoto-header-search-toggle:hover,
.imoto-header-search.is-open .imoto-header-search-toggle {
	background: rgba(240, 82, 37, .08);
}

.imoto-header-search-input {
	position: absolute;
	top: 50%;
	right: 48px;
	z-index: 80;
	width: 0;
	height: 42px;
	padding: 0;
	color: #1a1a1a;
	font-size: 14px;
	line-height: 20px;
	background: #fff;
	border: 1px solid #dbdbdb;
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-50%);
	transition: width .22s ease, padding .22s ease, opacity .18s ease;
}

.imoto-header-search.is-open .imoto-header-search-input,
.imoto-header-search:focus-within .imoto-header-search-input {
	width: 260px;
	padding: 0 14px;
	opacity: 1;
	pointer-events: auto;
}

.imoto-header-search-input::placeholder {
	color: #9ca3af;
}

/* ===== Menu mobile (off-canvas drawer) ===== */
.imoto-m-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.25s ease;
	z-index: 998;
}

.imoto-m-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.imoto-m-drawer {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 320px;
	max-width: 85%;
	transform: translateX(-100%);
	transition: transform 0.28s ease;
	z-index: 999;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	display: flex;
	flex-direction: column;
}

.imoto-m-drawer.is-open {
	transform: translateX(0);
}

/* Khoá cuộn nền khi mở menu */
body.imoto-menu-open {
	overflow: hidden;
}

/* Accordion danh mục con */
.imoto-m-sub {
	display: none;
}

.imoto-m-cat.is-open > .imoto-m-sub {
	display: block;
}

.imoto-m-cat.is-open .imoto-m-caret {
	transform: rotate(180deg);
}

@media (max-width: 1023px) {
	.imoto-home-search-panel {
		width: calc(100% - 32px);
		margin-top: 24px;
		margin-bottom: 34px;
		padding: 18px;
		border-radius: 12px;
	}

	.imoto-home-category-row {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.imoto-home-category-row.is-empty {
		display: flex;
		justify-content: center;
	}

	.imoto-home-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.imoto-home-view-all {
		justify-self: center;
		min-width: 190px;
	}

	.imoto-home-reviews {
		margin-top: 44px;
		margin-bottom: 56px;
		padding: 0 16px;
	}

	.imoto-home-reviews-head {
		align-items: center;
		margin-bottom: 18px;
	}

	.imoto-home-reviews-head h4 {
		font-size: 26px;
	}

	.imoto-home-reviews-head p {
		font-size: 14px;
	}

	.imoto-review-controls {
		gap: 12px;
	}

	.imoto-review-control {
		width: 42px;
		height: 42px;
	}

	.imoto-home-reviews-body {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.imoto-review-summary {
		min-height: auto;
		padding: 20px;
	}

	.imoto-review-summary strong {
		font-size: 44px;
	}

	.imoto-review-card {
		flex-basis: min(82vw, 340px);
		min-height: 204px;
	}
}

@media (max-width: 480px) {
	.imoto-home-search-panel {
		width: calc(100% - 24px);
		margin-top: 20px;
		padding: 14px;
	}

	.imoto-home-search-form {
		height: 46px;
	}

	.imoto-home-search-form input {
		font-size: 14px;
	}

	.imoto-home-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.imoto-home-reviews-head {
		align-items: flex-start;
	}

	.imoto-review-controls {
		padding-top: 2px;
	}

	.imoto-review-control {
		width: 38px;
		height: 38px;
	}
}
