/* ============================================================
   HỌC PHÍ — /hoc-phi  (dựng lại theo mockup full-page đã duyệt)
   Mockup: designs/redesign/hoc-phi-fullpage.html
   Token: home-pne.css. Tất cả class prefix hp- (tránh đè class trần).
   ============================================================ */

body.hp-page { background: var(--bg-soft); color: var(--text); }

.hp-wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.hp-sec { padding: 32px 0; }         /* #37: dồn các section gần nhau hơn (42→32) */
.hp-sec.tight { padding: 20px 0; }   /* #37: (28→20) */

/* Băng nền trắng xen kẽ */
.hp-alt { background: #fff; border-top: 1px solid var(--border-s); border-bottom: 1px solid var(--border-s); }

/* Đầu section */
.hp-shead { text-align: center; max-width: 680px; margin: 0 auto 26px; }
.hp-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--red-light); color: var(--red);
  font: 800 12px var(--ff); letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 999px; margin-bottom: 12px;
}
.hp-shead h2 { font-size: clamp(22px, 2.6vw, 26px); font-weight: 800; letter-spacing: -.5px; }
.hp-shead p { color: var(--text-2); font-size: 14.5px; margin-top: 7px; }

/* ── HERO ─────────────────────────────────────────────── */
.hp-hero {
  background: linear-gradient(170deg, #FFF6F6, #fff 65%);
  border-bottom: 1px solid var(--border-s);
  padding: 46px 0 38px; text-align: center;
}
.hp-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--red); font: 800 12.5px var(--ff);
  letter-spacing: .08em; text-transform: uppercase;
}
.hp-badge { background: var(--gold); color: #5F4800; border-radius: 6px; padding: 2px 8px; font-size: 11px; }
.hp-hero h1 { font-size: clamp(28px, 4vw, 39px); font-weight: 800; letter-spacing: -1px; line-height: 1.12; margin: 14px 0 12px; }
.hp-hero h1 em { color: var(--red); font-style: normal; }
.hp-hero .sub { font-size: 16px; color: var(--text-2); max-width: 560px; margin: 0 auto; }

/* ── #40 TẶNG KÈM (desktop chip / mobile lưới 3 ô) + ƯU ĐÃI (lưới 3 cột / mobile 1 cột) ────── */
/* TẶNG KÈM desktop — dải chip tên (icon check xanh + tên) */
.hp-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--border-s); border-radius: 16px; padding: 14px 18px; box-shadow: var(--sh-xs); }
.hp-strip.inc { background: linear-gradient(120deg, #FFFBF0, #fff); border-color: #FFF3C4; }
.hp-slbl { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; white-space: nowrap; }
.hp-slbl i { color: var(--red); font-size: 19px; }
.hp-slbl-sub { font-weight: 500; color: var(--text-2); font-size: 12.5px; }
.hp-sitems { display: flex; gap: 7px; flex-wrap: wrap; flex: 1; min-width: 0; }
.hp-gchip { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #F1E6C0; border-radius: 999px; padding: 6px 13px; font-size: 12.5px; font-weight: 700; }
.hp-gchip i { color: var(--green); font-size: 15px; flex: none; }         /* icon check (xanh success) */

/* TẶNG KÈM mobile — khối cố định 3 ô icon tròn (ẩn ở desktop) */
.hp-tk-m { display: none; border: 1px solid #FFF3C4; border-radius: 16px; padding: 13px 15px; background: linear-gradient(120deg, #FFFBF0, #fff); box-shadow: var(--sh-xs); }
.hp-tkm-h { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; padding-bottom: 10px; margin-bottom: 8px; border-bottom: 1px dashed #F1E6C0; }
.hp-tkm-h i { color: var(--red); font-size: 18px; }
.hp-inc-mob { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.hp-m3 { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 8px 4px; text-decoration: none; color: inherit; }
.hp-m3ic { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--red-light); color: var(--red); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.hp-m3 b { font-size: 11.5px; font-weight: 800; color: var(--text); line-height: 1.25; }
.hp-m3s { font-size: 10px; color: var(--text-2); }

/* ƯU ĐÃI — lưới 3 cột (desktop) → 1 cột (mobile). Giữ $isRef link ngoài + $gold chip vàng. */
.hp-bon { background: #fff; border: 1px solid var(--border-s); border-radius: 16px; padding: 14px 18px; box-shadow: var(--sh-xs); }
.hp-bon-h { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; margin-bottom: 12px; flex-wrap: wrap; }
.hp-bon-h i { color: var(--red); font-size: 19px; }
.hp-bon-sub { font-weight: 500; color: var(--text-2); font-size: 12.5px; }
.hp-bon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hp-bon-i { display: flex; align-items: center; gap: 11px; background: var(--bg-soft); border: 1px solid var(--border-s); border-radius: 12px; padding: 11px 13px; text-decoration: none; color: inherit; }
.hp-bon-i.ref { background: linear-gradient(120deg, #FFFBF0, #fff); border-color: #FFF3C4; }
.hp-bon-ic { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--red-light); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.hp-bon-ic.gold { background: #FFF3C4; color: #7C6500; }
.hp-bon-tx { flex: 1; min-width: 0; }
.hp-bon-tx b { font-size: 12.5px; font-weight: 800; display: flex; align-items: center; gap: 5px; }
.hp-bon-tx b i { font-size: 12px; color: var(--text-3); }                  /* icon link-ngoài nhỏ, nhạt */
.hp-bon-tx span { font-size: 11px; color: var(--text-2); display: block; line-height: 1.35; }
.hp-bon-v { font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; flex: none; background: var(--red-light); color: var(--red-deep); }
.hp-bon-v.gold { background: var(--gold); color: #5F4800; }

/* ── MÁY TÍNH LỘ TRÌNH ────────────────────────────────── */
/* (#2) Mặc định ĐÓNG — dải gọn bấm mở. Giữ eyebrow riêng; tiêu đề + mô tả 1 dòng nằm trong dải. */
.hp-shead-min { margin-bottom: 12px; }
.hp-calc-toggle { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: #fff; border: 1px solid var(--border-s); border-radius: 16px; padding: 13px 18px; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.hp-calc-toggle:hover, .hp-calc-toggle.open { border-color: var(--red); box-shadow: 0 4px 16px rgba(209, 32, 38, .08); }
.hp-ctg-ic { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 12px; background: var(--red-light); color: var(--red); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.hp-ctg-tx { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hp-ctg-tx b { font-size: 16px; font-weight: 800; color: var(--text); }
.hp-ctg-tx span { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hp-ctg-act { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; font-weight: 800; font-size: 13.5px; color: var(--red); white-space: nowrap; }
.hp-ctg-act i { font-size: 17px; }
/* Mặc định ĐÓNG: ẩn công cụ; có class .calc-open (JS thêm khi bấm) thì hiện. */
.hp-calc-sec .hp-calc { display: none; }
.hp-calc-sec.calc-open .hp-calc { display: grid; margin-top: 14px; }
.hp-calc {
  background: #fff; border: 1px solid var(--border-s); border-radius: 20px;
  padding: 28px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 26px;
  box-shadow: var(--sh-s);
}
.hp-cf { margin-bottom: 15px; }
.hp-cf .lb { font: 800 12px var(--ff); color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.hp-seg { display: flex; flex-wrap: wrap; gap: 7px; }
.hp-seg button {
  font-family: var(--ff); border: 1px solid var(--border-s); background: #fff; color: var(--text);
  font-weight: 600; font-size: 13px; padding: 8px 13px; border-radius: 9px; cursor: pointer; transition: .15s;
}
.hp-seg button.on { background: var(--red); color: #fff; border-color: var(--red); }
.hp-seg.pace button.on { background: var(--gold); color: #5F4800; border-color: var(--gold); }
.hp-calc-r { background: linear-gradient(160deg, #FFF6F6, #fff); border: 1px solid var(--red-light); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; }
.hp-calc-r .k { font-size: 11.5px; color: var(--text-2); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.hp-calc-path { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 7px 0 15px; min-height: 26px; }
.hp-calc-path span { background: #fff; border: 1px solid var(--border-s); border-radius: 7px; padding: 3px 9px; font-weight: 700; font-size: 12.5px; }
.hp-calc-path i { color: var(--text-2); font-size: 13px; }
.hp-calc-row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-top: 1px dashed var(--border-s); font-size: 13.5px; }
.hp-calc-row .v { font-weight: 800; }
.hp-calc-row.orig .v { color: var(--text-2); text-decoration: line-through; font-weight: 600; }
.hp-calc-row.final .v { font-size: 23px; color: var(--red); }
.hp-calc-save { margin-top: 12px; background: var(--green-bg); color: var(--green); font-weight: 800; font-size: 14px; text-align: center; padding: 10px; border-radius: 11px; }
/* (#17B) Khối vàng gợi ý combo rẻ hơn — nền vàng nhạt, badge xanh "rẻ hơn", nút đỏ "Xem combo này" */
.hp-calc-combo { margin-top: 12px; background: var(--amber-bg); border: 1px solid var(--gold); border-radius: 14px; padding: 14px; }
.hp-cc-t { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13.5px; color: var(--amber); margin-bottom: 9px; }
.hp-cc-t i { font-size: 17px; }
.hp-cc-name { font-weight: 900; font-size: 15.5px; color: var(--text); margin-bottom: 3px; }
.hp-cc-pr { display: flex; align-items: baseline; flex-wrap: wrap; gap: 9px; margin-bottom: 9px; }
.hp-cc-price { font-size: 21px; font-weight: 900; color: var(--text); }
.hp-cc-cheaper { font-size: 12px; font-weight: 800; color: var(--green); background: var(--green-bg); border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.hp-cc-btn { display: block; width: 100%; text-align: center; background: var(--red); color: #fff; font-weight: 800; font-size: 13.5px; border: none; border-radius: 10px; padding: 11px; cursor: pointer; }
.hp-cc-btn:hover { background: var(--red-deep); }
.hp-cb-hl { animation: hpCbHl 2.6s ease; }
@keyframes hpCbHl { 0%, 100% { box-shadow: 0 0 0 0 rgba(209, 32, 38, 0); } 15%, 60% { box-shadow: 0 0 0 4px rgba(209, 32, 38, .4); } }
.hp-calc-note { grid-column: 1/-1; color: var(--text-2); font-size: 12px; border-top: 1px solid var(--border-s); padding-top: 13px; }
/* CTA sau kết quả calculator */
/* (#3) LUẬT: mỗi lần CHỈ 1 nút đỏ đặc trong cột kết quả.
   - KHÔNG combo (mặc định): "Xem lớp phù hợp" = nút đỏ đặc; "Nhận tư vấn" = LINK CHỮ.
   - CÓ combo (.has-combo): nút đỏ đặc DUY NHẤT là "Xem combo này" (trong khối vàng);
     "Xem lớp phù hợp" + "Nhận tư vấn" → 2 LINK CHỮ ngang hàng, ngăn bằng "·". */
.hp-calc-cta { display: flex; flex-direction: column; align-items: stretch; gap: 9px; margin-top: 14px; }
.hp-cta-go { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font: 800 14px var(--ff); padding: 12px 14px; border-radius: 11px; text-decoration: none; background: var(--red); color: #fff; transition: .15s; }
.hp-cta-go:hover { background: var(--red-deep); }
/* "Nhận tư vấn" LUÔN là link chữ — không nền, không viền */
.hp-cta-line { display: inline-flex; align-items: center; justify-content: center; gap: 5px; font: 700 13px var(--ff); color: var(--text-2); text-decoration: none; padding: 4px; }
.hp-cta-line i { color: var(--red); font-size: 15px; }
.hp-cta-line:hover { color: var(--red); }
/* CÓ combo → 2 mục thành link chữ ngang hàng, "·" ngăn cách */
.hp-calc-cta.has-combo { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; }
.hp-calc-cta.has-combo .hp-cta-go { background: none; color: var(--text-2); font: 700 13px var(--ff); padding: 4px; border-radius: 0; }
.hp-calc-cta.has-combo .hp-cta-go:hover { background: none; color: var(--red); }
.hp-calc-cta.has-combo .hp-cta-go i { color: var(--red); font-size: 15px; }
.hp-calc-cta.has-combo .hp-cta-go::after { content: "·"; margin-left: 8px; color: var(--text-3); font-weight: 700; }

/* ── BẢNG HỌC PHÍ ─────────────────────────────────────── */
.hp-ptcard { background: #fff; border: 1px solid var(--border-s); border-radius: 16px; overflow: hidden; }
table.hp-pt { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.hp-pt thead th { background: var(--bg-soft); color: var(--text-2); font: 800 11px var(--ff); letter-spacing: .05em; text-transform: uppercase; text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--border-s); }
.hp-pt thead th small { display: block; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--text-3); margin-top: 2px; font-size: 10.5px; }
.hp-pt th.num, .hp-pt td.num { text-align: right; }
.hp-pt tr.lvl td { background: var(--red-light); padding: 10px 14px; border-top: 2px solid #fff; }
.hp-pt tr.lvl b { font-weight: 800; font-size: 14px; color: var(--red-deep); }
.hp-pt tbody td { padding: 12px 14px; border-bottom: 1px solid var(--border-s); vertical-align: middle; }
.hp-pt .cls b { font-size: 13.5px; }
.hp-pt .cls .pace { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 11px; padding: 2px 8px; border-radius: 999px; margin-left: 6px; background: var(--gold); color: #5F4800; }
.hp-pt .cls span.cad { display: block; color: var(--text-2); font-size: 11.5px; margin-top: 3px; }
.hp-pt td.price { font-weight: 800; white-space: nowrap; }
.hp-pt td.dsc { color: var(--green); font-weight: 800; white-space: nowrap; }
.hp-pt-foot { color: var(--text-2); font-size: 12.5px; margin-top: 14px; text-align: center; }

/* (Ưu đãi cộng dồn: dùng chung .hp-strip ở trên — #37 gộp 2 khối thành dải ngang) */

/* ── COMBO (gói lộ trình) ─────────────────────────────── */
.hp-combos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.hp-cb { position: relative; background: #fff; border: 1px solid var(--border-s); border-radius: 18px; padding: 26px 22px 24px; display: flex; flex-direction: column; }
.hp-cb.hot { border: 2px solid var(--red); box-shadow: 0 18px 44px rgba(209, 32, 38, .13); }
.hp-cb-flag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--red); color: #fff; font: 800 11px var(--ff); letter-spacing: .05em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap; }
.hp-cb-flag.soft { background: #fff; color: var(--red); border: 1.5px solid var(--red); }
.hp-cb-name { font-size: 20px; font-weight: 800; color: var(--red); letter-spacing: -.3px; }
.hp-cb-levels { display: flex; flex-wrap: wrap; gap: 5px; margin: 12px 0 14px; }
.hp-cb-lv { background: #F3F4F6; color: var(--text); font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 7px; }
.hp-cb-lv.exam { background: #FFF3C4; color: #7C6500; }
.hp-cb-tag { color: var(--text-2); font-size: 13.5px; min-height: 42px; }
.hp-cb-tag b { color: var(--text); }
.hp-cb-rows { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--border-s); display: flex; flex-direction: column; gap: 9px; }
.hp-cb-row { display: flex; align-items: center; gap: 9px; font-size: 13.5px; }
.hp-cb-row i { color: var(--red); font-size: 17px; flex: none; }
.hp-cb-row b { font-weight: 800; }
.hp-cb-price { margin-top: 18px; }
.hp-cb-old { color: var(--text-2); text-decoration: line-through; font-size: 13.5px; }
.hp-cb-new { font-size: 27px; font-weight: 900; color: var(--red); letter-spacing: -.5px; line-height: 1.1; }
.hp-cb-save { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; background: var(--red-light); color: var(--red-deep); font-weight: 700; font-size: 12.5px; padding: 4px 11px; border-radius: 999px; }
.hp-cb-foot { margin-top: auto; padding-top: 18px; }
.hp-cb-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; background: var(--red); color: #fff; font-weight: 700; font-size: 14.5px; padding: 12px; border-radius: 11px; text-decoration: none; border: 1px solid var(--red); }
.hp-cb.plain .hp-cb-btn { background: #fff; color: var(--red); }
.hp-cb-adv { margin-top: 18px; background: linear-gradient(120deg, #fff, #FFF7F7); border: 1px solid var(--border-s); border-radius: 16px; padding: 20px 24px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hp-cb-adv .ai { width: 50px; height: 50px; border-radius: 13px; background: var(--red-light); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 26px; flex: none; }
.hp-cb-adv .at { flex: 1; min-width: 230px; }
.hp-cb-adv .at b { font-size: 16px; font-weight: 800; }
.hp-cb-adv .at span { display: block; color: var(--text-2); font-size: 13.5px; margin-top: 2px; }
.hp-cb-adv .ap { font-weight: 800; color: var(--red); font-size: 15px; white-space: nowrap; }
.hp-cb-adv .abtn { background: var(--red); color: #fff; font-weight: 700; font-size: 13.5px; padding: 10px 18px; border-radius: 10px; text-decoration: none; white-space: nowrap; }

/* ── KHOÁ THIẾT KẾ RIÊNG — list hàng ──────────────────── */
.hp-sp-list { display: flex; flex-direction: column; gap: 10px; }
.hp-sp-r { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--border-s); border-radius: 14px; padding: 16px 20px; }
.hp-sp-r .ic { width: 44px; height: 44px; border-radius: 11px; background: var(--red-light); color: var(--red); display: flex; align-items: center; justify-content: center; font-size: 22px; flex: none; }
.hp-sp-r .tx { flex: 1; min-width: 180px; }
.hp-sp-r .tx b { font-size: 14.5px; font-weight: 800; }
.hp-sp-r .tx span { display: block; color: var(--text-2); font-size: 12.5px; margin-top: 2px; }
.hp-sp-r .pr { font-weight: 700; font-size: 13px; color: var(--red-deep); white-space: nowrap; }
.hp-sp-r a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 13px; color: #fff; background: var(--red); padding: 9px 15px; border-radius: 9px; text-decoration: none; white-space: nowrap; }

/* ── CTA cuối ─────────────────────────────────────────── */
.hp-endcta { background: linear-gradient(160deg, #FFF6F6, #fff); border: 1px solid var(--red-light); border-radius: 18px; padding: 30px; text-align: center; max-width: 780px; margin: 0 auto; }
.hp-endcta i.lead { font-size: 34px; color: var(--red); }
.hp-endcta b { display: block; font-size: 19px; font-weight: 800; margin: 10px 0 5px; }
.hp-endcta p { color: var(--text-2); font-size: 14.5px; max-width: 520px; margin: 0 auto 18px; }
.hp-endcta .acts { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hp-endcta .b1 { background: var(--red); color: #fff; font-weight: 700; font-size: 14.5px; padding: 12px 22px; border-radius: 11px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.hp-endcta .b2 { background: #fff; border: 1px solid var(--border-s); color: var(--text); font-weight: 700; font-size: 14.5px; padding: 12px 22px; border-radius: 11px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }

/* ── MOBILE ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hp-combos { grid-template-columns: 1fr; }
  .hp-calc { grid-template-columns: 1fr; }
  .hp-ptcard { overflow-x: auto; }
  table.hp-pt { min-width: 680px; }
  .hp-sp-r { flex-wrap: wrap; }
  .hp-sp-r a { width: 100%; justify-content: center; }
  /* #138B: nút "Xem khoá" (3 thẻ Khoá thiết kế riêng) → OUTLINE trắng viền đỏ (bớt nút đỏ đặc trên mobile,
     nhường điểm nhấn cho CTA combo + "Đăng ký tư vấn"). CHỈ mobile; desktop giữ đỏ. Token của .cmb-cta,
     GIỮ padding/border-radius → không vỡ layout. */
  .hp-sp-r a { background: var(--bg); color: var(--red); border: 1.5px solid var(--red); }
  .hp-sp-r a:hover { background: var(--red-light); }
  .hp-bon-grid { grid-template-columns: 1fr 1fr; }   /* #40 tablet: ưu đãi 2 cột */
}

/* ── Bản THẺ DỌC học phí cho MOBILE (ẩn ở desktop) — port hoc-phi-mobile-cards.html ── */
.hp-pt-mobile { display: none; }
.hp-mlv { display: flex; align-items: center; gap: 9px; margin: 18px 2px 10px; }
.hp-mlv:first-child { margin-top: 4px; }
.hp-mlv-badge { background: var(--red); color: #fff; font-weight: 800; font-size: 13px; padding: 3px 11px; border-radius: 8px; }
.hp-mlv-name { font-weight: 800; font-size: 15px; color: var(--text); }
.hp-mpc { background: #fff; border: 1px solid var(--border-s); border-radius: 16px; padding: 15px 15px 14px; margin-bottom: 12px; box-shadow: var(--sh-xs); }
.hp-mpc-top { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hp-mpc-nm { font-size: 15px; font-weight: 800; }
.hp-mpc-pace { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 11px; padding: 2px 9px; border-radius: 999px; }
.hp-mpc-pace.fast { background: var(--gold); color: #5F4800; }
.hp-mpc-pace.norm { background: #EEF1F4; color: #475160; }
.hp-mpc-meta { display: flex; flex-wrap: wrap; gap: 5px 14px; margin-top: 8px; color: var(--text-2); font-size: 12px; }
.hp-mpc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.hp-mpc-meta i { color: var(--red); font-size: 14px; }
.hp-mpc-orig { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 11px; border-top: 1px dashed var(--border-s); }
.hp-mpc-orig .k { font-size: 12px; color: var(--text-2); font-weight: 600; }
.hp-mpc-orig .v { font-size: 17px; font-weight: 900; }
.hp-mpc-disc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 11px; }
.hp-mdb { border: 1px solid var(--border-s); border-radius: 11px; padding: 9px 11px; }
.hp-mdb .t { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; display: flex; align-items: center; gap: 5px; }
.hp-mdb .t i { font-size: 13px; }
.hp-mdb .s { font-size: 10px; color: var(--text-2); margin-top: 1px; }
.hp-mdb .p { font-size: 15px; font-weight: 900; color: var(--green); margin-top: 4px; }
.hp-mdb.off .t, .hp-mdb.off .t i { color: #475160; }
/* #40: thẻ giá Online mobile BỎ nền/viền/chữ xanh — cho giống Offline (giá .p giữ nguyên). */
.hp-mdb.on { background: #fff; border-color: var(--border-s); }
.hp-mdb.on .t, .hp-mdb.on .t i { color: #475160; }

/* Ngưỡng ~820px: desktop = bảng; mobile = thẻ dọc */
@media (max-width: 820px) {
  .hp-ptcard { display: none; }
  .hp-pt-mobile { display: block; }
}

/* ═══ (#10 MOBILE ≤640px) ẩn máy tính chi phí — DESKTOP KHÔNG ĐỔI ═══ */
@media (max-width: 640px) {
  .hp-calc-sec { display: none; }                                  /* ẩn máy tính chi phí trên mobile */
  /* #40: Tặng kèm đổi dải chip → khối 3 ô icon · Ưu đãi 3 cột → 1 cột */
  .hp-tk-d { display: none; }
  .hp-tk-m { display: block; }
  .hp-bon-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   #32 — COMBO HỌC PHÍ (bám mockup hoc-phi-combo-v2-data-that.html · prefix cmb-)
   Chỉ token home-pne.css. Vàng --gold-soft CHỈ cho chip "Luyện thi B1" (dịch vụ Đức).
   ═══════════════════════════════════════════════════════════════════════════ */
.cmb-head { text-align: center; margin-bottom: 36px; }
.cmb-sub { color: var(--text-2); font-size: 16px; max-width: 600px; margin: 0 auto 16px; line-height: 1.6; }
.cmb-cond { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-alt); border: 1px solid var(--border-s); border-radius: 999px; padding: 9px 16px; text-align: left; }
.cmb-cond i { flex: 0 0 auto; color: var(--text-2); font-size: 16px; }
.cmb-cond p { font-size: 13px; line-height: 1.45; color: var(--text-2); }
@media (max-width: 640px) { .cmb-cond { border-radius: var(--r-m); align-items: flex-start; } }

.cmb-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 22px; align-items: stretch; }
@media (max-width: 980px) { .cmb-grid { grid-template-columns: 1fr; } }

.cmb-card { background: var(--bg); border: 1px solid var(--border-s); border-radius: var(--r-l); padding: 30px 28px 26px; box-shadow: var(--sh-xs); position: relative; display: flex; flex-direction: column; }
.cmb-card--hot { border: 2px solid var(--red); box-shadow: var(--sh-m); }
.cmb-tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 6px 15px; border-radius: 999px; box-shadow: var(--sh-red); }

.cmb-top { text-align: center; }
.cmb-name { font-size: 25px; font-weight: 800; letter-spacing: -.015em; color: var(--red); margin-bottom: 14px; }
.cmb-levels { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-bottom: 16px; }
.cmb-lv { background: var(--bg-alt); border: 1px solid var(--border-s); border-radius: var(--r-s); padding: 5px 11px; font-size: 13px; font-weight: 700; color: var(--text); }
.cmb-lv--de { background: var(--gold-soft); border-color: var(--gold); color: var(--gold-deep); }
.cmb-note { color: var(--text-2); font-size: 14.5px; line-height: 1.6; margin-bottom: 20px; min-height: 46px; }

/* Công tắc hình thức — CHỈ thẻ có 2 dòng (nhom) mới BẤM ĐƯỢC */
.cmb-switch { display: flex; gap: 3px; background: var(--bg-alt); border: 1px solid var(--border-s); border-radius: 999px; padding: 3px; margin-bottom: 20px; }
.cmb-switch button { flex: 1; border: 0; background: transparent; font-family: var(--ff); font-size: 13px; font-weight: 700; color: var(--text-2); padding: 9px 6px; border-radius: 999px; cursor: pointer; transition: .15s; white-space: nowrap; }
.cmb-switch button[aria-pressed="true"] { background: var(--red); color: #fff; }

/* Thẻ 1 hình thức → NHÃN nền xám, KHÔNG đỏ, KHÔNG bấm được */
.cmb-mode { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; background: var(--bg-alt); border: 1px solid var(--border-s); border-radius: var(--r-m); padding: 10px 14px; margin-bottom: 20px; font-size: 13px; font-weight: 700; color: var(--text-2); min-height: 46px; }
.cmb-mode-t { display: inline-flex; align-items: center; gap: 8px; }
.cmb-mode-t i { flex: 0 0 auto; color: var(--text-3); font-size: 16px; }

.cmb-perks { list-style: none; border-top: 1px dashed var(--border-s); padding-top: 18px; margin-bottom: 22px; flex: 1; }
.cmb-perks li { display: flex; align-items: flex-start; gap: 11px; font-size: 14.5px; line-height: 1.55; padding: 7px 0; color: var(--text); }
.cmb-perks i { flex: 0 0 auto; margin-top: 1px; color: var(--red); font-size: 18px; }

.cmb-price { margin-bottom: 18px; text-align: center; }
.cmb-goc { font-size: 14px; color: var(--text-3); text-decoration: line-through; margin-bottom: 3px; }
.cmb-now { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: var(--red); line-height: 1.1; }
.cmb-save { display: inline-flex; align-items: center; gap: 6px; background: var(--red-light); color: var(--red-deep); font-size: 13px; font-weight: 700; padding: 6px 13px; border-radius: 999px; margin-top: 11px; }
.cmb-save i { flex: 0 0 auto; }

.cmb-cta { display: block; width: 100%; text-align: center; font-family: var(--ff); font-size: 15px; font-weight: 700; padding: 14px; border-radius: 999px; border: 1.5px solid var(--red); color: var(--red); background: var(--bg); cursor: pointer; transition: .15s; text-decoration: none; margin-top: auto; }
.cmb-cta:hover { background: var(--red-light); }
.cmb-cta--solid { background: var(--red); color: #fff; box-shadow: var(--sh-red); }
.cmb-cta--solid:hover { background: var(--red-deep); }

.cmb-foot { text-align: center; margin-top: 28px; font-size: 13.5px; color: var(--text-2); line-height: 1.7; }
.cmb-foot a { color: var(--red); font-weight: 600; }
.cmb-foot small { display: block; color: var(--text-3); font-size: 12.5px; margin-top: 6px; }
.cmb-card [hidden] { display: none !important; }
/* Thẻ ĐÍCH khi tới từ "Xem combo này": vòng đỏ nổi RÕ + phóng nhẹ, giữ ~2.4s rồi tan.
   Mạnh hơn viền đỏ cố định của thẻ "Phổ biến nhất" để mắt đáp đúng thẻ. */
.cmb-card-hl { animation: cmb-pop 2.8s ease both; position: relative; z-index: 3; }
@keyframes cmb-pop {
  0%   { outline: 0 solid transparent; outline-offset: 0; transform: scale(1);    box-shadow: var(--sh-xs); }
  10%  { outline: 4px solid var(--red); outline-offset: 4px; transform: scale(1.025); box-shadow: var(--sh-red); }
  80%  { outline: 4px solid var(--red); outline-offset: 4px; transform: scale(1.025); box-shadow: var(--sh-red); }
  100% { outline: 0 solid transparent; outline-offset: 0; transform: scale(1);    box-shadow: var(--sh-xs); }
}
/* Các thẻ KHÔNG được chọn — mờ tạm khi nhảy tới thẻ đích, để viền đỏ cố định không cạnh tranh. */
.cmb-card--dim { opacity: .38; filter: saturate(.65); transition: opacity .25s ease, filter .25s ease; }

/* #126: nút hình thức học phí (segmented online/offline) ≥44px vùng chạm trên mobile. */
@media (max-width: 900px) {
  .hp-seg button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
}
