/* FormPOS — tema warna: magenta #C8006B (menimpa warna biru bawaan Bootstrap yang tidak lewat token) */
:root {
    --bs-link-color-rgb: 200, 0, 107;
    --bs-link-hover-color-rgb: 161, 0, 85;
    --bs-focus-ring-color: rgba(200, 0, 107, .25);
    --bs-primary: #C8006B;
    --bs-primary-rgb: 200, 0, 107;
}

::selection { background: #FBCFE8; color: #1F0A16; }

.btn-primary, .btn-outline-primary { --bs-btn-focus-shadow-rgb: 200, 0, 107; }
.btn-primary { --bs-btn-color: #fff; --bs-btn-hover-color: #fff; --bs-btn-active-color: #fff; }
.btn:focus-visible { box-shadow: 0 0 0 3px rgba(200, 0, 107, .28); }

.form-check-input:focus { border-color: var(--fp-primary); box-shadow: 0 0 0 3px rgba(200, 0, 107, .2); }
.form-switch .form-check-input:focus:not(:checked) {
    --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23C8006B'/%3e%3c/svg%3e");
}
.form-check-input:checked[type=checkbox] { --bs-form-check-bg-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e"); }
.page-link:focus { box-shadow: 0 0 0 3px rgba(200, 0, 107, .2); }
.page-link:hover { color: var(--fp-primary-dark); background: var(--fp-primary-soft); }
.text-primary { color: var(--fp-primary) !important; }
.bg-primary { background-color: var(--fp-primary) !important; }
.border-primary { border-color: var(--fp-primary) !important; }
.offcanvas, .modal-content { --bs-link-color-rgb: 200, 0, 107; }
.dropdown-item.active, .dropdown-item:active { background-color: var(--fp-primary); }

/* Tile emoji: variasi warna lembut tanpa biru */
.tint-3, .t3 { background: #F0FDFA; }

/* ---------- Laporan penjualan ---------- */
.fp-presets { display: flex; gap: 8px; overflow-x: auto; margin: 0 -4px; padding: 0 4px 6px; scrollbar-width: none; }
.fp-presets::-webkit-scrollbar { display: none; }
.fp-preset { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--fp-border); background: #fff; color: var(--fp-text-secondary); font-weight: 700; font-size: 14px; }
.fp-preset:hover { text-decoration: none; background: #F4F1F3; }
.fp-preset.active { background: var(--fp-primary); border-color: var(--fp-primary); color: #fff; }
.fp-stat--main { border-color: #FBCFE8; background: linear-gradient(180deg, #FDF2F8 0%, #fff 70%); }
.fp-stat--main .fp-stat__n { color: var(--fp-primary-dark); }
.fp-stat__n { font-size: clamp(18px, 5.4vw, 22px); line-height: 28px; }
@media (min-width: 992px) { .fp-stat__n { font-size: 26px; line-height: 32px; } }
.fp-delta { font-size: 12.5px; font-weight: 700; color: var(--fp-text-secondary); margin-top: 2px; }
.fp-delta.is-up { color: #15803D; }
.fp-delta.is-down { color: #B91C1C; }

.fp-split { display: flex; height: 16px; border-radius: 999px; overflow: hidden; background: #F4F1F3; }
.fp-split span { display: block; height: 100%; }
.fp-split__a, .fp-sw--onsite, .fp-seg--onsite { background: var(--fp-success); }
.fp-split__b, .fp-sw--online, .fp-seg--online { background: var(--fp-primary); }
.fp-split__c, .fp-sw--qris { background: #7C3AED; }
.fp-split__d, .fp-sw--cash { background: #F59E0B; }
.fp-legend > div { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 4px 0; font-size: 14px; }
.fp-legend > div span { color: var(--fp-text-secondary); flex: 1 1 100%; padding-left: 20px; font-size: 13px; }
.fp-legend--row { display: flex; gap: 16px; font-size: 13px; font-weight: 600; color: var(--fp-text-secondary); }
.fp-sw { display: inline-block; width: 12px; height: 12px; border-radius: 4px; flex: 0 0 auto; }

/* Grafik batang (HTML/CSS: ringan, tanpa library) */
.fp-chartbox { display: flex; gap: 8px; }
.fp-yaxis { display: flex; flex-direction: column; justify-content: space-between; height: 190px; width: 46px; flex: 0 0 46px; font-size: 11px; color: var(--fp-text-muted); text-align: right; padding-bottom: 0; font-variant-numeric: tabular-nums; }
.fp-plot { position: relative; flex: 1; min-width: 0; }
.fp-grid { position: absolute; left: 0; right: 0; top: 0; height: 190px; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.fp-grid i { display: block; border-top: 1px dashed #E7DEE3; height: 0; }
.fp-chart { position: relative; display: flex; align-items: flex-end; gap: 3px; height: 190px; }
.fp-chart--slim { height: 120px; }
.fp-chartbox--slim .fp-plot { padding-top: 2px; }
.fp-col { flex: 1 1 0; min-width: 0; height: 100%; display: flex; align-items: flex-end; justify-content: center; padding: 0; margin: 0; border: 0; background: transparent; cursor: pointer; border-radius: 6px 6px 0 0; }
.fp-col:hover, .fp-col.is-sel { background: rgba(200, 0, 107, .08); }
.fp-col:focus-visible { outline: 2px solid var(--fp-primary); outline-offset: 1px; }
.fp-stack { display: flex; flex-direction: column; width: 100%; max-width: 34px; min-height: 0; border-radius: 4px 4px 0 0; overflow: hidden; }
.fp-chart--day .fp-stack, .fp-chart--hour .fp-stack { max-width: 22px; }
.fp-stack .fp-seg { display: block; width: 100%; }
.fp-seg--bar { background: #F2A7CC; }
.fp-seg--peak { background: var(--fp-primary); }
.fp-col.is-sel .fp-seg--bar { background: var(--fp-primary); }
.fp-xaxis { display: flex; gap: 3px; margin-top: 6px; font-size: 10.5px; color: var(--fp-text-muted); }
.fp-xaxis span { flex: 1 1 0; min-width: 0; text-align: center; white-space: nowrap; overflow: visible; }
.fp-xaxis--week { font-size: 12px; font-weight: 600; }
.fp-chartinfo { font-size: 13px; color: var(--fp-text-secondary); background: #FAF7F9; border-radius: 10px; padding: 8px 12px; margin: 10px 0 0; min-height: 38px; }

.fp-hbar { padding: 6px 0 8px; }
.fp-hbar__top { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.fp-hbar__rank { width: 22px; height: 22px; border-radius: 7px; background: var(--fp-primary-soft); color: var(--fp-primary-dark); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.fp-hbar__name { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-hbar__val { font-weight: 800; font-variant-numeric: tabular-nums; }
.fp-hbar__track { height: 8px; border-radius: 999px; background: #F4F1F3; margin: 5px 0 2px 30px; overflow: hidden; }
.fp-hbar__track i { display: block; height: 100%; border-radius: 999px; background: var(--fp-primary); }
.fp-hbar__sub { font-size: 12px; color: var(--fp-text-muted); margin-left: 30px; }
.fp-total-row td { background: #FAF7F9; }
.fp-details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 52px; }
.fp-details > summary::-webkit-details-marker { display: none; }
.fp-details > summary::after { content: "\F282"; font-family: "bootstrap-icons"; font-size: 16px; color: var(--fp-text-muted); transition: transform .15s; margin-left: auto; }
.fp-details[open] > summary::after { transform: rotate(180deg); }
.fp-details > summary small { font-size: 12px; margin-left: 8px; }
.fp-details[open] > summary small { display: none; }
@media (min-width: 768px) { .fp-details > summary small, .fp-details > summary::after { display: none; } .fp-details > summary { cursor: default; } }
.fp-tabs a i { font-size: 15px; }
@media print {
    .fp-seg, .fp-split span, .fp-hbar__track i, .fp-stat--main, .fp-sw { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .fp-stat, .fp-card { break-inside: avoid; box-shadow: none; }
    .fp-col { cursor: default; }
    .fp-chartinfo { display: none; }
    .fp-content { max-width: none; }
    @page { margin: 12mm; }
}

/* ==========================================================================
   Antrean pesanan v3 — papan kerja
   HP: satu daftar berurutan per tahap · Layar lebar: kiri Online | kanan Di Tempat | panel Siap Diambil
   ========================================================================== */
.fp-content--wide { max-width: 1520px; }
.fp-qtop { display: flex; align-items: center; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; margin-bottom: 8px; }
.fp-qtitle { font-size: 22px; line-height: 28px; margin: 0; }
.fp-qctl { display: flex; align-items: center; gap: 6px; flex: 1 1 auto; justify-content: flex-end; flex-wrap: wrap; }
.fp-qctl form { margin: 0; }
.fp-qctl__sp { flex: 1 1 0; min-width: 0; }
.fp-qbtn { min-height: 44px; padding: 8px 12px; font-size: 14px; white-space: nowrap; }
.fp-qhead { position: sticky; top: 60px; z-index: 25; background: var(--fp-bg); margin: 0 -16px 8px; padding: 6px 16px; }
@media (min-width: 992px) { .fp-qhead { top: 0; margin: 0 0 8px; padding: 8px 0 6px; } }
.fp-tabs--q { margin: 0; padding: 0; gap: 6px; overflow: visible; }
.fp-tabs--q a { flex: 1 1 0; min-width: 0; justify-content: center; padding: 8px 6px; font-size: 14px; white-space: nowrap; }
.fp-tabs a.tab-baru:not(.active) .n { background: #FCE7F3; color: var(--fp-primary-dark); }
.fp-tabs a.tab-siap.active { background: var(--fp-success); border-color: var(--fp-success); }
.fp-tabs a.tab-siap:not(.active) .n { background: var(--fp-success-soft); color: #15803D; }
@media (max-width: 420px) { .fp-tabs--q a { font-size: 13px; gap: 4px; padding: 8px 4px; } }
.fp-qtools { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.fp-qtools .fp-source-filter { margin: 0; padding: 0 0 2px; flex: 1 1 auto; min-width: 0; }
.fp-qtools .fp-src { min-height: 44px; padding: 6px 12px; font-size: 13.5px; }
.fp-qsearch { position: relative; flex: 1 1 200px; max-width: 340px; }
.fp-qsearch i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--fp-text-muted); pointer-events: none; }
.fp-qsearch input { padding-left: 38px; border-radius: 999px; min-height: 44px; font-size: 15px; }

/* Ringkasan: yang harus dibuat */
.fp-kitchen { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--fp-border); border-radius: 14px; padding: 8px 12px; margin-bottom: 12px; box-shadow: var(--fp-shadow-sm); }
.fp-kitchen__t { flex: 0 0 auto; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--fp-text-secondary); display: inline-flex; gap: 6px; align-items: center; }
.fp-kitchen__chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.fp-kitchen__chips::-webkit-scrollbar { display: none; }
.fp-kchip { flex: 0 0 auto; background: var(--fp-primary-soft); color: var(--fp-primary-dark); border-radius: 999px; padding: 4px 11px; font-size: 13.5px; white-space: nowrap; }
.fp-kchip b { font-weight: 800; }
@media (max-width: 575.98px) { .fp-kitchen { flex-direction: column; align-items: stretch; gap: 4px; } .fp-kitchen__chips { width: 100%; } }

/* Tahap */
.fp-stage { margin-bottom: 14px; }
.fp-stage__h { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--fp-text-secondary); margin: 0 0 8px; padding: 0 2px; list-style: none; cursor: default; }
.fp-stage__h .n { background: #EFE7EB; color: var(--fp-text); border-radius: 999px; padding: 0 8px; font-size: 12px; letter-spacing: 0; }
.fp-stage__hint { font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fp-text-muted); margin-left: 4px; }
.fp-stage--review .fp-stage__h { color: #6D28D9; }
.fp-stage--review .fp-stage__h .n { background: var(--fp-purple-soft); color: #6D28D9; }
.fp-stage--new .fp-stage__h { color: var(--fp-primary-dark); }
.fp-stage--new .fp-stage__h .n { background: #FCE7F3; color: var(--fp-primary-dark); }
.fp-stage--processing .fp-stage__h { color: #B45309; }
.fp-stage--processing .fp-stage__h .n { background: var(--fp-warning-soft); color: #B45309; }
.fp-stage--ready .fp-stage__h { color: #15803D; }
.fp-stage--ready .fp-stage__h .n { background: var(--fp-success-soft); color: #15803D; }
.fp-stage__list { display: grid; gap: 8px; }
.fp-stage--pending > summary { cursor: pointer; min-height: 40px; }
.fp-stage--pending > summary::-webkit-details-marker { display: none; }
.fp-stage__chev { margin-left: auto; transition: transform .15s; }
.fp-stage--pending[open] .fp-stage__chev { transform: rotate(180deg); }
.fp-stage--pending .fp-stage__list { margin-top: 2px; }
/* HP: Siap Diambil dipisah tegas dari antrean kerja */
.fp-q-mobile .fp-stage--ready { margin-top: 20px; padding: 10px 10px 2px; background: var(--fp-success-soft); border: 1px solid #BBF7D0; border-radius: 16px; }
.fp-q-mobile .fp-stage--ready .fp-stage__h { font-size: 13.5px; }

/* Kartu ringkas */
.fp-row { --acc: var(--fp-border); position: relative; background: var(--fp-surface); border: 1px solid var(--fp-border); border-left: 5px solid var(--acc); border-radius: 14px; padding: 9px 12px 10px; box-shadow: var(--fp-shadow-sm); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 10px; row-gap: 3px; align-items: center; animation: fp-appear .2s ease-out; }
.fp-row--review { --acc: var(--fp-purple); }
.fp-row--new { --acc: var(--fp-primary); }
.fp-row--processing { --acc: var(--fp-warning); }
.fp-row--ready { --acc: var(--fp-success); }
.fp-row--pending { --acc: #D4D4D8; background: #FBF9FA; box-shadow: none; }
.fp-row__no { font-size: 20px; line-height: 24px; font-weight: 800; letter-spacing: .03em; color: var(--fp-text); font-variant-numeric: tabular-nums; }
.fp-row__no:hover { text-decoration: none; color: var(--fp-primary-dark); }
.fp-row__who { display: flex; align-items: center; gap: 5px; min-width: 0; font-weight: 700; font-size: 15px; }
.fp-row__who .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-trust-ic { color: var(--fp-success); font-size: 15px; flex: 0 0 auto; }
.fp-row__total { font-weight: 800; font-size: 16px; text-align: right; font-variant-numeric: tabular-nums; line-height: 1.15; }
.fp-row__total small { display: block; font-size: 11px; font-weight: 600; color: var(--fp-text-muted); }
.fp-row__items { grid-column: 1 / -1; font-size: 14.5px; line-height: 20px; color: var(--fp-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fp-row__items:hover { text-decoration: none; color: var(--fp-primary-dark); }
.fp-row__note { grid-column: 1 / -1; font-size: 12.5px; line-height: 17px; color: #92400E; background: var(--fp-warning-soft); border-radius: 8px; padding: 3px 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-row__foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 6px 10px; flex-wrap: wrap; margin-top: 3px; }
.fp-row__chips { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; min-width: 0; flex: 1 1 auto; }
.fp-row .fp-badge { padding: 2px 8px; font-size: 11px; line-height: 16px; }
.fp-wait { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 700; color: var(--fp-text-secondary); background: #F4F1F3; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.fp-wait.is-warn { background: var(--fp-warning-soft); color: #B45309; }
.fp-wait.is-late { background: var(--fp-danger-soft); color: #B91C1C; }
.fp-row__acts { display: flex; gap: 6px; align-items: center; margin-left: auto; }
.fp-row__acts form { margin: 0; }
.btn-act { min-height: 46px; min-width: 124px; padding: 8px 16px; font-size: 15px; font-weight: 700; white-space: nowrap; }
.fp-btn-sec { min-height: 44px; padding: 8px 12px; font-size: 14px; white-space: nowrap; }
.fp-row--pending .fp-btn-sec { min-height: 40px; font-size: 13px; }
.fp-row.is-new { animation: fp-new 1.5s ease-out 2; }
.fp-row.is-leaving { opacity: 0; transform: translateX(14px); transition: opacity .2s, transform .2s; }
@keyframes fp-new { 0% { box-shadow: 0 0 0 0 rgba(200, 0, 107, .45); } 100% { box-shadow: 0 0 0 12px rgba(200, 0, 107, 0); } }
@media (max-width: 575.98px) {
    .fp-row__foot { flex-direction: column; align-items: stretch; }
    .fp-row__acts { width: 100%; margin-left: 0; }
    .fp-row__acts form { flex: 1 1 auto; }
    .fp-row__acts .btn-act { width: 100%; }
    .fp-row--pending .fp-row__acts .fp-btn-sec { width: 100%; }
}

/* Papan (tablet & desktop) */
.fp-q-mobile { display: block; }
.fp-q-board { display: none; }
.fp-qcol { background: rgba(255, 255, 255, .6); border: 1px solid var(--fp-border); border-top: 4px solid var(--fp-border); border-radius: 16px; padding: 10px 10px 2px; min-height: 140px; }
.fp-qcol--online { border-top-color: var(--fp-primary); }
.fp-qcol--onsite { border-top-color: var(--fp-success); }
.fp-qcol__h { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 800; margin: 2px 2px 10px; letter-spacing: -.01em; }
.fp-qcol--online .fp-qcol__h i { color: var(--fp-primary); }
.fp-qcol--onsite .fp-qcol__h i { color: var(--fp-success); }
.fp-qcol__h .n { background: #EFE7EB; border-radius: 999px; padding: 0 9px; font-size: 13px; }
.fp-qcol__empty { color: var(--fp-text-muted); font-size: 14px; text-align: center; padding: 18px 8px 20px; margin: 0; }
.fp-qrail { background: var(--fp-success-soft); border: 1px solid #BBF7D0; border-top: 4px solid var(--fp-success); border-radius: 16px; padding: 10px 10px 12px; }
.fp-qrail .fp-qcol__h { color: #15803D; }
@media (min-width: 768px) {
    .fp-q-mobile { display: none; }
    .fp-q-board { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
    .fp-q-board.is-single { grid-template-columns: minmax(0, 1fr); }
    .fp-qrail { grid-column: 1 / -1; }
    .fp-qrail .fp-stage__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1280px) {
    .fp-q-board.has-rail { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(300px, 370px); }
    .fp-q-board.has-rail.is-single { grid-template-columns: minmax(0, 1fr) minmax(300px, 370px); }
    .fp-qrail { grid-column: auto; position: sticky; top: 12px; max-height: calc(100vh - 24px); overflow-y: auto; }
    .fp-qrail .fp-stage__list { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1100px) { .fp-q-board.is-single:not(.has-rail) .fp-stage__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Filter sumber pesanan (Di Tempat / Online) ---------- */
.fp-source-filter { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 4px; scrollbar-width: none; }
.fp-source-filter::-webkit-scrollbar { display: none; }
@media (min-width: 992px) { .fp-source-filter { margin: 0 0 12px; padding: 0 0 4px; } }
.fp-src { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 14px; border-radius: 12px; border: 1px solid var(--fp-border); background: #fff; color: var(--fp-text-secondary); font-weight: 700; font-size: 14px; }
.fp-src:hover { text-decoration: none; background: #F4F1F3; }
.fp-src .n { background: #F4F1F3; border-radius: 999px; padding: 0 8px; min-width: 24px; text-align: center; font-size: 12px; color: var(--fp-text); }
.fp-src--onsite i { color: var(--fp-success); }
.fp-src--online i { color: var(--fp-primary); }
.fp-src.active { background: var(--fp-text); border-color: var(--fp-text); color: #fff; }
.fp-src.active .n { background: rgba(255,255,255,.2); color: #fff; }
.fp-src.active i { color: #fff; }
.fp-src--onsite.active { background: var(--fp-success); border-color: var(--fp-success); }
.fp-src--online.active { background: var(--fp-primary); border-color: var(--fp-primary); }

/* ---------- QR & Link Toko (Pengaturan) ---------- */
.fp-share-card { border-top: 4px solid var(--fp-border); }
.fp-share-card--onsite { border-top-color: var(--fp-success); }
.fp-share-card--online { border-top-color: var(--fp-primary); }
.fp-share-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.fp-share-ico { width: 46px; height: 46px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; flex: 0 0 auto; }
.fp-share-card--onsite .fp-share-ico { background: var(--fp-success-soft); color: var(--fp-success); }
.fp-share-card--online .fp-share-ico { background: var(--fp-primary-soft); color: var(--fp-primary); }
.fp-share-title { font-size: 19px; font-weight: 800; margin: 4px 0 0; letter-spacing: -.01em; }
.fp-share-scan { font-weight: 800; letter-spacing: .08em; margin-top: 8px; }
#shareQr .fp-qr svg { width: 200px; height: 200px; }
#qr-link { scroll-margin-top: 80px; }

/* ---------- Poster QR untuk dicetak (ukuran em: A6 / A5 / A4) ---------- */
.fp-poster { font-size: 14px; width: min(26em, 100%); margin: 0 auto; background: #fff; color: #000; border: .18em solid #000; border-radius: 1.1em; padding: 1.7em 1.5em; text-align: center; }
.fp-poster__logo { display: block; width: 3.6em; height: 3.6em; object-fit: cover; border-radius: 50%; border: .1em solid #000; margin: 0 auto .6em; }
.fp-poster__tag { display: inline-block; font-weight: 800; letter-spacing: .14em; font-size: .8em; text-transform: uppercase; border: .14em solid #000; border-radius: 999px; padding: .35em 1.1em; }
.fp-poster h2 { font-size: 1.9em; font-weight: 800; line-height: 1.15; margin: .7em 0 .6em; text-transform: uppercase; letter-spacing: .02em; overflow-wrap: anywhere; color: #000; }
.fp-poster .qrbox { display: block; width: 82%; margin: 0 auto; line-height: 0; }
.fp-poster .qrbox svg { width: 100%; height: auto; display: block; }
.fp-poster .scan { font-size: 2.3em; font-weight: 800; letter-spacing: .06em; line-height: 1.15; margin: .5em 0 .35em; }
.fp-poster .tagline { font-size: 1.15em; font-weight: 600; }
.fp-poster__online { margin-top: .5em; font-size: .82em; font-weight: 500; overflow-wrap: anywhere; }
.fp-poster__online b { font-weight: 800; }
.fp-poster__brand { margin-top: 1.2em; padding-top: 1em; border-top: .06em dashed #000; display: flex; align-items: center; justify-content: center; gap: .5em; }
.fp-poster__brand img { width: 1.8em; height: 1.8em; border-radius: .5em; flex: 0 0 auto; }
.fp-poster__brand span { text-align: left; font-size: .78em; font-weight: 800; letter-spacing: .1em; line-height: 1.4; }
.fp-poster__brand small { display: block; font-size: .72em; font-weight: 600; letter-spacing: 0; text-transform: none; opacity: .75; }
@media (min-width: 576px) { .fp-poster { font-size: 16px; } }
@media print {
    .fp-poster.size-a6 { font-size: 13px; }
    .fp-poster.size-a5 { font-size: 18px; }
    .fp-poster.size-a4 { font-size: 26px; }
    .fp-poster { box-shadow: none; page-break-inside: avoid; }
    .fp-main { margin-left: 0 !important; }
    a[href]:after { content: none !important; }
}

/* ---------- Footer & info Formpo ---------- */
.fp-mini-foot { text-align: center; color: var(--fp-text-muted); font-size: 12.5px; line-height: 20px; margin: 28px 0 8px; }
.fp-mini-foot a { color: var(--fp-text-secondary); }
.fp-mini-foot a:hover { color: var(--fp-primary); }
.fp-sidebar-co { display: block; margin-top: 10px; font-size: 12px; color: var(--fp-text-muted); text-align: center; min-height: 32px; }
.fp-sidebar-co b { color: var(--fp-primary); }
.fp-sidebar-co:hover { text-decoration: none; color: var(--fp-text-secondary); }

.hl-text { color: var(--fp-primary); }
.fp-about { background: #fff; }
.fp-about__card { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; background: linear-gradient(135deg, #FDF2F8 0%, #fff 60%); border: 1px solid #FBCFE8; border-radius: 28px; padding: 28px 22px; }
.fp-about__txt p { color: var(--fp-text-secondary); font-size: 16px; line-height: 26px; margin: 14px 0 22px; max-width: 560px; }
.fp-about__txt .fp-lh2 { font-size: 30px; line-height: 36px; }
.fp-about__facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fp-about__facts li { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--fp-border); border-radius: 16px; padding: 12px 14px; box-shadow: var(--fp-shadow-sm); }
.fp-about__facts i { width: 42px; height: 42px; border-radius: 14px; background: var(--fp-primary-soft); color: var(--fp-primary); display: inline-flex; align-items: center; justify-content: center; font-size: 19px; flex: 0 0 auto; }
.fp-about__facts small { display: block; font-size: 12px; color: var(--fp-text-muted); line-height: 16px; }
.fp-about__facts a { font-weight: 700; color: var(--fp-text); overflow-wrap: anywhere; }
.fp-about__facts a:hover { color: var(--fp-primary); }

.fp-lfoot { padding: 44px 0 calc(24px + var(--fp-safe-bottom)); }
.fp-lfoot__grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.fp-lfoot h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: #fff; font-weight: 700; margin: 0 0 8px; }
.fp-lfoot__grid nav, .fp-lfoot__grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.fp-lfoot__grid a { color: #D4D4D8; font-size: 14px; min-height: 40px; display: inline-flex; align-items: center; }
.fp-lfoot__grid a:hover { color: #fff; }
.fp-lfoot__brand p { margin: 12px 0 14px; max-width: 320px; line-height: 22px; }
.fp-lfoot__grid p { color: #A1A1AA; font-size: 14px; line-height: 22px; }
.fp-partof { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 14px; gap: 6px; min-height: 40px; font-size: 13px !important; }
.fp-partof:hover { border-color: #fff; text-decoration: none; }
.fp-partof b { color: #fff; }
.fp-lfoot__bar { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12.5px; color: #A1A1AA; }
@media (max-width: 767.98px) {
    .fp-lfoot__grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
    .fp-lfoot__brand, .fp-lfoot__grid > div:last-child { grid-column: 1 / -1; }
    .fp-lfoot__grid a { overflow-wrap: anywhere; }
}
@media (min-width: 768px) {
    .fp-about__card { grid-template-columns: 1.15fr .85fr; padding: 44px 44px; gap: 40px; }
    .fp-about__txt .fp-lh2 { font-size: 36px; line-height: 42px; }
    .fp-lfoot__grid { grid-template-columns: 1.4fr 1fr 1.2fr 1.1fr; gap: 32px; }
    .fp-lfoot__bar { flex-direction: row; justify-content: space-between; }
}

/* antrean: perbaikan tab sempit & petunjuk tahap di kolom */
.fp-tabs--q a { flex: 1 1 auto; }
.fp-tabs--q a .n { padding: 0 6px; }
@media (max-width: 420px) { .fp-tabs--q { gap: 4px; } .fp-tabs--q a { font-size: 12.5px; gap: 3px; padding: 8px 3px; } .fp-tabs--q a .n { padding: 0 5px; font-size: 11.5px; } }
.fp-q-board .fp-stage__hint { display: none !important; }

/* banner "masuk sebagai" (superadmin/pusat) */
.fp-imp { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 8px 14px; background: #1F2937; color: #fff; font-size: 13.5px; }
.fp-imp b { color: #FBCFE8; }
.fp-imp form { margin: 0; }

/* tombol Keluar di header HP (pedagang) & pintasan Pesanan Saya di katalog */
.fp-header__logout { margin: 0 0 0 10px; }
.fp-shop-orders { left: auto; right: 16px; }

/* Pesanan Saya di hero katalog: di atas dekorasi emoji & tidak menempel */
.fp-shop-orders { z-index: 5; right: 16px; background: rgba(31,10,22,.55); backdrop-filter: blur(4px); }
.fp-shop-cover .fp-cover-emoji.e1 { top: auto; bottom: 14px; }
.fp-ocard { transition: transform .12s, box-shadow .12s; }
.fp-ocard:active { transform: scale(.99); }
.fp-ocard__more { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--fp-border); color: var(--fp-primary); font-weight: 700; font-size: 14px; }

/* topbar customer: tombol Pesanan Saya tidak menghimpit nama toko */
.fp-topbar__inner .fp-myorders-btn { margin-left: auto; flex: 0 0 auto; min-width: 44px; padding-left: 12px; padding-right: 12px; }
.fp-topbar__inner .fp-store-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-topbar__inner .fp-store-meta { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fp-topbar__inner > .min-w-0 { min-width: 0; }

/* pita atas hero katalog: FormPOS (kiri) & Pesanan Saya (kanan) sebaris, tidak saling menimpa */
.fp-shop-top { position: absolute; left: 16px; right: 16px; top: calc(12px + var(--fp-safe-top, 0px)); z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fp-pill { display: inline-flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; color: #fff; font-weight: 800; font-size: 14px; background: rgba(31,10,22,.5); padding: 7px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.fp-pill:hover { color: #fff; text-decoration: none; background: rgba(31,10,22,.62); }
@media (max-width: 340px) { .fp-pill { font-size: 12.5px; padding: 6px 10px; } }
.fp-shop-top .fp-pill, .fp-shop-top .fp-shop-brand { position: static; left: auto; right: auto; top: auto; color: #fff; }

/* pengambil lokasi (lat/long) pada form profil toko */
.fp-geo__btn { white-space: nowrap; }
.fp-geo__clear { text-decoration: underline; font-size: 13px; }
.fp-geo__status a { font-weight: 600; }

/* Catat Pesanan (input manual oleh pedagang di kasir) */
.fp-mo-list { display: flex; flex-direction: column; }
.fp-mo-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--fp-border); }
.fp-mo-row:last-child { border-bottom: 0; }
.fp-mo-row.has-qty { background: var(--fp-primary-soft); margin: 0 -12px; padding: 10px 12px; border-radius: 10px; border-bottom-color: transparent; }
.fp-mo-row__img { width: 44px; height: 44px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; background: #F4F1F3; display: flex; align-items: center; justify-content: center; }
.fp-mo-row__img img { width: 100%; height: 100%; object-fit: cover; }
.fp-mo-row__ph { color: var(--fp-text-muted); font-size: 18px; }
.fp-mo-row__info { min-width: 0; display: flex; flex-direction: column; }
.fp-mo-row__info .nm { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fp-mo-row__info .pr { font-size: 13px; color: var(--fp-text-secondary); }
.fp-mo-row__stepper { display: flex; align-items: center; gap: 6px; }
.fp-mo-row__stepper .btn-icon { width: 36px; height: 36px; }
.fp-mo-qty { width: 44px; text-align: center; border: 1px solid var(--fp-border); border-radius: 8px; padding: 6px 2px; font-weight: 700; -moz-appearance: textfield; }
.fp-mo-qty::-webkit-outer-spin-button, .fp-mo-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fp-mo-summary { position: sticky; top: 76px; }
.fp-mo-line { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; padding: 4px 0; }
.fp-mo-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 18px; padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--fp-border); }
@media (max-width: 991px) { .fp-mo-summary { position: static; } }
