:root{--orange:#f97316;--orange-dark:#c2410c;--cream:#fff7ed;--ink:#172033;--muted:#6b7280;--sidebar:#151927;--card:#fff;--border:#edf0f4;--radius:22px}*{box-sizing:border-box}body{margin:0;background:#f6f7fb;color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:265px;background:linear-gradient(180deg,#171b2b 0%,#0d101b 100%);padding:24px 18px;z-index:1040;color:#fff;display:flex;flex-direction:column;box-shadow:18px 0 60px rgba(20,24,40,.12)}.brand{display:flex;gap:12px;align-items:center;color:#fff;text-decoration:none;padding:0 8px}.brand-mark{width:47px;height:47px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#fb923c,#ea580c);font-size:24px;box-shadow:0 10px 25px rgba(249,115,22,.35)}.brand b{font-size:18px}.brand small{display:block;color:#9ca3af;font-size:11px;letter-spacing:.3px}.sidebar .nav-link{color:#aeb4c5;border-radius:14px;padding:12px 14px;display:flex;gap:13px;align-items:center;font-weight:600}.sidebar .nav-link i{font-size:18px}.sidebar .nav-link:hover,.sidebar .nav-link.active{color:#fff;background:linear-gradient(135deg,rgba(249,115,22,.95),rgba(234,88,12,.95));box-shadow:0 9px 22px rgba(234,88,12,.22)}.sidebar-user{margin-top:auto;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);border-radius:17px;padding:12px;display:flex;align-items:center;gap:10px}.avatar{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,#fed7aa,#fb923c);display:grid;place-items:center;color:#7c2d12;font-weight:800}.avatar-lg{width:42px;height:42px;border-radius:14px}.main{margin-left:265px;min-height:100vh}.topbar{height:90px;padding:18px 30px;display:flex;align-items:center;justify-content:space-between;background:rgba(246,247,251,.85);backdrop-filter:blur(14px);position:sticky;top:0;z-index:1020;border-bottom:1px solid rgba(229,231,235,.8)}.topbar h1{margin:0;font-size:25px;font-weight:800}.top-actions{display:flex;align-items:center;gap:10px}.icon-btn{width:43px;height:43px;border:1px solid var(--border);border-radius:14px;background:#fff;color:#374151;display:grid;place-items:center;text-decoration:none;font-size:19px;box-shadow:0 7px 22px rgba(22,30,50,.06)}.content{padding:28px 30px 95px}.card-soft{border:1px solid var(--border);background:var(--card);border-radius:var(--radius);box-shadow:0 14px 45px rgba(24,31,50,.06)}.metric-card{padding:20px;display:flex;align-items:center;gap:15px;height:100%}.metric-icon{width:52px;height:52px;border-radius:17px;display:grid;place-items:center;font-size:23px;background:var(--cream);color:var(--orange)}.metric-card h3{margin:2px 0 0;font-weight:800;font-size:22px}.section-title{font-weight:800;font-size:19px;margin:0}.btn-orange{background:linear-gradient(135deg,#fb923c,#ea580c);border:0;color:#fff;border-radius:13px;padding:10px 16px;font-weight:700;box-shadow:0 9px 22px rgba(234,88,12,.22)}.btn-orange:hover{color:#fff;transform:translateY(-1px)}.form-control,.form-select{border-radius:13px;border-color:#e5e7eb;padding:.68rem .85rem}.form-control:focus,.form-select:focus{border-color:#fb923c;box-shadow:0 0 0 .2rem rgba(249,115,22,.12)}.table>:not(caption)>*>*{padding:.85rem .7rem;border-bottom-color:#eef0f4}.badge-soft-success{background:#dcfce7;color:#166534}.badge-soft-warning{background:#fef3c7;color:#92400e}.badge-soft-danger{background:#fee2e2;color:#991b1b}.badge-soft-info{background:#e0f2fe;color:#075985}.login-page{min-height:100vh;background:radial-gradient(circle at 15% 15%,rgba(251,146,60,.2),transparent 28%),radial-gradient(circle at 85% 85%,rgba(234,88,12,.16),transparent 28%),#f8fafc;display:grid;place-items:center;padding:24px}.login-card{max-width:990px;width:100%;display:grid;grid-template-columns:1.1fr .9fr;border-radius:30px;overflow:hidden;background:#fff;box-shadow:0 35px 90px rgba(26,32,50,.16)}.login-visual{min-height:590px;padding:48px;color:#fff;background:linear-gradient(145deg,#151927 0%,#2b1a16 55%,#ea580c 160%);display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-visual:after{content:"";position:absolute;width:340px;height:340px;border:70px solid rgba(255,255,255,.05);border-radius:50%;right:-130px;bottom:-110px}.login-form{padding:55px 45px;display:flex;flex-direction:column;justify-content:center}.quick-action{padding:18px;text-decoration:none;color:inherit;display:flex;align-items:center;gap:13px;transition:.2s}.quick-action:hover{transform:translateY(-3px);color:var(--orange)}.product-tile{border:1px solid var(--border);border-radius:18px;padding:14px;background:#fff;height:100%;cursor:pointer;transition:.2s}.product-tile:hover{transform:translateY(-3px);border-color:#fdba74;box-shadow:0 10px 25px rgba(249,115,22,.1)}.product-image{height:100px;border-radius:14px;background:linear-gradient(135deg,#fff7ed,#ffedd5);display:grid;place-items:center;font-size:34px;color:#fb923c;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:cover}.cart-panel{position:sticky;top:112px}.cart-list{max-height:420px;overflow:auto}.mobile-nav{position:fixed;bottom:0;left:0;right:0;height:72px;background:#fff;border-top:1px solid #e5e7eb;z-index:1030;display:flex;align-items:center;justify-content:space-around;padding:6px 14px calc(6px + env(safe-area-inset-bottom))}.mobile-nav a{color:#6b7280;text-decoration:none;text-align:center;display:flex;flex-direction:column;gap:1px;font-size:19px}.mobile-nav small{font-size:10px}.mobile-nav .scan-fab{width:58px;height:58px;border-radius:20px;background:linear-gradient(135deg,#fb923c,#ea580c);color:#fff;display:grid;place-items:center;font-size:25px;transform:translateY(-18px);box-shadow:0 13px 28px rgba(234,88,12,.35)}[data-bs-theme="dark"] body{background:#0d111c;color:#e5e7eb}[data-bs-theme="dark"] .topbar{background:rgba(13,17,28,.88);border-color:#272c39}[data-bs-theme="dark"] .card-soft,[data-bs-theme="dark"] .icon-btn,[data-bs-theme="dark"] .product-tile,[data-bs-theme="dark"] .mobile-nav{background:#171c28;border-color:#2a3040;color:#e5e7eb}[data-bs-theme="dark"] .table{--bs-table-bg:transparent;--bs-table-color:#e5e7eb}[data-bs-theme="dark"] .form-control,[data-bs-theme="dark"] .form-select{background:#121722;border-color:#303747;color:#fff}@media(max-width:991.98px){.sidebar{transform:translateX(-110%);transition:.25s}.sidebar.show{transform:translateX(0)}.main{margin-left:0}.topbar{padding:15px 18px;height:80px}.content{padding:20px 14px 95px}.login-card{grid-template-columns:1fr;max-width:520px}.login-visual{display:none}.login-form{padding:40px 26px}.cart-panel{position:static}}

/* Kasir: ringkasan pembayaran, pajak, dan tas kresek */
.payment-summary{border-top:1px solid var(--border);padding-top:16px}.bag-box{background:linear-gradient(135deg,#fff7ed,#fffbeb);border:1px solid #fed7aa;border-radius:16px;padding:13px}.bag-icon{width:38px;height:38px;border-radius:12px;background:#fff;display:grid;place-items:center;color:var(--orange);font-size:19px;box-shadow:0 5px 16px rgba(249,115,22,.12)}.grand-total-box{display:flex;align-items:center;justify-content:space-between;gap:12px;background:linear-gradient(135deg,#fff7ed,#ffedd5);border:1px solid #fdba74;border-radius:17px;padding:14px 15px}.grand-total-box span{font-weight:700;color:#9a3412}.grand-total-box strong{font-size:23px;color:#9a3412;white-space:nowrap}.change-box{background:#f8fafc;border:1px solid var(--border);border-radius:15px;padding:12px 14px}.change-box b{font-size:20px;color:#166534}.cart-item-icon{width:42px;height:42px;min-width:42px;border-radius:13px}.quantity-control .btn{min-width:38px}.cart-item strong{color:#9a3412}.min-w-0{min-width:0}[data-bs-theme="dark"] .bag-box,[data-bs-theme="dark"] .grand-total-box{background:#211b18;border-color:#5b3923}[data-bs-theme="dark"] .change-box{background:#121722;border-color:#303747}[data-bs-theme="dark"] .grand-total-box span,[data-bs-theme="dark"] .grand-total-box strong,[data-bs-theme="dark"] .cart-item strong{color:#fdba74}@media(max-width:575.98px){.grand-total-box strong{font-size:20px}.cart-list{max-height:360px}}
/* Multi-item cart v3 */
.product-tile.in-cart{border:2px solid #22c55e;background:linear-gradient(180deg,#fff,#f0fdf4);box-shadow:0 10px 26px rgba(34,197,94,.13)}
.cart-qty-badge{position:absolute;top:8px;right:8px;min-width:28px;height:28px;padding:0 8px;border-radius:999px;background:#16a34a;color:#fff;font-weight:800;display:grid;place-items:center;box-shadow:0 5px 14px rgba(22,163,74,.3)}
.product-tile .btn{position:relative;z-index:2}
.cart-list .cart-item:last-child{border-bottom:0!important}
[data-bs-theme="dark"] .product-tile.in-cart{background:#12251a;border-color:#22c55e}
