/* ==========================================================================
   Carparts - hệ thống giao diện (lấy từ mockup, dùng chung cho storefront và admin)
   Phong cách: đơn sắc (thang xám trung tính) + MỘT màu nhấn (cam) cho hành động chính.
   Màu trạng thái (xanh/vàng/đỏ) chỉ dùng cho nhãn trạng thái nhỏ, luôn kèm chữ.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --font-sans: "IBM Plex Sans", "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --c-bg: #ffffff;
  --c-surface: #f4f4f5;
  --c-surface-2: #e9e9ec;
  --c-border: #e4e4e7;
  --c-border-strong: #a1a1aa;
  --c-text: #18181b;
  --c-text-2: #52525b;
  --c-text-3: #62626a;
  --c-inverse-bg: #18181b;
  --c-inverse-text: #fafafa;
  --c-inverse-text-2: #a1a1aa;

  --c-accent: #c2410c;
  --c-accent-hover: #9a3412;
  --c-on-accent: #ffffff;
  --c-accent-soft: #fff7ed;
  --c-accent-border: #fdba74;

  --c-success: #15803d;
  --c-success-soft: #f0fdf4;
  --c-warning: #a16207;
  --c-warning-soft: #fefce8;
  --c-danger: #b91c1c;
  --c-danger-soft: #fef2f2;

  --c-focus: #c2410c;
  --c-overlay: rgb(9 9 11 / 0.45);

  --r-sm: 4px;
  --r: 6px;
  --r-lg: 10px;
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.06);
  --shadow-2: 0 8px 24px rgb(0 0 0 / 0.12), 0 2px 6px rgb(0 0 0 / 0.06);

  --header-h: 64px;
  --sidebar-w: 240px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg: #09090b;
    --c-surface: #18181b;
    --c-surface-2: #27272a;
    --c-border: #2e2e33;
    --c-border-strong: #52525b;
    --c-text: #fafafa;
    --c-text-2: #a1a1aa;
    --c-text-3: #8d8d96;
    --c-inverse-bg: #000000;
    --c-inverse-text: #fafafa;
    --c-inverse-text-2: #a1a1aa;
    --c-accent: #fb923c;
    --c-accent-hover: #fdba74;
    --c-on-accent: #1c0a00;
    --c-accent-soft: rgb(251 146 60 / 0.12);
    --c-accent-border: rgb(251 146 60 / 0.45);
    --c-success: #4ade80;
    --c-success-soft: rgb(74 222 128 / 0.12);
    --c-warning: #facc15;
    --c-warning-soft: rgb(250 204 21 / 0.12);
    --c-danger: #f87171;
    --c-danger-soft: rgb(248 113 113 / 0.12);
    --c-focus: #fb923c;
    --c-overlay: rgb(0 0 0 / 0.6);
    --shadow-1: 0 1px 2px rgb(0 0 0 / 0.4);
    --shadow-2: 0 8px 24px rgb(0 0 0 / 0.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --c-bg: #09090b;
  --c-surface: #18181b;
  --c-surface-2: #27272a;
  --c-border: #2e2e33;
  --c-border-strong: #52525b;
  --c-text: #fafafa;
  --c-text-2: #a1a1aa;
  --c-text-3: #8d8d96;
  --c-inverse-bg: #000000;
  --c-inverse-text: #fafafa;
  --c-inverse-text-2: #a1a1aa;
  --c-accent: #fb923c;
  --c-accent-hover: #fdba74;
  --c-on-accent: #1c0a00;
  --c-accent-soft: rgb(251 146 60 / 0.12);
  --c-accent-border: rgb(251 146 60 / 0.45);
  --c-success: #4ade80;
  --c-success-soft: rgb(74 222 128 / 0.12);
  --c-warning: #facc15;
  --c-warning-soft: rgb(250 204 21 / 0.12);
  --c-danger: #f87171;
  --c-danger-soft: rgb(248 113 113 / 0.12);
  --c-focus: #fb923c;
  --c-overlay: rgb(0 0 0 / 0.6);
  --shadow-1: 0 1px 2px rgb(0 0 0 / 0.4);
  --shadow-2: 0 8px 24px rgb(0 0 0 / 0.5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
/* Tắt vuốt ngang quá đà (trackpad/chuột) bị trình duyệt hiểu là lùi/tiến trang. Cuộn dọc và kéo để tải lại vẫn giữ. */
html, body { overscroll-behavior-x: none; }
/* Vùng cuộn ngang (bảng, tab): cuộn tới mép thì dừng, không kéo theo cả trang */
.table-wrap, .tabs { overscroll-behavior-x: contain; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.25rem; }
h3 { font-size: 1.0625rem; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
::selection { background: var(--c-accent-soft); }
hr, .divider { border: 0; border-top: 1px solid var(--c-border); margin: 0; }

.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 16px; }
.container--narrow { max-width: 760px; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-xs { display: flex; flex-direction: column; gap: 4px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 32px; }
.row { display: flex; align-items: center; gap: 8px; }
.row--wrap { flex-wrap: wrap; }
.row--between { justify-content: space-between; }
.row--top { align-items: flex-start; }
.grow { flex: 1 1 auto; min-width: 0; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); } }
.muted { color: var(--c-text-2); }
.subtle { color: var(--c-text-3); }
.mono, code, kbd, samp { font-family: var(--font-mono); letter-spacing: 0; }
.tabular { font-variant-numeric: tabular-nums; }
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.upper { text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.75rem; font-weight: 600; }
.nowrap { white-space: nowrap; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) { .hide-sm { display: none !important; } }
@media (min-width: 761px) { .only-sm { display: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 0 16px;
  border: 1px solid var(--c-border-strong); border-radius: var(--r);
  background: var(--c-bg); color: var(--c-text);
  font-weight: 500; font-size: 0.9375rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--c-surface); }
.btn--primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.btn--primary:hover { background: var(--c-accent-hover); border-color: var(--c-accent-hover); }
.btn--dark { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }
.btn--dark:hover { opacity: .88; background: var(--c-text); }
.btn--ghost { border-color: transparent; background: transparent; }
.btn--ghost:hover { background: var(--c-surface); }
.btn--danger { color: var(--c-danger); border-color: var(--c-border-strong); }
.btn--sm { min-height: 32px; padding: 0 10px; font-size: 0.875rem; }
.btn--lg { min-height: 48px; padding: 0 22px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: var(--r);
  border: 1px solid transparent; background: transparent; color: inherit; text-decoration: none;
}
.icon-btn:hover { background: var(--c-surface); }
.count-dot {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--c-accent); color: var(--c-on-accent);
  font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-size: 0.875rem; font-weight: 500; }
.field__hint { font-size: 0.8125rem; color: var(--c-text-3); }
.input, .select, .textarea {
  width: 100%; min-height: 40px; padding: 8px 12px;
  border: 1px solid var(--c-border-strong); border-radius: var(--r);
  background: var(--c-bg); color: var(--c-text);
}
.input::placeholder, .textarea::placeholder { color: var(--c-text-3); }
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--c-focus); outline-offset: -1px; border-color: transparent; }
.select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.textarea { min-height: 96px; resize: vertical; }
/* Ô nhập gọn trong hàng (sửa thông số theo phạm vi) */
.input--sm { width: auto; max-width: 220px; min-height: 32px; padding: 4px 8px; }
.select.input--sm { padding-right: 32px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--c-text); width: 16px; height: 16px; }
.input-group { display: flex; }
.input-group .input { border-radius: var(--r) 0 0 var(--r); }
.input-group .btn { border-radius: 0 var(--r) var(--r) 0; margin-left: -1px; }

/* Lựa chọn dạng thẻ (phương thức ship/thanh toán) */
.option-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border: 1px solid var(--c-border-strong); border-radius: var(--r-lg);
  background: var(--c-bg); cursor: pointer;
}
.option-card:has(input:checked) { border-color: var(--c-accent); box-shadow: inset 0 0 0 1px var(--c-accent); background: var(--c-accent-soft); }
.option-card input { margin-top: 3px; }

/* ---------- Badges & chips ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 8px; border-radius: 999px;
  border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-text-2);
  font-size: 0.75rem; font-weight: 500; line-height: 1.6; white-space: nowrap; text-transform: none; letter-spacing: 0;
}
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--plain::before { display: none; }
.badge--success { background: var(--c-success-soft); border-color: transparent; color: var(--c-success); }
.badge--warning { background: var(--c-warning-soft); border-color: transparent; color: var(--c-warning); }
.badge--danger { background: var(--c-danger-soft); border-color: transparent; color: var(--c-danger); }
.badge--accent { background: var(--c-accent-soft); border-color: var(--c-accent-border); color: var(--c-accent); }
.badge--dark { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 32px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--c-border-strong); background: var(--c-bg);
  font-size: 0.875rem; text-decoration: none; white-space: nowrap;
}
.chip:hover { background: var(--c-surface); }
.chip.is-active { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }
.chip--vehicle { border-style: dashed; }
.chip--vehicle.is-set { border-style: solid; border-color: var(--c-accent-border); background: var(--c-accent-soft); }

.kbd { font-family: var(--font-mono); font-size: 0.75rem; padding: 1px 6px; border: 1px solid var(--c-border-strong); border-bottom-width: 2px; border-radius: var(--r-sm); background: var(--c-bg); }

/* Mã phụ tùng: font mono, có nút sao chép */
.pn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-weight: 500; letter-spacing: 0.02em; }
.pn__copy { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--c-text-3); }
.pn__copy:hover { background: var(--c-surface); color: var(--c-text); }
.is-copied, .pn__copy.is-copied { color: var(--c-success); }

.price { font-weight: 600; font-variant-numeric: tabular-nums; }
.price--lg { font-size: 1.75rem; letter-spacing: -0.02em; }
.price__currency { font-size: 0.6em; font-weight: 500; color: var(--c-text-2); margin-left: 4px; }
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }

/* Dòng tình trạng hàng */
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 500; }
.stock .icon { width: 16px; height: 16px; }
.stock--in { color: var(--c-success); }
.stock--order { color: var(--c-warning); }
.stock--out { color: var(--c-danger); }

/* ---------- Cards, panels, notices ---------- */
.card { border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-bg); }
.card__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.card__header h2, .card__header h3 { font-size: 1rem; }
.card__body { padding: 16px; }
.card__footer { padding: 12px 16px; border-top: 1px solid var(--c-border); }
.card--muted { background: var(--c-surface); border-color: transparent; }

.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--c-surface); font-size: 0.875rem; }
.notice .icon { margin-top: 1px; }
.notice--accent { background: var(--c-accent-soft); border: 1px solid var(--c-accent-border); }
.notice--success { background: var(--c-success-soft); color: var(--c-text); }
.notice--success .icon { color: var(--c-success); }
.notice--warning { background: var(--c-warning-soft); }
.notice--warning .icon { color: var(--c-warning); }
.notice--danger { background: var(--c-danger-soft); }
.notice--danger .icon { color: var(--c-danger); }

.placeholder-img {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--r);
  background: var(--c-surface); color: var(--c-border-strong);
}
.placeholder-img .icon { width: 40%; height: 40%; stroke-width: 1.25; }

/* ---------- Tables ---------- */
.table-wrap { position: relative; overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.table th, .table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--c-border); vertical-align: middle; }
.table th { position: sticky; top: 0; background: var(--c-surface); font-weight: 600; font-size: 0.75rem; color: var(--c-text-2); text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.table tbody tr:hover { background: var(--c-surface); }
.table tbody tr.is-selected { background: var(--c-accent-soft); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table--compact th, .table--compact td { padding: 6px 10px; }

/* ---------- Navigation bits ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 0.8125rem; color: var(--c-text-3); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--c-text); text-decoration: underline; }
.breadcrumbs .sep { color: var(--c-border-strong); }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--c-border); overflow-x: auto; }
.tab { padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--c-text-2); font-weight: 500; white-space: nowrap; text-decoration: none; }
.tab:hover { color: var(--c-text); }
.tab[aria-selected="true"], .tab.is-active { color: var(--c-text); border-bottom-color: var(--c-text); }
.tab .badge { margin-left: 6px; }

.pagination { display: flex; gap: 4px; align-items: center; }
.pagination a, .pagination span { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: var(--r); text-decoration: none; font-size: 0.875rem; }
.pagination a:hover { background: var(--c-surface); }
.pagination .is-current { background: var(--c-text); color: var(--c-bg); }

/* ---------- Timeline (trạng thái đơn) ---------- */
.timeline { list-style: none; display: flex; flex-direction: column; }
.timeline__item { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; padding-bottom: 18px; }
.timeline__item::before { content: ""; position: absolute; left: 11px; top: 22px; bottom: 0; width: 2px; background: var(--c-border); }
.timeline__item:last-child::before { display: none; }
.timeline__dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--c-border-strong); background: var(--c-bg); display: grid; place-items: center; }
.timeline__item.is-done .timeline__dot { background: var(--c-text); border-color: var(--c-text); color: var(--c-bg); }
.timeline__item.is-current .timeline__dot { border-color: var(--c-accent); box-shadow: 0 0 0 4px var(--c-accent-soft); }
.timeline__dot .icon { width: 14px; height: 14px; stroke-width: 2.5; }

/* ---------- Quantity stepper ---------- */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--c-border-strong); border-radius: var(--r); }
.qty button { width: 36px; height: 38px; border: 0; background: none; display: grid; place-items: center; }
.qty button:hover { background: var(--c-surface); }
.qty input { width: 44px; height: 38px; border: 0; border-inline: 1px solid var(--c-border); text-align: center; background: transparent; font-variant-numeric: tabular-nums; }

/* ---------- Upload ---------- */
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; border: 1.5px dashed var(--c-border-strong); border-radius: var(--r-lg); text-align: center; color: var(--c-text-2); background: var(--c-surface); }
.dropzone:hover { border-color: var(--c-accent); }

/* ---------- Overlay: drawer & modal ---------- */
.backdrop { position: fixed; inset: 0; background: var(--c-overlay); z-index: 40; display: none; }
.backdrop.is-open { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 50; width: min(440px, 100vw);
  display: flex; flex-direction: column; background: var(--c-bg); border-left: 1px solid var(--c-border); box-shadow: var(--shadow-2);
  transform: translateX(100%); transition: transform .2s ease;
}
.drawer.is-open { transform: none; }
.drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px; }
.drawer__footer { padding: 12px 16px; border-top: 1px solid var(--c-border); }
.modal {
  position: fixed; left: 50%; top: 50%; z-index: 50; width: min(640px, calc(100vw - 32px)); max-height: calc(100vh - 64px);
  display: none; flex-direction: column; transform: translate(-50%, -50%);
  background: var(--c-bg); border-radius: var(--r-lg); box-shadow: var(--shadow-2); overflow: hidden;
}
.modal.is-open { display: flex; }
.modal__header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.modal__body { padding: 16px; overflow-y: auto; }
.modal__footer { display: flex; justify-content: flex-end; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--c-border); background: var(--c-surface); }

/* ==========================================================================
   STOREFRONT
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--c-bg); border-bottom: 1px solid var(--c-border); }
.site-header__inner { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r-sm); background: var(--c-text); color: var(--c-bg); font-family: var(--font-mono); font-weight: 600; font-size: 0.875rem; letter-spacing: -0.04em; }
.logo__text { font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; font-size: 0.9375rem; }
.logo__text span { color: var(--c-text-3); font-weight: 500; }
.header-search { flex: 1; min-width: 0; max-width: 560px; }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.header-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 0; border-radius: var(--r); background: none; font-size: 0.875rem; color: var(--c-text-2); text-decoration: none; }
.header-link:hover { background: var(--c-surface); color: var(--c-text); }

/* Ô tìm kiếm */
.search { position: relative; }
.search__box { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 14px; border: 1px solid var(--c-border-strong); border-radius: var(--r-lg); background: var(--c-bg); }
.search__box:focus-within { outline: 2px solid var(--c-focus); outline-offset: -1px; border-color: transparent; }
.search__box input { flex: 1; min-width: 0; height: 100%; border: 0; background: transparent; outline: none; }
.search__box .icon { color: var(--c-text-3); }
.search--hero .search__box { height: 64px; padding: 0 8px 0 20px; border-width: 1.5px; border-color: var(--c-text); box-shadow: var(--shadow-1); }
.search--hero .search__box input { font-size: 1.125rem; }
.search--hero .search__box .icon { width: 24px; height: 24px; }
.search__suggest {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
  display: none; padding: 6px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-bg); box-shadow: var(--shadow-2);
}
.search:focus-within .search__suggest, .search__suggest.is-open { display: block; }
.suggest__label { padding: 8px 10px 4px; }
.suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: var(--r); text-decoration: none; }
.suggest__item:hover, .suggest__item.is-active { background: var(--c-surface); }
.suggest__thumb { width: 40px; flex: none; }
.suggest__item--button { width: 100%; border: 0; background: none; text-align: left; cursor: pointer; }

.hero { padding: 72px 0 40px; text-align: center; }
.hero h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.025em; }
.hero__lead { margin: 14px auto 0; max-width: 620px; color: var(--c-text-2); font-size: 1.0625rem; }
.hero__search { max-width: 720px; margin: 32px auto 0; text-align: left; }
.hero__hints { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; font-size: 0.875rem; color: var(--c-text-2); }

.vehicle-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; gap: 8px; align-items: end; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-surface); }
@media (max-width: 760px) { .vehicle-bar { grid-template-columns: 1fr 1fr; } .vehicle-bar .btn { grid-column: 1 / -1; } }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-block: 1px solid var(--c-border); }
.trust__item { display: flex; gap: 12px; padding: 20px 16px; }
.trust__item + .trust__item { border-left: 1px solid var(--c-border); }
.trust__item .icon { width: 24px; height: 24px; color: var(--c-text); }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr 1fr; } .trust__item:nth-child(3) { border-left: 0; } .trust__item:nth-child(n+3) { border-top: 1px solid var(--c-border); } }
@media (max-width: 560px) {
  .trust { grid-template-columns: 1fr; }
  .trust__item { padding: 14px 4px; }
  .trust__item + .trust__item { border-left: 0; border-top: 1px solid var(--c-border); }
}

.brand-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.brand-grid a { display: grid; place-items: center; height: 64px; border: 1px solid var(--c-border); border-radius: var(--r); text-decoration: none; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.8125rem; }
.brand-grid a:hover { border-color: var(--c-text); }
@media (max-width: 860px) { .brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.section { padding-block: 48px; }
.section__title { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }

/* Thẻ & dòng sản phẩm */
.product-tile { display: flex; flex-direction: column; gap: 10px; padding: 12px; border: 1px solid var(--c-border); border-radius: var(--r-lg); text-decoration: none; background: var(--c-bg); }
.product-tile:hover { border-color: var(--c-border-strong); }
.product-row { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-border); align-items: center; }
.product-row__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; }
@media (max-width: 640px) { .product-row { grid-template-columns: 72px minmax(0, 1fr); } .product-row__aside { grid-column: 2; align-items: flex-start; text-align: left; } }

.fit-check { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--c-border); }
.fit-check--verified { border-color: transparent; background: var(--c-success-soft); }
.fit-check--verified .icon { color: var(--c-success); }
.fit-check--likely { border-color: transparent; background: var(--c-warning-soft); }
.fit-check--likely .icon { color: var(--c-warning); }

.buy-bar { position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--c-bg); border-top: 1px solid var(--c-border); box-shadow: 0 -4px 12px rgb(0 0 0 / 0.06); }

.site-footer { margin-top: 64px; padding: 48px 0 32px; background: var(--c-inverse-bg); color: var(--c-inverse-text); font-size: 0.875rem; }
.site-footer a { color: var(--c-inverse-text-2); text-decoration: none; }
.site-footer a:hover { color: var(--c-inverse-text); text-decoration: underline; }
.site-footer h2 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--c-inverse-text-2); margin-bottom: 12px; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.site-footer .logo__mark { background: var(--c-inverse-text); color: var(--c-inverse-bg); }
.site-footer .logo__text span { color: var(--c-inverse-text-2); }
.site-footer__tagline { color: var(--c-inverse-text-2); }
.site-footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 0.12); color: var(--c-inverse-text-2); font-size: 0.8125rem; }

/* ---------- Trợ lý A.I ---------- */
.chat-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 35;
  display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 18px 0 14px;
  border: 1px solid rgb(255 255 255 / 0.22); border-radius: 999px; background: var(--c-text); color: var(--c-bg); box-shadow: var(--shadow-2); font-weight: 500;
}
.chat-launcher:hover { opacity: .9; }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 45; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100vh - 40px)); display: none; flex-direction: column; background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 14px; box-shadow: var(--shadow-2); overflow: hidden; }
.chat.is-open { display: flex; }
@media (max-width: 560px) { .chat { right: 0; bottom: 0; width: 100vw; height: 88vh; border-radius: 14px 14px 0 0; } }
.chat__header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--c-border); }
.chat__avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-text); color: var(--c-bg); }
.chat__avatar .icon { width: 18px; height: 18px; }
.chat__disclosure { padding: 8px 14px; font-size: 0.75rem; color: var(--c-text-2); background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.chat__body { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 88%; padding: 10px 12px; border-radius: 12px; font-size: 0.9375rem; }
.msg--ai { align-self: flex-start; background: var(--c-surface); border-top-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--c-text); color: var(--c-bg); border-top-right-radius: 4px; }
.msg__products { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.msg-product { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 8px; border: 1px solid var(--c-border); border-radius: var(--r); background: var(--c-bg); }
.chat__suggestions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.chat__input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--c-border); }
.chat__input input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--c-border-strong); border-radius: 999px; background: var(--c-bg); }

/* ==========================================================================
   ADMIN (dày đặc hơn: cỡ chữ 14px)
   ========================================================================== */
.admin { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr); min-height: 100vh; font-size: 14px; }
.admin h1 { font-size: 1.375rem; }
.admin-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; border-right: 1px solid var(--c-border); background: var(--c-surface); overflow-y: auto; }
.admin-sidebar .logo { padding: 4px 8px 14px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav__group { padding: 14px 10px 6px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-3); }
.admin-nav__item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: var(--r); text-decoration: none; color: var(--c-text-2); }
.admin-nav__item:hover { background: var(--c-surface-2); color: var(--c-text); }
.admin-nav__item.is-active { background: var(--c-bg); color: var(--c-text); font-weight: 600; box-shadow: var(--shadow-1); }
.admin-nav__item .badge { margin-left: auto; }
.admin-sidebar__footer { margin-top: auto; padding: 10px; border-top: 1px solid var(--c-border); }
.admin-main { min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border-bottom: 1px solid var(--c-border); background: var(--c-bg); }
.admin-topbar .search { flex: 1; max-width: 520px; }
.admin-topbar .search__box { height: 38px; border-radius: var(--r); }
.admin-content { padding: 20px 24px 48px; display: flex; flex-direction: column; gap: 20px; }
.page-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.page-header__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.toolbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.filter-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-surface); }
.filter-bar .input, .filter-bar .select { min-height: 34px; padding-top: 4px; padding-bottom: 4px; width: auto; }
.bulk-bar { position: sticky; bottom: 16px; z-index: 15; display: none; flex-wrap: wrap; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--r-lg); background: var(--c-text); color: var(--c-bg); box-shadow: var(--shadow-2); }
.bulk-bar.is-open { display: flex; }
.bulk-bar .btn { background: transparent; color: var(--c-bg); border-color: rgb(255 255 255 / 0.3); }
.bulk-bar .btn--primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
:root[data-theme="dark"] .bulk-bar .btn { border-color: rgb(0 0 0 / 0.25); }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 16px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-bg); }
.stat__label { font-size: 0.8125rem; color: var(--c-text-2); }
.stat__value { font-size: 1.75rem; font-weight: 600; letter-spacing: -0.02em; }
/* Drawer/modal của admin nằm ngoài .admin nhưng vẫn dùng cỡ chữ dày đặc */
.admin ~ .drawer, .admin ~ .modal { font-size: 14px; }
.stat__delta { font-size: 0.8125rem; color: var(--c-text-3); }
.admin-menu-btn { display: none; }
.avatar { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--c-surface-2); font-size: 0.75rem; font-weight: 600; }
@media (max-width: 960px) {
  .admin-menu-btn { display: inline-grid; }
  .admin { grid-template-columns: 1fr; }
  .admin-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); z-index: 50; transform: translateX(-100%); transition: transform .2s; }
  .admin-sidebar.is-open { transform: none; box-shadow: var(--shadow-2); }
  .admin-content { padding: 16px; }
}

/* Cây vị trí kho */
.tree, .tree ul { list-style: none; }
.tree ul { margin-left: 14px; padding-left: 10px; border-left: 1px solid var(--c-border); }
.tree__node { display: flex; align-items: center; gap: 6px; padding: 4px 6px; border-radius: var(--r-sm); text-decoration: none; }
.tree__node:hover { background: var(--c-surface); }
.tree__node.is-selected { background: var(--c-accent-soft); box-shadow: inset 2px 0 0 var(--c-accent); }
.tree__toggle { display: grid; place-items: center; width: 18px; height: 18px; border: 0; background: none; color: var(--c-text-3); padding: 0; }
.tree__code { font-family: var(--font-mono); font-size: 0.8125rem; }
.tree__meta { margin-left: auto; font-size: 0.75rem; color: var(--c-text-3); font-variant-numeric: tabular-nums; }

/* Tờ nhãn A4 (in trên giấy decal bằng máy in thường) */
.label-sheet { width: 210mm; min-height: 297mm; padding: 15mm 7mm; margin-inline: auto; display: grid; grid-template-columns: repeat(3, 63.5mm); grid-auto-rows: 38.1mm; column-gap: 2.5mm; background: #fff; color: #000; box-shadow: var(--shadow-2); }
.label { display: flex; flex-direction: column; justify-content: space-between; padding: 2.5mm 3mm; border: 1px dashed #d4d4d8; overflow: hidden; font-size: 8pt; line-height: 1.2; }
.label__pn { font-family: var(--font-mono); font-weight: 600; font-size: 11pt; }
.label svg { width: 100%; height: 13mm; }
@media print {
  body { background: #fff; }
  .no-print, .admin-sidebar, .admin-topbar { display: none !important; }
  .admin { display: block; }
  .admin-content { padding: 0; }
  .label-sheet { box-shadow: none; margin: 0; }
  .label { border-color: transparent; }
}

/* Khung điện thoại (màn hình kho trên mobile) */
.phone { position: relative; width: 390px; height: 820px; margin: 24px auto; border: 12px solid #111; border-radius: 44px; overflow: hidden; background: var(--c-bg); box-shadow: 0 0 0 1px var(--c-border-strong), var(--shadow-2); display: flex; flex-direction: column; font-size: 15px; }
@media (max-width: 500px) { .phone { width: 100%; height: 100dvh; margin: 0; border: 0; border-radius: 0; box-shadow: none; } }
.phone__status { display: flex; justify-content: space-between; padding: 8px 20px 4px; font-size: 12px; font-weight: 600; }
.scan-view { position: relative; aspect-ratio: 4 / 3; background: #0b0b0c; display: grid; place-items: center; color: #a1a1aa; }
.scan-view__frame { width: 72%; height: 38%; border: 2px solid rgb(255 255 255 / 0.85); border-radius: 12px; box-shadow: 0 0 0 999px rgb(0 0 0 / 0.35); }
.scan-view__line { position: absolute; left: 18%; right: 18%; top: 50%; height: 2px; background: var(--c-accent); box-shadow: 0 0 12px var(--c-accent); }

/* ==========================================================================
   MOBILE "NHƯ APP" (PWA) - áp dụng ≤ 760px
   ========================================================================== */
html { -webkit-tap-highlight-color: transparent; }
.btn, .icon-btn, .chip, .tabbar__item { touch-action: manipulation; }
@media (hover: none) {
  .btn:active, .icon-btn:active, .chip:active, .tabbar__item:active, .product-tile:active { transform: scale(0.97); }
}

/* Thanh tab dưới đáy */
.tabbar { display: none; }
@media (max-width: 760px) {
  body.has-tabbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    height: calc(60px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--c-bg) 92%, transparent); backdrop-filter: blur(12px);
    border-top: 1px solid var(--c-border);
  }
  .tabbar__item {
    position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    border: 0; background: none; color: var(--c-text-3); font-size: 11px; font-weight: 500; text-decoration: none;
  }
  .tabbar__item .icon { width: 22px; height: 22px; }
  .tabbar__item.is-active { color: var(--c-text); }
  .tabbar__item.is-active .icon { stroke-width: 2.25; }
  .tabbar__ai { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 999px; background: var(--c-text); color: var(--c-bg); }
  .tabbar__ai .icon { width: 18px; height: 18px; }
  .tabbar__badge { position: absolute; top: 5px; left: calc(50% + 5px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--c-accent); color: var(--c-on-accent); font-size: 10px; font-weight: 600; line-height: 16px; text-align: center; }

  /* Có thanh tab / thanh mua hàng thì bỏ nút nổi và icon trùng trên header */
  body.has-tabbar .chat-launcher, body.has-buybar .chat-launcher { display: none; }
  body.has-tabbar .header-actions .in-tabbar { display: none; }
  body.has-tabbar .site-footer { margin-top: 32px; }
  .buy-bar { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}

/* Tìm kiếm toàn màn hình khi chạm vào ô tìm (nút Cancel do app.js chèn) */
.search__cancel { display: none; }
@media (max-width: 760px) {
  .search:focus-within {
    position: fixed; inset: 0; z-index: 70; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: 8px;
    margin: 0; max-width: none; padding: calc(10px + env(safe-area-inset-top)) 12px 12px; background: var(--c-bg); overflow-y: auto;
  }
  .search:focus-within .search__box { height: 48px; padding: 0 6px 0 12px; border-width: 1px; box-shadow: none; }
  .search:focus-within .search__box input { font-size: 1rem; }
  .search:focus-within .search__box .btn { min-height: 36px; padding: 0 12px; font-size: 0.9375rem; }
  .search:focus-within .search__cancel { display: inline-flex; align-items: center; border: 0; background: none; color: var(--c-text); font-weight: 500; padding: 0 4px; }
  .search:focus-within .search__suggest { grid-column: 1 / -1; position: static; display: block; padding: 0; border: 0; box-shadow: none; }
  body:has(.search:focus-within) { overflow: hidden; }
}

/* Nút Search: chữ trên màn rộng, chỉ biểu tượng trên điện thoại (nhãn vẫn còn cho trình đọc màn hình) */
.search__submit .icon { display: none; }
@media (max-width: 760px) {
  .search__box .search__submit { width: 40px; padding: 0; }
  .search__box .search__submit.btn--sm { width: 32px; }
  .search__box .search__submit.btn--lg { width: 48px; }
  .search:focus-within .search__box .search__submit { width: 36px; padding: 0; }
  .search__box .search__submit .icon { display: block; width: 20px; height: 20px; color: currentColor; }
  .search__submit-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}

/* Drawer và modal thành bottom sheet trên điện thoại */
@media (max-width: 560px) {
  .drawer { top: auto; left: 0; right: 0; width: 100%; max-height: 90dvh; border-left: 0; border-top: 1px solid var(--c-border); border-radius: 16px 16px 0 0; transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom); }
  .drawer.is-open { transform: none; }
  .drawer::before { content: ""; align-self: center; flex: none; width: 36px; height: 4px; margin-top: 8px; border-radius: 999px; background: var(--c-border-strong); }
  .modal { left: 0; right: 0; top: auto; bottom: 0; width: 100%; max-height: 92dvh; transform: none; border-radius: 16px 16px 0 0; }
}

/* Thông báo nhanh (vd. "Added to cart") */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
  background: var(--c-text); color: var(--c-bg); font-size: 0.875rem; font-weight: 500; box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none; transform: translate(-50%, 16px); transition: opacity .2s, transform .2s;
}
.toast.is-open { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 760px) { body.has-tabbar .toast, body.has-buybar .toast { bottom: calc(80px + env(safe-area-inset-bottom)); } }

/* Mời cài app (chỉ hiện trên điện thoại, ẩn khi đã chạy như app) */
.app-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--c-text); color: var(--c-bg); font-family: var(--font-mono); font-weight: 600; font-size: 0.8125rem; }
.install-banner { display: none; }
@media (max-width: 760px) {
  .install-banner { display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 12px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-surface); }
}
@media (display-mode: standalone) {
  .install-banner, [data-install] { display: none !important; }
}

/* ---------- Giỏ hàng (mockup storefront/checkout.html) ---------- */
.buy-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-actions .qty button, .buy-actions .qty input { height: 46px; }
.buy-actions .btn--primary { flex: 1 1 180px; }
.cart { display: grid; gap: 20px; padding-block: 16px 48px; }
@media (min-width: 900px) { .cart { grid-template-columns: minmax(0, 1fr) 380px; column-gap: 40px; padding-top: 32px; align-items: start; } }
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--c-border); }
.cart-item__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cart-item__name { font-weight: 500; font-size: 0.9375rem; text-decoration: none; }
.cart-item__name:hover { text-decoration: underline; }
.cart-item__actions { margin-top: 6px; gap: 12px; }
.cart-item__total { text-align: right; }
.qty--sm button { width: 30px; height: 30px; }
.qty--sm input { width: 40px; height: 30px; font-size: 0.875rem; }
.qty input { -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.link-btn { padding: 0; border: 0; background: none; color: var(--c-text-2); font-size: 0.8125rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--c-text); }
.totals { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 0.875rem; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--c-text-2); }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals__total { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--c-border); font-size: 1rem; font-weight: 600; }
.totals__total dt { color: var(--c-text); }

.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 0.875rem; cursor: pointer; }
.check-row input { flex: none; margin-top: 3px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 16px; }

/* ---------- Checkout (mockup storefront/checkout.html) ---------- */
.checkout { display: grid; gap: 20px; padding-block: 16px 48px; }
.checkout__summary, .checkout__main { min-width: 0; }
@media (min-width: 900px) {
  .checkout { grid-template-columns: minmax(0, 1fr) 380px; grid-template-areas: "main summary"; column-gap: 40px; padding-top: 32px; align-items: start; }
  .checkout__main { grid-area: main; }
  .checkout__summary { grid-area: summary; position: sticky; top: calc(var(--header-h) + 24px); }
}
.checkout__title { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 16px; margin-bottom: 20px; }
.step { scroll-margin-top: calc(var(--header-h) + 16px); }
.step__title { display: flex; align-items: center; gap: 10px; font-size: 1.0625rem; }
.step__num { display: inline-grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--c-text); color: var(--c-bg); font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 600; }
.plain-fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.opt__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.option-card.is-disabled { opacity: 0.6; }
.field__error { font-size: 0.8125rem; color: var(--c-danger); }
.place-order { display: flex; flex-direction: column; gap: 12px; padding-top: 16px; border-top: 1px solid var(--c-border); }
.phone-row { display: flex; gap: 8px; }
.phone-row .select { width: auto; }

/* ---------- Nội dung Markdown (trang chính sách, Help Center) ---------- */
.prose { max-width: 72ch; line-height: 1.65; }
.prose > * + * { margin-top: 0.9em; }
.prose h2 { font-size: 1.25rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.0625rem; margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: 0.35em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.9375rem; }
.prose th, .prose td { border: 1px solid var(--c-border); padding: 6px 10px; text-align: left; }

/* ---------- Tiện ích cỡ chữ đặt cuối file để luôn thắng các thành phần (vd. .stock.text-xs) ---------- */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }

/* ==========================================================================
   Phần thêm cho ứng dụng thật (DESIGN 9.2, 9.4)
   ========================================================================== */

/* Chuyển cảnh mượt giữa các trang trên trình duyệt hỗ trợ; trình duyệt khác chuyển trang bình thường. Người dùng chọn giảm
   chuyển động thì không có hiệu ứng (trợ năng); test tự động trên trình duyệt chạy với giảm chuyển động (Chromium headless ngừng vẽ
   trang khi chuyển cảnh sau khi gửi form, xem eng/e2e) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}

/* Bỏ qua tới nội dung chính (bàn phím, trình đọc màn hình) */
.skip-link { position: absolute; left: 8px; top: -48px; z-index: 100; padding: 8px 12px; border-radius: var(--r); background: var(--c-text); color: var(--c-bg); }
.skip-link:focus { top: 8px; }

/* Thanh tiến độ mỏng khi chuyển trang trong app đã cài (không có thanh địa chỉ); chỉ hiện nếu chờ quá ngưỡng */
.nav-progress { position: fixed; inset: 0 0 auto 0; z-index: 90; height: 3px; background: var(--c-accent); transform-origin: left; animation: nav-progress 8s ease-out forwards; }
@keyframes nav-progress { from { transform: scaleX(0.05); } to { transform: scaleX(0.9); } }
@media (prefers-reduced-motion: reduce) { .nav-progress { animation: none; transform: scaleX(0.6); } }

/* htmx: chỉ báo tại chỗ (không dùng style htmx tự chèn vì CSP chặn style viết thẳng) */
.htmx-indicator { opacity: 0; transition: opacity .2s; }
.htmx-request .htmx-indicator, .htmx-request.htmx-indicator { opacity: 1; }
[aria-busy="true"] { opacity: .6; transition: opacity .2s; }
button[disabled].htmx-request { cursor: progress; }

/* Khối mở/đóng (details) có summary dạng hàng: bỏ tam giác mặc định, mũi tên xoay khi mở */
details.disclosure > summary { list-style: none; cursor: pointer; }
details.disclosure > summary::-webkit-details-marker { display: none; }
details.disclosure[open] > summary .icon:last-child { transform: rotate(180deg); }

/* Menu đổi thị trường (details/summary: chạy được không cần JavaScript) */
.market-menu { position: relative; }
.market-menu > summary { list-style: none; cursor: pointer; }
.market-menu > summary::-webkit-details-marker { display: none; }
.market-menu__panel { position: absolute; right: 0; top: calc(100% + 6px); z-index: 50; min-width: 240px; padding: 6px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-bg); box-shadow: var(--shadow-2); }
.market-menu__panel form { margin: 0; }
.market-menu__panel button { display: flex; width: 100%; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 0; border-radius: var(--r); background: none; color: var(--c-text); font: inherit; text-align: left; cursor: pointer; }
.market-menu__panel button:hover, .market-menu__panel button[aria-current="true"] { background: var(--c-surface); }

/* Thanh gợi ý đổi thị trường */
/* Gợi ý đổi thị trường: nổi ở đáy màn hình (không đẩy nội dung, không làm nhảy bố cục), có nút đóng */
.market-hint { position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 16px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-bg); box-shadow: var(--shadow-2); font-size: 0.875rem; }
.market-hint p { flex: 1; margin: 0; }
@media (max-width: 760px) { body.has-tabbar .market-hint { bottom: calc(76px + env(safe-area-inset-bottom)); } }

/* Danh sách dùng làm bố cục (hàng nút, danh sách thẻ): không có dấu đầu dòng */
ul:is(.row, .stack, .stack-sm, .stack-xs) { list-style: none; }

/* Cặp nhãn - giá trị (thông tin tài khoản, chi tiết đơn) */
.kv { display: grid; grid-template-columns: minmax(120px, max-content) 1fr; gap: 8px 16px; margin: 0; }
.kv dt { color: var(--c-text-2); }
.kv dd { margin: 0; overflow-wrap: anywhere; }

/* Mã QR bật 2FA: luôn nền trắng để ứng dụng xác thực quét được cả ở chế độ tối */
.qr { width: fit-content; padding: 8px; border-radius: var(--r); background: #ffffff; }
.qr svg { display: block; }

/* Trang storefront: chân trang luôn ở đáy kể cả khi nội dung ngắn */
.site { min-height: 100dvh; display: flex; flex-direction: column; }
.site > main { flex: 1 0 auto; }
.container--form { max-width: 480px; }

/* Đang xem bản lưu khi mất mạng (service worker) */
.offline-banner { margin: 0; padding: 10px 16px; background: var(--c-warning-soft); border-bottom: 1px solid var(--c-border); font-size: 0.875rem; text-align: center; }

/* Khối nội dung: thanh thông báo đầu trang; danh sách dùng làm lưới (cam kết, các bước) không có dấu đầu dòng */
.announcement { background: var(--c-inverse-bg); color: var(--c-inverse-text); font-size: 0.875rem; text-align: center; }
.announcement p { margin: 0; padding-block: 8px; }
.announcement a { color: inherit; text-decoration: underline; }
ul.trust, ul.grid, ol.grid { list-style: none; margin: 0; padding: 0; }

/* Kết quả tìm kiếm (từ mockup search.html) */
.result-list { border-top: 1px solid var(--c-border); }
.product-row__title { font-size: 1rem; }
.product-row__title a { text-decoration: none; }
.product-row__title a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .product-row { grid-template-columns: 64px minmax(0, 1fr); align-items: start; }
  .product-row__aside { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
}
/* Gợi ý khi gõ: chỉ hiện khi có nội dung */
.search__suggest:empty { display: none !important; }

/* Gợi ý khi gõ nằm trong hero (căn giữa) nhưng chữ luôn căn trái */
.search__suggest { text-align: left; }

/* Trang sản phẩm: ảnh bên trái, thông tin bên phải; ảnh không chiếm quá nửa màn hình */
.pdp { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.gallery__main { border-radius: var(--r-lg); max-height: 440px; }
.gallery__main .icon { width: 28%; height: 28%; }
@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; gap: 20px; }
  .gallery__main { aspect-ratio: 4 / 3; }
}
.search__box .btn .icon { color: inherit; }
/* Form chỉ có một nút nằm trong dòng bảng (xác minh, bỏ) */
.inline-form { display: inline-flex; gap: 6px; margin: 0; }
/* Ô chọn xe hai bước (hãng, dòng xe) */
.vehicle-bar--2 { grid-template-columns: repeat(2, minmax(0, 1fr)) auto; }
@media (max-width: 760px) { .vehicle-bar--2 { grid-template-columns: 1fr 1fr; } }
/* Danh sách có đường kẻ giữa các mục (kết quả Quick order) */
.divided { list-style: none; margin: 0; padding: 0; }
.divided > li + li { border-top: 1px solid var(--c-border); }
/* Ô số lượng gọn cạnh giá */
.input--qty { width: 5.5rem; }
/* Giữ xuống dòng của văn bản nhân viên, khách gõ (lời trả lời báo giá) */
.prewrap { white-space: pre-line; }
/* Ảnh nhỏ khách gửi (yêu cầu báo giá trong admin) */
.thumb { width: 160px; height: 160px; object-fit: cover; border: 1px solid var(--c-border); border-radius: var(--r); background: var(--c-surface); }
/* Hộp quét bằng camera (app kho) */
.scan-dialog { width: min(92vw, 480px); border: 1px solid var(--c-border); border-radius: var(--r); padding: 12px; }
.scan-dialog video { width: 100%; max-height: 60vh; background: var(--c-surface); border-radius: var(--r); }
.scan-dialog::backdrop { background: rgb(0 0 0 / 0.5); }
/* Tờ nhãn in qua trình duyệt: mỗi trang một SVG đúng khổ (mm); in với lề "Không", tỉ lệ 100% */
.label-sheet { display: block; margin: 0 auto 16px; background: #fff; border: 1px solid var(--c-border); }
.label-sheet text { fill: #000; font-family: "IBM Plex Sans", "IBM Plex Sans Thai", sans-serif; }
.label-sheet .mono { font-family: "IBM Plex Mono", monospace; }
.label-sheet rect { fill: #000; }
@media print {
  @page { margin: 0; }
  .no-print, .admin-sidebar, .admin-topbar, .skip-link { display: none !important; }
  .admin, .admin-main, .admin-content, main { display: block; padding: 0; margin: 0; }
  .label-sheet { border: 0; margin: 0; break-after: page; }
}

/* Hộp việc (từ mockup admin/tasks.html): quá hạn trước, mỗi việc một thẻ; trên điện thoại cột hạn xử lý, nút xuống dưới */
.task-list { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.task-group { display: flex; flex-direction: column; gap: 8px; }
.task-group__head { display: flex; align-items: center; gap: 8px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-text-3); }
.task-group__head .badge { text-transform: none; letter-spacing: 0; }
.task { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-bg); }
.task:hover { border-color: var(--c-border-strong); }
.task__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--r); background: var(--c-surface); color: var(--c-text-2); }
.task__icon--danger { background: var(--c-danger-soft); color: var(--c-danger); }
.task__main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.task__top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.task__type { font-size: 0.75rem; font-weight: 600; color: var(--c-text-2); }
.task__open { font-weight: 600; color: var(--c-text); overflow-wrap: anywhere; }
.task__note { margin: 0; font-size: 0.8125rem; color: var(--c-text-2); overflow-wrap: anywhere; }
.task__side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
@media (max-width: 640px) {
  .task { grid-template-columns: 28px minmax(0, 1fr); padding: 10px; }
  .task__icon { width: 28px; height: 28px; }
  .task__side { grid-column: 2; align-items: flex-start; }
}

/* Ask A.I: tin của khách bên phải, của trợ lý, nhân viên bên trái; giữ xuống dòng. Tên riêng .chat-log: .chat là khung chat nổi (position: fixed)
   nên dùng chung tên làm danh sách tin phủ kín trang */
.chat-log { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chat__msg { max-width: 85%; align-self: flex-start; padding: 10px 12px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-surface); overflow-wrap: anywhere; }
.chat__msg--mine { align-self: flex-end; background: var(--c-accent-soft); border-color: var(--c-accent-border); }
.chat__who { display: block; font-size: 0.75rem; font-weight: 600; color: var(--c-text-2); }
.chat__msg p { margin: 2px 0 0; }

/* Biểu đồ cột vẽ ở server (báo cáo admin): SVG co theo bề ngang; tỷ lệ thay đổi so với kỳ trước */
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart .gridline { stroke: var(--c-border); stroke-width: 1; shape-rendering: crispEdges; }
.chart .baseline { stroke: var(--c-border-strong); stroke-width: 1; shape-rendering: crispEdges; }
.chart .tick { fill: var(--c-text-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.chart .bar { fill: var(--c-accent); }
.chart .bar:hover { fill: var(--c-text); }
.chart-table summary { cursor: pointer; font-size: 0.8125rem; color: var(--c-text-2); }
.chart-table summary:hover { color: var(--c-text); }
.chart-table .table-wrap { margin-top: 10px; max-height: 320px; overflow-y: auto; }
/* Điện thoại: biểu đồ giữ bề rộng tối thiểu (cuộn ngang), chữ trục lớn hơn để đọc được */
@media (max-width: 640px) {
  .chart { overflow-x: auto; }
  .chart svg { min-width: 520px; }
  .chart .tick { font-size: 16px; }
}
.chart .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.chart .dot { stroke: var(--c-bg); stroke-width: 2; }
/* Màu các dãy: mực đậm, xám, màu nhấn, xám nhạt (giữ bảng màu đơn sắc như mockup) */
.chart .line.s-1 { stroke: var(--c-text); } .chart .dot.s-1, .lkey.s-1 { fill: var(--c-text); background: var(--c-text); }
.chart .line.s-2 { stroke: var(--c-text-3); } .chart .dot.s-2, .lkey.s-2 { fill: var(--c-text-3); background: var(--c-text-3); }
.chart .line.s-3 { stroke: var(--c-accent); } .chart .dot.s-3, .lkey.s-3 { fill: var(--c-accent); background: var(--c-accent); }
.chart .line.s-4 { stroke: var(--c-border-strong); } .chart .dot.s-4, .lkey.s-4 { fill: var(--c-border-strong); background: var(--c-border-strong); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8125rem; color: var(--c-text-2); }
.lkey { display: inline-block; width: 16px; height: 2px; border-radius: 1px; margin-right: 6px; vertical-align: middle; }
.delta--up { color: var(--c-success); font-weight: 600; }
.delta--down { color: var(--c-danger); font-weight: 600; }

/* Trang Tổng quan (mockups/admin/dashboard.html): 5 chỉ số; hai cột, màn hẹp gộp một cột và đưa "Việc cần làm" lên đầu */
.kpi-grid { display: grid; gap: 12px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1280px) { .kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .kpi-grid > :last-child { grid-column: 1 / -1; } }
a.stat { color: inherit; text-decoration: none; }
a.stat:hover { border-color: var(--c-border-strong); }
.stat__split { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 12px; padding-top: 8px; border-top: 1px solid var(--c-border); font-size: 0.8125rem; color: var(--c-text-2); font-variant-numeric: tabular-nums; }
.stat__split:empty { display: none; }
.stat__split b { color: var(--c-text); font-weight: 600; }
.dash { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.dash__col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
@media (max-width: 1100px) {
  .dash { display: flex; flex-direction: column; align-items: stretch; }
  .dash__col { display: contents; }
  .o-1 { order: 1; } .o-2 { order: 2; } .o-3 { order: 3; } .o-4 { order: 4; } .o-5 { order: 5; }
}
.todo { list-style: none; margin: 0; padding: 0; }
.todo li + li { border-top: 1px solid var(--c-border); }
.todo a { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 16px; gap: 4px 12px; align-items: center; padding: 12px 16px; color: inherit; text-decoration: none; }
.todo a:hover { background: var(--c-surface); }
.todo .icon { color: var(--c-text-2); }
.todo__count { font-size: 1.125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.todo__meta { display: block; font-size: 0.8125rem; color: var(--c-text-3); }
.ai-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; }
.ai-metrics dt { font-size: 0.8125rem; color: var(--c-text-2); }
.ai-metrics dd { margin: 0; font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.meter { width: 100%; height: 8px; }
details.card > summary { cursor: pointer; list-style: none; }
details.card > summary::-webkit-details-marker { display: none; }

/* In báo cáo (nút In / PDF): trang A4 có lề, ẩn bộ lọc, nút; thẻ, chỉ số không bị cắt giữa trang; bảng in đủ dòng */
@media print {
  .admin-content:has(> .report-header) { page: report; }
  .report-header .page-header__actions, .admin-content:has(> .report-header) .filter-bar, .chart-table summary { display: none !important; }
  .admin-content:has(> .report-header) .card, .admin-content:has(> .report-header) .stat { break-inside: avoid; }
  .admin-content:has(> .report-header) .table-wrap, .chart-table .table-wrap { overflow: visible; max-height: none; }
  .admin-content:has(> .report-header) .chart { overflow: visible; }
  .admin-content:has(> .report-header) .chart svg { min-width: 0; }
}
@page report { margin: 12mm 10mm; }

/* Help Center (mockups/storefront/help.html, help-article.html; ADR-0095) */
.help-hero { padding: 56px 0 32px; text-align: center; }
.help-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.025em; }
.help-hero .search { max-width: 640px; margin: 20px auto 0; text-align: left; }
.help-hero .hint { margin-top: 12px; font-size: 0.875rem; color: var(--c-text-2); }
.quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 860px) { .quick { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.quick__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--c-border); border-radius: var(--r-lg); background: var(--c-bg); color: var(--c-text); text-decoration: none; }
.quick__item:hover { border-color: var(--c-text); }
.quick__item .icon { flex: none; }
.quick__item small { display: block; color: var(--c-text-3); font-size: 0.8125rem; }
.topics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .topics { grid-template-columns: minmax(0, 1fr); } }
.topic { display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1px solid var(--c-border); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 16px); }
.topic__head { display: flex; align-items: center; gap: 10px; }
.topic__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--r); background: var(--c-surface); }
.topic ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.9375rem; }
.topic ul a { color: var(--c-text); }
.policy-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--c-border); border-radius: var(--r-lg); }
.policy-list li + li { border-top: 1px solid var(--c-border); }
.policy-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; color: var(--c-text); text-decoration: none; }
.policy-list a:hover { background: var(--c-surface); }
.policy-list small { color: var(--c-text-3); font-size: 0.8125rem; text-align: right; }
.still { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; }
@media (max-width: 760px) { .still { grid-template-columns: minmax(0, 1fr); } }
/* Danh sách bài blog (ADR-0098) */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li { padding: 20px 0; border-top: 1px solid var(--c-border); }
.post-list li:last-child { border-bottom: 1px solid var(--c-border); }
.post-list h2 { font-size: 1.25rem; }
.post-list h2 a { color: var(--c-text); text-decoration: none; }
.post-list h2 a:hover { text-decoration: underline; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 24px 0 64px; }
@media (min-width: 961px) { .art-layout { grid-template-columns: minmax(0, 720px) 280px; justify-content: space-between; } }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; color: var(--c-text-3); font-size: 0.875rem; }
.art h1 { font-size: clamp(1.625rem, 3.5vw, 2.125rem); letter-spacing: -0.02em; }
.art .prose h2 { scroll-margin-top: calc(var(--header-h) + 16px); }
.feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--c-border); }
.aside { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 961px) { .aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.aside__title { font-size: 1rem; }
.toc, .related { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.875rem; }
.toc a { color: var(--c-text-2); text-decoration: none; }
.toc a:hover { color: var(--c-text); text-decoration: underline; }
.help-hit { color: inherit; text-decoration: none; }
.help-hit:hover strong { text-decoration: underline; }
