/* Trang khách pay.omicall.com.vn — checkout / pay / order.
   Nhận diện OMICALL (omicall-2026/style.css:15): chính #00B1FF, đậm #0080c0, nhạt #e6f7fe, phụ #56cc6e,
   chữ #1e3150, mờ #6b7280/#9ca3af, nền #f8fafc/#f1f5f9, viền #e5eaf0, bo 12/20px, Be Vietnam Pro. */
:root {
  --c-primary: #00B1FF;
  --c-primary-d: #0080c0;
  --c-primary-l: #e6f7fe;
  --c-accent: #56cc6e;
  --c-text: #1e3150;
  --c-muted: #6b7280;
  --c-muted-2: #9ca3af;
  --c-bg: #f8fafc;
  --c-bg-2: #f1f5f9;
  --c-line: #e5eaf0;
  --c-white: #ffffff;
  --r-sm: 12px;
  --r-lg: 20px;
  --shadow-card: 0 1px 2px rgba(30, 49, 80, .04), 0 12px 32px -12px rgba(30, 49, 80, .14);
  --shadow-btn: 0 10px 24px -8px rgba(0, 177, 255, .42);
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 15px; line-height: 1.55; color: var(--c-text); background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: var(--c-primary-d); }
button { font: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }

/* ===== Đầu trang navy ===== */
.sh-top {
  background: linear-gradient(120deg, #1e3150 0%, #0080c0 100%);
  color: var(--c-white);
}
.sh-top-in {
  max-width: var(--wrap); margin: 0 auto; padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.sh-logo { display: inline-flex; align-items: center; }
.sh-logo img { height: 36px; width: auto; display: block; filter: brightness(0) invert(1); }
.sh-secure {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .86);
}
.sh-secure svg { width: 16px; height: 16px; flex: none; }
.sh-hero {
  max-width: var(--wrap); margin: 0 auto; padding: 8px 24px 92px;
}
.sh-steps { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; padding: 0; list-style: none; }
.sh-steps li {
  font-size: 12px; font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .6);
  display: inline-flex; align-items: center; gap: 8px;
}
.sh-steps li + li::before { content: ''; width: 18px; height: 1px; background: rgba(255, 255, 255, .35); }
.sh-steps li.is-on { color: var(--c-white); }
.sh-steps li.is-done { color: rgba(255, 255, 255, .86); }
.sh-title { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.sh-sub { margin: 8px 0 0; color: rgba(255, 255, 255, .78); font-size: 15px; max-width: 640px; }

/* ===== Thân ===== */
.sh-main { flex: 1; width: 100%; max-width: var(--wrap); margin: -64px auto 0; padding: 0 24px 56px; }
/* Checkout: 2 thẻ cao tự nhiên (align start); tắt VAT chiều cao gần bằng nhau, bật VAT thẻ phải sticky */
.sh-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.sh-summary { min-width: 0; }
.sh-co-form, .sh-co-sum { display: flex; flex-direction: column; min-width: 0; }
/* Thẻ đơn hàng trượt theo cuộn khi màn đủ cao (bật VAT thẻ trái dài ra) — không kéo dãn, không khoảng trống trong thẻ */
@media (min-width: 861px) and (min-height: 700px) { .sh-summary { position: sticky; top: 24px; } }
.sh-card {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-card); padding: 28px;
}
.sh-card + .sh-card { margin-top: 20px; }
.sh-card-title { margin: 0 0 4px; font-size: 18px; font-weight: 700; }
.sh-card-sub { margin: 0 0 20px; color: var(--c-muted); font-size: 14px; }

/* ===== Form ===== */
.sh-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sh-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.sh-field.is-full { grid-column: 1 / -1; }
.sh-label { font-size: 13px; font-weight: 600; color: var(--c-text); }
.sh-label .req { color: var(--c-primary-d); margin-left: 2px; }
.sh-label .opt { color: var(--c-muted-2); font-weight: 400; margin-left: 4px; }
.sh-input {
  width: 100%; height: 46px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--c-text);
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-sm);
  transition: border-color .15s, box-shadow .15s;
}
textarea.sh-input { height: auto; min-height: 84px; padding: 12px 14px; resize: vertical; }
.sh-input::placeholder { color: var(--c-muted-2); }
.sh-input:hover { border-color: #cfd8e3; }
.sh-input:focus { border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-l); }
.sh-field.has-err .sh-input { border-color: var(--c-text); box-shadow: 0 0 0 3px var(--c-bg-2); }
.sh-err { display: none; font-size: 13px; font-weight: 500; color: var(--c-text); align-items: center; gap: 6px; }
.sh-err::before {
  content: '!'; flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--c-text); color: var(--c-white);
  font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.sh-field.has-err .sh-err { display: flex; }
.sh-hint { font-size: 12px; color: var(--c-muted); }

.sh-sep { height: 1px; background: var(--c-line); border: 0; margin: 24px 0; }
.sh-switch-row {
  margin-bottom: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; user-select: none;
}
.sh-switch-row strong { display: block; font-size: 15px; font-weight: 600; }
.sh-switch-row span.sh-hint { display: block; margin-top: 2px; }
.sh-switch { position: relative; width: 44px; height: 26px; flex: none; }
.sh-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sh-switch i {
  position: absolute; inset: 0; border-radius: 999px; background: #cfd8e3; transition: background .2s; pointer-events: none;
}
.sh-switch i::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-white); box-shadow: 0 1px 3px rgba(30, 49, 80, .25); transition: transform .2s;
}
.sh-switch input:checked + i { background: var(--c-primary); }
.sh-switch input:checked + i::after { transform: translateX(18px); }
.sh-switch input:focus-visible + i { outline: 2px solid var(--c-primary); outline-offset: 2px; }
fieldset.sh-invoice { border: 0; margin: 0 0 24px; padding: 20px; background: var(--c-bg); border-radius: var(--r-sm); min-width: 0; }
fieldset.sh-invoice[disabled] { display: none; }
/* Loại hoá đơn Doanh nghiệp / Cá nhân: radio gốc (phím mũi tên đi giữa 2 ô), vẽ như .sh-chip.is-on */
.sh-seg { display: flex; gap: 4px; padding: 4px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-sm); }
.sh-seg-opt { position: relative; flex: 1 1 0; min-width: 0; cursor: pointer; }
.sh-seg-opt input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.sh-seg-opt span {
  display: flex; align-items: center; justify-content: center; height: 38px; padding: 0 12px; border-radius: 9px;
  border: 1px solid transparent; font-size: 14px; font-weight: 600; color: var(--c-muted); text-align: center;
  transition: background .15s, border-color .15s, color .15s; pointer-events: none;
}
.sh-seg-opt:hover span { background: var(--c-bg-2); }
.sh-seg-opt input:checked + span { background: var(--c-primary-l); border-color: var(--c-primary); color: var(--c-primary-d); }
.sh-seg-opt input:focus-visible + span { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.sh-field.has-err .sh-seg { border-color: var(--c-text); box-shadow: 0 0 0 3px var(--c-bg-2); }

.sh-form-msg {
  margin-top: 16px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px;
  background: var(--c-bg-2); color: var(--c-text); border: 1px solid var(--c-line);
}

/* ===== Nút ===== */
.sh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 52px; padding: 0 24px; border-radius: var(--r-sm); border: 0; cursor: pointer;
  font-size: 16px; font-weight: 700; text-decoration: none; transition: background .15s, box-shadow .15s, transform .05s;
}
.sh-btn-primary { width: 100%; background: var(--c-primary); color: var(--c-white); box-shadow: var(--shadow-btn); }
.sh-btn-primary:hover { background: var(--c-primary-d); }
.sh-btn-primary:active { transform: translateY(1px); }
.sh-btn-ghost { background: var(--c-white); color: var(--c-text); border: 1px solid var(--c-line); height: 46px; font-size: 15px; font-weight: 600; }
.sh-btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary-d); }
.sh-btn[disabled], .sh-btn.is-busy { opacity: .45; cursor: not-allowed; pointer-events: auto; }
.sh-btn[disabled]:hover { background: var(--c-primary); }
.sh-btn svg { width: 18px; height: 18px; flex: none; }
.sh-spin {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: var(--c-white);
  animation: sh-rot .8s linear infinite;
}
@keyframes sh-rot { to { transform: rotate(360deg); } }

/* ===== Tóm tắt đơn ===== */
.sh-prod { display: flex; gap: 14px; align-items: center; }
.sh-prod-ico {
  width: 48px; height: 48px; border-radius: var(--r-sm); flex: none;
  background: linear-gradient(135deg, #1e3150, #0080c0); color: var(--c-white);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 13px; letter-spacing: .02em;
}
.sh-prod-name { font-weight: 700; font-size: 16px; }
.sh-prod-meta { color: var(--c-muted); font-size: 13px; }
.sh-qty-label { display: block; margin: 28px 0 8px; font-size: 13px; font-weight: 600; }
.sh-qty { display: flex; align-items: stretch; border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; height: 48px; }
.sh-qty button {
  width: 48px; flex: none; border: 0; background: var(--c-bg); color: var(--c-text); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s;
}
.sh-qty button:hover { background: var(--c-primary-l); color: var(--c-primary-d); }
.sh-qty button[disabled] { opacity: .45; cursor: not-allowed; }
.sh-qty button[disabled]:hover { background: var(--c-bg); color: var(--c-text); }
.sh-qty button svg { width: 18px; height: 18px; }
.sh-qty input {
  flex: 1; min-width: 0; border: 0; border-left: 1px solid var(--c-line); border-right: 1px solid var(--c-line);
  text-align: center; font: inherit; font-size: 17px; font-weight: 700; color: var(--c-text); background: var(--c-white);
}
.sh-qty input:focus { box-shadow: inset 0 0 0 2px var(--c-primary-l); }
.sh-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sh-chip {
  min-width: 48px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--c-line);
  background: var(--c-white); color: var(--c-text); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s;
}
.sh-chip:hover { background: var(--c-bg-2); }
.sh-chip.is-on, .sh-chip.is-on:hover { background: var(--c-primary-l); border-color: var(--c-primary); color: var(--c-primary-d); }
.sh-lines { margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--c-line); }
.sh-line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--c-muted); margin: 0 0 10px; }
.sh-line b { color: var(--c-text); font-weight: 600; text-align: right; }
.sh-total {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--c-line);
}
.sh-total span { font-weight: 600; }
.sh-total strong { font-size: 26px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.sh-vat { margin: 4px 0 0; text-align: right; font-size: 12px; color: var(--c-muted); }
/* Mã giảm giá (thẻ Đơn hàng): link mở ô → ô + nút viền cao 46px → chip mã đã áp (khuôn .sh-chip.is-on) */
.sh-grid > .sh-co-form { align-self: stretch; }  /* thẻ phải cao thêm (mã giảm giá) thì thẻ trái kéo bằng, .sh-trust nằm đáy */
.sh-cpn { margin-top: 18px; }
.sh-link-btn {
  padding: 0; border: 0; background: none; cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--c-primary-d); text-align: left;
}
.sh-link-btn:hover { text-decoration: underline; }
.sh-cpn-row { display: flex; gap: 10px; }
.sh-cpn-row .sh-input { flex: 1 1 auto; min-width: 0; text-transform: uppercase; }
.sh-cpn-row .sh-input::placeholder { text-transform: none; }
.sh-cpn-row .sh-btn { flex: none; padding: 0 18px; }
.sh-cpn-on { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.sh-cpn-on .sh-chip { display: inline-flex; align-items: center; gap: 8px; cursor: default; max-width: 100%; }
.sh-cpn-on .sh-chip b { font-weight: 800; letter-spacing: .02em; overflow-wrap: anywhere; }
.sh-cpn-on .sh-chip span { font-weight: 500; }
.sh-line-disc b { color: var(--c-primary-d); font-weight: 600; font-variant-numeric: tabular-nums; }
.sh-lines.is-wait .sh-line b, .sh-lines.is-wait .sh-total strong { opacity: .5; transition: opacity .15s; }
.sh-meta .sh-meta-note { color: var(--c-primary-d); font-weight: 600; }
.sh-submit { margin-top: 24px; }
.sh-submit .sh-form-msg { margin: 0 0 12px; }
/* Hộp đồng ý Điều khoản + Bảo mật (bắt buộc, ngay trên nút đặt hàng) */
.sh-terms { margin: 0 0 16px; }
.sh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--c-muted); cursor: pointer; }
.sh-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--c-primary); cursor: pointer; }
.sh-check a { font-weight: 600; }
.sh-field.has-err .sh-check input { outline: 2px solid var(--c-text); outline-offset: 1px; }
/* Lưu ý nhỏ có icon thông tin (thẻ Đơn hàng: hạn kích hoạt 15 ngày) */
.sh-tip { display: flex; gap: 8px; align-items: flex-start; margin: 16px 0 0; font-size: 12px; color: var(--c-muted); }
.sh-tip svg { width: 16px; height: 16px; flex: none; color: var(--c-primary-d); margin-top: 1px; }
.sh-trust {
  list-style: none; margin: auto 0 0; padding: 20px 0 0; border-top: 1px solid var(--c-line);
  display: flex; flex-wrap: wrap; gap: 10px 24px;
}
.sh-trust li { display: inline-flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 500; color: var(--c-muted); }
.sh-trust svg { width: 18px; height: 18px; flex: none; color: var(--c-accent); }

/* ===== Trang thanh toán ===== */
.sh-pay { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 32px; align-items: start; }
.sh-qr {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 18px;
  text-align: center;
}
.sh-qr img { display: block; width: 100%; max-width: 300px; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 auto; }
.sh-qr-cap { margin: 12px 0 0; font-size: 13px; color: var(--c-muted); }
.sh-timer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding: 12px 16px; border-radius: var(--r-sm); background: var(--c-primary-l);
}
.sh-timer span { font-size: 13px; font-weight: 600; color: var(--c-primary-d); }
.sh-timer strong { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--c-text); }
.sh-bank { width: 100%; border-collapse: collapse; }
.sh-bank tr + tr td { border-top: 1px solid var(--c-line); }
.sh-bank td { padding: 14px 0; vertical-align: middle; }
.sh-bank td.k { width: 128px; font-size: 13px; color: var(--c-muted); padding-right: 12px; }
.sh-bank td.v { font-weight: 700; font-size: 16px; word-break: break-word; font-variant-numeric: tabular-nums; }
.sh-bank td.v.is-big { font-size: 20px; color: var(--c-primary-d); }
.sh-bank td.c { width: 1%; white-space: nowrap; padding-left: 12px; text-align: right; }
.sh-copy {
  display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--c-line); background: var(--c-white); color: var(--c-text); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: border-color .15s, color .15s, background .15s;
}
.sh-copy svg { width: 14px; height: 14px; }
.sh-copy:hover { border-color: var(--c-primary); color: var(--c-primary-d); }
.sh-copy.is-done { background: var(--c-primary-l); border-color: var(--c-primary); color: var(--c-primary-d); }
.sh-note {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--c-bg); border: 1px solid var(--c-line); font-size: 14px;
}
.sh-note svg { width: 18px; height: 18px; flex: none; color: var(--c-primary-d); margin-top: 2px; }
.sh-note b { color: var(--c-primary-d); }
.sh-wait { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 14px; color: var(--c-muted); }
.sh-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); position: relative; flex: none; }
.sh-dot::after {
  content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--c-primary); opacity: 0;
  animation: sh-ping 1.6s ease-out infinite;
}
@keyframes sh-ping { 0% { transform: scale(.5); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
.sh-meta { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 20px; font-size: 14px; color: var(--c-muted); }
.sh-meta b { color: var(--c-text); }

/* ===== Trạng thái (hết hạn / không thấy / thành công) ===== */
.sh-state { text-align: center; padding: 40px 20px; max-width: 520px; margin: 0 auto; }
.sh-state-ico {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center;
  background: var(--c-bg-2); color: var(--c-muted);
}
.sh-state-ico svg { width: 30px; height: 30px; }
.sh-state-ico.is-ok { background: var(--c-accent); color: var(--c-white); box-shadow: 0 10px 24px -8px rgba(86, 204, 110, .55); }
.sh-state h2 { margin: 0 0 8px; font-size: 22px; font-weight: 800; }
.sh-state p { margin: 0 0 8px; color: var(--c-muted); }
.sh-state .sh-btn { margin-top: 16px; width: auto; min-width: 220px; }
.sh-state .sh-call { margin-top: 18px; font-size: 14px; }
.sh-state .sh-call a { font-weight: 700; text-decoration: none; }
.sh-loading { text-align: center; padding: 56px 20px; color: var(--c-muted); }
.sh-loading .sh-spin { margin: 0 auto 12px; width: 26px; height: 26px; border-color: var(--c-line); border-top-color: var(--c-primary); }

/* ===== Đơn đã thanh toán ===== */
.sh-ok-head { display: flex; gap: 16px; align-items: center; }
.sh-ok-head .sh-state-ico { margin: 0; flex: none; width: 56px; height: 56px; }
.sh-ok-head h2 { margin: 0; font-size: 22px; font-weight: 800; }
.sh-ok-head p { margin: 4px 0 0; color: var(--c-muted); font-size: 14px; }
.sh-codes-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 24px 0 12px; }
.sh-codes-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.sh-codes { list-style: none; margin: 0; padding: 0; border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; }
.sh-codes li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; }
.sh-codes li + li { border-top: 1px solid var(--c-line); }
.sh-codes li:nth-child(even) { background: var(--c-bg); }
.sh-codes .n { width: 28px; flex: none; color: var(--c-muted-2); font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sh-codes .code {
  /* Mỗi code luôn 1 dòng, không cắt/ẩn ký tự: co chữ (shop.js fitCodes, sàn 11px); vẫn dài hơn thì cuộn ngang trong ô */
  flex: 1; min-width: 0; font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: 15px; font-weight: 600;
  letter-spacing: .04em; white-space: nowrap; overflow-x: auto; overflow-y: hidden; scrollbar-width: none;
  -webkit-user-select: all; user-select: all;
}
.sh-codes .code::-webkit-scrollbar { display: none; }
.sh-codes .sh-copy { flex: none; }
.sh-partial {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; padding: 14px 16px; border-radius: var(--r-sm);
  background: var(--c-primary-l); border: 1px solid var(--c-accent); font-size: 14px;
}
.sh-partial svg { width: 18px; height: 18px; flex: none; color: var(--c-accent); margin-top: 2px; }
.sh-howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.sh-howto li { display: flex; gap: 14px; align-items: flex-start; font-size: 14px; }
.sh-howto li::before {
  counter-increment: s; content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%;
  background: var(--c-primary-l); color: var(--c-primary-d); font-weight: 800; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.sh-howto b { display: block; font-size: 15px; }
.sh-howto span { color: var(--c-muted); }
/* Khối thông báo trên trang đơn (.sh-note): dòng gọi hotline + khoá code theo thiết bị (mã xác minh 6 số) */
.sh-note .sh-call a { font-weight: 700; text-decoration: none; }
.sh-lock-body { flex: 1; min-width: 0; }
.sh-lock-act { margin-top: 14px; }
.sh-lock-act .sh-call { margin-top: 0; }
.sh-lock-act .sh-btn { width: auto; height: 46px; padding: 0 20px; font-size: 15px; }
.sh-lock-act .sh-field { gap: 8px; }
.sh-lock-act .sh-field > .sh-btn { align-self: flex-start; }
.sh-otp-row { display: flex; gap: 10px; max-width: 360px; }
.sh-otp-row .sh-input { flex: 1 1 auto; min-width: 0; font-weight: 700; }
.sh-otp-row .sh-input:not(:placeholder-shown) { letter-spacing: .3em; }
.sh-otp-row .sh-btn { flex: none; }
.sh-otp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 12px; font-size: 13px; color: var(--c-muted); }
.sh-otp-meta .sh-btn { height: 36px; padding: 0 14px; font-size: 14px; }
.sh-btn-ghost[disabled]:hover { background: var(--c-white); border-color: var(--c-line); color: var(--c-text); }

/* ===== Chân trang ===== */
.sh-foot { border-top: 1px solid var(--c-line); background: var(--c-white); }
.sh-foot-in {
  max-width: var(--wrap); margin: 0 auto; padding: 18px 24px; font-size: 12px; color: var(--c-muted);
  display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: space-between;
}
.sh-foot a { color: var(--c-muted); text-decoration: none; }
.sh-foot a:hover { color: var(--c-primary-d); }
.sh-foot-legal { white-space: nowrap; }

/* ===== Toast ===== */
.sh-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  background: var(--c-text); color: var(--c-white); font-size: 14px; font-weight: 500;
  padding: 10px 16px; border-radius: var(--r-sm); box-shadow: var(--shadow-card);
}

/* ===== Responsive ===== */
@media (max-width: 1023px) {
  .sh-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
  .sh-pay { grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 860px) {
  .sh-grid { grid-template-columns: minmax(0, 1fr); }
  .sh-pay { grid-template-columns: minmax(0, 1fr); }
  .sh-qr { max-width: 360px; margin: 0 auto; width: 100%; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .sh-top-in { padding: 14px 16px; }
  .sh-logo img { height: 30px; }
  .sh-secure { font-size: 12px; }
  .sh-hero { padding: 4px 16px 80px; }
  .sh-main { padding: 0 12px 40px; margin-top: -60px; }
  .sh-card { padding: 20px 16px; border-radius: 16px; }
  .sh-fields { grid-template-columns: 1fr; gap: 14px; }
  fieldset.sh-invoice { padding: 16px 12px; }
  .sh-bank td.k { width: auto; display: block; padding: 12px 0 2px; }
  .sh-bank td.v { display: block; padding: 0 0 12px; }
  .sh-bank tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .sh-bank tr td.k { grid-column: 1; }
  .sh-bank tr td.v { grid-column: 1; }
  .sh-bank tr td.c { grid-column: 2; grid-row: 1 / span 2; padding-left: 8px; border-top: 0; }
  .sh-bank tr + tr td.v { border-top: 0; }
  .sh-bank tr + tr { border-top: 1px solid var(--c-line); }
  .sh-bank tr + tr td { border-top: 0; }
  .sh-total strong { font-size: 22px; }
  .sh-foot-in { padding: 16px; flex-direction: column; }
  .sh-codes-head { flex-wrap: wrap; }
  /* Màn hẹp: nút Sao chép thu thành icon để code có đủ chỗ nằm 1 dòng */
  .sh-codes li { gap: 10px; padding: 10px 10px 10px 12px; }
  .sh-codes .n { width: 18px; font-size: 12px; }
  .sh-codes .code { font-size: clamp(12px, 3.7vw, 15px); letter-spacing: .02em; }
  .sh-codes .sh-copy { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .sh-codes .sh-copy span { display: none; }
  .sh-codes .sh-copy svg { width: 16px; height: 16px; }
}
