/* =====================================================================
   Marketingseotop.com theme – CSS
   Lưới kiểu Flatsome: .mst-row > .mst-col.large-N.medium-N.small-N
   ===================================================================== */
:root {
	--mst-red: #e3242b; --mst-red-dark: #b8151b; --mst-ink: #0f172a; --mst-ink-2: #334155; --mst-muted: #64748b;
	--mst-line: #e2e8f0; --mst-soft: #f6f7fb; --mst-amber: #f59e0b; --mst-green: #16a34a; --mst-blue: #2563eb; --mst-purple: #7c3aed;
	--mst-radius: 14px; --mst-gap: 20px; --mst-container: 1200px;
	--mst-shadow: 0 1px 2px rgba(15,23,42,.04), 0 8px 24px -12px rgba(15,23,42,.18);
	--mst-shadow-lg: 0 20px 50px -20px rgba(15,23,42,.35);
}
body.mst-theme { font-family: Roboto, "Helvetica Neue", -apple-system, system-ui, "Segoe UI", sans-serif; color: var(--mst-ink); background: #fff; -webkit-font-smoothing: antialiased; }
body.mst-noscroll { overflow: hidden; }
.mst-theme .mst-header *, .mst-theme .mst-main *, .mst-theme .mst-footer *, .mst-theme .mst-mobile * { box-sizing: border-box; }
.mst-main a, .mst-header a, .mst-footer a, .mst-mobile a { text-decoration: none; color: inherit; transition: color .18s; }
.mst-main h1, .mst-main h2, .mst-main h3, .mst-main h4, .mst-main p, .mst-main ul, .mst-footer h4, .mst-footer p, .mst-footer ul { margin: 0; padding: 0; }
.mst-main ul, .mst-footer ul, .mst-header ul { list-style: none; }
.mst-main img, .mst-footer img, .mst-header img { max-width: 100%; height: auto; display: block; }
.mst-main button, .mst-header button { font: inherit; cursor: pointer; }
.mst-container { width: 100%; max-width: var(--mst-container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .mst-container { padding: 0 24px; } }
.mst-ico { width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -.15em; }
.mst-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mst-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; display: inline-block; }
.mst-gap { width: 100%; }
.mst-hide-sm { } .mst-show-sm { display: none !important; }
@media (max-width: 767px) { .mst-hide-sm { display: none !important; } .mst-show-sm { display: inline-flex !important; } }

/* ---------- Lưới Flatsome ---------- */
.mst-row { display: flex; flex-wrap: wrap; margin: 0 calc(var(--mst-gap) / -2); }
.mst-row--center { justify-content: center; }
.mst-col { padding: 0 calc(var(--mst-gap) / 2); width: 100%; min-width: 0; }
.mst-col__inner { height: 100%; }
.text-center { text-align: center; } .text-right { text-align: right; }
@media (max-width: 767px) { .small-1{width:8.333%} .small-2{width:16.666%} .small-3{width:25%} .small-4{width:33.333%} .small-5{width:41.666%} .small-6{width:50%} .small-7{width:58.333%} .small-8{width:66.666%} .small-9{width:75%} .small-10{width:83.333%} .small-11{width:91.666%} .small-12{width:100%} .mst-col + .mst-col { margin-top: 16px; } .small-6 + .small-6, .small-4 + .small-4, .small-3 + .small-3 { margin-top: 0; } }
@media (min-width: 768px) and (max-width: 991px) { .medium-1{width:8.333%} .medium-2{width:16.666%} .medium-3{width:25%} .medium-4{width:33.333%} .medium-5{width:41.666%} .medium-6{width:50%} .medium-7{width:58.333%} .medium-8{width:66.666%} .medium-9{width:75%} .medium-10{width:83.333%} .medium-11{width:91.666%} .medium-12{width:100%} }
@media (min-width: 992px) { .large-1{width:8.333%} .large-2{width:16.666%} .large-3{width:25%} .large-4{width:33.333%} .large-5{width:41.666%} .large-6{width:50%} .large-7{width:58.333%} .large-8{width:66.666%} .large-9{width:75%} .large-10{width:83.333%} .large-11{width:91.666%} .large-12{width:100%} }

/* ---------- Section & tiêu đề ---------- */
.mst-section { padding: 56px 0; position: relative; }
.mst-section--dark { color: #fff; background: var(--mst-ink); }
.mst-section--quick { margin-top: -36px; z-index: 2; }
.mst-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.mst-section__head--center { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.mst-section__title { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: inherit; }
.mst-section__sub { margin-top: 6px; color: var(--mst-muted); font-size: 15px; max-width: 640px; }
.mst-section--dark .mst-section__sub { color: rgba(255,255,255,.7); }
.mst-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--mst-red); margin-bottom: 8px; }
.mst-eyebrow--light { color: #fca5a5; }
.mst-section--dark .mst-eyebrow { color: #fca5a5; }
.mst-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14.5px; color: var(--mst-red); white-space: nowrap; }
.mst-link .mst-ico { transition: transform .18s; } .mst-link:hover .mst-ico { transform: translateX(3px); }

/* ---------- Nút ---------- */
.mst-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; border: 1.5px solid transparent; transition: all .18s; line-height: 1.2; cursor: pointer; }
.mst-btn--primary { background: var(--mst-red); color: #fff; box-shadow: 0 8px 20px -8px rgba(227,36,43,.6); }
.mst-btn--primary:hover { background: var(--mst-red-dark); color: #fff; transform: translateY(-1px); }
.mst-btn--outline { border-color: var(--mst-line); color: var(--mst-ink); background: #fff; } .mst-btn--outline:hover { border-color: var(--mst-ink); }
.mst-btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; } .mst-btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.mst-btn--white { background: #fff; color: var(--mst-red); } .mst-btn--white:hover { background: #fff1f2; color: var(--mst-red-dark); }
.mst-btn--block { width: 100%; } .mst-btn--sm { padding: 8px 14px; font-size: 13.5px; }

/* ---------- Badge ---------- */
.mst-badge { display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1; }
.mst-badge--sale { background: var(--mst-red); color: #fff; } .mst-badge--lg { font-size: 14px; padding: 6px 12px; }
.mst-badge--cat { background: rgba(15,23,42,.78); color: #fff; font-weight: 600; }

/* =====================================================================
   HEADER
   ===================================================================== */
.mst-header { position: sticky; top: 0; z-index: 900; background: #fff; box-shadow: 0 1px 0 var(--mst-line); transition: transform .25s, box-shadow .25s; }
.mst-header.is-stuck { box-shadow: 0 6px 24px -12px rgba(15,23,42,.25); }
.mst-header.is-hidden { transform: translateY(-100%); }
.mst-topbar { background: var(--mst-ink); color: rgba(255,255,255,.85); font-size: 13px; }
.mst-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.mst-topbar__left, .mst-topbar__right { display: flex; align-items: center; gap: 18px; }
.mst-topbar a { display: inline-flex; align-items: center; gap: 6px; color: rgba(255,255,255,.85); white-space: nowrap; } .mst-topbar a:hover { color: #fff; }
.mst-topbar__event { max-width: 46vw; overflow: hidden; text-overflow: ellipsis; }
.mst-topbar b { color: #fff; }
.mst-topbar__event { background: rgba(227,36,43,.25); border: 1px solid rgba(252,165,165,.35); padding: 3px 10px; border-radius: 999px; }
.mst-topbar__menu { display: flex; gap: 14px; margin: 0; padding: 0; }
.mst-header__main { padding: 12px 0; }
.mst-header__in { display: flex; align-items: center; gap: 20px; }
.mst-burger { display: none; border: 1px solid var(--mst-line); background: #fff; width: 42px; height: 42px; border-radius: 10px; align-items: center; justify-content: center; font-size: 22px; color: var(--mst-ink); }
.mst-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.mst-logo img { height: 40px; width: auto; } .mst-logo__text { font-size: 24px; font-weight: 800; letter-spacing: -.02em; color: var(--mst-red); }
.mst-header__search { flex: 1 1 auto; min-width: 0; max-width: 640px; }
.mst-header__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.mst-header__btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; border: 1px solid var(--mst-line); background: #fff; color: var(--mst-ink); white-space: nowrap; }
.mst-header__btn .mst-ico { width: 18px; height: 18px; }
.mst-header__btn--coupon { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.mst-header__btn--phone { background: var(--mst-red); border-color: var(--mst-red); color: #fff; }
.mst-header__btn--phone:hover { background: var(--mst-red-dark); color: #fff; }
.mst-header__btn--search { width: 42px; height: 42px; padding: 0; justify-content: center; }
.mst-nav { border-top: 1px solid var(--mst-line); }
.mst-nav__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mst-menu { display: flex; gap: 2px; margin: 0; padding: 0; flex-wrap: wrap; }
.mst-menu > li { position: relative; }
.mst-menu > li > a { display: block; padding: 13px 14px; font-weight: 600; font-size: 14.5px; color: var(--mst-ink-2); border-bottom: 2px solid transparent; }
.mst-menu > li > a:hover, .mst-menu > li.current-menu-item > a { color: var(--mst-red); border-bottom-color: var(--mst-red); }
.mst-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; border: 1px solid var(--mst-line); border-radius: 12px; box-shadow: var(--mst-shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; z-index: 50; margin: 0; }
.mst-menu > li:hover > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mst-menu .sub-menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--mst-ink-2); }
.mst-menu .sub-menu a:hover { background: var(--mst-soft); color: var(--mst-red); }
.mst-nav__hot { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--mst-red); white-space: nowrap; }
@media (max-width: 991px) {
	.mst-burger { display: inline-flex; }
	.mst-nav, .mst-topbar__right .mst-topbar__menu, .mst-header__btn--coupon span, .mst-header__btn--phone span { display: none; }
	.mst-header__btn { padding: 0; width: 42px; height: 42px; justify-content: center; }
	.mst-header__search { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 10px 16px 14px; box-shadow: 0 10px 24px -12px rgba(15,23,42,.3); max-width: none; }
	.mst-header__search.is-open { display: block; }
	.mst-header__main { position: relative; }
	.mst-topbar__in { justify-content: center; } .mst-topbar__left { gap: 12px; }
}
@media (max-width: 479px) { .mst-topbar__event { display: none; } .mst-logo img { height: 32px; } }

/* Menu mobile */
.mst-mobile { position: fixed; inset: 0; z-index: 1000; }
.mst-mobile[hidden] { display: none; }
.mst-mobile__backdrop { position: absolute; inset: 0; background: rgba(15,23,42,.55); border: 0; }
.mst-mobile__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(86vw, 360px); background: #fff; z-index: 1; overflow-y: auto; padding: 16px; animation: mst-slide .25s ease; display: flex; flex-direction: column; gap: 16px; }
@keyframes mst-slide { from { transform: translateX(-100%); } to { transform: none; } }
.mst-mobile__head { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 18px; color: var(--mst-red); }
.mst-mobile__head button { border: 0; background: var(--mst-soft); width: 36px; height: 36px; border-radius: 10px; font-size: 20px; }
.mst-mobile__menu { margin: 0; padding: 0; }
.mst-mobile__menu li { position: relative; border-bottom: 1px solid var(--mst-line); }
.mst-mobile__menu a { display: block; padding: 12px 40px 12px 4px; font-weight: 600; font-size: 15px; }
.mst-mobile__sub { position: absolute; right: 0; top: 6px; width: 36px; height: 36px; border: 0; background: transparent; font-size: 20px; color: var(--mst-muted); }
.mst-mobile__menu .sub-menu { display: none; padding-left: 14px; margin: 0; }
.mst-mobile__menu li.is-open > .sub-menu { display: block; }
.mst-mobile__menu .sub-menu a { font-weight: 500; font-size: 14px; }

/* Liên hệ nhanh */
.mst-contact { display: flex; gap: 10px; flex-wrap: wrap; }
.mst-contact--stack { flex-direction: column; }
.mst-contact__phone, .mst-contact__zalo { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.mst-contact__phone { background: var(--mst-red); color: #fff; } .mst-contact__zalo { background: #0068ff; color: #fff; }

/* =====================================================================
   TÌM KIẾM
   ===================================================================== */
.mst-search { position: relative; width: 100%; }
.mst-search__box { display: flex; align-items: stretch; background: #fff; border-radius: 14px; padding: 5px; border: 1.5px solid var(--mst-line); transition: box-shadow .2s, border-color .2s; }
.mst-search__box:focus-within { border-color: var(--mst-red); box-shadow: 0 0 0 3px rgba(227,36,43,.15); }
.mst-search--lg .mst-search__box { border-radius: 16px; padding: 6px; border-color: transparent; box-shadow: 0 10px 40px -10px rgba(0,0,0,.5); }
.mst-search__type { display: flex; align-items: center; border-right: 1px solid var(--mst-line); padding-right: 4px; margin-right: 4px; }
.mst-search__type select { appearance: none; -webkit-appearance: none; border: 0; background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>") no-repeat right 8px center; padding: 8px 26px 8px 12px; font-size: 13.5px; font-weight: 600; color: var(--mst-ink-2); border-radius: 10px; min-height: 40px; cursor: pointer; }
.mst-search--lg .mst-search__type select { min-height: 46px; font-size: 14px; }
.mst-search__type select:focus { outline: none; background-color: var(--mst-soft); }
.mst-search__input { flex: 1 1 0%; width: 0; min-width: 0; border: 0; background: transparent; padding: 8px 10px; font-size: 15px; color: var(--mst-ink); min-height: 40px; }
.mst-search--lg .mst-search__input { min-height: 46px; font-size: 16px; }
.mst-search__input:focus { outline: none; } .mst-search__input::placeholder { color: #94a3b8; } .mst-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.mst-search__btn { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--mst-red); color: #fff; font-weight: 700; font-size: 14.5px; padding: 0 16px; border-radius: 10px; }
.mst-search__btn:hover { background: var(--mst-red-dark); } .mst-search__btn .mst-ico { width: 18px; height: 18px; }
@media (max-width: 479px) { .mst-search__btn span { display: none; } .mst-search__btn { padding: 0 13px; } .mst-search__type select { padding-left: 8px; font-size: 12.5px; } }
.mst-suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; color: var(--mst-ink); border-radius: 14px; box-shadow: var(--mst-shadow-lg); border: 1px solid var(--mst-line); z-index: 60; overflow: hidden auto; max-height: 70vh; }
.mst-suggest[hidden] { display: none; }
.mst-suggest__group { padding: 10px 8px 6px; } .mst-suggest__group + .mst-suggest__group { border-top: 1px solid var(--mst-line); }
.mst-suggest__label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--mst-muted); padding: 2px 10px 6px; }
.mst-suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; }
.mst-suggest__item:hover, .mst-suggest__item.is-focus { background: var(--mst-soft); }
.mst-suggest__thumb { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--mst-soft); flex: 0 0 auto; }
.mst-suggest__thumb--ico { display: flex; align-items: center; justify-content: center; font-size: 20px; }
.mst-suggest__text { min-width: 0; flex: 1; } .mst-suggest__title { display: block; font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mst-suggest__sub { font-size: 12.5px; color: var(--mst-muted); display: flex; gap: 8px; margin-top: 2px; } .mst-suggest__sub del { opacity: .6; } .mst-suggest__sub ins { text-decoration: none; color: var(--mst-red); font-weight: 700; }
.mst-suggest__all { display: block; text-align: center; padding: 12px; font-weight: 600; font-size: 14px; color: var(--mst-red); background: var(--mst-soft); }
.mst-suggest__empty { padding: 18px; text-align: center; color: var(--mst-muted); font-size: 14px; }

/* =====================================================================
   HERO
   ===================================================================== */
.mst-section--hero { padding: 56px 0 84px; background: radial-gradient(1200px 500px at 85% -10%, rgba(227,36,43,.45), transparent 60%), radial-gradient(800px 400px at -10% 110%, rgba(37,99,235,.25), transparent 60%), linear-gradient(135deg, #0b1220 0%, #111b31 55%, #0f172a 100%); overflow: hidden; }
.mst-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.mst-hero > * { min-width: 0; }
@media (min-width: 992px) { .mst-hero { grid-template-columns: minmax(0, 1.35fr) minmax(300px, .75fr); gap: 56px; } }
.mst-hero__title { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.mst-hero__title em { font-style: normal; background: linear-gradient(90deg, #ff6b6b, #ffb199); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mst-hero__sub { margin: 16px 0 26px; font-size: clamp(15px, 1.3vw, 17px); color: rgba(255,255,255,.78); max-width: 560px; }
.mst-hero .mst-search { max-width: 680px; }
.mst-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.mst-chips__label { font-size: 13px; color: rgba(255,255,255,.6); }
.mst-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,.92); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); transition: all .18s; }
.mst-chip:hover { background: rgba(255,255,255,.18); color: #fff; }
.mst-chips--dark .mst-chip { color: var(--mst-ink-2); background: #fff; border-color: var(--mst-line); }
.mst-chips--dark .mst-chip span { font-size: 11.5px; color: var(--mst-muted); background: var(--mst-soft); border-radius: 999px; padding: 1px 7px; }
.mst-chips--dark .mst-chip:hover, .mst-chips--dark .mst-chip.is-active { border-color: var(--mst-red); color: var(--mst-red); }
.mst-stats { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.mst-stats li { display: flex; flex-direction: column; } .mst-stats strong { font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fff; } .mst-stats span { font-size: 13px; color: rgba(255,255,255,.62); }
.mst-deal-card { background: #fff; color: var(--mst-ink); border-radius: 20px; padding: 18px; box-shadow: var(--mst-shadow-lg); }
.mst-deal-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.mst-deal-card__label { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--mst-red); }
.mst-deal-card__media { display: block; aspect-ratio: 1/1; border-radius: 14px; overflow: hidden; background: var(--mst-soft); }
.mst-deal-card__media img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; } .mst-deal-card:hover .mst-deal-card__media img { transform: scale(1.04); }
.mst-deal-card__title { margin-top: 14px; font-size: 15.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mst-deal-card__price { margin: 10px 0 14px; }

/* =====================================================================
   LỐI TẮT / DANH MỤC / CỬA HÀNG
   ===================================================================== */
.mst-quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; background: #fff; border-radius: 18px; padding: 10px; box-shadow: var(--mst-shadow-lg); border: 1px solid var(--mst-line); }
@media (min-width: 768px) { .mst-quick { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 1100px) { .mst-quick { grid-template-columns: repeat(6, 1fr); } }
.mst-quick__item { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; transition: background .18s; min-width: 0; }
.mst-quick__item:hover { background: var(--mst-soft); }
.mst-quick__item > span:last-child { min-width: 0; }
.mst-quick__item strong { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mst-quick__item small { display: block; font-size: 12px; color: var(--mst-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mst-quick__ico { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; background: #eef2ff; color: #4f46e5; }
.mst-quick__ico .mst-ico { width: 20px; height: 20px; }
.mst-quick__ico--red { background: #fee2e2; color: var(--mst-red); } .mst-quick__ico--amber { background: #fef3c7; color: #b45309; } .mst-quick__ico--blue { background: #dbeafe; color: var(--mst-blue); } .mst-quick__ico--green { background: #dcfce7; color: var(--mst-green); } .mst-quick__ico--purple { background: #ede9fe; color: var(--mst-purple); }
@media (max-width: 599px) { .mst-quick__item { gap: 10px; padding: 10px; } .mst-quick__item strong, .mst-quick__item small { white-space: normal; line-height: 1.25; } .mst-quick__item strong { font-size: 13.5px; } .mst-quick__item small { font-size: 11.5px; } }

.mst-cols-2, .mst-cols-3, .mst-cols-4, .mst-cols-6 { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 600px) { .mst-cols-3 { grid-template-columns: repeat(3, 1fr); } .mst-cols-6 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .mst-cols-2, .mst-cols-3, .mst-cols-4, .mst-cols-6 { gap: 18px; } .mst-cols-4 { grid-template-columns: repeat(3, 1fr); } .mst-cols-6 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .mst-cols-4 { grid-template-columns: repeat(4, 1fr); } } @media (min-width: 1100px) { .mst-cols-6 { grid-template-columns: repeat(6, 1fr); } }
.mst-coupons.mst-cols-2 { grid-template-columns: 1fr; } @media (min-width: 768px) { .mst-coupons.mst-cols-2 { grid-template-columns: repeat(2, 1fr); } }

.mst-cat { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px 16px; border-radius: var(--mst-radius); background: #fff; border: 1px solid var(--mst-line); transition: all .2s; }
.mst-cat:hover { border-color: transparent; box-shadow: var(--mst-shadow); transform: translateY(-2px); }
.mst-cat__ico { width: 44px; height: 44px; border-radius: 12px; background: var(--mst-soft); color: var(--mst-ink-2); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 8px; transition: all .2s; }
.mst-cat__ico .mst-ico { width: 22px; height: 22px; } .mst-cat:hover .mst-cat__ico { background: var(--mst-red); color: #fff; }
.mst-cat__name { font-size: 14.5px; font-weight: 600; line-height: 1.3; } .mst-cat__count { font-size: 12.5px; color: var(--mst-muted); }

.mst-stores { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .mst-stores { grid-template-columns: repeat(3, 1fr); } } @media (min-width: 900px) { .mst-stores { grid-template-columns: repeat(5, 1fr); } }
.mst-store { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--mst-line); background: #fff; transition: all .2s; min-width: 0; }
.mst-store:hover { box-shadow: var(--mst-shadow); border-color: transparent; transform: translateY(-2px); }
.mst-store__logo { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 18px; color: #fff; background: var(--store, var(--mst-ink)); flex: 0 0 auto; }
.mst-store__logo .mst-ico { width: 20px; height: 20px; }
.mst-store__name { display: block; font-weight: 700; font-size: 14.5px; } .mst-store__count { display: block; font-size: 12.5px; color: var(--mst-muted); }
.mst-store > span:not(.mst-store__logo) { min-width: 0; } .mst-store__name, .mst-store__count { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mst-store--all .mst-store__logo { background: var(--mst-red); }

/* =====================================================================
   CARD SẢN PHẨM / BÀI VIẾT / COUPON
   ===================================================================== */
.mst-pgrid { }
@media (max-width: 767px) { .mst-pgrid--scroll { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -16px; padding: 4px 16px 12px; scrollbar-width: none; } .mst-pgrid--scroll::-webkit-scrollbar { display: none; } .mst-pgrid--scroll .mst-pcard { flex: 0 0 70%; max-width: 260px; scroll-snap-align: start; } }
.mst-pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mst-line); border-radius: var(--mst-radius); overflow: hidden; transition: all .2s; }
.mst-pcard:hover { box-shadow: var(--mst-shadow); transform: translateY(-3px); border-color: transparent; }
.mst-pcard__media { position: relative; display: block; aspect-ratio: 1/1; background: #fff; overflow: hidden; }
.mst-pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .mst-pcard:hover .mst-pcard__media img { transform: scale(1.05); }
.mst-pcard__media .mst-badge { position: absolute; top: 10px; left: 10px; box-shadow: 0 4px 12px -4px rgba(227,36,43,.6); }
.mst-pcard__body { display: flex; flex-direction: column; gap: 8px; padding: 14px; flex: 1; }
.mst-pcard__title { font-size: 14px; font-weight: 500; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.mst-pcard__title a:hover, .mst-post__title a:hover, .mst-coupon__title a:hover, .mst-deal-card__title a:hover { color: var(--mst-red); }
.mst-pcard__meta { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; font-size: 12.5px; color: var(--mst-muted); padding-top: 8px; border-top: 1px dashed var(--mst-line); }
.mst-pcard__rating { display: inline-flex; align-items: center; gap: 4px; color: #b45309; font-weight: 600; } .mst-pcard__rating .mst-ico { fill: #f59e0b; color: #f59e0b; }
.mst-pcard__views { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.mst-pcard__cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--mst-red); white-space: nowrap; }
.mst-main .price, .mst-deal-card .price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-size: 16px; font-weight: 700; color: var(--mst-red); line-height: 1.2; }
.mst-main .price del, .mst-deal-card .price del { font-size: 13px; font-weight: 400; color: var(--mst-muted); } .mst-main .price del .amount { color: var(--mst-muted); }
.mst-main .price ins { text-decoration: none; } .mst-main .price .amount { color: var(--mst-red); }
.mst-main .price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mst-deal-card .price { font-size: 22px; }

.mst-tabs-wrap { } .mst-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--mst-soft); border-radius: 999px; border: 1px solid var(--mst-line); margin-bottom: 22px; }
.mst-tab { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--mst-muted); transition: all .18s; }
.mst-tab.is-active { background: #fff; color: var(--mst-ink); box-shadow: 0 1px 3px rgba(15,23,42,.12); } .mst-panel[hidden] { display: none; }

.mst-postgrid { }
.mst-post { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--mst-line); border-radius: var(--mst-radius); overflow: hidden; transition: all .2s; }
.mst-post:hover { box-shadow: var(--mst-shadow); border-color: transparent; }
.mst-post__media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--mst-soft); }
.mst-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; } .mst-post:hover .mst-post__media img { transform: scale(1.05); }
.mst-post__media .mst-badge--cat { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mst-post__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #fff; text-align: center; padding: 10px; font-size: 13px; font-weight: 600; }
.mst-post__ph .mst-ico { width: 32px; height: 32px; opacity: .9; }
.mst-ph-0 { background: linear-gradient(135deg, #e3242b, #ff7a59); } .mst-ph-1 { background: linear-gradient(135deg, #1e3a8a, #3b82f6); } .mst-ph-2 { background: linear-gradient(135deg, #065f46, #10b981); } .mst-ph-3 { background: linear-gradient(135deg, #6d28d9, #a78bfa); } .mst-ph-4 { background: linear-gradient(135deg, #92400e, #f59e0b); }
.mst-post__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.mst-post__title { font-size: 15.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mst-post__excerpt { font-size: 14px; color: var(--mst-ink-2); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mst-post__meta { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--mst-muted); } .mst-post__meta .mst-ico { width: 13px; height: 13px; }
.mst-post--list { flex-direction: row; gap: 12px; }
.mst-post--list .mst-post__media { flex: 0 0 120px; aspect-ratio: 4/3; } .mst-post--list .mst-post__media .mst-badge--cat { display: none; }
.mst-post--list .mst-post__body { padding: 12px 14px 12px 0; } .mst-post--list .mst-post__title { font-size: 14.5px; } .mst-post--list .mst-post__ph { font-size: 12px; }
.mst-post--featured .mst-post__title { font-size: clamp(18px, 1.8vw, 22px); -webkit-line-clamp: 3; } .mst-post--featured .mst-post__excerpt { -webkit-line-clamp: 3; font-size: 14.5px; } .mst-post--featured .mst-post__body { padding: 18px 20px 20px; } .mst-post--featured .mst-post__ph { font-size: 16px; } .mst-post--featured .mst-post__ph .mst-ico { width: 44px; height: 44px; }
.mst-posts-featured { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 992px) { .mst-posts-featured { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; } }
.mst-posts-featured__list { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) and (max-width: 991px) { .mst-posts-featured__list { grid-template-columns: 1fr 1fr; } }

/* Coupon */
.mst-coupon { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--mst-line); border-radius: var(--mst-radius); overflow: hidden; transition: all .2s; min-width: 0; }
.mst-coupon:hover { box-shadow: var(--mst-shadow); border-color: transparent; }
.mst-coupon__left { flex: 0 0 96px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 8px; background: linear-gradient(160deg, var(--mst-red), #ff6b6b); color: #fff; position: relative; text-align: center; }
.mst-coupon__left::after { content: ""; position: absolute; right: -1px; top: 0; bottom: 0; width: 10px; background: radial-gradient(circle at 10px 6px, transparent 5px, #fff 5.5px); background-size: 10px 12px; }
.mst-coupon__badge { font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.mst-coupon__store { font-size: 11px; font-weight: 600; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.mst-coupon__body { flex: 1 1 auto; min-width: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.mst-coupon__title { font-size: 14.5px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mst-coupon__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--mst-muted); } .mst-coupon__meta span { display: inline-flex; align-items: center; gap: 4px; }
.mst-coupon__ok { color: var(--mst-green); font-weight: 600; }
.mst-coupon__action { flex: 0 0 auto; display: flex; align-items: center; padding: 12px 12px 12px 0; }
.mst-coupon__btn { display: inline-flex; align-items: center; gap: 0; border: 1.5px dashed var(--mst-red); background: #fff5f5; color: var(--mst-red); border-radius: 10px; padding: 0; overflow: hidden; font-weight: 700; font-size: 13px; cursor: pointer; transition: all .18s; }
.mst-coupon__btn-label { display: inline-flex; align-items: center; gap: 5px; padding: 9px 10px; background: var(--mst-red); color: #fff; }
.mst-coupon__btn-code { padding: 9px 10px; font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .04em; }
.mst-coupon__btn.is-copied { border-style: solid; } .mst-coupon__btn.is-copied .mst-coupon__btn-label { background: var(--mst-green); }
.mst-coupon__btn--deal { padding: 9px 14px; gap: 6px; border-style: solid; background: var(--mst-red); color: #fff; } .mst-coupon__btn--deal:hover { background: var(--mst-red-dark); color: #fff; }
@media (max-width: 479px) { .mst-coupon { flex-wrap: wrap; } .mst-coupon__left { flex-basis: 76px; } .mst-coupon__action { width: 100%; padding: 0 12px 12px 88px; } .mst-coupon__btn { width: 100%; justify-content: space-between; } }
#mst-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--mst-ink); color: #fff; padding: 12px 18px; border-radius: 12px; font-size: 14px; font-weight: 500; box-shadow: var(--mst-shadow-lg); opacity: 0; pointer-events: none; transition: all .25s; z-index: 1100; max-width: calc(100vw - 32px); text-align: center; }
#mst-toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* =====================================================================
   LỊCH SALE / VÌ SAO / DỊCH VỤ / CTA
   ===================================================================== */
.mst-events { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) { .mst-events { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; } }
.mst-events__next { background: linear-gradient(135deg, var(--mst-red), #9f1239); border-radius: 20px; padding: 28px; color: #fff; box-shadow: var(--mst-shadow-lg); }
.mst-events__next h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; letter-spacing: -.01em; margin-top: 4px; }
.mst-events__next p { color: rgba(255,255,255,.85); margin-top: 4px; text-transform: capitalize; }
.mst-countdown { display: flex; gap: 10px; margin: 18px 0 20px; }
.mst-countdown div { flex: 1; background: rgba(255,255,255,.14); border-radius: 12px; padding: 10px 6px; text-align: center; }
.mst-countdown b { display: block; font-size: 26px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; } .mst-countdown span { font-size: 11.5px; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.mst-events__list { display: flex; flex-direction: column; gap: 10px; }
.mst-events__list li { display: flex; align-items: center; gap: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 10px 14px; }
.mst-events__date { width: 52px; height: 52px; border-radius: 12px; background: #fff; color: var(--mst-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; flex: 0 0 auto; }
.mst-events__date b { font-size: 20px; font-weight: 800; } .mst-events__date small { font-size: 11px; color: var(--mst-muted); margin-top: 2px; }
.mst-events__name { flex: 1; display: flex; flex-direction: column; font-weight: 600; font-size: 15px; } .mst-events__name small { font-weight: 400; font-size: 12.5px; color: rgba(255,255,255,.65); }
.mst-events__list li > a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; color: #fff; } .mst-events__list li > a:hover { background: var(--mst-red); }

.mst-why, .mst-services { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 600px) { .mst-why, .mst-services { grid-template-columns: 1fr 1fr; } } @media (min-width: 1024px) { .mst-why { grid-template-columns: repeat(4, 1fr); gap: 18px; } .mst-services.mst-cols-3 { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.mst-why__item, .mst-service { padding: 24px 22px; border-radius: var(--mst-radius); background: #fff; border: 1px solid var(--mst-line); transition: all .2s; display: block; }
.mst-why__item:hover, .mst-service:hover { box-shadow: var(--mst-shadow); border-color: transparent; transform: translateY(-2px); }
.mst-why__ico, .mst-service__ico { width: 48px; height: 48px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; background: #fee2e2; color: var(--mst-red); margin-bottom: 14px; }
.mst-service__ico { background: #dbeafe; color: var(--mst-blue); }
.mst-why__ico .mst-ico, .mst-service__ico .mst-ico { width: 22px; height: 22px; }
.mst-why__item h3, .mst-service h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 6px; } .mst-why__item p, .mst-service p { font-size: 14px; color: var(--mst-muted); line-height: 1.6; }
.mst-services__contact { text-align: center; margin-top: 22px; font-size: 15px; color: var(--mst-ink-2); } .mst-services__contact a { color: var(--mst-red); font-weight: 700; }

.mst-cta { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; justify-content: space-between; padding: 36px 28px; border-radius: 22px; color: #fff; background: radial-gradient(600px 300px at 100% 0%, rgba(255,255,255,.12), transparent 60%), linear-gradient(135deg, var(--mst-red), #9f1239); box-shadow: var(--mst-shadow-lg); }
@media (min-width: 768px) { .mst-cta { flex-direction: row; align-items: center; padding: 40px 44px; } }
.mst-cta h2 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; color: #fff; } .mst-cta p { margin-top: 6px; color: rgba(255,255,255,.85); font-size: 15px; }
.mst-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* =====================================================================
   ARCHIVE / SEARCH / 404
   ===================================================================== */
.mst-archive__head { background: var(--mst-soft); padding: 32px 0; border-bottom: 1px solid var(--mst-line); }
.mst-archive__title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; letter-spacing: -.01em; }
.mst-archive__desc { margin-top: 8px; color: var(--mst-ink-2); max-width: 760px; font-size: 15px; } .mst-archive__desc p { margin: 0; }
.mst-archive__meta { margin-top: 8px; font-size: 13px; color: var(--mst-muted); }
.mst-archive__search { max-width: 640px; margin-top: 18px; } .mst-archive__head .mst-chips { margin-top: 14px; }
.mst-archive__body { padding: 36px 0 56px; } .mst-archive__group { font-size: 20px; font-weight: 700; margin: 28px 0 16px; } .mst-archive__group:first-child { margin-top: 0; }
.mst-breadcrumb { font-size: 13px; color: var(--mst-muted); margin-bottom: 10px; } .mst-breadcrumb a { color: var(--mst-muted); } .mst-breadcrumb a:hover { color: var(--mst-red); }
.mst-pagination { margin-top: 36px; text-align: center; }
.mst-pagination .nav-links { display: inline-flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.mst-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--mst-line); background: #fff; font-weight: 600; font-size: 14px; color: var(--mst-ink-2); }
.mst-pagination .page-numbers.current, .mst-pagination .page-numbers:hover { background: var(--mst-red); border-color: var(--mst-red); color: #fff; }
.mst-empty { text-align: center; max-width: 760px; margin: 0 auto; } .mst-empty h1, .mst-empty h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 8px; } .mst-empty p { color: var(--mst-muted); margin-bottom: 20px; }
.mst-empty .mst-search { text-align: left; } .mst-empty .mst-cats { text-align: left; }

/* =====================================================================
   FOOTER & NÚT NỔI
   ===================================================================== */
.mst-footer { background: #0b1220; color: rgba(255,255,255,.75); margin-top: 0; font-size: 14px; }
.mst-footer__widgets { border-bottom: 1px solid rgba(255,255,255,.08); padding: 36px 0 20px; }
.mst-footer__cols { padding: 48px 0 28px; }
.mst-footer__cols .mst-col { margin-bottom: 24px; }
.mst-footer h4 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.mst-footer ul li { margin-bottom: 8px; } .mst-footer a:hover { color: #fff; }
.mst-footer__logo img { height: 36px; width: auto; filter: brightness(0) invert(1); margin-bottom: 14px; }
.mst-footer__about { line-height: 1.65; margin-bottom: 16px; }
.mst-footer__contact li { display: flex; align-items: center; gap: 8px; } .mst-footer__contact .mst-ico { color: #fca5a5; }
.mst-footer__social { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.mst-footer__social a { padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.15); font-size: 13px; font-weight: 600; color: #fff; } .mst-footer__social a:hover { background: var(--mst-red); border-color: var(--mst-red); }
.mst-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 0; font-size: 13px; }
.mst-footer__bottom-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 20px; }
.mst-footer__bottom a { color: #fff; font-weight: 600; } .mst-footer__disclosure { color: rgba(255,255,255,.5); font-size: 12px; }
.mst-float { position: fixed; right: 16px; bottom: 80px; display: flex; flex-direction: column; gap: 10px; z-index: 950; }
.mst-float a { width: 52px; height: 52px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 13px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); transition: transform .18s; }
.mst-float a:hover { transform: scale(1.06); color: #fff; }
.mst-float__zalo { background: #0068ff; } .mst-float__phone { background: var(--mst-red); animation: mst-ring 2s infinite; } .mst-float__phone .mst-ico { width: 22px; height: 22px; }
@keyframes mst-ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(227,36,43,.5); } 50% { box-shadow: 0 0 0 12px rgba(227,36,43,0); } }
.mst-totop { position: fixed; right: 16px; bottom: 20px; width: 44px; height: 44px; border-radius: 12px; background: #fff; border: 1px solid var(--mst-line); display: inline-flex !important; align-items: center; justify-content: center; color: var(--mst-ink); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 940; transform: rotate(180deg); }
.mst-totop.is-show { opacity: 1; pointer-events: auto; }

/* Nội dung bài viết của Rehub: bo lại cho hợp theme */
.mst-theme .rh-container { max-width: var(--mst-container); }
@media (prefers-reduced-motion: reduce) { .mst-theme * { transition: none !important; animation: none !important; } }
