/* mayai.vn giao diện mới 02/11/2026 — bố cục + phông học quizzysocialgallery.com (Space Grotesk, chữ to
   giãn âm), MÀU theo Brand Kit SUBACO v1.1 bản "H2 giấy sáng" (anh Mừng chốt): nền giấy, nút than chì
   chữ trắng, amber làm khối tô chữ. Luật kit: amber KHÔNG làm chữ (2,3:1), chữ trên amber là than chì;
   amber đậm #B9760F chỉ chữ ≥24px hoặc ≥19px đậm; link chữ thường #9A610B.
   Tên biến giữ từ bản tím/chanh: --tim = amber nhấn, --tim-dam = chữ nhấn, --chanh = khối tô amber. */
:root {
	--den: #211F1C;
	--chu: #4A4744;
	--nhat: #6B6660;
	--vien: #E6E2DC;
	--nen: #FFFFFF; /* 03/11: anh "ưu tiên màu nền trắng" (trước là giấy #FAF8F4) */
	--nen-tim: #FFF8EC;
	--trang: #FFFFFF;
	--tim: #E49B27;
	--tim-dam: #9A610B;
	--tim-nhat: #FBF1DE;
	--chanh: #E49B27;
	--amber-dam: #B9760F;
	--tieu-de: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--than: 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--bo: 10px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 96px; }
body { margin: 0; background: var(--nen); color: var(--den); font-family: var(--than); font-size: 16px; line-height: 1.6; letter-spacing: -.004em; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
/* trang tĩnh cũ có site.css tô mọi link màu nhấn — khung mới giữ màu chữ của nó */
.m-dau a, .m-tam a, .m-chan a { color: inherit; }
.m-dau a.m-nut, .m-tam a.m-nut { color: #fff; }
img { max-width: 100%; display: block; }
.m-khung { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* ---------- thanh menu nổi ---------- */
.m-dau { position: sticky; top: 10px; z-index: 50; padding: 10px 16px 0; }
.m-dau__vien { max-width: 1040px; margin: 0 auto; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border: 1px solid var(--vien); border-radius: 999px; box-shadow: 0 1px 2px rgba(33,31,28,.06); display: flex; align-items: center; gap: 16px; padding: 7px 7px 7px 22px; }
/* logo theo kit (house of brands): MayAI dẫn đầu → vạch → "MỘT THƯƠNG HIỆU CỦA" + SUBACO cao ~50% */
.m-logo { display: flex; align-items: center; gap: 12px; line-height: 1; flex-shrink: 0; }
.m-logo b { font-family: var(--tieu-de); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.m-logo__cua { display: flex; flex-direction: column; gap: 4px; padding-left: 12px; border-left: 1px solid var(--vien); }
.m-logo__cua small { font-size: 10px; font-weight: 600; letter-spacing: 1.2px; color: #8A857F; text-transform: uppercase; }
.m-logo__cua img { height: 11px; width: auto; }
.m-menu { display: flex; gap: 22px; margin: 0 auto; font-size: 15px; font-weight: 500; white-space: nowrap; }
.m-menu a:hover, .m-menu a[aria-current] { color: var(--tim-dam); }
.m-dau__phai { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.m-gio { position: relative; font-size: 15px; font-weight: 500; white-space: nowrap; display: flex; align-items: center; gap: 6px; }
.m-gio i { font-style: normal; min-width: 20px; height: 20px; border-radius: 99px; background: var(--chanh); font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.m-nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: 8px; font-weight: 600; font-size: 16px; background: var(--den); color: #fff; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.m-nut:hover { transform: translateY(-1px); background: #3A3632; }
.m-nut--chanh { background: var(--chanh); color: var(--den); }
.m-nut--chanh:hover { background: #D18A1A; }
.m-nut--den { background: var(--den); color: #fff; }
.m-nut--den:hover { background: #3A3632; }
.m-burger { display: none; width: 44px; height: 44px; border-radius: 99px; border: 1px solid var(--vien); background: #fff; align-items: center; justify-content: center; flex-direction: column; gap: 4px; cursor: pointer; }
.m-burger span { width: 16px; height: 2px; background: var(--den); border-radius: 2px; }
.m-tam { display: none; }
.m-tam.mo { display: block; position: fixed; inset: 0; z-index: 60; background: rgba(33,31,28,.45); }
.m-tam__hop { position: absolute; top: 12px; left: 12px; right: 12px; background: #fff; border-radius: var(--bo); padding: 18px; display: grid; gap: 8px; }
.m-tam__hop a { display: flex; align-items: center; min-height: 52px; padding: 0 16px; border-radius: 8px; background: #F6F5F3; font-weight: 600; }
.m-tam__hop a.m-nut { min-height: 52px; background: var(--den); color: #fff; justify-content: center; }
.m-tam__dong { justify-self: end; width: 40px; height: 40px; border-radius: 99px; border: 1px solid var(--vien); background: #fff; font-size: 20px; cursor: pointer; }

/* ---------- mảnh dùng chung ---------- */
.m-nhan { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--vien); background: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--chu); }
.m-nhan::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--tim); }
.m-nhan--tim { background: var(--tim-nhat); border-color: #F5DCB3; color: var(--tim-dam); }
.m-h2 { font-family: var(--tieu-de); font-weight: 600; font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -.03em; margin: 18px 0 0; }
.m-to { background: var(--chanh); border-radius: 8px; padding: 0 .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.m-vien-chu { display: inline-block; border: 1.5px solid var(--den); border-radius: 999px; padding: 0 .3em .04em; }
/* biểu tượng tia sáng AI (anh chọn 02/11, thay dấu ✱) — tia lớn amber + tia nhỏ than chì */
.m-tia { display: inline-block; width: .9em; height: .9em; vertical-align: -.08em; flex-shrink: 0; }
.m-phan { padding: clamp(56px, 9vw, 104px) 0; }
.m-phan--tim { background: var(--nen-tim); }
.m-giua { text-align: center; max-width: 720px; margin: 0 auto; }
.m-mo-ta { color: var(--chu); font-size: 18px; line-height: 1.72; }

/* ---------- 1. mở đầu ---------- */
.m-mo { padding: 22px 0 0; }
.m-mo__luoi { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; align-items: stretch; }
.m-mo__the { position: relative; background: var(--nen-tim); color: var(--den); border: 1px solid #F5DCB3; border-radius: var(--bo); min-height: 520px; padding: 26px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.m-mo__the::before { content: ""; position: absolute; right: -40px; top: -50px; width: 300px; height: 300px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='%23E49B27'%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(0)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(72)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(144)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(216)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(288)'/%3E%3C/g%3E%3Ccircle cx='22' cy='26' r='3.1' fill='%23211F1C'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' fill='%23211F1C' transform='translate(40.5 10) rotate(38) scale(0.42) translate(0 11)'/%3E%3C/svg%3E") no-repeat center / contain; opacity: .9; }
.m-mo__chip { position: absolute; top: 22px; right: 22px; display: flex; gap: 8px; }
.m-mo__chip span { background: #fff; border: 1px solid var(--vien); border-radius: 99px; padding: 6px 12px; font-size: 12.5px; font-weight: 600; backdrop-filter: blur(6px); }
.m-hoi { position: relative; background: #fff; border: 1px solid var(--vien); border-radius: var(--bo); padding: 14px 16px; font-size: 14.5px; max-width: 86%; backdrop-filter: blur(8px); }
.m-hoi + .m-hoi { margin-top: 10px; align-self: flex-end; background: var(--den); color: #fff; border: 0; }
.m-hoi small { display: block; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.m-mo__phai { display: flex; flex-direction: column; justify-content: center; padding: 8px 0; }
.m-mo__phai > .m-nhan { align-self: flex-start; }
.m-mo__chu { margin: 18px 0 24px; display: grid; gap: 10px; font-family: var(--tieu-de); font-weight: 500; font-size: clamp(40px, 6vw, 70px); line-height: .95; letter-spacing: -.035em; text-transform: uppercase; }
.m-mo__dong { display: flex; align-items: center; gap: 12px; }
.m-mo__dong span { border: 1.5px solid var(--den); border-radius: 999px; padding: .16em .42em .12em; background: #fff; white-space: nowrap; }
.m-mo__dong--chanh span { background: var(--chanh); }
.m-mo__dong .m-tia { width: 1em; height: 1em; }
.m-mo__dong a { width: 1.05em; height: 1.05em; border-radius: 99px; background: var(--tim); display: inline-flex; align-items: center; justify-content: center; font-size: .6em; color: var(--den); flex-shrink: 0; }
.m-mo__dong--lui { padding-left: 1.4em; }
.m-ds { list-style: none; margin: 0 0 24px; padding: 0; }
.m-ds li { display: flex; align-items: center; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--vien); font-size: 16px; color: var(--chu); }
.m-ds li b { color: var(--den); font-weight: 600; }
.m-ds i { width: 34px; height: 34px; border-radius: 10px; background: var(--tim-nhat); display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 16px; flex-shrink: 0; }

/* ---------- 2. giới thiệu ---------- */
.m-gt { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: center; }
.m-gt .m-h2 { font-size: clamp(32px, 4.6vw, 48px); }
.m-gt p { color: var(--chu); font-size: 18px; line-height: 1.72; margin: 18px 0 0; }
.m-gt__hinh { position: relative; background: linear-gradient(160deg, #FBF1DE 0%, #F5DCB3 100%); border-radius: var(--bo); aspect-ratio: 4 / 4.4; padding: 26px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.m-dong-so { background: #fff; border-radius: var(--bo); padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; box-shadow: 0 1px 2px rgba(33,31,28,.06); font-size: 15px; }
.m-dong-so b { font-family: var(--tieu-de); font-size: 15px; }
.m-dong-so em { font-style: normal; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--chanh); white-space: nowrap; }
.m-dong-so em.tim { background: var(--den); color: #fff; }
.m-noi { position: absolute; background: #fff; border-radius: 8px; border: 1px solid var(--vien); padding: 8px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 1px 2px rgba(33,31,28,.06); }
.m-noi--1 { top: 18px; right: -12px; }
.m-noi--2 { bottom: 22px; left: -14px; }

/* ---------- 3. dải số ---------- */
.m-dai { background: #fff; color: var(--den); border-top: 1px solid var(--vien); border-bottom: 1px solid var(--vien); }
.m-dai .m-khung { display: grid; grid-template-columns: repeat(4, 1fr); }
.m-dai__o { padding: 36px 22px; border-left: 1px solid var(--vien); }
.m-dai__o:first-child { border-left: 0; }
.m-dai__o b { display: block; font-family: var(--tieu-de); font-weight: 500; font-size: clamp(48px, 6vw, 78px); line-height: .92; letter-spacing: -.035em; }
.m-dai__o:first-child b { color: var(--amber-dam); }
.m-dai__o span { display: block; margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--chu); }

/* ---------- 4. hàng thẻ trượt ---------- */
.m-dau-muc { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 28px; align-items: end; }
.m-dau-muc .m-mo-ta { margin: 0; }
.m-mui { display: flex; justify-content: flex-end; gap: 10px; margin: 28px 0 18px; }
.m-mui button { width: 42px; height: 42px; border-radius: 99px; border: 0; background: var(--den); color: #fff; font-size: 17px; cursor: pointer; }
.m-mui button:disabled { opacity: .3; cursor: default; }
.m-truot { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3.25); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.m-truot::-webkit-scrollbar { display: none; }
.m-the { scroll-snap-align: start; background: #F3F1EE; border-radius: var(--bo); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s; }
.m-the:hover { transform: translateY(-3px); }
.m-the__tren { padding: 20px 20px 18px; flex: 1; }
.m-the__hang { display: flex; justify-content: space-between; align-items: center; }
.m-the__nhan { background: #fff; border-radius: 99px; padding: 5px 12px; font-size: 11.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.m-the__mui { width: 32px; height: 32px; border-radius: 99px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.m-the h3 { font-family: var(--tieu-de); font-weight: 700; font-size: clamp(26px, 2.9vw, 34px); line-height: .98; text-transform: uppercase; letter-spacing: -.03em; margin: 22px 0 10px; }
.m-the p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--chu); }
.m-the__gia { margin-top: 12px; font-weight: 700; font-size: 14.5px; }
.m-the__hinh { height: 190px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.m-the__hinh--1 { background: linear-gradient(140deg, #FBF1DE, #F5DCB3); }
.m-the__hinh--2 { background: linear-gradient(140deg, #F5DCB3, #E49B27); }
.m-the__hinh--3 { background: linear-gradient(140deg, #FFFFFF, #EFE9DF); }
.m-the__hinh--4 { background: linear-gradient(140deg, #F3EEE6, #FBF1DE); }
.m-man { width: 72%; background: var(--den); border-radius: 14px; padding: 12px; box-shadow: 0 18px 40px rgba(33,31,28,.22); transform: rotate(-3deg); }
.m-man i { display: block; height: 8px; border-radius: 99px; background: rgba(255,255,255,.18); margin: 7px 0; }
.m-man i:nth-child(1) { width: 40%; background: var(--chanh); }
.m-man i:nth-child(2) { width: 85%; }
.m-man i:nth-child(3) { width: 65%; }
.m-man i:nth-child(4) { width: 75%; background: #F5DCB3; }
.m-the__hinh .m-man--live { width: auto; height: 84%; }
.m-man--live { width: 46%; aspect-ratio: 9 / 15; display: flex; flex-direction: column; justify-content: space-between; transform: rotate(3deg); }
.m-man--live b { align-self: flex-start; background: #C0392B; color: #fff; font-size: 10px; letter-spacing: 1px; padding: 3px 8px; border-radius: 99px; }
.m-man--live span { width: 54px; height: 54px; border-radius: 99px; background: var(--tim); align-self: center; }
.m-so-lon { font-family: var(--tieu-de); font-weight: 500; font-size: 64px; color: var(--den); line-height: 1; }
.m-bang { margin-top: 22px; background: var(--den); color: #fff; border-radius: var(--bo); padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.m-bang b { font-size: 20px; font-family: var(--tieu-de); }
.m-bang p { margin: 6px 0 0; color: #C9C4BD; font-size: 14.5px; }
.m-bang span { width: 46px; height: 46px; border-radius: 99px; border: 1px solid rgba(255,255,255,.35); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- 5. bảng giá ---------- */
.m-goi { margin-top: 44px; display: grid; gap: 24px; }
.m-goi__the { background: #fff; border: 1px solid var(--vien); border-radius: var(--bo); padding: clamp(22px, 4vw, 36px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 44px); align-items: center; box-shadow: 0 1px 2px rgba(33,31,28,.06); }
.m-goi__loai { font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--chu); grid-column: 1 / -1; margin-bottom: -10px; }
.m-goi__hinh { border-radius: 8px; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; }
.m-the-nho { display: flex; gap: 8px; flex-wrap: wrap; }
.m-the-nho span { border: 1px solid var(--vien); border-radius: 99px; padding: 5px 12px; font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--chu); }
.m-the-nho span::before { content: "●"; color: var(--tim); margin-right: 6px; font-size: 9px; vertical-align: 1px; }
.m-goi h3 { font-family: var(--tieu-de); font-weight: 600; font-size: clamp(30px, 4vw, 44px); line-height: 1.02; letter-spacing: -.028em; margin: 14px 0 10px; }
.m-goi__mo { color: var(--chu); margin: 0 0 18px; font-size: 17px; line-height: 1.62; }
.m-muc-gia { display: grid; gap: 10px; }
.m-muc-gia a { display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--vien); border-radius: 8px; padding: 12px 12px 12px 18px; transition: border-color .15s, background .15s; }
.m-muc-gia a:hover { border-color: var(--tim); background: var(--tim-nhat); }
.m-muc-gia b { font-size: 15.5px; }
.m-muc-gia small { display: block; color: var(--nhat); font-size: 13px; }
.m-muc-gia em { font-style: normal; white-space: nowrap; font-weight: 700; background: var(--chanh); border-radius: 8px; padding: 8px 14px; font-size: 14px; font-variant-numeric: tabular-nums; }
.m-ghi { margin: 14px 0 0; font-size: 13px; color: var(--nhat); }

/* ---------- 6. câu hỏi ---------- */
.m-hoi-dap { max-width: 760px; margin: 40px auto 0; display: grid; gap: 12px; }
.m-hoi-dap details { background: #fff; border-radius: var(--bo); padding: 0 22px; border: 1px solid var(--vien); }
.m-hoi-dap summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-weight: 600; font-size: 16px; }
.m-hoi-dap summary::-webkit-details-marker { display: none; }
.m-hoi-dap summary::after { content: "+"; width: 30px; height: 30px; border-radius: 99px; background: var(--tim-nhat); color: var(--tim-dam); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; }
.m-hoi-dap details[open] summary::after { content: "−"; background: var(--chanh); color: var(--den); }
.m-hoi-dap p { margin: 0 0 18px; color: var(--chu); font-size: 15px; line-height: 1.7; }

/* ---------- 7. kêu gọi cuối ---------- */
.m-cuoi { background: var(--chanh); color: var(--den); border-radius: var(--bo); padding: clamp(32px, 6vw, 64px); position: relative; overflow: hidden; }
.m-cuoi::after { content: ""; position: absolute; right: 30px; bottom: -40px; width: 220px; height: 220px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cg fill='%23211F1C'%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(0)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(72)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(144)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(216)'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' transform='translate(22 26) rotate(288)'/%3E%3C/g%3E%3Ccircle cx='22' cy='26' r='3.1' fill='%23FFFFFF'/%3E%3Cpath d='M0 -3.2C-4.6 -6 -9.2 -11.6 -8.4 -16.6C-7.6 -21.6 7.6 -21.6 8.4 -16.6C9.2 -11.6 4.6 -6 0 -3.2Z' fill='%23211F1C' transform='translate(40.5 10) rotate(38) scale(0.42) translate(0 11)'/%3E%3C/svg%3E") no-repeat center / contain; opacity: .14; }
.m-cuoi h2 { font-family: var(--tieu-de); font-weight: 600; font-size: clamp(32px, 4.8vw, 54px); line-height: 1.12; letter-spacing: -.03em; margin: 0 0 14px; max-width: 640px; position: relative; z-index: 1; }
.m-cuoi p { color: var(--den); font-size: 18px; margin: 0 0 26px; max-width: 560px; position: relative; z-index: 1; }
.m-cuoi .m-nut { position: relative; z-index: 1; }

/* ---------- thẻ quảng bá góc phải ---------- */
.m-noi-goc { position: fixed; right: 16px; bottom: 16px; z-index: 40; width: 340px; background: #fff; color: var(--den); border: 1px solid var(--vien); border-radius: var(--bo); padding: 14px; display: flex; gap: 14px; align-items: center; box-shadow: 0 12px 32px rgba(33,31,28,.14); }
.m-noi-goc[hidden] { display: none; }
.m-noi-goc__hinh { width: 92px; height: 92px; border-radius: 14px; background: linear-gradient(140deg, #F5DCB3, #E49B27); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.m-noi-goc__hinh span { width: 40px; height: 58px; border-radius: 8px; background: var(--den); position: relative; }
.m-noi-goc__hinh span::after { content: ""; position: absolute; top: 6px; left: 6px; width: 10px; height: 5px; border-radius: 99px; background: #C0392B; }
.m-noi-goc b { display: block; font-size: 14px; line-height: 1.35; }
.m-noi-goc b i { display: none; font-style: normal; }
.m-noi-goc strong { display: block; font-family: var(--tieu-de); font-size: 22px; font-weight: 700; color: var(--amber-dam); margin: 4px 0 8px; }
.m-noi-goc a.xem { display: inline-flex; border: 1px solid var(--den); border-radius: 8px; padding: 4px 12px; font-size: 12px; font-weight: 600; }
.m-noi-goc__dong { position: absolute; top: -10px; right: -6px; width: 28px; height: 28px; border-radius: 99px; border: 0; background: #fff; color: var(--den); cursor: pointer; font-size: 16px; box-shadow: 0 1px 4px rgba(33,31,28,.25); border: 1px solid var(--vien); }

/* ---------- chân trang ---------- */
/* chân trang 02/11 — bố cục theo chân trang froga.vn (anh Mừng gửi mẫu): cột thông tin công ty rộng bên
   trái, ba cột liên kết tiêu đề chữ thường, dải đáy bản quyền + liên kết chính sách */
.m-chan { background: var(--den); color: #B8B2AA; padding: 56px 0 0; font-size: 14px; }
.m-chan__luoi { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 44px; }
.m-chan .m-logo b { color: #fff; }
.m-chan .m-logo__cua { border-left-color: rgba(255,255,255,.2); }
.m-chan .m-logo__cua small { color: #C9C4BD; }
.m-chan__khau { margin: 14px 0 16px; color: #E6E2DC; font-size: 15px; max-width: 300px; }
.m-chan ul.m-chan__tt { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 14px; line-height: 1.6; }
.m-chan__tt b { color: #fff; font-weight: 600; }
.m-chan h4 { color: #fff; font-size: 14px; font-weight: 600; margin: 4px 0 14px; }
.m-chan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.m-chan a:hover { color: var(--tim); }
.m-chan__day { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; color: #8A857F; }
.m-chan__day .m-khung { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.m-chan__day nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- trang WooCommerce trong giao diện mới ---------- */
.mayai-moi .mayai-khung { max-width: 1040px; padding: 36px 16px 80px; }

@media (max-width: 1180px) {
	.m-dau .m-logo__cua { display: none; }
}
@media (max-width: 960px) {
	.m-menu { display: none; }
	.m-dau__phai .m-nut, .m-dau__phai .m-gio span { display: none; }
	.m-burger { display: inline-flex; }
	.m-dau .m-logo__cua { display: none; }
	.m-dau__vien { padding-left: 18px; }
	.m-truot { grid-auto-columns: calc((100% - 18px) / 2.15); }
	.m-chan__luoi { grid-template-columns: 1fr 1fr; }
	.m-chan__cty { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.m-dau { top: 0; padding: 8px 12px 0; }
	.m-mo__luoi, .m-gt, .m-dau-muc, .m-goi__the { grid-template-columns: minmax(0, 1fr); }
	.m-mo__phai { order: -1; }
	.m-mo__the { min-height: 380px; }
	.m-mo__the::before { width: 220px; height: 220px; right: -30px; top: -40px; }
	.m-mo__chu { font-size: clamp(36px, 12vw, 52px); }
	.m-gt__hinh { aspect-ratio: auto; padding: 26px 18px; }
	.m-noi--1 { right: 8px; top: -14px; }
	.m-noi--2 { left: 8px; bottom: -14px; }
	.m-dai .m-khung { grid-template-columns: 1fr 1fr; padding: 0; }
	.m-dai__o { padding: 26px 18px; border-left: 1px solid var(--vien); border-top: 1px solid var(--vien); }
	.m-dai__o:nth-child(odd) { border-left: 0; }
	.m-dai__o:nth-child(-n+2) { border-top: 0; }
	.m-truot { grid-auto-columns: 82%; }
	.m-mui { display: none; }
	.m-the__hinh { height: 170px; }
	.m-bang { padding: 22px; }
	.m-goi__hinh { aspect-ratio: 16 / 9; }
	.m-muc-gia a { padding: 14px; flex-direction: column; align-items: flex-start; gap: 10px; }
	.m-noi-goc { left: 12px; right: 12px; width: auto; bottom: 12px; padding: 10px 16px; }
	.m-noi-goc__hinh, .m-noi-goc b br { display: none; }
	.m-noi-goc b i { display: inline; }
	.m-noi-goc b { font-size: 13px; }
	.m-noi-goc strong { font-size: 18px; margin: 2px 0 6px; }
	.m-chan { padding-top: 48px; }
	.m-chan__luoi { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.m-chan__day .m-khung { flex-direction: column; align-items: flex-start; }
}

/* ---------- bố cục "phòng live" (anh chốt hướng C, 02/11/2026) ----------
   Khối mở đầu = điện thoại dọc đang live (MC ảo, bình luận chạy, thẻ ghim sản phẩm) + tiêu đề;
   hàng thẻ dọc kiểu video ngắn. Bình luận là MINH HOẠ, không tên người thật, không số lượt xem. */
.m-live { padding: 28px 0 clamp(48px, 7vw, 88px); }
.m-live__luoi { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.m-live__dt-vo { justify-self: center; width: min(100%, 340px); }
.m-live__dt { position: relative; aspect-ratio: 9 / 16; border-radius: 30px; border: 8px solid var(--den); background: radial-gradient(circle at 50% 34%, #4A4744 0%, #211F1C 64%); box-shadow: 0 30px 60px rgba(33,31,28,.22); overflow: hidden; color: #fff; }
.m-live__tren { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; gap: 8px; align-items: center; }
.m-live__nhan { background: #C0392B; font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 3px 9px; border-radius: 6px; }
.m-live__kenh { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.12); padding: 4px 10px 4px 4px; border-radius: 99px; }
.m-live__kenh i { width: 20px; height: 20px; border-radius: 50%; background: var(--tim); }
.m-live__mc { position: absolute; top: 17%; left: 50%; width: 48%; aspect-ratio: 1; border-radius: 50%; background: rgba(228,155,39,.14); box-shadow: 0 0 0 14px rgba(228,155,39,.06); display: flex; align-items: center; justify-content: center; transform: translateX(-50%); animation: m-tho 3.2s ease-in-out infinite; }
.m-live__mc svg { width: 58%; }
@keyframes m-tho { 50% { transform: translateX(-50%) scale(1.05); } }
.m-live__bl { position: absolute; left: 12px; right: 12px; bottom: 92px; height: 32%; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 40%); mask-image: linear-gradient(transparent, #000 40%); }
.m-live__chay { animation: m-chay 16s linear infinite; }
@keyframes m-chay { to { transform: translateY(-50%); } }
.m-live__chay p { margin: 0 0 8px; font-size: 13px; line-height: 1.4; background: rgba(0,0,0,.38); padding: 6px 10px; border-radius: 12px; width: fit-content; max-width: 94%; }
.m-live__chay b { color: var(--tim); margin-right: 6px; font-weight: 600; }
.m-live a.m-live__ghim { position: absolute; left: 12px; right: 12px; bottom: 14px; background: #fff; color: var(--den); border-radius: 14px; padding: 10px; display: flex; gap: 10px; align-items: center; }
.m-live__ghim-hinh { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(140deg, #F5DCB3, #E49B27); flex-shrink: 0; }
.m-live__ghim small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #C0392B; }
.m-live__ghim b { display: block; font-size: 13.5px; line-height: 1.25; }
.m-live__ghim em { font-style: normal; font-size: 12.5px; color: var(--chu); }
.m-live__mua { margin-left: auto; background: var(--den); color: #fff; font-weight: 600; font-size: 13px; padding: 8px 12px; border-radius: 8px; }
.m-live__chu-thich { text-align: center; font-size: 12px; color: var(--nhat); margin: 10px 0 0; }
.m-live .m-nhan::before { display: none; }
.m-cham-do { width: 8px; height: 8px; border-radius: 50%; background: #C0392B; animation: m-nhay 1.4s ease-in-out infinite; }
@keyframes m-nhay { 50% { opacity: .3; } }
.m-live__h1 { font-family: var(--tieu-de); font-weight: 600; font-size: clamp(44px, 6.4vw, 80px); line-height: 1.1; letter-spacing: -.035em; margin: 18px 0; }
.m-live__nut { display: flex; gap: 10px; flex-wrap: wrap; margin: 26px 0 22px; }
.m-nut--vien { background: transparent; color: var(--den); box-shadow: inset 0 0 0 1.5px var(--den); }
.m-nut--vien:hover { background: #fff; }
.m-live__the { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.m-live__the li { border: 1px solid var(--vien); background: #fff; border-radius: 99px; padding: 5px 12px; font-size: 13px; color: var(--chu); }

.m-truot.m-reel { grid-auto-columns: calc((100% - 54px) / 4.3); }
.m-reel__the { scroll-snap-align: start; position: relative; aspect-ratio: 9 / 14; border-radius: 16px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; transition: transform .2s; }
.m-reel__the:hover { transform: translateY(-4px); }
.m-reel__the--1 { background: linear-gradient(170deg, #4A4744, #211F1C 70%); }
.m-reel__the--2 { background: linear-gradient(170deg, #F5DCB3, #E49B27); color: var(--den); }
.m-reel__the--3 { background: linear-gradient(170deg, #FBF1DE, #F5DCB3); color: var(--den); }
.m-reel__the--4 { background: linear-gradient(170deg, #6B6660, #211F1C 75%); }
.m-reel__the--5 { background: linear-gradient(170deg, #211F1C 30%, #9A610B); }
.m-reel__nhan { align-self: flex-start; background: rgba(255,255,255,.18); font-size: 11.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.m-reel__the--2 .m-reel__nhan, .m-reel__the--3 .m-reel__nhan { background: rgba(255,255,255,.7); }
.m-reel__the .m-reel__nhan--do { background: #C0392B; color: #fff; }
.m-reel__phat { position: absolute; top: 44%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center; font-size: 15px; padding-left: 3px; }
.m-reel__the--2 .m-reel__phat, .m-reel__the--3 .m-reel__phat { background: rgba(33,31,28,.08); border-color: rgba(33,31,28,.5); }
.m-reel__duoi b { display: block; font-family: var(--tieu-de); font-size: 22px; font-weight: 600; letter-spacing: -.02em; line-height: 1.05; margin-bottom: 6px; }
.m-reel__duoi small { display: block; font-size: 13px; line-height: 1.45; opacity: .88; }
.m-reel__duoi em { display: inline-block; margin-top: 10px; font-style: normal; font-weight: 600; font-size: 13px; background: #fff; color: var(--den); padding: 5px 10px; border-radius: 8px; }
.m-reel__the--2 .m-reel__duoi em, .m-reel__the--3 .m-reel__duoi em { background: var(--den); color: #fff; }

@media (max-width: 960px) {
	.m-truot.m-reel { grid-auto-columns: calc((100% - 36px) / 2.6); }
}
@media (max-width: 767px) {
	.m-live { padding-top: 18px; }
	.m-live__luoi { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.m-live__phai { order: -1; }
	.m-live__dt-vo { width: min(100%, 300px); }
	.m-live__h1 { font-size: clamp(40px, 12vw, 56px); }
	.m-truot.m-reel { grid-auto-columns: 62%; }
}
@media (prefers-reduced-motion: reduce) {
	.m-live__chay, .m-live__mc, .m-cham-do { animation: none; }
}

/* ---------- hiệu ứng chuột (chuot.js) — theo cách web mẫu quizzysocialgallery.com/services ----------
   Giữ mũi tên chuột của máy; chấm 7px bám sát + vòng 42px thu còn ~14px (scale .34) trễ theo sau;
   rê nút → vòng nở đủ 42px; rê thẻ → nở 1.34, tô hổ phách, hiện chữ "Xem". */
.mc-cham, .mc-vong { position: fixed; left: 0; top: 0; z-index: 2147483000; pointer-events: none; will-change: transform; transition: opacity .2s; }
.mc-cham { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: #E49B27; }
.mc-vong { width: 42px; height: 42px; margin: -21px 0 0 -21px; }
.mc-vong__trong { width: 100%; height: 100%; border-radius: 50%; border: 1.3px solid #E49B27; display: grid; place-items: center; transform: scale(.34); transition: transform .28s cubic-bezier(.16,1,.3,1), background-color .25s, border-color .25s; }
.mc-vong b { font-family: 'Space Grotesk', Arial, sans-serif; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #211F1C; opacity: 0; transition: opacity .18s; }
.mc-vong.to .mc-vong__trong { transform: scale(1); }
.mc-vong.co-chu .mc-vong__trong { transform: scale(1.34); background: #E49B27; }
.mc-vong.co-chu b { opacity: 1; }
.mc-vong.co-chu ~ .mc-cham, html:has(.mc-vong.co-chu) .mc-cham { opacity: 0; }
.mc-vong.bam .mc-vong__trong { transform: scale(.8); }
html.mc-ra .mc-cham, html.mc-ra .mc-vong { opacity: 0; }

/* logo Hoa mai (02/11/2026): logo ngang SVG ở đầu/chân trang, bông mai trong chữ, khối ý nghĩa logo */
.m-logo svg { display: block; height: 30px; width: auto; }
.m-tia { display: inline-block; width: .9em; height: .9em; vertical-align: -.08em; }
.m-tia svg { width: 100%; height: 100%; display: block; }
.m-y-nghia { display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 16px 18px; border-radius: var(--bo); background: var(--nen-tim); font-size: 15px; line-height: 1.6; color: #4A4744; }
.m-y-nghia span { flex-shrink: 0; width: 40px; }
.m-y-nghia svg { width: 100%; display: block; }
@media (max-width: 767px) { .m-logo svg { height: 26px; } }

/* ===== Trang chủ dựng lại 02/11/2026 (logo Hoa mai, ảnh thẻ, "bán hàng đa kênh") ===== */
.m-live__dt-vo { position: relative; }
.m-live__dt { z-index: 1; }
.m-live__the-sau { position: absolute; z-index: 0; width: 62%; height: auto; left: -34%; top: 14%; transform: rotate(-9deg); filter: drop-shadow(0 24px 34px rgba(33,31,28,.16)); pointer-events: none; }
img.m-live__ghim-hinh { width: 44px; height: 62px; object-fit: contain; background: none; border-radius: 4px; }
.m-noi-goc__hinh { background: var(--nen-tim); }
.m-noi-goc__hinh img { width: 56px; height: auto; display: block; }

.m-mai__luoi { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 72px); align-items: center; }
.m-mai__hoa { width: clamp(120px, 16vw, 180px); margin: 34px 0 22px; }
.m-mai__hoa svg { width: 100%; display: block; }
.m-mai__y { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--chu); max-width: 420px; }
.m-mai__canh { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.m-mai__canh .o { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--vien); border-radius: var(--bo); background: #fff; transition: border-color .15s, transform .15s, box-shadow .15s; }
.m-mai__canh .o:hover { border-color: var(--tim); box-shadow: 0 10px 24px rgba(33,31,28,.06); } /* 02/11: thẻ cam kết, không còn là link */
.m-mai__canh b { width: 48px; height: 48px; border-radius: 50% 50% 50% 8px; background: var(--chanh); color: var(--den); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.m-mai__canh li:nth-child(even) b { border-radius: 50% 50% 8px 50%; }
.m-mai__canh span { font-size: 14.5px; line-height: 1.5; color: var(--chu); }
.m-mai__canh em { display: block; font-style: normal; font-weight: 600; font-size: 19px; letter-spacing: -.02em; color: var(--den); margin-bottom: 2px; }
.m-mai__canh i { font-style: normal; font-size: 11.5px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase; color: var(--tim-dam); border: 1px solid #F5DCB3; background: var(--nen-tim); border-radius: 99px; padding: 5px 10px; white-space: nowrap; }
.m-mai__canh i.do { color: #C0392B; border-color: #F2C9C3; background: #FDF1EF; }

.m-sp { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.m-sp__the { background: #fff; border: 1px solid var(--vien); border-radius: var(--bo); padding: clamp(20px, 3vw, 30px); display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); gap: clamp(16px, 2.6vw, 28px); align-items: start; }
.m-sp__anh { display: block; background: var(--nen-tim); border-radius: 8px; padding: 14px 12px; }
.m-sp__anh img { width: 100%; height: auto; display: block; transition: transform .25s; }
.m-sp__the:hover .m-sp__anh img { transform: rotate(-3deg) scale(1.03); }
.m-sp h3 { font-family: var(--tieu-de); font-weight: 600; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.08; letter-spacing: -.028em; margin: 14px 0 8px; }
.m-sp .m-goi__mo { font-size: 15px; margin-bottom: 14px; }
.m-sp .m-muc-gia a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px 14px; }
.m-sp .m-muc-gia em { padding: 6px 12px; font-size: 13.5px; }
.m-mien { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.m-mien a { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--vien); border-radius: var(--bo); background: #fff; transition: border-color .15s; }
.m-mien a:hover { border-color: var(--tim); }
.m-mien span { grid-row: span 3; width: 52px; height: 52px; border-radius: 14px; background: var(--den); color: var(--chanh); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 700; }
.m-mien b { font-size: 17px; }
.m-mien small { color: var(--chu); font-size: 14px; line-height: 1.45; }
.m-mien em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--tim-dam); }

.m-buoc { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.m-buoc li { position: relative; padding: 26px 24px 24px; border: 1px solid var(--vien); border-radius: var(--bo); background: #fff; }
.m-buoc li:not(:last-child)::after { content: "→"; position: absolute; right: -19px; top: 34px; width: 14px; text-align: center; color: var(--tim); font-weight: 700; }
.m-buoc b { width: 46px; height: 46px; border-radius: 50%; background: var(--den); color: var(--chanh); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.m-buoc em { display: block; font-style: normal; font-weight: 600; font-size: 20px; letter-spacing: -.02em; margin: 16px 0 6px; }
.m-buoc span { font-size: 15px; line-height: 1.55; color: var(--chu); }
.m-buoc__ve { text-align: center; margin: 28px auto 0; max-width: 640px; font-size: 15px; color: var(--chu); }
.m-phan--vien { border-top: 1px solid var(--vien); }

@media (max-width: 960px) {
	.m-mai__luoi, .m-sp, .m-mien { grid-template-columns: minmax(0, 1fr); }
	.m-live__the-sau { display: none; }
}
@media (max-width: 767px) {
	.m-mai__hoa { width: 110px; margin: 24px 0 16px; }
	.m-mai__canh .o { grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; padding: 14px; }
	.m-mai__canh b { width: 40px; height: 40px; font-size: 17px; grid-row: span 2; }
	.m-mai__canh i { justify-self: start; }
	.m-mai__canh em { font-size: 17px; }
	.m-sp__the { grid-template-columns: minmax(0, .5fr) minmax(0, 1fr); }
	.m-buoc { grid-template-columns: minmax(0, 1fr); gap: 14px; }
	.m-buoc li::after { display: none; }
	.m-buoc li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 2px 14px; padding: 18px; }
	.m-buoc b { grid-row: span 2; }
	.m-buoc em { margin: 0; font-size: 18px; }
}
@media (max-width: 480px) {
	.m-sp__the { grid-template-columns: minmax(0, 1fr); }
	.m-sp__anh { max-width: 180px; }
}
/* 02/11 soát: mỗi sản phẩm một hàng ngang (ảnh thẻ | chữ), các gói xếp ngang */
.m-sp { grid-template-columns: minmax(0, 1fr); }
.m-sp__the { grid-template-columns: minmax(0, 230px) minmax(0, 1fr); align-items: center; }
.m-sp .m-muc-gia { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.m-sp .m-muc-gia a { justify-content: space-between; height: 100%; }
.m-live__the-sau { width: 56%; left: -44%; top: 9%; }
@media (max-width: 767px) { .m-sp__the { grid-template-columns: minmax(0, 120px) minmax(0, 1fr); align-items: start; } .m-sp .m-muc-gia { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .m-sp__the { grid-template-columns: minmax(0, 1fr); } }
/* 02/11 anh: "giữa các mục khoảng cách rộng, chiều cao trang không quá dài" — chỉ trang chủ, thu gọn nhịp dọc */
body.home .m-live { padding: 20px 0 36px; }
body.home .m-live__dt-vo { width: min(100%, 290px); }
body.home .m-live__chu-thich { margin-top: 6px; }
:is(body.home, body.mayai-trang) .m-phan { padding: clamp(36px, 4.5vw, 56px) 0; }
:is(body.home, body.mayai-trang) .m-h2 { font-size: clamp(30px, 3.8vw, 44px); margin-top: 12px; }
:is(body.home, body.mayai-trang) .m-giua .m-mo-ta { margin-top: 10px; }
body.home .m-mai__luoi { gap: clamp(24px, 4vw, 48px); }
body.home .m-mai__hoa { width: clamp(84px, 9vw, 112px); margin: 20px 0 14px; }
body.home .m-mai__canh { gap: 8px; }
body.home .m-mai__canh .o { padding: 11px 16px; }
body.home .m-sp { margin-top: 28px; gap: 16px; }
body.home .m-sp__the { grid-template-columns: minmax(0, 170px) minmax(0, 1fr); padding: 18px 22px; }
body.home .m-sp__anh { padding: 10px; }
body.home .m-sp h3 { margin: 10px 0 6px; }
body.home .m-sp .m-goi__mo { margin-bottom: 10px; }
body.home .m-sp .m-muc-gia a { padding: 10px 12px; gap: 6px; }
body.home .m-mien { margin-top: 16px; gap: 16px; }
body.home .m-mien a { padding: 14px 18px; }
body.home .m-buoc { margin-top: 26px; gap: 16px; }
body.home .m-buoc li { padding: 18px 20px; }
body.home .m-buoc em { margin: 10px 0 4px; }
body.home .m-buoc__ve { margin-top: 18px; }
:is(body.home, body.mayai-trang) .m-hoi-dap { margin-top: 24px; }
body.home #dang-nhap { padding-bottom: 48px !important; }
:is(body.home, body.mayai-trang) .m-cuoi { padding: clamp(26px, 4vw, 40px); }
@media (max-width: 767px) {
	body.home .m-live { padding-bottom: 24px; }
	body.home .m-live__dt-vo { width: min(100%, 250px); }
	body.home .m-sp__the { grid-template-columns: minmax(0, 104px) minmax(0, 1fr); padding: 14px; }
}
@media (max-width: 480px) { body.home .m-sp__the { grid-template-columns: minmax(0, 1fr); } body.home .m-sp__anh { max-width: 150px; } }
body.home .m-mai { padding-top: 20px; }
body.home .m-mai__luoi { align-items: start; }
body.home .m-live { padding-bottom: 28px; }
body.home .m-live__dt-vo { width: min(100%, 270px); }
body.home .m-phan--vien { border-top: 0; }
/* 02/11 trang chủ điện thoại ngắn lại: chỉ giữ ý chính, chi tiết nằm ở trang sản phẩm */
@media (max-width: 767px) {
	body.home .m-live__luoi { gap: 22px; }
	body.home .m-live__dt-vo { width: min(100%, 210px); }
	body.home .m-mai__hoa { display: none; }
	body.home .m-mai__y { margin-top: 14px; font-size: 15px; }
	body.home .m-mai__canh .o { grid-template-columns: 36px minmax(0, 1fr); align-items: start; padding: 10px 12px; }
	body.home .m-mai__canh b { width: 36px; height: 36px; font-size: 15px; grid-row: auto; }
	body.home .m-mai__canh span { font-size: 13.5px; line-height: 1.45; }
	body.home .m-mai__canh em { font-size: 16px; margin: 0; }
	body.home .m-mai__canh i { font-size: 10px; padding: 4px 8px; }
	body.home .m-sp__the, body.home .m-sp__the:hover { grid-template-columns: minmax(0, 92px) minmax(0, 1fr) !important; gap: 14px; padding: 14px; align-items: start; }
	body.home .m-sp__anh { max-width: none; padding: 6px; }
	body.home .m-sp .m-the-nho span:not(:first-child), body.home .m-sp .m-goi__mo, body.home .m-sp .m-muc-gia small { display: none; }
	body.home .m-sp h3 { font-size: 21px; margin: 8px 0 10px; }
	body.home .m-sp .m-muc-gia { gap: 6px; }
	body.home .m-sp .m-muc-gia a { flex-direction: row; align-items: center; padding: 8px 10px; }
	body.home .m-sp .m-muc-gia b { font-size: 14px; }
	body.home .m-sp .m-muc-gia em { padding: 5px 8px; font-size: 12.5px; }
	body.home .m-mien a { padding: 12px 14px; }
	body.home .m-mien small { display: none; }
	body.home .m-buoc li { padding: 14px; }
	body.home .m-buoc span { font-size: 14px; }
}
@media (max-width: 767px) {
	body.home .m-sp__the, body.home .m-sp__the:hover { grid-template-columns: minmax(0, 72px) minmax(0, 1fr) !important; gap: 4px 14px; align-items: center; }
	body.home .m-sp__the > div { display: contents; }
	body.home .m-sp__anh { grid-row: span 2; }
	body.home .m-sp .m-the-nho, body.home .m-sp h3 { grid-column: 2; }
	body.home .m-sp h3 { margin: 4px 0 6px; }
	body.home .m-sp .m-muc-gia, body.home .m-sp .m-ghi { grid-column: 1 / -1; }
	body.home .m-sp .m-muc-gia { margin-top: 8px; }
}

/* 02/11/2026: anh "rút ngắn khoảng cách" giữa Bảng giá (nền kem) và khối "Bắt đầu" trang chủ */
body.home #gia { padding-bottom: clamp(28px, 3vw, 40px); }
body.home #gia + .m-phan { padding-top: clamp(28px, 3vw, 40px); }

/* 02/11/2026: trang chủ — mọi sản phẩm trong MỘT lưới thẻ dọc 9:16 (front-page.php .msp): thẻ trắng có ảnh thẻ sản phẩm
   như bản đang chạy, trình bày chăm chút: sân khấu ảnh nền ấm + quầng sáng + bông mai chìm, ảnh đứng thẳng tràn qua mép,
   nhãn kính mờ, giá + nút tròn mũi tên. Cả thẻ bấm được (h3 a::after). (Thay khối .mr9 Reels — anh muốn giữ kiểu web hiện tại.) */
.msp-luoi { margin-top: 40px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.msp { position: relative; aspect-ratio: 9 / 16; min-width: 0; display: flex; flex-direction: column; background: #fff; border-radius: 22px; isolation: isolate;
	box-shadow: 0 0 0 1px rgba(33,31,28,.06), 0 12px 30px -14px rgba(33,31,28,.22); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s; }
.msp:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(228,155,39,.35), 0 28px 50px -18px rgba(33,31,28,.32); }
/* sân khấu ảnh: nền ấm có quầng sáng + bông mai chìm; ảnh thẻ đứng thẳng, chân ảnh tràn qua mép xuống phần chữ */
.msp-san { position: relative; flex: 0 0 57%; min-height: 0; border-radius: 22px 22px 0 0; overflow: visible; display: flex; justify-content: center; align-items: flex-end; }
.msp-nen { position: absolute; inset: 0; border-radius: inherit; z-index: -1; overflow: hidden;
	background: radial-gradient(60% 55% at 50% 58%, #FFFFFF 0%, rgba(255,255,255,0) 72%), linear-gradient(180deg, #FBF1DE 0%, #F7E3BF 100%); }
.msp--2 .msp-nen { background: radial-gradient(60% 55% at 50% 58%, rgba(228,155,39,.35) 0%, rgba(228,155,39,0) 72%), linear-gradient(180deg, #2C2925 0%, #211F1C 100%); }
.msp-chim { position: absolute; right: -22%; top: -16%; width: 62%; opacity: .16; pointer-events: none; }
.msp--2 .msp-chim { opacity: .22; }
.msp-san img { position: absolute; left: 50%; bottom: -16px; height: calc(100% - 34px); width: auto; max-width: 86%; object-fit: contain; display: block; border-radius: 9px;
	transform: translateX(-50%); filter: drop-shadow(0 18px 22px rgba(33,31,28,.26)); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.msp:hover .msp-san img { transform: translateX(-50%) translateY(-6px); }
.msp-nhan { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.86);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #211F1C; }
.msp-nhan::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #E49B27; }
.msp--2 .msp-nhan::before { background: #C0392B; }
.msp-chu { flex: 1; display: flex; flex-direction: column; padding: 26px 16px 14px; min-height: 0; }
.msp-chu > * { flex-shrink: 0; }
.msp h3 { margin: 0; font-family: var(--tieu-de); font-weight: 600; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.15; letter-spacing: -.025em; }
.msp h3 a { color: #211F1C; text-decoration: none; }
.msp h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: 22px; }
.msp-mo { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: #6B6660; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.msp-duoi { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px dashed #E6E2DC; }
.msp-gia { display: flex; flex-direction: column; line-height: 1.15; }
.msp-gia small { font-size: 11px; color: #6B6660; font-weight: 500; }
.msp-gia b { font-size: 17px; font-weight: 700; color: #211F1C; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.msp-gia em { font-style: normal; font-size: 11.5px; color: #6B6660; }
.msp-mui { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #211F1C; color: #fff; font-size: 17px;
	transition: background .2s, color .2s, transform .3s cubic-bezier(.2,.8,.2,1); }
.msp:hover .msp-mui { background: #E49B27; color: #211F1C; transform: rotate(-45deg); }
@media (max-width: 900px) {
	.msp-luoi { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 28px -16px 0; padding: 8px 16px 26px; scrollbar-width: none; }
	.msp-luoi::-webkit-scrollbar { display: none; }
	.msp { flex: 0 0 min(66vw, 280px); scroll-snap-align: start; }
}

/* video AI MC ảo trong khung live (02/11/2026): nền khung, bình luận + thẻ ghim vẫn đè lên */
.m-live__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; background: #211F1C; }
.m-live__dt.co-video .m-live__mc { opacity: 0; }
.m-live__dt.co-video::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 55%; background: linear-gradient(transparent, rgba(0,0,0,.55)); z-index: 0; pointer-events: none; }
.m-live__tren, .m-live__bl, .m-live__ghim { z-index: 2; }
.m-live__loa { position: absolute; z-index: 3; top: 14px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 15px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.m-live__loa:hover { background: rgba(0,0,0,.7); }
.m-live__dt .m-live__tren { right: 54px; }

/* 03/11 anh "xem lại bố cục khung live": thẻ ghim gọn một dòng tên + một dòng giá, chip kênh không bị nút loa che */
.m-live__kenh { white-space: nowrap; flex-shrink: 0; }
.m-live__dt .m-live__tren { right: 48px; }
.m-live__loa { width: 28px; height: 28px; top: 13px; right: 12px; font-size: 13px; }
.m-live a.m-live__ghim { padding: 8px 10px; gap: 9px; bottom: 12px; left: 10px; right: 10px; }
img.m-live__ghim-hinh { width: 30px; height: 42px; }
.m-live__ghim > span:not(.m-live__mua) { flex: 1; min-width: 0; }
.m-live__ghim b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.m-live__ghim em { display: block; white-space: nowrap; font-size: 12px; }
.m-live__ghim small { font-size: 9.5px; }
.m-live__mua { flex-shrink: 0; padding: 7px 11px; font-size: 12.5px; }
.m-live__bl { bottom: 78px; height: 26%; }
.m-live__dt .m-live__kenh { font-size: 11px; gap: 5px; padding: 3px 9px 3px 3px; } .m-live__dt .m-live__kenh i { width: 16px; height: 16px; } .m-live__dt .m-live__tren { gap: 6px; left: 12px; }
.m-live__dt .m-live__kenh { background: rgba(33,31,28,.62); color: #fff; }
