/* =====================================================================
   style.css V2 — TOKO BANGUNAN · "Construction Commerce Premium 2026"
   Vanilla CSS, mobile-first dasar + penyesuaian desktop di responsive.css.
   Palet: Deep Navy #0B1422 · Navy Surface #111F30 · Orange #FF7626 · Concrete #F2F4F7
   Tanpa blur/filter berat; kompatibel HP kelas bawah. Mode gelap tetap tersedia.
   ===================================================================== */
:root {
  --bg: #f2f4f7; --surface: #ffffff; --surface-2: #f7f8fa; --text: #1d2939; --muted: #667085; --line: #e4e7ec;
  --navy: #0b1422; --navy-2: #111f30; --navy-3: #1a2c44; --navy-text: #e6edf6;
  --orange: #ff7626; --orange-h: #ff8b3d; --orange-d: #e8630f; --orange-soft: #fff1e8;
  --blue: #1d6fd6; --ok: #16a34a; --ok-soft: #e3f6ea; --warn: #b45309; --warn-soft: #fff4dc; --bad: #d92d20; --bad-soft: #fdecea;
  --grad: linear-gradient(180deg, #ff8b3d 0%, #ff7626 100%);
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .06); --shadow: 0 1px 3px rgba(16, 24, 40, .06), 0 8px 22px rgba(16, 24, 40, .07); --shadow-lg: 0 18px 48px rgba(11, 20, 34, .24);
  --r: 16px; --r-sm: 12px; --r-lg: 20px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-h: "Plus Jakarta Sans", Inter, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}
[data-theme="dark"] {
  --bg: #0a111c; --surface: #111f30; --surface-2: #0d1827; --text: #e8edf5; --muted: #9fb0c4; --line: #223650;
  --navy: #070d17; --navy-2: #0d1a2b; --navy-3: #16293f; --orange-soft: #3a2314; --ok: #4ade80; --ok-soft: #12321f; --warn: #fbbf24; --warn-soft: #3a2d0e; --bad: #f87171; --bad-soft: #3b1717; --blue: #6aa8ff;
  --shadow-sm: none; --shadow: 0 2px 10px rgba(0, 0, 0, .35); --shadow-lg: 0 16px 48px rgba(0, 0, 0, .6);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.55; min-width: 320px; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--blue); text-decoration: none; } a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0 0 .8em; }
:focus-visible { outline: 3px solid #ffb184; outline-offset: 2px; border-radius: 8px; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.ic { flex: none; vertical-align: middle; }
.muted { color: var(--muted); } .muted-light { color: #aebdd0; } .small { font-size: 13px; } .right { text-align: right; } .center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.modal-open { overflow: hidden; }
.guard-pending #page, .guard-pending #dash { visibility: hidden; }
[hidden] { display: none !important; }

/* ---- Loading screen V2 (4 dtk, ringan: CSS transform/opacity saja) ---- */
/* V2.5 — Loading screen "Bangun Tembok": bata disusun dari bawah, atap & pintu menyusul, 4 detik. Hanya transform/opacity/stroke (ringan). */
#tb-loader { position: fixed; inset: 0; z-index: 9999; background: #070D17; display: flex; align-items: center; justify-content: center; color: #fff; overflow: hidden; transition: opacity .6s ease, visibility .6s, transform .6s ease; padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom); --bw: 40px; --bh: 19px; }
#tb-loader.done { opacity: 0; visibility: hidden; transform: scale(1.03); }
#tb-loader.done .ld-box { transform: translateY(-10px); transition: transform .6s ease; }
html.no-loader #tb-loader { display: none; }
html.loading body { overflow: hidden; }
.ld-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(120,160,220,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120,160,220,.07) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 45%, #000 15%, transparent 70%); }
.ld-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.ld-orb.o1 { width: min(120vw, 700px); height: min(120vw, 700px); left: 50%; top: 42%; margin: calc(min(120vw, 700px) / -2) 0 0 calc(min(120vw, 700px) / -2); background: radial-gradient(circle, rgba(255,118,38,.26), rgba(255,118,38,0) 62%); animation: ldGlow 4s ease-in-out forwards; }
.ld-orb.o2 { width: min(80vw, 460px); height: min(80vw, 460px); right: -22vw; bottom: -16vh; background: radial-gradient(circle, rgba(46,120,255,.18), rgba(46,120,255,0) 66%); }
.ld-box { position: relative; z-index: 1; text-align: center; padding: 24px; width: min(420px, 100%); }
/* area bangunan */
.ld-site { position: relative; width: calc(var(--bw) * 6 + 15px); margin: 0 auto 30px; padding-top: calc((var(--bw) * 6 + 59px) * .3); }
.ld-wall { position: relative; display: flex; flex-direction: column; gap: 3px; }
.ld-row { display: flex; gap: 3px; }
.ld-row i { display: block; width: var(--bw); height: var(--bh); border-radius: 3px; background: #C2562F; box-shadow: inset 0 1px 0 rgba(255,255,255,.24), inset 0 -2px 0 rgba(0,0,0,.2); opacity: 0; transform: translateY(-34px) scale(.92); animation: ldBrick .42s cubic-bezier(.25,1.3,.4,1) var(--d) forwards; }
.ld-row i.a { background: #C2562F; } .ld-row i.b { background: #D8693B; } .ld-row i.c { background: #EC8049; } .ld-row i.g { background: #8C98A8; }
.ld-row i.h { width: calc((var(--bw) - 3px) / 2); }
.ld-wall::before, .ld-wall::after { content: ""; position: absolute; bottom: -4px; width: 3px; height: calc(100% + 24px); background: rgba(255,255,255,.16); border-radius: 2px; transform-origin: bottom; animation: ldPole .7s .05s ease both; }
.ld-wall::before { left: -16px; } .ld-wall::after { right: -16px; }
.ld-door { position: absolute; left: 50%; bottom: 0; width: calc(var(--bw) * .8); height: calc(var(--bh) * 2 + 3px + 6px); margin-left: calc(var(--bw) * -.4); background: #0B1422; border: 2px solid #FF8B3D; border-bottom: 0; border-radius: 6px 6px 0 0; opacity: 0; transform: scaleY(.3); transform-origin: bottom; animation: ldDoor .4s 3.4s cubic-bezier(.2,.9,.3,1.2) forwards; }
.ld-door::after { content: ""; position: absolute; right: 5px; top: 52%; width: 4px; height: 4px; border-radius: 50%; background: #FFB37A; }
.ld-roof { position: absolute; top: 0; left: -22px; width: calc(100% + 44px); height: auto; overflow: visible; }
.ld-roof-fill { fill: rgba(255,118,38,.14); opacity: 0; animation: ldFade .5s 3.2s ease forwards; }
.ld-roof-line { fill: none; stroke: #fff; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 340; stroke-dashoffset: 340; animation: ldDraw .65s 2.85s cubic-bezier(.4,.1,.3,1) forwards; }
.ld-ground { display: block; height: 3px; width: calc(100% + 90px); margin: 4px -45px 0; background: linear-gradient(90deg, transparent, rgba(255,118,38,.9) 30%, rgba(255,160,92,.9) 70%, transparent); border-radius: 3px; transform: scaleX(0); animation: ldGround .8s .05s ease forwards; }
/* teks & progres */
.ld-name { display: block; font: 800 27px var(--font-h); letter-spacing: .15em; padding-left: .15em; animation: ldName 1s .5s cubic-bezier(.2,.8,.2,1) both; }
.ld-sub { font-size: 14px; margin-top: 8px; color: #b8c6d8; letter-spacing: .03em; animation: ldUp .7s .8s ease both; }
.ld-bar { width: min(300px, 78vw); height: 5px; border-radius: 99px; background: rgba(255,255,255,.1); margin: 28px auto 0; overflow: hidden; }
.ld-bar i { display: block; height: 100%; width: 100%; border-radius: 99px; background: linear-gradient(90deg, #FF7626, #FFB37A); transform-origin: left; transform: scaleX(0); animation: ldBar 4s cubic-bezier(.45,.05,.35,1) forwards; }
.ld-meta { width: min(300px, 78vw); margin: 10px auto 0; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: #9fb0c4; }
.ld-meta #ld-pct { font: 800 13px var(--font-h); font-variant-numeric: tabular-nums; color: #fff; }
.ld-skip { margin-top: 14px; background: transparent; border: 0; color: #7f90a7; padding: 8px 18px; font: 600 13px var(--font); cursor: pointer; min-height: 36px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255,255,255,.2); }
.ld-skip:hover, .ld-skip:focus-visible { color: #fff; }
.ld-foot { position: absolute; bottom: calc(22px + env(safe-area-inset-bottom)); left: 0; right: 0; text-align: center; font-size: 12px; color: rgba(159,176,196,.7); padding: 0 16px; animation: ldUp .8s 1s ease both; }
.ld-foot b { color: #e6edf6; font-weight: 700; margin-left: 3px; }
@media (min-width: 900px) { #tb-loader { --bw: 58px; --bh: 26px; } .ld-name { font-size: 36px; } .ld-sub { font-size: 16px; } .ld-box { width: 520px; } .ld-bar, .ld-meta { width: 380px; } .ld-roof-line { stroke-width: 6; } }
@keyframes ldBrick { to { opacity: 1; transform: none; } }
@keyframes ldPole { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes ldGround { to { transform: scaleX(1); } }
@keyframes ldDoor { to { opacity: 1; transform: none; } }
@keyframes ldDraw { to { stroke-dashoffset: 0; } }
@keyframes ldFade { to { opacity: 1; } }
@keyframes ldBar { to { transform: scaleX(1); } }
@keyframes ldName { from { opacity: 0; letter-spacing: .5em; } to { opacity: 1; letter-spacing: .15em; } }
@keyframes ldUp { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ldGlow { 0% { opacity: .5; transform: scale(.9); } 85% { opacity: .9; transform: scale(1.05); } 100% { opacity: 1; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .ld-orb, .ld-name, .ld-sub, .ld-foot, .ld-wall::before, .ld-wall::after, .ld-ground { animation: none !important; transform: none; } .ld-row i, .ld-door, .ld-roof-fill { opacity: 1; animation: none !important; transform: none; } .ld-roof-line { stroke-dashoffset: 0; animation: none !important; } .ld-bar i { animation: none !important; transform: none; } }

/* ---- Tombol & form ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 12px; padding: 10px 18px; font: 700 14px/1.2 var(--font); cursor: pointer; transition: transform .12s ease, background-color .15s, border-color .15s, color .15s, box-shadow .15s; min-height: 44px; text-decoration: none !important; white-space: nowrap; }
.btn:active { transform: translateY(1px); } .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(255, 118, 38, .28); } .btn-primary:hover:not([disabled]) { background: var(--orange-h); }
.btn-dark { background: var(--navy-2); color: #fff; } .btn-dark:hover { background: var(--navy-3); }
.btn-outline { background: var(--surface); border-color: var(--line); color: var(--text); } .btn-outline:hover { border-color: var(--orange); color: var(--orange-d); }
.btn-ghost { background: transparent; color: var(--text); } .btn-ghost:hover { background: var(--surface-2); }
.btn-light { background: #fff; color: #0b1422; } .btn-light:hover { background: #fff1e8; }
.btn-ghost-on-dark { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .28); } .btn-ghost-on-dark:hover { background: rgba(255, 255, 255, .16); }
.btn-danger { background: var(--bad); color: #fff; } .btn-ok { background: var(--ok); color: #fff; }
[data-theme="dark"] .btn-ok { color: #06240f; } [data-theme="dark"] .btn-danger { color: #2a0606; }
.btn-wa { background: #fff; color: #128c4a; border-color: #86d6a8; } .btn-wa:hover { background: #effaf3; }
[data-theme="dark"] .btn-wa { background: transparent; color: #4ade80; border-color: #2a6b43; }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; border-color: rgba(255, 255, 255, .16); } .btn-ghost-light:hover { background: rgba(255, 255, 255, .16); }
.btn-sm { padding: 6px 12px; min-height: 38px; font-size: 13px; border-radius: 10px; } .btn-lg { padding: 13px 24px; font-size: 15.5px; min-height: 52px; border-radius: 14px; } .btn-block { width: 100%; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; } .icon-btn:hover { background: rgba(127, 140, 160, .16); text-decoration: none; }
.input, select.input, textarea.input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--text); font: 400 15px var(--font); min-height: 44px; }
.input:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 4px rgba(255, 118, 38, .16); }
textarea.input { min-height: 84px; resize: vertical; }
.field { display: block; margin-bottom: 14px; min-width: 0; } .field > span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: var(--muted); }
.field .hint { font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 4px; display: block; }
.form-error { color: var(--bad); font-size: 13px; min-height: 18px; margin: 4px 0 0; font-weight: 700; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; } .form-grid .full { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; } .check input { width: 18px; height: 18px; accent-color: var(--orange); }
.pw-wrap { position: relative; } .pw-wrap .input { padding-right: 50px; } .pw-wrap button { position: absolute; right: 2px; top: 0; }

/* ---- Badge, pill, kartu, alert ---- */
.badge { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; border-radius: 99px; background: var(--orange); color: #fff; font: 800 11px/18px var(--font); text-align: center; padding: 0 5px; box-shadow: 0 0 0 2px var(--navy); }
.bnav .badge { box-shadow: 0 0 0 2px var(--surface); }
.pill { display: inline-block; padding: 2px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.pill.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; } .pill.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; } .pill.bad { background: var(--bad-soft); color: var(--bad); border-color: transparent; } .pill.promo { background: var(--orange); color: #fff; border-color: transparent; } .pill.info { background: #e6f0fd; color: #1a5cb3; border-color: transparent; } .pill.best { background: var(--navy-2); color: #fff; border-color: transparent; }
[data-theme="dark"] .pill.info { background: #15294a; color: #8db8ff; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.card-pad { padding: 18px; }
.alert > span:first-child { flex: none; }
.alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; border: 1px solid var(--line); background: var(--surface-2); margin-bottom: 14px; }
.alert.warn { background: var(--warn-soft); border-color: transparent; color: var(--text); } .alert.bad { background: var(--bad-soft); border-color: transparent; } .alert.ok { background: var(--ok-soft); border-color: transparent; } .alert.info { background: #e8f1fd; border-color: transparent; color: #0f3a6e; }
[data-theme="dark"] .alert.info { background: #15294a; color: #cfe1ff; }
.demo-banner { display: flex; gap: 8px; align-items: flex-start; background: var(--warn-soft); color: var(--text); font-size: 13px; padding: 9px 14px; border-radius: 12px; margin: 14px 0; }

/* ---- Toast & modal ---- */
#toasts { position: fixed; right: 16px; bottom: 16px; z-index: 9000; display: grid; gap: 8px; max-width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; background: var(--navy-2); color: #fff; padding: 12px 14px; border-radius: 14px; box-shadow: var(--shadow-lg); font-size: 14px; animation: toastIn .25s ease; border: 1px solid rgba(255, 255, 255, .1); }
.toast .t-ic { flex: none; width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #3b82f6; margin-top: 1px; }
.toast.ok .t-ic { background: var(--ok); } .toast.error { background: #3b1212; border-color: #7f2a2a; } .toast.error .t-ic { background: #ef4444; } .toast.out { opacity: 0; transform: translateY(8px); transition: .3s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } }
.modal-wrap { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 8000; background: rgba(8, 14, 24, .62); display: flex; align-items: center; justify-content: center; padding: 16px; animation: fade .15s; }
.modal { background: var(--surface); color: var(--text); width: min(600px, 100%); max-height: calc(100vh - 32px); display: flex; flex-direction: column; border-radius: 20px; box-shadow: var(--shadow-lg); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); } .modal-head h3 { margin: 0; font-size: 18px; }
.modal-body { padding: 20px; overflow: auto; } .modal-foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
@keyframes fade { from { opacity: 0; } }

/* ---- Header publik (navy) ---- */
.site-header { position: sticky; top: 0; z-index: 500; background: var(--navy); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.hdr-row { display: flex; align-items: center; gap: 10px; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; min-width: 0; } .brand b { display: block; font: 800 17px/1.1 var(--font-h); letter-spacing: .04em; white-space: nowrap; } .brand small { display: block; font-size: 11px; color: var(--muted); }
.brand-light, .site-header .brand { color: #fff; } .brand-light small, .site-header .brand small { color: #9fb2c8; }
.hdr-search { order: 5; flex: 1 0 100%; display: flex; position: relative; }
.hdr-search .input { padding-right: 56px; border-radius: 12px; background: #fff; color: #1d2939; border-color: transparent; padding-left: 16px; min-height: 46px; }
.search-btn { position: absolute; right: 4px; top: 4px; height: 38px; width: 42px; border: 0; background: var(--orange); color: #fff; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; } .search-btn:hover { background: var(--orange-h); }
.hdr-nav { display: none; gap: 2px; } .hdr-nav a { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; color: #c4d1e0; font-size: 14px; font-weight: 600; white-space: nowrap; } .hdr-nav a:hover, .hdr-nav a.active { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .08); } .hdr-nav a.active { box-shadow: inset 0 -2px 0 var(--orange); border-radius: 10px 10px 4px 4px; }
.hdr-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; } .hdr-actions .icon-btn { color: #e6edf6; width: 42px; height: 42px; }
.hdr-login { margin-left: 4px; }
.mnav { display: none; background: var(--navy-2); border-top: 1px solid rgba(255, 255, 255, .08); } .mnav.open { display: block; } .mnav a { display: flex; gap: 12px; align-items: center; padding: 13px 18px; color: #dbe6f2; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .06); } .mnav a:hover { background: rgba(255, 255, 255, .05); text-decoration: none; }
.bnav { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 600; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 18px rgba(16, 24, 40, .08); }
.bnav a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 8px 2px 7px; color: var(--muted); font-size: 11px; font-weight: 700; position: relative; min-height: 60px; } .bnav a:hover { text-decoration: none; }
.bnav a.active { color: var(--orange-d); } .bnav a.active::before { content: ""; position: absolute; top: 0; left: 28%; right: 28%; height: 3px; border-radius: 0 0 4px 4px; background: var(--orange); }
.bnav .badge { top: 4px; right: calc(50% - 22px); }
body[data-shell="public"] { padding-bottom: 68px; }

/* ---- Hero ---- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: radial-gradient(ellipse at 80% 20%, rgba(255, 118, 38, .22), transparent 55%), linear-gradient(180deg, #0b1422, #10213a); }
.hero-inner { position: relative; z-index: 2; padding: 26px 16px 40px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: center; }
.hero h1 { font-size: clamp(30px, 8.4vw, 56px); font-weight: 800; margin-bottom: 12px; letter-spacing: -.03em; } .hero h1 em { font-style: normal; color: var(--orange); display: block; }
.hero p { font-size: 15px; max-width: 540px; color: #c4d1e0; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 4px; } .hero-cta .btn { flex: 1 1 150px; }
.hero-media { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1100 / 760; background: #10213a; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .08); } .hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-badge { position: absolute; left: 12px; bottom: 12px; background: var(--orange); color: #fff; border-radius: 12px; padding: 8px 12px; font-size: 12px; font-weight: 700; line-height: 1.2; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); } .hero-badge b { display: block; font: 800 20px var(--font-h); }
.trust-strip { position: relative; z-index: 4; margin-top: -20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.feat { display: flex; gap: 12px; align-items: center; padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); } .feat:nth-child(2n) { border-right: 0; } .feat:nth-last-child(-n+2) { border-bottom: 0; }
.feat b { display: block; font-size: 13.5px; line-height: 1.25; } .feat small { color: var(--muted); font-size: 12px; line-height: 1.3; display: none; }
.feat .ic-wrap { width: 42px; height: 42px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-d); display: flex; align-items: center; justify-content: center; flex: none; }

/* ---- Seksi ---- */
.section { padding: 34px 0; } .section.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; } .sec-head h2 { margin: 0; font-size: clamp(21px, 5.4vw, 30px); } .sec-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.link-more { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--orange-d); }
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.cat-card { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 8px; color: var(--text); transition: transform .15s, box-shadow .15s, border-color .15s; min-width: 0; } .cat-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.cat-card img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--surface-2); flex: none; } .cat-card b { display: block; font-size: 13px; line-height: 1.25; } .cat-card small { color: var(--muted); font-size: 12px; }
.cat-card > span { min-width: 0; }

/* ---- Promo, proyek, pengiriman ---- */
.promo-banner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; padding: 20px 18px; border-radius: var(--r-lg); background: linear-gradient(120deg, #ff7626, #ff9a52); color: #fff; box-shadow: 0 14px 30px rgba(255, 118, 38, .28); }
.promo-banner .pb-img { width: 104px; height: 104px; border-radius: 16px; background: #fff; object-fit: cover; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.promo-banner h3 { font-size: 22px; margin: 6px 0; } .promo-banner .pb-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; } .promo-banner .pb-price s { opacity: .85; } .promo-banner .pb-price b { font: 800 28px var(--font-h); }
.promo-banner .btn { background: var(--navy); color: #fff; } .promo-banner .btn:hover { background: var(--navy-3); }
.proj-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.proj-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 150px; border-radius: 16px; overflow: hidden; color: #fff; background: var(--navy-2); padding: 12px; isolation: isolate; text-decoration: none !important; }
.proj-card img { position: absolute; z-index: -2; right: -10px; top: -6px; width: 78%; opacity: .95; object-fit: cover; border-radius: 12px; }
.proj-card::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, rgba(11, 20, 34, .92) 18%, rgba(11, 20, 34, .25) 80%); }
.proj-card b { font: 800 15px var(--font-h); display: block; } .proj-card small { color: #c4d1e0; font-size: 12px; line-height: 1.3; display: block; } .proj-card:hover { outline: 2px solid var(--orange); }
.ship-banner { display: grid; grid-template-columns: minmax(0, 1fr); border-radius: var(--r-lg); overflow: hidden; background: var(--navy); color: #e6edf6; box-shadow: var(--shadow); }
.ship-banner .l, .ship-banner .r { padding: 22px 18px; } .ship-banner .l h3 { color: #fff; font-size: 24px; } .ship-banner .r { background: var(--navy-2); }
.ship-steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; } .ship-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; } .ship-steps .n { background: var(--orange); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; flex: none; }
.ship-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; } .ship-chips span { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); border-radius: 99px; padding: 5px 12px; font-size: 12.5px; font-weight: 600; }
.est-box { margin-top: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; padding: 14px; } .est-box h4 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.est-box .field > span { color: #aebdd0; } .est-box .input { background: #0b1422; color: #fff; border-color: rgba(255, 255, 255, .2); } .est-box .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.est-out { margin-top: 4px; font-size: 14px; } .est-out b { font: 800 22px var(--font-h); color: #ffb98a; }
.why-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .why { padding: 16px; } .why .ic-wrap { width: 46px; height: 46px; border-radius: 14px; background: var(--orange-soft); color: var(--orange-d); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; } .why h3 { font-size: 15px; margin-bottom: 4px; } .why p { font-size: 13px; margin: 0; }
.exp-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; } .exp { padding: 18px; display: flex; gap: 14px; } .exp .ic-wrap { width: 46px; height: 46px; border-radius: 14px; background: var(--navy-2); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; } .exp h3 { font-size: 16px; margin-bottom: 4px; } .exp p { margin: 0; font-size: 14px; }

/* ---- Produk ---- */
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.prod { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s, border-color .15s; position: relative; min-width: 0; } .prod:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d0d5dd; }
.prod .pimg { display: block; aspect-ratio: 1; background: linear-gradient(100deg, #eef1f5 30%, #f8f9fb 50%, #eef1f5 70%) 0 0 / 220% 100%; animation: skel 1.4s linear infinite; position: relative; margin: 6px 6px 0; border-radius: 12px; overflow: hidden; } .prod .pimg img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; background: var(--surface-2); }
@keyframes skel { from { background-position: 120% 0; } to { background-position: -100% 0; } }
.prod .pill { position: absolute; top: 8px; left: 8px; } .prod .pill.oos { left: auto; right: 8px; } .prod .pill.best { top: auto; bottom: 8px; }
.prod .pbody { padding: 9px 11px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0; } .prod .pname { font-weight: 700; font-size: 13.5px; line-height: 1.3; min-height: 35px; color: var(--text); display: block; } .prod .pname:hover { color: var(--orange-d); text-decoration: none; } .prod .pbrand { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.price { font-weight: 800; font-size: 16px; color: var(--orange-d); font-family: var(--font-h); } [data-theme="dark"] .price { color: #ff9a52; } .price small { font-weight: 600; color: var(--muted); font-size: 12px; font-family: var(--font); } .price-old { color: var(--muted); text-decoration: line-through; font-size: 12.5px; margin-left: 6px; font-weight: 500; display: inline-block; }
.prod .stock, .pstock { font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; } .prod .stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; } .stock.ok { color: var(--ok); } .stock.warn { color: var(--warn); } .stock.bad { color: var(--bad); }
.pact { display: flex; gap: 6px; margin-top: auto; padding-top: 8px; }
.pact .qty { display: none; }
.pact .btn-cart { flex: 1; min-height: 42px; padding: 6px 10px; font-size: 13px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); } .qty button { width: 38px; height: 40px; border: 0; background: transparent; color: var(--text); cursor: pointer; display: flex; align-items: center; justify-content: center; } .qty button:hover { background: var(--orange-soft); } .qty input { width: 52px; height: 40px; border: 0; text-align: center; background: transparent; color: var(--text); font: 800 15px var(--font); -moz-appearance: textfield; } .qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cat-layout { display: block; padding: 16px 0 40px; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; } .filters h3 { font-size: 16px; }
.filters-drawer { position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 88vw); z-index: 800; transform: translateX(-104%); transition: transform .25s; overflow: auto; border-radius: 0 18px 18px 0; box-shadow: var(--shadow-lg); } .filters-drawer.open { transform: none; }
.fd-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .fd-head h3 { margin: 0; }
.fd-scrim { display: none; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(8, 14, 24, .55); z-index: 790; } .fd-scrim.open { display: block; }
.cat-search { display: flex; gap: 8px; margin-bottom: 12px; } .cat-search .field { margin: 0; flex: 1; } .cat-search .input { background: var(--surface); }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 14px; } .toolbar .field { margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 12px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); padding: 7px 14px; border-radius: 99px; font: 700 13px var(--font); cursor: pointer; min-height: 36px; } .chip.active, .chip:hover { background: var(--orange); border-color: transparent; color: #fff; }
.act-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; } .act-filters .chip { display: inline-flex; align-items: center; gap: 6px; background: var(--orange-soft); color: var(--orange-d); border-color: transparent; }
.cat-count { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.empty { text-align: center; padding: 44px 16px; color: var(--muted); } .empty .ic { width: 44px; height: 44px; opacity: .5; margin-bottom: 8px; } .empty h3 { color: var(--text); }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 20px; flex-wrap: wrap; align-items: center; }
.crumb { font-size: 13px; color: var(--muted); padding: 14px 0 0; } .crumb a { color: var(--muted); } .crumb a:hover { color: var(--orange-d); }

/* ---- Detail produk ---- */
.pd-wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 12px 0 34px; }
.pd-gal { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 10px; } .pd-gal .pd-main { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--surface-2); position: relative; } .pd-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-info { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; } .pd-info h1 { font-size: 24px; margin-bottom: 6px; } .pd-price { font: 800 30px var(--font-h); color: var(--orange-d); margin: 10px 0 4px; } .pd-price small { font: 600 14px var(--font); color: var(--muted); } [data-theme="dark"] .pd-price { color: #ff9a52; }
.pd-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 14px 0; } .pd-meta div { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; font-size: 13px; } .pd-meta small { display: block; color: var(--muted); font-size: 11.5px; } .pd-meta b { display: block; }
.pd-buy { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 14px 0 8px; } .pd-buy .btn { flex: 1 1 200px; }

/* ---- Keranjang & checkout ---- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 16px 0 40px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; padding: 14px; border-bottom: 1px solid var(--line); align-items: center; } .cart-item:last-child { border: 0; }
.cart-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: var(--surface-2); }
.cart-item .c-end { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cart-item .c-name { font-weight: 700; line-height: 1.3; display: block; color: var(--text); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14.5px; } .sum-row.total { border-top: 2px dashed var(--line); margin-top: 8px; padding-top: 14px; font: 800 21px var(--font-h); } .sum-row.disc { color: var(--ok); }
.opt { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 14px; margin-bottom: 10px; cursor: pointer; background: var(--surface); } .opt.sel { border-color: var(--orange); background: var(--orange-soft); } .opt input { margin-top: 4px; accent-color: var(--orange); width: 18px; height: 18px; flex: none; } .opt b { display: block; } .opt small { color: var(--muted); }
[data-theme="dark"] .opt.sel { background: #2a1d12; }
.opt.disabled { opacity: .5; cursor: not-allowed; }
.qris-box { text-align: center; } .qris-box img { max-width: 320px; width: 100%; border-radius: 16px; border: 1px solid var(--line); background: #fff; }
.steps { display: flex; gap: 6px; margin: 4px 0 18px; flex-wrap: wrap; } .steps span { background: var(--surface); border: 1px solid var(--line); border-radius: 99px; padding: 5px 13px; font-size: 12.5px; font-weight: 700; color: var(--muted); } .steps span.on { background: var(--orange); color: #fff; border-color: transparent; }
.page-title { padding-top: 18px; } .page-title h1 { font-size: 26px; margin: 0; }

/* ---- Login ---- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 20px 14px; background: var(--navy); position: relative; overflow: hidden; }
.login-wrap::before { content: ""; position: absolute; right: -180px; top: -200px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 118, 38, .3), rgba(255, 118, 38, 0) 65%); }
.login-wrap::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: linear-gradient(#000, transparent 80%); mask-image: linear-gradient(#000, transparent 80%); }
.login-split { position: relative; z-index: 2; width: 100%; max-width: 440px; display: grid; grid-template-columns: minmax(0, 1fr); background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; }
.login-aside { display: none; }
.login-card { padding: 26px 20px; min-width: 0; } .login-card .brand { margin-bottom: 16px; color: var(--text); } .login-card .brand small { color: var(--muted); } .login-card h1 { font-size: 24px; margin-bottom: 2px; }
.login-back { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); } .login-back:hover { color: var(--orange-d); text-decoration: none; }
details.demo-accounts { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2); } details.demo-accounts summary { cursor: pointer; padding: 12px 14px; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; list-style: none; } details.demo-accounts summary::-webkit-details-marker { display: none; } details.demo-accounts summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--muted); } details.demo-accounts[open] summary::after { content: "–"; }
.demo-accounts .da-body { padding: 0 12px 12px; font-size: 13px; }
.demo-accounts .acc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; margin-top: 8px; background: var(--surface); } .demo-accounts .acc > div { flex: 1; min-width: 0; } .demo-accounts .acc b { display: block; } .demo-accounts .acc span { display: block; overflow-wrap: anywhere; color: var(--muted); font-size: 12.5px; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #cbd7e5; padding-top: 38px; } .site-footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 12px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding-bottom: 24px; } .foot-grid > * { min-width: 0; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14px; } .foot-list li { display: flex; gap: 8px; align-items: flex-start; } .foot-list li span { min-width: 0; overflow-wrap: anywhere; } .foot-list a { color: #cbd7e5; } .foot-list a:hover { color: #fff; }
.foot-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.foot-wa { display: inline-flex; margin-top: 12px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: #98abc1; } .dev-credit { color: #ffb184; font-weight: 700; }

/* ---- Dashboard ---- */
.dash { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 100vh; }
.dash-side { background: var(--navy); color: #dbe6f2; display: flex; flex-direction: column; position: fixed; left: 0; top: 0; bottom: 0; width: 272px; transform: translateX(-102%); transition: transform .25s ease; z-index: 700; }
.dash.side-open .dash-side { box-shadow: var(--shadow-lg); }
.dash.side-open .dash-side { transform: none; } .dash.side-open .dash-scrim { display: block; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(8, 14, 24, .55); z-index: 650; }
.side-head { padding: 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .08); } .side-close { color: #fff; }
.side-nav { padding: 14px 12px; display: grid; gap: 4px; flex: 1; overflow: auto; align-content: start; } .side-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; color: #c4d1e0; font-weight: 600; font-size: 14px; } .side-nav a:hover { background: rgba(255, 255, 255, .07); text-decoration: none; } .side-nav a.active { background: var(--orange); color: #fff; box-shadow: 0 6px 16px rgba(255, 118, 38, .3); }
.side-foot { padding: 14px; border-top: 1px solid rgba(255, 255, 255, .08); display: grid; gap: 8px; } .side-user { display: flex; gap: 10px; align-items: center; margin-bottom: 4px; min-width: 0; } .side-user > div:last-child { min-width: 0; } .side-user b { display: block; font-size: 13.5px; color: #fff; } .side-user small { color: #93a8c0; font-size: 12px; overflow-wrap: anywhere; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; flex: none; }
.dash-body { display: flex; flex-direction: column; min-width: 0; }
.dash-top { position: sticky; top: 0; z-index: 400; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 10px; padding: 8px 14px; min-height: 64px; } .dash-top #side-open { display: inline-flex; }
.top-title { min-width: 0; } .top-title h1 { margin: 0; font-size: 18px; } .top-title small { color: var(--muted); display: none; font-size: 12px; } .top-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.status-pill { display: none; gap: 6px; align-items: center; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); padding: 5px 12px; border-radius: 99px; }
.top-user { display: none; gap: 6px; align-items: center; font-size: 13px; font-weight: 700; color: var(--muted); }
.top-right .btn span { display: none; }
.dash-main { padding: 14px; flex: 1; min-width: 0; } .dash-credit { text-align: center; padding: 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); }
.dash-scrim { display: none; }
.stat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat { padding: 12px; display: flex; gap: 10px; align-items: flex-start; } .stat > div:last-child { min-width: 0; } .stat .ic-wrap { width: 38px; height: 38px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: var(--orange-soft); color: var(--orange-d); flex: none; } .stat .ic-wrap.blue { background: #e6f0fd; color: #1a5cb3; } .stat .ic-wrap.green { background: var(--ok-soft); color: var(--ok); } .stat .ic-wrap.red { background: var(--bad-soft); color: var(--bad); } .stat .ic-wrap.amber { background: var(--warn-soft); color: var(--warn); }
[data-theme="dark"] .stat .ic-wrap.blue { background: #15294a; color: #8db8ff; }
.stat small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; line-height: 1.25; } .stat b { display: block; font: 800 17px/1.2 var(--font-h); letter-spacing: -.01em; overflow-wrap: normal; white-space: nowrap; } .stat em { font-style: normal; font-size: 11.5px; color: var(--muted); line-height: 1.3; display: block; }
.panel { padding: 16px; margin-bottom: 16px; } .panel h3 { font-size: 16px; margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.grid-2, .grid-2e { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.tbl-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); -webkit-overflow-scrolling: touch; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; } .tbl th { background: var(--surface-2); text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 11px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); } .tbl td { padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; } .tbl tr:last-child td { border-bottom: 0; } .tbl tbody tr:hover { background: var(--surface-2); }
.tbl th.sortable { cursor: pointer; user-select: none; } .tbl th.sortable:hover { color: var(--orange-d); } .tbl .num { text-align: right; font-variant-numeric: tabular-nums; } .tbl .actions { white-space: nowrap; text-align: right; }
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--line); margin-bottom: 16px; overflow-x: auto; scrollbar-width: none; } .tabs::-webkit-scrollbar { display: none; } .tabs button { background: none; border: 0; padding: 11px 16px; font: 700 14px var(--font); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; white-space: nowrap; min-height: 44px; } .tabs button.active { color: var(--orange-d); border-color: var(--orange); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; margin-bottom: 14px; } .filter-bar .field { margin: 0; min-width: 130px; flex: 1 1 130px; max-width: 240px; } .filter-bar .grow { flex: 2 1 200px; max-width: 360px; }
.bar-chart { width: 100%; height: auto; display: block; } .legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; font-weight: 500; } .legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; vertical-align: -1px; margin-right: 6px; }
.donut-wrap { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; } .donut { width: 140px; height: 140px; border-radius: 50%; flex: none; position: relative; } .donut::after { content: ""; position: absolute; top: 28px; right: 28px; bottom: 28px; left: 28px; background: var(--surface); border-radius: 50%; }
.rank { list-style: none; margin: 0; padding: 0; } .rank li { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14px; } .rank li:last-child { border: 0; } .rank .no { width: 26px; height: 26px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-d); font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.meter { height: 6px; background: var(--line); border-radius: 9px; overflow: hidden; margin-top: 4px; } .meter i { display: block; height: 100%; background: var(--orange); border-radius: 9px; }

/* ---- POS Kasir ---- */
.pos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; padding-bottom: 76px; }
.pos-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pos-item { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; cursor: pointer; text-align: left; padding: 0; font: inherit; color: inherit; display: flex; flex-direction: column; transition: transform .12s, border-color .12s; min-width: 0; } .pos-item:hover:not([disabled]) { border-color: var(--orange); transform: translateY(-2px); } .pos-item[disabled] { opacity: .45; cursor: not-allowed; }
.pos-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 55%; background: var(--surface-2); } .pos-item .b { padding: 8px 10px 10px; } .pos-item .n { font-weight: 700; font-size: 13px; line-height: 1.25; min-height: 33px; } .pos-item .p { font: 800 14px var(--font-h); color: var(--orange-d); margin-top: 2px; } .pos-item .s { font-size: 11.5px; }
.pos-cart { position: fixed; left: 0; right: 0; bottom: 0; top: auto; padding: 0; display: flex; flex-direction: column; max-height: 86vh; z-index: 750; border-radius: 22px 22px 0 0; transform: translateY(105%); transition: transform .25s; box-shadow: var(--shadow-lg); background: var(--surface); } .pos.cart-open .pos-cart { transform: none; }
.pos-cart h3 { padding: 14px 16px; margin: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; } .pos-lines { overflow: auto; flex: 1; min-height: 100px; } .pos-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); } .pos-line .n { font-weight: 700; font-size: 13.5px; } .pos-line .t { font-weight: 700; text-align: right; } .pos-pay { padding: 14px 16px; border-top: 1px solid var(--line); background: var(--surface-2); overflow: auto; }
.pos-line .qty button { width: 34px; height: 34px; } .pos-line .qty input { width: 48px; height: 34px; }
.pay-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0; } .pay-methods label { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 4px; text-align: center; cursor: pointer; font-weight: 700; font-size: 13px; background: var(--surface); min-height: 44px; display: flex; align-items: center; justify-content: center; } .pay-methods label.sel { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-d); } .pay-methods input { position: absolute; opacity: 0; pointer-events: none; }
.pos-fab { display: inline-flex; position: fixed; right: 14px; bottom: 14px; z-index: 740; box-shadow: var(--shadow-lg); }
.receipt-preview { background: #fff; color: #000; font-family: "Courier New", monospace; font-size: 12px; padding: 14px; border: 1px dashed #999; max-width: 300px; margin: 0 auto; }

/* ---- Struk (print) ---- */
#print-area { display: none; }
.rcpt { width: 72mm; font: 12px/1.35 "Courier New", monospace; color: #000; } .rcpt hr { border: 0; border-top: 1px dashed #000; margin: 6px 0; } .rc-c { text-align: center; } .rc-r { text-align: right; }
@media print {
  body > *:not(#print-area) { display: none !important; }
  #print-area { display: block !important; position: static; } body { background: #fff; padding: 0 !important; }
  @page { margin: 4mm; }
}
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; font-size: 14px; margin-bottom: 14px; } .detail-grid dt { color: var(--muted); font-size: 12px; } .detail-grid dd { margin: 0 0 6px; font-weight: 700; overflow-wrap: anywhere; }
.timeline { list-style: none; margin: 0; padding: 0; font-size: 13px; } .timeline li { padding: 6px 0 6px 16px; border-left: 2px solid var(--line); position: relative; } .timeline li::before { content: ""; position: absolute; left: -5px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.kbd { font-family: ui-monospace, Menlo, Consolas, monospace; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 12.5px; }
.zone-edit { display: grid; grid-template-columns: 2fr repeat(3, 1fr) auto; gap: 8px; align-items: end; margin-bottom: 8px; } .veh-edit { display: grid; grid-template-columns: 2fr 1fr repeat(3, 1fr) auto; gap: 8px; align-items: end; margin-bottom: 8px; }
.qris-preview { max-width: 240px; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .ld-bar i { transform: none; } }

/* ===== V2.1: notifikasi, kas, meter, hero & banner (tanpa blur/filter berat; aman untuk Windows 7) ===== */
.notif-wrap { position: relative; } .notif-wrap .icon-btn { position: relative; }
.notif-panel { position: absolute; right: 0; top: calc(100% + 8px); width: min(380px, calc(100vw - 24px)); background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); z-index: 900; overflow: hidden; }
.np-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); } .np-list { max-height: min(60vh, 440px); overflow: auto; }
.np-foot { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 11px; border-top: 1px solid var(--line); font-weight: 700; font-size: 13.5px; color: var(--orange-d); }
.nt-item { display: flex; gap: 11px; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none !important; position: relative; } a.nt-item:hover { background: var(--surface-2); }
.nt-item.unread { background: var(--orange-soft); } .nt-item.unread::after { content: ""; position: absolute; right: 12px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.nt-ic { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: #e8f0fe; color: #1d6fd6; }
.nt-ic.ok { background: var(--ok-soft); color: var(--ok); } .nt-ic.warn { background: var(--warn-soft); color: var(--warn); } .nt-ic.bad { background: var(--bad-soft); color: var(--bad); }
.nt-tx { min-width: 0; font-size: 13px; line-height: 1.4; } .nt-tx b { display: block; font-size: 13.5px; } .nt-tx span { display: block; color: var(--muted); overflow-wrap: anywhere; } .nt-tx small { color: var(--muted); font-size: 11.5px; }
.nt-full { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; } .nt-full .nt-item:last-child { border-bottom: 0; }
.side-badge { position: static; margin-left: auto; } .side-nav a { align-items: center; }
.meter.ok i { background: var(--ok); } .meter.warn i { background: #f59e0b; } .meter.bad i { background: var(--bad); }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 118, 38, .14); color: #ffb184; border: 1px solid rgba(255, 118, 38, .35); border-radius: 99px; padding: 5px 12px; font-size: 12.5px; font-weight: 700; margin-bottom: 12px; }
.hero-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.hero-points { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: #dbe6f2; font-size: 13.5px; font-weight: 600; } .hero-points li::before { content: "✓"; color: #4ade80; margin-right: 6px; font-weight: 800; }
.quick-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 2px; margin-top: 16px; -webkit-overflow-scrolling: touch; scrollbar-width: none; } .quick-cats::-webkit-scrollbar { display: none; }
.quick-cats a { flex: none; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); color: #e6edf6; border-radius: 99px; padding: 7px 14px; font-size: 13px; font-weight: 600; text-decoration: none !important; } .quick-cats a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }
.banner-promo { display: block; position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); line-height: 0; } .banner-promo img { width: 100%; height: auto; display: block; } .banner-promo:hover { box-shadow: var(--shadow-lg); }
.hero h1 { text-shadow: none; } .hero-media { box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(255, 118, 38, .18); }
.stat-line { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; padding: 0; list-style: none; } .stat-line li { color: #aebdd0; font-size: 12.5px; } .stat-line b { display: block; color: #fff; font: 800 20px var(--font-h); }
.np-head .link-more { background: none; border: 0; cursor: pointer; padding: 4px 0; font-family: var(--font); } .stat b { overflow-wrap: anywhere; }

/* ===== V2.2 — POS lebih padat, kartu produk lebih rapi (ringan, tanpa blur) ===== */
.pos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pos-item { border-radius: 12px; }
.pos-item img { aspect-ratio: 16/10; }
.pos-item .b { padding: 7px 9px 9px; }
.pos-item .n { font-size: 12.5px; min-height: 31px; }
.pos-item .p { font-size: 13.5px; }
.pos-item .s { font-size: 11px; }
@media (max-width: 899px) and (min-width: 480px) { .pos-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 479px) { .pos-item img { aspect-ratio: 2/1; } }
.login-wrap { min-height: 100vh; }
.login-card h1 { letter-spacing: -.02em; }
.login-split { border: 1px solid rgba(255, 255, 255, .08); }
h1, h2, h3 { letter-spacing: -.015em; }
.section-head h2, .sec-head h2 { letter-spacing: -.02em; }
.stat-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.stat-strip div { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 6px; text-align: center; }
.stat-strip b { display: block; font: 800 20px var(--font-h); color: var(--orange-d); line-height: 1.1; }
.stat-strip span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.pay-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.pay-chips b { background: var(--surface-2); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--text); font-weight: 700; }
@media (min-width: 900px) { .stat-strip b { font-size: 26px; } .stat-strip div { padding: 14px 8px; } }
