/* ĐÃ BỎ: quy tắc @view-transition { navigation: auto; } — tự động bật hiệu ứng chuyển
   trang của trình duyệt, chồng chéo với hiệu ứng document.startViewTransition() đã tự
   gọi bằng JS trong nav.js, khiến 2 hiệu ứng đá nhau lúc chuyển trang. Giờ chỉ còn đúng
   1 hiệu ứng do nav.js chủ động điều khiển. */
:root{
  --font-card: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;   /* chỉ dùng cho tiêu đề thẻ, giá tiền, nút Xem trước / Mua ngay */
  --ink-navy: #1B2340;
  --ink-navy-deep: #12172B;
  --paper: #FAF6EC;
  --paper-line: #E4DCC8;
  --amber: #E8A33D;
  --amber-deep: #C97F1E;
  --text-dark: #22252B;
  --text-soft: #5B5F6B;
}
*{box-sizing:border-box; margin:0; padding:0;}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body{
  background: var(--paper);
  color: var(--text-dark);
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}

/* ===== Header dùng chung — không đổi giữa các trang để điều hướng mượt ===== */
.site-header{
  position: sticky; top: 0;
  background: var(--ink-navy);
  z-index: 50;
  box-shadow: 0 1px 0 rgba(0,0,0,0.15);
  view-transition-name: site-header;
}
.header-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.brand{ display: flex; align-items: center; gap: 10px; flex-shrink: 0; text-decoration: none; }
.brand-logo{ width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.6); }
.brand-text{ display: flex; flex-direction: column; gap: 0px; }
.brand-slogan{
  margin-top: -3px;
}
.brand-name{ font-family: 'Source Serif 4', serif; font-weight: 700; font-size: 18px; color: #fff; white-space: nowrap; }
.brand-slogan{ font-family: 'Source Serif 4', serif; font-style: italic; font-weight: 600; font-size: 11.75px; line-height: 18px; color: rgba(255,255,255,0.88); white-space: nowrap; }
.header-search{ position: relative; width: 280px; flex-shrink: 0; }
.header-search input{
  width: 100%; padding: 8px 14px 8px 34px; border-radius: 20px; border: none;
  font-size: 13px; font-family: 'Inter', sans-serif; background: rgba(255,255,255,0.95); color: var(--text-dark);
}
.header-search input:focus{ outline: 2px solid var(--amber); }
.header-search svg{ position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--text-soft); }
.header-info{
  display: none;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 2px;
  flex: 1;
}

.info-eyebrow{
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 600;
  color: #E8C96A;
}

.info-sub{ font-size: 11.5px; color: #A9B3CC; line-height: 1.4; white-space: nowrap; }
.tiktok-link{
  width: 32px; height: 32px; border-radius: 8px; background: #000;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  margin-left: 0;
}


@media (min-width: 860px){
  .header-info{ display: flex; }
  .tiktok-link{ margin-left: 0; }
}
@media (max-width: 700px){
  .header-search{ display: none; }
}

.social-links{
  display:flex;
  align-items:center;
  gap:5px;
  flex-shrink:0;
  margin-left:auto;
}

.facebook-link{
  width:32px;
  height:32px;
  border-radius:8px;
  background:#1565C0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  margin-left:0;
  text-decoration:none;
}

.facebook-link svg{
  position:static !important;
  width:18px !important;
  height:18px !important;
  display:block !important;
  flex-shrink:0;
  fill:#fff !important;
  transform:translateY(-1.5px) !important;
}

.trust-bar{ background: var(--ink-navy-deep); }
.trust-inner{
  max-width: 1100px; margin: 0 auto; padding: 12px 24px;
  display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: center;
}
.trust-item{ display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #B9BFCF; }
.trust-item svg{ flex-shrink: 0; color: var(--amber); }

/* ===== main — độ rộng khác nhau theo từng trang ===== */
main{ margin: 0 auto; }
body.page-home main{ max-width: 1100px; margin: 0 auto 80px; padding: 36px 24px 0; }
body.page-bundle main{ max-width: 960px; padding: 32px 24px 100px; }
body.page-doc main{ max-width: 720px; padding: 32px 24px 100px; }

/* ===== Trang chủ: page-lead + lưới sản phẩm ===== */
.page-lead{ margin-bottom: 24px; }
.page-lead h1{ font-family: 'Source Serif 4', serif; font-size: clamp(22px, 3vw, 28px); color: var(--ink-navy); }
.page-lead p{ margin-top: 6px; color: var(--text-soft); font-size: 13.5px; }

.grid{ display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.card{
  background: #fff; border: 1px solid var(--paper-line); border-radius: 6px; overflow: hidden;
  box-shadow: 0 1px 0 var(--paper-line); display: flex; flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover{ border-color: var(--ink-navy); transform: scale(1.03); box-shadow: 0 6px 16px rgba(27,35,64,0.15); }

.cover{
  aspect-ratio: 1 / 1;
  background: linear-gradient(150deg, var(--ink-navy) 0%, #2C3B63 100%);
  position: relative;
  display: block;
  overflow: hidden;
  cursor: pointer;
}

.cover img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.cover .cover-placeholder{ display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(250,246,236,0.55); }
.cover .cover-placeholder .initial{ font-family: 'Source Serif 4', serif; font-size: 26px; color: rgba(250,246,236,0.85); }
.cover .preview-badge{
  position: absolute; top: 8px; right: 8px; background: rgba(18,23,43,0.75); color: #fff; font-size: 9.5px;
  padding: 3px 8px; border-radius: 20px; font-weight: 600;
}
.card-body{ padding: 10px 12px 12px; display: flex; flex-direction: column; flex: 1; }
.card h3{
  font-family: 'Source Serif 4', serif; font-size: 13.25px; margin-bottom: 4px; color: var(--ink-navy); line-height: 1.3;
  /* Cho phép tiêu đề xuống dòng, hiện đủ thay vì cắt bằng dấu "..." */
  overflow-wrap: break-word; word-break: normal;
}
.card p.desc{
  color: var(--text-soft); font-size: 11px; margin-bottom: 8px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
}
.price-row{ display: flex; flex-direction: column; gap: 8px; }
.price{ font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14px; color: var(--ink-navy); }
.card-actions{ display: flex; gap: 6px; }
button.buy, a.buy{
  background: var(--amber); color: var(--ink-navy-deep); border: none;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 11px;
  padding: 6px 8px; border-radius: 3px; cursor: pointer;
  transition: background 0.15s ease; white-space: nowrap; text-decoration: none;
  flex: 1; text-align: center;
}
button.buy:hover, a.buy:hover{ background: var(--amber-deep); }
a.preview-btn{
  background: none; border: 1.3px solid var(--ink-navy); color: var(--ink-navy);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 11px;
  padding: 5px 8px; border-radius: 3px; cursor: pointer; white-space: nowrap;
  text-decoration: none; flex: 1; text-align: center;
}
a.preview-btn:hover{ background: var(--ink-navy); color: #fff; }

.empty, .error{ font-family: 'IBM Plex Mono', monospace; color: var(--text-soft); font-size: 14px; }

section.block{ max-width: 920px; margin: 0 auto; padding: 64px 24px; }
section.block.alt{ background: #F3EEE0; max-width: none; }
section.block.alt > .inner{ max-width: 920px; margin: 0 auto; }
.section-head{ text-align: center; margin-bottom: 40px; }
.section-eyebrow{
  font-family: 'IBM Plex Mono', monospace; letter-spacing: 0.1em; text-transform: uppercase;
  font-size: 14px; color: var(--amber-deep); margin-bottom: 10px;
}
.section-head h2{ font-family: 'Source Serif 4', serif; font-size: clamp(24px, 3.5vw, 32px); color: var(--ink-navy); }
.why-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.why-item{ text-align: center; }
.why-icon{
  width: 52px; height: 52px; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink-navy); border-radius: 50%; color: var(--amber);
}
.why-item h3{ font-family: 'Source Serif 4', serif; font-size: 17px; color: var(--ink-navy); margin-bottom: 8px; }
.why-item p{ font-size: 13.5px; color: var(--text-soft); line-height: 1.6; }
.faq-item{ border-bottom: 1px solid var(--paper-line); }
.faq-q{
  width: 100%; text-align: left; background: none; border: none; padding: 18px 4px;
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 14.5px; color: var(--ink-navy);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq-q .plus{ font-family: 'IBM Plex Mono', monospace; color: var(--amber-deep); font-size: 18px; transition: transform 0.2s ease; flex-shrink: 0; }
.faq-item.open .faq-q .plus{ transform: rotate(45deg); }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height 0.2s ease; }
.faq-item.open .faq-a{ max-height: 200px; }
.faq-a p{ font-size: 13.5px; color: var(--text-soft); padding: 0 4px 18px; line-height: 1.6; }

footer{ background: var(--ink-navy-deep); color: #8990A3; padding: 40px 24px; text-align: center; font-size: 12.5px; }
footer .foot-brand{ font-family: 'Source Serif 4', serif; color: var(--paper); font-size: 16px; margin-bottom: 8px; }
footer a{ color: var(--amber); text-decoration: none; }

/* ===== Trang tổng quan bộ + trang xem tài liệu: phần chung ===== */
.back-link{ display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-soft); text-decoration: none; margin-bottom: 24px; }
.back-link:hover{ color: var(--ink-navy); }

.doc-head h1{ font-family: 'Source Serif 4', serif; color: var(--ink-navy); line-height: 1.25; }
body.page-bundle .doc-head h1{ font-size: clamp(22px, 3.5vw, 28px); }
body.page-doc .doc-head h1{ font-size: clamp(17px, 2.6vw, 21px); }
.doc-head p.desc{ margin-top: 8px; color: var(--text-soft); font-size: 14px; max-width: 560px; }
.doc-head .bundle-name{ font-size: 12.5px; color: var(--text-soft); margin-top: 4px; }

.doc-meta{
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  margin: 20px 0 28px; padding: 16px 18px; background: #fff; border: 1px solid var(--paper-line); border-radius: 6px;
}
.doc-meta .price{ font-family: 'Inter', sans-serif; font-size: 17px; color: var(--ink-navy); font-weight: 700; }
.doc-meta .unlock-note{ font-size: 12.5px; color: var(--text-soft); margin-top: 2px; }
button.buy-big{
  background: var(--amber); color: var(--ink-navy-deep); border: none; font-weight: 700; font-size: 14.5px;
  padding: 12px 24px; border-radius: 4px; cursor: pointer; transition: background 0.15s ease;
}
button.buy-big:hover{ background: var(--amber-deep); }

.no-pages, .no-docs{
  text-align: center; padding: 50px 20px; color: var(--text-soft);
  background: #fff; border: 1px dashed var(--paper-line); border-radius: 6px; font-size: 14px;
}

.page-footer-link{ text-align: center; color: var(--text-soft); font-size: 12.5px; }
body.page-home .page-footer-link{ margin-top: 8px; }
body.page-bundle .page-footer-link{ margin-top: 36px; }
body.page-doc .page-footer-link{ margin-top: 20px; }
.page-footer-link a{ color: var(--ink-navy); font-weight: 600; text-decoration: none; }
.page-footer-link a:hover{ text-decoration: underline; }

/* ===== Trang tổng quan bộ: danh sách tài liệu con ===== */
.section-label{
  font-family: 'Inter', sans-serif; font-weight: 500;
  font-size: 14px; line-height: 1.5; color: var(--text-soft); margin-bottom: 14px;
}
.doc-list{ display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.doc-item{
  display: flex; align-items: center; gap: 13px;
  background: #fff; border: 1px solid var(--paper-line); border-radius: 7px; padding: 14px;
  text-decoration: none; color: inherit; transition: border-color 0.15s ease, transform 0.1s ease;
}
.doc-item:hover{ border-color: var(--ink-navy); transform: translateY(-1px); }
.doc-thumb{
  width: 52px; height: 52px; border-radius: 7px; flex-shrink: 0;
  background: linear-gradient(150deg, var(--ink-navy) 0%, #2C3B63 100%);
  display: flex; align-items: center; justify-content: center; color: rgba(250,246,236,0.7);
}
.doc-info{ flex: 1; min-width: 0; }
.doc-info h4{
  font-family: 'Source Serif 4', serif; font-size: 14px; color: var(--ink-navy); margin-bottom: 3px;
  white-space: normal; overflow-wrap: break-word;
}
.doc-info .doc-sub{ font-size: 12.25px; color: var(--text-soft); }
.doc-arrow{ color: var(--text-soft); flex-shrink: 0; }

/* ===== Trang xem tài liệu: các trang, khoá/mờ, CTA dính đáy ===== */
.doc-pages{ display: flex; flex-direction: column; gap: 16px; }
.doc-page{ position: relative; border-radius: 6px; overflow: hidden; border: 1px solid var(--paper-line); background: #10162A; }
.doc-page img{ width: 100%; display: block; }
.doc-page.locked img{ filter: blur(11px); transform: scale(1.03); user-select: none; }
.page-placeholder{
  aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center;
  color: rgba(250,246,236,0.4); font-family: 'IBM Plex Mono', monospace; font-size: 13px;
  background: linear-gradient(150deg, var(--ink-navy) 0%, #2C3B63 100%);
}
.lock-overlay{ position: absolute; inset: 0; background: rgba(18,23,43,0.45); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.lock-overlay svg{ color: #fff; opacity: 0.9; }
.lock-overlay .unlock-pill{
  background: var(--amber); color: var(--ink-navy-deep); font-weight: 700; font-size: 12.5px;
  padding: 7px 16px; border-radius: 20px; cursor: pointer; border: none;
}
.page-num-badge{ position: absolute; top: 10px; left: 10px; background: rgba(18,23,43,0.7); color: #fff; font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; padding: 3px 9px; border-radius: 20px; }
.free-badge{ position: absolute; top: 10px; right: 10px; background: var(--amber); color: var(--ink-navy-deep); font-weight: 700; font-size: 10px; padding: 3px 9px; border-radius: 20px; }

.doc-nav{ display: flex; justify-content: space-between; margin-top: 28px; gap: 12px; flex-wrap: wrap; }
.doc-nav a{ font-size: 13px; color: var(--ink-navy); text-decoration: none; font-weight: 600; }
.doc-nav a:hover{ text-decoration: underline; }

.sticky-cta{
  position: sticky; bottom: 16px; z-index: 10; margin-top: 24px; background: var(--ink-navy); border-radius: 8px; padding: 14px 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(18,23,43,0.25);
}
.sticky-cta .name{ color: var(--paper); font-family: 'Source Serif 4', serif; font-size: 17px; }
.sticky-cta .price{ color: var(--amber); font-family: 'Inter', sans-serif; font-weight: 600; font-size: 16px; }

/* ===== Modal (mua hàng + báo lỗi) — dùng chung ===== */
.overlay{
  position: fixed; inset: 0; background: rgba(18,23,43,0.55);
  display: none; align-items: center; justify-content: center; padding: 20px; z-index: 60;
}
.overlay.open{ display: flex; }
.modal{ background: var(--paper); border-radius: 6px; max-width: 380px; width: 100%; padding: 28px; border: 1px solid var(--paper-line); }
.modal h4{ font-family: 'Source Serif 4', serif; font-size: 20px; color: var(--ink-navy); margin-bottom: 6px; }
.modal p{ font-size: 13px; color: var(--text-soft); margin-bottom: 18px; }
.modal input{
  width: 100%; padding: 11px 12px; border: 1px solid var(--paper-line); border-radius: 4px;
  font-size: 14px; font-family: 'Inter', sans-serif; margin-bottom: 8px;
}
.modal input:focus{ outline: 2px solid var(--ink-navy); outline-offset: 1px; }
.modal .actions{ display: flex; gap: 10px; margin-top: 14px; }
.modal .actions button{
  flex: 1; padding: 11px; border-radius: 4px; border: none;
  font-weight: 600; font-size: 14px; cursor: pointer; font-family: 'Inter', sans-serif;
}
.modal .cancel{ background: transparent; color: var(--text-soft); border: 1px solid var(--paper-line) !important; }
.modal .confirm{ background: var(--ink-navy); color: var(--paper); }
.modal .confirm:disabled{ opacity: 0.5; cursor: not-allowed; }
.hint{ font-size: 12px; color: var(--text-soft); min-height: 16px; margin-top: 4px; }
.hint.err{ color: #B3401E; }
.hint.ok{ color: #2E7D46; }
.modal select, .modal textarea{
  width: 100%; padding: 11px 12px; border: 1px solid var(--paper-line); border-radius: 4px;
  font-size: 14px; font-family: 'Inter', sans-serif; margin-bottom: 8px; background: #fff; color: var(--text-dark);
}
.modal textarea{ resize: vertical; min-height: 70px; }
.modal select:focus, .modal textarea:focus{ outline: 2px solid var(--ink-navy); outline-offset: 1px; }
.modal label.file-label{ display: block; font-size: 12.5px; color: var(--text-soft); margin-bottom: 6px; }
.modal input[type="file"]{ font-size: 12.5px; margin-bottom: 8px; width: 100%; }

/* ================================
   SECTION HEADINGS
   ================================ */

   .block.alt {
  padding-top: 42px;
  padding-bottom: 42px;
}

.section-head {
  text-align: center;
    margin-top: 25px;
}

/* Nền pill cho tiêu đề nhỏ */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;

  min-width: 360px;
  padding: 12px 38px;

  background: #F3EBDD;
  border-radius: 999px;

  color: #B9852E;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  font-weight: 570;
  letter-spacing: 1.5px;
  text-transform: uppercase;

  box-sizing: border-box;
}

/* Hai đường trang trí hai bên */
.section-eyebrow::before,
.section-eyebrow::after {
  content: "";
  width: 34px;
  height: 1.5px;
  background: #C89432;
  flex-shrink: 0;
}

.section-eyebrow::before {
  margin-right: 18px;
}

.section-eyebrow::after {
  margin-left: 18px;
}


/* Tiêu đề lớn nhỏ hơn một chút */
.section-head h2 {
  font-size: 24px;
  margin-top: 8px;
  margin-bottom: 0;
}


/* FAQ có khoảng cách đẹp hơn */
#faq-list {
  margin-top: 22px;
}


/* Responsive cho điện thoại */
@media (max-width: 700px) {

  .section-eyebrow {
    min-width: auto;
    width: auto;
    max-width: calc(100% - 30px);

    padding: 10px 20px;
    font-size: 11px;
    letter-spacing: 1.4px;
  }

  .section-eyebrow::before,
  .section-eyebrow::after {
    width: 20px;
  }

  .section-eyebrow::before {
    margin-right: 10px;
  }

  .section-eyebrow::after {
    margin-left: 10px;
  }

  .section-head h2 {
  font-size: 20px;
  line-height: 1.3;
  white-space: nowrap;
}
}

/* ================================
   FOOTER CONTACT
   ================================ */

.footer-contact {
  margin-top: 8px;
  line-height: 1.7;
}

.footer-link {
  color: #E8A33D;
  text-decoration: none;
  font-weight: 500;
}

.footer-link:hover {
  text-decoration: underline;
}

/* =================================
   FOOTER - PHONE LANDSCAPE
   ================================= */

@media (max-width: 900px) and (orientation: landscape) {

  footer {
    padding: 18px 16px !important;
  }

  /* LAZY LEARNER */
  footer .foot-brand {
    font-size: 15.5px !important;
    margin-bottom: 6px !important;
    line-height: 1.2 !important;
  }

  /* 2 dòng nội dung */
  footer p {
    font-size: 11 px !important;
    line-height: 1.35 !important;
    margin-top: 3px !important;
  }

  /* Link TikTok, email, báo lỗi */
  footer p a {
    font-size: 11 px !important;
  }
}

/* =================================
   FULL WIDTH - MOBILE LANDSCAPE
   ================================= */

@media (max-width: 900px) and (orientation: landscape) {
  html,
  body {
    width: 100%;
    min-width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .site-header,
  section.block.alt,
  footer {
    width: 100%;
    min-width: 100%;
    max-width: none;
  }
}

/* =================================
   FIX MESSENGER / MOBILE LANDSCAPE
   ================================= */

@media (orientation: landscape) and (pointer: coarse) {
  html,
  body {
    width: 100%;
    min-width: 100%;
    overflow-x: hidden;
  }

  .site-header,
  section.block.alt,
  footer {
    width: 100%;
    min-width: 100%;
  }
}

/* =================================
   SECTION TITLES - PHONE LANDSCAPE
   ================================= */

@media (max-width: 900px) and (orientation: landscape) {

  /* Ngăn trình duyệt tự phóng to chữ */
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* Học ít, hiểu nhiều, điểm vẫn cao */
  body.page-home > section.block.alt:first-of-type .section-head h2 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }

  /* Còn thắc mắc gì không? */
  body.page-home > section.block.alt:nth-of-type(2) .section-head h2 {
    font-size: 22px !important;
    line-height: 1.2 !important;
    white-space: nowrap;
  }
}

/* ===== Xem tài liệu Excel ===== */
/* Trang tài liệu Excel cần khung rộng hơn trang PDF để thấy nhiều cột */
body.page-doc.doc-excel main{ max-width: 1000px; }

/* Khung bảng kiểu cửa sổ Excel */
.excel-frame{
  border:1px solid #cfd8d2; border-radius:8px; background:#fff; overflow:hidden;
  box-shadow:0 6px 22px rgba(27,35,64,0.08);
}
.excel-titlebar{
  display:flex; align-items:center; gap:10px; padding:9px 14px;
  background:#217346; color:#fff; font-family:'Inter',sans-serif; font-size:13px;
}
.excel-badge{
  display:inline-flex; align-items:center; justify-content:center; width:20px; height:20px;
  border-radius:4px; background:#fff; color:#217346; font-weight:800; font-size:12px; flex-shrink:0;
}
.excel-title-name{ font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
.excel-title-meta{ margin-left:auto; font-size:11.5px; opacity:.85; white-space:nowrap; }

.excel-scroll{
  overflow:auto; max-height:68vh; background:#fff;
  -webkit-user-select:none; user-select:none; outline:none;
}
.excel-table{
  border-collapse:separate; border-spacing:0; font-family:'Inter',sans-serif;
  font-size:12px; line-height:1.4; width:max-content; min-width:100%;
}
.excel-table td, .excel-table th{
  border-right:1px solid #e3e6e1; border-bottom:1px solid #e3e6e1; padding:0; vertical-align:top;
}
.xl-cell{
  padding:5px 10px; color:var(--text-dark);
  min-width:44px; max-width:260px;               /* giới hạn độ rộng cột, chữ dài tự xuống dòng */
  white-space:normal; overflow-wrap:anywhere; word-break:normal;
}
.excel-table tbody tr:nth-child(even) td{ background:#fafbf9; }
.excel-table tbody tr:hover td{ background:#f1f7f3; }

/* Tiêu đề cột (A, B, C...) và số hàng (1, 2, 3...) — dính khi cuộn */
.xl-colhead, .xl-rowhead, .xl-corner{
  background:#eef0ec; color:#5b6670; font-weight:600; font-size:11px; text-align:center;
  position:sticky; z-index:2; user-select:none;
}
.xl-colhead{ top:0; padding:5px 10px !important; border-bottom:1px solid #cdd3cc !important; }
.xl-rowhead{
  left:0; min-width:38px; padding:5px 8px !important; border-right:1px solid #cdd3cc !important;
  white-space:nowrap; display:table-cell;
}
.xl-rowhead svg{ vertical-align:-1px; margin-right:3px; color:#b08a3a; }
.xl-corner{ top:0; left:0; z-index:3; min-width:38px; border-right:1px solid #cdd3cc !important; border-bottom:1px solid #cdd3cc !important; }

.excel-row-locked td{ background:#f6f2e6 !important; }
.excel-cell-blur{
  display:block; width:100%; min-width:44px; height:11px; border-radius:3px; margin:3px 0;
  background:linear-gradient(90deg, #d8d2c0, #ece7d8, #d8d2c0);
}

/* Thanh sheet ở dưới cùng như Excel thật */
.excel-tabs-bar{
  display:flex; gap:2px; padding:0 8px; background:#eef0ec; border-top:1px solid #cdd3cc;
  overflow-x:auto; align-items:flex-end;
}
.excel-tab{
  background:transparent; border:none; border-top:2px solid transparent; color:#4b5560;
  padding:8px 16px; font-size:12px; font-weight:600; cursor:pointer; white-space:nowrap;
  font-family:'Inter',sans-serif;
}
.excel-tab.active{ background:#fff; color:#217346; border-top-color:#217346; }
.excel-tab:hover:not(.active){ background:#e4e8e2; }

.excel-unlock-cta{
  display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:center;
  background:var(--ink-navy); color:#fff; padding:14px 18px; border-radius:6px;
  margin-top:14px; font-size:13.5px; text-align:center;
}
.excel-unlock-cta svg{ flex-shrink:0; color:var(--amber); }
.excel-unlock-cta .unlock-pill{
  background:var(--amber); color:var(--ink-navy-deep); font-weight:700; font-size:12.5px;
  padding:8px 18px; border-radius:20px; cursor:pointer; border:none; margin-left:auto;
}

/* Khối video hướng dẫn: nằm DƯỚI bảng Excel, rộng 2/3 khung nội dung, căn giữa */
.excel-tutorial{
  width:66.667%; margin:24px auto 0; background:#fff;
  border:1px solid var(--paper-line); border-radius:10px; padding:16px 16px 18px;
  box-shadow:0 1px 2px rgba(27,35,64,.04);
}
.excel-tutorial-label{
  display:flex; align-items:center; gap:9px; margin-bottom:12px;
  font-family:var(--font-card); font-weight:740; font-size:15.5px; line-height:1.3;
  letter-spacing:-0.005em; color:var(--ink-navy);
}
.excel-tutorial-label svg{ flex-shrink:0; color:var(--amber-deep); }
.excel-video-direct{ display:block; width:100%; height:auto; max-height:70vh; border-radius:6px; background:#000; }
@media (max-width:760px){ .excel-tutorial{ width:100%; } }
.excel-video-frame{ position:relative; width:100%; padding-top:56.25%; border-radius:6px; overflow:hidden; background:#000; }
.excel-video-frame iframe, .excel-video-frame video{ position:absolute; top:0; left:0; width:100%; height:100%; border:0; }

/* ===== Hiệu ứng hiện lên lần lượt khi cuộn ("Vì sao chọn..." và "Câu hỏi thường gặp") =====
   Class .reveal chỉ được JS thêm vào nên nếu JS lỗi / máy bật "giảm chuyển động"
   thì nội dung vẫn hiển thị bình thường. */
.reveal{
  opacity: 0;
  transform: translate3d(0, 34px, 0) scale(.985);
  filter: blur(5px);
  transition:
    opacity .9s cubic-bezier(.16, 1, .3, 1),
    transform .9s cubic-bezier(.16, 1, .3, 1),
    filter .9s cubic-bezier(.16, 1, .3, 1);
}
.reveal:not(.reveal-done){ will-change: opacity, transform, filter; }
.reveal.is-visible{ opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; filter: none; transition: none; }
}

/* ===== Thu nhỏ khoảng cách giữa "Vì sao chọn..." và "Câu hỏi thường gặp" (2 khối cùng nền) ===== */
body.page-home > section.block.alt:first-of-type{ padding-bottom: 26px; }
body.page-home > section.block.alt:nth-of-type(2){ padding-top: 10px; }
body.page-home > section.block.alt:nth-of-type(2) .section-head{ margin-top: 14px; margin-bottom: 28px; }

/* ===== Trang chủ trên máy tính: đúng 4 tài liệu mỗi dòng, thẻ cỡ vừa (~220px) =====
   Thu hẹp khung nội dung trang chủ còn 1000px để 4 thẻ vừa khít, không bị dư khoảng trống bên phải. */
@media (min-width: 1000px){
  body.page-home main{ max-width: 1000px; }
  .grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
  .card-body{ padding: 12px 14px 14px; }
  .card h3{ font-size: 14.5px; margin-bottom: 6px; }
  .card p.desc{ font-size: 12px; margin-bottom: 10px; }
  .card .price{ font-size: 15px; }
  .cover .preview-badge{ top: 9px; right: 9px; font-size: 10.5px; padding: 4px 9px; }
  button.buy, a.buy, a.preview-btn{ font-size: 12px; padding: 7px 9px; }
}

/* ===== Giá tiền =====
   - Trên nền trắng (thẻ trang chủ, khung giá trang xem trước/tài liệu): cam hổ phách đậm hơn một nấc
     để đủ tương phản trên nền sáng.
   - Trên nền xanh đậm (thanh mua hàng .sticky-cta): giữ cam hổ phách sáng như cũ. */
:root{ --price: #C2741A; }
.price,
.card .price,
.doc-meta .price{ color: var(--price); }
.sticky-cta .price{ color: var(--amber); }
.card .price{ font-weight: 700; }

/* Font riêng cho thẻ tài liệu: tiêu đề, giá tiền (nền trắng), nút Xem trước / Mua ngay */
.card h3{ font-family: var(--font-card); font-weight: 740; font-size: 14.5px; line-height: 1.35; }
.card .price, .doc-meta .price{
  font-family: var(--font-card); font-weight: 700; letter-spacing: 0; font-variant-numeric: tabular-nums;
}
.card .price{ font-size: 15.5px; }
.doc-meta .price{ font-size: 17.5px; }
.card button.buy, .card a.buy, .card a.preview-btn{ font-family: var(--font-card); font-weight: 600; }

@media (min-width: 1000px){ .card h3{ font-size: 15px; } }

/* Điện thoại: tiêu đề thẻ tài liệu to hơn vừa phải */
@media (max-width: 700px){
  .card h3{ font-size: 16.5px; line-height: 1.35; }
  .card .price{ font-size: 17px; }
}

/* Tiêu đề trang xem trước bộ + trang tài liệu: dùng cùng font với thẻ tài liệu */
.doc-head h1{ font-family: var(--font-card); font-weight: 740; line-height: 1.3; letter-spacing: -0.01em; }
body.page-bundle .doc-head h1{ font-size: clamp(20px, 2.9vw, 24px); }
body.page-doc .doc-head h1{ font-size: clamp(17px, 2.6vw, 21px); }
.doc-info h4{ font-family: var(--font-card); font-weight: 740; font-size: 14.5px; line-height: 1.35; white-space: normal; overflow: visible; text-overflow: clip; margin-bottom: 4px; }
.sticky-cta .name{ font-family: var(--font-card); font-weight: 740; font-size: 16px; }

/* Máy tính: tiêu đề các mục ở trang chủ nhỏ hơn một chút (điện thoại giữ nguyên) */
@media (min-width: 701px){
  .page-lead h1{ font-size: 25px; }
  body.page-home .section-head h2{ font-size: 22px; }
}

/* ===== Cải thiện UX (nút dễ bấm, giá dễ đọc, hộp mua, chính sách, giới thiệu) ===== */
/* Giá đậm hơn một chút: độ tương phản trên nền trắng 4,75:1 (đạt chuẩn WCAG AA cho chữ nhỏ) */
:root{ --price:#A8620F; }

/* Nút trên thẻ tài liệu: cao ~36px (điện thoại) / ~34px (máy tính), nằm giữa bản cũ (~28px) và bản trước (44px) */
.card-actions{ gap:8px; }
button.buy, a.buy, a.preview-btn{
  min-height:36px; display:inline-flex; align-items:center; justify-content:center;
  font-size:12.5px; padding:0 10px; border-radius:5px; line-height:1.1;
}
@media (min-width:1000px){ button.buy, a.buy, a.preview-btn{ min-height:34px; font-size:12px; padding:0 9px; } }
button.buy-big{ min-height:44px; border-radius:6px; }

/* Hộp xác nhận mua: tóm tắt đơn hàng + nhắc lại email + ghi chú chính sách */
.order-sum{ display:flex; justify-content:space-between; align-items:baseline; gap:12px; padding:12px 14px; margin:2px 0 12px;
  background:#FFF8E8; border:1px solid var(--paper-line); border-radius:8px; }
.order-sum .os-name{ font-family:var(--font-card); font-weight:700; font-size:14px; color:var(--ink-navy); line-height:1.35; }
.order-sum .os-price{ font-family:var(--font-card); font-weight:700; font-size:15px; color:var(--price); white-space:nowrap; }
.send-to{ font-size:12.5px; color:var(--text-soft); margin:6px 2px 0; min-height:18px; word-break:break-all; }
.send-to b{ color:var(--ink-navy); }
.policy-note{ font-size:12px; color:var(--text-soft); margin-top:12px; line-height:1.5; text-align:center; }
.policy-note a, .wyg a, .foot-policy a{ color:var(--amber-deep); text-decoration:underline; text-underline-offset:2px; }
.modal .actions button{ min-height:46px; }
.modal .actions .cancel{ flex:0 0 30%; }
.modal .actions .confirm{ flex:1; white-space:nowrap; font-weight:700; }

/* Khối "Bạn nhận được gì" (dưới danh sách tài liệu) */
.wyg{ margin:14px 0 6px; padding:14px 16px; background:#fff; border:1px solid var(--paper-line); border-radius:10px; }
.wyg h3{ font-family:var(--font-card); font-size:15px; font-weight:740; color:var(--ink-navy); margin-bottom:10px; }
.wyg ul{ list-style:none; display:grid; gap:9px; }
.wyg li{ display:grid; grid-template-columns:78px 1fr; gap:10px; font-size:13.5px; line-height:1.45; color:var(--text-dark); }
.wyg li b{ font-weight:600; color:var(--text-soft); }
.wyg .wyg-link{ display:inline-block; margin-top:12px; font-size:12.5px; }

/* "Về Lazy Learner" (dưới phần Câu hỏi thường gặp, cùng nền với các mục xen kẽ) */
section.block.alt.about-us{ padding-top:8px; padding-bottom:64px; }
.about-us .inner{ max-width:900px; margin:0 auto; text-align:center; }
.about-divider{ position:relative; height:1px; max-width:420px; margin:0 auto 34px;
  background:linear-gradient(90deg, transparent, var(--paper-line) 18%, var(--paper-line) 82%, transparent); }
.about-divider::after{ content:""; position:absolute; left:50%; top:50%; width:9px; height:9px; margin:-4.5px 0 0 -4.5px;
  background:var(--amber); border-radius:50%; box-shadow:0 0 0 5px #F3EEE0; }
.about-logo{ width:92px; height:92px; margin:0 auto 18px; padding:4px; border-radius:50%;
  background:linear-gradient(135deg, var(--amber), var(--amber-deep)); box-shadow:0 8px 22px rgba(27,35,64,.16); }
.about-logo img{ display:block; width:100%; height:100%; border-radius:50%; background:#fff; object-fit:cover; }
.about-head{ margin-bottom:14px; text-align:center; }
.about-text{ max-width:640px; margin:0 auto 30px; font-size:15.5px; line-height:1.75; color:var(--text-dark); }
.about-points{ list-style:none; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; margin:0 0 24px; padding:0; text-align:left; }
.about-point{ display:flex; flex-direction:column; gap:6px; padding:20px 18px 18px; background:rgba(255,255,255,.72);
  border:1px solid var(--paper-line); border-radius:12px; box-shadow:0 1px 2px rgba(27,35,64,.04);
  transition:box-shadow .25s ease, border-color .25s ease, background .25s ease; }
.about-point:hover{ background:#fff; border-color:#D9CBA4; box-shadow:0 10px 24px rgba(27,35,64,.10); }
.about-ico{ display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; margin-bottom:6px;
  border-radius:50%; background:var(--ink-navy); color:var(--amber); }
.about-ico svg{ width:20px; height:20px; }
.about-point strong{ font-family:var(--font-card); font-weight:740; font-size:15.5px; color:var(--ink-navy); }
.about-point span:last-child{ font-size:13.5px; line-height:1.6; color:var(--text-soft); }
.about-link{ margin:0; font-size:14px; }
.about-link a{ color:var(--amber-deep); font-weight:600; text-decoration:none; border-bottom:1px solid transparent; transition:border-color .2s; }
.about-link a:hover{ border-bottom-color:currentColor; }
@media (max-width:760px){
  .about-points{ grid-template-columns:1fr; gap:12px; }
  .about-point{ flex-direction:row; flex-wrap:wrap; align-items:flex-start; column-gap:14px; }
  .about-point{ display:grid; grid-template-columns:40px 1fr; grid-template-rows:auto auto; column-gap:14px; row-gap:2px; }
  .about-ico{ grid-row:1 / span 2; margin:0; }
  .about-text{ font-size:15px; }
}
.foot-policy{ font-size:13px; margin:10px 0 2px; color:#B9BFCF; }
.foot-policy a{ color:#E8C96A; margin:0 8px; text-decoration:underline; text-underline-offset:2px; }

/* ===== Trang chính sách (pol-*) ===== */
body.page-policy{ background:var(--paper); }
body.page-policy main{ max-width:1080px; padding:34px 24px 100px; }
.pol-hero{ position:relative; overflow:hidden; color:#fff; background:
  radial-gradient(ellipse 520px 240px at 92% 0%, rgba(232,163,61,.16), transparent 70%),
  linear-gradient(135deg, var(--ink-navy-deep), var(--ink-navy) 70%); }
.pol-hero::after{ content:""; position:absolute; inset:auto 0 0 0; height:1px; background:linear-gradient(90deg, transparent, rgba(232,163,61,.55), transparent); }
.pol-hero-inner{ max-width:1080px; margin:0 auto; padding:30px 24px 44px; }
.pol-hero .back-link{ display:inline-block; color:#C9D0E6; font-size:13.5px; text-decoration:none; margin-bottom:22px; transition:color .2s; }
.pol-hero .back-link:hover{ color:var(--amber); }
.pol-eyebrow{ display:block; font-family:'IBM Plex Mono',ui-monospace,monospace; font-size:11.5px; font-weight:500; letter-spacing:.14em;
  text-transform:uppercase; color:var(--amber); margin-bottom:12px; }
.pol-hero h1{ font-family:'Source Serif 4',Georgia,serif; font-weight:700; font-size:clamp(28px,4.4vw,40px); line-height:1.18; letter-spacing:-.01em; margin:0 0 14px; color:#fff; }
.pol-lead{ max-width:660px; font-size:15.5px; line-height:1.7; color:#D5DAEA; margin:0 0 20px; }
.pol-updated{ display:inline-flex; align-items:center; gap:8px; font-size:12.5px; color:#E9ECF6; padding:6px 12px;
  border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(255,255,255,.07); }
.pol-updated i{ width:7px; height:7px; border-radius:50%; background:#5CC98B; display:block; }

.pol-stats{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:-26px 0 34px; position:relative; z-index:2; }
.pol-stat{ background:#fff; border:1px solid var(--paper-line); border-radius:12px; padding:16px 18px; box-shadow:0 8px 24px rgba(27,35,64,.08); }
.pol-stat b{ display:block; font-family:var(--font-card); font-weight:760; font-size:22px; line-height:1.15; color:var(--ink-navy); }
.pol-stat b small{ font-size:13px; font-weight:700; color:var(--amber-deep); margin-left:3px; }
.pol-stat span{ display:block; margin-top:5px; font-size:13px; color:var(--text-soft); line-height:1.45; }

.pol-layout{ display:grid; grid-template-columns:232px minmax(0,1fr); gap:36px; align-items:start; }
.pol-toc{ position:sticky; top:84px; }
.pol-toc-title{ font-family:'IBM Plex Mono',ui-monospace,monospace; font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-soft); margin:0 0 10px 12px; }
.pol-toc ol{ list-style:none; margin:0; padding:0; display:grid; gap:2px; border-left:2px solid var(--paper-line); }
.pol-toc a{ display:flex; gap:10px; align-items:baseline; padding:8px 12px; margin-left:-2px; border-left:2px solid transparent;
  font-size:14px; line-height:1.4; color:var(--text-soft); text-decoration:none; font-weight:500; transition:color .2s, border-color .2s, background .2s; }
.pol-toc a em{ font-style:normal; font-family:'IBM Plex Mono',ui-monospace,monospace; font-size:11.5px; color:#9A9FAE; }
.pol-toc a:hover{ color:var(--ink-navy); background:rgba(27,35,64,.04); }
.pol-toc a.is-active{ color:var(--ink-navy); font-weight:700; border-left-color:var(--amber-deep); background:rgba(232,163,61,.10); }
.pol-toc a.is-active em{ color:var(--amber-deep); }

.pol-content{ display:grid; gap:20px; min-width:0; }
.pol-sec{ background:#fff; border:1px solid var(--paper-line); border-radius:14px; padding:26px 28px 24px; scroll-margin-top:88px; box-shadow:0 1px 2px rgba(27,35,64,.04); }
.pol-sec-head{ display:flex; align-items:center; gap:14px; margin-bottom:14px; }
.pol-num{ flex:0 0 auto; width:36px; height:36px; border-radius:10px; display:flex; align-items:center; justify-content:center;
  background:var(--ink-navy); color:var(--amber); font-family:var(--font-card); font-weight:760; font-size:15px; }
.pol-sec h2{ font-family:'Source Serif 4',Georgia,serif; font-weight:700; font-size:22px; line-height:1.25; color:var(--ink-navy); margin:0; }
.pol-sec p{ font-size:15px; line-height:1.75; color:var(--text-dark); margin:0 0 10px; }
.pol-sec p:last-child{ margin-bottom:0; }
.pol-sec a{ color:var(--amber-deep); text-underline-offset:2px; }
.pol-list{ list-style:none; margin:0 0 6px; padding:0; display:grid; gap:10px; }
.pol-list li{ position:relative; padding-left:26px; font-size:15px; line-height:1.7; color:var(--text-dark); }
.pol-list li::before{ content:""; position:absolute; left:3px; top:.62em; width:8px; height:8px; border-radius:50%; background:var(--amber); }

.pol-box{ border-radius:12px; padding:16px 18px 14px; margin:14px 0; border:1px solid; }
.pol-box h3{ display:flex; align-items:center; gap:9px; font-family:var(--font-card); font-weight:740; font-size:15.5px; margin:0 0 10px; }
.pol-box h3 svg{ width:22px; height:22px; flex:0 0 auto; }
.pol-box .pol-list li::before{ display:none; }
.pol-box .pol-list li{ padding-left:28px; }
.pol-box .pol-list li svg{ position:absolute; left:0; top:.32em; width:18px; height:18px; }
.pol-box.ok{ background:#F1FAF4; border-color:#BFE3CC; }
.pol-box.ok h3{ color:#1F6B3E; } .pol-box.ok li svg{ color:#23904F; }
.pol-box.no{ background:#FDF3F2; border-color:#EDC4C0; }
.pol-box.no h3{ color:#9B2D26; } .pol-box.no li svg{ color:#C2403A; }
.pol-box > p{ font-size:14px; color:var(--text-soft); margin:0 0 10px; }
.pol-note{ font-size:14px; padding:12px 14px; border-radius:10px; background:#FFF8E8; border:1px solid #F0DFB4; color:var(--text-dark); }

.pol-steps-title{ font-family:var(--font-card); font-weight:740; font-size:16px; color:var(--ink-navy); margin:22px 0 12px; }
.pol-steps{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; counter-reset:st; }
.pol-steps li{ counter-increment:st; position:relative; padding:16px 14px 14px; background:#FAF7EE; border:1px solid var(--paper-line); border-radius:12px; }
.pol-steps li::before{ content:counter(st); display:flex; align-items:center; justify-content:center; width:26px; height:26px; margin-bottom:10px;
  border-radius:50%; background:var(--amber); color:var(--ink-navy-deep); font-family:var(--font-card); font-weight:760; font-size:13px; }
.pol-steps b{ display:block; font-family:var(--font-card); font-weight:740; font-size:14px; color:var(--ink-navy); margin-bottom:4px; }
.pol-steps span{ display:block; font-size:13.5px; line-height:1.55; color:var(--text-soft); }

.pol-contact{ display:grid; grid-template-columns:1.5fr 1fr 1fr; gap:12px; margin-top:4px; }
.pol-contact a{ display:flex; flex-direction:column; gap:3px; padding:14px 16px; background:#FAF7EE; border:1px solid var(--paper-line); border-radius:12px;
  text-decoration:none; color:var(--ink-navy); transition:border-color .2s, box-shadow .2s, background .2s; min-width:0; }
.pol-contact a:hover{ background:#fff; border-color:#D9CBA4; box-shadow:0 8px 20px rgba(27,35,64,.09); }
.pol-contact small{ font-family:'IBM Plex Mono',ui-monospace,monospace; font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--text-soft); }
.pol-contact strong{ font-family:var(--font-card); font-weight:700; font-size:14px; overflow-wrap:anywhere; color:var(--ink-navy); }

@media (max-width:860px){
  body.page-policy main{ padding:24px 16px 90px; }
  .pol-hero-inner{ padding:24px 16px 40px; }
  .pol-stats{ grid-template-columns:1fr; gap:10px; margin:-22px 0 22px; }
  .pol-stat{ display:flex; align-items:baseline; gap:12px; padding:13px 16px; }
  .pol-stat b{ flex:0 0 auto; white-space:nowrap; min-width:92px; }
  .pol-stat span{ margin:0; }
  .pol-layout{ grid-template-columns:minmax(0,1fr); gap:18px; }
  .pol-toc{ min-width:0; }
  .pol-toc{ position:sticky; top:66px; z-index:20; margin:0 -16px; padding:8px 16px; background:rgba(250,246,236,.94);
    -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); border-bottom:1px solid var(--paper-line); }
  .pol-toc-title{ display:none; }
  .pol-toc ol{ display:flex; gap:8px; overflow-x:auto; border-left:0; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
  .pol-toc ol::-webkit-scrollbar{ display:none; }
  .pol-toc a{ flex:0 0 auto; margin:0; padding:7px 13px; border:1px solid var(--paper-line); border-radius:999px; background:#fff; white-space:nowrap; font-size:13px; }
  .pol-toc a.is-active{ background:var(--ink-navy); color:#fff; border-color:var(--ink-navy); }
  .pol-toc a.is-active em{ color:var(--amber); }
  .pol-sec{ padding:20px 18px 18px; scroll-margin-top:128px; border-radius:12px; }
  .pol-sec h2{ font-size:19px; }
  .pol-steps, .pol-contact{ grid-template-columns:minmax(0,1fr); }
}
@media (prefers-reduced-motion:reduce){ .pol-toc a, .pol-contact a, .about-point{ transition:none; } }

/* ===== Sửa: 3 thẻ "Xem trước miễn phí / Thanh toán an toàn / Hỗ trợ khi có lỗi" không có hiệu ứng hiện lên =====
   Nguyên nhân: quy tắc `.about-point{ transition: box-shadow, border-color, background }` nằm SAU `.reveal`
   nên ghi đè mất transition của opacity/transform/filter → thẻ "nhảy" ra ngay thay vì mờ dần + trượt lên.
   Cách sửa: gộp cả hai danh sách transition cho thẻ đang có .reveal (hover vẫn mượt như cũ). */
.about-point.reveal{
  transition:
    opacity .9s cubic-bezier(.16, 1, .3, 1),
    transform .9s cubic-bezier(.16, 1, .3, 1),
    filter .9s cubic-bezier(.16, 1, .3, 1),
    box-shadow .25s ease,
    border-color .25s ease,
    background .25s ease;
}
