:root {
  --cam: #F0590F; --cam-dam: #C2410C; --cam-nhat: #FFF1E6; --cam-sang: #FF8A3D;
  --vang: #FFC93C; --chu: #1B1F2A; --chu-phu: #5B6272; --vien: #ECE4DC;
  --the: #FFFFFF; --xanh: #15803D; --xanh-nhat: #E6F6EC; --do: #C81E1E; --do-nhat: #FDECEC; --vang-nhat: #FFF6D6;
  --xanh-duong: #2563EB; --tim: #7C3AED; --ngoc: #0D9488;
  --bo: 16px; --bong: 0 1px 2px rgba(27,31,42,.06), 0 6px 20px rgba(27,31,42,.07);
  --bong-dam: 0 10px 30px rgba(224,62,12,.18);
  --chuyen-cam: linear-gradient(135deg, #FF8A3D 0%, #F0590F 45%, #D9360B 100%);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--chu);
  background: #FFF7F1 radial-gradient(1200px 500px at 100% -10%, #FFE2CC 0%, transparent 60%) no-repeat,
              radial-gradient(900px 400px at -10% 10%, #FFEFD9 0%, transparent 55%) no-repeat; background-attachment: fixed; min-height: 100vh; }
a { color: var(--cam-dam); }
img { max-width: 100%; }
h1 { font-size: 1.4rem; margin: .2rem 0 .6rem; line-height: 1.3; letter-spacing: -.01em; }
h2 { font-size: 1.12rem; margin: 1.3rem 0 .6rem; display: flex; align-items: center; gap: 8px; }
h3 { font-size: 1rem; margin: 1rem 0 .4rem; }
.bt { width: 20px; height: 20px; flex: 0 0 auto; vertical-align: -4px; }
.bt-nho { width: 16px; height: 16px; vertical-align: -3px; }
.bt-lon { width: 28px; height: 28px; }

/* ---------- Dau trang ---------- */
.dau { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top)); background: var(--chuyen-cam); color: #fff; box-shadow: 0 4px 18px rgba(224,62,12,.25); }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: #fff; text-decoration: none; white-space: nowrap; letter-spacing: -.01em; }
.logo img { border-radius: 10px; box-shadow: 0 2px 8px rgba(0,0,0,.18); background: #fff; }
.logo small { display: block; font-weight: 500; font-size: .72rem; opacity: .9; letter-spacing: 0; }
.dau nav { display: flex; gap: 8px; align-items: center; }
.dau .nut { background: #fff; color: var(--cam-dam); box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.dau .nut:hover { background: #FFF4EC; }
.dau .nut-vien { background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.dau .nut-vien:hover { background: rgba(255,255,255,.25); }
.dau .phu { color: rgba(255,255,255,.9); }
main { max-width: 1120px; margin: 0 auto; padding: 16px; padding-bottom: 96px; }

/* Thanh dieu huong duoi (dien thoai) */
.dh-duoi { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--vien); padding: 6px 4px max(6px, env(safe-area-inset-bottom)); box-shadow: 0 -4px 20px rgba(27,31,42,.06); }
.dh-duoi a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--chu-phu); text-decoration: none; font-size: .7rem; font-weight: 600; padding: 4px 0; }
.dh-duoi a .bt { width: 23px; height: 23px; }
.dh-duoi a.chon { color: var(--cam); }
.dh-duoi .dang { margin-top: -26px; }
.dh-duoi .dang span.tron { width: 54px; height: 54px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--chuyen-cam); color: #fff; box-shadow: var(--bong-dam); border: 4px solid #fff; }
.dh-duoi .dang .bt { width: 26px; height: 26px; }
.dau .chi-may-tinh { display: none; }
@media (min-width: 860px) {
  .dh-duoi { display: none; }
  .dau .chi-may-tinh { display: inline-flex; }
  main { padding-bottom: 40px; }
}

/* ---------- Nut ---------- */
.nut { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 10px 18px; border: 0; border-radius: 12px;
  background: var(--chuyen-cam); color: #fff; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; box-shadow: 0 4px 14px rgba(224,62,12,.25); transition: transform .12s, box-shadow .12s, filter .12s; }
.nut:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(224,62,12,.3); }
.nut:active { transform: translateY(0); }
.nut:disabled { opacity: .55; cursor: default; transform: none; }
.nut-nho { min-height: 36px; padding: 6px 12px; font-size: .9rem; border-radius: 10px; }
.nut-vien { background: #fff; color: var(--cam-dam); box-shadow: inset 0 0 0 1.5px var(--cam); }
.nut-vien:hover { background: var(--cam-nhat); box-shadow: inset 0 0 0 1.5px var(--cam); }
.nut-xam { background: #F1ECE7; color: var(--chu); box-shadow: none; }
.nut-xam:hover { background: #E7E0D9; box-shadow: none; }
.nut-do { background: linear-gradient(135deg, #EF4444, #B91C1C); box-shadow: 0 4px 14px rgba(185,28,28,.25); }
.nut-xanh { background: linear-gradient(135deg, #22C55E, #15803D); box-shadow: 0 4px 14px rgba(21,128,61,.25); }
.nut-rong { width: 100%; }
.hang-nut { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* ---------- Khoi chung ---------- */
.the { background: var(--the); border: 1px solid rgba(236,228,220,.8); border-radius: var(--bo); padding: 18px; margin-bottom: 14px; box-shadow: var(--bong); }
.phu { color: var(--chu-phu); font-size: .9rem; }
.nho { font-size: .85rem; }
.dam { font-weight: 700; }
.gia-lon { font-size: 1.9rem; font-weight: 800; line-height: 1.15; background: var(--chuyen-cam); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nhan { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: #F1ECE7; color: var(--chu); white-space: nowrap; }
.nhan .bt { width: 13px; height: 13px; vertical-align: 0; }
.nhan-cam { background: var(--cam-nhat); color: var(--cam-dam); }
.nhan-xanh { background: var(--xanh-nhat); color: var(--xanh); }
.nhan-do { background: var(--do-nhat); color: var(--do); }
.nhan-dn { background: #E3ECFF; color: #1D4ED8; }
.bao { padding: 12px 14px; border-radius: 12px; margin: 10px 0; background: var(--vang-nhat); border-left: 4px solid var(--vang); }
.bao-xanh { background: var(--xanh-nhat); border-color: #22C55E; }
.bao-do { background: var(--do-nhat); color: var(--do); border-color: #EF4444; }
.bao-cam { background: var(--cam-nhat); border-color: var(--cam); }
.an { display: none !important; }
.trong { text-align: center; padding: 40px 10px; color: var(--chu-phu); }
.trong .bt { width: 44px; height: 44px; color: #E4B89A; display: block; margin: 0 auto 8px; }

/* Dai mau dau moi trang */
.bang-dau { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 20px; border-radius: 20px; margin-bottom: 16px; color: #fff; box-shadow: var(--bong); }
.bang-dau::after { content: ""; position: absolute; right: -40px; top: -40px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,.12); }
.bang-dau::before { content: ""; position: absolute; right: 60px; bottom: -70px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.08); }
.bang-dau .o-bt { flex: 0 0 auto; width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; }
.bang-dau .o-bt .bt { width: 28px; height: 28px; }
.bang-dau h1 { margin: 0; color: #fff; }
.bang-dau p { margin: 2px 0 0; opacity: .92; font-size: .92rem; }
.bang-dau > * { position: relative; z-index: 1; }
.mau-cam { background: var(--chuyen-cam); }
.mau-tim { background: linear-gradient(135deg, #A78BFA, #7C3AED 55%, #5B21B6); }
.mau-ngoc { background: linear-gradient(135deg, #2DD4BF, #0D9488 55%, #115E59); }
.mau-duong { background: linear-gradient(135deg, #60A5FA, #2563EB 55%, #1E3A8A); }
.mau-la { background: linear-gradient(135deg, #4ADE80, #16A34A 55%, #166534); }
.mau-hong { background: linear-gradient(135deg, #F472B6, #DB2777 55%, #9D174D); }
.mau-dem { background: linear-gradient(135deg, #475569, #1E293B); }

/* ---------- Trang chu ---------- */
.hero { position: relative; overflow: hidden; border-radius: 24px; padding: 26px 20px 22px; margin-bottom: 18px; color: #fff;
  background: linear-gradient(120deg, #FF9A3C 0%, #F0590F 40%, #E11D48 100%); box-shadow: var(--bong-dam); }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,102,.55), transparent 65%); }
.hero::before { content: ""; position: absolute; left: -50px; bottom: -90px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero > * { position: relative; z-index: 1; }
.hero .tem { display: inline-flex; align-items: center; gap: 6px; background: var(--vang); color: #7A2E00; font-weight: 800; font-size: .78rem; padding: 4px 10px; border-radius: 999px; transform: rotate(-2deg); box-shadow: 0 3px 10px rgba(0,0,0,.15); }
.hero h1 { color: #fff; font-size: 1.65rem; margin: 10px 0 4px; line-height: 1.2; }
.hero p { margin: 0 0 14px; opacity: .95; }
.hero .tim { background: #fff; border-radius: 14px; padding: 5px; box-shadow: 0 8px 24px rgba(0,0,0,.15); margin-bottom: 12px; }
.hero .tim input { border: 0; min-height: 42px; }
.hero .tim input:focus { outline: none; }
.hero .loi-ich { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: .84rem; font-weight: 600; }
.hero .loi-ich span { display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.16); padding: 4px 10px; border-radius: 999px; }
@media (min-width: 860px) { .hero { padding: 36px 36px 30px; } .hero h1 { font-size: 2.1rem; } .hero .tim { max-width: 620px; } }

.tieu-de-muc { display: flex; align-items: center; justify-content: space-between; margin: 6px 0 10px; }
.tieu-de-muc h2 { margin: 0; }
.danh-muc { display: flex; gap: 10px; overflow-x: auto; padding: 2px 2px 10px; margin-bottom: 8px; scrollbar-width: none; }
.danh-muc::-webkit-scrollbar { display: none; }
.o-dm { flex: 0 0 auto; width: 84px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: 0; border-radius: 16px; background: #fff; box-shadow: var(--bong); cursor: pointer; font: inherit; font-size: .74rem; font-weight: 600; line-height: 1.25; color: var(--chu); text-align: center; transition: transform .12s; }
.o-dm:hover { transform: translateY(-2px); }
.o-dm .vong { width: 46px; height: 46px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.o-dm .vong .bt { width: 25px; height: 25px; }
.o-dm.chon { outline: 2.5px solid var(--cam); outline-offset: -2.5px; background: var(--cam-nhat); }
@media (min-width: 860px) { .danh-muc { display: grid; grid-template-columns: repeat(9, 1fr); overflow: visible; } .o-dm { width: auto; } }

.tim { display: flex; gap: 8px; margin-bottom: 10px; align-items: center; }
.tim input { flex: 1; }
.tim > .bt { color: var(--chu-phu); margin-left: 8px; }
.loc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 16px; }
.loc select { background-color: #fff; box-shadow: var(--bong); border-color: transparent; }

/* Luoi mon hang */
.luoi { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 14px; }
.o-mon { display: block; background: #fff; border-radius: var(--bo); overflow: hidden; color: inherit; text-decoration: none; box-shadow: var(--bong); transition: transform .15s, box-shadow .15s; }
.o-mon:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(27,31,42,.12); }
.o-mon .anh { aspect-ratio: 1; background: #F3EEE9 center/cover no-repeat; position: relative; }
.o-mon .anh .nhan { position: absolute; left: 8px; top: 8px; box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.o-mon .anh .nhan-dg { background: linear-gradient(135deg, #FF8A3D, #E03E0C); color: #fff; }
.o-mon .anh .dem { position: absolute; left: 8px; bottom: 8px; right: 8px; display: flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: rgba(17,24,39,.78); color: #fff; font-size: .74rem; font-weight: 700; width: fit-content; }
.o-mon .anh .dem.gap { background: rgba(200,30,30,.9); }
.o-mon .noi { padding: 10px 12px 12px; }
.o-mon .ten { font-size: .93rem; font-weight: 600; line-height: 1.35; height: 2.7em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.o-mon .gia { font-weight: 800; font-size: 1.06rem; color: var(--cam-dam); margin-top: 6px; }
.o-mon .dong { display: flex; justify-content: space-between; align-items: center; gap: 6px; font-size: .78rem; color: var(--chu-phu); margin-top: 4px; }
.o-mon .dong span { display: inline-flex; align-items: center; gap: 3px; }
.o-mon .dong .bt { width: 13px; height: 13px; vertical-align: 0; }

/* ---------- Chi tiet ---------- */
.ct { display: grid; gap: 18px; }
@media (min-width: 860px) { .ct { grid-template-columns: 1.15fr 1fr; align-items: start; } .ct .phai { position: sticky; top: 84px; } }
.thu-vien { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 20px; box-shadow: var(--bong); }
.thu-vien img, .thu-vien video { flex: 0 0 100%; width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #1B1F2A; scroll-snap-align: start; }
.dem-anh { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: .84rem; color: var(--chu-phu); margin-top: 6px; }
.bang-tt { width: 100%; border-collapse: collapse; font-size: .95rem; }
.bang-tt td { padding: 9px 0; border-bottom: 1px dashed var(--vien); vertical-align: top; }
.bang-tt td:first-child { color: var(--chu-phu); width: 44%; padding-right: 10px; white-space: nowrap; }
.bang-tt td:first-child .bt { width: 17px; height: 17px; color: var(--cam); margin-right: 6px; vertical-align: -3px; }
.hop-gia { border: 0; background: linear-gradient(#fff, #fff) padding-box, var(--chuyen-cam) border-box; border: 2px solid transparent; }
.hop-gia .dong-tt { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--chu-phu); font-size: .9rem; margin-top: 4px; }
.hop-gia .dong-tt span { display: inline-flex; align-items: center; gap: 4px; }
.dong-ho { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--chu); }
.lich-su { list-style: none; padding: 0; margin: 0; font-size: .92rem; }
.lich-su li { display: flex; justify-content: space-between; gap: 8px; padding: 8px 0; border-bottom: 1px dashed var(--vien); }
.mo-ta { white-space: pre-wrap; }
.nguoi-ban { display: flex; gap: 12px; align-items: center; }
.anh-dai-dien { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; color: #fff; background: linear-gradient(135deg, #60A5FA, #7C3AED); }

/* ---------- Bieu mau ---------- */
label { display: block; font-weight: 600; font-size: .92rem; margin: 12px 0 5px; }
input, select, textarea { width: 100%; min-height: 46px; padding: 10px 13px; border: 1.5px solid #E2D8CF; border-radius: 12px; font: inherit; background: #fff; color: var(--chu); transition: border-color .12s, box-shadow .12s; }
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cam); box-shadow: 0 0 0 4px rgba(240,89,15,.15); }
input[type=file] { padding: 9px; background: #FFFAF6; border-style: dashed; }
.chon-nhanh { display: flex; flex-wrap: wrap; gap: 8px; }
.chon-nhanh label { margin: 0; font-weight: 600; display: flex; align-items: center; gap: 7px; padding: 9px 14px; border: 1.5px solid #E2D8CF; border-radius: 12px; background: #fff; cursor: pointer; }
.chon-nhanh input { width: auto; min-height: 0; accent-color: var(--cam); }
.chon-nhanh label:has(input:checked) { border-color: var(--cam); background: var(--cam-nhat); color: var(--cam-dam); }
.hai-cot { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.goi-y { font-size: .83rem; color: var(--chu-phu); margin-top: 5px; font-weight: 400; }
.xem-truoc { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin-top: 8px; }
.xem-truoc div { position: relative; aspect-ratio: 1; border-radius: 12px; background: #EEE center/cover; }
.xem-truoc button { position: absolute; right: 4px; top: 4px; width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; }
.xem-truoc .vid { display: flex; align-items: center; justify-content: center; font-size: .8rem; }
.the > h2:first-child, .the > h3:first-child { margin-top: 0; }
.the h2 .bt { color: var(--cam); }

/* ---------- Tab, danh sach ---------- */
.tab { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; scrollbar-width: none; padding: 4px; background: #fff; border-radius: 14px; box-shadow: var(--bong); }
.tab a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 9px 13px; text-decoration: none; color: var(--chu-phu); border-radius: 10px; font-weight: 700; font-size: .92rem; }
.tab a.chon { color: #fff; background: var(--chuyen-cam); box-shadow: 0 4px 12px rgba(224,62,12,.25); }
.tab a .bt { width: 17px; height: 17px; }
.dong-ds { display: flex; gap: 12px; align-items: center; padding: 12px; background: #fff; border-radius: var(--bo); margin-bottom: 10px; color: inherit; text-decoration: none; box-shadow: var(--bong); }
.dong-ds .anh-nho { flex: 0 0 68px; height: 68px; border-radius: 12px; background: #F3EEE9 center/cover; }
.dong-ds .giua { flex: 1; min-width: 0; }
.dong-ds .ten { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Buoc don hang */
.buoc { list-style: none; padding: 0; margin: 4px 0 4px; display: flex; gap: 6px; }
.buoc li { flex: 1; height: 7px; border-radius: 4px; background: rgba(255,255,255,.35); }
.buoc li.xong { background: #fff; }
.qr { display: block; width: 240px; max-width: 100%; margin: 10px auto; border-radius: 14px; background: #fff; box-shadow: var(--bong); padding: 6px; }
.tk { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 10px; align-items: center; }
.tk .gt { font-weight: 700; word-break: break-all; }
.chep { border: 0; background: var(--cam-nhat); color: var(--cam-dam); border-radius: 8px; padding: 5px 10px; font: inherit; font-weight: 600; font-size: .82rem; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }

/* Dang nhap */
.trang-dn { min-height: calc(100vh - 220px); display: flex; align-items: center; justify-content: center; }
.hop-dn { width: 100%; max-width: 430px; overflow: hidden; padding: 0; }
.hop-dn .dau-hop { padding: 26px 22px 20px; text-align: center; color: #fff; background: linear-gradient(135deg, #FF9A3C, #F0590F 50%, #E11D48); }
.hop-dn .dau-hop img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.hop-dn .dau-hop h1 { color: #fff; margin: 10px 0 2px; }
.hop-dn .than { padding: 18px 22px 22px; }

#thong-bao { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); z-index: 50; max-width: calc(100% - 32px); }
#thong-bao div { background: #1B1F2A; color: #fff; padding: 12px 16px; border-radius: 12px; margin-top: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.25); font-size: .95rem; font-weight: 500; }
#thong-bao div.loi { background: var(--do); }
@media (max-width: 520px) {
  .loc { grid-template-columns: 1fr 1fr; }
  .loc select:last-child { grid-column: span 2; }
  .hai-cot { grid-template-columns: 1fr; }
  .logo small { display: none; }
}

/* ---------- Quan tri ---------- */
.qt-bo { display: grid; gap: 16px; }
@media (min-width: 900px) { .qt-bo { grid-template-columns: 236px 1fr; } }
.qt-menu { display: flex; flex-wrap: wrap; gap: 6px; }
@media (min-width: 900px) { .qt-menu { flex-direction: column; position: sticky; top: 84px; align-self: start; background: #fff; padding: 8px; border-radius: var(--bo); box-shadow: var(--bong); } }
.qt-menu a { padding: 9px 12px; border-radius: 10px; text-decoration: none; color: var(--chu); background: #fff; font-size: .92rem; font-weight: 600; display: flex; align-items: center; gap: 9px; box-shadow: var(--bong); }
@media (min-width: 900px) { .qt-menu a { box-shadow: none; } .qt-menu a:hover { background: var(--cam-nhat); } }
.qt-menu a .bt { width: 18px; height: 18px; color: var(--cam); }
.qt-menu a .ten-muc { flex: 1; }
.qt-menu a.chon { background: var(--chuyen-cam); color: #fff; }
.qt-menu a.chon .bt { color: #fff; }
.so-dem { background: #E11D48; color: #fff; border-radius: 999px; padding: 0 7px; font-size: .76rem; font-weight: 800; }
.qt-menu a.chon .so-dem { background: #fff; color: var(--cam-dam); }
.o-so { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
.o-so .the { margin: 0; display: flex; gap: 12px; align-items: center; transition: transform .12s; }
.o-so .the:hover { transform: translateY(-2px); }
.o-so .vong { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.o-so .so { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.anh-hs { display: flex; gap: 8px; flex-wrap: wrap; }
.anh-hs img { width: 160px; height: 110px; object-fit: cover; border-radius: 10px; background: #EEE; cursor: zoom-in; }
.cuon-ngang { overflow-x: auto; background: #fff; border-radius: var(--bo); box-shadow: var(--bong); }
table.bang { border-collapse: collapse; width: 100%; font-size: .9rem; }
table.bang th { background: #FFF4EC; color: var(--cam-dam); }
table.bang th, table.bang td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--vien); vertical-align: top; }
.tk .phu { max-width: 104px; }
.tk .gt { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 899px) {
  .qt-menu { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 8px; }
  .qt-menu::-webkit-scrollbar { display: none; }
  .qt-menu a { flex: 0 0 auto; white-space: nowrap; }
  .o-so { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .o-so .the { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px; }
  .o-so .so { font-size: 1.3rem; }
  .o-so .phu { font-size: .82rem; line-height: 1.3; }
}
.o-mk { position: relative; }
.o-mk input { padding-right: 48px; }
.o-mk .nut-mat { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; background: none; color: var(--chu-phu); cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 10px; }
.o-mk .nut-mat:hover { color: var(--cam); background: var(--cam-nhat); }
.hai-cot .o-mk + .o-mk, .hai-cot > .o-mk { min-width: 0; }
.thanh-tg { height: 6px; border-radius: 999px; background: #F1E4DA; overflow: hidden; margin: 8px 0 4px; }
.thanh-tg i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #22C55E, #F59E0B); transition: width 1s linear; }
.thanh-tg.gap i { background: linear-gradient(90deg, #F97316, #DC2626); }
.thanh-tg.tren-the { margin: 0; border-radius: 0; height: 5px; }
.thanh-tg.tren-the i { border-radius: 0; }
.tab .so-dem { background: #E11D48; color: #fff; border-radius: 999px; padding: 0 7px; font-size: .74rem; }
.tab a.chon .so-dem { background: #fff; color: var(--cam-dam); }
