/* Giao diện trang chủ + trang thông tin mercari.thplog.com (tách từ trang-chu.html 03/11/2026) */
:root {
  --navy: #1c4f9c; --navy-d: #143a74; --navy-50: #eef3fb;
  --red: #d2282e; --red-d: #ad1d22; --red-50: #fff1f1;
  --ink: #18202b; --muted: #6b7482; --line: #e6e8ec; --bg: #f3f5f8; --card: #fff;
  --ok: #17803d; --gold: #f5a623;
  --r: 12px; --shadow: 0 1px 2px #0000000d, 0 4px 14px #0000000a;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: "Be Vietnam Pro", system-ui, sans-serif; background: var(--bg); color: var(--ink); font-size: 14px; }
a { color: inherit; text-decoration: none; }
img { display: block; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }

/* dải trên cùng */
.strip { background: var(--navy-d); color: #dfe8f7; font-size: 12.5px; }
.strip .wrap { display: flex; gap: 18px; align-items: center; height: 34px; overflow: hidden; white-space: nowrap; }
.strip a:hover { color: #fff; }
.strip .home { font-weight: 700; color: #fff; }
.strip .sp { flex: 1; }
.strip b { color: #fff; }

/* header */
header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
header .wrap { display: flex; align-items: center; gap: 22px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; flex: none; }
.logo img { height: 44px; }
.logo span { font-weight: 800; font-size: 15px; line-height: 1.15; color: var(--navy); }
.logo small { display: block; font-weight: 600; color: var(--red); font-size: 11.5px; letter-spacing: .3px; }
header .search { flex: 1; display: flex; border: 2px solid var(--navy); border-radius: 10px; overflow: hidden; height: 44px; background: #fff; }
header .search select { border: 0; background: var(--navy-50); padding: 0 10px; font: inherit; font-weight: 600; color: var(--navy); outline: none; max-width: 150px; }
header .search input { flex: 1; border: 0; padding: 0 14px; font: inherit; outline: none; min-width: 0; }
header .search button { border: 0; background: var(--red); color: #fff; font: inherit; font-weight: 700; padding: 0 22px; cursor: pointer; }
header .search button:hover { background: var(--red-d); }
.icons { display: flex; gap: 4px; flex: none; }
.icons a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11.5px; color: var(--muted); padding: 6px 9px; border-radius: 8px; position: relative; }
.icons a i { font-style: normal; font-size: 20px; line-height: 1; }
.icons a:hover { background: var(--navy-50); color: var(--navy); }
.btn-home { display: flex; align-items: center; gap: 6px; background: var(--navy); color: #fff !important; font-weight: 700; font-size: 13px; padding: 9px 14px; border-radius: 9px; flex: none; }
.btn-home:hover { background: var(--navy-d); }

/* khu đầu trang: menu trái + banner */
.top { display: grid; grid-template-columns: 230px minmax(0, 1fr) 300px; gap: 14px; margin-top: 16px; }
.side { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 10px 8px; }
.side h4 { margin: 8px 10px 4px; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.side a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-weight: 600; font-size: 13.5px; }
.side a img { width: 22px; height: 22px; border-radius: 5px; object-fit: contain; }
.side a:hover { background: var(--navy-50); color: var(--navy); }
.side a em { margin-left: auto; font-style: normal; color: #b6bcc6; }

.slider { position: relative; border-radius: var(--r); overflow: hidden; min-height: 300px; box-shadow: var(--shadow); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; padding: 34px 38px; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.slide.on { opacity: 1; z-index: 1; }
.slide .kick { display: inline-block; background: #ffffff26; border: 1px solid #ffffff40; border-radius: 99px; padding: 4px 12px; font-size: 12px; font-weight: 600; align-self: flex-start; }
.slide h2 { font-size: 34px; line-height: 1.15; margin: 14px 0 10px; font-weight: 800; max-width: 520px; }
.slide h2 em { font-style: normal; color: #ffd84d; }
.slide p { margin: 0 0 20px; max-width: 470px; opacity: .92; line-height: 1.55; }
.slide .cta { align-self: flex-start; background: #fff; color: var(--red); font-weight: 800; padding: 11px 20px; border-radius: 10px; }
.slide .art { position: absolute; right: 26px; bottom: 22px; width: 210px; opacity: .95; }
.s1 { background: linear-gradient(120deg, var(--red) 0%, #e9473f 55%, #f07a3a 100%); }
.s2 { background: linear-gradient(120deg, var(--navy-d) 0%, var(--navy) 60%, #2f74d0 100%); }
.s3 { background: linear-gradient(120deg, #6d2bb5 0%, #a03fc0 100%); }
.s3 .cta { color: #6d2bb5; }
.s2 .cta { color: var(--navy); }
.logos-art { display: grid; grid-template-columns: repeat(3, 58px); gap: 10px; }
.logos-art img { width: 58px; height: 58px; background: #fff; border-radius: 14px; padding: 9px; object-fit: contain; box-shadow: 0 6px 16px #0003; }
.big-art { font-size: 120px; line-height: 1; text-align: right; }
.dots { position: absolute; z-index: 2; bottom: 14px; left: 38px; display: flex; gap: 6px; }
.dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; background: #ffffff70; padding: 0; cursor: pointer; transition: width .3s; }
.dots button.on { width: 26px; background: #fff; }

.acc { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.acc-top { display: flex; align-items: center; gap: 12px; }
.ava { width: 58px; height: 58px; border-radius: 50%; background: #c4c8cf; display: grid; place-items: center; flex: none; color: #fff; font-weight: 800; font-size: 22px; }
.ava svg { width: 30px; height: 30px; }
.acc-btns { flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.acc-btns a { text-align: center; padding: 10px 4px; border-radius: 9px; font-weight: 600; font-size: 13.5px; border: 1.5px solid var(--red); }
.acc-btns .in { background: var(--red); color: #fff; }
.acc-btns .in:hover { background: var(--red-d); }
.acc-btns .up { color: var(--red); }
.acc-btns .up:hover { background: var(--red-50); }
.acc-hi { flex: 1; min-width: 0; }
.acc-hi b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acc-hi span { color: var(--muted); font-size: 12px; }
.acc-hi a { color: var(--red); font-weight: 600; font-size: 12px; margin-left: 6px; cursor: pointer; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; flex: 1; }
.tiles a { background: var(--red-50); border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 12px 4px; text-align: center; font-size: 12.5px; line-height: 1.3; transition: background .2s; }
.tiles a:hover { background: #ffe1e1; }
.tiles i { font-style: normal; font-size: 22px; line-height: 1; }
.mini { border-radius: var(--r); padding: 18px 20px; color: #fff; display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; box-shadow: var(--shadow); }
.mini b { font-size: 19px; line-height: 1.25; }
.mini span { font-size: 12.5px; opacity: .9; margin-top: 6px; }
.mini i { position: absolute; right: 12px; bottom: 4px; font-style: normal; font-size: 56px; opacity: .9; }
.m1 { background: linear-gradient(135deg, #0f8a5f, #20b07a); }
.m2 { background: linear-gradient(135deg, #1b1f2a, #3a4255); }
.m2 .rate { font-size: 26px; font-weight: 800; color: #ffd84d; }

/* thanh cam kết */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.trust div { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 16px; display: flex; gap: 12px; align-items: center; }
.trust i { font-style: normal; font-size: 24px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--red-50); flex: none; }
.trust b { display: block; font-size: 13.5px; }
.trust span { font-size: 12px; color: var(--muted); }

/* khối nội dung */
.box { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 20px; margin-top: 16px; }
.box-h { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.box-h h3 { margin: 0; font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.box-h h3::before { content: ""; width: 5px; height: 22px; background: var(--red); border-radius: 3px; }
.box-h .all { margin-left: auto; color: var(--navy); font-weight: 700; font-size: 13px; }
.box .tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.box .tab { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 9px; padding: 7px 12px; font: inherit; font-weight: 600; font-size: 13px; cursor: pointer; color: var(--ink); }
.box .tab img { width: 18px; height: 18px; object-fit: contain; border-radius: 4px; }
.box .tab.on { border-color: var(--red); color: var(--red); background: var(--red-50); }
.desc { color: var(--muted); font-size: 13px; margin: -4px 0 14px; line-height: 1.55; }

.cats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 6px; border-radius: 12px; text-align: center; font-size: 12.5px; font-weight: 600; }
.cat i { font-style: normal; font-size: 30px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-50); transition: transform .2s; }
.cat:hover i { transform: translateY(-3px); background: var(--red-50); }

.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.grid .card { border: 1px solid var(--line); border-radius: 11px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.grid .card:hover { box-shadow: 0 8px 22px #0000001a; transform: translateY(-2px); }
.pic { position: relative; aspect-ratio: 1; background: #f1f2f4; }
.pic img.p { width: 100%; height: 100%; object-fit: cover; }
.src { position: absolute; left: 6px; top: 6px; background: #fffffff0; border-radius: 6px; padding: 2px 6px 2px 3px; display: flex; gap: 4px; align-items: center; font-size: 10.5px; font-weight: 700; }
.src img { width: 14px; height: 14px; object-fit: contain; border-radius: 3px; }
.badge-auc { position: absolute; right: 6px; top: 6px; background: var(--navy); color: #fff; border-radius: 6px; padding: 2px 7px; font-size: 10.5px; font-weight: 700; }
.sold { position: absolute; inset: 0; background: #0007; color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: 1px; }
.cb { padding: 9px 10px 11px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.ttl { font-size: 12.5px; line-height: 1.4; height: 35px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.vnd { color: var(--red); font-weight: 800; font-size: 15.5px; margin-top: 2px; }
.yen { color: var(--muted); font-size: 11.5px; }
.end { font-size: 11.5px; color: var(--navy); font-weight: 600; margin-top: auto; padding-top: 4px; }
.skel { background: linear-gradient(90deg, #eceef1 25%, #f6f7f9 50%, #eceef1 75%); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }

.split { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 14px; }
.promo { border-radius: 11px; color: #fff; padding: 22px 20px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100%; position: relative; overflow: hidden; }
.promo .ic { position: absolute; top: 14px; right: 14px; font-size: 64px; }
.promo b { font-size: 22px; line-height: 1.25; }
.promo span { font-size: 12.5px; opacity: .92; margin: 8px 0 14px; line-height: 1.5; }
.promo a { align-self: flex-start; background: #fff; color: var(--ink); font-weight: 700; padding: 8px 14px; border-radius: 9px; font-size: 13px; }
.split .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; }
.step { border: 1px dashed #c9d3e3; border-radius: 12px; padding: 16px; position: relative; }
.step::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 800; margin-bottom: 10px; }
.step b { display: block; margin-bottom: 4px; }
.step span { color: var(--muted); font-size: 12.5px; line-height: 1.5; }

.fee { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fee div { background: var(--navy-50); border-radius: 12px; padding: 16px; }
.fee b { font-size: 22px; color: var(--navy); display: block; margin: 4px 0; }
.fee span { font-size: 12.5px; color: var(--muted); }


.float { position: fixed; right: 16px; bottom: 90px; display: flex; flex-direction: column; gap: 10px; z-index: 30; }
.float a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; box-shadow: 0 4px 14px #0003; }
.f-call { background: var(--red); }
.f-fb { background: #1877f2; }
.f-zalo { background: #0068ff; font-weight: 800; font-size: 13px !important; }

body > .bnav { display: none; }

@media (max-width: 1100px) {
  .top { grid-template-columns: 210px minmax(0, 1fr); }
  .acc { grid-column: 1 / -1; }
  .tiles { grid-template-columns: repeat(6, 1fr); }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .split .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .icons a span { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 13.5px; }
  .strip .hide-m { display: none; }
  header .wrap { flex-wrap: wrap; height: auto; padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .logo img { height: 36px; }
  .icons { display: none; }
  .btn-home { margin-left: auto; padding: 8px 11px; font-size: 12px; }
  header .search { order: 3; flex-basis: 100%; height: 42px; }
  header .search select { max-width: 96px; font-size: 12px; padding: 0 6px; }
  header .search button { padding: 0 14px; }
  .top { grid-template-columns: minmax(0, 1fr); margin-top: 12px; }
  .side { display: none; }
  .slider { min-height: 250px; }
  .slide { padding: 22px 20px 34px; }
  .slide h2 { font-size: 23px; max-width: 70%; }
  .slide p { font-size: 12.5px; max-width: 72%; margin-bottom: 14px; }
  .slide .art { width: 120px; right: 12px; bottom: 34px; }
  .logos-art { grid-template-columns: repeat(2, 44px); gap: 7px; }
  .logos-art img { width: 44px; height: 44px; padding: 6px; }
  .logos-art img:nth-child(n+5) { display: none; }
  .big-art { font-size: 72px; }
  .dots { left: 20px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .mini { padding: 14px; min-height: 96px; }
  .mini b { font-size: 15px; }
  .mini i { font-size: 36px; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust div { padding: 10px; gap: 8px; }
  .trust i { width: 38px; height: 38px; font-size: 19px; }
  .trust b { font-size: 12.5px; }
  .trust span { font-size: 11px; }
  .box { padding: 14px 12px; border-radius: 10px; }
  .box-h h3 { font-size: 16.5px; }
  .box .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .box .tab { flex: none; }
  .cats { grid-template-columns: repeat(4, 1fr); gap: 4px; }
  .cat i { width: 52px; height: 52px; font-size: 24px; }
  .cat { font-size: 11.5px; padding: 8px 2px; }
  .grid, .split .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .promo { min-height: 160px; }
  .steps, .fee { grid-template-columns: 1fr 1fr; gap: 10px; }
  .float { bottom: 76px; right: 12px; }
  .float a { width: 42px; height: 42px; }
  body > .bnav { display: flex; position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); z-index: 40; padding-bottom: env(safe-area-inset-bottom); }
  body > .bnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10.5px; padding: 7px 0 6px; color: var(--muted); }
  body > .bnav a i { font-style: normal; font-size: 19px; }
  body > .bnav a.on { color: var(--red); font-weight: 700; }
}

/* ---------------------------------------------------------------- menu thông tin (03/11/2026) */
.menu-btn { display: none; border: 0; background: var(--navy-50); color: var(--navy); font-size: 20px; width: 40px; height: 40px; border-radius: 9px; cursor: pointer; flex: none; }
.mnav { background: var(--navy); }
.mnav .wrap { display: flex; gap: 2px; align-items: stretch; height: 42px; }
.mnav a { color: #e6edf9; font-weight: 600; font-size: 13.5px; padding: 0 13px; display: flex; align-items: center; white-space: nowrap; }
.mnav a:hover, .mnav a.on { background: #ffffff1f; color: #fff; }
.mnav a.on { box-shadow: inset 0 -3px 0 #ffd84d; }
.mnav .has-sub { position: relative; display: flex; }
.mnav .sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; border-radius: 0 0 10px 10px; box-shadow: 0 10px 24px #0002; min-width: 250px; padding: 6px; z-index: 30; }
.mnav .sub a { color: var(--ink); padding: 10px 12px; border-radius: 7px; height: auto; }
.mnav .sub a:hover { background: var(--navy-50); color: var(--navy); }
.mnav .has-sub:hover .sub { display: block; }

/* ---------------------------------------------------------------- tin tức */
.news { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.nc { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.nc:hover { box-shadow: 0 8px 22px #0000001a; transform: translateY(-2px); }
.nc .ni { aspect-ratio: 16 / 9; background: var(--navy-50) center / cover no-repeat; display: grid; place-items: center; font-size: 40px; }
.nc .nb { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.nc .nt { font-weight: 700; font-size: 15px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc .ne { color: var(--muted); font-size: 12.5px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nc .nm { margin-top: auto; display: flex; gap: 6px; align-items: center; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.nc .nm span { background: var(--red-50); color: var(--red); border-radius: 5px; padding: 1px 7px; font-weight: 600; }

/* ---------------------------------------------------------------- quy trình 6 bước (kiểu Ecoship) */
.qt-wrap { background: linear-gradient(120deg, #fde7ec, #e9f1ff 55%, #e2f7f4); padding: 30px 0 34px; margin-top: 22px; }
.qt-h { margin: 0 0 20px; font-size: 21px; font-weight: 800; }
.qt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 18px; }
.qt-i { position: relative; display: grid; grid-template-columns: 42% 1fr; background: #fff; border-radius: 16px; overflow: hidden; min-height: 170px; box-shadow: var(--shadow); }
.qt-n { position: absolute; left: 10px; top: 8px; z-index: 1; background: #fff; border-radius: 50%; width: 52px; height: 52px; display: grid; place-items: center; font-size: 22px; font-weight: 800;
  color: var(--red); box-shadow: 0 2px 8px #0001; }
.qt-i:nth-child(even) .qt-n { color: var(--navy); }
.qt-art { display: grid; place-items: center; font-size: 62px; }
.qt-t { padding: 18px 16px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.qt-t b { color: var(--navy); font-size: 16.5px; }
.qt-t span { font-size: 13px; line-height: 1.55; color: #3a4250; }

/* ---------------------------------------------------------------- trang thông tin / bài viết */
.page { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; margin-top: 16px; align-items: start; }
.crumb { font-size: 12.5px; color: var(--muted); margin: 14px 0 0; display: flex; gap: 6px; flex-wrap: wrap; }
.crumb a { color: var(--navy); }
.bai { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 26px 30px 30px; min-width: 0; }
.bai h1 { font-size: 27px; line-height: 1.3; margin: 0 0 8px; }
.bai .meta { color: var(--muted); font-size: 12.5px; margin-bottom: 18px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.bai .meta a { background: var(--red-50); color: var(--red); border-radius: 5px; padding: 1px 8px; font-weight: 600; }
.nd { font-size: 15px; line-height: 1.75; color: #262d38; overflow-wrap: anywhere; }
.nd h2 { font-size: 21px; margin: 26px 0 10px; color: var(--navy); }
.nd h3 { font-size: 18px; margin: 22px 0 8px; }
.nd h4 { font-size: 16px; margin: 18px 0 6px; }
.nd p { margin: 0 0 14px; }
.nd a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.nd img { max-width: 100%; height: auto; border-radius: 10px; display: block; margin: 12px auto; }
.nd figure { margin: 14px 0; }
.nd figcaption { text-align: center; font-size: 12.5px; color: var(--muted); }
.nd ul, .nd ol { padding-left: 22px; margin: 0 0 14px; }
.nd li { margin: 4px 0; }
.nd blockquote { border-left: 4px solid var(--red); background: var(--red-50); margin: 14px 0; padding: 10px 16px; border-radius: 0 10px 10px 0; }
.nd table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; display: block; overflow-x: auto; }
.nd th, .nd td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.nd th, .nd tr:first-child td { background: var(--navy-50); font-weight: 700; }
.nd iframe { width: 100%; min-height: 340px; border: 0; border-radius: 12px; }
.side-box { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; margin-bottom: 14px; }
.side-box h4 { margin: 0 0 10px; font-size: 15px; }
.side-box a.l { display: block; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; line-height: 1.45; }
.side-box a.l:last-child { border: 0; }
.side-box a.l:hover { color: var(--red); }
.side-cta { background: linear-gradient(160deg, var(--navy), var(--navy-d)); color: #fff; }
.side-cta p { margin: 0 0 12px; font-size: 13px; opacity: .92; line-height: 1.5; }
.side-cta a.b { display: block; text-align: center; background: #fff; color: var(--navy); font-weight: 700; padding: 10px; border-radius: 9px; margin-top: 8px; }
.list-h { display: flex; align-items: end; gap: 12px; flex-wrap: wrap; margin: 16px 0 12px; }
.list-h h1 { margin: 0; font-size: 26px; }
.cm-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.cm-tabs a { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 6px 14px; font-weight: 600; font-size: 13px; }
.cm-tabs a.on { border-color: var(--red); background: var(--red-50); color: var(--red); }
.news.big { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pager { display: flex; gap: 6px; justify-content: center; margin: 20px 0 6px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-weight: 600; padding: 0 10px; }
.pager span { background: var(--navy); color: #fff; border-color: var(--navy); }
.empty { background: #fff; border-radius: var(--r); padding: 40px; text-align: center; color: var(--muted); }

/* ---------------------------------------------------------------- chân trang kiểu Ecoship */
footer.ft { background: #fff; color: var(--ink); margin-top: 0; padding: 34px 0 0; border-top: 1px solid var(--line); }
footer.ft .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 26px; }
footer.ft h5 { color: var(--ink); font-size: 15px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .3px; }
footer.ft .ft-c > a { display: block; padding: 5px 0; color: #3a4250; font-size: 14px; }
footer.ft .ft-c > a:hover { color: var(--red); }
footer.ft .ft-brand img { height: 54px; margin-bottom: 8px; }
footer.ft .ft-brand p { color: var(--muted); font-size: 13px; margin: 0 0 12px; line-height: 1.5; }
.ft-r { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: 14px; line-height: 1.45; }
.ft-r i { font-style: normal; font-size: 18px; }
.ft-r small { display: block; color: var(--muted); font-size: 12px; }
.ft-soc { display: flex; gap: 10px; }
.ft-soc a { width: 44px; height: 44px; border-radius: 11px; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 14px; }
.ft-b { border-top: 1px solid var(--line); margin-top: 26px; padding: 14px 0 90px; color: var(--muted); font-size: 12.5px; }
footer.ft .ft-b .wrap { display: block; }

@media (max-width: 1100px) {
  .news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qt { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page { grid-template-columns: minmax(0, 1fr); }
  .mnav a { padding: 0 9px; font-size: 13px; }
  footer.ft .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .menu-btn { display: block; }
  header .wrap { position: relative; }
  .mnav { display: none; }
  body.menu-open .mnav { display: block; }
  .mnav .wrap { flex-direction: column; height: auto; padding: 6px 0; }
  .mnav a { padding: 11px 16px; }
  .mnav .has-sub { flex-direction: column; }
  .mnav .sub { position: static; box-shadow: none; background: #ffffff14; border-radius: 0; display: none; }
  .mnav .has-sub.open .sub { display: block; }
  .mnav .has-sub:hover .sub { display: none; }
  .mnav .has-sub.open:hover .sub { display: block; }
  .mnav .sub a { color: #e6edf9; padding-left: 30px; }
  .news, .news.big { grid-template-columns: minmax(0, 1fr); }
  .nc { flex-direction: row; }
  .nc .ni { width: 38%; aspect-ratio: auto; min-height: 96px; flex: none; }
  .nc .nb { padding: 10px 12px; }
  .nc .nt { font-size: 14px; }
  .qt { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .qt-i { min-height: 130px; grid-template-columns: 34% 1fr; }
  .qt-art { font-size: 44px; }
  .qt-n { width: 40px; height: 40px; font-size: 17px; left: 6px; top: 6px; }
  .bai { padding: 18px 16px 22px; }
  .bai h1 { font-size: 22px; }
  .nd { font-size: 14.5px; }
  .list-h h1 { font-size: 22px; }
  footer.ft .wrap { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
.ft-r a:hover { color: var(--red); }

/* trang khách (mercari.thplog.com/tai-khoan) lồng trong khung: dùng thanh dưới của trang khách */
body.pg-tai-khoan > .bnav { display: none !important; }
body.pg-tai-khoan main.tk-wrap { margin-top: 16px; min-height: 60vh; }
