/* =========================================================================
   Tiệm Vật Tư – theme
   Navy (trust) + amber (tools, energy) on warm paper. Be Vietnam Pro is
   designed for Vietnamese diacritics. Large type and touch targets for
   users in their 60s.
   ========================================================================= */
:root {
  --ink: #14233c;
  --ink-2: #22385c;
  --ink-soft: #e8edf5;
  --accent: #f59f0a;
  --accent-dark: #d98500;
  --accent-soft: #fff4dc;
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #faf8f4;
  --line: #e7e2d8;
  --line-strong: #cfc7b8;
  --text: #1b2330;
  --muted: #6b6860;
  --link: #1c5fb4;
  --green: #137a43;
  --green-soft: #e3f4ea;
  --red: #b42318;
  --red-soft: #fdecea;
  --zalo: #0068ff;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(20, 35, 60, .06), 0 4px 16px rgba(20, 35, 60, .06);
  --shadow-lg: 0 10px 34px rgba(20, 35, 60, .14);
  --font: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; }
a { color: var(--link); text-underline-offset: 2px; }
h1, h2, h3 { line-height: 1.25; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: 1.6rem; margin: .3rem 0 1rem; font-weight: 800; }
h2 { font-size: 1.2rem; margin: 1.6rem 0 .7rem; font-weight: 700; }
h3 { font-size: 1.05rem; }
small, .small { font-size: .85rem; }
.muted { color: var(--muted); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.inline { display: inline; }
.icon { flex: none; vertical-align: -0.2em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #8fb6ff; outline-offset: 2px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo-link { text-decoration: none; display: inline-flex; }
.logo-mark {
  flex: none; width: 50px; height: 50px; border-radius: 13px; background: var(--ink); color: #fff;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  font-weight: 900; font-size: 17px; letter-spacing: .02em; line-height: 1;
}
.logo-mark::after { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--accent); margin-top: 5px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.logo-name { font-size: 1.25rem; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.logo.small .logo-mark { width: 40px; height: 40px; border-radius: 10px; font-size: 14px; }
.logo.small .logo-mark::after { width: 17px; margin-top: 4px; }
.logo.small .logo-name { font-size: 1.05rem; }
.logo.on-dark .logo-name { color: #fff; }
.logo.on-dark .logo-kicker { color: var(--accent); }
.logo.on-dark .logo-mark { box-shadow: 0 0 0 2px rgba(255, 255, 255, .15); }

/* ---------- buttons & inputs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; padding: .5rem 1.05rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line-strong); background: var(--surface); color: var(--ink);
  text-decoration: none; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
}
.btn:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn.primary:hover { background: var(--ink-2); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: #1b1300; }
.btn.accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn.zalo { background: var(--zalo); border-color: var(--zalo); color: #fff; }
.btn.call { background: var(--green); border-color: var(--green); color: #fff; }
.btn.ghost { background: transparent; border-color: transparent; color: inherit; }
.btn.ghost:hover { background: rgba(255, 255, 255, .1); border-color: transparent; }
.btn.danger { color: var(--red); border-color: #efb3ad; background: var(--surface); }
.btn.big { min-height: 54px; padding: .7rem 1.4rem; font-size: 1.08rem; border-radius: 12px; }
.btn.small { min-height: 34px; padding: .2rem .7rem; font-size: .85rem; }
.btn:disabled { opacity: .5; cursor: default; }
button.link { background: none; border: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; }
input, select, textarea {
  font: inherit; padding: .6rem .75rem; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--surface); color: var(--text); width: 100%; min-height: 46px;
}
textarea { min-height: auto; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(28, 95, 180, .15); }
input[type=checkbox] { width: 1.35rem; height: 1.35rem; min-height: 0; accent-color: var(--ink); vertical-align: middle; }

/* ---------- admin chrome ---------- */
.admin-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); }
.admin-bar { display: flex; align-items: center; gap: .6rem; max-width: 1240px; margin: 0 auto; padding: .55rem 1rem .3rem; }
.admin-bar .logo-name { color: #fff; }
.admin-bar .logo-kicker { color: var(--accent); }
.admin-bar .logo-mark { box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .22); }
.admin-bar .spacer { flex: 1; }
.user-link { color: #d6deea; text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; font-size: .92rem; }
.user-link:hover { color: #fff; }
.topnav { display: flex; gap: .25rem; max-width: 1240px; margin: 0 auto; padding: .25rem .75rem .55rem; overflow-x: auto; scrollbar-width: none; }
.topnav a {
  display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .9rem; border-radius: 999px;
  color: #d6deea; text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.topnav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.topnav a.active { background: var(--accent); color: #1b1300; }
.container { max-width: 1240px; margin: 0 auto; padding: 1.2rem 1rem 2rem; }
.page-head { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.page-head h1 { margin: .2rem 0; }
.page-head > div { display: flex; flex-wrap: wrap; gap: .45rem; }
.flash { display: flex; align-items: center; gap: .5rem; background: var(--green-soft); border: 1px solid #b4dfc4; color: #0d5a32; padding: .7rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; font-weight: 600; }
.error { background: var(--red-soft); border: 1px solid #f3b9b3; color: #8a1d14; padding: .7rem 1rem; border-radius: var(--radius-sm); margin: .5rem 0; }
.hint { background: var(--accent-soft); border: 1px solid #f5d79a; padding: .6rem 1rem; border-radius: var(--radius-sm); }
.empty { padding: 2rem 1rem; text-align: center; color: var(--muted); background: var(--surface); border: 1.5px dashed var(--line-strong); border-radius: var(--radius); }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.box h2:first-child { margin-top: 0; }
.quick-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1rem; }

.search-hero { position: relative; display: flex; gap: .5rem; margin: .4rem 0 1.2rem; }
.search-hero input[type=search] {
  font-size: 1.25rem; min-height: 62px; padding: .8rem 1rem; border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.filters input { flex: 2 1 260px; }
.filters select { flex: 1 1 190px; width: auto; }

/* ---------- product cards (Tra giá) ---------- */
.cards { display: grid; gap: .9rem; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: var(--shadow); }
.p-name { font-weight: 700; font-size: 1.12rem; text-decoration: none; color: var(--ink); }
.p-name:hover { text-decoration: underline; }
.p-head .muted { display: block; font-size: .85rem; margin-top: .1rem; }
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .8rem 0; }
.prices > div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .45rem .6rem; }
.prices small { display: block; color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; }
.price { font-size: 1.2rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.prices > div:first-child { background: var(--green-soft); border-color: #bfe3cc; }
.price.retail { color: var(--green); font-size: 1.45rem; font-weight: 800; }
.price.buy { color: var(--red); }
.reveal { font: inherit; font-size: .88rem; font-weight: 600; padding: .15rem .55rem; border-radius: 7px; border: 1.5px dashed var(--line-strong); background: var(--surface); cursor: pointer; color: var(--muted); }
.p-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; font-size: .86rem; }
.p-foot a { margin-right: .4rem; }
.stale { color: #a35a00; font-weight: 700; }
.supplier .contact { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.tags { margin: .5rem 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.tag { background: var(--ink-soft); color: var(--ink); border-radius: 999px; padding: .12rem .65rem; font-size: .8rem; font-weight: 600; }
.form .tag { justify-self: start; align-self: center; }
.tag.brand { background: var(--accent-soft); color: #7a4a00; }

/* ---------- tables ---------- */
.grid { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.grid th, .grid td { padding: .65rem .75rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.grid tr:last-child td { border-bottom: 0; }
.grid tbody tr:hover td { background: #fcfbf8; }
.grid th { background: var(--surface-2); font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.grid th.num, .grid td.num { text-align: right; }
.grid.compact th, .grid.compact td { padding: .35rem .55rem; font-size: .9rem; }
.grid tr.dim td { opacity: .5; }
.status { display: inline-block; font-size: .78rem; font-weight: 700; border-radius: 999px; padding: .12rem .6rem; white-space: nowrap; }
.status.s0 { background: #fff1c7; color: #7a5200; }
.status.s1 { background: #dbe8ff; color: #1d4b99; }
.status.s2 { background: var(--green-soft); color: #0d5a32; }
.status.s3 { background: var(--red-soft); color: #8a1d14; }
.status.paid { background: var(--green); color: #fff; }
.pager { display: flex; gap: 1rem; align-items: center; justify-content: center; margin: 1.2rem 0; color: var(--muted); }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem 1rem; }
.form label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; font-size: .88rem; color: var(--ink); }
.form .wide { grid-column: 1 / -1; }
.form label.check { flex-direction: row; align-items: center; gap: .55rem; font-weight: 500; font-size: 1rem; }
.form.narrow { max-width: 480px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .6rem .9rem .8rem; }
.form legend { font-weight: 700; color: var(--ink); padding: 0 .3rem; }
.checks { display: flex; flex-wrap: wrap; gap: .35rem 1.3rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-top: .4rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.danger-zone { margin-top: 2rem; text-align: right; }
textarea.mono { font-family: Consolas, "Courier New", monospace; font-size: .85rem; white-space: pre; }
form.form:not(.narrow) { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; box-shadow: var(--shadow); }
.box form.form, .order-editor form.form, .order-editor .form { background: none; border: 0; padding: 0; box-shadow: none; }

/* ---------- order editor ---------- */
.ac-wrap { position: relative; }
.ac-list {
  position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 25; background: var(--surface);
  border: 1.5px solid var(--ink); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  max-height: 420px; overflow: auto; font-weight: 400;
}
.ac-item { padding: .55rem .75rem; border-bottom: 1px solid var(--line); cursor: pointer; }
.ac-item:last-child { border-bottom: 0; }
.ac-item.active, .ac-item:hover { background: var(--accent-soft); }
.ac-item .last { color: #8a4b00; font-weight: 600; }
.order-lines { box-shadow: none; }
.order-lines input { padding: .45rem .55rem; min-height: 42px; }
.order-lines .col-no { width: 2.4rem; color: var(--muted); text-align: center; padding-top: .9rem; }
.order-lines .col-unit { width: 6.5rem; }
.order-lines .col-qty { width: 6rem; }
.order-lines .col-price { width: 9rem; }
.order-lines .col-amount { width: 9rem; font-weight: 700; padding-top: .9rem; color: var(--ink); }
.order-lines .col-x { width: 3rem; }
.order-lines input.num { text-align: right; }
.l-hint { margin-top: .25rem; }
.totals-box { display: grid; grid-template-columns: 1fr 380px; gap: 1.2rem; }
.totals { width: 100%; font-size: 1.05rem; border-collapse: collapse; }
.totals td { padding: .35rem .4rem; }
.totals input { text-align: right; }
.totals .grand td { font-size: 1.45rem; font-weight: 800; color: var(--ink); border-top: 2px solid var(--line); padding-top: .6rem; }
.totals .grand td.num { color: var(--green); }
.sticky-actions {
  position: sticky; bottom: 0; z-index: 20; justify-content: flex-end; padding: .7rem 1rem; margin: 0 -1rem;
  background: rgba(246, 244, 239, .94); backdrop-filter: blur(6px); border-top: 1px solid var(--line);
}

/* ---------- login ---------- */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 1rem; background:
  radial-gradient(circle at 20% 10%, rgba(245, 159, 10, .18), transparent 40%), var(--ink); }
.login-box { width: 100%; max-width: 420px; background: var(--surface); padding: 2rem; border-radius: 20px; box-shadow: var(--shadow-lg); }
.login-box .logo { margin-bottom: 1.2rem; }
.login-box h1 { font-size: 1.3rem; }
.login-box form { display: flex; flex-direction: column; gap: 1rem; }
.login-box label { display: flex; flex-direction: column; gap: .3rem; font-weight: 600; }
.login-box .btn { width: 100%; }

/* ---------- public site ---------- */
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 1.1rem; }
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.show-xs { display: none; }

.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background:
    radial-gradient(circle at 85% 15%, rgba(245, 159, 10, .35), transparent 35%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 22px);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; gap: 2.5rem; padding-top: 3.2rem; padding-bottom: 3.2rem; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 1rem; padding: .3rem .8rem; border-radius: 999px; background: rgba(245, 159, 10, .15); color: var(--accent); font-weight: 700; font-size: .85rem; letter-spacing: .02em; }
.hero h1 { color: #fff; font-size: 2.35rem; font-weight: 800; margin: 0 0 .8rem; letter-spacing: -.02em; }
.hero .hl { color: var(--accent); }
.hero .lead { font-size: 1.1rem; color: #cdd7e6; margin: 0 0 1.6rem; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-facts { list-style: none; margin: 0; padding: 1.2rem; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; display: grid; gap: 1rem; }
.hero-facts li { display: flex; gap: .8rem; align-items: flex-start; }
.hero-facts .icon { color: var(--accent); margin-top: .15rem; }
.hero-facts b { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: #9fb0c8; }
.hero-facts span, .hero-facts a { color: #fff; }

.trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.trust-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-top: 1.2rem; padding-bottom: 1.2rem; }
.trust-row > div { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; }
.trust-row .icon { grid-row: span 2; color: var(--ink); background: var(--accent-soft); border-radius: 12px; padding: 9px; width: 46px; height: 46px; }
.trust-row b { color: var(--ink); line-height: 1.2; }
.trust-row span { color: var(--muted); font-size: .88rem; }

.public-main { padding-top: 1.8rem; padding-bottom: 1rem; }
.public-search .search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.public-search input[type=search] { padding-left: 3rem; }
.public-search .btn { min-height: 62px; padding: 0 1.6rem; border-radius: var(--radius); font-size: 1.05rem; }
.section-title { display: flex; align-items: baseline; gap: .7rem; flex-wrap: wrap; font-size: 1.45rem; margin: 1.6rem 0 1rem; }
.section-title small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.crumbs { display: flex; align-items: center; gap: .35rem; font-size: .9rem; color: var(--muted); margin-top: .4rem; }

.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.cat {
  display: flex; flex-direction: column; gap: .4rem; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.1rem; text-decoration: none; color: var(--text);
  box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; position: relative;
}
.cat::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--accent); opacity: 0; transition: opacity .15s; }
.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.cat:hover::before { opacity: 1; }
.cat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.cat-head b { color: var(--ink); font-size: 1.02rem; line-height: 1.3; }
.cat .count { flex: none; font-size: .78rem; font-weight: 700; background: var(--ink-soft); color: var(--ink); border-radius: 999px; padding: .1rem .55rem; }
.cat small { color: var(--muted); line-height: 1.45; }
.cat-more { margin-top: auto; padding-top: .2rem; display: inline-flex; align-items: center; gap: .2rem; font-size: .85rem; font-weight: 700; color: var(--accent-dark); }

.product-names { columns: 3 280px; column-gap: 1.6rem; padding: 1rem 1.2rem; margin: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.product-names li { display: flex; gap: .45rem; align-items: baseline; padding: .4rem 0; break-inside: avoid; border-bottom: 1px solid #f0ece4; }
.product-names .icon { color: var(--green); flex: none; vertical-align: 0; position: relative; top: .15em; }

.contact-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  margin: 2.5rem 0 1rem; padding: 1.6rem 1.8rem; border-radius: 20px;
  background: linear-gradient(120deg, var(--accent-soft), #fff 70%); border: 1px solid #f3dca8;
}
.contact-band h2 { margin: 0 0 .3rem; font-size: 1.3rem; }
.contact-band p { margin: 0; color: var(--muted); }

.site-footer { margin-top: 2.5rem; background: var(--ink); color: #b8c4d6; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; padding-top: 2.2rem; padding-bottom: 1.6rem; }
.footer-intro { max-width: 36em; margin: .9rem 0 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.site-footer li { display: flex; gap: .55rem; align-items: flex-start; }
.site-footer li .icon { color: var(--accent); margin-top: .2rem; }
.site-footer a { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 1rem; padding-bottom: 1.4rem; font-size: .85rem; }
.footer-bottom a { color: #7f8fa8; text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2.2rem; padding-bottom: 2.2rem; }
  .hero h1 { font-size: 1.85rem; }
  .trust-row { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { font-size: 17px; }
  .hide-sm { display: none; }
  .two-col, .totals-box { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .container { padding: .8rem .7rem 1.5rem; }
  .user-link { display: none; }
  .admin-bar .logo-kicker { display: none; }
  .order-lines thead { display: none; }
  .order-lines tr { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: .3rem; padding: .5rem; border-bottom: 2px solid var(--line); }
  .order-lines td { border: 0; padding: .1rem; width: auto !important; }
  .order-lines td.col-no { display: none; }
  .order-lines td.ac-wrap { grid-column: 1 / -1; }
  .order-lines td.col-amount { padding-top: .6rem; }
  .sticky-actions { margin: 0 -.7rem; }
}
@media (max-width: 520px) {
  .hide-xs { display: none; }
  .show-xs { display: inline; }
  .logo-name { font-size: 1.08rem; }
  .logo-mark { width: 44px; height: 44px; font-size: 15px; }
  .hero h1 { font-size: 1.6rem; }
  .cta .btn { flex: 1 1 100%; }
  .trust-row { grid-template-columns: 1fr; gap: .8rem; }
  .public-search .btn { padding: 0 1rem; }
  .contact-band { padding: 1.2rem; }
}

@media print {
  .no-print, .admin-header, .sticky-actions { display: none !important; }
  body { background: #fff; }
}
