/* ============================================================
   MITN — Khuyến mãi
   Hero canh giữa + icon badge (biến thể riêng, khác hero trái mặc
   định của các trang khác), khối full-width chèn Flatsome UX Block
   [block id="khuyen-mai"], và khối liên hệ nhanh (qc-*).
   Nền/token/breadcrumb dùng lại page-templates-shared.css.
   ============================================================ */

.mitn-promo .page-hero { position: relative; overflow: hidden; }
.mitn-promo .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 86% 18%, rgba(221, 51, 51, 0.18), transparent 46%);
  pointer-events: none;
}
.mitn-promo .page-hero > .policy-container { position: relative; }
.mitn-promo .page-hero__inner { text-align: center; }
.mitn-promo .page-hero__ic {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s-4);
  border-radius: var(--radius-lg);
  background: rgba(221, 51, 51, 0.16);
  border: 1px solid rgba(221, 51, 51, 0.4);
  display: grid;
  place-items: center;
}
.mitn-promo .page-hero__ic svg { width: 28px; height: 28px; color: #fca5a5; }
.mitn-promo .page-hero__title { text-align: center; }
.mitn-promo .page-hero__intro { text-align: center; max-width: 560px; margin-inline: auto; }

/* ── KHỐI NỘI DUNG KHUYẾN MÃI (full-width, Flatsome UX Block) ── */
.mitn-promo-full { width: 100%; }
.mitn-promo-full:empty { display: none; }
.mitn-promo-missing {
  max-width: 640px;
  margin: var(--s-8) auto;
  padding: var(--s-4) var(--s-5);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--color-status-warning, #d97706);
  background: var(--color-status-warning-bg, #fef3c7);
  border: 1px dashed var(--color-status-warning, #d97706);
  border-radius: var(--radius-md);
}

/* ── LIÊN HỆ NHANH ── */
.quick-contact { padding-block: var(--s-10); }
.qc-card {
  background: var(--color-surface-base);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.qc-head {
  text-align: center;
  padding: var(--s-8) var(--s-6) var(--s-6);
  border-bottom: 1px solid var(--color-border-subtle);
}
.qc-head h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0 0 var(--s-2);
}
.qc-head p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  max-width: 520px;
  margin: 0 auto var(--s-5);
}
.qc-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 48px;
  padding: 0 var(--s-6);
  background: var(--color-brand-primary);
  color: #fff;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: var(--shadow-brand);
  transition: background var(--duration-fast), transform var(--duration-fast);
}
.qc-cta:hover { background: var(--color-brand-primary-hover); text-decoration: none; transform: translateY(-1px); color: #fff; }
.qc-cta svg { width: 18px; height: 18px; }

.qc-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.qc-item {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  padding: var(--s-5);
  border-right: 1px solid var(--color-border-subtle);
  border-top: 1px solid var(--color-border-subtle);
}
.qc-grid .qc-item:nth-child(4n) { border-right: none; }
.qc-item__ic {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: var(--radius-md);
  background: var(--color-brand-surface);
  color: var(--color-brand-primary);
  display: grid;
  place-items: center;
}
.qc-item__ic svg { width: 20px; height: 20px; }
.qc-item__label {
  font-size: var(--fs-xs);
  color: var(--color-text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 700;
  margin-bottom: 2px;
}
.qc-item__value { font-size: var(--fs-sm); color: var(--color-text-body); line-height: 1.5; }
.qc-item__value a { color: var(--color-text-primary); font-weight: 700; }

@media (max-width: 800px) {
  .qc-grid { grid-template-columns: repeat(2, 1fr); }
  .qc-grid .qc-item:nth-child(4n) { border-right: 1px solid var(--color-border-subtle); }
  .qc-grid .qc-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
  .qc-grid { grid-template-columns: 1fr; }
  .qc-item { border-right: none; }
}

/* ── TEASER VOUCHER NẠP MỰC (nội dung Flatsome Block "khuyen-mai") ── */
.voucher-teaser { padding-block: var(--s-10); }
.vt-head { text-align: center; max-width: 600px; margin: 0 auto var(--s-8); }
.vt-head h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0 0 var(--s-2);
}
.vt-head p { font-size: var(--fs-sm); color: var(--color-text-muted); }
.vt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); max-width: 720px; margin: 0 auto var(--s-8); }
.vt-card {
  position: relative;
  background: var(--color-surface-base);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  padding: var(--s-6) var(--s-5);
  text-align: center;
}
.vt-card--hot { border-color: var(--color-brand-primary); box-shadow: var(--shadow-brand); }
.vt-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  background: var(--color-brand-primary);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 800;
}
.vt-value {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  line-height: 1;
  color: var(--color-brand-primary);
  margin-bottom: var(--s-2);
}
.vt-value sup { font-size: 1rem; vertical-align: super; }
.vt-desc { font-size: var(--fs-sm); color: var(--color-text-body); }
.vt-cta-row { text-align: center; }
.vt-cta-row .qc-cta { display: inline-flex; }

@media (max-width: 480px) {
  .vt-grid { grid-template-columns: 1fr; }
}
