/* ==========================================================================
   Mẹ Lộc Cộc 2026 - theme styles (child of Flatsome)
   Sections: 1 tokens/base · 2 components · 3 header · 4 mobile nav · 5 footer
             6 home elements · 7 product card · 8 archive · 9 single product
             10 cart/checkout/thank-you · 11 blog · 12 contact · 13 overrides
   `!important` is only used to beat inline styles / Flatsome generated CSS (noted inline).
   ========================================================================== */

/* 1. Tokens & base ------------------------------------------------------- */
:root {
	--mlc-navy: #142A6C;
	--mlc-navy-dark: #0B1A47;
	--mlc-yellow: #FDBC11;
	--mlc-ink: #1B2333;
	--mlc-muted: #4A5568;
	--mlc-muted-2: #33405C;
	--mlc-line: #E6EAF2;
	--mlc-line-strong: #8A97B5;
	--mlc-bg-yellow: #FFF5D6;
	--mlc-bg-blue: #EAF0FB;
	--mlc-bg-peach: #FDEBDD;
	--mlc-bg-mint: #E3F4EC;
	--mlc-bg-grey: #F6F8FC;
	--mlc-green: #1D6B45;
	--mlc-r-sm: 12px;
	--mlc-r-md: 20px;
	--mlc-r-lg: 28px;
	--mlc-container: 1240px;
	--mlc-font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mlc-font-head: 'Baloo 2', 'Be Vietnam Pro', system-ui, sans-serif;
}

html { font-size: 16px; }
html:root { background-color: #fff; } /* beats Flatsome's late inline html{background-color:rgba(0,56,168,.89)} */
body {
	font-family: var(--mlc-font);
	font-size: 15px;
	line-height: 1.55;
	color: var(--mlc-ink);
	background: #fff;
}
h1, h2, h3, h4, h5, h6, .heading-font { font-family: var(--mlc-font-head); color: var(--mlc-navy); }
a { color: var(--mlc-navy); }
a:hover { color: var(--mlc-navy-dark); }
:focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }
[tabindex="-1"]:focus, [tabindex="-1"]:focus-visible { outline: none; } /* Woo focuses notices programmatically */
.mlc-container { max-width: var(--mlc-container); margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; width: 100%; }
.mlc-show-mobile { display: none !important; } /* beats Flatsome display utilities */
@media (max-width: 849px) {
	.mlc-show-mobile { display: flex !important; }
	.mlc-hide-mobile { display: none !important; }
	.mlc-container { padding-left: 14px; padding-right: 14px; }
}

/* 2. Components ----------------------------------------------------------- */
.mlc-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
	font-family: var(--mlc-font); font-weight: 700; font-size: 15px; line-height: 1.2;
	text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s; box-sizing: border-box; margin: 0;
}
.mlc-btn--navy { background: var(--mlc-navy); color: #fff; }
.mlc-btn--navy:hover { background: var(--mlc-navy-dark); color: #fff; }
.mlc-btn--yellow { background: var(--mlc-yellow); color: var(--mlc-navy); }
.mlc-btn--yellow:hover { background: #f0ac00; color: var(--mlc-navy); }
.mlc-btn--outline { border-color: var(--mlc-navy); color: var(--mlc-navy); background: #fff; }
.mlc-btn--outline:hover { background: var(--mlc-navy); color: #fff; }
.mlc-btn--white { background: #fff; color: var(--mlc-navy); }
.mlc-btn--ghost-light { border-color: #fff; color: #fff; }
.mlc-btn--ghost-light:hover { background: #fff; color: var(--mlc-navy); }
.mlc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.mlc-center { display: flex; justify-content: center; margin-top: 26px; }

.mlc-pill { align-self: flex-start; display: inline-block; font-weight: 700; font-size: 13px; padding: 6px 14px; border-radius: 999px; }
.mlc-pill--yellow { background: var(--mlc-yellow); color: var(--mlc-navy); }
.mlc-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--mlc-navy); }
.mlc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mlc-chip { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--mlc-navy); text-decoration: none; box-sizing: border-box; }
.mlc-chip--white { background: #fff; }
.mlc-chip:hover { text-decoration: underline; }
.mlc-chip-btn {
	font: inherit; font-weight: 600; padding: 10px 20px; min-height: 44px; margin: 0;
	border-radius: 999px; border: 2px solid var(--mlc-line-strong); background: #fff; color: var(--mlc-navy);
	cursor: pointer; text-transform: none; letter-spacing: 0; line-height: 1.2;
}
.mlc-chip-btn[aria-pressed="true"] { background: var(--mlc-navy); border-color: var(--mlc-navy); color: #fff; font-weight: 700; }
.mlc-tone-yellow { background: var(--mlc-bg-yellow); }
.mlc-tone-blue { background: var(--mlc-bg-blue); }
.mlc-tone-peach { background: var(--mlc-bg-peach); }
.mlc-tone-mint { background: var(--mlc-bg-mint); }
/* Flatsome sets h1-h6 { width:100% }, which breaks every "title + tabs/count" flex row. */
.mlc-h1, .mlc-h2, .mlc-h3, .mlc-cat-hero__title, .mlc-section__head > * { width: auto; }
.mlc-h1 { margin: 0; font-family: var(--mlc-font-head); font-weight: 800; font-size: 38px; line-height: 1.1; color: var(--mlc-navy); }
.mlc-h2 { margin: 0 0 20px; font-family: var(--mlc-font-head); font-weight: 800; font-size: 32px; line-height: 1.15; color: var(--mlc-navy); }
.mlc-h2--lg { font-size: 36px; margin: 0; }
.mlc-h3 { margin: 0 0 12px; font-family: var(--mlc-font-head); font-weight: 700; font-size: 24px; color: var(--mlc-navy); }
.mlc-section { padding-top: 40px; padding-bottom: 24px; }
.mlc-section--tight { padding-top: 20px; padding-bottom: 20px; }
.mlc-section--last { padding-bottom: 56px; }
.mlc-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.mlc-section__head .mlc-h2 { margin: 0; }
.mlc-section__sub { margin: 4px 0 0; color: var(--mlc-muted); }
.mlc-link-strong { font-weight: 700; }
.mlc-box { border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-lg); padding: 24px; margin: 0 0 24px; }
.mlc-facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mlc-facts li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.mlc-facts .mlc-icon { flex: 0 0 auto; margin-top: 2px; }
.mlc-note-center { margin: 12px 0 0; font-size: 13px; color: var(--mlc-muted); text-align: center; }
.mlc-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* 3. Header ---------------------------------------------------------------- */
#header.header { background: #fff; box-shadow: none; } /* Flatsome paints header_bg (#0038a8) via generated CSS */
#header .header-wrapper { background: #fff; }
.mlc-topbar { background: var(--mlc-yellow); color: var(--mlc-navy); font-size: 13px; font-weight: 600; }
.mlc-topbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 8px; padding-bottom: 8px; }
.mlc-header { border-bottom: 1px solid var(--mlc-line); background: #fff; }
.mlc-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 18px; padding-bottom: 18px; }
.mlc-header__logo { display: flex; flex: 0 0 auto; }
.mlc-header__logo img { height: 48px; width: auto; display: block; }
.mlc-header__sitename { font-family: var(--mlc-font-head); font-weight: 800; font-size: 26px; color: var(--mlc-navy); }
.mlc-search { flex: 1 1 340px; display: flex; min-width: 0; margin: 0; }
.mlc-search input[type="search"] {
	flex: 1 1 auto; min-width: 0; height: 48px; margin: 0; padding: 0 18px;
	border: 2px solid var(--mlc-navy); border-right: 0; border-radius: 999px 0 0 999px;
	font: inherit; font-size: 15px; color: var(--mlc-ink); background: #fff; box-shadow: none;
}
.mlc-search button {
	height: 48px; width: 60px; margin: 0; padding: 0; border: 0; border-radius: 0 999px 999px 0;
	background: var(--mlc-navy); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.mlc-hotline { display: flex; align-items: center; gap: 10px; }
.mlc-hotline__icon { width: 44px; height: 44px; border-radius: 999px; background: var(--mlc-bg-yellow); color: var(--mlc-navy); display: flex; align-items: center; justify-content: center; }
.mlc-hotline__text { display: flex; flex-direction: column; line-height: 1.25; }
.mlc-hotline__label { font-size: 12px; color: var(--mlc-muted); }
.mlc-hotline__text a { font-weight: 700; font-size: 17px; text-decoration: none; }
.mlc-header__actions { display: flex; gap: 6px; }
.mlc-header__icon, .mlc-header__cart { position: relative; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--mlc-navy); }
button.mlc-header__icon { margin: 0; padding: 0; min-height: 0; border: 0; background: transparent; box-shadow: none; cursor: pointer; }
.mlc-header__cart { background: var(--mlc-navy); color: #fff; }
.mlc-header__cart:hover { color: #fff; background: var(--mlc-navy-dark); }
.mlc-cart-count { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; box-sizing: border-box; border-radius: 999px; background: var(--mlc-yellow); color: var(--mlc-navy); font-size: 12px; font-weight: 700; line-height: 20px; text-align: center; }
.mlc-cart-count[data-count="0"] { display: none; }

/* Sticky header (assets/js/mlc.js sets .is-compact / .is-hidden and --mlc-topbar-h / --mlc-sticky-top).
   The header box keeps its full height in the flow, so hiding the top bar or the whole header never shifts the page. */
.mlc-sticky-ready #header { position: sticky; top: 0; z-index: 900; transition: transform .25s ease; }
.admin-bar.mlc-sticky-ready #header { top: 32px; }
@media (max-width: 782px) { .admin-bar.mlc-sticky-ready #header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.mlc-sticky-ready #header { top: 0; } } /* the admin bar scrolls away on small screens */
.mlc-sticky-ready #header.is-hidden { transform: translateY(calc(-100% - 60px)); }
.mlc-header__logo img { transition: height .2s ease; }

/* Compact header (scrolling up): one white row, --mlc-compact-h tall (64px; 56px on phones). #header keeps its full box height
   (--mlc-full-h, measured by JS) so the page does not shift; the empty part of the box lets clicks through. The navy nav row and the
   top bar are removed, but the mega menu panel stays rendered right under the row so the "Danh mục" pill can open it. */
:root { --mlc-compact-h: 64px; }
@media (max-width: 849px) { :root { --mlc-compact-h: 56px; } }
.mlc-compact-cat {
	display: none; align-items: center; gap: 8px; flex: 0 0 auto; height: 40px; margin: 0; padding: 0 16px; border: 0; border-radius: 999px;
	background: var(--mlc-yellow); color: var(--mlc-navy); font: inherit; font-weight: 700; font-size: 14px; line-height: 1; text-transform: none; letter-spacing: 0; white-space: nowrap; cursor: pointer; box-shadow: none; min-height: 0;
}
.mlc-compact-cat:hover { background: #f0ac00; }
.mlc-compact-cat .mlc-allcats__icon--close, .mlc-compact-cat[aria-expanded="true"] .mlc-allcats__icon--open { display: none; }
.mlc-compact-cat[aria-expanded="true"] .mlc-allcats__icon--close { display: inline-flex; }
a.mlc-header__tel { display: none; }
@media (max-width: 849px) { a.mlc-header__tel { display: flex; } .mlc-header__actions { display: none; } }

.mlc-sticky-ready #header.is-compact { height: var(--mlc-full-h); pointer-events: none; }
/* The box keeps its full height so content doesn't jump; only the compact row is painted, the rest must not cover the page. */
.mlc-sticky-ready #header.is-compact, .mlc-sticky-ready #header.is-compact .header-wrapper { background: transparent; box-shadow: none; }
.mlc-sticky-ready #header.is-compact .mlc-slimhead, .mlc-sticky-ready #header.is-compact .mlc-header, .mlc-sticky-ready #header.is-compact .mlc-allcats__panel { pointer-events: auto; }
.mlc-sticky-ready #header.is-compact .mlc-topbar,
.mlc-sticky-ready #header.is-compact .mlc-allcats__toggle,
.mlc-sticky-ready #header.is-compact .mlc-nav__menu { display: none; }
.mlc-sticky-ready #header.is-compact .mlc-nav { height: 0; min-height: 0; background: transparent; }
/* Keep .mlc-nav__inner's auto side margins: it is the centred container the mega panel is anchored to. */
.mlc-sticky-ready #header.is-compact .mlc-nav__inner { height: 0; }
.mlc-sticky-ready #header.is-compact .mlc-allcats { height: 0; margin: 0; }
.mlc-sticky-ready #header.is-compact .mlc-header { box-sizing: border-box; height: var(--mlc-compact-h); border-bottom: 0; box-shadow: 0 6px 16px rgba(20,42,108,.14); }
.mlc-sticky-ready #header.is-compact .mlc-header__inner { box-sizing: border-box; height: 100%; flex-wrap: nowrap; gap: 14px; padding-top: 0; padding-bottom: 0; }
.mlc-sticky-ready #header.is-compact .mlc-search { padding: 0; }
.mlc-sticky-ready #header.is-compact .mlc-search input[type="search"], .mlc-sticky-ready #header.is-compact .mlc-search button { height: 40px; }
.mlc-sticky-ready #header.is-compact .mlc-header__icon, .mlc-sticky-ready #header.is-compact .mlc-header__cart { width: 40px; height: 40px; }
@media (min-width: 850px) {
	.mlc-sticky-ready #header.is-compact .mlc-header__logo img { height: 36px; }
	.mlc-sticky-ready #header.is-compact .mlc-compact-cat { display: inline-flex; }
	.mlc-sticky-ready #header.is-compact .mlc-hotline { display: none; }
	.mlc-sticky-ready #header.is-compact a.mlc-header__tel { display: flex; flex-shrink: 0; background: var(--mlc-bg-yellow); }
	.mlc-sticky-ready #header.is-compact .mlc-header__actions { gap: 4px; }
}
@media (max-width: 849px) {
	.mlc-sticky-ready #header.is-compact .mlc-header__inner { gap: 8px; padding-left: 10px; padding-right: 10px; }
	.mlc-sticky-ready #header.is-compact .mlc-header__logo, .mlc-sticky-ready #header.is-compact a.mlc-header__tel,
	.mlc-sticky-ready #header.is-compact .mlc-header__actions > a:first-child { display: none; }
	.mlc-sticky-ready #header.is-compact .mlc-header__actions { display: flex; order: 3; }
	.mlc-sticky-ready #header.is-compact .mlc-search { order: 2; flex: 1 1 0; }
	/* Touch targets ≥ 44px (UI standard 11). */
	.mlc-sticky-ready #header.is-compact .mlc-header__icon, .mlc-sticky-ready #header.is-compact .mlc-header__cart,
	.mlc-sticky-ready #header.is-compact .mlc-header__inner > .mlc-header__icon:first-child { width: 44px; height: 44px; flex-shrink: 0; }
	.mlc-sticky-ready #header.is-compact .mlc-search input[type="search"], .mlc-sticky-ready #header.is-compact .mlc-search button { height: 44px; }
}

.mlc-nav { background: var(--mlc-navy); position: relative; z-index: 30; }
.mlc-nav__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.mlc-allcats { position: relative; margin-right: 10px; }
.mlc-allcats__toggle {
	display: flex; align-items: center; gap: 10px; height: 52px; margin: 0; padding: 0 20px; border: 0; border-radius: 0;
	background: var(--mlc-yellow); color: var(--mlc-navy); font: inherit; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer;
}
.mlc-allcats__toggle:hover { background: #f0ac00; }
.mlc-allcats__icon { display: inline-flex; }
.mlc-allcats__icon--close, .mlc-allcats.is-open .mlc-allcats__icon--open { display: none; }
.mlc-allcats.is-open .mlc-allcats__icon--close { display: inline-flex; }
.mlc-allcats__panel {
	display: none; position: absolute; top: 100%; left: 0; z-index: 40; width: min(1040px, calc(100vw - 48px)); background: #fff;
	border-radius: 0 0 var(--mlc-r-md) var(--mlc-r-md); box-shadow: 0 12px 32px rgba(20,42,108,.18); overflow: hidden;
}
.mlc-allcats.is-open .mlc-allcats__panel { display: block; }
.mlc-allcats:not(.is-ready):hover .mlc-allcats__panel, .mlc-allcats:not(.is-ready):focus-within .mlc-allcats__panel { display: block; } /* no JavaScript: open on hover / focus */

/* Mega menu: level-1 list on the left, the active item's level-2 groups (and level-3 links) on the right. */
.mlc-mega { height: min(460px, 70vh); }
.mlc-mega__tabs { list-style: none; margin: 0; padding: 8px 0; width: 300px; height: 100%; box-sizing: border-box; overflow-y: auto; background: var(--mlc-bg-grey); border-right: 1px solid var(--mlc-line); }
.mlc-mega__item { margin: 0; }
.mlc-mega__tab { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 18px; color: var(--mlc-ink); font-weight: 600; text-decoration: none; }
.mlc-mega__item.has-panel > .mlc-mega__tab::after { content: '›'; font-weight: 700; color: var(--mlc-muted-2); }
.mlc-mega__item:hover > .mlc-mega__tab, .mlc-mega__item:focus-within > .mlc-mega__tab, .mlc-mega__item.is-active > .mlc-mega__tab { background: #fff; color: var(--mlc-navy); box-shadow: inset 4px 0 0 var(--mlc-yellow); font-weight: 700; }
.mlc-mega__panel { display: none; position: absolute; top: 0; bottom: 0; left: 300px; right: 0; overflow-y: auto; padding: 22px 28px 24px; box-sizing: border-box; background: #fff; }
.mlc-allcats:not(.is-ready) .mlc-mega__item:hover > .mlc-mega__panel, .mlc-allcats:not(.is-ready) .mlc-mega__item:focus-within > .mlc-mega__panel,
.mlc-allcats.is-ready .mlc-mega__item.is-active > .mlc-mega__panel { display: block; }
.mlc-mega__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--mlc-line); }
.mlc-mega__title { font-family: var(--mlc-font-head); font-weight: 800; font-size: 22px; line-height: 1.2; color: var(--mlc-navy); }
.mlc-mega__all { font-weight: 700; color: var(--mlc-navy); text-decoration: underline; text-underline-offset: 3px; }
.mlc-mega__body { display: flex; gap: 24px; align-items: flex-start; }
.mlc-mega__cols { flex: 1 1 auto; min-width: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px 24px; }
.mlc-mega__group { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.mlc-mega__group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mlc-mega__group li { margin: 0; }
.mlc-mega__group-title { font-weight: 700; color: var(--mlc-navy); padding: 6px 0; text-decoration: none; }
.mlc-mega__group li a { display: block; padding: 6px 0; color: var(--mlc-muted-2); text-decoration: none; }
.mlc-mega__group li a:hover, .mlc-mega__group-title:hover { color: var(--mlc-navy); text-decoration: underline; }
.mlc-mega__thumb { flex: 0 0 220px; display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: var(--mlc-r-md); background: var(--mlc-bg-yellow); color: var(--mlc-navy); font-weight: 700; text-decoration: none; }
.mlc-mega__thumb-img { width: 100%; height: 130px; object-fit: cover; border-radius: var(--mlc-r-sm); display: block; }
.mlc-mega__thumb span { text-decoration: underline; }
@media (max-width: 1099px) { .mlc-mega__thumb { display: none; } }

.mlc-nav__menu { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.mlc-nav__menu > li { position: relative; margin: 0; }
.mlc-nav__menu > li > a { display: flex; align-items: center; min-height: 52px; padding: 0 14px; color: #fff; font-weight: 600; text-decoration: none; }
/* The parent stays highlighted while its submenu is hovered or holds keyboard focus, and on the current page / its ancestors. */
.mlc-nav__menu > li > a:hover, .mlc-nav__menu > li:hover > a, .mlc-nav__menu > li:focus-within > a,
.mlc-nav__menu > li.current-menu-item > a, .mlc-nav__menu > li.current-menu-ancestor > a, .mlc-nav__menu > li.current-menu-parent > a { color: var(--mlc-yellow); }
.mlc-nav__menu > .menu-item-has-children > a::after { content: '▾'; margin-left: 6px; font-size: 12px; }
.mlc-nav__menu .sub-menu {
	display: none; position: absolute; top: 100%; left: 0; z-index: 40; min-width: 220px; list-style: none; margin: 0; padding: 6px 0;
	background: #fff; border-radius: 0 0 var(--mlc-r-sm) var(--mlc-r-sm); box-shadow: 0 12px 32px rgba(20,42,108,.18);
}
.mlc-nav__menu li:hover > .sub-menu, .mlc-nav__menu li:focus-within > .sub-menu { display: block; }
.mlc-nav__menu .sub-menu a { display: block; padding: 10px 18px; color: var(--mlc-ink); font-weight: 600; text-decoration: none; }
.mlc-nav__menu .sub-menu a:hover, .mlc-nav__menu .sub-menu li:focus-within > a, .mlc-nav__menu .sub-menu li.current-menu-item > a { background: var(--mlc-bg-blue); color: var(--mlc-navy); }
.mlc-nav__menu .sub-menu :focus-visible, .mlc-nav .mlc-allcats__panel :focus-visible { outline-color: var(--mlc-navy); }

.mlc-breadcrumbs { background: #fff; padding: 16px 0 8px; font-size: 14px; line-height: 1.4; color: var(--mlc-muted); box-shadow: none !important; margin: 0 !important; } /* old #breadcrumbs rules */
.mlc-breadcrumbs p { display: flex; align-items: center; flex-wrap: nowrap; gap: 6px; margin: 0; min-width: 0; min-height: 24px; }
.mlc-breadcrumbs a { flex: 0 0 auto; color: var(--mlc-muted); text-decoration: none; white-space: nowrap; }
.mlc-breadcrumbs a:hover { color: var(--mlc-navy); text-decoration: underline; }
.mlc-breadcrumbs .last { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mlc-ink); font-weight: 600; }
.mlc-breadcrumbs .separator { flex: 0 0 auto; display: inline-block; width: 14px; height: 14px; overflow: hidden; background: var(--mlc-line-strong); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat; }

@media (max-width: 849px) {
	.mlc-topbar { font-size: 12px; }
	.mlc-topbar__inner { justify-content: center; text-align: center; padding-top: 6px; padding-bottom: 6px; }
	.mlc-topbar__store { display: none; }
	.mlc-header__inner { gap: 4px 4px; padding: 6px 8px 10px; }
	.mlc-header__logo { order: 2; flex: 1 1 auto; justify-content: center; }
	.mlc-header__logo img { height: 30px; }
	.mlc-header__inner > .mlc-header__icon:first-child { order: 1; width: 44px; height: 44px; }
	.mlc-header__inner > a.mlc-header__icon[href^="tel"] { order: 3; width: 44px; height: 44px; }
	.mlc-search { order: 4; flex: 1 1 100%; padding: 4px 6px 0; }
	.mlc-search input[type="search"] { height: 44px; font-size: 16px; } /* 16px stops iOS zoom */
	.mlc-search button { height: 44px; width: 52px; }
	/* Pages with the bottom nav (Danh mục / Liên hệ / Giỏ hàng live there): full header = logo left + account icon right, no ☰, call or cart.
	   Compact header (scroll up) = the search form only. !important beats .mlc-show-mobile. */
	body.mlc-has-bottom-nav .mlc-header__inner > button.mlc-header__icon,
	body.mlc-has-bottom-nav a.mlc-header__tel,
	body.mlc-has-bottom-nav .mlc-header__cart { display: none !important; }
	body.mlc-has-bottom-nav .mlc-header__actions { display: flex; order: 2; flex: 0 0 auto; }
	body.mlc-has-bottom-nav .mlc-header__actions .mlc-header__icon { width: 44px; height: 44px; }
	body.mlc-has-bottom-nav .mlc-header__logo { order: 1; flex: 1 1 auto; justify-content: flex-start; padding-left: 6px; }
	body.mlc-has-bottom-nav .mlc-search { order: 3; }
	body.mlc-has-bottom-nav.mlc-sticky-ready #header.is-compact .mlc-header__actions { display: none; }
	body.mlc-has-bottom-nav.mlc-sticky-ready #header.is-compact .mlc-header__inner { gap: 0; padding-left: 10px; padding-right: 10px; }
	body.mlc-has-bottom-nav.mlc-sticky-ready #header.is-compact .mlc-search { flex: 1 1 100%; padding: 0; }
}

/* 4. Mobile bottom nav + drawer --------------------------------------------- */
.mlc-bottom-nav {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 990; height: 64px; padding-bottom: env(safe-area-inset-bottom);
	background: #fff; border-top: 1px solid var(--mlc-line); box-shadow: 0 -4px 16px rgba(20,42,108,.08);
	display: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
}
@media (max-width: 849px) {
	.mlc-bottom-nav.mlc-show-mobile { display: grid !important; }
	body.mlc-has-bottom-nav { padding-bottom: 64px; }
	body.mlc-has-bottom-nav .back-to-top { bottom: 80px; }
}
.mlc-bottom-nav a, .mlc-bottom-nav button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 600; color: var(--mlc-muted-2); text-decoration: none; }
.mlc-bottom-nav button { margin: 0; padding: 0; min-height: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-family: inherit; line-height: 1.2; text-transform: none; letter-spacing: 0; cursor: pointer; }
.mlc-bottom-nav a[aria-current="page"] { color: var(--mlc-navy); font-weight: 700; }
.mlc-bottom-nav .mlc-cart-count { top: 6px; right: auto; left: 54%; }
.mlc-bottom-nav button[aria-expanded="true"] { color: var(--mlc-navy); font-weight: 700; }
.mlc-bottom-nav a:focus-visible, .mlc-bottom-nav button:focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: -4px; border-radius: 12px; }

/* "Liên hệ" bottom sheet: sits on the bottom nav (990), under the drawer (Flatsome popup ≥ 1042); the backdrop stops above the nav so its buttons stay usable. */
.mlc-sheet { display: none; }
@media (max-width: 849px) {
	.mlc-sheet:not([hidden]) { display: block; }
	.mlc-sheet__backdrop { position: fixed; top: 0; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 995; background: rgba(11, 26, 71, .45); opacity: 0; transition: opacity .2s ease; }
	.mlc-sheet__panel {
		position: fixed; left: 0; right: 0; bottom: calc(64px + env(safe-area-inset-bottom)); z-index: 996; box-sizing: border-box; padding: 8px 16px 16px;
		background: #fff; border-radius: var(--mlc-r-md) var(--mlc-r-md) 0 0; box-shadow: 0 -12px 32px rgba(20, 42, 108, .16);
		transform: translateY(24px); opacity: 0; transition: transform .2s ease, opacity .2s ease;
	}
	.mlc-sheet.is-open .mlc-sheet__backdrop, .mlc-sheet.is-open .mlc-sheet__panel { opacity: 1; transform: none; }
	.mlc-sheet .mlc-sheet__panel:focus, .mlc-sheet .mlc-sheet__panel:focus-visible { outline: none; }
	.mlc-sheet__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
	.mlc-sheet__title { margin: 0; font-family: var(--mlc-font-head); font-size: 20px; font-weight: 700; line-height: 1.2; color: var(--mlc-navy); }
	.mlc-sheet__close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 0; margin: 0 -8px 0 0; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--mlc-navy); box-shadow: none; cursor: pointer; }
	.mlc-sheet__close:hover { background: var(--mlc-bg-blue); }
	html:has(body.mlc-sheet-open), body.mlc-sheet-open { overflow: hidden; } /* page behind the open sheet does not scroll */
	.mlc-sheet__list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
	.mlc-sheet__list li { margin: 0; }
	.mlc-sheet__list a { display: flex; align-items: center; gap: 12px; box-sizing: border-box; height: 48px; padding: 0 16px; border: 2px solid var(--mlc-line); border-radius: var(--mlc-r-sm); color: var(--mlc-navy); font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color .15s; }
	.mlc-sheet__list a:hover { background: var(--mlc-bg-blue); }
	.mlc-sheet :focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }
	body.mlc-sheet-open #top-link.back-to-top { visibility: hidden !important; }
	/* Product page: no bottom nav, the sheet sits on the 56px buy bar (its "Liên hệ" square opens it). */
	body.single-product .mlc-sheet__backdrop, body.single-product .mlc-sheet__panel { bottom: calc(56px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .mlc-sheet__backdrop, .mlc-sheet__panel { transition: none; transform: none; } }

/* 5. Footer ---------------------------------------------------------------- */
.mlc-footer { background: var(--mlc-navy); color: #DCE3F5; line-height: 1.55; }
.mlc-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.mlc-footer__col { display: flex; flex-direction: column; gap: 10px; }
.mlc-footer__col p { margin: 0; font-size: 14px; }
.mlc-footer a { color: #fff; }
.mlc-footer__logo { align-self: flex-start; background: #fff; border-radius: var(--mlc-r-sm); padding: 10px 14px; }
.mlc-footer__logo img { height: 36px; width: auto; display: block; }
.mlc-footer__title { margin: 0 0 4px; font-family: var(--mlc-font-head); font-size: 20px; font-weight: 700; color: var(--mlc-yellow); }
/* Store facts under the logo: icon in a soft circle, small label, value (hotline bold). */
.mlc-footer__contact { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.mlc-footer__contact li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.mlc-footer__contact-icon { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: var(--mlc-yellow); }
.mlc-footer__contact-text { min-width: 0; display: flex; flex-direction: column; gap: 1px; padding-top: 1px; }
.mlc-footer__contact-label { font-size: 12px; line-height: 1.4; color: #A9B6DB; }
.mlc-footer__contact-value { font-size: 14px; line-height: 1.45; color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.mlc-footer__contact-value.is-strong { font-weight: 700; }
a.mlc-footer__contact-value:hover { text-decoration: underline; color: #fff; }
/* Link lists: yellow chevron + 36px rows (44px on phones, below). */
.mlc-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mlc-footer__links li { margin: 0; }
.mlc-footer__links a { display: flex; align-items: center; gap: 8px; min-height: 36px; font-size: 14px; line-height: 1.4; text-decoration: none; }
.mlc-footer__links a::before {
	content: ''; flex: none; width: 14px; height: 14px; background: var(--mlc-yellow); transition: transform .15s;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mlc-footer__links a:hover { text-decoration: underline; color: #fff; }
.mlc-footer__links a:hover::before { transform: translateX(2px); }
@media (prefers-reduced-motion: reduce) { .mlc-footer__links a::before { transition: none; } }
.mlc-footer__social { display: flex; flex-wrap: wrap; gap: 12px; }
.mlc-footer__social-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--mlc-navy) !important; text-decoration: none; transition: background-color .18s, transform .18s; }
.mlc-footer__social-btn svg { display: block; width: 22px; height: 22px; }
.mlc-footer__social-btn .mlc-social-cut { stroke: #fff; }
.mlc-footer__social-btn .mlc-social-cut-text { fill: #fff; }
.mlc-footer__social-btn:hover, .mlc-footer__social-btn:focus-visible { background: var(--mlc-yellow); transform: translateY(-2px); }
.mlc-footer__social-btn:hover .mlc-social-cut, .mlc-footer__social-btn:focus-visible .mlc-social-cut { stroke: var(--mlc-yellow); }
.mlc-footer__social-btn:hover .mlc-social-cut-text, .mlc-footer__social-btn:focus-visible .mlc-social-cut-text { fill: var(--mlc-yellow); }
.mlc-footer__social-btn:active { background: var(--mlc-yellow); filter: brightness(.92); }
.mlc-footer__bct img { height: 56px; width: auto; }
.mlc-footer__legal { border-top: 1px solid #2E4384; }
.mlc-footer__legal .mlc-container { padding-top: 18px; padding-bottom: 18px; font-size: 12px; color: #C3CDE8; }
.mlc-footer__legal strong { color: #fff; }
/* Policy pages row above the legal line (menu "Foot - Chính sách"). */
.mlc-footer__policy-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
.mlc-footer__policy-list li { margin: 0; }
.mlc-footer__policy-list a { display: inline-flex; align-items: center; min-height: 32px; font-size: 13px; text-decoration: none; }
.mlc-footer__policy-list a:hover { text-decoration: underline; color: #fff; }
@media (max-width: 849px) { .mlc-footer__policy-list a { min-height: 44px; } }
/* Phones: room under the legal line for the floating contact pill + back-to-top, so they never sit on the text. */
@media (max-width: 849px) { html.seohp-sc-shown .mlc-footer__legal .mlc-container { padding-bottom: 112px; } }
/* Phones: "Mua sắm" / "Hỗ trợ khách hàng" fold into 48px toggles (JS puts a <button> in the heading; without JS the lists stay open). */
.mlc-footer__links[hidden] { display: none; }
@media (max-width: 849px) {
	.mlc-footer__grid { gap: 0; padding-top: 32px; padding-bottom: 8px; }
	.mlc-footer__brand { padding-bottom: 24px; }
	.mlc-footer__col[data-mlc-fold] { gap: 0; border-top: 1px solid rgba(255, 255, 255, .18); }
	.mlc-footer__col[data-mlc-fold] .mlc-footer__title { margin: 0; padding: 12px 0; }
	.mlc-footer__col[data-mlc-fold] .mlc-footer__title.has-toggle { padding: 0; }
	.mlc-footer__col[data-mlc-fold] .mlc-footer__links { padding: 0 0 12px; }
	.mlc-footer__col[data-mlc-fold] .mlc-footer__links li + li { border-top: 1px solid rgba(255, 255, 255, .12); }
	.mlc-footer__col[data-mlc-fold] .mlc-footer__links a { gap: 10px; min-height: 44px; font-size: 15px; }
	.mlc-footer__contact { gap: 4px; }
	.mlc-footer__contact li { align-items: center; min-height: 48px; }
	.mlc-footer__contact-icon { width: 36px; height: 36px; }
	.mlc-footer__contact-value { font-size: 15px; }
	.mlc-footer__col:last-child { gap: 16px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); }
}
.mlc-footer__toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; height: 48px; min-height: 48px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; font: inherit; color: inherit; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; }
.mlc-footer__toggle:hover { background: transparent; color: inherit; }
.mlc-footer__toggle:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mlc-footer__toggle svg { flex: none; width: 20px; height: 20px; transition: transform .2s ease; }
.mlc-footer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .mlc-footer__toggle svg { transition: none; } }

/* 6. Home elements --------------------------------------------------------- */
.mlc-hero { display: flex; flex-wrap: wrap; gap: 20px; padding-top: 28px; padding-bottom: 8px; }
.mlc-hero__main { flex: 2 1 600px; min-width: 0; display: flex; flex-wrap: wrap; overflow: hidden; border-radius: var(--mlc-r-lg); background: var(--mlc-navy); color: #fff; }
.mlc-hero__text { flex: 1 1 320px; padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.mlc-hero__title { margin: 0; font-family: var(--mlc-font-head); font-weight: 800; font-size: 44px; line-height: 1.08; color: #fff; }
.mlc-hero__title-alt { display: none; } /* phone wording of the H1, see template-parts/mlc/home/hero.php */
.mlc-hero__text p { margin: 0; font-size: 16px; color: #DCE3F5; max-width: 420px; }
.mlc-hero__media { flex: 1 1 260px; min-height: 300px; position: relative; }
.mlc-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.mlc-hero__side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.mlc-promo { flex: 1 1 200px; border-radius: var(--mlc-r-lg); padding: 24px; display: flex; align-items: center; gap: 16px; color: var(--mlc-navy); text-decoration: none; }
.mlc-promo:hover { color: var(--mlc-navy); }
.mlc-promo__text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; }
.mlc-promo__title { font-family: var(--mlc-font-head); font-weight: 800; font-size: 26px; line-height: 1.1; }
.mlc-promo__link { font-weight: 600; text-decoration: underline; }
.mlc-promo img { width: 132px; height: 132px; object-fit: cover; border-radius: var(--mlc-r-md); flex: 0 0 auto; }

.mlc-usp { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); padding: 18px; }
.mlc-usp__item { display: flex; align-items: center; gap: 14px; padding: 6px; }
.mlc-usp__item strong { display: block; color: var(--mlc-navy); }
.mlc-usp__item span { display: block; font-size: 13px; color: var(--mlc-muted); }
.mlc-usp__icon { flex: 0 0 auto; width: 48px !important; height: 48px; border-radius: var(--mlc-r-sm); color: var(--mlc-navy); display: flex !important; align-items: center; justify-content: center; }

.mlc-ages { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; } /* design shows 4 groups; 5 age terms still fit one row */
.mlc-age { border-radius: var(--mlc-r-lg); padding: 26px; display: flex; flex-direction: column; gap: 10px; color: var(--mlc-navy); min-height: 210px; text-decoration: none; box-sizing: border-box; }
.mlc-age:hover { color: var(--mlc-navy); transform: translateY(-2px); transition: transform .15s; }
.mlc-age__label { font-family: var(--mlc-font-head); font-weight: 800; font-size: 34px; line-height: 1; }
.mlc-age__desc { font-size: 14px; color: var(--mlc-muted-2); }
.mlc-age__more { margin-top: auto; font-weight: 700; }

.mlc-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
/* Flatsome rows inside our containers: align product grids with the container edges. */
.mlc-section .row.row, .recently-viewed-products .row.row { max-width: none; width: auto; margin-left: -10px; margin-right: -10px; }
.mlc-tab-panel[hidden] { display: none; }

.mlc-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.mlc-cat { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 18px 12px; border-radius: var(--mlc-r-md); background: var(--mlc-bg-grey); color: var(--mlc-navy); text-align: center; text-decoration: none; font-weight: 700; }
.mlc-cat__img { width: 112px; height: 112px; border-radius: 999px; overflow: hidden; background: #fff; display: block; }
.mlc-cat__img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mlc-books { max-width: 1192px; margin: 0 24px; border-radius: var(--mlc-r-lg); padding: 40px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; box-sizing: border-box; }
@media (min-width: 1240px) { .mlc-books { margin: 0 auto; } }
.mlc-books__text { flex: 1 1 340px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.mlc-books__text p { margin: 0; color: var(--mlc-muted-2); }
.mlc-books__grid { flex: 1.3 1 420px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; } /* auto-fill keeps a lone book card small */
.mlc-mini-card { background: #fff; border-radius: var(--mlc-r-md); padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.mlc-mini-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--mlc-r-sm); display: block; }
.mlc-mini-card h3 { margin: 0; font-family: var(--mlc-font); font-size: 14px; font-weight: 600; line-height: 1.4; }
.mlc-mini-card h3 a { color: var(--mlc-ink); text-decoration: none; }
.mlc-mini-card__price, .mlc-mini-card__price .amount { font-weight: 700; color: var(--mlc-navy); font-size: 15px; }

.mlc-brands { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.mlc-brand { height: 88px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); display: flex; align-items: center; justify-content: center; padding: 12px; color: var(--mlc-muted); text-decoration: none; }
.mlc-brand img { max-height: 60px; width: auto; }

.mlc-posts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.mlc-post-card { border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); overflow: hidden; display: flex; flex-direction: column; background: #fff; }
.mlc-post-card__media { display: block; aspect-ratio: 16 / 9; background: var(--mlc-bg-blue); }
.mlc-post-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mlc-post-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--mlc-navy); }
.mlc-post-card__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.mlc-post-card__meta { font-size: 12px; font-weight: 700; color: var(--mlc-muted); text-transform: uppercase; letter-spacing: .04em; }
.mlc-post-card__title { margin: 0; font-family: var(--mlc-font); font-size: 18px; font-weight: 700; line-height: 1.35; }
.mlc-post-card__title a { color: var(--mlc-ink); text-decoration: none; }
.mlc-post-card__title a:hover { color: var(--mlc-navy); text-decoration: underline; }

.mlc-store { max-width: 1192px; margin: 0 24px; border-radius: var(--mlc-r-lg); overflow: hidden; display: flex; flex-wrap: wrap; }
@media (min-width: 1240px) { .mlc-store { margin: 0 auto; } }
.mlc-store__media { flex: 1 1 380px; min-height: 340px; position: relative; }
.mlc-store__media img, .mlc-store__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.mlc-store__text { flex: 1 1 380px; padding: 40px; display: flex; flex-direction: column; gap: 14px; color: var(--mlc-navy); }
.mlc-store__text p { margin: 0; color: var(--mlc-muted-2); }
.mlc-store__text .mlc-h2 { margin: 0; }

@media (max-width: 849px) {
	.mlc-hero { padding-top: 6px; gap: 14px; }
	.mlc-hero__main { flex-wrap: nowrap; border-radius: var(--mlc-r-md); }
	.mlc-hero__text { padding: 18px; gap: 10px; }
	.mlc-hero__title { font-size: 24px; line-height: 1.1; }
	.mlc-hero__title--swap { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* still the page H1, read by crawlers + screen readers */
	.mlc-hero__title-alt { display: block; }
	.mlc-hero__text p, .mlc-hero__text .mlc-pill, .mlc-hero__text .mlc-btn--ghost-light { display: none; }
	.mlc-hero__text .mlc-btn { min-height: 40px; padding: 0 16px; font-size: 14px; }
	.mlc-hero__media { flex: 0 0 130px; min-height: 0; }
	.mlc-hero__side { flex-direction: row; gap: 10px; }
	.mlc-promo { padding: 14px; flex-direction: column; align-items: flex-start; gap: 8px; border-radius: var(--mlc-r-md); }
	.mlc-promo__title { font-size: 18px; }
	.mlc-promo img { display: none; }
	.mlc-h2 { font-size: 22px; margin-bottom: 10px; }
	.mlc-h2--lg { font-size: 24px; }
	.mlc-section { padding-top: 18px; padding-bottom: 8px; }
	.mlc-usp { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px; gap: 4px; }
	.mlc-usp__item { flex-direction: column; align-items: flex-start; gap: 8px; }
	.mlc-ages { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.mlc-age { min-height: 0; padding: 14px; gap: 4px; border-radius: var(--mlc-r-md); }
	.mlc-age svg, .mlc-age__more { display: none; }
	.mlc-age__label { font-size: 22px; line-height: 1.1; }
	.mlc-age__desc { font-size: 13px; }
	.mlc-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.mlc-cat { padding: 10px 6px; font-size: 13px; gap: 8px; }
	.mlc-cat__img { width: 72px; height: 72px; }
	.mlc-books, .mlc-store { margin: 0 14px; padding: 0; }
	.mlc-books { padding: 20px; gap: 18px; }
	.mlc-books__grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; flex-basis: 100%; }
	.mlc-mini-card { padding: 8px; }
	.mlc-store__media { min-height: 200px; }
	.mlc-store__text { padding: 20px; }
}
/* Phone home: book corner = every category chip shown (wrapping) + one swipe row of books, then the button;
   guides = first post large, the rest as compact rows, "Xem tất cả bài viết" at the bottom. */
.mlc-guides__all { display: none; }
@media (max-width: 549px) {
	.mlc-books { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 12px; padding: 22px 20px; }
	.mlc-books__text { display: contents; } /* lets the button move below the books */
	.mlc-books .mlc-h2 { margin: 0; }
	.mlc-books__grid {
		order: 1; flex: 0 0 auto; display: flex; flex-wrap: nowrap; gap: 10px; overflow-x: auto; margin: 0 -20px; padding: 2px 20px 4px;
		scroll-snap-type: x mandatory; scroll-padding-left: 20px; scrollbar-width: none; overscroll-behavior-x: contain;
	}
	.mlc-books__grid::-webkit-scrollbar { display: none; }
	.mlc-books .mlc-mini-card { flex: 0 0 150px; scroll-snap-align: start; box-sizing: border-box; padding: 8px 8px 12px; }
	.mlc-books .mlc-mini-card h3 { min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.mlc-books__text > .mlc-btn { order: 2; }

	.mlc-guides .mlc-section__head .mlc-link-strong { display: none; }
	.mlc-guides .mlc-section__head { margin-bottom: 14px; }
	.mlc-guides .mlc-posts { display: flex; flex-direction: column; gap: 0; }
	.mlc-guides .mlc-post-card:first-child { margin-bottom: 4px; }
	.mlc-guides .mlc-post-card__body { padding: 12px 14px 14px; gap: 6px; }
	.mlc-guides .mlc-post-card__title { font-size: 17px; }
	.mlc-guides .mlc-post-card:not(:first-child) { flex-direction: row; align-items: center; gap: 12px; padding: 10px 0; border: 0; border-top: 1px solid var(--mlc-line); border-radius: 0; overflow: visible; }
	.mlc-guides .mlc-post-card:not(:first-child) .mlc-post-card__media { flex: 0 0 120px; height: 68px; aspect-ratio: auto; border-radius: 10px; overflow: hidden; }
	.mlc-guides .mlc-post-card:not(:first-child) .mlc-post-card__placeholder svg { width: 40px; height: 40px; }
	.mlc-guides .mlc-post-card:not(:first-child) .mlc-post-card__body { flex: 1 1 auto; min-width: 0; padding: 0; gap: 4px; }
	.mlc-guides .mlc-post-card:not(:first-child) .mlc-post-card__meta { font-size: 11px; }
	.mlc-guides .mlc-post-card:not(:first-child) .mlc-post-card__title { font-size: 15px; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.mlc-guides__all { display: flex; width: 100%; margin-top: 10px; }
}

/* 7. Product card (Flatsome .product-small box) ----------------------------- */
.products .product-small.col { padding-bottom: 20px; }
/* Star line under the name (woocommerce/loop/rating.php): only for products with approved reviews. */
.mlc-loop-rating { display: flex; align-items: center; gap: 4px; margin: 2px 0 4px; font-size: 13px; line-height: 18px; color: var(--mlc-muted); }
.mlc-loop-rating svg { flex: 0 0 14px; fill: var(--mlc-yellow); }
.mlc-loop-rating strong { color: var(--mlc-ink); }
.product-small.box {
	border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); overflow: hidden; background: #fff;
	height: 100%; display: flex; flex-direction: column; padding: 0; box-shadow: none; box-sizing: border-box;
}
.product-small.box .box-image { background: var(--mlc-bg-grey); border-radius: 0; flex: 0 0 auto; width: 100%; position: relative; } /* no shrink: keeps Flatsome's padding-top square */
.product-small.box .box-image img { object-fit: cover; }
.products:not(.has-equal-box-heights) .product-small.box .box-image img { aspect-ratio: 1 / 1; }
.product-small.box .box-text { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; text-align: left; }
.mlc-card-meta { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; min-width: 0; }
.mlc-card-meta__cat { font-size: 12px; font-weight: 600; color: var(--mlc-muted); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mlc-card-meta__age { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--mlc-navy); background: var(--mlc-bg-blue); padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.product-small .title-wrapper { height: auto; text-align: left; font-size: 15px; line-height: 1.4 !important; } /* legacy fixed height */
.product-small .product-title { margin: 0; font-size: 15px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.product-small .product-title a { color: var(--mlc-ink); }
.product-small .price-wrapper { margin: 0; }
.product-small .price, .product-small .price .amount, .product-small .price ins .amount { font-size: 18px; font-weight: 700; color: var(--mlc-navy); }
.product-small .price del, .product-small .price del .amount { font-size: 14px; font-weight: 400; color: var(--mlc-muted); }
.product-small .add-to-cart-button { margin-top: auto; padding-top: 4px; }
/* Specificity (0,4,0) on purpose: must beat ".button.primary:not(.is-outline)" (0,3,0) in section 13,
   which Flatsome also prints inline with the old blue. The card button is an outline pill. */
.product-small.box .add-to-cart-button .button {
	width: 100%; min-height: 44px; margin: 0; border-radius: 999px; border: 2px solid var(--mlc-navy);
	background: #fff; color: var(--mlc-navy); font-weight: 700; font-size: 14px; text-transform: none; letter-spacing: 0; line-height: 40px;
}
.product-small.box .add-to-cart-button .button:hover, .product-small.box .add-to-cart-button .button:focus-visible { background: var(--mlc-navy); color: #fff; }
.product-small .add-to-cart-button .added_to_cart { display: block; text-align: center; font-size: 13px; padding-top: 6px; }
.badge-container { margin: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge-inner.on-sale, .badge-inner.secondary.on-sale { background: var(--mlc-yellow) !important; color: var(--mlc-navy) !important; border-radius: 999px; font-weight: 700; text-shadow: none; box-shadow: none; height: auto; width: auto; padding: 4px 10px; position: static; } /* legacy red ribbon */
.badge-inner.on-sale::after { display: none; }
.mlc-badge { display: inline-block; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.mlc-badge--new { background: var(--mlc-yellow); color: var(--mlc-navy); }
.product-small.box .box-image .out-of-stock-label {
	background: var(--mlc-ink); color: #fff; opacity: 1; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.4;
	padding: 4px 10px; top: 12px; left: 12px; right: auto; bottom: auto; width: auto; margin: 0; transform: none; text-transform: none;
}
@media (max-width: 549px) {
	.product-small.box .box-text { padding: 10px; }
	.product-small .product-title, .product-small .title-wrapper { font-size: 14px; }
	.product-small .price .amount { font-size: 16px; }
	.mlc-card-meta__cat { display: none; }
}

/* 8. Archive: hero, toolbar, sidebar, pagination ---------------------------- */
.mlc-cat-hero { padding-top: 14px; padding-bottom: 6px; }
.mlc-cat-hero__box { border-radius: var(--mlc-r-lg); padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.mlc-cat-hero__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; }
.mlc-cat-hero__title { margin: 0; font-family: var(--mlc-font-head); font-weight: 800; font-size: 38px; line-height: 1.1; color: var(--mlc-navy); }
.mlc-cat-hero__count { color: var(--mlc-muted-2); font-weight: 600; }
.mlc-cat-hero__intro { margin: 0; color: var(--mlc-muted-2); max-width: 100%; }
/* Buying guide + "Xem thêm" below the category grid (mlc_category_content). */
.mlc-cat-content { display: flex; flex-direction: column; gap: 32px; max-width: 860px; margin: 40px 0 0; padding-top: 32px; border-top: 1px solid var(--mlc-line); }
.mlc-cat-content__body { font-size: 16px; line-height: 1.7; }
.mlc-cat-content__body > * { margin: 0 0 16px; }
.mlc-cat-content__body > :last-child { margin-bottom: 0; }
.mlc-cat-content__body h2, .mlc-cat-more__title { margin: 28px 0 12px; font-family: var(--mlc-font-head); font-size: 28px; font-weight: 700; line-height: 1.2; color: var(--mlc-navy); text-transform: none; }
.mlc-cat-content__body > h2:first-child { margin-top: 0; }
.mlc-cat-content__body h3 { margin: 20px 0 6px; font-family: var(--mlc-font-head); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--mlc-navy); text-transform: none; }
.mlc-cat-content__body ul, .mlc-cat-content__body ol { padding-left: 22px; }
.mlc-cat-content__body li { margin: 0 0 6px; }
.mlc-cat-more { display: flex; flex-direction: column; gap: 16px; }
.mlc-cat-more__title { margin: 0; }
.mlc-cat-more__group { display: flex; flex-direction: column; gap: 8px; }
.mlc-cat-more__label { font-size: 14px; font-weight: 600; color: var(--mlc-muted); }
.mlc-chip--line { border: 2px solid var(--mlc-line-strong); background: #fff; }
.mlc-chip--line:hover { border-color: var(--mlc-navy); text-decoration: none; }
.mlc-cat-more .mlc-chip { min-height: 44px; } /* a row of links: full tap target (UI rule 11) */
/* Category with no products yet (mlc_empty_category_notice): tinted block, no border (UI rule 6). */
.mlc-cat-empty { max-width: 860px; padding: 24px; border-radius: var(--mlc-r-md); background: var(--mlc-bg-blue); }
.mlc-cat-empty__text { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--mlc-ink); }
.mlc-cat-empty__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mlc-cat-empty + .mlc-cat-content { margin-top: 32px; }
/* Content tables (policy pages, category guides): rounded frame, zebra rows, no vertical rules; key/value tables
   get a 35% muted label column and stack label over value on phones. */
.mlc-info-table { overflow-x: auto; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); }
.mlc-info-table table { width: 100%; margin: 0; border-collapse: collapse; }
.mlc-info-table th, .mlc-info-table td { padding: 12px 16px; border: 0; text-align: left; vertical-align: top; font-size: 15px; line-height: 1.55; letter-spacing: 0; text-transform: none; color: var(--mlc-ink); }
.mlc-info-table thead th { font-size: 14px; font-weight: 600; color: var(--mlc-muted); background: var(--mlc-bg-grey); }
.mlc-info-table tbody tr:nth-child(even) { background: var(--mlc-bg-grey); }
.mlc-info-table--kv td:first-child { width: 35%; font-size: 14px; font-weight: 600; color: var(--mlc-muted); }
/* Editor tables (product description, posts; wrapped by mlc_wrap_content_tables): a header row written as <th> cells
   without <thead> reads like one; the frame keeps its own spacing inside the reading column. */
.mlc-info-table--content { margin: 0 0 24px; }
.mlc-info-table--content tr:first-child > th { font-size: 14px; font-weight: 600; color: var(--mlc-navy); background: var(--mlc-bg-blue); }
.mlc-info-table--content tbody tr:first-child:has(> th) ~ tr:nth-child(even) { background: transparent; } /* zebra counts from the first data row */
.mlc-info-table--content tbody tr:first-child:has(> th) ~ tr:nth-child(odd) { background: var(--mlc-bg-grey); }
@media (max-width: 849px) {
	.mlc-info-table--content th, .mlc-info-table--content td { min-width: 132px; padding: 10px 12px; font-size: 14px; } /* scroll sideways rather than squeeze 3 columns */
	.mlc-cat-content { margin-top: 28px; padding-top: 24px; gap: 24px; }
	.mlc-cat-empty { padding: 20px; }
	.mlc-cat-empty__actions .mlc-btn { flex: 1 1 100%; }
	.mlc-cat-content__body h2, .mlc-cat-more__title { font-size: 24px; }
	.mlc-info-table--kv tr { display: block; padding: 10px 16px; }
	.mlc-info-table--kv td, .mlc-info-table--kv td:first-child { display: block; width: auto; padding: 0; }
	.mlc-info-table--kv td:first-child { margin-bottom: 2px; }
	.mlc-info-table:not(.mlc-info-table--kv) td:first-child { min-width: 84px; }
}
.shop-page-title.page-title { margin: 0; }
.shop-page-title .page-title-inner { padding-top: 14px; padding-bottom: 6px; min-height: 0; }
.shop-page-title .woocommerce-result-count { color: var(--mlc-muted); }
.woocommerce-ordering select, .orderby {
	height: 44px; padding: 0 36px 0 14px; border: 2px solid var(--mlc-line-strong); border-radius: var(--mlc-r-sm);
	font: inherit; font-size: 15px; color: var(--mlc-ink); background-color: #fff; box-shadow: none; margin: 0;
}
.category-filtering .filter-button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 2px solid var(--mlc-navy); border-radius: 999px; font-weight: 700; color: var(--mlc-navy); text-transform: none; }
#shop-sidebar { border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); padding: 22px; }
#shop-sidebar .widget { margin-bottom: 22px; }
#shop-sidebar .widget:last-child { margin-bottom: 0; }
#shop-sidebar .widget-title { display: block; margin-bottom: 10px; font-family: var(--mlc-font-head); font-size: 18px; font-weight: 700; color: var(--mlc-navy); text-transform: none; letter-spacing: 0; }
#shop-sidebar .is-divider { display: none; }
.woocommerce-widget-layered-nav-list li, .widget_product_categories li { margin: 0; padding: 0; border: 0 !important; }
#shop-sidebar .woocommerce-widget-layered-nav-list li a, #shop-sidebar .widget_product_categories li a { display: flex; align-items: center; gap: 10px; min-height: 36px; padding: 0; color: var(--mlc-ink); font-weight: 500; }
#shop-sidebar .woocommerce-widget-layered-nav-list li a::before {
	content: ''; display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; border: 2px solid var(--mlc-line-strong); border-radius: 5px; box-sizing: border-box; background: #fff;
}
#shop-sidebar .woocommerce-widget-layered-nav-list li.chosen a::before { background: var(--mlc-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--mlc-navy); }
.woocommerce-widget-layered-nav-list .count { margin-left: auto; color: var(--mlc-muted); font-size: 13px; }
.widget_layered_nav_filters ul li a { background: var(--mlc-navy); color: #fff; border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.price_slider_amount .button { border-radius: 999px; background: var(--mlc-navy); }
.price_slider .ui-slider-range, .price_slider .ui-slider-handle { background: var(--mlc-navy); }
.woocommerce-pagination ul.page-numbers, nav.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; border: 0; }
.page-numbers .page-number, ul.page-numbers li > .page-numbers { min-width: 44px; height: 44px; border-radius: 999px !important; border: 2px solid var(--mlc-line) !important; display: inline-flex; align-items: center; justify-content: center; color: var(--mlc-navy); font-weight: 700; }
.page-numbers .current, ul.page-numbers li > .page-numbers.current { background: var(--mlc-navy) !important; border-color: var(--mlc-navy) !important; color: #fff !important; }
/* Design filter panel (inc/mlc-shop-filters.php) */
#shop-sidebar .mlc-filters { display: flex; flex-direction: column; gap: 22px; }
.mlc-filters__head { display: flex; align-items: center; justify-content: space-between; }
.mlc-filters__title { margin: 0; font-family: var(--mlc-font-head); font-size: 22px; font-weight: 700; color: var(--mlc-navy); width: auto; }
.mlc-filters__clear { font-size: 14px; font-weight: 600; }
.mlc-filters__apply { display: none; }
.mlc-filters__group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
#shop-sidebar .mlc-filters__group legend { font-weight: 700; color: var(--mlc-navy); margin: 0 0 8px; padding: 0; font-size: 15px; text-transform: none; letter-spacing: 0; border: 0; width: auto; } /* Flatsome legend = uppercase + rule */
.mlc-filters__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mlc-check { display: flex; align-items: center; gap: 10px; min-height: 32px; color: var(--mlc-ink); text-decoration: none; font-size: 15px; }
.mlc-check:hover { color: var(--mlc-navy); text-decoration: none; }
.mlc-check::before { content: ''; flex: 0 0 18px; width: 18px; height: 18px; border: 2px solid var(--mlc-line-strong); border-radius: 5px; box-sizing: border-box; background: #fff; }
.mlc-check[aria-checked="true"]::before { background: var(--mlc-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; border-color: var(--mlc-navy); }
.mlc-check--pill { gap: 8px; border: 2px solid var(--mlc-line-strong); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.mlc-check--pill::before { flex-basis: 14px; width: 14px; height: 14px; border-radius: 4px; }
.mlc-check--pill[aria-checked="true"] { border-color: var(--mlc-navy); background: var(--mlc-bg-blue); }
.mlc-check--strong { font-weight: 600; }
/* Toolbar inside the product column */
.mlc-shop-toolbar { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.mlc-active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mlc-active-filters__label { font-weight: 600; color: var(--mlc-muted-2); }
.mlc-active-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; background: var(--mlc-navy); color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; }
.mlc-active-filter:hover { color: #fff; background: var(--mlc-navy-dark); }
.mlc-active-filters__clear { font-size: 14px; font-weight: 600; text-decoration: underline; padding: 8px 4px; }
.mlc-shop-toolbar__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mlc-shop-toolbar__count { color: var(--mlc-muted); }
.mlc-shop-toolbar__sort { display: flex; align-items: center; gap: 10px; }
.mlc-shop-toolbar__sort-label { font-weight: 600; }
.mlc-shop-toolbar__sort .woocommerce-ordering { margin: 0; width: 220px; max-width: 100%; }
.mlc-shop-toolbar__sort .woocommerce-ordering .select2-container { display: block; width: 100% !important; }
.mlc-sort-dropdown { min-width: 220px; }
.mlc-load-more { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 8px; }
.mlc-load-more__progress { font-size: 14px; color: var(--mlc-muted); }
.mlc-load-more [data-mlc-next][aria-busy="true"] { opacity: .6; pointer-events: none; }
/* Filter column stays in view while the grid scrolls (desktop). The card is always shown in full (no inner scroll):
 * mlc-shop.js sets --mlc-filter-top = min(sticky top, viewport - card - 16px) so a tall card scrolls with the page and its bottom then sticks. */
@media (min-width: 850px) {
	#shop-sidebar { position: sticky; top: var(--mlc-filter-top, var(--mlc-sticky-top, 24px)); transition: top .25s ease; }
}
/* AJAX filtering: stable layout, dimmed grid and a spinner while the next result loads. */
.shop-container { position: relative; }
.shop-container[aria-busy="true"] { pointer-events: none; }
.shop-container[aria-busy="true"] .products, .shop-container[aria-busy="true"] .mlc-load-more { opacity: .55; transition: opacity .15s; }
.mlc-shop-loading .shop-container[aria-busy="true"]::after {
	content: ''; position: absolute; z-index: 2; top: 160px; left: 50%; width: 36px; height: 36px; margin-left: -18px; border-radius: 50%; box-shadow: 0 0 0 10px #fff;
	border: 4px solid var(--mlc-line); border-top-color: var(--mlc-navy); animation: mlc-spin .8s linear infinite;
}
.shop-container.is-updated .products { animation: mlc-fade-in .25s ease; }
@keyframes mlc-spin { to { transform: rotate(360deg); } }
@keyframes mlc-fade-in { from { opacity: .4; } to { opacity: 1; } }
/* Flatsome's full-width title bar now only carries the mobile "Lọc" button. */
@media (min-width: 850px) { .shop-page-title.category-page-title { display: none; } }
@media (max-width: 849px) {
	.mlc-cat-hero__box { padding: 18px; border-radius: var(--mlc-r-md); }
	.mlc-cat-hero__title { font-size: 26px; }
	.mlc-cat-hero__intro { font-size: 14px; line-height: 1.55; }
	.mlc-cat-hero .mlc-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.mlc-cat-hero .mlc-chip { white-space: nowrap; }
	.shop-page-title .page-title-inner { flex-wrap: nowrap; align-items: center; gap: 10px; padding-left: 14px; padding-right: 14px; }
	.shop-page-title .page-title-inner > .flex-col { flex: 1 1 auto; text-align: left; margin: 0; }
	.shop-page-title .page-title-inner > .flex-col:first-child { flex: 0 0 auto; }
	.shop-page-title .woocommerce-ordering, .shop-page-title .woocommerce-ordering select { width: 100%; margin: 0; }
	.category-filtering { margin: 0; }
	#shop-sidebar { border: 0; padding: 0; }
}
/* Breadcrumb on phones: only the parent and the current page stay; "…" stands for the trail before them. */
@media (max-width: 849px) {
	.mlc-breadcrumbs { padding: 12px 0 4px; }
	.mlc-breadcrumbs a:not(:last-of-type), .mlc-breadcrumbs .separator:not(:nth-last-child(2)) { display: none; }
	.mlc-breadcrumbs p:has(> a:nth-of-type(3))::before { content: '…'; flex: 0 0 auto; color: var(--mlc-muted); }
}

/* 13. Overrides of leftover Flatsome / legacy styles ------------------------- */
.header-top, .header-main, .header-bottom { display: none; } /* not rendered by the custom header, guard against plugins */
.button.primary:not(.is-outline), .button.alt:not(.is-outline), button.primary:not(.is-outline) { background-color: var(--mlc-navy); }
.button.primary:not(.is-outline):hover, .button.alt:not(.is-outline):hover { background-color: var(--mlc-navy-dark); }
.button.is-outline { border-radius: 999px; border-color: var(--mlc-navy); color: var(--mlc-navy); text-transform: none; letter-spacing: 0; }
.button.is-outline:hover { background-color: var(--mlc-navy); color: #fff; }
span.amount { color: inherit; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .message-container {
	border: 0 !important; border-radius: var(--mlc-r-sm); padding: 12px 16px; margin-bottom: 16px; /* Flatsome boxed message border */
	background: var(--mlc-bg-mint); color: #14532D; font-weight: 600;
}
.woocommerce-message .message-container, .woocommerce-info .message-container, .woocommerce-error .message-container { background: transparent; color: inherit; padding: 0; margin: 0; } /* Flatsome nests a container inside the notice */
.woocommerce-error { background: var(--mlc-bg-peach); color: #8A2B0E; }
.woocommerce-info { background: var(--mlc-bg-blue); color: var(--mlc-navy); }
.coupon button, .coupon .button, .cart-sidebar .coupon button { min-height: 48px; border-radius: var(--mlc-r-sm); border: 2px solid var(--mlc-navy); background: #fff; color: var(--mlc-navy); font-weight: 700; text-transform: none; letter-spacing: 0; }
.coupon button:hover, .coupon .button:hover { background: var(--mlc-navy); color: #fff; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---- Design-fidelity pass (audit 14/11) ---------------------------------- */
.mlc-only-mobile { display: none; }
@media (max-width: 849px) {
	.mlc-only-mobile { display: inline; }
	a.mlc-only-mobile { display: inline-flex; }
	/* Mobile home (MHome): hero → ages → "Hàng mới về"; no promo tiles / USP strip / tabs / card buttons */
	.mlc-hero__side, section[aria-label="Cam kết"] { display: none; }
	.mlc-tabs { display: none; }
	.mlc-tab-panel .add-to-cart-button, .mlc-tab-panel .mlc-card-meta, .mlc-tab-panel ~ .mlc-center { display: none; }
	.mlc-section__head { flex-wrap: nowrap; align-items: baseline; }
	.mlc-section__head .mlc-link-strong { margin-left: auto; font-size: 14px; white-space: nowrap; }
}
/* Category columns line up with the header/hero container (Flatsome .row caps at 1170px). */
.row.category-page-row { max-width: calc(var(--mlc-container) - 18px); }
/* Focus ring stays visible on navy surfaces. */
.mlc-nav :focus-visible, .mlc-footer :focus-visible, .mlc-hero__main :focus-visible, .mlc-header__cart:focus-visible, .mlc-active-filter:focus-visible { outline-color: var(--mlc-yellow); }
/* Mobile drawer (#main-menu): header with logo + close, age chips, category accordion, account + call / Zalo at the bottom. */
.off-canvas .mfp-content, .off-canvas-left .mfp-content { width: 330px; max-width: 88vw; background: #fff; }
.mfp-wrap:has(#main-menu) .mfp-close { display: none; } /* the drawer has its own close button inside the panel */
#main-menu.mobile-sidebar { display: flex; flex-direction: column; min-height: 100%; box-sizing: border-box; padding: 0; background: #fff; }
#main-menu .sidebar-menu { flex: 1 0 auto; padding: 0; }
#main-menu .nav-sidebar:not(:has(li)) { display: none; } /* Flatsome's own list is replaced by .mlc-dnav */
.mlc-drawer-head { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; box-sizing: border-box; padding: 0 10px 0 16px; background: #fff; border-bottom: 1px solid var(--mlc-line); }
.mlc-drawer-head__logo { display: flex; align-items: center; min-width: 0; height: 44px; font-family: var(--mlc-font-head); font-weight: 800; color: var(--mlc-navy); text-decoration: none; }
.mlc-drawer-head__logo img { display: block; height: 36px; width: auto; max-width: 100%; object-fit: contain; }
.mlc-drawer-close { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 1px solid var(--mlc-line); border-radius: 50%; background: #fff; color: var(--mlc-navy); box-shadow: 0 2px 8px rgba(20, 42, 108, .12); cursor: pointer; transition: background-color .15s, color .15s; }
.mlc-drawer-close:hover, .mlc-drawer-close:focus-visible { background: var(--mlc-navy); border-color: var(--mlc-navy); color: #fff; }
.mlc-drawer-title { display: flex; align-items: center; min-height: 48px; margin: 0; padding: 0 16px; background: var(--mlc-bg-blue); font-size: 15px; font-weight: 700; color: var(--mlc-navy); }
.mlc-drawer-chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 16px; }
.mlc-drawer-chip { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; box-sizing: border-box; border: 2px solid var(--mlc-line-strong); border-radius: 999px; background: #fff; color: var(--mlc-navy); font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.mlc-drawer-chip:hover { background: var(--mlc-bg-blue); color: var(--mlc-navy); }
.mlc-drawer-chip[aria-current="page"] { background: var(--mlc-navy); border-color: var(--mlc-navy); color: #fff; font-weight: 700; }
.mlc-dnav__list, .mlc-dnav__sub-list { margin: 0; padding: 0; list-style: none; }
.mlc-dnav__item { margin: 0; border-bottom: 1px solid var(--mlc-line); }
.mlc-dnav__row { display: flex; align-items: stretch; min-height: 48px; }
.mlc-dnav__link { flex: 1 1 auto; display: flex; align-items: center; min-width: 0; padding: 8px 8px 8px 16px; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--mlc-navy); text-decoration: none; text-transform: none; letter-spacing: 0; }
.mlc-dnav__link:hover { background: var(--mlc-bg-blue); color: var(--mlc-navy); }
.mlc-dnav__link--btn { justify-content: space-between; gap: 8px; width: 100%; margin: 0; padding-right: 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; font-family: inherit; text-align: left; cursor: pointer; min-height: 48px; }
.mlc-dnav__toggle { flex: 0 0 48px; display: inline-flex; align-items: center; justify-content: center; width: 48px; min-height: 48px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--mlc-navy); cursor: pointer; }
.mlc-dnav__toggle:hover { background: var(--mlc-bg-blue); }
.mlc-dnav__chev { flex: 0 0 auto; transition: transform .2s; }
[aria-expanded="true"] > .mlc-dnav__chev, [aria-expanded="true"] .mlc-dnav__chev { transform: rotate(180deg); }
.mlc-dnav__item.is-current > .mlc-dnav__row { background: var(--mlc-bg-blue); box-shadow: inset 3px 0 0 var(--mlc-navy); }
.mlc-dnav__item.is-current > .mlc-dnav__row .mlc-dnav__link { font-weight: 700; }
.mlc-dnav__panel { padding: 4px 0 8px; background: var(--mlc-bg-grey); border-top: 1px solid var(--mlc-line); }
.mlc-dnav__panel[hidden] { display: none; }
.mlc-dnav__all, .mlc-dnav__sub-item > a, .mlc-dnav__group-title { display: flex; align-items: center; min-height: 44px; padding: 6px 16px 6px 28px; box-sizing: border-box; font-size: 15px; line-height: 1.3; color: var(--mlc-ink); text-decoration: none; }
.mlc-dnav__all { font-weight: 700; color: var(--mlc-navy); }
.mlc-dnav__all:hover, .mlc-dnav__sub-item > a:hover { background: var(--mlc-bg-blue); color: var(--mlc-navy); }
.mlc-dnav__group-title { font-weight: 700; color: var(--mlc-navy); }
.mlc-dnav__sub-item.is-current > a { background: var(--mlc-bg-blue); color: var(--mlc-navy); font-weight: 700; box-shadow: inset 3px 0 0 var(--mlc-navy); }
.mlc-dnav__sub-list .mlc-dnav__sub-list > .mlc-dnav__sub-item > a { padding-left: 44px; font-size: 14px; color: var(--mlc-muted-2); }
.mlc-dnav--main { border-top: 1px solid var(--mlc-line); }
.mlc-drawer-foot { display: grid; gap: 10px; margin-top: auto; padding: 16px; border-top: 1px solid var(--mlc-line); background: #fff; }
.mlc-drawer-foot .mlc-btn { width: 100%; min-height: 48px; }
.mlc-drawer-account { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 4px; font-size: 16px; font-weight: 600; color: var(--mlc-navy); text-decoration: none; }
.mlc-drawer-account:hover span { text-decoration: underline; }
/* Mobile shop toolbar (design MFilter): count on its own line, then [Lọc] + sort select in one row.
   Flatsome's own filter row is replaced by the toolbar button. */
.mlc-shop-toolbar__filter { display: none; }
@media (max-width: 849px) {
	.shop-page-title.category-page-title { display: none; }
	.mlc-shop-toolbar__row { flex-direction: column; align-items: stretch; gap: 10px; }
	.mlc-shop-toolbar__sort { gap: 10px; }
	.mlc-shop-toolbar__filter { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: 0 0 auto; min-height: 44px; padding: 0 16px; border: 2px solid var(--mlc-navy); border-radius: 999px; font-weight: 700; color: var(--mlc-navy); background: #fff; }
	.mlc-shop-toolbar__sort .woocommerce-ordering { flex: 1 1 auto; min-width: 0; width: auto; }
	.mlc-shop-toolbar__sort .woocommerce-ordering select { width: 100%; }
	.mfp-content #shop-sidebar { box-sizing: border-box; min-height: 100vh; min-height: 100dvh; padding: 18px 16px 0; }
	.mfp-content #shop-sidebar .mlc-filters { min-height: calc(100vh - 18px); min-height: calc(100dvh - 18px); }
	.mfp-content .mlc-filters__head { padding-right: 44px; } /* room for the panel close button */
	.mlc-filters__apply { display: block; position: sticky; bottom: 0; margin: auto -16px 0; padding: 12px 16px 14px; background: #fff; border-top: 1px solid var(--mlc-line); }
	.mlc-filters__apply .mlc-btn { width: 100%; }
}

/* Slim mobile header on product / cart / checkout (MProduct, MCart, MCheckout). */
.mlc-slimhead { display: none; }
@media (max-width: 849px) {
	.mlc-has-slimhead .mlc-topbar,
	.mlc-has-slimhead .mlc-header { display: none; }
	.mlc-slimhead { display: flex; align-items: center; gap: 4px; height: 56px; padding: 0 8px; background: #fff; border-bottom: 1px solid var(--mlc-line); }
	.mlc-slimhead__btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--mlc-navy); }
	.mlc-slimhead__btn { border: 1px solid var(--mlc-line); border-radius: 50%; background: #fff; transition: background-color .15s, color .15s, border-color .15s; }
	.mlc-slimhead__btn:hover { background: var(--mlc-navy); border-color: var(--mlc-navy); color: #fff; }
	.mlc-slimhead__btn:focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }
	button.mlc-slimhead__btn { margin: 0; padding: 0; min-height: 0; box-shadow: none; cursor: pointer; }
	.mlc-slimhead__title { flex: 1 1 auto; min-width: 0; font-size: 17px; font-weight: 700; color: var(--mlc-navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.mlc-slimhead__step { font-size: 13px; color: #33405C; padding-right: 8px; }
	.mlc-slimhead__cart .mlc-cart-count { position: absolute; top: 4px; right: 2px; }
}

/* "Xem thêm / Thu gọn": one component for long product / category descriptions (assets/js/mlc.js, window.mlcReadmore).
   Mark a block with [data-mlc-readmore]; the script clamps it only when it is really taller than the limit. */
.mlc-readmore { position: relative; scroll-margin-top: var(--mlc-sticky-top, 24px); }
.mlc-readmore.is-collapsed { overflow: hidden; }
.mlc-readmore.is-collapsed::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; pointer-events: none; background: linear-gradient(rgba(255,255,255,0), #fff); }
.mlc-readmore__bar { display: flex; justify-content: center; margin-top: 12px; }
.mlc-readmore__btn { box-shadow: none; }
.mlc-readmore__btn .mlc-icon-chevron { flex: 0 0 auto; width: 18px; height: 18px; transition: transform .2s ease; }
.mlc-readmore__btn[aria-expanded="true"] .mlc-icon-chevron { transform: rotate(180deg); }
.mlc-readmore__btn:focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .mlc-readmore__btn .mlc-icon-chevron { transition: none; } }

/* 404 page ------------------------------------------------------------------- */
.mlc-404 { padding: 8px 0 56px; }
.mlc-404__card { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; margin-top: 18px; padding: 40px; border-radius: var(--mlc-r-lg); background: #fff; box-shadow: 0 10px 30px rgba(20,42,108,.10); }
.mlc-404__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.mlc-404__lead { margin: 0; max-width: 560px; color: var(--mlc-muted-2); font-size: 16px; }
.mlc-404__search { order: 0; flex: 0 0 auto; width: 100%; max-width: 560px; padding: 0; }
.mlc-404__art { flex: 1 1 280px; display: flex; justify-content: center; }
.mlc-404__art svg { width: 100%; max-width: 340px; height: auto; }
.mlc-404__group { display: flex; flex-direction: column; gap: 8px; }
.mlc-404__label { font-weight: 700; color: var(--mlc-navy); }
.mlc-404__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mlc-404__chip { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; box-sizing: border-box; border-radius: 999px; background: var(--mlc-bg-blue); color: var(--mlc-navy); font-weight: 600; text-decoration: none; }
.mlc-404__chip:hover { background: var(--mlc-navy); color: #fff; }
.mlc-404__products { margin-top: 40px; }
@media (max-width: 849px) {
	.mlc-404__card { padding: 22px 18px; gap: 16px; }
	.mlc-404__search { padding: 0; }
	.mlc-404__art { order: -1; flex-basis: 100%; }
	.mlc-404__art svg { max-width: 200px; }
	.mlc-404__text { flex-basis: 100%; }
	.mlc-404__text .mlc-h1 { font-size: 30px; }
	.mlc-404__text .mlc-actions { width: 100%; }
	.mlc-404__text .mlc-actions .mlc-btn { flex: 1 1 100%; }
	.mlc-404__products { margin-top: 28px; }
}

/* Back-to-top (Flatsome #top-link): round icon button per the UI standard, on every page. Position is handled by the contacts plugin. */
#top-link.back-to-top {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid var(--mlc-line); border-radius: 50%;
	background: #fff; color: var(--mlc-navy); box-shadow: 0 2px 8px rgba(20, 42, 108, .18); line-height: 1; transition: opacity .2s, transform .2s, background-color .15s, color .15s;
}
/* Shown by assets/js/mlc.js (.mlc-btt-on) after a short scroll; Flatsome's own .active only comes after a full screen, so both are honoured.
   Hidden state also leaves the tab order so keyboard focus never lands on an invisible button. */
#top-link.back-to-top:not(.mlc-btt-on):not(.active) { visibility: hidden; }
#top-link.back-to-top.mlc-btt-on { opacity: 1; pointer-events: auto; transform: none; }
#top-link.back-to-top i { font-size: 20px; line-height: 1; margin: 0; color: inherit; }
#top-link.back-to-top:hover { background: var(--mlc-navy); border-color: var(--mlc-navy); color: #fff; }
#top-link.back-to-top:focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { #top-link.back-to-top { transition: none; } }

/* ---- Mini cart drawer + toast (assets/js/mlc-minicart.js, inc/mlc-mini-cart.php) --------------------------------
   Layers: header 900 · bottom nav 990 · contact sheet 996 · toast 1000 · drawer 1100. */
.mlc-mcw { position: fixed; inset: 0; z-index: 1100; visibility: hidden; pointer-events: none; transition: visibility 0s linear .25s; }
.mlc-mcw.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mlc-mcw__overlay { position: absolute; inset: 0; background: rgba(11, 26, 71, .45); opacity: 0; transition: opacity .25s ease; }
.mlc-mcw.is-open .mlc-mcw__overlay { opacity: 1; }
.mlc-mcw__panel {
	position: absolute; top: 0; right: 0; bottom: 0; box-sizing: border-box; width: min(400px, 100%); max-width: 100%; display: flex; flex-direction: column;
	background: #fff; box-shadow: -12px 0 32px rgba(20, 42, 108, .16); transform: translateX(100%); transition: transform .25s ease;
}
.mlc-mcw.is-open .mlc-mcw__panel { transform: none; }
.mlc-mcw__panel:focus, .mlc-mcw__panel:focus-visible { outline: none; }
html:has(body.mlc-mc-open), body.mlc-mc-open { overflow: hidden; }
body.mlc-mc-open { padding-right: var(--mlc-sbw, 0); }

.mlc-mc { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; color: var(--mlc-ink); font-size: 15px; line-height: 1.45; }
.mlc-mc[aria-busy="true"] .mlc-mc__items, .mlc-mc[aria-busy="true"] .mlc-mc__foot { opacity: .55; pointer-events: none; cursor: progress; }
.mlc-mc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 12px 20px; border-bottom: 1px solid var(--mlc-line); }
.mlc-mc__title { margin: 0; width: auto; font-family: var(--mlc-font-head); font-size: 20px; font-weight: 800; line-height: 1.2; color: var(--mlc-navy); }
.mlc-mc__close, .mlc-toast__x {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 44px; height: 44px; min-height: 0; margin: 0; padding: 0; border: 1px solid var(--mlc-line); border-radius: 50%;
	background: #fff; color: var(--mlc-navy); box-shadow: none; line-height: 1; cursor: pointer; transition: background-color .15s, color .15s;
}
.mlc-mc__close:hover, .mlc-toast__x:hover { background: var(--mlc-navy); color: #fff; }
.mlc-mc__error { margin: 12px 20px 0; padding: 10px 14px; border-radius: var(--mlc-r-sm); background: #FFF8F7; color: #B42318; font-size: 14px; font-weight: 600; }
.mlc-mc__error[hidden] { display: none; }

.mlc-mc__ship { padding: 14px 20px; border-bottom: 1px solid var(--mlc-line); }
.mlc-mc__ship-text { margin: 0 0 8px; font-size: 14px; color: var(--mlc-muted-2); }
.mlc-mc__ship-text strong { color: var(--mlc-navy); }
.mlc-mc__track { height: 8px; border-radius: 999px; background: var(--mlc-line); overflow: hidden; }
.mlc-mc__track i { display: block; height: 100%; border-radius: 999px; background: var(--mlc-yellow); transition: width .25s ease; }
.mlc-mc__ship.is-reached { background: var(--mlc-bg-mint); }
.mlc-mc__ship.is-reached .mlc-mc__ship-text { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--mlc-green); font-weight: 700; }
.mlc-mc__ship.is-reached .mlc-mc__track { display: none; }

.mlc-mc__items { flex: 1 1 auto; min-height: 0; margin: 0; padding: 0 20px; list-style: none; overflow-y: auto; overscroll-behavior: contain; }
.mlc-mc__item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; margin: 0; padding: 16px 0; border-bottom: 1px solid var(--mlc-line); align-items: start; }
.mlc-mc__item:last-child { border-bottom: 0; }
.mlc-mc__thumb { display: block; width: 56px; height: 56px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-sm); overflow: hidden; background: #fff; }
.mlc-mc__thumb a, .mlc-mc__thumb img { display: block; width: 56px; height: 56px; object-fit: cover; }
.mlc-mc__info { min-width: 0; }
.mlc-mc__name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.mlc-mc__name a { color: var(--mlc-navy); text-decoration: none; }
.mlc-mc__name a:hover { text-decoration: underline; }
.mlc-mc dl.variation { margin: 2px 0 0; font-size: 13px; color: var(--mlc-muted); }
.mlc-mc dl.variation dt, .mlc-mc dl.variation dd { display: inline; margin: 0; float: none; font-weight: 400; }
.mlc-mc dl.variation dd p { display: inline; margin: 0; }
.mlc-mc dl.variation dd::after { content: ''; display: block; }
.mlc-mc__price { margin: 0; font-family: var(--mlc-font-head); font-size: 17px; font-weight: 800; line-height: 1.3; color: var(--mlc-navy); white-space: nowrap; text-align: right; }
.mlc-mc__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 8px; }
.mlc-mc__qty { display: inline-flex; align-items: center; height: 44px; border: 2px solid var(--mlc-line-strong); border-radius: 999px; box-sizing: border-box; overflow: hidden; }
.mlc-mc__qty button {
	width: 40px; height: 40px; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
	font-family: var(--mlc-font); font-size: 20px; font-weight: 700; line-height: 1; color: var(--mlc-navy); cursor: pointer; transition: background-color .15s;
}
.mlc-mc__qty button:hover:not(:disabled) { background: var(--mlc-bg-blue); }
.mlc-mc__qty button:disabled { opacity: .5; cursor: not-allowed; }
.mlc-mc__qty-n { min-width: 28px; text-align: center; font-weight: 700; color: var(--mlc-navy); }
.mlc-mc__qty-fixed { font-size: 13px; color: var(--mlc-muted); }
/* Round icon button (UI standard 4), same bin icon as the cart page. */
.mlc-mc__remove {
	display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 40px; height: 40px; min-height: 40px; margin: 0; padding: 0; border: 1px solid var(--mlc-line); border-radius: 50%;
	background: #fff; box-shadow: none; color: var(--mlc-navy); cursor: pointer; transition: background-color .15s, color .15s;
}
.mlc-mc__remove:hover { background: var(--mlc-navy); border-color: var(--mlc-navy); color: #fff; }
.mlc-mc__remove:focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }
@media (max-width: 849px) { .mlc-mc__remove { width: 44px; height: 44px; } }
.mlc-mc :focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }

.mlc-mc__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--mlc-line); background: #fff; }
.mlc-mc__sum { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 6px; font-weight: 700; }
.mlc-mc__sum strong { font-family: var(--mlc-font-head); font-size: 22px; font-weight: 800; color: var(--mlc-navy); }
.mlc-mc__note { margin: 0 0 14px; font-size: 13px; color: var(--mlc-muted); }
.mlc-mc__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mlc-mc__btns .mlc-btn { min-height: 48px; padding: 0 12px; white-space: nowrap; }

.mlc-mc__empty { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 40px 20px; text-align: center; }
.mlc-mc__empty-icon { display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--mlc-bg-blue); color: var(--mlc-navy); }
.mlc-mc__empty-title { margin: 0; font-family: var(--mlc-font-head); font-size: 20px; font-weight: 700; color: var(--mlc-navy); }

/* Toast: desktop top-right under the header, phone above the bottom bar (bottom nav 64px / product buy bar 56px). */
.mlc-toast-region { position: fixed; z-index: 1000; top: var(--mlc-sticky-top, 80px); right: 24px; width: min(380px, calc(100vw - 28px)); pointer-events: none; }
.mlc-toast {
	display: flex; align-items: center; gap: 8px; box-sizing: border-box; padding: 10px 8px 10px 16px; border: 1px solid var(--mlc-line); border-radius: var(--mlc-r-md); background: #fff; color: var(--mlc-ink);
	box-shadow: 0 12px 32px rgba(20, 42, 108, .16); pointer-events: auto; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease;
}
.mlc-toast.is-in { opacity: 1; transform: none; }
.mlc-toast__text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; font-size: 14px; line-height: 1.35; }
.mlc-toast__text strong { color: var(--mlc-green); font-weight: 700; }
.mlc-toast__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; color: var(--mlc-muted-2); }
.mlc-toast__view {
	flex: 0 0 auto; min-height: 44px; margin: 0; padding: 0 16px; border: 2px solid var(--mlc-navy); border-radius: 999px; background: #fff; box-shadow: none; color: var(--mlc-navy);
	font-family: var(--mlc-font); font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0; cursor: pointer; transition: background-color .15s, color .15s;
}
.mlc-toast__view:hover { background: var(--mlc-navy); color: #fff; }
.mlc-toast :focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }
html.mlc-mc-ready .product-small .added_to_cart.wc-forward { display: none; } /* the toast already offers "Xem giỏ" */
@media (max-width: 849px) {
	.mlc-toast-region { top: auto; right: 14px; left: 14px; width: auto; bottom: calc(12px + env(safe-area-inset-bottom)); }
	body.mlc-has-bottom-nav .mlc-toast-region { bottom: calc(76px + env(safe-area-inset-bottom)); }
	body.single-product .mlc-toast-region { bottom: calc(68px + env(safe-area-inset-bottom)); }
	.mlc-toast { transform: translateY(8px); }
	.mlc-toast.is-in { transform: none; }
	body.mlc-toast-on #top-link.back-to-top { visibility: hidden !important; }
}
@media (prefers-reduced-motion: reduce) {
	.mlc-mcw, .mlc-mcw__overlay, .mlc-mcw__panel, .mlc-mc__track i, .mlc-toast { transition: none; }
	.mlc-toast { transform: none; }
}

/* ---- Quick search suggestions (assets/js/mlc-quick-search.js, inc/mlc-quick-search.php) ------------------------------
   The panel hangs off <body>: the header is a stacking context (z 900), turns pointer-events off when compact and moves
   with a transform when hidden. Desktop: a dropdown under the search box + a light scrim over the page (below the header).
   Phone: a sheet from under the search box to the bottom, above the bottom nav (hidden while open), page scroll locked. */
.mlc-qs-scrim { display: none; position: fixed; inset: 0; z-index: 899; background: rgba(11, 26, 71, .28); }
.mlc-search .mlc-qs__cancel { display: none; } /* beats ".mlc-search button { display: flex }" */
.mlc-qs {
	position: fixed; z-index: 998; display: flex; flex-direction: column; box-sizing: border-box; max-height: min(600px, calc(100vh - 140px));
	border: 1px solid var(--mlc-line); border-radius: 16px; background: #fff; box-shadow: 0 16px 40px rgba(11, 26, 71, .22);
	overflow: hidden; color: var(--mlc-ink); font-family: var(--mlc-font); text-align: left;
}
.mlc-qs[hidden] { display: none; }
.mlc-qs__list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 0 6px; }
.mlc-qs__group + .mlc-qs__group { border-top: 1px solid var(--mlc-line); }
.mlc-qs__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px 6px; }
.mlc-qs__title { font-size: 13px; font-weight: 700; color: var(--mlc-navy); }
.mlc-qs__clear, .mlc-qs__forget { margin: 0; border: 0; background: none; box-shadow: none; color: var(--mlc-navy); cursor: pointer; text-transform: none; letter-spacing: 0; }
.mlc-qs__clear { min-height: 32px; padding: 0 4px; font: 700 13px/1 var(--mlc-font); text-decoration: underline; }
.mlc-qs__clear:hover { text-decoration: none; }
.mlc-qs__chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 16px 12px; }
.mlc-qs__chip {
	display: inline-flex; align-items: center; gap: 6px; box-sizing: border-box; min-height: 36px; padding: 0 16px; border-radius: 999px;
	background: var(--mlc-bg-blue); color: var(--mlc-navy); font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none;
}
.mlc-qs__count { font-weight: 600; color: var(--mlc-muted); }
.mlc-qs__recent { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 36px; padding: 0 4px 0 0; border: 1px solid var(--mlc-line-strong); border-radius: 999px; background: #fff; }
.mlc-qs__chip--recent { min-height: 34px; padding: 0 6px 0 14px; background: none; color: var(--mlc-ink); font-weight: 600; }
.mlc-qs__forget { width: 28px; height: 28px; padding: 0; border-radius: 50%; color: var(--mlc-muted); font: 400 18px/1 var(--mlc-font); }
.mlc-qs__forget:hover { background: var(--mlc-bg-grey); color: var(--mlc-navy); }
.mlc-qs__item { display: flex; align-items: center; gap: 12px; min-height: 68px; box-sizing: border-box; padding: 8px 16px; color: var(--mlc-ink); text-decoration: none; }
.mlc-qs__img { flex: 0 0 52px; width: 52px; height: 52px; border: 1px solid var(--mlc-line); border-radius: 10px; background: var(--mlc-bg-grey); object-fit: cover; }
.mlc-qs__info { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.mlc-qs__name { font-size: 14px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mlc-qs mark { padding: 0 1px; border-radius: 3px; background: var(--mlc-bg-yellow); color: var(--mlc-navy); font-weight: 700; }
.mlc-qs__chip mark { padding: 0; background: none; color: inherit; text-decoration: underline; }
.mlc-qs__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mlc-qs__price { font-size: 14px; font-weight: 700; color: var(--mlc-navy); }
.mlc-qs__oos { padding: 1px 8px; border-radius: 999px; background: #EEF1F6; color: var(--mlc-muted); font-size: 12px; font-weight: 700; }
.mlc-qs__item.is-oos .mlc-qs__img { opacity: .6; }
.mlc-qs__item.is-oos .mlc-qs__name, .mlc-qs__item.is-oos .mlc-qs__price { color: var(--mlc-muted); }
.mlc-qs__opt:hover, .mlc-qs__opt.is-active { background-color: var(--mlc-bg-blue); }
.mlc-qs__chip.mlc-qs__opt:hover, .mlc-qs__chip.mlc-qs__opt.is-active { background-color: #D6E1F5; }
.mlc-qs__chip--recent.mlc-qs__opt:hover, .mlc-qs__chip--recent.mlc-qs__opt.is-active { background-color: transparent; text-decoration: underline; }
.mlc-qs__opt.is-active { outline: 2px solid var(--mlc-navy); outline-offset: -2px; }
.mlc-qs__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--mlc-line); background: var(--mlc-bg-grey); }
.mlc-qs__foot[hidden] { display: none; }
.mlc-qs__all { flex: 1 1 auto; min-width: 0; padding: 14px 16px; color: var(--mlc-navy); font-size: 14px; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.mlc-qs__keys { flex: 0 0 auto; padding-right: 16px; font-size: 12px; font-weight: 600; color: var(--mlc-muted); }
.mlc-qs__msg { margin: 0; padding: 16px; font-size: 14px; color: var(--mlc-muted); }
.mlc-qs__none { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 24px 20px; text-align: center; }
.mlc-qs__none p { margin: 0; }
.mlc-qs__none-title { font-size: 17px; font-weight: 700; color: var(--mlc-navy); overflow-wrap: anywhere; }
.mlc-qs__none-text { font-size: 14px; line-height: 1.5; color: var(--mlc-muted); }
.mlc-qs__none .mlc-qs__chips { justify-content: center; padding: 0; }
.mlc-qs__zalo {
	display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; max-width: 360px; min-height: 48px; margin-top: 6px;
	border: 2px solid var(--mlc-navy); border-radius: 999px; color: var(--mlc-navy); font-size: 15px; font-weight: 700; text-decoration: none;
}
.mlc-qs__zalo.mlc-qs__opt:hover, .mlc-qs__zalo.mlc-qs__opt.is-active { background: var(--mlc-bg-blue); }
@media (min-width: 850px) {
	body.mlc-qs-open .mlc-qs-scrim { display: block; }
}
@media (max-width: 849px) {
	.mlc-qs { left: 0; right: 0; bottom: 0; max-height: none; border-width: 1px 0 0; border-radius: 0; box-shadow: none; }
	.mlc-qs__chip, .mlc-qs__recent { min-height: 44px; }
	.mlc-qs__chip--recent { min-height: 42px; } /* + the 1px border of .mlc-qs__recent = 44px */
	.mlc-qs__forget { width: 44px; height: 44px; margin: -1px -4px -1px 0; }
	.mlc-qs__clear { min-height: 44px; }
	.mlc-qs__item { min-height: 76px; border-bottom: 1px solid var(--mlc-line); }
	.mlc-qs__img { flex-basis: 56px; width: 56px; height: 56px; }
	.mlc-qs__keys { display: none; }
	.mlc-qs__foot { padding: 12px 16px calc(16px + env(safe-area-inset-bottom)); background: #fff; }
	.mlc-qs__all { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 16px; border-radius: 999px; background: var(--mlc-navy); color: #fff; font-size: 15px; text-align: center; }
	.mlc-qs__all.mlc-qs__opt:hover, .mlc-qs__all.mlc-qs__opt.is-active { background: var(--mlc-navy-dark); outline-color: var(--mlc-bg-yellow); }
	/* Lock the page behind the sheet on <html> only: overflow on <body> would make it a scroll box of its own, the sticky
	   header would fall back to the top of the page (off screen when scrolled) and the sheet would cover the search box. */
	html.mlc-qs-lock { overflow: hidden; }
	/* "Hủy" next to the open search box: the way out after tapping the box by mistake. */
	form.is-qs-open .mlc-qs__cancel {
		display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; min-width: 52px; height: 44px; margin: 0 0 0 4px; padding: 0 6px;
		border: 0; border-radius: var(--mlc-r-sm); background: none; box-shadow: none; color: var(--mlc-navy); font: 700 15px/1 var(--mlc-font); text-transform: none; letter-spacing: 0; cursor: pointer;
	}
	form.is-qs-open .mlc-qs__cancel:focus-visible { outline: 3px solid var(--mlc-navy); outline-offset: 2px; }
	body.mlc-qs-open .mlc-bottom-nav { display: none !important; }
}
