/* ════════════════════════════════════════════════════════════════
   NDGROUP GOLD — lớp giao diện v13 (nạp sau cùng)
   Khung tối (header, sidebar, hero, footer) + nền nội dung sáng ấm,
   một màu nhấn vàng gradient. Mọi selector có tiền tố .ndg13 để thắng
   các CSS cũ in trực tiếp trong template.
   ════════════════════════════════════════════════════════════════ */

body.ndg13 {
  --g-black: #0b0b0d;
  --g-ink: #131317;
  --g-ink-2: #1b1b21;
  --g-line-d: rgba(255, 255, 255, .09);
  --g-gold: #ffc61a;
  --g-gold-2: #ff9f0a;
  --g-grad: linear-gradient(135deg, #ffe58a 0%, #ffc61a 45%, #ff9f0a 100%);
  --g-gold-text: #a15c00;
  --g-canvas: #f5f4ef;
  --g-card: #ffffff;
  --g-line: #e8e5dc;
  --g-text: #16161a;
  --g-muted: #6b6b74;
  --g-green: #12a150;
  --g-red: #e5484d;
  --g-shadow: 0 1px 2px rgba(20, 18, 10, .04), 0 8px 24px rgba(20, 18, 10, .06);
  --g-shadow-h: 0 2px 4px rgba(20, 18, 10, .05), 0 18px 40px rgba(20, 18, 10, .12);
  /* các nút cũ chữ trắng (trước là cyan→xanh/tím) → đen than */
  --cta-grad: linear-gradient(135deg, #2a2a31 0%, #0b0b0d 100%);

  /* remap token cũ */
  --bg: var(--g-canvas);
  --bg-card: var(--g-card);
  --bg-hover: #f0eee7;
  --text: var(--g-text);
  --muted: var(--g-muted);
  --border: var(--g-line);
  --cyan: var(--g-gold-text);
  --cyan-dim: rgba(255, 198, 26, .14);
  --cyan-glow: rgba(255, 198, 26, .28);
  --border-glow: rgba(255, 198, 26, .5);
  --hot: #ef6a00;
  --shadow-sm: var(--g-shadow);
  --shadow-md: var(--g-shadow-h);

  background: var(--g-canvas) !important;
  color: var(--g-text) !important;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.ndg13 ::selection { background: #ffe58a; color: #111; }
.ndg13 a { color: var(--g-gold-text); }
.ndg13 :focus-visible { outline: 2px solid var(--g-gold); outline-offset: 2px; }

/* ── HEADER ─────────────────────────────────────────────── */
.ndg13 .mlv-header {
  background: rgba(11, 11, 13, .9) !important;
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--g-line-d) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .18) !important;
}
.ndg13 .mlv-logo, .ndg13 .mlv-logo span { color: #fff !important; font-weight: 800; letter-spacing: -.2px; }
.ndg13 .mlv-nav a { color: #cfcfd6 !important; font-weight: 600; border-radius: 999px; }
.ndg13 .mlv-nav a:hover, .ndg13 .mlv-nav a.current-menu-item { color: var(--g-gold) !important; background: rgba(255, 198, 26, .08) !important; }
.ndg13 .mlv-nav a.current-menu-item::after { background: var(--g-gold) !important; }
/* Màn hình vừa: logo không bị menu đè */
.ndg13 .mlv-logo { flex-shrink: 0; }
.ndg13 .mlv-nav { min-width: 0; overflow: hidden; flex-wrap: nowrap; mask-image: linear-gradient(90deg, #000 92%, transparent); }
@media (max-width: 1440px) { .ndg13 .hdr-quick-meta, .ndg13 .hdr-user-label { display: none !important; } }
@media (max-width: 1280px) { .ndg13 .ext-link-guide .ext-text { display: none !important; } }
.ndg13 .menu-toggle-mobile { color: #fff !important; background: transparent !important; border-color: var(--g-line-d) !important; }
.ndg13 .ext-link-guide {
  background: transparent !important; color: var(--g-gold) !important;
  border: 1px solid rgba(255, 198, 26, .45) !important; box-shadow: none !important; border-radius: 999px !important;
}
.ndg13 .ext-link-guide:hover { background: rgba(255, 198, 26, .1) !important; }
.ndg13 .hdr-cart-btn, .ndg13 .hdr-quick-link, .ndg13 .hdr-owned-btn {
  background: var(--g-ink-2) !important; border: 1px solid var(--g-line-d) !important; color: #fff !important; box-shadow: none !important;
}
.ndg13 .hdr-cart-btn:hover, .ndg13 .hdr-quick-link:hover { border-color: rgba(255, 198, 26, .5) !important; }
.ndg13 .hdr-quick-title { color: #fff !important; }
.ndg13 .hdr-quick-meta { color: #9d9da6 !important; }
.ndg13 .hdr-quick-icon { background: rgba(255, 198, 26, .12) !important; color: var(--g-gold) !important; }
.ndg13 .hdr-cart-badge { background: var(--g-grad) !important; color: #111 !important; }
.ndg13 .hdr-user-btn { background: var(--g-ink-2) !important; border-color: var(--g-line-d) !important; color: #fff !important; }
.ndg13 .hdr-user-label { color: #9d9da6 !important; }
.ndg13 .hdr-uname { color: #fff !important; }
.ndg13 .hdr-avatar, .ndg13 .hdr-menu-avatar { background: var(--g-grad) !important; color: #111 !important; }
.ndg13 .btn-auth {
  background: var(--g-grad) !important; color: #111 !important; border: 0 !important;
  border-radius: 999px !important; font-weight: 800 !important; box-shadow: 0 6px 18px rgba(255, 170, 0, .25) !important;
}

/* ── SIDEBAR ────────────────────────────────────────────── */
.ndg13 .mlv-sidebar {
  background: #0f0f12 !important;
  border-right: 1px solid var(--g-line-d) !important;
  box-shadow: none !important;
}
.ndg13 .mlv-sidebar::-webkit-scrollbar-thumb { background: #2a2a31; }
.ndg13 .sb-section-label { color: #6b6b74 !important; letter-spacing: 1.2px; }
.ndg13 .sb-section-label::before { background: var(--g-gold) !important; }
.ndg13 .sb-nav-menu li a {
  color: #c9c9d1 !important; background: transparent !important;
  border: 1px solid transparent !important; box-shadow: none !important;
}
.ndg13 .sb-nav-menu li a::before { display: none !important; }
.ndg13 .sb-nav-menu li a:hover { background: rgba(255, 255, 255, .05) !important; color: #fff !important; }
.ndg13 .sb-nav-menu li a.active-sb,
.ndg13 .sb-nav-menu li.current-menu-item > a {
  background: linear-gradient(90deg, rgba(255, 198, 26, .16), rgba(255, 198, 26, .04)) !important;
  border-color: rgba(255, 198, 26, .28) !important;
  color: var(--g-gold) !important; font-weight: 700 !important;
}
.ndg13 .sb-ico { background: rgba(255, 255, 255, .05) !important; border-radius: 9px !important; }
.ndg13 .sb-nav-menu li a.active-sb .sb-ico { background: rgba(255, 198, 26, .18) !important; }
.ndg13 .sb-toggle-btn { background: transparent !important; color: #8b8b94 !important; border-color: var(--g-line-d) !important; }
.ndg13 .sb-hot-badge { background: var(--g-red) !important; color: #fff !important; }
.ndg13 .sb-new-badge { background: var(--g-grad) !important; color: #111 !important; }

/* ── HERO TRANG CHỦ ─────────────────────────────────────── */
.ndg13 .hp-hero {
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(255, 198, 26, .22), transparent 60%),
    radial-gradient(500px 260px at -10% 120%, rgba(255, 159, 10, .14), transparent 60%),
    var(--g-black) !important;
  border: 1px solid #24242b !important;
  border-radius: 24px !important;
  padding: 32px !important;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45) !important;
  color: #fff;
}
.ndg13 .hp-hero::before { display: none; }
.ndg13 .hp-hero-badge {
  background: rgba(255, 198, 26, .1) !important; border: 1px solid rgba(255, 198, 26, .35) !important;
  color: var(--g-gold) !important; letter-spacing: .6px;
}
.ndg13 .hp-hero-title {
  color: #fff !important; font-size: clamp(24px, 2.6vw, 38px) !important; font-weight: 900 !important;
  line-height: 1.18 !important; letter-spacing: -.5px; margin: 6px 0 12px !important;
}
.ndg13 .hp-hero-title em { background: var(--g-grad); -webkit-background-clip: text; background-clip: text; color: transparent !important; }
.ndg13 .hp-hero-sub { color: #b4b4bd !important; font-size: 15px !important; }
.ndg13 .hp-hero-sub strong { color: #fff !important; }
.ndg13 .hp-hero-btn-primary {
  background: var(--g-grad) !important; color: #111 !important; border-radius: 999px !important;
  font-weight: 800 !important; padding: 14px 26px !important; box-shadow: 0 10px 30px rgba(255, 170, 0, .35) !important;
}
.ndg13 .hp-hero-btn-primary:hover { color: #111 !important; transform: translateY(-2px); box-shadow: 0 16px 40px rgba(255, 170, 0, .45) !important; }
.ndg13 .hp-hero-btn-secondary {
  background: rgba(255, 255, 255, .04) !important; color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .22) !important; border-radius: 999px !important; padding: 14px 22px !important;
}
.ndg13 .hp-hero-btn-secondary:hover { border-color: var(--g-gold) !important; color: var(--g-gold) !important; }
.ndg13 .hp-hero-trust-mini { color: #9d9da6 !important; }
.ndg13 .hp-hero-mini-card {
  background: rgba(255, 255, 255, .04) !important; border: 1px solid var(--g-line-d) !important;
  border-radius: 16px !important; box-shadow: none !important;
}
.ndg13 .hp-hero-mini-card:hover { border-color: rgba(255, 198, 26, .5) !important; background: rgba(255, 255, 255, .07) !important; }
.ndg13 .hp-hero-mini-thumb { background: #1c1c21 !important; border-radius: 12px !important; }
.ndg13 .hp-hero-mini-title { color: #f2f2f4 !important; }
.ndg13 .hp-hero-mini-price { color: var(--g-gold) !important; }
.ndg13 .hp-hero-mini-orig { color: #6b6b74 !important; }

/* ── CỘNG ĐỒNG ─────────────────────────────────────────── */
.ndg13 .hp-community-banner {
  background: radial-gradient(500px 220px at 100% 0%, rgba(255, 198, 26, .16), transparent 60%), var(--g-ink) !important;
  border: 1px solid #24242b; border-radius: 22px !important;
}
.ndg13 .hp-community-banner::before, .ndg13 .hp-community-banner::after { display: none; }
.ndg13 .hp-community-kicker, .ndg13 .hp-community-stat b { color: var(--g-gold) !important; }
.ndg13 .hp-community-sub, .ndg13 .hp-community-stat span { color: #9d9da6 !important; }
.ndg13 .hp-community-cta { background: var(--g-grad) !important; color: #111 !important; border-radius: 999px !important; box-shadow: 0 8px 24px rgba(255, 170, 0, .3) !important; }
.ndg13 .hp-cd-group { border-color: var(--g-line) !important; border-radius: 18px !important; box-shadow: var(--g-shadow) !important; }
.ndg13 .hp-cd-group:hover { border-color: rgba(255, 170, 0, .55) !important; box-shadow: var(--g-shadow-h) !important; }
.ndg13 .hp-cd-group-name { color: var(--g-text) !important; }

/* ── DẢI TIN CẬY + THANH DANH MỤC ──────────────────────── */
.ndg13 .hp-trust-strip { background: #fff !important; border: 1px solid var(--g-line) !important; border-radius: 999px !important; box-shadow: var(--g-shadow) !important; }
.ndg13 .hp-trust-strip .hp-trust-item { color: var(--g-text) !important; }
.ndg13 .hp-cat-nav { background: #fff !important; border-color: var(--g-line) !important; border-radius: 20px !important; box-shadow: var(--g-shadow) !important; }
.ndg13 .hp-cat-item { color: #4a4a52 !important; border-radius: 999px !important; }
.ndg13 .hp-cat-item:hover { background: #f3f1ea !important; color: #111 !important; }
.ndg13 .hp-cat-item.active { background: var(--g-black) !important; color: var(--g-gold) !important; box-shadow: none !important; }
.ndg13 .hp-cat-item[style*="#dc2626"], .ndg13 .hp-cat-item[style*="#dc2626"]:hover { color: #fff !important; background: linear-gradient(135deg, #e5484d, #b91c1c) !important; }
.ndg13 .hp-cat-item.active .cat-badge { background: rgba(255, 198, 26, .18) !important; color: var(--g-gold) !important; }

/* ── KHỐI SECTION ──────────────────────────────────────── */
.ndg13 .section-featured,
.ndg13 .mlv-section.section-featured {
  background: #fff !important; border: 1px solid var(--g-line) !important;
  border-radius: 24px !important; box-shadow: var(--g-shadow) !important; padding: 28px !important;
}
.ndg13 .section-featured-zoom-pinned { border: 1px solid rgba(255, 159, 10, .45) !important; }
.ndg13 .fp-section-label, .ndg13 .fp-section-label-purple {
  background: var(--g-black) !important; color: var(--g-gold) !important;
  box-shadow: none !important; border-radius: 999px !important; letter-spacing: .8px;
}
.ndg13 .mlv-section-title, .ndg13 .section-featured .mlv-section-title {
  font-size: clamp(19px, 1.6vw, 24px) !important; font-weight: 900 !important; letter-spacing: -.3px;
  color: var(--g-text) !important; -webkit-text-fill-color: var(--g-text) !important;
}
.ndg13 .section-featured .mlv-section-header { border-bottom-color: #f0ede4 !important; }
.ndg13 .hp-section-sub { color: var(--g-muted) !important; font-size: 14px !important; }
.ndg13 .see-all-link {
  color: var(--g-text) !important; background: #f6f4ee !important; border: 1px solid var(--g-line) !important;
  padding: 7px 14px !important; border-radius: 999px !important; font-weight: 700 !important; font-size: 13px !important;
}
.ndg13 .see-all-link:hover { background: var(--g-black) !important; color: var(--g-gold) !important; border-color: var(--g-black) !important; }
.ndg13 .sec-hot-badge { background: var(--g-red) !important; }
.ndg13 .mlv-divider { background: transparent !important; height: 4px !important; }
.ndg13 .grid-4 { gap: 18px !important; }
/* Khối không có sản phẩm → ẩn hẳn thay vì hiện "đang cập nhật" */
.ndg13 .mlv-section:has(.hp-empty-notice) { display: none !important; }

/* ── THẺ CHUNG ─────────────────────────────────────────── */
.ndg13 .mlv-card, .ndg13 .cb-card-new, .ndg13 .tool-card, .ndg13 .kth-card, .ndg13 .crs-card {
  background: #fff !important; border: 1px solid var(--g-line) !important; border-radius: 18px !important;
  box-shadow: var(--g-shadow) !important; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
}
.ndg13 .mlv-card:hover, .ndg13 .cb-card-new:hover, .ndg13 .tool-card:hover, .ndg13 .kth-card:hover, .ndg13 .crs-card:hover {
  transform: translateY(-4px); box-shadow: var(--g-shadow-h) !important; border-color: rgba(255, 170, 0, .55) !important;
}
.ndg13 .cb-card-pinned, .ndg13 .course-card-pinned, .ndg13 .crs-card--pinned {
  border: 1px solid rgba(255, 170, 0, .6) !important;
  box-shadow: 0 0 0 3px rgba(255, 198, 26, .12), var(--g-shadow) !important;
}
.ndg13 .course-card-pinned::before { background: var(--g-black) !important; color: var(--g-gold) !important; box-shadow: none !important; }

/* Thẻ chatbot: link phủ cả thẻ, nút vẫn bấm riêng được */
.ndg13 .cb-card-new { position: relative; display: flex !important; flex-direction: column; overflow: hidden; }
.ndg13 .cb-card-new .cb-content { display: flex; flex-direction: column; flex: 1; }
.ndg13 .cb-card-new .cb-footer-action-row { margin-top: auto !important; }
.ndg13 .cb-title a.cb-stretch { color: inherit !important; text-decoration: none; }
.ndg13 .cb-stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.ndg13 .cb-bookmark, .ndg13 .cb-dual-buttons a, .ndg13 .cb-dual-buttons span, .ndg13 .cb-card-new .cb-badge { position: relative; z-index: 2; }
.ndg13 .cb-thumb-container { aspect-ratio: 4 / 5; background: #111 !important; }
.ndg13 .cb-title { font-size: 15px !important; font-weight: 800 !important; color: var(--g-text) !important; }
.ndg13 .cb-desc { color: var(--g-muted) !important; }
.ndg13 .cb-price-sale { color: var(--g-text) !important; font-weight: 900 !important; }
.ndg13 .cb-price-disc-pill { background: var(--g-red) !important; color: #fff !important; }
.ndg13 .cb-card-detail-link { display: none !important; } /* cả thẻ đã là link → bớt chữ thừa, nút không bị gãy dòng */
.ndg13 .cb-dual-buttons > * { white-space: nowrap; }
.ndg13 .cb-footer-action-row { flex-wrap: wrap; row-gap: 8px !important; }
.ndg13 .cb-card-buy-full, .ndg13 .sp-buy-btn, .ndg13 .tl-dl-btn {
  background: var(--g-grad) !important; color: #111 !important; border: 0 !important;
  border-radius: 999px !important; font-weight: 800 !important; box-shadow: 0 6px 16px rgba(255, 170, 0, .28) !important;
}
.ndg13 .cb-badge-premium { background: var(--g-black) !important; color: var(--g-gold) !important; box-shadow: none !important; }
.ndg13 .cb-badge-free { background: var(--g-green) !important; box-shadow: none !important; }
.ndg13 .cb-badge-pinned { background: var(--g-grad) !important; color: #111 !important; }

/* Thẻ tool / key / skill */
.ndg13 .tool-card-title, .ndg13 .tool-card-title a { color: var(--g-text) !important; font-weight: 800 !important; }
.ndg13 .tool-card-title a:hover { color: var(--g-gold-text) !important; }

/* Thẻ cũ dùng chung: tiêu đề, giá */
.ndg13 .card-title, .ndg13 .card-title a { color: var(--g-text) !important; font-weight: 800 !important; }
.ndg13 .price-sale { color: var(--g-text) !important; font-weight: 900 !important; }
.ndg13 .price-disc, .ndg13 .course-discount-badge { background: var(--g-red) !important; color: #fff !important; }
.ndg13 .price-free { color: var(--g-green) !important; }
.ndg13 .badge.b-hot { background: var(--g-red) !important; color: #fff !important; }
.ndg13 .badge.b-new { background: var(--g-black) !important; color: var(--g-gold) !important; }

/* ── THẺ KHÓA HỌC v13 ─────────────────────────────────── */
.ndg13 .crs-card { position: relative; display: flex !important; flex-direction: column; overflow: hidden; }
.crs-thumb { position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden; }
.crs-thumb-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.crs-card:hover .crs-thumb-img { transform: scale(1.04); }
.crs-thumb-ph { display: flex; align-items: center; justify-content: center; font-size: 42px; background: linear-gradient(135deg, #1b1b21, #0b0b0d); }
.crs-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.crs-badge {
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
  background: rgba(11, 11, 13, .78); color: #fff; backdrop-filter: blur(6px);
}
.crs-badge--gold { background: var(--g-grad, #ffc61a); color: #111; }
.crs-badge--hot { background: var(--g-red, #e5484d); }
.crs-off {
  position: absolute; top: 10px; right: 10px; font-size: 12px; font-weight: 900;
  background: var(--g-red, #e5484d); color: #fff; padding: 4px 9px; border-radius: 999px;
}
.crs-preview {
  position: absolute; left: 10px; bottom: 10px; font-size: 11.5px; font-weight: 700;
  background: rgba(11, 11, 13, .82); color: #ffe58a; padding: 5px 11px; border-radius: 999px; backdrop-filter: blur(6px);
}
.crs-body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; gap: 8px; }
.crs-level { font-size: 11.5px; font-weight: 700; color: var(--g-muted, #6b6b74); }
.crs-title { font-size: 15.5px; font-weight: 800; line-height: 1.4; margin: 0; color: var(--g-text, #16161a);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ndg13 .crs-title a { color: inherit !important; text-decoration: none; }
.crs-stretch::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.crs-outcome { font-size: 13px; line-height: 1.55; color: #55555d; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.crs-meta { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crs-meta li { font-size: 12px; color: #4a4a52; background: #f5f3ec; border-radius: 999px; padding: 3px 10px; }
.crs-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid #f0ede4; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.crs-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.crs-price-now { font-size: 19px; font-weight: 900; color: var(--g-text, #16161a); letter-spacing: -.3px; }
.crs-price-now--free { color: var(--g-green, #12a150); }
.crs-price-orig { font-size: 12.5px; color: #9a9aa2; }
.crs-cta {
  flex-shrink: 0; font-size: 12.5px; font-weight: 800; color: #111; background: var(--g-grad, #ffc61a);
  padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 16px rgba(255, 170, 0, .28); transition: transform .2s;
}
.crs-card:hover .crs-cta { transform: translateX(2px); }
.grid-vid .crs-card { height: 100%; }

/* ── CTA GIỮA TRANG ─────────────────────────────────────── */
.ndg13 .hp-mid-cta {
  background: radial-gradient(500px 200px at 100% 50%, rgba(255, 198, 26, .18), transparent 60%), var(--g-black) !important;
  border: 1px solid #24242b !important; border-radius: 22px !important; color: #fff !important;
}
.ndg13 .hp-mid-cta h3 { color: #fff !important; }
.ndg13 .hp-mid-cta p, .ndg13 .hp-mid-note { color: #b4b4bd !important; font-size: 13px; }
.ndg13 .hp-mid-btn { background: var(--g-grad) !important; color: #111 !important; border-radius: 999px !important; font-weight: 800 !important; }

/* ── NÚT CHUNG ─────────────────────────────────────────── */
.ndg13 .btn-cta-main {
  background: var(--g-grad) !important; color: #111 !important; border: 0 !important;
  border-radius: 999px !important; font-weight: 800 !important; box-shadow: 0 10px 26px rgba(255, 170, 0, .32) !important;
}
.ndg13 .btn-cta-main:hover { transform: translateY(-2px); color: #111 !important; }
.ndg13 .btn-cta-sec { border-radius: 999px !important; border: 1px solid var(--g-line) !important; color: var(--g-text) !important; background: #fff !important; }
.ndg13 .btn-cta-sec:hover { border-color: var(--g-text) !important; }

/* Giỏ hàng */
.ndg13 .cart-checkout-btn {
  background: var(--g-grad) !important; color: #111 !important; border: 0 !important; border-radius: 999px !important;
  font-weight: 800 !important; box-shadow: 0 10px 26px rgba(255, 170, 0, .32) !important;
}
.ndg13 .cart-total { color: var(--g-text) !important; font-weight: 900 !important; }
.ndg13 .cart-orders-link { background: #f6f4ee !important; border-color: var(--g-line) !important; color: var(--g-text) !important; border-radius: 999px !important; }

/* ── TRANG KHÓA HỌC ────────────────────────────────────── */
.ndg13 .course-header {
  background: #fff; border: 1px solid var(--g-line); border-radius: 24px; padding: 22px; box-shadow: var(--g-shadow);
}
.ndg13 .course-thumbnail img, .ndg13 .course-thumb-img { border-radius: 16px; }
.ndg13 .course-title { font-weight: 900 !important; letter-spacing: -.4px; line-height: 1.25 !important; color: var(--g-text) !important; }
.ndg13 .course-price-box .price-sale { font-size: 34px !important; }
.ndg13 .course-price-box .price-orig { color: #9a9aa2 !important; }
.ndg13 .stat-item { background: #f5f3ec !important; border: 1px solid var(--g-line) !important; color: #3d3d44 !important; border-radius: 999px !important; }
.ndg13 .section-title { font-weight: 900 !important; letter-spacing: -.3px; }
.ndg13 .course-intro-section, .ndg13 .lessons-section, .ndg13 .course-rating-section { background: transparent; }

.v13-trust { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; }
.v13-trust li { font-size: 13px; color: #4a4a52; font-weight: 600; }
.v13-h2 { font-size: clamp(20px, 2vw, 26px); font-weight: 900; letter-spacing: -.4px; margin: 0 0 16px; color: var(--g-text, #16161a); }
.v13-get, .v13-faq { margin-top: 36px; }
.v13-get-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.v13-get-item { background: #fff; border: 1px solid var(--g-line, #e8e5dc); border-radius: 18px; padding: 16px; box-shadow: var(--g-shadow); }
.v13-get-item span { display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center; border-radius: 12px; background: #fff6d6; font-size: 18px; margin-bottom: 8px; }
.v13-get-item b { display: block; font-size: 15px; font-weight: 800; margin-bottom: 4px; color: var(--g-text, #16161a); }
.v13-get-item p { margin: 0; font-size: 13px; color: var(--g-muted, #6b6b74); line-height: 1.55; }
.v13-faq details { background: #fff; border: 1px solid var(--g-line, #e8e5dc); border-radius: 16px; padding: 0 18px; margin-bottom: 10px; }
.v13-faq summary { cursor: pointer; padding: 15px 0; font-weight: 800; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--g-text, #16161a); }
.v13-faq summary::-webkit-details-marker { display: none; }
.v13-faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--g-gold-text, #a15c00); transition: transform .2s; }
.v13-faq details[open] summary::after { transform: rotate(45deg); }
.v13-faq details p { margin: 0 0 16px; color: #4a4a52; font-size: 14px; line-height: 1.65; }
.v13-final {
  margin: 36px 0 8px; padding: 26px; border-radius: 24px; color: #fff;
  background: radial-gradient(500px 220px at 100% 0%, rgba(255, 198, 26, .2), transparent 60%), var(--g-black, #0b0b0d);
  display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.v13-final-k { color: var(--g-gold, #ffc61a); font-size: 12px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
.v13-final-t { color: #fff; font-size: 20px; font-weight: 900; margin: 6px 0 0; max-width: 620px; line-height: 1.3; }
.v13-final .v13-trust li { color: #b4b4bd; }
.v13-final-r { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.v13-final-price b { font-size: 30px; font-weight: 900; color: #fff; }
.v13-final-price s { color: #7d7d86; margin-left: 8px; }
.v13-btn {
  border: 0; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 800; color: #111;
  background: var(--g-grad, #ffc61a); padding: 14px 26px; border-radius: 999px; box-shadow: 0 10px 28px rgba(255, 170, 0, .35);
  transition: transform .2s, box-shadow .2s;
}
.v13-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(255, 170, 0, .45); }
.v13-sticky {
  position: fixed; left: 50%; bottom: 16px; z-index: 900; width: min(720px, calc(100% - 24px));
  transform: translate(-50%, 140%); transition: transform .35s cubic-bezier(.2, .8, .2, 1);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(11, 11, 13, .94); backdrop-filter: blur(12px); color: #fff;
  border: 1px solid #2a2a31; border-radius: 999px; padding: 8px 8px 8px 22px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.v13-sticky.is-on { transform: translate(-50%, 0); }
.v13-sticky-info { min-width: 0; display: flex; flex-direction: column; }
.v13-sticky-t { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #e7e7ea; }
.v13-sticky-p b { color: var(--g-gold, #ffc61a); font-size: 16px; font-weight: 900; }
.v13-sticky-p em { font-style: normal; font-size: 11px; font-weight: 800; background: var(--g-red, #e5484d); padding: 2px 7px; border-radius: 999px; margin-left: 4px; }
.v13-sticky .v13-btn { padding: 12px 22px; white-space: nowrap; }

/* ── HỘP ĐĂNG KÝ NHANH ─────────────────────────────────── */
.qa-open, .qa-open body { overflow: hidden; }
.qa-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.qa-modal[hidden] { display: none; }
.qa-backdrop { position: absolute; inset: 0; background: rgba(8, 8, 10, .72); backdrop-filter: blur(4px); }
.qa-box {
  position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto;
  background: #fff; color: #16161a; border-radius: 24px; padding: 26px 24px 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  font-family: 'Be Vietnam Pro', system-ui, sans-serif; animation: qaIn .28s cubic-bezier(.2, .8, .2, 1);
}
@keyframes qaIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.qa-x { position: absolute; top: 10px; right: 12px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3f1ea; font-size: 20px; cursor: pointer; color: #333; }
.qa-kicker { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; color: #a15c00; background: #fff6d6; padding: 4px 10px; border-radius: 999px; }
.qa-title { font-size: 21px; font-weight: 900; margin: 10px 0 6px; letter-spacing: -.3px; color: #16161a; }
.qa-sub { font-size: 13.5px; color: #5b5b63; line-height: 1.55; margin: 0 0 14px; }
.qa-google { min-height: 0; display: flex; flex-direction: column; align-items: center; }
.qa-or { width: 100%; display: flex; align-items: center; gap: 10px; margin: 12px 0 2px; color: #9a9aa2; font-size: 12px; }
.qa-or::before, .qa-or::after { content: ''; flex: 1; height: 1px; background: #ece9e0; }
.qa-form { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.qa-form[hidden] { display: none; }
.qa-in {
  width: 100%; font: inherit; font-size: 15px; padding: 13px 15px; border: 1px solid #dcd8cc; border-radius: 14px;
  background: #fbfaf7; color: #16161a; outline: none; transition: border-color .2s, box-shadow .2s;
}
.qa-in:focus { border-color: #ffb000; box-shadow: 0 0 0 4px rgba(255, 198, 26, .22); background: #fff; }
.qa-btn {
  font: inherit; font-size: 15.5px; font-weight: 800; color: #111; border: 0; cursor: pointer; padding: 14px;
  border-radius: 999px; background: linear-gradient(135deg, #ffe58a 0%, #ffc61a 45%, #ff9f0a 100%); box-shadow: 0 10px 26px rgba(255, 170, 0, .35);
}
.qa-btn:disabled { opacity: .6; cursor: wait; }
.qa-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #a15c00; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.qa-msg { font-size: 13px; margin-top: 10px; min-height: 18px; }
.qa-msg.is-err { color: #c62828; }
.qa-msg.is-ok { color: #12813f; }
.qa-switch { font-size: 13.5px; color: #5b5b63; margin-top: 6px; display: flex; gap: 6px; justify-content: center; }
.qa-trust { margin-top: 14px; padding-top: 12px; border-top: 1px solid #f0ede4; font-size: 12px; color: #7a7a82; text-align: center; line-height: 1.6; }
.qa-trust a { color: #a15c00; font-weight: 700; }

/* ── FOOTER ────────────────────────────────────────────── */
.ndg13 .mlv-footer { background: var(--g-black) !important; color: #9d9da6 !important; border-top: 1px solid #1f1f25 !important; }
.ndg13 .mlv-footer a { color: #cfcfd6 !important; }
.ndg13 .mlv-footer a:hover { color: var(--g-gold) !important; }
.ndg13 .footer-brand strong { color: #fff !important; }
.ndg13 .mlv-fcart-btn { background: var(--g-grad) !important; color: #111 !important; }

/* ── DI ĐỘNG ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .ndg13 .hp-hero { padding: 22px 18px !important; border-radius: 20px !important; }
  .ndg13 .section-featured, .ndg13 .mlv-section.section-featured { padding: 18px 14px !important; border-radius: 20px !important; }
  .ndg13 .grid-4 { gap: 12px !important; }
  .crs-body { padding: 12px 13px 14px; }
  .crs-title { font-size: 14.5px; }
  .crs-foot { flex-wrap: wrap; }
  .crs-cta { width: 100%; text-align: center; }
  .v13-final { padding: 20px; }
  .v13-final-r { align-items: stretch; width: 100%; }
  .v13-final-r .v13-btn { width: 100%; }
  .v13-sticky { bottom: 10px; padding-left: 16px; }
  .ndg13 .course-header { padding: 14px; border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ndg13 *, .ndg13 *::before, .ndg13 *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
