/* ============================================================ Frono Pizza theme */
:root {
    --qs-brand: #f97316;
    --qs-brand-dark: #ea580c;
    --qs-brand-soft: #fff1e6;
    --qs-red: #dc2626;
    --qs-ink: #0f172a;
    --qs-muted: #64748b;
    --qs-line: #e5e7eb;
    --qs-bg: #f5f6f8;
    --qs-card: #ffffff;
    --qs-side: #111827;
    --qs-side-2: #1f2937;
    --qs-side-text: #cbd5e1;
    --qs-radius: 14px;
    --qs-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 16px rgba(15, 23, 42, .05);
    --sidebar-w: 256px;
    --bs-body-font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --bs-body-color: var(--qs-ink);
    --bs-primary: var(--qs-brand);
    --bs-primary-rgb: 249, 115, 22;
    --bs-link-color: var(--qs-brand-dark);
    --bs-link-color-rgb: 234, 88, 12;
    --bs-border-color: var(--qs-line);
}

html, body { min-height: 100%; }
body { background: var(--qs-bg); font-size: .925rem; -webkit-font-smoothing: antialiased; }

.btn-primary { --bs-btn-bg: var(--qs-brand); --bs-btn-border-color: var(--qs-brand); --bs-btn-hover-bg: var(--qs-brand-dark); --bs-btn-hover-border-color: var(--qs-brand-dark); --bs-btn-active-bg: #c2410c; --bs-btn-active-border-color: #c2410c; --bs-btn-disabled-bg: #fdba74; --bs-btn-disabled-border-color: #fdba74; font-weight: 600; }
.btn-outline-primary { --bs-btn-color: var(--qs-brand-dark); --bs-btn-border-color: var(--qs-brand); --bs-btn-hover-bg: var(--qs-brand); --bs-btn-hover-border-color: var(--qs-brand); --bs-btn-active-bg: var(--qs-brand-dark); }
.text-brand { color: var(--qs-brand-dark) !important; }
.bg-brand-soft { background: var(--qs-brand-soft) !important; }
.form-control:focus, .form-select:focus { border-color: #fdba74; box-shadow: 0 0 0 .2rem rgba(249, 115, 22, .15); }
.form-check-input:checked { background-color: var(--qs-brand); border-color: var(--qs-brand); }
.page-link { color: var(--qs-ink); }
.active > .page-link, .page-link.active { background: var(--qs-brand); border-color: var(--qs-brand); }
.dropdown-item.active, .dropdown-item:active { background: var(--qs-brand); }
.nav-pills .nav-link.active { background: var(--qs-brand); }
.nav-pills .nav-link { color: var(--qs-ink); }

/* ------------------------------------------------------------ shell */
.app { display: flex; min-height: 100vh; }
.sidebar {
    width: var(--sidebar-w); flex: 0 0 var(--sidebar-w); background: var(--qs-side); color: var(--qs-side-text);
    position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; z-index: 1040;
}
.brand { display: flex; align-items: center; gap: .7rem; padding: 1.1rem 1.2rem; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.06); }
.brand strong { display: block; font-size: 1rem; letter-spacing: -.01em; }
.brand small { display: block; color: #94a3b8; font-size: .72rem; }
.nav-scroll { overflow-y: auto; padding: .6rem .6rem 1rem; flex: 1; scrollbar-width: thin; scrollbar-color: #374151 transparent; }
.nav-section { text-transform: uppercase; font-size: .66rem; letter-spacing: .08em; color: #64748b; padding: 1rem .75rem .35rem; font-weight: 700; }
.sidebar .nav-link { display: flex; align-items: center; gap: .7rem; color: var(--qs-side-text); padding: .5rem .75rem; border-radius: 10px; font-weight: 500; font-size: .875rem; margin-bottom: 1px; }
.sidebar .nav-link i { font-size: 1.05rem; width: 1.2rem; text-align: center; opacity: .85; }
.sidebar .nav-link:hover { background: var(--qs-side-2); color: #fff; }
.sidebar .nav-link.active { background: linear-gradient(90deg, rgba(249,115,22,.22), rgba(249,115,22,.06)); color: #fff; box-shadow: inset 3px 0 0 var(--qs-brand); }
.sidebar .nav-link.active i { color: #fb923c; opacity: 1; }
.sidebar-foot { padding: .75rem 1.2rem; font-size: .7rem; color: #475569; border-top: 1px solid rgba(255,255,255,.06); }
.sidebar-backdrop { display: none; }

.main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.topbar {
    position: sticky; top: 0; z-index: 1030; display: flex; align-items: center; gap: .75rem;
    background: rgba(255,255,255,.88); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--qs-line);
    padding: .65rem 1.5rem; min-height: 64px;
}
.topbar-title { min-width: 0; flex: 1; }
.topbar-title h1 { font-size: 1.15rem; font-weight: 700; margin: 0; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { display: flex; align-items: center; gap: .5rem; }
.btn-icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 1.35rem; padding: 0; }
.btn-branch { background: var(--qs-brand-soft); color: var(--qs-brand-dark); border: 1px solid #fed7aa; font-weight: 600; border-radius: 10px; display: inline-flex; gap: .45rem; align-items: center; }
.btn-branch:hover, .btn-branch.show { background: #ffe4cc; color: #9a3412; border-color: #fdba74; }
.btn-branch.disabled { opacity: 1; }
.user-chip { display: flex; align-items: center; gap: .55rem; border: 1px solid var(--qs-line); border-radius: 12px; padding: .25rem .6rem .25rem .3rem; background: #fff; }
.user-chip small { color: var(--qs-muted); font-size: .72rem; }
.avatar { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, #fb923c, #dc2626); color: #fff; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; }
.content { padding: 1.5rem; flex: 1; }

@media (max-width: 991.98px) {
    .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 0 0 40px rgba(0,0,0,.3); }
    body.sidebar-open .sidebar { transform: none; }
    body.sidebar-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 1035; }
    .topbar { padding: .6rem 1rem; }
    .content { padding: 1rem; }
}

/* ------------------------------------------------------------ building blocks */
.card { border: 1px solid var(--qs-line); border-radius: var(--qs-radius); box-shadow: var(--qs-shadow); }
.card-header { background: transparent; border-bottom: 1px solid var(--qs-line); padding: .85rem 1.1rem; font-weight: 650; display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.card-header .sub { font-weight: 400; color: var(--qs-muted); font-size: .8rem; }
.card-body { padding: 1.1rem; }
.section-title { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--qs-muted); font-weight: 700; margin-bottom: .6rem; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-bottom: 1rem; }
.kpi { background: var(--qs-card); border: 1px solid var(--qs-line); border-radius: var(--qs-radius); box-shadow: var(--qs-shadow); padding: 1rem 1.1rem; display: flex; gap: .9rem; align-items: flex-start; }
.kpi-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; flex: 0 0 44px; }
.kpi-label { color: var(--qs-muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.kpi-value { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; white-space: nowrap; }
.kpi-delta { font-size: .78rem; font-weight: 600; margin-top: .15rem; }
.kpi-delta.up { color: #16a34a; }
.kpi-delta.down { color: #dc2626; }
.tone-orange .kpi-icon { background: #fff1e6; color: #ea580c; }
.tone-green .kpi-icon { background: #dcfce7; color: #15803d; }
.tone-blue .kpi-icon { background: #dbeafe; color: #1d4ed8; }
.tone-violet .kpi-icon { background: #ede9fe; color: #6d28d9; }
.tone-red .kpi-icon { background: #fee2e2; color: #b91c1c; }
.tone-slate .kpi-icon { background: #f1f5f9; color: #334155; }
.tone-amber .kpi-icon { background: #fef3c7; color: #b45309; }

.table { --bs-table-hover-bg: #fafafa; margin-bottom: 0; }
.table > :not(caption) > * > * { padding: .65rem .8rem; border-bottom-color: #f0f1f3; }
.table thead th { background: #f8fafc; color: var(--qs-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; border-bottom: 1px solid var(--qs-line); white-space: nowrap; }
.table tfoot td, .table tfoot th { background: #fafafa; font-weight: 700; }
.table-card { overflow: hidden; }
.table-responsive { border-radius: 0 0 var(--qs-radius) var(--qs-radius); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .85em; }

.badge-soft { font-weight: 600; padding: .35em .6em; border-radius: 6px; font-size: .74rem; }
.st-New { background: #dbeafe; color: #1d4ed8; }
.st-Preparing { background: #fef3c7; color: #b45309; }
.st-Ready { background: #dcfce7; color: #15803d; }
.st-Completed { background: #f1f5f9; color: #334155; }
.st-Cancelled { background: #fee2e2; color: #b91c1c; }
.st-Paid { background: #dcfce7; color: #15803d; }
.st-Unpaid { background: #fef3c7; color: #b45309; }
.st-Refunded { background: #fee2e2; color: #b91c1c; }
.st-Open, .st-Pending, .st-Ordered, .st-Draft { background: #dbeafe; color: #1d4ed8; }
.st-Closed, .st-Received { background: #dcfce7; color: #15803d; }
.st-Active { background: #dcfce7; color: #15803d; }
.st-Inactive { background: #f1f5f9; color: #64748b; }
.st-Low { background: #fef3c7; color: #b45309; }
.st-Out { background: #fee2e2; color: #b91c1c; }
.st-Ok { background: #dcfce7; color: #15803d; }

.empty { text-align: center; padding: 2.5rem 1rem; color: var(--qs-muted); }
.empty i { font-size: 2.2rem; display: block; margin-bottom: .5rem; color: #cbd5e1; }

.chart-box { position: relative; height: 280px; }
.chart-box.sm { height: 220px; }
.chart-box.lg { height: 340px; }

.bar-track { background: #f1f5f9; height: 8px; border-radius: 99px; overflow: hidden; }
.bar-fill { height: 100%; background: linear-gradient(90deg, #fb923c, #f97316); border-radius: 99px; }

.page-actions { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.search-input { max-width: 280px; }
.color-dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; vertical-align: middle; }

.toast-container { z-index: 2000; }
.toast-success { background: #16a34a; color: #fff; }
.toast-error { background: #dc2626; color: #fff; }
.toast .btn-close { filter: invert(1); }

.report-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1.1rem; border: 1px solid var(--qs-line); border-radius: var(--qs-radius); background: #fff; text-decoration: none; color: inherit; height: 100%; transition: transform .12s, box-shadow .12s, border-color .12s; }
.report-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(15,23,42,.08); border-color: #fed7aa; color: inherit; }
.report-tile .kpi-icon { background: var(--qs-brand-soft); color: var(--qs-brand-dark); }
.report-tile h6 { font-weight: 700; margin: 0 0 .2rem; }
.report-tile p { margin: 0; color: var(--qs-muted); font-size: .82rem; }

.heat td { text-align: center; font-size: .72rem; padding: .35rem .2rem !important; border: 2px solid #fff !important; border-radius: 6px; min-width: 34px; }

/* ------------------------------------------------------------ auth */
.auth-wrap { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; }
.auth-hero { background: radial-gradient(1200px 600px at 0% 0%, #fb923c 0%, #dc2626 45%, #7f1d1d 100%); color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between; position: relative; overflow: hidden; }
.auth-hero h2 { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.auth-hero .feat { display: flex; gap: .75rem; align-items: center; margin-bottom: .8rem; font-weight: 500; }
.auth-hero .feat i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.16); display: inline-flex; align-items: center; justify-content: center; }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 2rem; background: #fff; }
.auth-form .inner { width: 100%; max-width: 400px; }
.demo-accounts button { font-size: .78rem; }
@media (max-width: 991.98px) { .auth-wrap { grid-template-columns: 1fr; } .auth-hero { display: none; } }

/* ------------------------------------------------------------ POS */
body.pos-mode .content { padding: 0; }
body.pos-mode .topbar { display: none; }
.pos { display: grid; grid-template-columns: 1fr 400px; height: 100vh; overflow: hidden; }
.pos-menu { display: flex; flex-direction: column; min-width: 0; background: var(--qs-bg); }
.pos-head { display: flex; gap: .6rem; align-items: center; padding: .75rem 1rem; background: #fff; border-bottom: 1px solid var(--qs-line); }
.pos-head .search { flex: 1; max-width: 420px; }
.pos-cats { display: flex; gap: .5rem; padding: .75rem 1rem; overflow-x: auto; scrollbar-width: none; background: #fff; border-bottom: 1px solid var(--qs-line); }
.pos-cat { border: 1px solid var(--qs-line); background: #fff; border-radius: 12px; padding: .5rem .9rem; font-weight: 600; white-space: nowrap; display: flex; gap: .45rem; align-items: center; font-size: .875rem; }
.pos-cat.active { background: var(--qs-ink); color: #fff; border-color: var(--qs-ink); }
.pos-grid { flex: 1; overflow-y: auto; padding: 1rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: .75rem; align-content: start; }
.pos-item { position: relative; background: #fff; border: 1px solid var(--qs-line); border-radius: 14px; padding: .85rem; text-align: left; display: flex; flex-direction: column; gap: .35rem; min-height: 128px; transition: transform .08s, box-shadow .12s, border-color .12s; cursor: pointer; user-select: none; }
.pos-item:hover { border-color: #fdba74; box-shadow: 0 8px 20px rgba(249,115,22,.12); }
.pos-item:active { transform: scale(.97); }
.pos-item .ico { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.15rem; }
.pos-item .name { font-weight: 650; line-height: 1.2; font-size: .9rem; }
.pos-item .price { margin-top: auto; font-weight: 800; color: var(--qs-brand-dark); }
.pos-item .tag { position: absolute; top: .6rem; right: .6rem; font-size: .65rem; font-weight: 700; background: #ede9fe; color: #6d28d9; border-radius: 6px; padding: .1rem .4rem; }
.pos-item .qty-badge { position: absolute; top: -.45rem; right: -.45rem; background: var(--qs-brand); color: #fff; border-radius: 99px; min-width: 24px; height: 24px; font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.pos-cart { background: #fff; border-left: 1px solid var(--qs-line); display: flex; flex-direction: column; min-height: 0; }
.pos-cart-head { padding: .85rem 1rem; border-bottom: 1px solid var(--qs-line); }
.order-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: .35rem; }
.order-types .btn { font-size: .75rem; font-weight: 600; padding: .45rem .2rem; border-radius: 10px; }
.order-types .btn i { display: block; font-size: 1.05rem; }
.cart-lines { flex: 1; overflow-y: auto; padding: .5rem 1rem; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: .25rem .75rem; padding: .65rem 0; border-bottom: 1px dashed var(--qs-line); }
.cart-line .n { font-weight: 600; font-size: .88rem; }
.cart-line .m { color: var(--qs-muted); font-size: .75rem; }
.cart-line .p { font-weight: 700; text-align: right; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--qs-line); border-radius: 10px; overflow: hidden; }
.stepper button { border: 0; background: #f8fafc; width: 30px; height: 28px; font-weight: 700; }
.stepper span { min-width: 30px; text-align: center; font-weight: 700; font-size: .85rem; }
.cart-totals { padding: .75rem 1rem; border-top: 1px solid var(--qs-line); background: #fafafa; font-size: .875rem; }
.cart-totals .row-t { display: flex; justify-content: space-between; padding: .12rem 0; }
.cart-totals .grand { font-size: 1.35rem; font-weight: 800; padding-top: .35rem; margin-top: .35rem; border-top: 1px solid var(--qs-line); }
.pay-btn { margin: 0 1rem 1rem; padding: .95rem; font-size: 1.05rem; border-radius: 14px; font-weight: 800; }
.pay-methods { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.pay-methods .btn { padding: .8rem .2rem; font-weight: 700; border-radius: 12px; }
.pay-methods .btn i { display: block; font-size: 1.3rem; }
.cash-keys { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.cash-keys .btn { font-weight: 700; padding: .6rem 0; }
.mod-option { display: flex; justify-content: space-between; align-items: center; border: 1px solid var(--qs-line); border-radius: 12px; padding: .65rem .85rem; cursor: pointer; margin-bottom: .45rem; }
.mod-option.on { border-color: var(--qs-brand); background: var(--qs-brand-soft); }
@media (max-width: 1199.98px) { .pos { grid-template-columns: 1fr 340px; } }
@media (max-width: 767.98px) {
    .pos { grid-template-columns: 1fr; height: auto; overflow: visible; }
    .pos-grid { grid-template-columns: repeat(2, 1fr); }
    .pos-cart { border-left: 0; border-top: 1px solid var(--qs-line); position: sticky; bottom: 0; max-height: 75vh; box-shadow: 0 -6px 24px rgba(0,0,0,.08); }
    .pos-cart { max-height: 85vh; overflow-y: auto; }
    .pos-cart .cart-lines { flex: none; overflow: visible; }
    .pos-cart.collapsed .cart-lines, .pos-cart.collapsed .pos-cart-head, .pos-cart.collapsed .cart-extra, .pos-cart.collapsed .cart-totals { display: none !important; }
    .pos-cart.collapsed .pay-btn { margin-top: .5rem; }
    .pos-grid { padding-bottom: 1.5rem; }
}

/* ------------------------------------------------------------ KDS */
body.kds-mode { background: #0b1220; }
body.kds-mode .content { padding: 1rem; }
.kds-bar { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.kds-stats .pill { background: #fff; border-radius: 99px; padding: .35rem .85rem; font-weight: 700; font-size: .85rem; }
.kds-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; align-items: start; }
.ticket { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 20px rgba(0,0,0,.25); display: flex; flex-direction: column; }
.ticket-head { padding: .65rem .85rem; display: flex; justify-content: space-between; align-items: center; color: #fff; }
.ticket-head .tok { font-size: 1.6rem; font-weight: 800; line-height: 1; }
.ticket.New .ticket-head { background: #2563eb; }
.ticket.Preparing .ticket-head { background: #d97706; }
.ticket.Ready .ticket-head { background: #16a34a; }
.ticket.late .ticket-head { background: #dc2626; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { filter: brightness(1.25); } }
.ticket-body { padding: .6rem .85rem; flex: 1; }
.ticket-line { display: flex; gap: .6rem; padding: .35rem 0; border-bottom: 1px dashed #e5e7eb; }
.ticket-line .q { font-weight: 800; min-width: 28px; color: var(--qs-brand-dark); }
.ticket-line .mods { font-size: .78rem; color: #b45309; font-weight: 600; }
.ticket-line .note { font-size: .78rem; color: #dc2626; font-weight: 600; }
.ticket-foot { padding: .6rem .85rem; border-top: 1px solid #f1f5f9; }
.ticket-foot .btn { font-weight: 800; padding: .7rem; border-radius: 10px; }

/* Customer-facing order status board */
body.board-mode { background: #0b1220; color: #fff; }
.board { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.board section { padding: 2rem; }
.board h2 { font-size: 2rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.5rem; }
.board .prep h2 { color: #fbbf24; }
.board .ready { background: #052e16; }
.board .ready h2 { color: #4ade80; }
.board .tokens { display: flex; flex-wrap: wrap; gap: 1rem; }
.board .tk { font-size: 3rem; font-weight: 800; min-width: 130px; text-align: center; padding: .4rem 1rem; border-radius: 16px; background: rgba(255,255,255,.07); }
.board .ready .tk { background: #16a34a; animation: pop .5s ease; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }

/* ------------------------------------------------------------ receipt & print */
.receipt { width: 300px; margin: 0 auto; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 12px; color: #000; background: #fff; padding: 12px; }
.receipt h3 { font-size: 15px; text-align: center; margin: 0; font-weight: 800; }
.receipt .c { text-align: center; }
.receipt hr { border: 0; border-top: 1px dashed #000; margin: 6px 0; opacity: 1; }
.receipt table { width: 100%; }
.receipt .tok { font-size: 28px; font-weight: 800; text-align: center; border: 2px solid #000; margin: 6px 0; }
@media print {
    .sidebar, .topbar, .filter-bar, .page-actions, .no-print, .toast-container, .btn { display: none !important; }
    .content { padding: 0 !important; }
    .card { box-shadow: none; border-color: #ddd; break-inside: avoid; }
    body { background: #fff; }
    .chart-box { height: 220px; }
}

/* POS and KDS run full-screen: the sidebar becomes an off-canvas drawer at every width. */
body.pos-mode .sidebar, body.kds-mode .sidebar { position: fixed; left: 0; top: 0; transform: translateX(-100%); transition: transform .22s ease; box-shadow: 0 0 40px rgba(0,0,0,.3); }
body.pos-mode.sidebar-open .sidebar, body.kds-mode.sidebar-open .sidebar { transform: none; }
body.pos-mode.sidebar-open .sidebar-backdrop, body.kds-mode.sidebar-open .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 1035; }
body.kds-mode .topbar { display: none; }
.shift-overlay { position: absolute; inset: 0; background: rgba(245,246,248,.92); backdrop-filter: blur(3px); z-index: 20; display: flex; align-items: center; justify-content: center; }
.pos-menu { position: relative; }

.cart-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; background: var(--qs-ink); color: #fff; padding: .75rem 1rem; font-weight: 700; }
.pos-cart.collapsed #cartChevron { transform: rotate(0); }
.pos-cart:not(.collapsed) #cartChevron { transform: rotate(180deg); }
