/* OTP Instant — original design
   Palette: paper #FBFBF7 · ink #101A14 · signal green #12A15E · amber #F5B841 */

:root {
  --paper: #FBFBF7;
  --card: #FFFFFF;
  --ink: #101A14;
  --muted: #5C6660;
  --line: #E5E8DF;
  --accent: #12A15E;
  --accent-dark: #0B7A45;
  --accent-soft: #E3F4EB;
  --amber: #F5B841;
  --danger: #D64545;
  --radius: 16px;
  --font-display: "Kanit", sans-serif;
  --font-body: "Kanit", sans-serif;
  --font-mono: "Kanit", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.01em; }
.mono { font-family: var(--font-mono); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 15px/1 var(--font-body);
  padding: 12px 22px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-invert { background: #fff; color: var(--ink); }
.btn-invert:hover { transform: translateY(-1px); }
.btn-lg { padding: 15px 28px; font-size: 16px; }
.btn-mini { padding: 8px 14px; font-size: 13px; border-color: var(--line); background: #fff; }
.btn-mini:hover { border-color: var(--ink); }
.btn-danger { color: var(--danger); }
.btn-danger:hover { border-color: var(--danger); }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(251, 251, 247, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { font: 700 20px var(--font-display); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.logo em { font-style: normal; color: var(--accent-dark); }
.logo-dot { width: 10px; height: 10px; border-radius: 3px; background: var(--accent); display: inline-block; transform: rotate(45deg); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--muted); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-burger { display: none; flex-direction: column; gap: 4px; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  font: 600 13px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-soft);
  display: inline-block; padding: 7px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); font-weight: 700; margin-bottom: 18px; }
.hl { color: var(--accent-dark); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: var(--amber); opacity: .35; z-index: -1; border-radius: 3px; }
.lede { font-size: 18px; color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.stats { display: flex; gap: 36px; list-style: none; flex-wrap: wrap; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font: 700 26px var(--font-display); }
.stats span { font-size: 13px; color: var(--muted); }

/* signature phone */
.hero-phone { position: relative; justify-self: center; }
.phone {
  width: 300px; background: var(--ink); border-radius: 34px; padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(16, 26, 20, .4);
}
.phone-top { display: flex; justify-content: center; padding: 6px 0 10px; }
.phone-cam { width: 60px; height: 6px; border-radius: 999px; background: #2A362E; }
.phone-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; background: #182620; border-radius: 18px 18px 0 0; }
.phone-num { font: 600 14px var(--font-mono); color: #fff; }
.phone-live { font: 500 11px var(--font-body); color: #8FE3B8; display: inline-flex; align-items: center; gap: 6px; }
.phone-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .3 } }
.phone-msgs { background: #F2F4EE; padding: 14px; display: flex; flex-direction: column; gap: 10px; min-height: 240px; }
.msg {
  background: #fff; border-radius: 12px 12px 12px 4px; padding: 10px 12px;
  box-shadow: 0 2px 6px rgba(16,26,20,.06);
  opacity: 0; transform: translateY(12px);
  animation: msgIn .5s ease forwards; animation-delay: var(--d, 0s);
}
@keyframes msgIn { to { opacity: 1; transform: none } }
.msg-app { font: 600 11px var(--font-body); color: var(--accent-dark); text-transform: uppercase; letter-spacing: .05em; }
.msg p { font-size: 13px; color: #333; }
.msg .code { font-family: var(--font-mono); background: var(--accent-soft); color: var(--accent-dark); padding: 1px 6px; border-radius: 6px; }
.phone-foot { text-align: center; font: 500 12px var(--font-body); color: #8FE3B8; padding: 10px; background: #182620; border-radius: 0 0 18px 18px; }
.phone-chip {
  position: absolute; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font: 600 13px var(--font-body); padding: 9px 14px; box-shadow: 0 10px 24px -8px rgba(16,26,20,.18);
}
.chip-a { top: 36px; left: -70px; }
.chip-b { bottom: 60px; right: -60px; }

/* ---------- strip ---------- */
.strip { border-block: 1px solid var(--line); background: #fff; overflow: hidden; padding: 16px 0; }
.strip-track { display: flex; gap: 44px; width: max-content; animation: marquee 40s linear infinite; }
.strip-track span { font: 600 15px var(--font-display); color: var(--muted); white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%) } }

/* ---------- sections ---------- */
.section { padding: 84px 0; }
.section-tint { background: #F3F5EF; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 40px); }
.section-sub { color: var(--muted); margin-top: 12px; }

.grid { display: grid; gap: 20px; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -16px rgba(16,26,20,.15); }
.card-ico { font-size: 26px; margin-bottom: 14px; }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: step; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-n {
  display: inline-flex; width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--ink); color: var(--amber);
  font: 700 16px var(--font-mono); margin-bottom: 16px;
}
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { font-size: 14.5px; color: var(--muted); }

/* pricing */
.price-table { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.price-row { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-name { font: 600 16px var(--font-display); }
.price-dots { flex: 1; border-bottom: 2px dotted var(--line); }
.price-val { font: 600 15px var(--font-mono); color: var(--accent-dark); }

/* quotes */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.quote blockquote { font-size: 15px; margin-bottom: 18px; }
.quote blockquote::before { content: "“"; font: 700 34px var(--font-display); color: var(--accent); display: block; line-height: .6; margin-bottom: 10px; }
.quote figcaption { display: flex; flex-direction: column; }
.quote b { font-size: 14px; }
.quote span { font-size: 13px; color: var(--muted); }

/* faq */
.faq { border: 1px solid var(--line); border-radius: 14px; background: #fff; padding: 18px 22px; margin-bottom: 12px; }
.faq summary { font: 600 16px var(--font-display); cursor: pointer; list-style: none; position: relative; padding-right: 30px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font: 500 22px var(--font-mono); color: var(--accent-dark); }
.faq[open] summary::after { content: "–"; }
.faq p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* cta band */
.cta-band { background: var(--ink); color: #fff; padding: 64px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 38px); }

/* footer */
.footer { padding: 48px 0 40px; border-top: 1px solid var(--line); }
.footer-in { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.footer-note { color: var(--muted); font-size: 14px; margin-top: 10px; max-width: 38ch; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-copy { grid-column: 1 / -1; font-size: 13px; color: var(--muted); margin-top: 8px; }
.footer-slim { padding: 24px 0; }
.footer-slim .footer-copy { margin: 0; }

/* ---------- dashboard ---------- */
.dash { padding: 48px 24px 80px; display: flex; flex-direction: column; gap: 24px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel h1 { font-size: 26px; margin-bottom: 8px; }
.panel h2 { font-size: 20px; margin-bottom: 16px; }
.panel-sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; max-width: 60ch; }
.key-form { display: flex; gap: 12px; flex-wrap: wrap; }
.key-form input { flex: 1; min-width: 260px; }
input, select {
  font: 500 15px var(--font-body); color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: #fff;
}
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-err { color: var(--danger); font-size: 14px; margin-top: 12px; }
.hint { color: var(--muted); font-size: 14px; margin-top: 14px; }
.balance-pill { font: 600 14px var(--font-mono); background: var(--accent-soft); color: var(--accent-dark); padding: 8px 14px; border-radius: 999px; }

.buy-grid { display: grid; grid-template-columns: 1.2fr 1.2fr .7fr auto; gap: 14px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font: 600 13px var(--font-body); color: var(--muted); }

.act-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.act-card { border: 1.5px solid var(--line); border-radius: 14px; padding: 18px; }
.act-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 10px; }
.act-svc { font: 600 14px var(--font-display); }
.act-status { font: 600 12px var(--font-body); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.st-waiting { background: #FDF3DC; color: #8A6A14; }
.st-ok { background: var(--accent-soft); color: var(--accent-dark); }
.st-cancel { background: #FBE9E9; color: var(--danger); }
.act-phone { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.act-code { font-size: 26px; font-weight: 600; color: var(--accent-dark); background: var(--accent-soft); border-radius: 10px; padding: 8px 14px; display: inline-block; margin-bottom: 10px; }
.act-btns { display: flex; gap: 8px; flex-wrap: wrap; }

.tbl-scroll { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font: 600 12px var(--font-body); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td.mono { font-size: 13px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .hero-phone { margin-top: 12px; }
  .chip-a { left: -20px; }
  .chip-b { right: -10px; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .buy-grid { grid-template-columns: 1fr 1fr; }
  .buy-grid .btn { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; padding: 18px 24px; gap: 16px; }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .cards-4 { grid-template-columns: 1fr; }
  .buy-grid { grid-template-columns: 1fr; }
  .price-row { flex-wrap: wrap; }
  .price-dots { display: none; }
  .footer-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .strip-track { animation: none; }
  .msg { animation: none; opacity: 1; transform: none; }
  .phone-live i { animation: none; }
  * { transition: none !important; }
}

/* ---- membership / credit / top-up ---- */
.auth-wrap { max-width: 520px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; margin-top: 18px; }
.auth-form input { padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: 500 15px var(--font-body); background: var(--paper); }
.auth-form input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.auth-cta { display: flex; gap: 12px; margin: 18px 0 6px; flex-wrap: wrap; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }
.form-ok { color: var(--accent-dark); font-size: 14px; margin-top: 12px; }
.panel-note { border-color: var(--amber); background: #FFF9EC; }

.pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 18px 0 24px; }
.pay-card { border: 1px solid var(--line); border-radius: 12px; padding: 18px; background: var(--paper); }
.pay-card h3 { font-size: 15px; margin-bottom: 8px; }
.pay-big { font-size: 20px; font-weight: 600; letter-spacing: .02em; }
.topup-form input[type="file"] { padding: 10px; border: 1px dashed var(--line); border-radius: 10px; background: var(--paper); font-size: 13px; }

.badge { font: 600 12px var(--font-body); padding: 4px 10px; border-radius: 999px; text-transform: capitalize; }
.badge-pending { background: #FFF3D6; color: #8A6100; }
.badge-approved { background: var(--accent-soft); color: var(--accent-dark); }
.badge-rejected { background: #FBE3E3; color: var(--danger); }
.amt-pos { color: var(--accent-dark); }
.amt-neg { color: var(--danger); }

.admin-decide { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.admin-decide input[type="text"] { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; min-width: 140px; }
.admin-adjust { display: flex; gap: 14px; align-items: end; flex-wrap: wrap; margin-bottom: 22px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.admin-adjust .field input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; }

/* ---- QR / settings ---- */
.pay-qr { text-align: center; }
.qr-img { max-width: 240px; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line); background: #fff; padding: 8px; margin: 4px auto 10px; display: block; }
.qr-img.qr-sm { max-width: 150px; }
.settings-form { display: flex; flex-direction: column; gap: 4px; }
.settings-form .buy-grid { align-items: end; }
.settings-form input { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: var(--paper); }
.settings-form input:focus { outline: 2px solid var(--accent); border-color: transparent; }

/* ---- account shop (AccsZone) — "digital goods box" cards ---- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.prod-card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.prod-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: 0 12px 28px rgba(18, 161, 94, .14); }
.prod-figure { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); display: flex; align-items: center; justify-content: center; border-bottom: 1.5px dashed var(--line); }
.prod-figure img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .22s ease; }
.prod-card:hover .prod-figure img { transform: scale(1.05); }
.prod-ph { width: 64px; height: 64px; border-radius: 18px; background: var(--accent-soft); color: var(--accent-dark); display: flex; align-items: center; justify-content: center; font: 700 28px var(--font-display); }
.prod-stock { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 5px; font: 600 11px var(--font-body); color: var(--ink); background: #fff; border: 1px solid var(--line); padding: 2px 8px; border-radius: 999px; }
.prod-stock i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.prod-stock.low i { background: var(--amber); }
.prod-stock.out i { background: var(--danger); }
.prod-body { display: flex; flex-direction: column; gap: 3px; padding: 11px 13px 13px; flex: 1; }
.prod-cat { font: 600 10px var(--font-body); letter-spacing: .07em; text-transform: uppercase; color: var(--accent-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prod-title { font-weight: 600; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-spec { color: var(--muted); font-size: 12px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-pricebar { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 9px; }
.prod-price { font: 700 20px var(--font-display); color: var(--accent-dark); letter-spacing: -.01em; }
.prod-price small { font-size: 12px; font-weight: 600; margin-right: 1px; }
.prod-flash { font: 600 11px var(--font-body); color: var(--muted); white-space: nowrap; }
.prod-buy { display: flex; gap: 6px; margin-top: 8px; }
.prod-buy input[type="number"] { width: 52px; padding: 8px 6px; border: 1.5px solid var(--line); border-radius: 9px; font: 600 13px var(--font-body); text-align: center; background: #fff; }
.prod-buy input[type="number"]:focus { outline: 2px solid var(--accent); border-color: transparent; }
.prod-buy .btn, .prod-login { flex: 1; padding: 9px 12px; font-size: 13.5px; }
.prod-login { margin-top: 8px; }
.prod-card.is-out { opacity: .92; }
.prod-card.is-out:hover { transform: none; border-color: var(--line); box-shadow: none; }
.prod-card.is-out .prod-figure img, .prod-card.is-out .prod-ph { filter: grayscale(1); opacity: .5; }
@media (prefers-reduced-motion: reduce) {
  .prod-card, .prod-figure img { transition: none; }
  .prod-card:hover { transform: none; }
  .prod-card:hover .prod-figure img { transform: none; }
}
.cred-box { background: var(--paper); border: 1px dashed var(--line); border-radius: 10px; padding: 12px 14px; font: 13px/1.7 var(--font-mono); white-space: pre-wrap; word-break: break-all; margin-top: 10px; }
.admin-decide input[type="number"] { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; }
.admin-adjust .field select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: #fff; }
.shop-more { text-align: center; margin-top: 26px; }
.prod-thumb { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; margin-bottom: 6px; }
.img-form input[type="file"] { max-width: 170px; font-size: 12px; }

/* inner pages (dash-body) have no burger button — on mobile show the menu
   as a wrapping second row instead of hiding it behind the landing burger */
@media (max-width: 640px) {
  .dash-body .nav-in { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 8px 12px; }
  .dash-body .nav-links { display: flex; position: static; flex-direction: row; flex-wrap: wrap; gap: 6px 18px; padding: 0; border: 0; background: transparent; margin-left: 0; width: 100%; order: 3; }
  .dash-body .nav-links a { font-size: 14px; }
  .dash-body .nav-cta { margin-left: auto; }
  .dash-body .balance-pill { max-width: 48vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.section-shop { background: linear-gradient(180deg, var(--accent-soft) 0%, rgba(255,255,255,0) 100%); border-top: 1px solid var(--line); }
.section-shop .eyebrow { color: var(--accent-dark); }
.hero-shop-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.hero-shop-note a { color: var(--accent-dark); font-weight: 600; }
/* account shop promo banner (landing) */
.promo-band { background: var(--ink); color: #fff; padding: 24px 0; }
.promo-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.promo-txt h2 { font-size: 22px; margin: 6px 0 4px; color: #fff; }
.promo-txt p { color: rgba(255,255,255,.75); font-size: 14px; }
.promo-tag { display: inline-block; font: 700 12px var(--font-body); background: var(--accent); color: var(--ink); padding: 3px 10px; border-radius: 999px; }
/* admin report */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.stat-card { border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; background: var(--paper); display: flex; flex-direction: column; gap: 2px; }
.stat-card > span { font-size: 12.5px; color: var(--muted); }
.stat-card b { font: 700 21px var(--font-display); color: var(--ink); letter-spacing: -.01em; }
.stat-card .stat-sub { font-size: 11.5px; }
/* report dashboard charts */
.chart-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.chart-card h2 { margin-bottom: 10px; }
.chart-svg { width: 100%; height: auto; display: block; }
.chart-svg .bar { transition: opacity .12s ease; }
.chart-svg .bar:hover { opacity: .8; }
.lgd-row { display: flex; gap: 16px; margin-bottom: 8px; }
.lgd { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.lgd i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.chart-data summary { cursor: pointer; font-weight: 600; font-size: 14px; }
.chart-data[open] summary { margin-bottom: 12px; }
@media (max-width: 960px) { .chart-row { grid-template-columns: 1fr; } }
/* pre-order delivery queue */
.deliver-form { display: flex; flex-direction: column; gap: 8px; min-width: 260px; }
.deliver-form textarea { padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; font: 13px/1.5 var(--font-mono); resize: vertical; background: #fff; }
.deliver-form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
/* landing banner: featured products */
.promo-prods { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 20px; padding-bottom: 4px; }
.promo-prod { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 10px 14px; text-decoration: none; color: #fff; transition: background .15s ease, border-color .15s ease; }
.promo-prod:hover { background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.35); }
.promo-prod img { width: 46px; height: 46px; object-fit: cover; border-radius: 9px; flex: none; }
.promo-prod .pp-ph { width: 46px; height: 46px; border-radius: 9px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font: 700 19px var(--font-display); flex: none; }
.promo-prod b { font-size: 13.5px; line-height: 1.3; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.promo-prod b small { display: block; font: 500 11px var(--font-body); color: rgba(255,255,255,.65); margin-top: 2px; }
.promo-prod .pp-price { color: #8FE3B8; font: 700 15px var(--font-display); margin-left: auto; white-space: nowrap; }
