/* ==========================================================================
   Orbitrix demo · Online Ordering & Store · Sinag Clothing
   ========================================================================== */
:root {
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  /* storefront (Sinag) */
  --sf-bg: #F7F2EA; --sf-card: #FFFCF7; --sf-ink: #221B16; --sf-muted: #7B6F65; --sf-line: #E7DDCF;
  --sf-accent: #D9622B; --sf-accent-d: #B44E1F; --sf-soft: #F0E6D8; --sf-ok: #2E7A4F;
  /* owner (Orbitrix) */
  --ox-navy: #0B1026; --ox-blue: #3D5AFE; --ox-blue-d: #2F49E8; --ox-bg: #F4F6FB; --ox-card: #FFFFFF;
  --ox-line: #E5E8F1; --ox-ink: #0F1733; --ox-text: #3A4363; --ox-muted: #69728F;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ox-sans: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: #EEF0F6; font-family: var(--sans); color: var(--sf-ink); overflow: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }
.ic { width: 20px; height: 20px; flex: none; }
.muted { color: var(--sf-muted); }
.sm { font-size: 12.5px; }
.center { text-align: center; }
.mono { font-family: var(--mono); letter-spacing: .02em; }
html:not(.ready) .app { opacity: 0; }
.app { display: flex; flex-direction: column; height: 100vh; height: 100dvh; transition: opacity .4s; }

/* ---------------- demo bar ---------------- */
.demobar { flex: none; display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 16px; background: var(--ox-navy); color: #fff; position: relative; z-index: 50; font-family: var(--ox-sans); border-bottom: 1px solid rgba(255,255,255,.06); }
.db-brand { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.db-logo { display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; letter-spacing: -.01em; }
.ox-logo { width: 30px; height: 30px; flex: none; }
.ox-sat { animation: satPulse 3s ease-in-out infinite; transform-origin: 28px 9.6px; }
.db-sep { width: 1px; height: 22px; background: rgba(255,255,255,.14); flex: none; }
.db-title { font-weight: 600; font-size: 14px; color: #C9D0EA; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.db-title em { font-style: normal; margin-left: 8px; font-weight: 700; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: #9AACFF; background: rgba(61,90,254,.2); padding: 3px 8px; border-radius: 999px; }
.db-seg { position: relative; display: flex; padding: 4px; border-radius: 12px; background: rgba(255,255,255,.07); flex: none; }
.db-seg button { position: relative; z-index: 1; display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; background: transparent; color: #AEB6D6; font-weight: 600; font-size: 13px; cursor: pointer; border-radius: 9px; transition: color .25s; white-space: nowrap; }
.db-seg button:hover { color: #fff; }
.db-seg button.on { color: #fff; }
.db-seg .ic { width: 16px; height: 16px; }
.db-seg em { font-style: normal; background: #FF6B3D; color: #fff; font-weight: 800; font-size: 10.5px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; display: grid; place-items: center; animation: pop .5s var(--spring); }
.seg-ind { position: absolute; top: 4px; left: 4px; height: 34px; border-radius: 9px; background: var(--ox-blue); box-shadow: 0 6px 16px -6px rgba(61,90,254,.9); transition: transform .45s var(--spring), width .45s var(--spring); }
.db-actions { display: flex; align-items: center; gap: 8px; flex: 1; justify-content: flex-end; }
.db-reset { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.14); background: transparent; color: #DDE2F5; font-weight: 600; font-size: 13px; cursor: pointer; transition: background .2s; white-space: nowrap; }
.db-reset:hover { background: rgba(255,255,255,.07); }
.db-reset:hover .ic { transform: rotate(-120deg); }
.db-reset .ic { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.db-cta { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 10px; background: #fff; color: var(--ox-navy); font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), box-shadow .2s; }
.db-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -8px rgba(255,255,255,.5); }
.db-cta .ic { width: 16px; height: 16px; }
.db-cta .short { display: none; }

/* ---------------- stage & modes ---------------- */
.stage { flex: 1; min-height: 0; display: flex; position: relative; }
.store-wrap, .owner-wrap { min-width: 0; min-height: 0; }
.pane { position: relative; overflow: hidden; container-type: inline-size; height: 100%; width: 100%; }
.pane-store { background: var(--sf-bg); color: var(--sf-ink); font-family: var(--sans); }
.pane-owner { background: var(--ox-bg); color: var(--ox-ink); font-family: var(--ox-sans); }
.phone { position: relative; width: 100%; height: 100%; }
.notch, .wrap-caption { display: none; }

.mode-split .stage { background: radial-gradient(900px 600px at 12% 40%, #E3E1FF 0, transparent 65%), radial-gradient(700px 500px at 90% 100%, #FBE7DA 0, transparent 60%), #EEF0F6; }
.mode-split .store-wrap { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 16px 28px 12px 32px; }
.mode-split .phone { --h: min(860px, calc(100dvh - 58px - 64px)); height: var(--h); width: clamp(330px, calc(var(--h) * .47), 410px); padding: 11px; border-radius: 54px; background: linear-gradient(145deg, #2A2B30, #0D0E11); box-shadow: 0 0 0 1.5px #3A3B41, 0 40px 80px -30px rgba(11,16,38,.55), 0 18px 36px -18px rgba(11,16,38,.4); animation: phoneIn .9s var(--ease) both; }
.mode-split .phone .pane-store { border-radius: 44px; }
.mode-split .notch { display: block; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 104px; height: 30px; border-radius: 20px; background: #000; z-index: 60; }
.mode-split .wrap-caption { display: flex; align-items: center; gap: 8px; margin-top: 12px; font: 600 12.5px var(--ox-sans); color: var(--ox-muted); }
.wrap-caption i { width: 7px; height: 7px; border-radius: 50%; background: #1F9D63; animation: livePulse 2s infinite; }
.mode-split .owner-wrap { flex: 1; padding: 16px 16px 16px 0; animation: ownerIn .9s .1s var(--ease) both; }
.mode-split .pane-owner { border-radius: 20px; box-shadow: 0 30px 60px -30px rgba(11,16,38,.35), 0 0 0 1px rgba(15,23,51,.06); }
.mode-store .owner-wrap, .mode-owner .store-wrap { display: none; }
.mode-store .store-wrap, .mode-owner .owner-wrap { flex: 1; }
.mode-store .store-wrap .pane, .mode-owner .owner-wrap .pane { animation: fadeIn .4s var(--ease); }

/* phone status bar (only inside the phone frame) */
.phone-status { display: none; }
.mode-split .phone-status { display: flex; position: absolute; top: 0; left: 0; right: 0; height: 50px; padding: 4px 30px 0 36px; align-items: center; justify-content: space-between; font: 600 15px var(--sans); z-index: 35; background: var(--sf-ink); color: #fff; }
.ps-icons { display: flex; gap: 6px; align-items: center; }
.ps-icons i { display: block; background: currentColor; }
.ps-icons .sig { width: 17px; height: 11px; clip-path: polygon(0 75%, 22% 75%, 22% 100%, 0 100%, 0 75%, 26% 50%, 48% 50%, 48% 100%, 26% 100%, 26% 50%, 52% 25%, 74% 25%, 74% 100%, 52% 100%, 52% 25%, 78% 0, 100% 0, 100% 100%, 78% 100%); }
.ps-icons .wifi { width: 15px; height: 11px; border-radius: 15px 15px 0 0; clip-path: polygon(50% 100%, 0 20%, 20% 0, 80% 0, 100% 20%); }
.ps-icons .bat { width: 25px; height: 12px; border-radius: 3.5px; background: none; border: 1.5px solid currentColor; position: relative; opacity: .95; }
.ps-icons .bat::after { content: ''; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1.5px; }

/* ==========================================================================
   STOREFRONT
   ========================================================================== */
.sf-scroll { position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #D8CCBD transparent; }
.mode-split .sf-scroll { top: 50px; }
.sf-route { min-height: 100%; display: flex; flex-direction: column; animation: routeIn .5s var(--ease); }
.sf-layer { position: absolute; inset: 0; pointer-events: none; z-index: 20; }
.mode-split .sf-layer { top: 50px; }

.sf-announce { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--sf-ink); color: #F4EDE3; font-size: 12px; font-weight: 500; padding: 8px 16px; text-align: center; }
.sf-announce span { display: inline-flex; align-items: center; gap: 6px; }
.sf-announce .ic { width: 15px; height: 15px; color: #F0A46F; }
.sf-announce .dot { opacity: .5; }
@container (max-width: 560px) { .sf-announce .dot, .sf-announce span:last-child { display: none; } }

.sf-head { position: sticky; top: 0; z-index: 6; display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 10px 16px; background: rgba(247,242,234,.86); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid rgba(231,221,207,.8); }
.sf-logo { border: 0; background: none; padding: 0; cursor: pointer; color: var(--sf-ink); display: flex; }
.logo-sinag { height: 30px; width: auto; color: var(--sf-ink); }
.logo-sinag.sm { height: 22px; }
.logo-sinag.tiny { height: 15px; }
.logo-sinag.light { color: #F4EDE3; }
.sf-head-actions { display: flex; gap: 4px; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; min-width: 40px; padding: 0 10px; border-radius: 999px; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 13.5px; font-weight: 500; transition: background .2s, transform .15s; }
.icon-btn:hover { background: rgba(0,0,0,.05); }
.icon-btn:active { transform: scale(.94); }
@container (max-width: 560px) { .icon-btn .lbl { display: none; } }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sf-accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; animation: pop .55s var(--spring); box-shadow: 0 0 0 2px var(--sf-bg); }

/* hero */
.sf-hero { display: grid; gap: 8px; padding: 26px 20px 6px; overflow: hidden; }
@container (min-width: 760px) { .sf-hero { grid-template-columns: 1.05fr .95fr; align-items: center; padding: 56px 44px 28px; gap: 24px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--sf-accent-d); background: rgba(217,98,43,.1); padding: 6px 10px; border-radius: 999px; }
.eyebrow .ic { width: 14px; height: 14px; }
.hero-copy { animation: rise .7s var(--ease) both; }
.sf-hero h1 { font-family: var(--serif); font-weight: 500; font-size: 38px; line-height: 1.03; letter-spacing: -.025em; margin: 14px 0 12px; font-variation-settings: 'opsz' 120; }
.sf-hero h1 em { font-style: italic; color: var(--sf-accent); }
@container (min-width: 760px) { .sf-hero h1 { font-size: 54px; } }
@container (min-width: 1040px) { .sf-hero h1 { font-size: 66px; } }
.sf-hero p { color: var(--sf-muted); font-size: 15px; line-height: 1.55; max-width: 440px; margin: 0 0 18px; }
.hero-art { position: relative; height: 250px; margin: 0 -6px; }
@container (min-width: 760px) { .hero-art { height: 400px; } }
.hero-sun { position: absolute; width: 74%; aspect-ratio: 1; left: 13%; top: 6%; border-radius: 50%; background: radial-gradient(circle at 50% 62%, #F7C27E 0, #EF9550 46%, #DB6A33 100%); animation: sunIn 1.1s var(--ease) both; }
.hero-sun::before { content: ''; position: absolute; inset: -16%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(217,98,43,.22) 0 3deg, transparent 3deg 15deg); -webkit-mask: radial-gradient(circle, transparent 55%, #000 57%, #000 69%, transparent 70%); mask: radial-gradient(circle, transparent 55%, #000 57%, #000 69%, transparent 70%); animation: spin 80s linear infinite; }
.ha { position: absolute; filter: drop-shadow(0 18px 22px rgba(80,40,10,.22)); }
.ha svg { width: 100%; height: auto; display: block; animation: floaty 7s ease-in-out infinite; }
.ha1 { width: 54%; left: 0; top: 4%; transform: rotate(-8deg); animation: rise .9s .15s var(--ease) both; }
.ha2 { width: 50%; right: 0; top: 14%; transform: rotate(7deg); animation: rise .9s .3s var(--ease) both; }
.ha2 svg { animation-delay: -2.4s; }
.ha3 { width: 38%; left: 31%; bottom: -2%; transform: rotate(-4deg); animation: rise .9s .45s var(--ease) both; }
.ha3 svg { animation-delay: -4.6s; }
.hero-ctas { display: flex; gap: 10px; }

.sf-perks { display: flex; gap: 10px; overflow-x: auto; padding: 14px 16px 4px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.sf-perks::-webkit-scrollbar { display: none; }
.perk { flex: none; scroll-snap-align: start; display: flex; align-items: center; gap: 10px; min-width: 200px; padding: 12px 14px; border-radius: 16px; background: var(--sf-card); border: 1px solid var(--sf-line); animation: rise .6s var(--ease) both; }
.perk:nth-child(2) { animation-delay: .08s; } .perk:nth-child(3) { animation-delay: .16s; }
.perk .ic { color: var(--sf-accent); width: 22px; height: 22px; }
.perk b { display: block; font-size: 13px; font-weight: 600; }
.perk span { font-size: 12px; color: var(--sf-muted); }
@container (min-width: 760px) { .sf-perks { display: grid; grid-template-columns: repeat(3, 1fr); padding: 8px 44px; } .perk { min-width: 0; } }

.sf-shop { padding: 28px 16px 8px; }
@container (min-width: 760px) { .sf-shop { padding: 36px 44px 12px; } }
.sf-shop-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; }
.sf-shop-head h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -.02em; margin: 0; }
.sf-shop-head .muted { font-size: 13px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { flex: none; height: 36px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--sf-line); background: var(--sf-card); font-size: 13.5px; font-weight: 500; color: var(--sf-ink); cursor: pointer; transition: all .25s var(--ease); }
.chip-btn:hover { border-color: #CDBFAE; }
.chip-btn.on { background: var(--sf-ink); color: #FFF8F0; border-color: var(--sf-ink); }
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 12px; margin-top: 16px; }
@container (min-width: 640px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 24px 18px; } }
@container (min-width: 1040px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
.pcard { text-align: left; border: 0; padding: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; color: inherit; font: inherit; animation: rise .6s var(--ease) both; min-width: 0; }
.pcard:nth-child(2) { animation-delay: .05s; } .pcard:nth-child(3) { animation-delay: .1s; } .pcard:nth-child(4) { animation-delay: .15s; } .pcard:nth-child(5) { animation-delay: .2s; } .pcard:nth-child(6) { animation-delay: .25s; } .pcard:nth-child(7) { animation-delay: .3s; } .pcard:nth-child(8) { animation-delay: .35s; } .pcard:nth-child(9) { animation-delay: .4s; }
.pcard-art { position: relative; aspect-ratio: 1 / 1.1; border-radius: 18px; background: var(--tint); display: grid; place-items: center; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .4s; }
.pcard-art::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.35), transparent 60%); pointer-events: none; }
.pcard-art svg { width: 88%; transition: transform .6s var(--ease); }
.pcard:hover .pcard-art { box-shadow: 0 18px 30px -16px rgba(60,35,15,.4); }
.pcard:hover .pcard-art svg { transform: scale(1.06) rotate(-1.5deg); }
.pcard:active .pcard-art { transform: scale(.97); }
.pcard.is-out .pcard-art svg { opacity: .5; filter: grayscale(.5); }
.pbadge { position: absolute; top: 10px; left: 10px; z-index: 1; font-size: 11px; font-weight: 600; padding: 5px 9px; border-radius: 999px; background: rgba(255,252,247,.92); color: var(--sf-ink); box-shadow: 0 2px 8px -4px rgba(0,0,0,.2); }
.pbadge.low { background: var(--sf-accent); color: #fff; animation: softPulse 2.4s ease-in-out infinite; }
.pbadge.soldout { background: var(--sf-ink); color: #fff; }
.pcard-body { padding: 10px 2px 4px; }
.pcard-name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.pcard-row { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 3px; }
.pcard-price { font-weight: 600; font-size: 14.5px; }
.pstock { font-size: 11.5px; display: inline-flex; align-items: center; gap: 5px; color: var(--sf-muted); white-space: nowrap; }
.pstock i { width: 6px; height: 6px; border-radius: 50%; background: #3F9B6A; }
.pstock.low { color: var(--sf-accent-d); } .pstock.low i { background: var(--sf-accent); }
.swatches { display: flex; gap: 5px; margin-top: 8px; }
.sw { width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.16); display: inline-block; position: relative; flex: none; }
.sw.x::after { content: ''; position: absolute; left: -1px; right: -1px; top: 50%; height: 1.5px; background: #9A8F85; transform: rotate(-45deg); }

.sf-foot { margin-top: auto; padding: 36px 20px 28px; background: var(--sf-ink); color: #D9D0C4; font-size: 13.5px; }
.sf-route > .sf-shop + .sf-foot { margin-top: 36px; }
.foot-brand p { margin: 8px 0 20px; color: #B4A99C; }
.foot-cols { display: grid; gap: 18px; }
@container (min-width: 640px) { .foot-cols { grid-template-columns: 1fr 1fr; } .sf-foot { padding: 44px 44px 32px; } }
.foot-cols h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: #8F8478; margin: 0 0 8px; }
.foot-cols p { margin: 0 0 4px; line-height: 1.5; }
.paylogos { display: flex; gap: 6px; flex-wrap: wrap; }
.paylogos span { padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.08); font-size: 12px; font-weight: 600; color: #EFE7DC; }
.orbitrix-credit { display: flex; gap: 12px; align-items: center; margin-top: 26px; padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); color: #CFC5B8; text-decoration: none; font-size: 12.5px; line-height: 1.45; transition: background .25s; }
.orbitrix-credit:hover { background: rgba(255,255,255,.1); }
.orbitrix-credit u { color: #fff; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 3px; }
.ox-mini { width: 30px; height: 30px; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 600; font-size: 15px; cursor: pointer; transition: transform .15s var(--ease), background .2s, box-shadow .25s, opacity .2s; text-decoration: none; white-space: nowrap; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .ic:last-child { transform: translateX(2px); }
.btn-sf { background: var(--sf-ink); color: #FFF8F0; box-shadow: 0 10px 22px -12px rgba(34,27,22,.7); }
.btn-sf:hover:not(:disabled) { background: #000; box-shadow: 0 14px 26px -12px rgba(34,27,22,.8); }
.btn-sf:disabled { background: #D3C9BD; box-shadow: none; cursor: not-allowed; color: #fff; }
.btn-block { width: 100%; flex: 1; min-width: 0; }
.sheet { overflow-x: hidden; }
.psheet .ps-info { min-width: 0; }
@container (max-width: 380px) { .ps-buy .btn { padding: 0 12px; font-size: 14px; } .ps-buy .qty button { width: 32px; } .ps-art { aspect-ratio: 1 / .72; } .ps-art svg { width: 62%; } .sf-hero h1 { font-size: 34px; } }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-ghost-sf { background: transparent; border: 1px solid var(--sf-line); color: var(--sf-ink); }
.btn-ghost-sf:hover { background: var(--sf-card); }

/* sheets & drawers (shared by store and owner) */
.scrim { position: absolute; inset: 0; background: rgba(20,14,10,.42); opacity: 0; transition: opacity .4s var(--ease); -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.sheet-wrap, .drawer-wrap, .panel-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 30; }
.sheet-wrap { display: flex; align-items: flex-end; justify-content: center; }
.open { pointer-events: auto; }
.open > .scrim { opacity: 1; }
.sheet { position: relative; width: 100%; max-height: 92%; overflow-y: auto; overscroll-behavior: contain; background: var(--sf-card); border-radius: 26px 26px 0 0; padding: 10px 18px 18px; transform: translateY(105%); transition: transform .55s var(--ease); box-shadow: 0 -20px 50px -20px rgba(0,0,0,.3); }
.open > .sheet { transform: none; }
.grab { width: 40px; height: 5px; border-radius: 3px; background: var(--sf-line); margin: 0 auto 12px; }
.sheet-x { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.06); z-index: 2; height: 36px; min-width: 36px; padding: 0; }
@container (min-width: 760px) {
  .sheet-wrap { align-items: center; }
  .sheet { width: min(880px, 92%); border-radius: 26px; max-height: 88%; transform: translateY(28px) scale(.96); opacity: 0; transition: transform .5s var(--spring), opacity .3s; }
  .open > .sheet { opacity: 1; }
  .grab { display: none; }
  .psheet { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; padding: 24px; }
  .tsheet { width: min(520px, 92%); padding: 26px; }
}
.ps-art { position: relative; aspect-ratio: 1 / .92; border-radius: 22px; background: var(--tint); display: grid; place-items: center; transition: background .5s var(--ease); margin-top: 4px; overflow: hidden; }
.ps-art svg { width: 78%; animation: artIn .6s var(--ease); }
.ps-art svg * { transition: fill .5s var(--ease), stroke .5s var(--ease); }
@container (min-width: 760px) { .ps-art { aspect-ratio: auto; height: 100%; min-height: 420px; margin: 0; } }
.ps-info h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: -.02em; margin: 16px 0 2px; padding-right: 30px; }
@container (min-width: 760px) { .ps-info h3 { margin-top: 8px; font-size: 30px; } }
.ps-price { font-size: 18px; font-weight: 600; }
.ps-desc { color: var(--sf-muted); font-size: 14px; line-height: 1.55; margin: 8px 0 0; }
.opt { margin-top: 18px; }
.opt-l { font-size: 13px; color: var(--sf-muted); margin-bottom: 9px; }
.opt-l b { color: var(--sf-ink); font-weight: 600; margin-left: 4px; }
.sw-row { display: flex; gap: 10px; flex-wrap: wrap; }
.swb { width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 4px; background: transparent; box-shadow: 0 0 0 1px var(--sf-line); cursor: pointer; transition: box-shadow .25s, transform .2s var(--spring); position: relative; }
.swb:hover { transform: scale(1.06); }
.swb i { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.swb.on { box-shadow: 0 0 0 2px var(--sf-ink); }
.swb.x i { opacity: .5; }
.swb.x::after { content: ''; position: absolute; left: 6px; right: 6px; top: 50%; height: 1.5px; background: var(--sf-ink); transform: rotate(-45deg); }
.sz-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.szb { height: 50px; border-radius: 13px; border: 1px solid var(--sf-line); background: #FFFDFA; font-weight: 600; font-size: 14px; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; color: var(--sf-ink); transition: all .25s var(--ease); }
.szb:hover { border-color: #CDBFAE; }
.szb em { font-style: normal; font-size: 10px; color: var(--sf-accent-d); font-weight: 600; }
.szb.on { border-color: var(--sf-ink); background: var(--sf-ink); color: #fff; }
.szb.on em { color: #FFC3A0; }
.szb.x { color: #B9AEA3; text-decoration: line-through; background: transparent; border-style: dashed; }
.szb.x.on { background: #EFE8DF; color: #8F8478; border-color: #CDBFAE; border-style: solid; }
.stock-note { margin-top: 14px; min-height: 42px; }
.snote { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 500; padding: 10px 12px; border-radius: 12px; animation: fadeIn .35s; }
.snote .ic { width: 16px; height: 16px; }
.snote.ok { background: #EAF4EC; color: var(--sf-ok); }
.snote.low { background: #FCEBDF; color: #A4471B; }
.snote.out { background: #F1ECE6; color: #6F645A; }
.ps-buy { display: flex; gap: 10px; margin-top: 14px; position: sticky; bottom: -18px; background: var(--sf-card); padding: 8px 0 4px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--sf-line); border-radius: 999px; height: 48px; padding: 0 4px; flex: none; background: #FFFDFA; }
.qty button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--sf-ink); transition: background .2s; }
.qty button:hover:not(:disabled) { background: var(--sf-soft); }
.qty button:disabled { opacity: .3; cursor: default; }
.qty b { min-width: 24px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.qty .ic { width: 16px; height: 16px; }
.qty.sm { height: 34px; }
.qty.sm button { width: 28px; height: 28px; }
.qty.sm .ic { width: 14px; height: 14px; }

.drawer { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--sf-card); transform: translateX(104%); transition: transform .55s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 50px -20px rgba(0,0,0,.3); }
.open > .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 14px 14px 20px; border-bottom: 1px solid var(--sf-line); }
.drawer-head h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0; }
.drawer-head h3 span { color: var(--sf-muted); font-size: 16px; }
.clines { flex: 1; overflow-y: auto; padding: 4px 20px; }
.cline { display: grid; grid-template-columns: 70px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--sf-line); animation: rise .4s var(--ease) both; }
.cthumb { width: 70px; height: 78px; border-radius: 12px; background: var(--tint); display: grid; place-items: center; }
.cthumb svg { width: 92%; }
.cname { font-weight: 600; font-size: 14px; }
.cvar { color: var(--sf-muted); font-size: 12.5px; margin-top: 2px; }
.cvar .low { color: var(--sf-accent-d); font-weight: 600; }
.crow { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; gap: 8px; }
.cprice { font-weight: 600; font-size: 14px; }
.crm { align-self: start; color: var(--sf-muted); height: 34px; min-width: 34px; padding: 0; }
.crm .ic { width: 17px; height: 17px; }
.cfoot { padding: 16px 20px 20px; border-top: 1px solid var(--sf-line); background: var(--sf-bg); }
.freeship { font-size: 13px; color: #5A4F46; }
.freeship b { color: var(--sf-ink); display: inline-flex; align-items: center; gap: 4px; }
.freeship b .ic { width: 15px; height: 15px; color: var(--sf-ok); }
.freeship .bar { height: 6px; background: var(--sf-line); border-radius: 3px; margin: 8px 0 14px; overflow: hidden; }
.freeship .bar i { display: block; height: 100%; background: linear-gradient(90deg, #E9B44C, var(--sf-accent)); border-radius: 3px; transition: width .7s var(--ease); }
.crow2 { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.crow2 b { font-size: 19px; }
.cfoot .muted.sm { margin: 2px 0 12px; }
.cempty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; gap: 4px; }
.cempty > .ic, .sf-empty > .ic { width: 46px; height: 46px; color: #CDBFAE; margin-bottom: 8px; }
.cempty h4 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 0; }
.cempty p { color: var(--sf-muted); font-size: 14px; margin: 4px 0 16px; }
.sf-empty { text-align: center; padding: 64px 24px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.sf-empty h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 0; }
.sf-empty p { color: var(--sf-muted); margin: 0 0 14px; }

/* subheader */
.sf-subhead { position: sticky; top: 0; z-index: 6; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 6px; padding: 8px 12px; min-height: 58px; background: rgba(247,242,234,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--sf-line); }
.sh-title { display: flex; align-items: center; gap: 10px; }
.sh-title span { font-weight: 600; font-size: 15px; padding-left: 10px; border-left: 1px solid var(--sf-line); }
.secure { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: var(--sf-ok); white-space: nowrap; }
.secure .ic { width: 14px; height: 14px; }
@container (max-width: 400px) { .sh-title .logo-sinag { display: none; } .sh-title span { border: 0; padding: 0; } }

/* checkout */
.co { display: grid; gap: 14px; padding: 16px; }
@container (min-width: 880px) { .co { grid-template-columns: 1.4fr 1fr; padding: 28px 36px; gap: 22px; align-items: start; } .co-sum { position: sticky; top: 82px; } }
.co-main { display: grid; gap: 14px; min-width: 0; }
.co, .co-main, .fgrid, .pays, .trk, .slines, .tlist { grid-template-columns: minmax(0, 1fr); }
.co-sec, .co-sum, .field, .select, .card-sf { min-width: 0; }
.select select { width: 100%; text-overflow: ellipsis; }
.co-demo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 10px 12px; border-radius: 14px; background: linear-gradient(90deg, rgba(61,90,254,.09), rgba(61,90,254,.03)); border: 1px dashed rgba(61,90,254,.4); color: #3346C9; font-size: 13px; font-family: var(--ox-sans); font-weight: 500; }
.co-demo .ic { width: 16px; height: 16px; }
.co-demo button { margin-left: auto; border: 0; background: var(--ox-blue); color: #fff; border-radius: 999px; padding: 7px 13px; font-weight: 700; font-size: 12.5px; cursor: pointer; transition: transform .15s, background .2s; }
.co-demo button:hover { background: var(--ox-blue-d); }
.co-demo button:active { transform: scale(.96); }
.co-sec, .co-sum { background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: 20px; padding: 16px 16px 18px; animation: rise .5s var(--ease) both; }
.co-sec:nth-child(3) { animation-delay: .06s; } .co-sec:nth-child(4) { animation-delay: .12s; }
.co-sec h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; margin: 0 0 14px; }
.num { width: 24px; height: 24px; border-radius: 50%; background: var(--sf-ink); color: #fff; font-size: 12px; display: grid; place-items: center; }
.fgrid { display: grid; gap: 12px; }
@container (min-width: 560px) { .fgrid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.fgrid .field { margin: 0; }
.field > span { font-size: 12.5px; font-weight: 600; color: #5A4F46; }
.field > span em { font-style: normal; font-weight: 400; color: var(--sf-muted); }
.field input, .field textarea, .field select, .tsearch input { font: inherit; font-size: 16px; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--sf-line); background: #FFFDFA; color: var(--sf-ink); outline: none; transition: border-color .2s, box-shadow .2s; width: 100%; min-width: 0; }
.field textarea { height: auto; padding: 12px 14px; resize: none; line-height: 1.4; }
.field input:focus, .field textarea:focus, .field select:focus, .tsearch input:focus { border-color: var(--sf-ink); box-shadow: 0 0 0 4px rgba(34,27,22,.08); }
.field input::placeholder, .field textarea::placeholder { color: #B5AA9E; }
.has-err input, .has-err textarea { border-color: #C2412D; box-shadow: 0 0 0 4px rgba(194,65,45,.1); }
.err { display: flex; gap: 6px; align-items: center; color: #B23A26; font-size: 12.5px; font-weight: 500; animation: shake .4s; }
.err .ic { width: 14px; height: 14px; }
.ok-note { font-size: 12px; color: var(--sf-ok); }
.hint { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--sf-muted); margin: 10px 0 0; }
.hint .ic { width: 15px; height: 15px; }
.ful { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.fulopt, .payopt { border: 1.5px solid var(--sf-line); background: #FFFDFA; cursor: pointer; text-align: left; color: var(--sf-ink); font: inherit; transition: border-color .25s, box-shadow .25s, background .25s, transform .15s; }
.fulopt:active, .payopt:active { transform: scale(.985); }
.fulopt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 14px; border-radius: 16px; }
.fulopt .ic { width: 22px; height: 22px; margin-bottom: 6px; color: var(--sf-accent); }
.fulopt b { font-size: 14px; }
.fulopt small { color: var(--sf-muted); font-size: 12px; }
.fulopt.on, .payopt.on { border-color: var(--sf-ink); background: #fff; box-shadow: 0 0 0 3px rgba(34,27,22,.07); }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.select .ic { position: absolute; right: 12px; top: 14px; pointer-events: none; width: 18px; height: 18px; color: var(--sf-muted); }
.eta { font-size: 13px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -4px 0 14px; color: #5A4F46; }
.eta .ic { width: 15px; height: 15px; }
.free { color: var(--sf-ok); }
.pickup-card { display: flex; gap: 12px; padding: 14px; border-radius: 16px; background: var(--sf-soft); font-size: 13.5px; line-height: 1.45; animation: fadeIn .35s; }
.pickup-card .ic { color: var(--sf-accent); width: 22px; height: 22px; }
.pickup-card p { margin: 3px 0 0; }
.pays { display: grid; gap: 8px; }
@container (min-width: 560px) { .pays { grid-template-columns: 1fr 1fr; } }
.payopt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; }
.pt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pt b { font-size: 14px; }
.pt small { color: var(--sf-muted); font-size: 12px; }
.radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--sf-line); transition: border .25s var(--spring); flex: none; }
.payopt.on .radio { border: 6px solid var(--sf-ink); }
.pico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.pico .ic { width: 19px; height: 19px; }
.pico-gcash { background: #2F6BFF; } .pico-maya { background: #10A36A; } .pico-bank { background: #8A5A2B; } .pico-cod { background: #4B4038; }
.co-sum h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 0 0 6px; }
.sline { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; }
.sthumb { position: relative; width: 52px; height: 56px; border-radius: 11px; background: var(--tint); display: grid; place-items: center; }
.sthumb svg { width: 92%; }
.sthumb b { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--sf-ink); color: #fff; font-size: 11px; display: grid; place-items: center; padding: 0 5px; }
.sinfo { display: flex; flex-direction: column; min-width: 0; }
.sinfo span { font-weight: 600; font-size: 13.5px; }
.sinfo small { color: var(--sf-muted); font-size: 12px; }
.sprice { font-weight: 600; font-size: 13.5px; }
.tot { border-top: 1px solid var(--sf-line); margin-top: 10px; padding-top: 10px; display: grid; gap: 7px; font-size: 14px; }
.tot > div { display: flex; justify-content: space-between; gap: 10px; }
.tot .grand { margin-top: 3px; padding-top: 10px; border-top: 1px dashed var(--sf-line); font-size: 14.5px; align-items: baseline; }
.tot .grand b { font-size: 20px; }
.co-bar { position: sticky; bottom: 0; margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,252,247,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--sf-line); z-index: 4; }
.co-bar small { color: var(--sf-muted); font-size: 12px; display: block; }
.co-bar b { font-size: 21px; font-variant-numeric: tabular-nums; }
.co-bar .btn { min-width: 55%; }
@container (min-width: 880px) { .co-bar { padding: 14px 36px; } .co-bar .btn { min-width: 280px; } }

/* pay */
.pay { padding: 16px; width: 100%; max-width: 520px; margin: 0 auto; }
.pay-card { background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: 24px; padding: 18px; box-shadow: 0 20px 40px -30px rgba(60,35,15,.4); animation: rise .5s var(--ease) both; }
.pay-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.paypill { display: inline-flex; gap: 6px; align-items: center; padding: 6px 11px; border-radius: 999px; color: #fff; font-weight: 600; font-size: 13px; }
.paypill .ic { width: 15px; height: 15px; }
.amount { text-align: center; padding: 18px 0 10px; }
.amount small { color: var(--sf-muted); font-size: 13px; }
.amount b { display: block; font-size: 42px; font-weight: 700; letter-spacing: -.03em; margin: 2px 0 10px; font-variant-numeric: tabular-nums; }
.hold { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: #A4471B; background: #FCEBDF; padding: 5px 11px; border-radius: 999px; }
.hold .ic { width: 14px; height: 14px; }
.qr-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; margin: 8px 0 12px; }
.qr { width: 172px; height: 172px; background: #fff; padding: 10px; border-radius: 18px; border: 1px solid var(--sf-line); box-shadow: 0 10px 24px -16px rgba(0,0,0,.4); animation: pop .6s var(--spring) both; }
.qr-wrap small { color: var(--sf-muted); font-size: 11px; }
.kv { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--sf-line); font-size: 14px; }
.kv > span { color: var(--sf-muted); flex: 1; }
.copy { border: 1px solid var(--sf-line); background: transparent; border-radius: 999px; padding: 4px 10px; font-weight: 600; font-size: 12px; display: inline-flex; gap: 4px; align-items: center; cursor: pointer; color: var(--sf-ink); }
.copy .ic { width: 13px; height: 13px; }
.steps3 { display: grid; gap: 8px; margin: 14px 0; font-size: 13px; padding: 12px; border-radius: 14px; background: var(--sf-bg); }
.steps3 div { display: flex; gap: 10px; align-items: center; }
.steps3 i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; background: var(--sf-ink); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 11px; flex: none; }
.link-btn { display: block; margin: 12px auto 0; border: 0; background: none; color: var(--sf-muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-weight: 500; font-size: 13.5px; }
.pay-note { text-align: center; font-size: 12px; color: var(--sf-muted); display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 24px; }
.pay-note .ic { width: 14px; height: 14px; }

/* tracking */
.trk { padding: 16px; width: 100%; max-width: 640px; margin: 0 auto; display: grid; gap: 12px; }
.trk-hero { text-align: center; padding: 14px 0 6px; animation: rise .5s var(--ease) both; }
.trk-hero h2 { font-family: var(--serif); font-weight: 500; font-size: 30px; letter-spacing: -.02em; margin: 12px 0 4px; }
.trk-hero.sm h2 { margin-top: 0; font-size: 26px; }
.trk-hero p { color: var(--sf-muted); font-size: 14px; margin: 0 auto; max-width: 340px; line-height: 1.5; }
.okmark { display: inline-grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: #E4F2E8; animation: pop .7s var(--spring) both; box-shadow: 0 0 0 10px rgba(46,122,79,.06); }
.okmark svg { width: 60px; height: 60px; }
.okmark circle { fill: none; stroke: var(--sf-ok); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .7s .15s var(--ease) forwards; }
.okmark path { fill: none; stroke: var(--sf-ok); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .45s .7s var(--ease) forwards; }
.ordno { display: flex; justify-content: space-between; align-items: center; gap: 10px; background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: 18px; padding: 14px 16px; animation: rise .5s .05s var(--ease) both; }
.ordno small { color: var(--sf-muted); font-size: 12px; display: block; }
.ordno b { font-family: var(--mono); font-size: 20px; letter-spacing: .04em; }
.callout { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; font-size: 13px; animation: rise .5s .1s var(--ease) both; }
.callout > div { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.callout b { font-size: 14px; }
.callout > .ic { width: 22px; height: 22px; }
.callout.warn { background: #FCEBDF; color: #7A3413; }
.callout.info { background: #E8EEFF; color: #2A3E9E; }
.card-sf { background: var(--sf-card); border: 1px solid var(--sf-line); border-radius: 20px; padding: 14px 16px; animation: rise .5s .12s var(--ease) both; }
.card-sf h4 { display: flex; align-items: center; gap: 6px; margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.card-sf h4 .ic { width: 16px; height: 16px; color: var(--sf-muted); }
.addr { font-size: 14px; line-height: 1.55; margin: 0; }
.stepper { list-style: none; margin: 0; padding: 0; }
.stepper li { display: flex; gap: 12px; position: relative; padding-bottom: 16px; }
.stepper li:last-child { padding-bottom: 0; }
.stepper li:not(:last-child)::before { content: ''; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; background: var(--sf-line); border-radius: 1px; transition: background .5s; }
.stepper li.done:not(:last-child)::before { background: var(--sf-ok); }
.stepper li > i { width: 24px; height: 24px; border-radius: 50%; flex: none; border: 2px solid var(--sf-line); background: var(--sf-card); display: grid; place-items: center; position: relative; z-index: 1; transition: all .4s var(--spring); }
.stepper li.done > i { background: var(--sf-ok); border-color: var(--sf-ok); color: #fff; animation: pop .5s var(--spring); }
.stepper li > i .ic { width: 13px; height: 13px; stroke-width: 3.2; }
.stepper li.now > i { border-color: var(--sf-accent); border-width: 7px; box-shadow: 0 0 0 0 rgba(217,98,43,.35); animation: ring 1.8s infinite; }
.stepper li b { font-size: 14px; display: block; font-weight: 600; }
.stepper li small { color: var(--sf-muted); font-size: 12px; }
.stepper li.todo b { color: #ADA295; font-weight: 500; }
.smsl { display: flex; flex-direction: column; gap: 10px; max-height: 280px; overflow-y: auto; }
.sms { align-self: flex-start; max-width: 90%; animation: bubble .45s var(--spring) both; }
.sms-b { background: #ECE6DE; padding: 10px 13px; border-radius: 18px 18px 18px 5px; font-size: 13.5px; line-height: 1.42; }
.sms small { color: var(--sf-muted); font-size: 11px; margin-left: 8px; }
.tsheet h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; margin: 4px 0 2px; }
.tsheet > .muted { font-size: 14px; margin: 0; }
.tsearch { display: flex; gap: 8px; margin: 14px 0 6px; }
.tsearch input { flex: 1; text-transform: uppercase; font-family: var(--mono); }
.tsheet h5 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--sf-muted); margin: 18px 0 8px; font-weight: 600; }
.tsheet h5 .muted { text-transform: none; letter-spacing: 0; font-weight: 400; }
.tlist { display: grid; gap: 6px; }
.trow { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--sf-line); background: #FFFDFA; cursor: pointer; text-align: left; font: inherit; color: var(--sf-ink); transition: border-color .2s, transform .15s; }
.trow:hover { border-color: #CDBFAE; }
.trow > div { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.trow b { font-family: var(--mono); font-size: 14px; }
.trow small { color: var(--sf-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trow > .ic { width: 16px; height: 16px; color: var(--sf-muted); }

/* phone notifications */
.notices { position: absolute; top: 8px; left: 8px; right: 8px; display: flex; flex-direction: column; gap: 8px; z-index: 40; pointer-events: none; }
@container (min-width: 760px) { .notices { left: auto; right: 16px; top: 16px; width: 380px; } }
.notice { pointer-events: auto; display: flex; gap: 10px; text-align: left; padding: 11px 12px; border-radius: 22px; background: rgba(252,250,247,.88); backdrop-filter: blur(22px) saturate(1.8); -webkit-backdrop-filter: blur(22px) saturate(1.8); box-shadow: 0 14px 34px -10px rgba(0,0,0,.35), 0 0 0 .5px rgba(0,0,0,.08); border: 0; font: inherit; color: #1D1D1F; cursor: pointer; animation: drop .6s var(--spring) both; }
.notice.leaving { animation: lift .38s var(--ease) forwards; }
.napp { width: 38px; height: 38px; border-radius: 10px; background: linear-gradient(#5ED36A, #2DB64C); color: #fff; display: grid; place-items: center; flex: none; }
.napp .ic { width: 20px; height: 20px; fill: #fff; stroke: none; }
.nbody { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.ntop { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.ntop b { font-size: 13.5px; }
.ntop small { font-size: 11px; color: #8A8A8E; white-space: nowrap; }
.ntext { font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* toasts */
.sf-toasts { position: absolute; left: 12px; right: 12px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; align-items: center; z-index: 45; pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 15px; border-radius: 999px; background: var(--sf-ink); color: #FFF8F0; font-size: 13.5px; font-weight: 500; box-shadow: 0 16px 34px -12px rgba(0,0,0,.5); animation: toastIn .5s var(--spring) both; max-width: 100%; }
.toast:not(:has(button)) { padding-right: 16px; }
.toast > .ic { width: 18px; height: 18px; color: #8FDDAA; }
.toast.t-warn > .ic { color: #FFB38A; }
.toast.t-tip > .ic { color: #A9B8FF; }
.toast span { flex: 1; min-width: 0; }
.toast button { border: 0; background: rgba(255,255,255,.15); color: #fff; border-radius: 999px; padding: 7px 12px; font-weight: 600; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.toast button:hover { background: rgba(255,255,255,.24); }
.toast.leaving { animation: toastOut .3s var(--ease) forwards; }

/* status chips (shared) */
.chip { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 9px; border-radius: 999px; font-weight: 700; font-size: 11.5px; white-space: nowrap; font-family: var(--ox-sans); flex: none; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.st-pending { background: #FFF1D6; color: #9A5B00; }
.st-pending i { animation: blink 1.6s infinite; }
.st-paid { background: #E8EEFF; color: #2F4BD8; }
.st-packed { background: #F0EAFF; color: #6A3FD9; }
.st-out { background: #DFF5F1; color: #0B7A6E; }
.st-completed { background: #E3F5EA; color: #1F7A4E; }
.st-cancelled { background: #EFF0F3; color: #6B7280; }

/* ==========================================================================
   OWNER CONSOLE
   ========================================================================== */
.ow { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 860px) { .ow { grid-template-columns: 236px minmax(0, 1fr); } }
.ow-side { display: none; }
@container (min-width: 860px) { .ow-side { display: flex; flex-direction: column; background: var(--ox-navy); color: #C9D0EA; padding: 18px 14px; gap: 14px; overflow-y: auto; } }
.ow-brand { display: flex; align-items: center; gap: 10px; padding: 4px 6px; }
.ow-brand b { color: #fff; font-weight: 800; font-size: 16px; display: block; line-height: 1.1; }
.ow-brand small { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #8C97C7; font-weight: 600; }
.ow-store { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); }
.ow-av { height: 34px; padding: 0 8px; border-radius: 9px; background: #F7F2EA; color: #221B16; display: grid; place-items: center; flex: none; }
.ow-store b { color: #fff; font-size: 13.5px; display: block; }
.ow-store small { font-size: 11.5px; color: #8C97C7; }
.ow-nav { display: flex; flex-direction: column; gap: 2px; }
.ow-nav button { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: transparent; color: #C9D0EA; font-weight: 500; font-size: 14px; cursor: pointer; text-align: left; transition: background .2s, color .2s; }
.ow-nav button:hover { background: rgba(255,255,255,.06); color: #fff; }
.ow-nav button.on { background: rgba(61,90,254,.24); color: #fff; box-shadow: inset 3px 0 0 #6F86FF; }
.ow-nav button span { flex: 1; }
.ow-nav em { font-style: normal; background: var(--ox-blue); color: #fff; font-weight: 700; font-size: 11px; padding: 2px 7px; border-radius: 999px; animation: pop .5s var(--spring); }
.ow-nav .ic { width: 18px; height: 18px; }
.ow-nav .lk, .more-list .lk { width: 14px; height: 14px; opacity: .5; }
.ow-nav-sep { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: #6B76A6; padding: 14px 12px 6px; font-weight: 700; }
.ow-cta { margin-top: auto; display: flex; flex-direction: column; gap: 4px; padding: 15px; border-radius: 16px; background: linear-gradient(135deg, #3D5AFE, #6A4DFF); color: #fff; text-decoration: none; box-shadow: 0 14px 30px -14px rgba(61,90,254,.9); transition: transform .25s var(--ease); position: relative; overflow: hidden; }
.ow-cta::after { content: ''; position: absolute; width: 140px; height: 140px; right: -50px; top: -60px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.25); }
.ow-cta:hover { transform: translateY(-2px); }
.ow-cta b { font-size: 14px; }
.ow-cta span { font-size: 12px; opacity: .85; line-height: 1.4; }
.ow-cta u { font-weight: 700; font-size: 12.5px; text-decoration: none; display: flex; align-items: center; gap: 4px; margin-top: 6px; }
.ow-cta u .ic { width: 14px; height: 14px; }
.ow-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; position: relative; }
.ow-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 11px 16px; background: rgba(244,246,251,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--ox-line); flex: none; min-height: 58px; }
.ow-top h2 { font-weight: 800; font-size: 18px; margin: 0; letter-spacing: -.01em; }
.ow-top-l { display: flex; align-items: center; gap: 10px; }
.ow-top .ox-logo { width: 28px; height: 28px; }
@container (min-width: 860px) { .m-only { display: none; } .ow-top { padding: 12px 28px; } }
.ow-top-r { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--ox-muted); font-weight: 600; }
.live { display: inline-flex; align-items: center; gap: 6px; color: #1F8A5B; font-weight: 700; background: #E3F5EA; padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.live i { width: 7px; height: 7px; border-radius: 50%; background: #1F9D63; animation: livePulse 2s infinite; }
.ow-me { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #F6B26B, #D9622B); color: #fff; font-weight: 800; font-size: 11.5px; display: grid; place-items: center; }
@container (max-width: 480px) { .ow-date { display: none; } }
.ow-scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #CDD3E3 transparent; }
.ow-page { padding: 16px 16px 100px; max-width: 1200px; margin: 0 auto; animation: fadeUp .45s var(--ease); }
@container (min-width: 860px) { .ow-page { padding: 24px 28px 40px; } }
.greet h1 { font-weight: 800; font-size: 22px; margin: 0; letter-spacing: -.02em; }
.greet p { color: var(--ox-muted); font-size: 13.5px; margin: 4px 0 16px; }
@container (min-width: 860px) { .greet h1 { font-size: 26px; } }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@container (max-width: 939px) { .kpis .kpi:not(.hero) { padding: 12px; } .kpis .kpi:not(.hero) b { font-size: 20px; } .kpis .kpi:not(.hero) span { font-size: 11px; } .kpi.hero { grid-column: 1 / -1 !important; } }
@container (min-width: 940px) { .kpis { grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 14px; } }
.kpi { background: var(--ox-card); border: 1px solid var(--ox-line); border-radius: 18px; padding: 14px 15px; display: flex; flex-direction: column; gap: 3px; animation: rise .5s var(--ease) both; min-width: 0; }
.kpi:nth-child(2) { animation-delay: .05s; } .kpi:nth-child(3) { animation-delay: .1s; } .kpi:nth-child(4) { animation-delay: .15s; }
.kpi small { font-weight: 600; font-size: 12px; color: var(--ox-muted); }
.kpi b { font-weight: 800; font-size: 24px; letter-spacing: -.02em; font-variant-numeric: tabular-nums; display: inline-block; transform-origin: left center; }
.kpi span { font-size: 12px; color: var(--ox-muted); }
.kpi span.up { color: #1F8A5B; font-weight: 600; } .kpi span.down { color: #C2412D; font-weight: 600; }
.kpi.hero { grid-column: span 2; background: radial-gradient(120% 140% at 100% 0%, #5B6CFF 0, transparent 55%), linear-gradient(135deg, #0F1733, #23308A); color: #fff; border: 0; position: relative; overflow: hidden; padding: 16px 18px; }
.kpi.hero::after { content: ''; position: absolute; width: 220px; height: 90px; right: -40px; bottom: -30px; border: 1.5px solid rgba(255,255,255,.16); border-radius: 50%; transform: rotate(-18deg); }
.kpi.hero small, .kpi.hero span { color: rgba(255,255,255,.72); }
.kpi.hero b { font-size: 32px; }
@container (min-width: 940px) { .kpi.hero { grid-column: auto; } }
.countup.bump { animation: bump .7s var(--ease); }
.g2 { display: grid; gap: 12px; margin-top: 12px; }
@container (min-width: 940px) { .g2 { grid-template-columns: 1.3fr 1fr; gap: 14px; margin-top: 14px; } }
.card { background: var(--ox-card); border: 1px solid var(--ox-line); border-radius: 18px; padding: 16px; min-width: 0; animation: rise .5s .1s var(--ease) both; }
.ow-page > .card { margin-top: 12px; }
.card-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; gap: 10px; }
.card-h h3 { font-weight: 800; font-size: 15px; margin: 0; }
.card-h .muted { color: var(--ox-muted); font-size: 12.5px; font-weight: 600; }
.link { border: 0; background: none; color: var(--ox-blue); font-weight: 700; font-size: 13px; cursor: pointer; display: inline-flex; align-items: center; gap: 2px; padding: 0; }
.link .ic { width: 16px; height: 16px; }
.bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; height: 190px; }
.barc { display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; position: relative; outline: none; cursor: default; }
.bar-track { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border-bottom: 1px solid var(--ox-line); }
.bar-track i { width: min(34px, 72%); background: #C9D2FF; border-radius: 4px 4px 0 0; transition: height .8s var(--ease), background .2s; transform-origin: bottom; animation: growBar .9s var(--ease) both; }
.barc:nth-child(2) i { animation-delay: .05s; } .barc:nth-child(3) i { animation-delay: .1s; } .barc:nth-child(4) i { animation-delay: .15s; } .barc:nth-child(5) i { animation-delay: .2s; } .barc:nth-child(6) i { animation-delay: .25s; } .barc:nth-child(7) i { animation-delay: .3s; }
.barc.today i { background: var(--ox-blue); }
.barc:hover i, .barc:focus i { background: #9EAEFF; }
.barc.today:hover i { background: var(--ox-blue-d); }
.bar-v { font-weight: 800; font-size: 11.5px; color: var(--ox-ink); margin-bottom: 5px; white-space: nowrap; }
.barc small { font-size: 11px; color: var(--ox-muted); font-weight: 600; }
.barc.today small { color: var(--ox-ink); font-weight: 800; }
.barc::after { content: attr(data-tip); position: absolute; top: 0; left: 50%; transform: translate(-50%, -6px); background: var(--ox-ink); color: #fff; font-weight: 600; font-size: 11.5px; padding: 6px 9px; border-radius: 8px; white-space: nowrap; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .2s, transform .2s; }
.barc:first-child::after { left: 0; transform: translate(0, -6px); }
.barc:last-child::after { left: auto; right: 0; transform: translate(0, -6px); }
.barc:hover::after, .barc:focus::after { opacity: 1; transform: translate(-50%, -12px); }
.barc:first-child:hover::after, .barc:first-child:focus::after, .barc:last-child:hover::after, .barc:last-child:focus::after { transform: translate(0, -12px); }
.att { display: grid; gap: 6px; }
.att-row { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--ox-line); background: #FAFBFE; cursor: pointer; font: inherit; color: var(--ox-ink); text-align: left; transition: transform .2s var(--ease), border-color .2s, background .2s; }
.att-row span { flex: 1; font-weight: 600; font-size: 13.5px; }
.att-row b { font-weight: 800; font-size: 16px; min-width: 22px; text-align: right; font-variant-numeric: tabular-nums; }
.att-row .ic { width: 18px; height: 18px; color: var(--ox-muted); }
.att-row .ic:last-child { width: 16px; height: 16px; }
.att-row.hot { border-color: #FFD59A; background: #FFF8EC; }
.att-row.hot .ic:first-child { color: #C27803; }
.att-row:hover { transform: translateX(3px); border-color: #C9D2FF; }
.best, .low { display: grid; gap: 12px; }
.best-row { display: grid; grid-template-columns: 16px 44px minmax(0, 1fr) auto; gap: 10px; align-items: center; animation: rise .4s var(--ease) both; }
.rank { font-weight: 800; font-size: 13px; color: var(--ox-muted); }
.thumb { width: 44px; height: 44px; border-radius: 11px; background: var(--tint); display: grid; place-items: center; flex: none; }
.thumb svg { width: 94%; }
.best-i b, .low-i b { font-weight: 700; font-size: 13.5px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meter { height: 6px; background: #EEF1F8; border-radius: 3px; margin-top: 7px; overflow: hidden; }
.meter i { display: block; height: 100%; background: linear-gradient(90deg, #8DA0FF, var(--ox-blue)); border-radius: 3px; transition: width .8s var(--ease); }
.best-n { text-align: right; }
.best-n b { font-size: 13px; font-weight: 800; display: block; }
.best-n small, .low-i small { color: var(--ox-muted); font-size: 12px; }
.low-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; animation: rise .4s var(--ease) both; }
.low-i { min-width: 0; }
.stk { font-weight: 700; font-size: 11.5px; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.stk.out { background: #FDE8E4; color: #B23A26; } .stk.low { background: #FFF1D6; color: #9A5B00; } .stk.ok { background: #E3F5EA; color: #1F7A4E; }
.btn-mini { border: 1px solid var(--ox-line); background: var(--ox-card); border-radius: 999px; height: 30px; padding: 0 11px; font-weight: 700; font-size: 12px; cursor: pointer; color: var(--ox-blue); display: inline-flex; align-items: center; gap: 4px; transition: background .2s, transform .15s; white-space: nowrap; font-family: var(--ox-sans); }
.btn-mini:hover { background: #EEF1FF; }
.btn-mini:active { transform: scale(.94); }
.btn-mini .ic { width: 14px; height: 14px; }
.empty-s { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px; color: var(--ox-muted); font-size: 13px; font-weight: 600; }
.empty-s .ic { width: 26px; height: 26px; color: #A9B4D9; }
.recent { display: grid; }
.rrow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 11px 8px; border: 0; border-bottom: 1px solid var(--ox-line); background: transparent; text-align: left; font: inherit; color: var(--ox-ink); cursor: pointer; transition: background .2s; border-radius: 0; }
.rrow:last-child { border-bottom: 0; }
.rrow:hover { background: #F7F8FC; }
.rrow b { font-size: 13.5px; font-weight: 700; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rrow small { color: var(--ox-muted); font-size: 12px; }
.rtot { font-weight: 800; font-size: 13.5px; }
@container (max-width: 420px) { .rrow { grid-template-columns: minmax(0, 1fr) auto; } .rrow .rtot { display: none; } }
.rrow.is-fresh { animation: freshBg 3s var(--ease); }

/* orders */
.ord-head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.search { flex: 1; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--ox-card); border: 1px solid var(--ox-line); transition: border-color .2s, box-shadow .2s; min-width: 0; }
.search:focus-within { border-color: var(--ox-blue); box-shadow: 0 0 0 4px rgba(61,90,254,.12); }
.search input { border: 0; outline: 0; flex: 1; font: inherit; font-size: 15px; background: transparent; height: 100%; min-width: 0; color: var(--ox-ink); }
.search .ic { width: 18px; height: 18px; color: var(--ox-muted); }
.filters { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin: 0 -16px 12px; padding-left: 16px; padding-right: 16px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
@container (min-width: 860px) { .filters { margin: 0 0 14px; padding-left: 0; padding-right: 0; flex-wrap: wrap; } }
.fpill { flex: none; display: inline-flex; gap: 7px; align-items: center; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--ox-line); background: var(--ox-card); font-weight: 600; font-size: 12.5px; color: var(--ox-text); cursor: pointer; transition: all .25s var(--ease); }
.fpill em { font-style: normal; background: #EEF1F8; color: var(--ox-muted); font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; transition: all .25s; }
.fpill:hover { border-color: #C9D2FF; }
.fpill.on { background: var(--ox-ink); color: #fff; border-color: var(--ox-ink); }
.fpill.on em { background: rgba(255,255,255,.16); color: #fff; }
.olist { display: grid; gap: 10px; }
@container (min-width: 1020px) { .olist { grid-template-columns: 1fr 1fr; gap: 14px; } }
.ocard { background: var(--ox-card); border: 1px solid var(--ox-line); border-radius: 18px; overflow: hidden; animation: rise .45s var(--ease) both; transition: box-shadow .25s, border-color .25s; display: flex; flex-direction: column; }
.ocard:hover { box-shadow: 0 12px 28px -18px rgba(15,23,51,.4); }
.ocard.is-fresh { border-color: var(--ox-blue); animation: freshIn .9s var(--spring) both, freshGlow 2.4s 1s ease-in-out 2; box-shadow: 0 0 0 4px rgba(61,90,254,.14); }
.ocard-main { display: block; width: 100%; text-align: left; border: 0; background: transparent; padding: 14px 15px 12px; font: inherit; color: var(--ox-ink); cursor: pointer; flex: 1; }
.oc-r1 { display: flex; align-items: center; gap: 8px; }
.oc-id { font-weight: 800; font-size: 12.5px; letter-spacing: .02em; }
.oc-t { font-size: 12px; color: var(--ox-muted); flex: 1; white-space: nowrap; }
.newtag { background: var(--ox-blue); color: #fff; font-weight: 800; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; animation: pop .5s var(--spring); }
.oc-r2 { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: 15px; }
.oc-r2 b:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-tot { font-weight: 800; font-variant-numeric: tabular-nums; }
.oc-items { font-size: 13px; color: var(--ox-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oc-meta { display: flex; gap: 10px; align-items: center; margin-top: 10px; font-size: 12.5px; color: var(--ox-text); font-weight: 500; }
.oc-meta span { display: inline-flex; align-items: center; gap: 5px; }
.oc-meta .ic { width: 15px; height: 15px; color: var(--ox-muted); }
.mpill { font-weight: 800; font-size: 10.5px; padding: 3px 8px; border-radius: 6px; color: #fff; letter-spacing: .02em; }
.pm-gcash { background: #2F6BFF; } .pm-maya { background: #10A36A; } .pm-bank { background: #8A5A2B; } .pm-cod { background: #4B4038; }
.ocall { display: flex; gap: 8px; align-items: center; margin-top: 10px; padding: 9px 11px; border-radius: 11px; font-size: 12.5px; line-height: 1.35; }
.ocall .ic { width: 16px; height: 16px; flex: none; }
.ocall.ok { background: #E8F7EE; color: #17643F; }
.ocall.wait { background: #F4F6FB; color: var(--ox-muted); }
.ocall.cod { background: #FFF6E5; color: #8A5300; }
.oc-act { padding: 0 15px 14px; }
.btn-ox { background: var(--ox-blue); color: #fff; border-radius: 12px; height: 44px; font-weight: 700; font-size: 14px; box-shadow: 0 10px 20px -12px rgba(61,90,254,.9); font-family: var(--ox-sans); }
.btn-ox:hover { background: var(--ox-blue-d); }
.oc-act .btn-ox { width: 100%; }
.btn-ox.ghost { background: #EEF1FF; color: var(--ox-blue-d); box-shadow: none; }
.btn-ox.ghost:hover { background: #E2E7FF; }
.btn-ox.lg { height: 52px; font-size: 15px; }
.btn-line { background: var(--ox-card); border: 1px solid var(--ox-line); color: var(--ox-ink); height: 42px; border-radius: 12px; font-weight: 600; font-size: 13.5px; padding: 0 14px; font-family: var(--ox-sans); }
.btn-line:hover { background: #F7F8FC; }
.btn-danger { background: #C2412D; color: #fff; height: 42px; border-radius: 12px; font-size: 13.5px; padding: 0 16px; font-family: var(--ox-sans); }
.btn-danger:hover { background: #A9341F; }
.empty { text-align: center; padding: 56px 20px; color: var(--ox-muted); animation: fadeIn .4s; }
.empty > .ic { width: 38px; height: 38px; color: #9AACFF; }
.empty h4 { color: var(--ox-ink); font-size: 16px; margin: 10px 0 4px; }
.empty p { font-size: 13.5px; margin: 0; }
.pane-owner .muted { color: var(--ox-muted); }

/* order panel */
.panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(480px, 100%); background: #fff; display: flex; flex-direction: column; transform: translateX(104%); transition: transform .55s var(--ease); box-shadow: -24px 0 60px -24px rgba(15,23,51,.45); }
.panel-wrap > .scrim { background: rgba(11,16,38,.35); }
.open > .panel { transform: none; }
.panel-h { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 18px; border-bottom: 1px solid var(--ox-line); }
.panel-h > div { flex: 1; min-width: 0; }
.panel-h small { color: var(--ox-muted); font-size: 12px; font-weight: 600; }
.panel-h h3 { font-weight: 800; font-size: 21px; margin: 2px 0 0; letter-spacing: -.01em; }
.panel-b { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 16px; overscroll-behavior: contain; }
.panel-f { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--ox-line); background: #fff; }
.panel .tot, .panel .sline, .panel .kv { border-color: var(--ox-line); }
.panel .sthumb b { background: var(--ox-ink); }
.panel .sinfo small, .panel .kv > span { color: var(--ox-muted); }
.paybox { border: 1px solid var(--ox-line); border-radius: 14px; padding: 12px 14px; background: #FAFBFE; animation: rise .4s var(--ease) both; }
.pb-h { display: flex; align-items: center; gap: 8px; }
.pb-h b { font-size: 14px; flex: 1; }
.pb-h .ic { width: 19px; height: 19px; color: var(--ox-muted); }
.pb-h .muted { font-size: 12px; }
.paybox p { font-size: 13px; margin: 6px 0 0; color: var(--ox-text); line-height: 1.45; }
.paybox .kv { padding: 8px 0; font-size: 13.5px; }
.paybox .kv:first-of-type { margin-top: 6px; }
.paybox.hot { border-color: #9FD9B8; background: #F0FAF4; box-shadow: 0 0 0 4px rgba(31,157,99,.08); }
.paybox.hot .pb-h .ic { color: #1F8A5B; }
.paybox.done { background: #F3FAF6; border-color: #CBEBD8; }
.paybox.done .pb-h .ic { color: #1F8A5B; }
.psec h4 { font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ox-muted); margin: 0 0 10px; }
.cust { display: flex; align-items: center; gap: 10px; }
.cav { width: 40px; height: 40px; border-radius: 50%; background: #EEF1FF; color: var(--ox-blue-d); font-weight: 800; font-size: 13px; display: grid; place-items: center; flex: none; }
.cust > div { flex: 1; min-width: 0; }
.cust b { font-size: 14.5px; display: block; }
.cust small { color: var(--ox-muted); font-size: 12.5px; }
.addrbox { display: flex; gap: 10px; margin-top: 10px; padding: 11px 12px; border-radius: 12px; background: var(--ox-bg); font-size: 13px; }
.addrbox .ic { width: 18px; height: 18px; color: var(--ox-muted); }
.addrbox b { display: block; font-size: 13.5px; }
.addrbox small { color: var(--ox-text); font-size: 12.5px; line-height: 1.45; }
.sms.own { align-self: flex-end; }
.sms.own .sms-b { background: var(--ox-blue); color: #fff; border-radius: 18px 18px 5px 18px; }
.sms.own small { display: block; text-align: right; color: var(--ox-muted); }
.hist { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.hist li { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.hist li i { width: 8px; height: 8px; border-radius: 50%; background: #B4BCD6; flex: none; }
.hist li:first-child i { background: var(--ox-blue); box-shadow: 0 0 0 4px rgba(61,90,254,.15); }
.hist li b { flex: 1; font-weight: 600; }
.hist li small { color: var(--ox-muted); }
.row-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.link.danger { color: #C2412D; }
.cancel-ask { flex-basis: 100%; background: #FFF4F2; border: 1px solid #F7C9C0; border-radius: 14px; padding: 12px; animation: rise .3s var(--ease); }
.cancel-ask p { font-size: 13px; margin: 0 0 10px; color: #6D2A1E; line-height: 1.45; }
.cancel-ask > div { display: flex; gap: 8px; justify-content: flex-end; }
.stepper.h { display: flex; padding: 2px 0 4px; }
.stepper.h li { flex: 1; flex-direction: column; align-items: center; text-align: center; padding: 0; gap: 6px; }
.stepper.h li::before { display: none; }
.stepper.h li:not(:first-child)::after { content: ''; position: absolute; top: 11px; right: calc(50% + 14px); left: calc(-50% + 14px); height: 2px; background: var(--ox-line); border-radius: 1px; }
.stepper.h li.done:not(:first-child)::after, .stepper.h li.now:not(:first-child)::after { background: #1F9D63; }
.stepper.h li.done > i { background: #1F9D63; border-color: #1F9D63; }
.stepper.h li.now > i { border-color: var(--ox-blue); box-shadow: 0 0 0 0 rgba(61,90,254,.35); animation: ringBlue 1.8s infinite; }
.stepper.h li > i { border-color: var(--ox-line); background: #fff; }
.stepper.h b { font-size: 11px; line-height: 1.25; font-weight: 700; }
.stepper.h small { font-size: 10.5px; color: var(--ox-muted); }
.stepper.h li.todo b { color: #A6AEC8; }

/* inventory */
.inv-sum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
.inv-sum > div { background: var(--ox-card); border: 1px solid var(--ox-line); border-radius: 14px; padding: 12px 14px; animation: rise .45s var(--ease) both; }
.inv-sum small { color: var(--ox-muted); font-size: 12px; font-weight: 600; }
.inv-sum b { display: block; font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; }
.amber { color: #B26A00; } .red { color: #C2412D; }
.hint.ox { color: var(--ox-text); margin: 0 0 12px; }
.hint.ox .ic { color: var(--ox-blue); }
.inv { display: grid; gap: 12px; }
@container (min-width: 1020px) { .inv { grid-template-columns: 1fr 1fr; gap: 14px; } }
.inv-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.inv-h > div:nth-child(2) { flex: 1; min-width: 0; }
.inv-h b { font-size: 14.5px; display: block; }
.inv-h small { color: var(--ox-muted); font-size: 12.5px; }
.inv-t { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.inv-t table { border-collapse: separate; border-spacing: 0 6px; width: 100%; font-size: 13px; }
.inv-t thead th { font-weight: 700; font-size: 11.5px; color: var(--ox-muted); text-align: center; padding: 0 3px; }
.inv-t tbody th { text-align: left; white-space: nowrap; color: var(--ox-ink); font-weight: 600; padding-right: 10px; font-size: 12.5px; }
.inv-t .sw { width: 12px; height: 12px; vertical-align: -1px; margin-right: 6px; }
.inv-t td { padding: 0 3px; }
.cell { display: flex; align-items: center; justify-content: space-between; gap: 2px; height: 34px; border-radius: 10px; background: var(--ox-bg); padding: 0 3px; min-width: 84px; transition: background .3s; }
.cell button { width: 26px; height: 26px; border-radius: 8px; border: 0; background: #fff; color: var(--ox-ink); cursor: pointer; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(15,23,51,.1); transition: transform .15s; }
.cell button:active:not(:disabled) { transform: scale(.88); }
.cell button:disabled { opacity: .35; cursor: default; }
.cell .ic { width: 13px; height: 13px; }
.cell b { font-weight: 800; font-size: 13.5px; min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.cell.low { background: #FFF1D6; } .cell.low b { color: #9A5B00; }
.cell.out { background: #FDE8E4; } .cell.out b { color: #B23A26; }

/* owner bottom tabs, more sheet, toasts */
.ow-tabs { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--ox-line); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); z-index: 10; }
.ow-tabs button { display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; background: none; font-weight: 700; font-size: 11px; color: var(--ox-muted); padding: 6px 0; position: relative; cursor: pointer; transition: color .2s; }
.ow-tabs button .ic { width: 22px; height: 22px; transition: transform .3s var(--spring); }
.ow-tabs button.on { color: var(--ox-blue); }
.ow-tabs button.on .ic { transform: translateY(-1px) scale(1.08); }
.ow-tabs em { position: absolute; top: 1px; left: 56%; background: var(--ox-blue); color: #fff; font-style: normal; font-weight: 800; font-size: 10px; padding: 1px 6px; border-radius: 999px; animation: pop .5s var(--spring); }
@container (min-width: 860px) { .ow-tabs { display: none; } }
.ow-layer { position: absolute; inset: 0; pointer-events: none; z-index: 25; }
.ow-sheet .scrim { background: rgba(11,16,38,.35); }
.ow-sheet .sheet { background: #fff; font-family: var(--ox-sans); }
.ow-sheet .sheet h3 { font-weight: 800; font-size: 18px; margin: 2px 0 10px; }
.ow-sheet .grab { background: var(--ox-line); }
@container (min-width: 760px) { .ow-sheet .sheet { width: min(460px, 92%); padding: 24px; } }
.more-list { display: grid; gap: 6px; margin-bottom: 14px; }
.more-list button { display: flex; align-items: center; gap: 12px; height: 50px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--ox-line); background: #FAFBFE; font-weight: 600; font-size: 14px; color: var(--ox-ink); cursor: pointer; text-align: left; }
.more-list button span { flex: 1; }
.more-list .ic { width: 19px; height: 19px; color: var(--ox-muted); }
.ow-toasts { position: absolute; right: 16px; bottom: 82px; width: min(370px, calc(100% - 32px)); display: flex; flex-direction: column; gap: 8px; z-index: 50; pointer-events: none; }
@container (min-width: 860px) { .ow-toasts { bottom: 20px; right: 20px; transition: right .5s var(--ease); } .ow-layer:has(.panel-wrap.open) .ow-toasts { right: 500px; } }
@container (max-width: 859px) { .ow-layer:has(.panel-wrap.open) .ow-toasts { bottom: auto; top: 70px; } }
.sf-toasts.raised { bottom: 92px; }
.otoast { pointer-events: auto; display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border-radius: 16px; background: var(--ox-ink); color: #fff; border: 0; font: inherit; box-shadow: 0 20px 44px -14px rgba(15,23,51,.6); cursor: pointer; animation: slideIn .55s var(--spring) both; }
.otoast.leaving { animation: slideOut .32s var(--ease) forwards; }
.oti { width: 38px; height: 38px; border-radius: 11px; background: var(--ox-blue); display: grid; place-items: center; flex: none; }
.otoast.t-new .oti { animation: ringBlue 1.6s 2; }
.otoast.t-pay .oti { background: #12A150; }
.otoast.t-ok .oti { background: rgba(255,255,255,.12); }
.oti .ic { width: 19px; height: 19px; }
.otb { min-width: 0; }
.otb b { font-size: 13.5px; display: block; }
.otb small { font-size: 12.5px; opacity: .75; display: block; line-height: 1.35; }

/* ---------------- modal ---------------- */
.modal-wrap { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; pointer-events: none; }
.modal-wrap.open { pointer-events: auto; }
.modal-wrap > .scrim { background: rgba(11,16,38,.55); }
.modal { position: relative; width: min(470px, 100%); background: #fff; border-radius: 24px; padding: 26px 24px 22px; box-shadow: 0 40px 80px -30px rgba(11,16,38,.6); transform: translateY(18px) scale(.95); opacity: 0; transition: transform .5s var(--spring), opacity .3s; font-family: var(--ox-sans); color: var(--ox-ink); max-height: calc(100dvh - 32px); overflow-y: auto; }
.modal-wrap.open .modal { transform: none; opacity: 1; }
.modal-x { position: absolute; top: 12px; right: 12px; color: var(--ox-muted); }
.modal-ic { width: 54px; height: 54px; border-radius: 15px; background: #EEF1FF; color: var(--ox-blue); display: grid; place-items: center; margin-bottom: 14px; }
.modal-ic .ic { width: 26px; height: 26px; }
.modal-ic .ox-logo { width: 34px; height: 34px; }
.modal-ic .ox-logo ellipse { stroke: #7C93FF; }
.modal-ic .ox-sat { fill: var(--ox-blue); }
.eyebrow.ox { color: var(--ox-blue); background: #EEF1FF; }
.modal h3 { font-weight: 800; font-size: 22px; margin: 10px 0 6px; letter-spacing: -.015em; }
.modal p { font-size: 14.5px; color: var(--ox-text); line-height: 1.55; margin: 0 0 8px; }
.modal p.sm { font-size: 12.5px; color: var(--ox-muted); }
.modal-a { display: flex; gap: 10px; justify-content: flex-end; margin-top: 18px; flex-wrap: wrap; }
.modal-a .btn { height: 46px; padding: 0 18px; border-radius: 12px; }
.welcome-steps { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 9px; }
.welcome-steps li { display: flex; align-items: center; gap: 11px; font-weight: 600; font-size: 14px; }
.welcome-steps b { width: 26px; height: 26px; border-radius: 50%; background: var(--ox-blue); color: #fff; display: grid; place-items: center; font-size: 12.5px; flex: none; }

/* ---------------- responsive shell ---------------- */
@media (max-width: 1099px) { .wide-only { display: none !important; } }
@media (max-width: 960px) { .db-title, .db-sep { display: none; } }
@media (max-width: 640px) {
  .demobar { height: 54px; padding: 0 10px; gap: 8px; }
  .db-brand { flex: none; }
  .db-logo b { display: none; }
  .db-reset span { display: none; }
  .db-reset { width: 36px; padding: 0; justify-content: center; }
  .db-cta .full { display: none; }
  .db-cta .short { display: inline; }
  .db-cta { padding: 0 11px; }
  .db-seg button { padding: 0 11px; }
}
@media (max-width: 420px) {
  .db-seg .ic, .db-cta .ic { display: none; }
  .db-seg button { padding: 0 10px; font-size: 12.5px; }
}

/* ---------------- keyframes ---------------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes routeIn { from { opacity: 0; transform: translateX(14px); } }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); } }
@keyframes drop { from { transform: translateY(-130%) scale(.96); opacity: 0; } }
@keyframes lift { to { transform: translateY(-130%) scale(.96); opacity: 0; } }
@keyframes toastIn { from { transform: translateY(24px) scale(.9); opacity: 0; } }
@keyframes toastOut { to { transform: translateY(16px) scale(.94); opacity: 0; } }
@keyframes slideIn { from { transform: translateX(40px) scale(.96); opacity: 0; } }
@keyframes slideOut { to { transform: translateX(40px); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sunIn { from { transform: scale(.6); opacity: 0; } }
@keyframes artIn { from { transform: scale(.94); opacity: .4; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(217,98,43,.4); } 70%, 100% { box-shadow: 0 0 0 9px rgba(217,98,43,0); } }
@keyframes ringBlue { 0% { box-shadow: 0 0 0 0 rgba(61,90,254,.5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(61,90,254,0); } }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(31,157,99,.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(31,157,99,0); } }
@keyframes blink { 50% { opacity: .35; } }
@keyframes softPulse { 50% { box-shadow: 0 0 0 5px rgba(217,98,43,.18); } }
@keyframes bump { 0% { transform: scale(1); } 30% { transform: scale(1.08); color: #7CF0B0; } 100% { transform: scale(1); } }
@keyframes freshIn { from { transform: translateY(-14px) scale(.97); opacity: 0; } }
@keyframes freshGlow { 50% { box-shadow: 0 0 0 8px rgba(61,90,254,.06); } }
@keyframes freshBg { 0%, 40% { background: #EEF1FF; } }
@keyframes growBar { from { transform: scaleY(0); } }
@keyframes bubble { from { transform: translateY(8px) scale(.94); opacity: 0; } }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
@keyframes phoneIn { from { transform: translateY(30px) rotate(-2deg); opacity: 0; } }
@keyframes ownerIn { from { transform: translateX(30px); opacity: 0; } }
@keyframes satPulse { 50% { transform: scale(1.25); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   MORE: vouchers at checkout, customers, promos, reports, settings, slip
   ========================================================================== */
.ful.one { grid-template-columns: 1fr; }
.vbox { margin: 10px 0 2px; }
.vrow { display: flex; gap: 8px; }
.vrow input { flex: 1; min-width: 0; height: 42px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--sf-line); background: #FFFDFA; font: inherit; font-size: 15px; text-transform: uppercase; outline: none; transition: border-color .2s, box-shadow .2s; }
.vrow input:focus { border-color: var(--sf-ink); box-shadow: 0 0 0 4px rgba(34,27,22,.08); }
.vrow .btn { height: 42px; }
.vbox .err { margin-top: 6px; }
.vhint { font-size: 12px; color: var(--sf-muted); margin-top: 7px; }
.vhint button { border: 1px dashed #D9A27E; background: #FCF1E8; color: var(--sf-accent-d); font: 700 11.5px var(--mono); padding: 3px 8px; border-radius: 7px; cursor: pointer; }
.vapplied { display: flex; align-items: center; gap: 10px; margin: 10px 0 2px; padding: 10px 12px; border-radius: 14px; background: #EAF4EC; color: #1E5C3A; animation: pop .45s var(--spring); }
.vapplied > .ic { width: 18px; height: 18px; }
.vapplied div { flex: 1; display: flex; flex-direction: column; }
.vapplied b { font-family: var(--mono); font-size: 13.5px; }
.vapplied small { font-size: 12px; }
.link-x { border: 0; background: none; color: inherit; text-decoration: underline; font-size: 12.5px; cursor: pointer; }
.tot .disc { color: var(--sf-ok); font-weight: 600; }
.panel .tot .disc { color: #1F8A5B; }

.switch { position: relative; width: 44px; height: 26px; border-radius: 13px; border: 0; background: #CBD1E1; cursor: pointer; flex: none; transition: background .3s var(--ease); padding: 0; }
.switch i { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(15,23,51,.25); transition: transform .35s var(--spring); }
.switch.on { background: #1F9D63; }
.switch.on i { transform: translateX(18px); }
.blue { color: var(--ox-blue); }

.clist, .vlist, .hbars, .ptable, .slist, .scol, .settings { grid-template-columns: minmax(0, 1fr); }
.clist { display: grid; gap: 8px; }
.crow-o, .vcard, .srow { min-width: 0; width: 100%; }
.crow-o { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--ox-line); background: var(--ox-card); text-align: left; font: inherit; color: var(--ox-ink); cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; animation: rise .4s var(--ease) both; }
.crow-o:hover { border-color: #C9D2FF; box-shadow: 0 10px 24px -18px rgba(15,23,51,.4); transform: translateY(-1px); }
.crow-o > .ic { width: 16px; height: 16px; color: var(--ox-muted); }
.cmain { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cmain b { font-size: 14px; display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.cmain small, .cnum small { color: var(--ox-muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cnum { display: flex; flex-direction: column; align-items: flex-end; }
.cnum b { font-size: 14px; font-weight: 800; }
@container (max-width: 480px) { .cnum small { display: none; } }
.ctag { font-size: 10px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; flex: none; }
.ctag.suki { background: #FFF1D6; color: #9A5B00; }
.ctag.rep { background: #E8EEFF; color: #2F4BD8; }
.ctag.new { background: #E3F5EA; color: #1F7A4E; }
.cav.lg { width: 46px; height: 46px; font-size: 15px; }
.cstats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cstats > div { background: var(--ox-bg); border-radius: 12px; padding: 10px 12px; }
.cstats small { color: var(--ox-muted); font-size: 11.5px; font-weight: 600; }
.cstats b { display: block; font-size: 16px; font-weight: 800; }
.vsend { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.btn-mini.on { background: #EEF1FF; border-color: #C9D2FF; }

.ofield { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; min-width: 0; }
.ofield > span:first-child { font-size: 12.5px; font-weight: 700; color: var(--ox-text); }
.ofield input, .ofield select { font: inherit; font-size: 15px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--ox-line); background: #FAFBFE; color: var(--ox-ink); outline: none; width: 100%; min-width: 0; transition: border-color .2s, box-shadow .2s; }
.ofield input:focus, .ofield select:focus { border-color: var(--ox-blue); box-shadow: 0 0 0 4px rgba(61,90,254,.12); background: #fff; }
.ofield .select .ic { top: 13px; }
.vform { margin-bottom: 12px; }
.vf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
@container (min-width: 860px) { .vf-grid { grid-template-columns: repeat(4, 1fr); } }
.vf-a { display: flex; justify-content: flex-end; }
.vf-a .btn { padding: 0 18px; }
.vform .err { margin: -4px 0 10px; }
.vlist { display: grid; gap: 10px; }
@container (min-width: 1020px) { .vlist { grid-template-columns: 1fr 1fr; } }
.vcard { display: flex; align-items: stretch; background: var(--ox-card); border: 1px solid var(--ox-line); border-radius: 16px; overflow: hidden; animation: rise .4s var(--ease) both; transition: opacity .3s; }
.vcard.off { opacity: .62; }
.vticket { width: 112px; flex: none; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 12px; background: linear-gradient(135deg, #3D5AFE, #6A4DFF); color: #fff; position: relative; }
.vticket::after { content: ''; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ox-card); }
.vcard.off .vticket { background: linear-gradient(135deg, #8E96B3, #A9AFC6); }
.vticket b { font-size: 13px; letter-spacing: .03em; word-break: break-all; }
.vticket span { font-size: 12px; font-weight: 700; opacity: .9; }
.vinfo { flex: 1; min-width: 0; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; }
.vinfo b { font-size: 13.5px; }
.vinfo small { color: var(--ox-muted); font-size: 12px; }
.vuses { display: flex; align-items: center; gap: 4px; margin-top: 4px; }
.vuses .ic { width: 13px; height: 13px; }
.vtog { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 0 14px; }
.vtog small { font-size: 11px; font-weight: 700; color: var(--ox-muted); }

.rep-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.rep-head .filters { margin-bottom: 10px; flex: 1; min-width: 0; }
.rep-head .btn-line { flex: none; }
.rep-head .btn-line .ic { width: 16px; height: 16px; }
.kpis.rep { margin-bottom: 12px; }
.hbars { display: grid; gap: 12px; }
.hbar { display: grid; grid-template-columns: minmax(0, 1.1fr) 1.4fr auto; gap: 10px; align-items: center; animation: rise .4s var(--ease) both; }
.hb-l { min-width: 0; }
.hb-l b { font-size: 13px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hb-l small { color: var(--ox-muted); font-size: 11.5px; }
.hb-t { height: 10px; background: #EEF1F8; border-radius: 5px; overflow: hidden; }
.hb-t i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, #8DA0FF, var(--ox-blue)); transition: width .8s var(--ease); animation: growX .9s var(--ease) both; transform-origin: left; }
.hb-v { font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ptable { display: grid; }
.pt-h, .pt-r { display: grid; grid-template-columns: minmax(0, 1fr) 60px 90px; gap: 10px; align-items: center; padding: 9px 4px; }
.pt-h { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--ox-muted); border-bottom: 1px solid var(--ox-line); }
.pt-h span:not(:first-child), .pt-r > :not(:first-child) { text-align: right; }
.pt-r { border-bottom: 1px solid var(--ox-line); font-size: 13.5px; }
.pt-r:last-child { border-bottom: 0; }
.pt-n { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb.sm { width: 34px; height: 34px; border-radius: 9px; }

.settings { margin-top: 0; align-items: start; }
.scol { display: grid; gap: 12px; min-width: 0; }
@container (min-width: 940px) { .settings { grid-template-columns: 1fr 1fr; } .scol { gap: 14px; } }
.scol .card { margin: 0; }
.slist { display: grid; }
.srow { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--ox-line); transition: opacity .3s; }
.slist .srow:last-child { border-bottom: 0; }
.srow.off { opacity: .55; }
.sr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sr-t b { font-size: 13.5px; }
.sr-t small { color: var(--ox-muted); font-size: 12px; }
.sico { width: 38px; height: 38px; border-radius: 11px; background: var(--ox-bg); color: var(--ox-text); display: grid; place-items: center; flex: none; }
.sico .ic { width: 19px; height: 19px; }
.feein { display: inline-flex; align-items: center; gap: 2px; height: 36px; padding: 0 8px; border-radius: 10px; border: 1px solid var(--ox-line); background: #FAFBFE; font-weight: 700; font-size: 13px; color: var(--ox-muted); }
.feein input { width: 46px; border: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ox-ink); outline: none; text-align: right; -moz-appearance: textfield; }
.feein input::-webkit-outer-spin-button, .feein input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.feein:focus-within { border-color: var(--ox-blue); box-shadow: 0 0 0 4px rgba(61,90,254,.12); }
.feein.wide { align-self: flex-start; height: 44px; padding: 0 12px; }
.feein.wide input { width: 80px; text-align: left; }
.ofield.inline { margin: 12px 0 4px; }
.sh5 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--ox-muted); margin: 14px 0 2px; font-weight: 800; }
.link-row { width: 100%; border: 0; border-bottom: 1px solid var(--ox-line); background: none; text-align: left; font: inherit; color: var(--ox-ink); cursor: pointer; }
.fv { font-size: 10.5px; font-weight: 800; color: var(--ox-blue); background: #EEF1FF; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }

.composer { margin-top: 10px; padding: 10px; border-radius: 14px; background: var(--ox-bg); animation: rise .3s var(--ease); }
.qrs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin-bottom: 8px; }
.qrs::-webkit-scrollbar { display: none; }
.qrs button { flex: none; border: 1px solid var(--ox-line); background: #fff; border-radius: 999px; padding: 6px 10px; font: 600 12px var(--ox-sans); color: var(--ox-text); cursor: pointer; }
.qrs button:hover { border-color: #C9D2FF; color: var(--ox-blue); }
.composer textarea { width: 100%; border: 1px solid var(--ox-line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14px; resize: none; outline: none; background: #fff; color: var(--ox-ink); }
.composer textarea:focus { border-color: var(--ox-blue); box-shadow: 0 0 0 4px rgba(61,90,254,.12); }
.composer-a { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.composer-a small { font-size: 11.5px; }
.composer .btn-ox.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.composer .btn-ox:disabled { opacity: .45; cursor: default; }
.more-list button.on { border-color: #C9D2FF; background: #EEF1FF; color: var(--ox-blue-d); }

.modal-wrap.wide .modal { width: min(560px, 100%); }
.slip { border: 1px dashed #C9CED9; border-radius: 14px; padding: 18px; color: #111; font-family: var(--sans); }
.slip-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px solid #111; }
.slip-h .logo-sinag { height: 26px; color: #111; }
.slip-h div { text-align: right; display: flex; flex-direction: column; }
.slip-h b { font-size: 13px; letter-spacing: .12em; }
.slip-h small { font-family: var(--mono); font-size: 12px; color: #555; }
.slip-to { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; font-size: 13px; border-bottom: 1px solid #DDD; }
.slip-to small { font-size: 10.5px; letter-spacing: .12em; color: #666; font-weight: 700; }
.slip-to b { font-size: 14.5px; }
.slip-t { width: 100%; border-collapse: collapse; font-size: 13px; margin: 10px 0; }
.slip-t th { text-align: left; font-size: 10.5px; letter-spacing: .1em; color: #666; padding: 6px 4px; border-bottom: 1px solid #DDD; }
.slip-t td { padding: 8px 4px; border-bottom: 1px solid #EEE; }
.slip-t td i { display: block; width: 14px; height: 14px; border: 1.5px solid #555; border-radius: 3px; }
.slip-t td:last-child, .slip-t th:last-child { text-align: right; font-weight: 700; }
.slip-pay { text-align: center; font-weight: 800; letter-spacing: .06em; font-size: 14px; padding: 10px; border: 2px solid #111; border-radius: 10px; }
.slip-f { text-align: center; font-size: 11.5px; color: #666; margin: 10px 0 0; }
@keyframes growX { from { transform: scaleX(0); } }

@media print {
  @page { margin: 12mm; }
  html, body { height: auto; overflow: visible; background: #fff; }
  body * { visibility: hidden; }
  #slip, #slip * { visibility: visible; }
  #slip { position: fixed; left: 0; top: 0; width: 100%; border: 0; }
  .modal-wrap > .scrim { display: none; }
}

/* wide layouts, restated after the single-column defaults */
@container (min-width: 560px) { .fgrid, .pays { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 880px) { .co { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); } }

/* closed panels can't be focused or scrolled into view, and the panes themselves never scroll */
.pane { overflow: clip; }
.sheet-wrap, .drawer-wrap, .panel-wrap { visibility: hidden; overflow: clip; transition: visibility 0s linear .55s; }
.sheet-wrap.open, .drawer-wrap.open, .panel-wrap.open { visibility: visible; transition: none; }

/* Orbitrix mark: the white ring needs the brand's dark backdrop on light surfaces */
.ox-mark { object-fit: contain; display: block; }
.ox-logo { width: 44px; height: 44px; flex: none; margin: -5px 0; }
.ow-top .ox-logo { width: 36px; height: 36px; margin: 0; padding: 1px; border-radius: 10px; background: #040712; }
.modal-ic:has(.ox-mark) { width: 64px; height: 64px; background: #040712; }
.modal-ic .ox-mark { width: 56px; height: 56px; }
.ox-mini { width: 46px; height: 46px; }
@container (min-width: 860px) { .ow-top .m-only { display: none; } }
