/* =========================================================================
   FlyPay Nexus — design system
   Marketing: cinematic midnight/cyan. Dashboards: clear, light content area.
   ========================================================================= */
:root {
  --bg-0: #020817;
  --bg-1: #041029;
  --bg-2: #071a3d;
  --bg-3: #0b2557;
  --glass: rgba(10, 30, 72, 0.55);
  --glass-strong: rgba(8, 24, 60, 0.82);
  --line: rgba(56, 189, 248, 0.18);
  --line-strong: rgba(56, 189, 248, 0.42);
  --cyan: #22d3ee;
  --cyan-2: #06b6d4;
  --cyan-glow: rgba(34, 211, 238, 0.45);
  --blue: #2563eb;
  --electric: #1d8cff;
  --text: #eef6ff;
  --text-2: #c3d4f1;
  --muted: #8ea6cf;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-glow: 0 0 0 1px var(--line), 0 18px 50px -18px rgba(14, 116, 255, 0.55);
  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'JetBrains Mono', 'SFMono-Regular', Menlo, Consolas, monospace;
  --max: 1220px;
  /* app (dashboard) palette */
  --app-bg: #f3f6fb;
  --app-card: #ffffff;
  --app-line: #e3e9f3;
  --app-text: #0b1733;
  --app-muted: #5d6b88;
  --app-side: #061433;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text); background: var(--bg-0); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
code, pre, kbd { font-family: var(--mono); font-size: .9em; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--cyan); color: #00121b; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.cyan { color: var(--cyan); }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.stack > * + * { margin-top: 16px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .container { padding: 0 16px; } }

/* ---------- Buttons ---------- */
.btn { --bh: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--bh); padding: 0 20px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--font-body); cursor: pointer; text-decoration: none !important; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s; white-space: nowrap; user-select: none; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.copy-field .btn { flex-shrink: 0; }
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, #2bd9f2 0%, #0ea5e9 55%, #1d8cff 100%); color: #021022; box-shadow: 0 10px 30px -8px var(--cyan-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-primary:hover { box-shadow: 0 14px 40px -6px var(--cyan-glow), inset 0 1px 0 rgba(255,255,255,.35); }
.btn-ghost { background: rgba(255,255,255,0.03); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--cyan); background: rgba(34,211,238,.08); }
.btn-dark { background: #0b1733; color: #fff; }
.btn-light { background: #fff; color: #0b1733; border-color: var(--app-line); }
.btn-light:hover { border-color: #b8c5dd; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-danger-outline { background: #fff; color: #b91c1c; border-color: #fecaca; }
.btn-sm { --bh: 34px; padding: 0 14px; font-size: 13.5px; }
.btn-lg { --bh: 52px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn-icon { display: none; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }

/* ---------- Badges & alerts ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font: 600 12px/1.6 var(--font-body); letter-spacing: .01em; border: 1px solid transparent; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.plain::before { display: none; }
.b-success { color: #15803d; background: #dcfce7; }
.b-warning { color: #b45309; background: #fef3c7; }
.b-danger { color: #b91c1c; background: #fee2e2; }
.b-info { color: #0369a1; background: #e0f2fe; }
.b-neutral { color: #475569; background: #eef2f7; }
.b-sandbox { color: #7c2d12; background: #ffedd5; border-color: #fdba74; }
.dark .b-success { color: #4ade80; background: rgba(34,197,94,.12); }
.dark .b-warning { color: #fbbf24; background: rgba(245,158,11,.12); }
.dark .b-danger { color: #f87171; background: rgba(239,68,68,.12); }
.dark .b-info { color: #67e8f9; background: rgba(34,211,238,.12); }
.dark .b-neutral { color: #cbd5e1; background: rgba(148,163,184,.14); }
.dark .b-sandbox { color: #fdba74; background: rgba(251,146,60,.12); border-color: rgba(251,146,60,.4); }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 12px 16px; border-radius: 12px; border: 1px solid; font-size: 14.5px; }
.alert svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 2px; }
.alert p { margin: 0; }
.alert-success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.alert-info { background: #f0f9ff; border-color: #bae6fd; color: #075985; }
.alert-warning { background: #fffbeb; border-color: #fde68a; color: #92400e; }
.dark .alert-success { background: rgba(34,197,94,.08); border-color: rgba(34,197,94,.35); color: #bbf7d0; }
.dark .alert-error { background: rgba(239,68,68,.08); border-color: rgba(239,68,68,.35); color: #fecaca; }
.dark .alert-info { background: rgba(34,211,238,.07); border-color: rgba(34,211,238,.35); color: #cffafe; }
.dark .alert-warning { background: rgba(245,158,11,.08); border-color: rgba(245,158,11,.35); color: #fde68a; }
.sandbox-banner { background: repeating-linear-gradient(135deg, #fb923c 0 14px, #f97316 14px 28px); color: #1c0a00; font: 700 12.5px/1 var(--font-body); text-align: center; padding: 7px 10px; letter-spacing: .02em; }

/* ---------- Forms ---------- */
.field { display: grid; gap: 6px; }
.field + .field, .field + .row, .row + .field { margin-top: 14px; }
.grid > .field, .grid > .field + .field, .grid > div > .field:first-child { margin-top: 0; }
.label { font-weight: 600; font-size: 13.5px; color: inherit; }
.hint { font-size: 12.5px; color: var(--muted); }
.input, .select, .textarea { width: 100%; min-height: 44px; padding: 10px 14px; border-radius: 10px; font: 15px/1.4 var(--font-body); border: 1px solid; transition: border-color .15s, box-shadow .15s; appearance: none; }
.textarea { min-height: 110px; resize: vertical; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238ea6cf' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.dark .input, .dark .select, .dark .textarea { background-color: rgba(3, 12, 34, .7); color: var(--text); border-color: var(--line-strong); }
.dark .input::placeholder, .dark .textarea::placeholder { color: #6681ad; }
.light .input, .light .select, .light .textarea { background-color: #fff; color: var(--app-text); border-color: #cfd8e8; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--cyan-2); box-shadow: 0 0 0 3px rgba(34, 211, 238, .22); }
.input[aria-invalid='true'], .select[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: var(--danger); }
.field-error { color: #ef4444; font-size: 12.5px; font-weight: 500; }
.dark .field-error { color: #fca5a5; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan-2); flex: 0 0 18px; }
.input-group { display: flex; }
.input-group .input { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.input-group .btn { border-radius: 0 10px 10px 0; --bh: 44px; }
.input-prefix { display: flex; align-items: stretch; }
.input-prefix .select { width: 110px; border-radius: 10px 0 0 10px; border-right: 0; }
.input-prefix .input { border-radius: 0 10px 10px 0; }
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 46px; }
.pw-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 8px; }
.pw-toggle svg { width: 18px; height: 18px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 600; font-size: 13.5px; margin-bottom: 8px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.choice { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #d6deec; border-radius: 10px; cursor: pointer; font-size: 14px; background: #fff; }
.choice:has(input:checked) { border-color: var(--cyan-2); box-shadow: 0 0 0 3px rgba(34,211,238,.15); }
.choice input { accent-color: var(--cyan-2); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; transition: background .25s, box-shadow .25s, backdrop-filter .25s; }
.site-header.is-scrolled, .site-header.solid { background: rgba(2, 8, 23, .82); backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav-wrap { display: flex; align-items: center; gap: 28px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font: 700 22px/1 var(--font-display); letter-spacing: -0.02em; text-decoration: none !important; flex-shrink: 0; }
.logo svg { width: 34px; height: 34px; filter: drop-shadow(0 0 10px var(--cyan-glow)); }
.logo .accent { color: var(--cyan); }
.main-nav { display: flex; align-items: center; gap: 4px; flex: 1; }
.main-nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-link, .nav-trigger { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 12px; color: var(--text-2); font: 500 14.5px/1 var(--font-body); border-radius: 10px; background: none; border: 0; cursor: pointer; text-decoration: none !important; position: relative; }
.nav-link:hover, .nav-trigger:hover, .nav-trigger[aria-expanded='true'] { color: #fff; background: rgba(255,255,255,.05); }
.nav-link.active, .nav-trigger.active { color: var(--cyan); }
.nav-link.active::after, .nav-trigger.active::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.nav-trigger svg { width: 14px; height: 14px; transition: transform .2s; }
.nav-trigger[aria-expanded='true'] svg { transform: rotate(180deg); }
.has-dropdown { position: relative; }
.dropdown { position: absolute; top: calc(100% + 10px); left: -8px; min-width: 300px; padding: 10px; border-radius: 16px; background: var(--glass-strong); backdrop-filter: blur(18px); border: 1px solid var(--line-strong); box-shadow: 0 24px 60px -16px rgba(0,0,0,.7); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.dropdown.wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: flex; gap: 12px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none !important; }
.dropdown a:hover, .dropdown a:focus-visible { background: rgba(34,211,238,.09); }
.dropdown .dd-icon { flex: 0 0 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: rgba(34,211,238,.1); color: var(--cyan); border: 1px solid var(--line); }
.dropdown .dd-icon svg { width: 17px; height: 17px; }
.dropdown strong { display: block; font-size: 14px; font-weight: 600; }
.dropdown small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lang-select { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text-2); font: 600 13px/1 var(--font-body); cursor: pointer; }
.lang-btn svg { width: 16px; height: 16px; }
.lang-select .dropdown { left: auto; right: 0; min-width: 190px; }
.lang-select .dropdown button { display: flex; width: 100%; justify-content: space-between; padding: 10px 12px; border: 0; background: none; color: var(--text); font: 500 14px var(--font-body); border-radius: 10px; cursor: pointer; text-align: left; }
.lang-select .dropdown button:hover { background: rgba(34,211,238,.09); }
.lang-select .dropdown button[aria-current='true'] { color: var(--cyan); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,.03); color: #fff; align-items: center; justify-content: center; cursor: pointer; margin-left: auto; }
.menu-toggle svg { width: 22px; height: 22px; }
.mobile-panel { display: none; }
@media (max-width: 1080px) {
  .main-nav, .nav-actions .hide-md { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-actions { margin-left: 0; }
  .mobile-panel { display: block; position: fixed; inset: 76px 0 0 0; background: rgba(2, 8, 23, .97); backdrop-filter: blur(16px); z-index: 49; padding: 18px 20px 40px; overflow-y: auto; transform: translateX(100%); transition: transform .28s ease; visibility: hidden; }
  .mobile-panel.open { transform: none; visibility: visible; }
  .mobile-panel ul { list-style: none; margin: 0; padding: 0; }
  .mobile-panel details { border-bottom: 1px solid var(--line); }
  .mobile-panel summary, .mobile-panel .m-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; font: 600 17px var(--font-body); color: var(--text); cursor: pointer; list-style: none; text-decoration: none !important; border-bottom: 1px solid var(--line); }
  .mobile-panel details summary { border-bottom: 0; }
  .mobile-panel summary::-webkit-details-marker { display: none; }
  .mobile-panel details[open] summary svg { transform: rotate(180deg); }
  .mobile-panel summary svg { width: 18px; height: 18px; transition: transform .2s; }
  .mobile-panel details a { display: block; padding: 10px 14px; color: var(--text-2); font-size: 15px; }
  .mobile-panel details > div { padding-bottom: 12px; }
  .mobile-panel .m-actions { display: grid; gap: 10px; margin-top: 22px; }
  .mobile-panel .m-lang { display: flex; gap: 8px; margin-top: 18px; }
  body.menu-open { overflow: hidden; }
}
@media (max-width: 480px) { .nav-actions .btn-getstarted { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; margin-top: -76px; padding-top: 76px; min-height: min(100vh, 900px); overflow: hidden; isolation: isolate; background: radial-gradient(1200px 700px at 78% 40%, rgba(29, 140, 255, .22), transparent 60%), radial-gradient(800px 500px at 10% 0%, rgba(34, 211, 238, .08), transparent 60%), linear-gradient(180deg, #020817 0%, #031030 60%, #020817 100%); }
.starfield { position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(1px 1px at 12% 18%, rgba(255,255,255,.7) 50%, transparent 51%), radial-gradient(1px 1px at 32% 72%, rgba(255,255,255,.5) 50%, transparent 51%), radial-gradient(1.4px 1.4px at 52% 12%, rgba(173,216,255,.8) 50%, transparent 51%), radial-gradient(1px 1px at 68% 88%, rgba(255,255,255,.45) 50%, transparent 51%), radial-gradient(1px 1px at 88% 22%, rgba(255,255,255,.6) 50%, transparent 51%), radial-gradient(1.2px 1.2px at 22% 42%, rgba(173,216,255,.6) 50%, transparent 51%), radial-gradient(1px 1px at 76% 52%, rgba(255,255,255,.4) 50%, transparent 51%), radial-gradient(1px 1px at 6% 86%, rgba(255,255,255,.5) 50%, transparent 51%), radial-gradient(1px 1px at 44% 34%, rgba(255,255,255,.35) 50%, transparent 51%), radial-gradient(1.3px 1.3px at 94% 64%, rgba(173,216,255,.7) 50%, transparent 51%); background-size: 600px 600px; opacity: .8; }
.globe-wrap { position: absolute; z-index: -1; right: -9%; top: 40px; width: min(62vw, 900px); aspect-ratio: 1; pointer-events: none; }
.globe-wrap canvas { width: 100%; height: 100%; position: relative; }
.globe-photo { position: absolute; left: calc(53% - 21vw); top: 62%; width: 72%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 18px 34px rgba(0, 10, 36, .55)); }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; padding-top: 30px; padding-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 700 15px/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 22px; }
.eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.hero-slides { position: relative; min-height: 4.3em; font-size: clamp(38px, 4.9vw, 66px); margin-bottom: 18px; }
.hero-slide { position: absolute; inset: 0 0 auto 0; margin: 0; font: 800 1em/1.02 var(--font-display); letter-spacing: -0.035em; color: #fff; opacity: 0; transform: translateY(18px); transition: opacity .15s ease, transform .15s ease; pointer-events: none; }
.hero-slide.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; transition: opacity .55s ease .15s, transform .55s cubic-bezier(.2,.7,.2,1) .15s; }
.hero-person-m { display: none; }
.hero-slide.is-long { font-size: .62em; line-height: 1.12; letter-spacing: -0.025em; }
.hero-slide .hl { color: var(--cyan); text-shadow: 0 0 34px rgba(34, 211, 238, .45); }
.hero-slide .line { display: block; }
.slide-dots { display: flex; gap: 8px; margin: -6px 0 22px; }
.slide-dots button { width: 26px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255,255,255,.18); cursor: pointer; }
.slide-dots button[aria-current='true'] { background: var(--cyan); box-shadow: 0 0 10px var(--cyan); width: 40px; }
.slide-pause { background: none; border: 0; color: var(--muted); font: 600 12px var(--font-body); cursor: pointer; padding: 0 4px; }
.claims-note { font-size: 12px; color: #fdba74; margin: -10px 0 18px; max-width: 520px; }
.hero-copy { max-width: 520px; color: var(--text-2); font-size: 17px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin: 26px 0 30px; }
.network { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.network-graph { position: relative; width: 300px; height: 210px; flex-shrink: 0; }
.network-graph svg.links { position: absolute; inset: 0; width: 100%; height: 100%; }
.node { position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #0b2a66, #0a1a40); border: 2px solid rgba(34, 211, 238, .65); box-shadow: 0 0 18px rgba(34, 211, 238, .35); color: #dff9ff; transform: translate(-50%, -50%); }
.node svg { width: 22px; height: 22px; }
.node.sm { width: 40px; height: 40px; }
.node.sm svg { width: 18px; height: 18px; }
.global-card { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 12px 16px; min-width: 160px; text-align: center; border-radius: 14px; background: var(--glass-strong); border: 1px solid var(--line-strong); box-shadow: var(--shadow-glow); }
.global-card .gc-label { font-size: 12px; color: var(--text-2); }
.global-card .gc-value { font: 700 22px/1.2 var(--font-display); color: #fff; }
.global-card .gc-meta { font-size: 11px; color: var(--muted); }
.network-tag { font: 600 22px/1.25 var(--font-display); color: #fff; }
.network-tag span { color: var(--cyan); display: block; }
.activity-card { position: relative; align-self: end; justify-self: end; width: min(100%, 430px); margin-top: 300px; border-radius: 18px; background: rgba(5, 18, 48, .72); backdrop-filter: blur(16px) saturate(140%); border: 1px solid var(--line-strong); box-shadow: var(--shadow-glow); overflow: hidden; }
.activity-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.activity-head h2 { font: 600 15px/1 var(--font-body); margin: 0; letter-spacing: 0; }
.activity-head a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--text-2); border: 1px solid var(--line); }
.activity-head a:hover { color: var(--cyan); border-color: var(--cyan); }
.activity-head a svg { width: 16px; height: 16px; }
.activity-list { list-style: none; margin: 0; padding: 6px 8px 10px; }
.activity-list li a, .activity-list li > div { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px; border-radius: 12px; color: var(--text); text-decoration: none !important; }
.activity-list li a:hover { background: rgba(34,211,238,.07); }
.activity-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(29,140,255,.16); color: var(--cyan); border: 1px solid var(--line); }
.activity-icon svg { width: 18px; height: 18px; }
.activity-title { font-weight: 600; font-size: 14px; line-height: 1.3; }
.activity-sub { font-size: 12px; color: var(--muted); }
.activity-amt { text-align: right; font: 600 14px/1.3 var(--font-body); }
.activity-amt small { display: block; font-size: 11.5px; font-weight: 600; }
.activity-empty { padding: 22px 18px 24px; color: var(--text-2); font-size: 14px; }
.demo-label { display: inline-block; margin: 0 18px 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fdba74; }
@media (max-width: 1080px) {
  .hero { min-height: 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .globe-wrap { right: -30%; top: 90px; width: 95vw; opacity: .55; }
  .globe-photo { display: none; }
  .hero-person-m { display: block; margin: 0 auto 26px; width: min(100%, 460px); background: radial-gradient(closest-side, rgba(29, 140, 255, .42), transparent); }
  .hero-person-m img { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 26px rgba(0, 10, 36, .5)); }
  .activity-card { margin-top: 10px; justify-self: stretch; width: 100%; }
}
@media (max-width: 640px) { .hero-slides { min-height: 5.4em; } .network-graph { width: 260px; height: 190px; } .globe-wrap { right: -55%; top: 120px; width: 140vw; opacity: .4; } }

/* ---------- Marketing sections ---------- */
.section { padding: 96px 0; position: relative; }
.section.tight { padding: 64px 0; }
.section-alt { background: linear-gradient(180deg, rgba(7, 26, 61, .55), rgba(2, 8, 23, 0)); border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sol-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 48px; align-items: center; margin-bottom: 48px; }
.sol-intro .section-head { margin-bottom: 0; }
.sol-intro img { display: block; width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line-strong); box-shadow: 0 30px 60px -28px rgba(0, 12, 40, .75); }
@media (max-width: 900px) { .sol-intro { grid-template-columns: minmax(0, 1fr); gap: 26px; } }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.section-head p { color: var(--text-2); font-size: 17.5px; }
.kicker { font: 700 14.5px/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; display: block; }
.card { position: relative; padding: 26px; border-radius: var(--radius-lg); background: linear-gradient(180deg, rgba(13, 37, 86, .55), rgba(6, 20, 52, .55)); border: 1px solid var(--line); transition: border-color .2s, transform .2s, box-shadow .2s; }
.card.hoverable:hover { border-color: var(--line-strong); transform: translateY(-3px); box-shadow: var(--shadow-glow); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; margin: 0; }
.card .card-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 16px; font-weight: 600; font-size: 14.5px; }
.card .card-link svg { width: 16px; height: 16px; }
.icon-tile { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(145deg, rgba(34,211,238,.22), rgba(29,140,255,.12)); border: 1px solid var(--line-strong); color: var(--cyan); box-shadow: 0 0 24px -6px var(--cyan-glow); }
.icon-tile svg { width: 24px; height: 24px; }
.card-stretched a.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.method-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(8, 24, 60, .6); font-weight: 600; font-size: 15px; }
.method-pill .dot { width: 10px; height: 10px; border-radius: 50%; }
.status-chip { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: rgba(251,146,60,.14); color: #fdba74; border: 1px solid rgba(251,146,60,.35); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse > :first-child { order: 0; } .section { padding: 72px 0; } }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: var(--text-2); }
.check-list li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--cyan); margin-top: 2px; }
.mock { border-radius: 20px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, #0a1d48, #061433); box-shadow: var(--shadow-glow); overflow: hidden; }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.mock-body { padding: 20px; }
.mock-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.mock-kpi { padding: 12px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.mock-kpi small { display: block; color: var(--muted); font-size: 11.5px; }
.mock-kpi b { font: 700 17px var(--font-display); }
.mock-row { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-2); }
.code-block { position: relative; background: #020a1d; border: 1px solid var(--line-strong); border-radius: 16px; padding: 18px 20px; overflow-x: auto; font-size: 13.5px; line-height: 1.65; color: #cfe8ff; }
.code-block pre { margin: 0; white-space: pre; }
.code-block .tok-k { color: #67e8f9; }
.code-block .tok-s { color: #a5f3fc; }
.code-block .tok-c { color: #6b86b3; }
.copy-btn { position: absolute; top: 10px; right: 10px; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { counter-increment: step; }
.step::before { content: counter(step, decimal-leading-zero); display: block; font: 800 34px var(--font-display); color: transparent; -webkit-text-stroke: 1px var(--cyan); margin-bottom: 10px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.pricing-toggle { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); background: rgba(3, 12, 34, .6); margin: 0 auto 36px; }
.pricing-toggle button { border: 0; background: none; color: var(--text-2); font: 600 14px var(--font-body); padding: 9px 18px; border-radius: 999px; cursor: pointer; }
.pricing-toggle button[aria-pressed='true'] { background: var(--cyan); color: #021022; }
.price-card { display: flex; flex-direction: column; }
.price-card.featured { background: linear-gradient(180deg, rgba(34, 211, 238, .2), rgba(29, 140, 255, .12)); border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), 0 30px 70px -24px rgba(34,211,238,.55); }
.price { font: 800 42px/1 var(--font-display); margin: 18px 0 4px; }
.price small { font: 500 15px var(--font-body); color: var(--muted); }
.price-card ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; flex: 1; }
.price-card li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.price-card li svg { width: 18px; height: 18px; color: var(--cyan); flex: 0 0 18px; margin-top: 3px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: rgba(8, 24, 60, .45); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 18px; height: 18px; color: var(--cyan); transition: transform .2s; flex-shrink: 0; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 22px 18px; color: var(--text-2); }
.cta-band { border-radius: 28px; padding: 56px; background: radial-gradient(600px 300px at 85% 0%, rgba(34,211,238,.25), transparent 70%), linear-gradient(135deg, #0a2a6b, #061433); border: 1px solid var(--line-strong); box-shadow: var(--shadow-glow); }
@media (max-width: 640px) { .cta-band { padding: 32px 22px; } }
.page-hero { padding: 72px 0 40px; background: radial-gradient(900px 400px at 80% -10%, rgba(29,140,255,.25), transparent 70%); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(34px, 5vw, 56px); max-width: 860px; }
.page-hero p.lead { font-size: 18px; color: var(--text-2); max-width: 720px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumbs a { color: var(--muted); }
.prose { color: var(--text-2); max-width: 780px; }
.prose h2 { color: #fff; font-size: 26px; margin-top: 1.8em; }
.prose h3 { color: #fff; font-size: 19px; margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 6px 0; }
.prose code { background: rgba(34,211,238,.08); padding: 1px 6px; border-radius: 6px; color: #a5f3fc; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.prose th { color: #fff; }
.docs-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; padding: 48px 0 96px; }
.docs-nav { position: sticky; top: 100px; align-self: start; display: grid; gap: 2px; }
.docs-nav a { padding: 8px 12px; border-radius: 8px; color: var(--text-2); font-size: 14.5px; }
.docs-nav a:hover, .docs-nav a.active { background: rgba(34,211,238,.08); color: var(--cyan); text-decoration: none; }
.docs-nav .group { font: 700 11.5px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 16px 12px 6px; }
@media (max-width: 900px) { .docs-layout { grid-template-columns: 1fr; } .docs-nav { position: static; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); } }
.endpoint { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: 14px; padding: 10px 14px; border-radius: 10px; background: rgba(2, 10, 29, .8); border: 1px solid var(--line); margin: 10px 0; flex-wrap: wrap; }
.verb { font-weight: 700; font-size: 12px; padding: 3px 8px; border-radius: 6px; }
.verb.get { background: rgba(34,197,94,.15); color: #4ade80; }
.verb.post { background: rgba(34,211,238,.15); color: #67e8f9; }
.verb.patch { background: rgba(245,158,11,.15); color: #fbbf24; }
.verb.delete { background: rgba(239,68,68,.15); color: #f87171; }
.blog-card img, .blog-thumb { width: 100%; aspect-ratio: 16/9; border-radius: 14px; margin-bottom: 16px; border: 1px solid var(--line); }
.blog-thumb { display: grid; place-items: center; background: radial-gradient(circle at 30% 30%, rgba(34,211,238,.35), transparent 60%), linear-gradient(135deg, #0b2a66, #061433); color: var(--cyan); }
.blog-thumb svg { width: 56px; height: 56px; opacity: .9; }
.meta { font-size: 13px; color: var(--muted); }
.status-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); gap: 12px; flex-wrap: wrap; }
.status-row:last-child { border-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: linear-gradient(180deg, #020817, #010512); padding: 64px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.5fr; gap: 32px; }
.footer-grid h3 { font: 700 13px var(--font-body); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--text-2); font-size: 14.5px; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text-2); }
.social a:hover { color: var(--cyan); border-color: var(--cyan); }
.social svg { width: 17px; height: 17px; }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child, .footer-grid > :last-child { grid-column: 1 / -1; } }

/* ---------- Auth ---------- */
.auth-shell { min-height: calc(100vh - 76px); display: grid; grid-template-columns: 1fr 1fr; }
.auth-aside { position: relative; overflow: hidden; padding: 64px; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(700px 500px at 30% 20%, rgba(29,140,255,.35), transparent 70%), linear-gradient(160deg, #061a45, #020817); border-right: 1px solid var(--line); }
.auth-aside h2 { font-size: 38px; }
.auth-aside p { color: var(--text-2); max-width: 420px; }
.auth-main { display: grid; place-items: center; padding: 48px 24px; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card h1 { font-size: 30px; margin-bottom: 6px; }
.auth-card .sub { color: var(--muted); margin-bottom: 26px; }
.auth-foot { margin-top: 22px; font-size: 14.5px; color: var(--text-2); text-align: center; }
@media (max-width: 900px) { .auth-shell { grid-template-columns: 1fr; } .auth-aside { display: none; } }

/* =========================================================================
   App shell (merchant dashboard, admin)
   ========================================================================= */
body.app { background: var(--app-bg); color: var(--app-text); }
.app-shell { display: grid; grid-template-columns: 252px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--app-side); color: #cfe0ff; padding: 18px 14px 24px; display: flex; flex-direction: column; gap: 6px; }
.sidebar .logo { font-size: 19px; padding: 6px 8px 18px; }
.sidebar .logo svg { width: 30px; height: 30px; }
.side-group { font: 700 11px var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #6f87b5; padding: 14px 10px 6px; }
.side-link { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 10px; color: #c3d4f1; font-size: 14.5px; font-weight: 500; text-decoration: none !important; }
.side-link svg { width: 18px; height: 18px; opacity: .85; }
.side-link:hover { background: rgba(255,255,255,.06); color: #fff; }
.side-link.active { background: linear-gradient(90deg, rgba(34,211,238,.18), rgba(34,211,238,.04)); color: var(--cyan); box-shadow: inset 2px 0 0 var(--cyan); }
.side-link .count { margin-left: auto; background: var(--cyan); color: #021022; font-size: 11px; font-weight: 700; border-radius: 999px; padding: 1px 7px; }
.side-foot { margin-top: auto; padding: 12px 10px 0; font-size: 12.5px; color: #6f87b5; }
.topbar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; height: 66px; padding: 0 28px; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--app-line); }
.topbar .page-title { font: 700 18px var(--font-display); margin: 0; }
.topbar-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.icon-btn { position: relative; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--app-line); background: #fff; color: #334155; cursor: pointer; }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn .dot { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.profile-menu { position: relative; }
.profile-btn { display: flex; align-items: center; gap: 10px; padding: 4px 10px 4px 4px; border-radius: 999px; border: 1px solid var(--app-line); background: #fff; cursor: pointer; font: 600 14px var(--font-body); color: var(--app-text); }
.avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #22d3ee, #2563eb); color: #fff; font-weight: 700; font-size: 13px; }
.menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 230px; background: #fff; border: 1px solid var(--app-line); border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(15,23,42,.35); padding: 8px; display: none; z-index: 40; }
.menu-pop.open { display: block; }
.menu-pop a, .menu-pop button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 8px; color: var(--app-text); font: 500 14px var(--font-body); background: none; border: 0; cursor: pointer; text-decoration: none !important; text-align: left; }
.menu-pop a:hover, .menu-pop button:hover { background: #f1f5fb; }
.menu-pop svg { width: 16px; height: 16px; color: var(--app-muted); }
.menu-pop .menu-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--app-line); margin-bottom: 6px; font-size: 13px; color: var(--app-muted); }
.menu-pop .menu-head b { display: block; color: var(--app-text); font-size: 14px; }
.app-main { padding: 28px; min-width: 0; }
.app-main h2 { font-size: 19px; }
.side-toggle { display: none; }
.side-scrim { display: none; }
@media (max-width: 1000px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; z-index: 60; left: 0; top: 0; width: 272px; transform: translateX(-100%); transition: transform .25s; box-shadow: 0 0 60px rgba(0,0,0,.4); }
  .sidebar.open { transform: none; }
  .side-toggle { display: grid; }
  .topbar { padding: 0 16px; }
  .app-main { padding: 18px 16px; }
  .side-scrim { position: fixed; inset: 0; background: rgba(2,8,23,.5); z-index: 55; display: none; }
  .side-scrim.open { display: block; }
}
.panel { background: var(--app-card); border: 1px solid var(--app-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.panel + .panel, .panel + .grid, .grid + .panel, .alert + .panel, .panel + .alert { margin-top: 20px; }
.grid > .panel, .grid > .panel + .panel { margin-top: 0; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--app-line); flex-wrap: wrap; }
.panel-head h2, .panel-head h3 { font-size: 16px; margin: 0; }
.panel-body { padding: 20px; }
.panel-foot { padding: 14px 20px; border-top: 1px solid var(--app-line); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13.5px; color: var(--app-muted); }
.kpi { padding: 18px 20px; }
.kpi .kpi-label { font-size: 13px; color: var(--app-muted); display: flex; align-items: center; gap: 8px; }
.kpi .kpi-label svg { width: 16px; height: 16px; }
.kpi .kpi-value { font: 700 26px/1.2 var(--font-display); margin-top: 6px; letter-spacing: -0.02em; }
.kpi .kpi-sub { font-size: 12.5px; color: var(--app-muted); margin-top: 2px; }
.table-wrap { overflow-x: auto; }
table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 600 12px var(--font-body); color: var(--app-muted); text-transform: uppercase; letter-spacing: .05em; padding: 11px 16px; background: #f8fafd; border-bottom: 1px solid var(--app-line); white-space: nowrap; }
.table td { padding: 13px 16px; border-bottom: 1px solid #edf1f7; vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fafcff; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table a.row-link { color: var(--app-text); font-weight: 600; }
.table a.row-link:hover { color: #0284c7; }
.empty { text-align: center; padding: 48px 20px; color: var(--app-muted); }
.empty svg { width: 42px; height: 42px; margin: 0 auto 12px; color: #9fb0cc; }
.empty h3 { color: var(--app-text); font-size: 17px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; padding: 14px 20px; border-bottom: 1px solid var(--app-line); background: #fbfcfe; }
.filters .field { min-width: 140px; flex: 1 1 140px; margin: 0 !important; }
.filters .field.grow { flex: 2 1 220px; }
.filters .input, .filters .select { min-height: 38px; padding-top: 7px; padding-bottom: 7px; font-size: 14px; }
.filters .btn { --bh: 38px; }
.pagination { display: flex; gap: 6px; align-items: center; }
.dl { display: grid; grid-template-columns: 180px 1fr; gap: 10px 18px; font-size: 14.5px; margin: 0; }
.dl dt { color: var(--app-muted); }
.dl dd { margin: 0; word-break: break-word; }
@media (max-width: 560px) { .dl { grid-template-columns: 1fr; gap: 2px; } .dl dd { margin-bottom: 10px; } }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--app-line); padding: 0 12px; overflow-x: auto; }
.tabs a, .tabs button { padding: 12px 14px; color: var(--app-muted); font: 600 14px var(--font-body); border: 0; background: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; text-decoration: none !important; }
.tabs [aria-selected='true'], .tabs a.active { color: #0284c7; border-bottom-color: #06b6d4; }
.chart { width: 100%; height: auto; }
.chart text { font: 11px var(--font-body); fill: #64748b; }
.legend { display: grid; gap: 8px; font-size: 13.5px; }
.legend div { display: flex; align-items: center; gap: 8px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.legend span:last-child { margin-left: auto; color: var(--app-muted); font-variant-numeric: tabular-nums; }
.bar-list { display: grid; gap: 12px; }
.bar-list .bl-row { display: grid; grid-template-columns: 140px 1fr 70px; gap: 10px; align-items: center; font-size: 13.5px; }
.bar-list .bl-track { height: 8px; border-radius: 6px; background: #edf2f8; overflow: hidden; }
.bar-list .bl-fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, #22d3ee, #2563eb); }
.copy-field { display: flex; gap: 8px; }
.copy-field .input { font-family: var(--mono); font-size: 13px; }
.secret-box { padding: 14px; border-radius: 12px; background: #0b1733; color: #a5f3fc; font-family: var(--mono); font-size: 14px; word-break: break-all; }
.steps-v { display: grid; gap: 12px; counter-reset: s; }
.steps-v .sv { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border: 1px solid var(--app-line); border-radius: 12px; }
.steps-v .sv .num { flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #e0f7fb; color: #0e7490; font-weight: 700; font-size: 14px; }
.steps-v .sv.done .num { background: #dcfce7; color: #15803d; }
.line-items .li-row { display: grid; grid-template-columns: 1fr 90px 140px 120px 40px; gap: 8px; align-items: center; margin-bottom: 8px; }
@media (max-width: 720px) { .line-items .li-row { grid-template-columns: 1fr 1fr; } }
.dialog { border: 0; border-radius: 18px; padding: 0; width: min(520px, calc(100vw - 32px)); box-shadow: 0 40px 100px -20px rgba(2,8,23,.6); color: var(--app-text); }
.dialog::backdrop { background: rgba(2, 8, 23, .55); backdrop-filter: blur(3px); }
.dialog .panel-body { padding: 24px; }
.dialog h2 { font-size: 19px; }
.toast-region { position: fixed; bottom: 20px; right: 20px; z-index: 200; display: grid; gap: 10px; }
.toast { background: #0b1733; color: #fff; padding: 12px 16px; border-radius: 12px; font-size: 14px; box-shadow: 0 20px 40px -12px rgba(0,0,0,.5); display: flex; gap: 10px; align-items: center; animation: toastIn .25s ease; border-left: 3px solid var(--cyan); }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } }
.qr { width: 168px; height: 168px; padding: 8px; background: #fff; border-radius: 12px; border: 1px solid var(--app-line); }
.notif-list li { display: flex; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--app-line); }
.notif-list li.unread { background: #f3fbff; }
.notif-list li:last-child { border-bottom: 0; }

/* ---------- Checkout & storefront (light, clean) ---------- */
body.checkout { background: radial-gradient(900px 500px at 50% -10%, rgba(34,211,238,.18), transparent 70%), #eef3fa; color: var(--app-text); min-height: 100vh; }
.checkout-wrap { max-width: 1000px; margin: 0 auto; padding: 28px 18px 60px; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 22px; align-items: start; }
@media (max-width: 860px) { .checkout-grid { grid-template-columns: 1fr; } }
.merchant-id { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.merchant-logo { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; font: 700 18px var(--font-display); overflow: hidden; }
.merchant-logo img { width: 100%; height: 100%; object-fit: cover; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; font-size: 14.5px; border-bottom: 1px dashed var(--app-line); }
.summary-total { display: flex; justify-content: space-between; padding: 16px 0 4px; font: 700 20px var(--font-display); }
.pay-methods { display: grid; gap: 8px; }
.pay-method { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border: 1px solid #d6deec; border-radius: 12px; cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.pay-method:has(input:checked) { border-color: #06b6d4; box-shadow: 0 0 0 3px rgba(34,211,238,.18); }
.pay-method input { accent-color: #06b6d4; width: 18px; height: 18px; }
.pay-method .pm-logo { width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; color: #fff; font: 800 11px var(--font-body); }
.pay-method .pm-name { font-weight: 600; }
.pay-method .pm-kind { font-size: 12.5px; color: var(--app-muted); }
.pm-lock { width: 40px; height: 40px; border-radius: 10px; background: #e0f7fb; color: #0e7490; display: grid; place-items: center; flex-shrink: 0; }
.pm-lock svg { width: 20px; height: 20px; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 12.5px; color: var(--app-muted); margin-top: 14px; }
.secure-note svg { width: 14px; height: 14px; }
.status-hero { text-align: center; padding: 34px 24px 26px; }
.status-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; }
.status-icon svg { width: 38px; height: 38px; }
.status-icon.ok { background: #dcfce7; color: #16a34a; }
.status-icon.bad { background: #fee2e2; color: #dc2626; }
.status-icon.wait { background: #e0f2fe; color: #0284c7; }
.status-icon.wait svg { animation: spin 1.6s linear infinite; }
.store-hero { border-radius: 22px; padding: 44px; color: #fff; background: radial-gradient(500px 260px at 85% 20%, rgba(34,211,238,.35), transparent 70%), linear-gradient(135deg, #0a2a6b, #061433); margin-bottom: 26px; }
.store-hero h1 { font-size: clamp(28px, 4vw, 42px); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.product-card { background: #fff; border: 1px solid var(--app-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.product-img { aspect-ratio: 4/3; background: linear-gradient(135deg, #e0f7fb, #dbeafe); display: grid; place-items: center; color: #0e7490; }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-img svg { width: 46px; height: 46px; }
.product-card .pc-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .pc-price { font: 700 16px var(--font-display); }
.cart-bar { position: sticky; bottom: 14px; margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-radius: 16px; background: #0b1733; color: #fff; box-shadow: 0 20px 50px -20px rgba(2,8,23,.6); flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--app-line); border-radius: 10px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: #f4f7fb; cursor: pointer; font-size: 17px; }
.qty input { width: 44px; height: 34px; border: 0; text-align: center; font: 600 14px var(--font-body); }

/* ---------- Print ---------- */
@media print {
  .no-print, .sidebar, .topbar, .site-header, .site-footer, .sandbox-banner { display: none !important; }
  body, body.app { background: #fff !important; color: #000; }
  .app-shell { display: block; }
  .app-main { padding: 0; }
  .panel { border: 0; box-shadow: none; }
}

/* ---------- Map ---------- */
.map-box { position: relative; height: 440px; border-radius: 14px; overflow: hidden; background: #071a3d; }
.map-box svg { width: 100%; height: 100%; }
.map-box .leaflet-container { height: 100%; background: #0a1d48; }
.precision-note { font-size: 12.5px; color: var(--app-muted); }
.cluster-marker { background: rgba(34,211,238,.85); color: #021022; border-radius: 50%; display: grid; place-items: center; font: 700 12px var(--font-body); border: 2px solid #fff; box-shadow: 0 0 14px rgba(34,211,238,.8); }

/* payment-method logos: small tiles, grow on hover */
.method-pill { gap: 8px; padding: 7px 12px; font-size: 13.5px; border-radius: 12px; transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.method-pill:hover { border-color: rgba(125, 211, 252, .55); background: rgba(14, 40, 92, .75); }
.method-pill .logo, .pm-logo.has-logo {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  background: #fff; border-radius: 7px; padding: 2px 5px;
  box-shadow: 0 1px 2px rgba(2, 8, 23, .35), inset 0 0 0 1px rgba(15, 23, 42, .06);
  transform-origin: center; position: relative; z-index: 1;
  transition: transform .26s cubic-bezier(.2, .8, .2, 1), box-shadow .26s ease;
  will-change: transform;
}
.method-pill .logo { width: 34px; height: 21px; padding: 2px 4px; border-radius: 6px; }
.method-pill .logo + .logo { margin-left: -2px; }
.method-pill .logo.wide { width: 56px; }
.method-pill .logo img, .pm-logo.has-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.method-pill .logo.dark, .pm-logo.has-logo.dark { background: linear-gradient(135deg, #0b1733, #12306b); box-shadow: 0 1px 2px rgba(2, 8, 23, .5), inset 0 0 0 1px rgba(255, 255, 255, .14); }
/* hover / keyboard focus: pointing at the pill gives a hint, pointing at the logo itself enlarges it a lot */
.pill-row { overflow: visible; }
.method-pill:hover .logo, .method-pill:focus-within .logo {
  transform: scale(1.6) translateY(-2px); z-index: 4;
}
.method-pill .logo:hover, .method-pill .logo:focus-visible {
  transform: scale(2.9) translateY(-6px); z-index: 10;
  box-shadow: 0 18px 38px rgba(2, 8, 23, .6), 0 0 0 2px rgba(125, 211, 252, .7);
  border-radius: 6px;
}
.method-pill .logo.wide:hover { transform: scale(2.3) translateY(-6px); }
.method-pill:hover .logo:not(:only-of-type):first-of-type:hover { transform: scale(2.9) translate(-6px, -6px); }
.method-pill:hover .logo:not(:only-of-type):last-of-type:hover { transform: scale(2.9) translate(6px, -6px); }
/* checkout list */
.pm-logo.has-logo { width: auto; min-width: 36px; height: 26px; padding: 2px 4px; border-radius: 6px; }
.pm-logo.has-logo img { height: 100%; width: auto; max-width: 36px; }
.pm-logo.has-logo.wide { width: 58px; }
.pay-method:hover .pm-logo.has-logo, .pay-method:focus-within .pm-logo.has-logo, .pay-method input:checked ~ .pm-logo.has-logo { transform: scale(1.9); box-shadow: 0 8px 18px rgba(2, 8, 23, .45), 0 0 0 1px rgba(125, 211, 252, .5); }
.bank-banner { display: block; width: 100%; max-width: 480px; height: auto; border-radius: 14px; border: 1px solid var(--line); margin: 0 auto; transition: transform .3s ease, box-shadow .3s ease; }
.bank-banner:hover { transform: scale(1.015); box-shadow: 0 16px 40px rgba(2, 8, 23, .45); }
@media (prefers-reduced-motion: reduce) {
  .method-pill, .method-pill .logo, .pm-logo.has-logo, .bank-banner { transition: none; }
  .method-pill:hover .logo, .method-pill .logo:hover, .pay-method:hover .pm-logo.has-logo { transform: none; }
}

/* recent-activity logos */
.activity-icon.has-logo { width: 76px; height: 42px; padding: 6px 10px; background: #fff; border-color: rgba(15, 23, 42, .08); box-shadow: 0 1px 2px rgba(2, 8, 23, .35);
  transition: transform .26s cubic-bezier(.2, .8, .2, 1), box-shadow .26s ease; position: relative; z-index: 1; }
.activity-icon.has-logo.dark { background: linear-gradient(135deg, #0b1733, #12306b); border-color: rgba(255, 255, 255, .14); }
.activity-icon.has-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.activity-list li:hover .activity-icon.has-logo { transform: scale(1.18); }
.activity-icon.has-logo:hover { transform: scale(1.7); z-index: 10; box-shadow: 0 14px 30px rgba(2, 8, 23, .55), 0 0 0 2px rgba(125, 211, 252, .65); }
@media (prefers-reduced-motion: reduce) { .activity-icon.has-logo { transition: none; } .activity-list li:hover .activity-icon.has-logo, .activity-icon.has-logo:hover { transform: none; } }
/* logo and text spacing */
.activity-list li a, .activity-list li > div { grid-template-columns: 76px 1fr auto; gap: 18px; }
.method-pill { gap: 12px; }
.method-pill .logo { margin-right: 2px; }
.method-pill .logo + .logo { margin-left: 0; margin-right: 6px; }
.pay-method { gap: 16px; }

/* larger text in method lists */
.activity-title { font-size: 18px; font-weight: 600; }
.activity-sub { font-size: 15px; }
.activity-amt { font-size: 18px; }
.activity-amt small { font-size: 14px; }
.activity-head h2 { font-size: 20px; }
.method-pill { font-size: 15.5px; }
.method-pill .status-chip { font-size: 12px; }

/* ---- sign-in / sign-up pages ---- */
.auth-shell { min-height: calc(100vh - 76px); }
.auth-aside { padding: 72px 64px; justify-content: center; background:
  radial-gradient(640px 460px at 18% 12%, rgba(34, 211, 238, .22), transparent 70%),
  radial-gradient(700px 520px at 85% 90%, rgba(29, 140, 255, .30), transparent 70%),
  linear-gradient(160deg, #061a45, #020817); }
.auth-aside-inner { position: relative; max-width: 520px; }
.auth-aside h2 { font-size: 40px; line-height: 1.12; margin: 14px 0 14px; }
.auth-aside p { font-size: 17px; color: var(--text-2); max-width: 440px; }
.auth-aside .check-list { margin-top: 26px; display: grid; gap: 14px; }
.auth-aside .check-list li { font-size: 17px; }
.auth-logos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.auth-logo { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 36px; padding: 5px 8px; border-radius: 10px; background: #fff; box-shadow: 0 2px 8px rgba(2, 8, 23, .35); transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease; }
.auth-logo.dark { background: linear-gradient(135deg, #0b1733, #12306b); border: 1px solid rgba(255,255,255,.14); width: 78px; }
.auth-logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.auth-logo:hover { transform: translateY(-3px) scale(1.12); box-shadow: 0 12px 26px rgba(2, 8, 23, .55), 0 0 0 1px rgba(125, 211, 252, .55); }
.auth-main { padding: 56px 28px; background:
  radial-gradient(520px 380px at 50% 0%, rgba(29, 140, 255, .14), transparent 70%), var(--bg, #020817); }
.auth-card { max-width: 480px; padding: 38px 38px 30px; border-radius: 22px; border: 1px solid rgba(125, 211, 252, .18);
  background: linear-gradient(180deg, rgba(14, 40, 92, .45), rgba(4, 14, 40, .75));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.auth-card h1 { font-size: 32px; letter-spacing: -.01em; margin-bottom: 6px; }
.auth-card .sub { font-size: 16px; margin-bottom: 22px; }
.auth-secure { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); background: rgba(34, 211, 238, .10); border: 1px solid rgba(34, 211, 238, .28); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.auth-secure svg { width: 14px; height: 14px; }
.auth-card .input, .auth-card .select { height: 50px; border-radius: 12px; font-size: 16px; }
.auth-card .btn-block { height: 52px; font-size: 16.5px; border-radius: 14px; }
.auth-card .label { font-size: 14px; }
.auth-trust { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.5; }
.auth-trust svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--cyan); }
@media (max-width: 900px) { .auth-card { padding: 28px 22px 24px; } }
@media (prefers-reduced-motion: reduce) { .auth-logo { transition: none; } .auth-logo:hover { transform: none; } }

/* ---- onboarding: tap a step, fill it in right there ---- */
.ob-steps { display: grid; gap: 12px; margin-bottom: 20px; }
.ob-step { border: 1px solid var(--app-line); border-radius: 14px; background: #fff; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.ob-step[open] { border-color: #06b6d4; box-shadow: 0 8px 24px rgba(6, 182, 212, .12); }
.ob-step summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer; user-select: none; }
.ob-step summary::-webkit-details-marker { display: none; }
.ob-step summary:hover { background: #f4fbfd; }
.ob-step summary:focus-visible { outline: 3px solid rgba(6, 182, 212, .45); outline-offset: -3px; }
.ob-step .num { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #e0f7fb; color: #0e7490; font-weight: 700; font-size: 15px; }
.ob-step.done .num { background: #dcfce7; color: #15803d; }
.ob-step.done .num::before { content: "\2713"; }
.ob-step.done .num { font-size: 0; }
.ob-step.done .num::before { font-size: 16px; }
.ob-title { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.ob-title b { font-size: 16.5px; }
.ob-chev { width: 10px; height: 10px; border-right: 2px solid #64748b; border-bottom: 2px solid #64748b; transform: rotate(45deg); transition: transform .2s ease; margin-right: 4px; }
.ob-step[open] .ob-chev { transform: rotate(-135deg); }
.ob-body { padding: 4px 20px 22px; border-top: 1px solid var(--app-line); animation: ob-open .22s ease; }
.ob-body > :first-child { margin-top: 18px; }
@keyframes ob-open { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ob-body { animation: none; } .ob-chev { transition: none; } }

/* ---- onboarding: professional layout ---- */
.ob-hero { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 30px 34px; margin-bottom: 20px; border-radius: 20px; overflow: hidden; color: #fff;
  background: radial-gradient(520px 280px at 85% -10%, rgba(34, 211, 238, .35), transparent 70%), linear-gradient(135deg, #0b1f4d, #0e3a8a 60%, #0e7490); box-shadow: 0 14px 34px rgba(11, 31, 77, .28); }
.ob-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #67e8f9; margin-bottom: 8px; }
.ob-hero h1 { font-size: 30px; line-height: 1.15; margin: 0 0 8px; letter-spacing: -.01em; color: #fff; }
.ob-hero p { margin: 0 0 18px; max-width: 520px; color: rgba(255, 255, 255, .82); font-size: 15.5px; line-height: 1.55; }
.ob-next { background: #fff; color: #0b1f4d; border-color: #fff; font-weight: 700; }
.ob-next:hover { background: #e0f7fb; }
.ob-ring { --p: 0; width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; align-content: center; text-align: center;
  background: radial-gradient(closest-side, #0e2a66 79%, transparent 80% 100%), conic-gradient(#22d3ee calc(var(--p) * 1%), rgba(255, 255, 255, .18) 0); }
.ob-ring b { font-size: 26px; line-height: 1; }
.ob-ring span { font-size: 11.5px; color: rgba(255, 255, 255, .75); margin-top: 4px; }
.ob-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: rgba(255, 255, 255, .15); }
.ob-bar span { display: block; height: 100%; background: linear-gradient(90deg, #22d3ee, #4ade80); border-radius: 0 6px 6px 0; transition: width .6s ease; }
.ob-step { box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.ob-step summary { padding: 18px 20px; gap: 16px; }
.ob-step .ob-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #eef6ff; color: #0369a1; }
.ob-step .ob-ic svg { width: 20px; height: 20px; }
.ob-step.done .ob-ic { background: #ecfdf3; color: #15803d; }
.ob-step .num { flex: 0 0 28px; height: 28px; font-size: 13px; }
.ob-step.done .num::before { font-size: 14px; }
.ob-title b { font-size: 17px; color: var(--app-text); }
.ob-title .hint { font-size: 14px; color: #64748b; }
.ob-pill { flex: none; font: 700 12px/1 var(--font-body); padding: 7px 12px; border-radius: 999px; letter-spacing: .02em; }
.ob-pill.ok { background: #dcfce7; color: #15803d; }
.ob-pill.todo { background: #fef3c7; color: #b45309; }
.ob-pill.info { background: #e0f2fe; color: #0369a1; }
.ob-pill.bad { background: #fee2e2; color: #b91c1c; }
.ob-body { padding: 6px 24px 26px; background: linear-gradient(180deg, #fafcff, #fff); }
.ob-body .grid.grid-2 { gap: 16px 20px; }
.ob-body .field .input, .ob-body .field .select, .ob-body .field textarea { height: auto; min-height: 46px; border-radius: 10px; }
.ob-body .label { font-weight: 600; color: #1e293b; }
.ob-body .btn-primary { min-width: 160px; height: 46px; border-radius: 12px; }
.ob-body .choice-grid { gap: 10px; }
.ob-body .choice { padding: 12px 14px; border-radius: 12px; transition: border-color .15s ease, background .15s ease; }
.ob-body .choice:hover { border-color: #06b6d4; background: #f0fdff; }
@media (max-width: 720px) {
  .ob-hero { grid-template-columns: 1fr; padding: 22px 20px 28px; }
  .ob-hero-meter { display: none; }
  .ob-hero h1 { font-size: 24px; }
  .ob-step summary { flex-wrap: wrap; padding: 14px; gap: 12px; }
  .ob-step .ob-ic { display: none; }
  .ob-pill { order: 3; }
  .ob-body { padding: 4px 16px 20px; }
}
@media (prefers-reduced-motion: reduce) { .ob-bar span { transition: none; } }

/* ---- storefront (merchant dashboard) ---- */
.sf-hero { --accent: #22d3ee; position: relative; display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; padding: 30px 32px; margin-bottom: 22px; border-radius: 22px; color: #fff; overflow: hidden;
  background: radial-gradient(560px 300px at 90% -20%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%), linear-gradient(135deg, #0a1f4d, #0b3a82 62%, #0e5a8a); box-shadow: 0 16px 38px rgba(10, 31, 77, .28); }
.sf-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a5f3fc; margin-bottom: 8px; }
.sf-hero h1 { font-size: 32px; line-height: 1.12; margin: 0 0 8px; color: #fff; letter-spacing: -.01em; }
.sf-hero p { margin: 0 0 16px; color: rgba(255, 255, 255, .82); font-size: 15.5px; max-width: 540px; line-height: 1.55; }
.sf-link { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; padding: 8px 8px 8px 12px; max-width: 640px; backdrop-filter: blur(4px); }
.sf-link code { flex: 1; min-width: 160px; font: 600 14px/1.4 var(--mono, ui-monospace, monospace); color: #e0f7ff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: none; padding: 0; }
.sf-status { font: 700 11.5px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.sf-status.live { background: #dcfce7; color: #15803d; }
.sf-status.draft { background: #fef3c7; color: #b45309; }
.sf-copy { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; background: #fff; color: #0b1f4d; font: 700 13px/1 var(--font-body); padding: 10px 14px; border-radius: 10px; }
.sf-copy svg { width: 15px; height: 15px; }
.sf-copy:hover { background: #e0f7fb; }
.sf-btn { background: #fff; color: #0b1f4d; border-color: #fff; font-weight: 700; }
.sf-btn:hover { background: #e0f7fb; }
.sf-btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .4); font-weight: 600; }
.sf-btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.sf-stats { display: grid; grid-template-columns: repeat(3, minmax(92px, 1fr)); gap: 10px; }
.sf-stat { text-align: center; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .16); }
.sf-stat b { display: block; font-size: 28px; line-height: 1; }
.sf-stat span { display: block; margin-top: 6px; font-size: 12px; color: rgba(255, 255, 255, .75); }
.sf-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: 22px; align-items: start; }
.sf-form, .sf-side { display: grid; gap: 18px; }
.sf-side { position: sticky; top: 90px; }
.sf-card { border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.sf-card-head { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid var(--app-line); background: linear-gradient(180deg, #fbfdff, #f6f9fe); }
.sf-card-head h2 { font-size: 17px; margin: 0; }
.sf-card-head p { margin: 2px 0 0; font-size: 13.5px; color: #64748b; }
.sf-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #eef6ff; color: #0369a1; }
.sf-ic svg { width: 20px; height: 20px; }
.sf-card .panel-body { padding: 22px; }
.sf-color { display: flex; align-items: center; gap: 12px; }
.sf-color input[type=color] { width: 56px; height: 46px; padding: 3px; border: 1px solid var(--app-line); border-radius: 12px; background: #fff; cursor: pointer; }
.sf-color span { font: 600 14px/1 var(--mono, ui-monospace, monospace); color: #475569; text-transform: uppercase; }
.sf-swatches { display: flex; gap: 8px; margin-top: 10px; }
.sf-sw { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; cursor: pointer; transition: transform .15s ease; }
.sf-sw:hover { transform: scale(1.18); }
.sf-logo { display: flex; align-items: center; gap: 12px; }
.sf-logo > img, .sf-logo > span { width: 52px; height: 52px; flex: none; border-radius: 14px; object-fit: cover; display: grid; place-items: center; background: #e0f7fb; color: #0e7490; font: 800 22px var(--font-body); }
.sf-switch { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.sf-switch input { position: absolute; opacity: 0; }
.sf-track { flex: none; width: 48px; height: 28px; border-radius: 999px; background: #cbd5e1; position: relative; transition: background .2s ease; margin-top: 2px; }
.sf-track i { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s ease; }
.sf-switch input:checked + .sf-track { background: #16a34a; }
.sf-switch input:checked + .sf-track i { transform: translateX(20px); }
.sf-switch input:focus-visible + .sf-track { outline: 3px solid rgba(6, 182, 212, .5); outline-offset: 2px; }
.sf-switch b { display: block; font-size: 16px; }
.sf-switch .hint { display: block; margin-top: 2px; }
.sf-mock { --accent: #22d3ee; border-radius: 16px; padding: 18px; color: #fff; background: radial-gradient(260px 160px at 90% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%), linear-gradient(135deg, #0a2a6b, #061433); transition: background .25s ease; }
.sf-mock-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sf-mock-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; overflow: hidden; background: var(--accent); color: #04122e; font-weight: 800; }
.sf-mock-logo img { width: 100%; height: 100%; object-fit: cover; }
.sf-mock-biz { font-size: 13px; opacity: .85; font-weight: 600; }
.sf-mock-name { font: 800 22px/1.15 var(--font-display, var(--font-body)); }
.sf-mock-tag { font-size: 13.5px; opacity: .82; margin: 4px 0 14px; min-height: 18px; }
.sf-mock-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sf-mock-grid i { display: block; height: 54px; border-radius: 10px; background: rgba(255, 255, 255, .12); }
.sf-mock-btn { margin-top: 14px; text-align: center; padding: 11px; border-radius: 12px; background: var(--accent); color: #04122e; font-weight: 800; font-size: 14px; transition: background .25s ease; }
.sf-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sf-check li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: #334155; }
.sf-check li span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; display: grid; place-items: center; }
.sf-check li.ok { color: #0f172a; }
.sf-check li.ok span { background: #16a34a; border-color: #16a34a; }
.sf-check li.ok span::after { content: "\2713"; color: #fff; font-size: 13px; font-weight: 800; }
.sf-check a { margin-left: auto; font-size: 13px; font-weight: 600; }
@media (max-width: 980px) { .sf-layout { grid-template-columns: 1fr; } .sf-side { position: static; } .sf-hero { grid-template-columns: 1fr; padding: 24px 20px; } .sf-hero h1 { font-size: 26px; } .sf-stats { max-width: 420px; } }
@media (prefers-reduced-motion: reduce) { .sf-sw, .sf-track, .sf-track i, .sf-mock, .sf-mock-btn { transition: none; } }

/* ---- product form ---- */
.pf-head { margin-bottom: 20px; }
.pf-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #0369a1; margin-bottom: 10px; }
.pf-back svg { width: 14px; height: 14px; transform: rotate(180deg); }
.pf-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.pf-head h1 { font-size: 28px; margin: 0 0 4px; letter-spacing: -.01em; }
.pf-head p { margin: 0; color: #64748b; font-size: 15px; max-width: 560px; }
.pf-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(290px, 1fr); gap: 22px; align-items: start; }
.pf-main, .pf-side { display: grid; gap: 18px; }
.pf-side { position: sticky; top: 90px; }
.pf-kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; border: 0; padding: 0; margin: 0; }
.pf-kind { position: relative; cursor: pointer; }
.pf-kind input { position: absolute; opacity: 0; }
.pf-kind-body { display: grid; gap: 4px; justify-items: start; padding: 14px; height: 100%; border: 1.5px solid var(--app-line); border-radius: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.pf-kind-body b { font-size: 15px; }
.pf-kind-body small { color: #64748b; font-size: 12.5px; line-height: 1.35; }
.pf-kind-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eef6ff; color: #0369a1; margin-bottom: 4px; }
.pf-kind-ic svg { width: 18px; height: 18px; }
.pf-kind:hover .pf-kind-body { border-color: #7dd3fc; }
.pf-kind input:checked + .pf-kind-body { border-color: #06b6d4; background: #f0fdff; box-shadow: 0 0 0 3px rgba(6, 182, 212, .16); }
.pf-kind input:checked + .pf-kind-body .pf-kind-ic { background: #06b6d4; color: #fff; }
.pf-kind input:focus-visible + .pf-kind-body { outline: 3px solid rgba(6, 182, 212, .5); outline-offset: 2px; }
.pf-price { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
.pf-price .input, .pf-price .select { height: 48px; border-radius: 10px; }
.pf-price #f-price { font-size: 18px; font-weight: 700; }
.pf-inline { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 13.5px; color: #475569; cursor: pointer; }
.pf-drop { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 22px 16px; border: 2px dashed #bfd3ea; border-radius: 14px; background: #f8fbff; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.pf-drop:hover { border-color: #06b6d4; background: #f0fdff; }
.pf-drop-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; background: #e0f7fb; color: #0e7490; }
.pf-drop-ic svg { width: 20px; height: 20px; }
.pf-drop small { color: #64748b; font-size: 12.5px; }
.pf-file { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.pf-file:focus-visible + .pf-drop, .pf-drop:focus-within { outline: 3px solid rgba(6, 182, 212, .5); outline-offset: 2px; }
.pf-actions { display: flex; gap: 12px; align-items: center; padding: 4px 2px 8px; }
.pf-actions .btn-primary { min-width: 190px; height: 50px; border-radius: 14px; font-size: 16px; }
.pf-card { border: 1px solid var(--app-line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }
.pf-card-img { height: 170px; display: grid; place-items: center; background: linear-gradient(135deg, #e6f7fb, #eef2ff); color: #7aa7c7; overflow: hidden; }
.pf-card-img svg { width: 44px; height: 44px; }
.pf-card-img img { width: 100%; height: 100%; object-fit: cover; }
.pf-card-body { display: grid; gap: 6px; padding: 14px 16px 16px; }
.pf-card-body b { font-size: 17px; }
.pf-card-desc { color: #64748b; font-size: 13.5px; line-height: 1.45; min-height: 20px; }
.pf-card-price { font-size: 20px; font-weight: 800; color: #0b1733; }
.pf-badge { width: max-content; font-size: 11.5px; font-weight: 700; color: #0369a1; background: #e0f2fe; padding: 4px 10px; border-radius: 999px; }
.pf-badge:empty { display: none; }
.pf-tips { margin: 0; padding-left: 18px; display: grid; gap: 8px; color: #475569; font-size: 14px; }
/* digital delivery box only matters for digital products (browsers without :has() simply show it) */
@supports selector(:has(*)) { .pf-layout:not(:has(input[name=kind][value=digital]:checked)) .pf-digital { display: none; } }
/* one category list per product type; WiFi packages get their category automatically */
@supports selector(:has(*)) {
  .pf-layout:not(:has(input[name=kind][value=physical]:checked)) .pf-cat-physical,
  .pf-layout:not(:has(input[name=kind][value=digital]:checked)) .pf-cat-digital,
  .pf-layout:not(:has(input[name=kind][value=service]:checked)) .pf-cat-service,
  .pf-layout:has(input[name=service_type][value=wifi]:checked) .pf-cat-service { display: none; }
}
@media (max-width: 980px) { .pf-layout { grid-template-columns: 1fr; } .pf-side { position: static; order: -1; } .pf-kinds { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pf-kind-body, .pf-drop { transition: none; } }

/* ---- orders ---- */
.od-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.od-head h1 { font-size: 28px; margin: 0 0 4px; letter-spacing: -.01em; }
.od-head p { margin: 0; color: #64748b; font-size: 15px; }
.od-search { position: relative; width: min(420px, 100%); }
.od-search .input { height: 46px; padding-left: 42px; padding-right: 38px; border-radius: 12px; }
.od-search-ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #64748b; display: grid; }
.od-search-ic svg { width: 18px; height: 18px; }
.od-clear { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; color: #475569; font-size: 20px; text-decoration: none; }
.od-clear:hover { background: #e2e8f0; }
.od-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.od-stat { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--app-line); border-radius: 16px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.od-stat b { display: block; font-size: 22px; line-height: 1.15; letter-spacing: -.01em; }
.od-stat span:not(.od-stat-ic) { display: block; font-size: 13px; color: #64748b; margin-top: 2px; }
.od-stat-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #eef6ff; color: #0369a1; }
.od-stat-ic svg { width: 20px; height: 20px; }
.od-stat.warn .od-stat-ic { background: #fef3c7; color: #b45309; }
.od-stat.info .od-stat-ic { background: #e0f2fe; color: #0369a1; }
.od-stat.ok .od-stat-ic { background: #dcfce7; color: #15803d; }
.od-panel { border-radius: 18px; overflow: hidden; }
.od-tabs { display: flex; gap: 4px; padding: 10px 12px 0; border-bottom: 1px solid var(--app-line); overflow-x: auto; background: linear-gradient(180deg, #fbfdff, #fff); }
.od-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 14px; font-weight: 600; font-size: 14.5px; color: #475569; border-bottom: 3px solid transparent; text-decoration: none; white-space: nowrap; margin-bottom: -1px; }
.od-tabs a:hover { color: #0f172a; }
.od-tabs a.active { color: #0e7490; border-bottom-color: #06b6d4; }
.od-count { min-width: 22px; padding: 2px 7px; border-radius: 999px; background: #eef2f7; color: #475569; font-size: 12px; font-weight: 700; text-align: center; }
.od-tabs a.active .od-count { background: #cffafe; color: #0e7490; }
.od-table th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #64748b; }
.od-table tbody tr { transition: background .12s ease; }
.od-table tbody tr:hover { background: #f6fbfe; }
.od-num { font: 700 14.5px var(--mono, ui-monospace, monospace); color: #0369a1; text-decoration: none; }
.od-num:hover { text-decoration: underline; }
.od-cust { display: flex; align-items: center; gap: 12px; }
.od-cust b { display: block; font-size: 14.5px; }
.od-cust small { display: block; color: #64748b; font-size: 12.5px; }
.od-av { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #bae6fd, #c7d2fe); color: #1e3a8a; font-weight: 800; }
.od-date { color: #475569; font-size: 14px; }
.od-total { font-size: 15.5px; }
.od-go { text-align: right; }
.od-go .btn svg { width: 14px; height: 14px; }
.od-empty { text-align: center; padding: 56px 24px; }
.od-empty-ic { width: 64px; height: 64px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 18px; background: #eef6ff; color: #0369a1; }
.od-empty-ic svg { width: 30px; height: 30px; }
.od-empty h3 { margin: 0 0 6px; font-size: 20px; }
.od-empty p { margin: 0 auto; max-width: 440px; color: #64748b; }
@media (max-width: 980px) { .od-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .od-stats { grid-template-columns: 1fr; } .od-go { display: none; } .od-table th:nth-child(4), .od-table td:nth-child(4) { display: none; } }
@media (prefers-reduced-motion: reduce) { .od-table tbody tr { transition: none; } }

/* ---- customers ---- */
.cu-av-0 { background: linear-gradient(135deg, #bae6fd, #c7d2fe); color: #1e3a8a; }
.cu-av-1 { background: linear-gradient(135deg, #bbf7d0, #a7f3d0); color: #065f46; }
.cu-av-2 { background: linear-gradient(135deg, #fde68a, #fecaca); color: #92400e; }
.cu-av-3 { background: linear-gradient(135deg, #e9d5ff, #fbcfe8); color: #6b21a8; }
.cu-av-4 { background: linear-gradient(135deg, #a5f3fc, #bfdbfe); color: #155e75; }
.cu-name { font: 700 15px var(--font-body); color: #0f172a; }
.cu-name:hover { color: #0369a1; }
.cu-tag { display: inline-block; font-size: 11px; font-weight: 700; color: #15803d; background: #dcfce7; padding: 2px 8px; border-radius: 999px; }
.cu-contact { display: grid; gap: 2px; font-size: 14px; color: #334155; }
.cu-contact small { color: #64748b; font-size: 12.5px; }
.cu-hero { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; padding: 26px 28px; margin-top: 12px; border-radius: 22px; color: #fff;
  background: radial-gradient(520px 260px at 92% -20%, rgba(34, 211, 238, .38), transparent 70%), linear-gradient(135deg, #0a1f4d, #0b3a82 62%, #0e5a8a); box-shadow: 0 14px 34px rgba(10, 31, 77, .26); }
.cu-hero-av { width: 76px; height: 76px; border-radius: 22px; display: grid; place-items: center; font: 800 32px var(--font-body); color: #0a1f4d; background: linear-gradient(135deg, #a5f3fc, #c7d2fe); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.cu-hero h1 { margin: 0 0 8px; font-size: 28px; color: #fff; letter-spacing: -.01em; }
.cu-hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.cu-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.cu-hero-meta svg { width: 16px; height: 16px; opacity: .8; }
.cu-hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 6px; }
.cu-hero-stats > div { padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .16); }
.cu-hero-stats b { display: block; font-size: 20px; line-height: 1.2; }
.cu-hero-stats span { display: block; margin-top: 4px; font-size: 12.5px; color: rgba(255, 255, 255, .72); }
@media (max-width: 760px) { .cu-hero { grid-template-columns: 1fr; padding: 22px 18px; } .cu-hero-stats { grid-template-columns: repeat(2, 1fr); } .od-table th:nth-child(3), .od-table td:nth-child(3) { display: none; } }

/* ---- payouts ---- */
.po-balances { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; align-items: stretch; }
.po-balance { padding: 22px 24px; border-radius: 20px; color: #fff; display: grid; gap: 10px; align-content: start;
  background: radial-gradient(420px 220px at 95% -20%, rgba(34, 211, 238, .38), transparent 70%), linear-gradient(135deg, #0a1f4d, #0b3a82 62%, #0e5a8a); box-shadow: 0 14px 32px rgba(10, 31, 77, .24); }
.po-balance.sandbox { background: radial-gradient(420px 220px at 95% -20%, rgba(251, 191, 36, .28), transparent 70%), linear-gradient(135deg, #0a1f4d, #0b3a82 62%, #134e6b); }
.po-balance.empty { background: linear-gradient(135deg, #1e293b, #334155); box-shadow: 0 8px 20px rgba(15, 23, 42, .18); }
.po-balance-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.po-label { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.po-label svg { width: 17px; height: 17px; }
.po-amount { font-size: 34px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.po-empty-note { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .75); line-height: 1.5; }
.po-break { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 0; }
.po-break > div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .14); min-width: 0; }
.po-break dt { font-size: 11.5px; color: rgba(255, 255, 255, .7); }
.po-break dd { margin: 3px 0 0; font-size: 13.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.po-info { display: flex; gap: 14px; padding: 20px 22px; border-radius: 20px; background: #fff; border: 1px solid var(--app-line); box-shadow: 0 1px 2px rgba(15, 23, 42, .05); }
.po-info-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #ecfdf3; color: #15803d; }
.po-info-ic svg { width: 21px; height: 21px; }
.po-info b { display: block; font-size: 16px; margin-bottom: 6px; }
.po-info ol { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 4px; color: #334155; font-size: 14px; }
.po-info small { color: #64748b; font-size: 12.5px; line-height: 1.45; display: block; }
.po-dests { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.po-dest { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--app-line); border-radius: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.po-dest:hover { border-color: #7dd3fc; box-shadow: 0 4px 14px rgba(6, 182, 212, .10); }
.po-dest-ic { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 12px; }
.po-dest-ic svg { width: 20px; height: 20px; }
.po-dest-ic.mm { background: #dcfce7; color: #15803d; }
.po-dest-ic.bk { background: #e0f2fe; color: #0369a1; }
.po-dest-main { flex: 1; min-width: 0; display: grid; gap: 1px; }
.po-dest-main b { font-size: 15px; }
.po-dest-main span { font-size: 13px; color: #64748b; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.po-dest-main code { font: 600 12.5px var(--mono, ui-monospace, monospace); color: #475569; background: none; padding: 0; }
.po-remove { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #94a3b8; cursor: pointer; }
.po-remove svg { width: 17px; height: 17px; }
.po-remove:hover { background: #fee2e2; color: #b91c1c; }
.po-add { border: 1.5px dashed #bfd3ea; border-radius: 14px; padding: 12px 14px; background: #f8fbff; }
.po-add[open] { background: #fff; border-style: solid; border-color: var(--app-line); }
.po-add summary { cursor: pointer; display: flex; align-items: center; gap: 10px; font-weight: 700; color: #0369a1; list-style: none; }
.po-add summary::-webkit-details-marker { display: none; }
.po-add summary span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 8px; background: #e0f2fe; }
.po-add summary svg { width: 15px; height: 15px; }
.po-note { color: #64748b; font-size: 13.5px; max-width: 240px; }
@media (max-width: 640px) { .po-break { grid-template-columns: 1fr; } .po-amount { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { .po-dest { transition: none; } }

/* ---- payouts: selection controls ---- */
.po-steps { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 10px; }
.po-steps li { display: flex; gap: 12px; align-items: flex-start; }
.po-steps li > span { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: #0e7490; color: #fff; font: 700 12px var(--font-body); margin-top: 1px; }
.po-steps p { margin: 0; font-size: 14px; line-height: 1.45; color: #334155; }
.po-steps p b { color: #0f172a; }
.po-group { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.po-group legend { padding: 0; margin-bottom: 10px; font-weight: 700; font-size: 14px; color: #1e293b; }
.po-pick { display: grid; gap: 10px; }
.po-opt, .po-chip, .po-seg-opt { position: relative; cursor: pointer; display: block; }
.po-opt input, .po-chip input, .po-seg-opt input { position: absolute; opacity: 0; }
.po-opt-body { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--app-line); border-radius: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.po-opt-text { flex: 1; min-width: 0; display: grid; gap: 1px; }
.po-opt-text b { font-size: 15px; }
.po-opt-text small { color: #64748b; font-size: 13px; }
.po-tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #cbd5e1; color: transparent; flex: none; transition: all .15s ease; }
.po-tick svg { width: 13px; height: 13px; }
.po-opt:hover .po-opt-body { border-color: #7dd3fc; }
.po-opt input:checked + .po-opt-body { border-color: #06b6d4; background: #f0fdff; box-shadow: 0 0 0 3px rgba(6, 182, 212, .16); }
.po-opt input:checked + .po-opt-body .po-tick { background: #06b6d4; border-color: #06b6d4; color: #fff; }
.po-opt input:focus-visible + .po-opt-body, .po-chip input:focus-visible + span, .po-seg-opt input:focus-visible + span { outline: 3px solid rgba(6, 182, 212, .5); outline-offset: 2px; }
.po-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.po-chip > span { display: grid; gap: 1px; padding: 10px 16px; border: 1.5px solid var(--app-line); border-radius: 12px; background: #fff; transition: all .15s ease; min-width: 130px; }
.po-chip b { font-size: 15px; }
.po-chip small { color: #64748b; font-size: 12.5px; }
.po-chip:hover > span { border-color: #7dd3fc; }
.po-chip input:checked + span { border-color: #06b6d4; background: #f0fdff; box-shadow: 0 0 0 3px rgba(6, 182, 212, .16); }
.po-amount-input { display: flex; align-items: center; gap: 0; border: 1px solid #cfd8e8; border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s ease, box-shadow .15s ease; }
.po-amount-input:focus-within { border-color: #06b6d4; box-shadow: 0 0 0 3px rgba(6, 182, 212, .16); }
.po-amount-input > span { padding: 0 14px; height: 52px; display: grid; place-items: center; font-weight: 800; color: #0e7490; background: #f0fdff; border-right: 1px solid #e0f2f6; }
.po-amount-input .input { border: 0; box-shadow: none; height: 52px; font-size: 20px; font-weight: 700; background: transparent; border-radius: 0; }
.po-amount-input .input:focus { box-shadow: none; }
.po-max { border: 0; background: #e0f7fb; color: #0e7490; font: 700 13px var(--font-body); padding: 0 16px; height: 52px; cursor: pointer; white-space: nowrap; }
.po-max:hover { background: #cffafe; }
.po-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; background: #eef2f7; border-radius: 14px; }
.po-seg-opt > span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 12px; border-radius: 10px; font-weight: 700; font-size: 14.5px; color: #475569; transition: all .15s ease; }
.po-seg-opt > span svg { width: 17px; height: 17px; }
.po-seg-opt:hover > span { color: #0f172a; }
.po-seg-opt input:checked + span { background: #fff; color: #0e7490; box-shadow: 0 2px 8px rgba(15, 23, 42, .12); }
.po-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.po-quick[hidden] { display: none; }
.po-quick button { border: 1px solid #cfe3f1; background: #f5fbff; color: #0369a1; font: 600 13px var(--font-body); padding: 7px 12px; border-radius: 999px; cursor: pointer; transition: all .12s ease; }
.po-quick button:hover { background: #e0f2fe; border-color: #7dd3fc; }
.po-quick button.on { background: #06b6d4; border-color: #06b6d4; color: #fff; }
@media (prefers-reduced-motion: reduce) { .po-opt-body, .po-chip > span, .po-seg-opt > span, .po-quick button, .po-tick { transition: none; } }

/* ---- dashboard utility pages (refunds, reports, keys, webhooks, notifications, team, support, settings) ---- */
.rp-range .row-between { margin: 0; }
.rp-h { font-size: 18px; margin: 24px 0 12px; }
.rp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.rp-tile { display: grid; gap: 6px; align-content: start; padding: 20px; border: 1px solid var(--app-line); border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.rp-tile h3 { margin: 8px 0 0; font-size: 17px; }
.rp-tile p { margin: 0; color: #64748b; font-size: 14px; line-height: 1.5; }
.rp-tile.hs-link:hover { transform: translateY(-2px); border-color: #7dd3fc; box-shadow: 0 10px 24px rgba(6, 182, 212, .14); }
.rp-dl { display: flex; gap: 8px; margin-top: 10px; }
.ak-new { padding: 22px 24px; margin-bottom: 18px; border-radius: 18px; border: 1.5px solid #22d3ee; background: linear-gradient(180deg, #f0fdff, #fff); box-shadow: 0 10px 28px rgba(6, 182, 212, .14); }
.ak-new-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ak-new-head > div { flex: 1; }
.ak-new-head h2 { margin: 0; font-size: 18px; }
.ak-new-head p { margin: 2px 0 0; color: #475569; font-size: 14px; }
.wh-list { list-style: none; margin: 0; padding: 0; }
.wh-item { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 16px 22px; border-top: 1px solid var(--app-line); }
.wh-main { min-width: 0; flex: 1 1 320px; }
.wh-url { display: block; font: 600 14px var(--mono, ui-monospace, monospace); color: #0f172a; word-break: break-all; background: none; padding: 0; }
.wh-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; font-size: 13px; color: #64748b; }
.wh-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.wh-events { display: flex; flex-wrap: wrap; gap: 8px; max-height: 220px; overflow: auto; padding: 2px; }
.po-quickchk { position: relative; cursor: pointer; }
.po-quickchk input { position: absolute; opacity: 0; }
.po-quickchk span { display: inline-block; padding: 7px 12px; border: 1px solid #cfe3f1; border-radius: 999px; background: #f5fbff; color: #0369a1; font: 600 12.5px var(--font-body); transition: all .12s ease; }
.po-quickchk input:checked + span { background: #06b6d4; border-color: #06b6d4; color: #fff; }
.po-quickchk input:focus-visible + span { outline: 3px solid rgba(6, 182, 212, .5); outline-offset: 2px; }
.nf-list { list-style: none; margin: 0; padding: 0; }
.nf-item { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-top: 1px solid var(--app-line); transition: background .12s ease; }
.nf-item:first-child { border-top: 0; }
.nf-item:hover { background: #f8fbff; }
.nf-item.unread { background: #f0fbff; }
/* the whole notification is clickable: the Open link stretches over the row */
.nf-item.nf-click { position: relative; cursor: pointer; }
.nf-item.nf-click .nf-open::after { content: ""; position: absolute; inset: 0; }
.nf-item.nf-click:hover { background: #eaf4ff; }
/* a row opened from a notification (#row-<id>) is highlighted */
tr[id^="row-"] { scroll-margin-top: 90px; }
tr[id^="row-"]:target > td { background: #fff7d6; box-shadow: inset 0 2px 0 #f59e0b, inset 0 -2px 0 #f59e0b; }

.nf-ic { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #eef6ff; color: #0369a1; }
.nf-ic svg { width: 20px; height: 20px; }
.nf-payment { background: #dcfce7; color: #15803d; } .nf-security, .nf-verification { background: #fee2e2; color: #b91c1c; } .nf-payout { background: #e0f2fe; color: #0369a1; } .nf-refund { background: #fef3c7; color: #b45309; } .nf-support { background: #ede9fe; color: #6d28d9; }
.nf-body { flex: 1; min-width: 0; }
.nf-body b { display: block; font-size: 15px; }
.nf-body p { margin: 2px 0 0; color: #475569; font-size: 14px; }
.nf-body small { color: #94a3b8; font-size: 12.5px; }
.nf-dot { width: 10px; height: 10px; border-radius: 50%; background: #06b6d4; flex: none; }
.hs-tickets { list-style: none; margin: 0; padding: 0; }
.hs-tickets li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--app-line); }
.hs-tickets b { display: block; font-size: 14.5px; }
.hs-tickets small { color: #64748b; font-size: 12.5px; }
.st-id { display: flex; align-items: center; gap: 18px; padding: 20px 24px; margin-bottom: 18px; border-radius: 20px; color: #fff; background: radial-gradient(420px 220px at 95% -30%, rgba(34, 211, 238, .35), transparent 70%), linear-gradient(135deg, #0a1f4d, #0b3a82 62%, #0e5a8a); box-shadow: 0 12px 30px rgba(10, 31, 77, .22); }
.st-av { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font: 800 26px var(--font-body); color: #0a1f4d; background: linear-gradient(135deg, #a5f3fc, #c7d2fe); flex: none; }
.st-id-main { flex: 1; min-width: 0; }
.st-id h2 { margin: 0; font-size: 21px; color: #fff; }
.st-id p { margin: 4px 0 0; font-size: 14px; color: rgba(255, 255, 255, .85); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.st-id-biz { text-align: right; }
.st-id-biz small { display: block; font-size: 12px; color: rgba(255, 255, 255, .7); }
.st-id-biz b { font-size: 16px; }
.st-tabs { display: flex; gap: 6px; padding: 6px; margin-bottom: 18px; background: #eef2f7; border-radius: 14px; overflow-x: auto; border: 0; }
.st-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 0; background: transparent; color: #475569; font: 600 14.5px var(--font-body); padding: 10px 16px; border-radius: 10px; cursor: pointer; white-space: nowrap; border-bottom: 0; transition: all .15s ease; }
.st-tabs button svg { width: 17px; height: 17px; }
.st-tabs button:hover { color: #0f172a; }
.st-tabs button[aria-selected=true] { background: #fff; color: #0e7490; box-shadow: 0 2px 8px rgba(15, 23, 42, .12); }
@media (max-width: 720px) { .st-id { flex-wrap: wrap; } .st-id-biz { text-align: left; width: 100%; } .wh-item { padding: 14px 16px; } .nf-item { padding: 14px 16px; } .nf-item .btn { display: none; } }
@media (prefers-reduced-motion: reduce) { .rp-tile, .st-tabs button, .nf-item, .po-quickchk span { transition: none; } .rp-tile.hs-link:hover { transform: none; } }

/* ---- products grid + invoices ---- */
.od-stat.bad .od-stat-ic { background: #fee2e2; color: #b91c1c; }
.od-late { color: #b91c1c; font-weight: 600; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; padding: 20px; }
.pr-card { display: flex; flex-direction: column; border: 1px solid var(--app-line); border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .05); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.pr-card:hover { transform: translateY(-3px); border-color: #7dd3fc; box-shadow: 0 14px 30px rgba(6, 182, 212, .16); }
.pr-img { position: relative; display: grid; place-items: center; height: 168px; background: linear-gradient(135deg, #e6f7fb, #eef2ff); color: #7aa7c7; overflow: hidden; }
.pr-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.pr-card:hover .pr-img img { transform: scale(1.05); }
.pr-img > span:not(.pr-status) svg { width: 44px; height: 44px; }
.pr-status { position: absolute; top: 12px; left: 12px; font: 700 11px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
.pr-status.on { background: #dcfce7; color: #15803d; }
.pr-status.off { background: #fef3c7; color: #b45309; }
.pr-body { padding: 14px 16px 6px; display: grid; gap: 6px; flex: 1; }
.pr-name { font-size: 16px; font-weight: 700; color: #0f172a; text-decoration: none; line-height: 1.3; }
.pr-name:hover { color: #0369a1; }
.pr-price { font-size: 20px; font-weight: 800; color: #0b1733; }
.pr-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 12.5px; }
.pr-kind { background: #e0f2fe; color: #0369a1; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.pr-stock { color: #64748b; font-weight: 600; }
.pr-stock.low { color: #b45309; }
.pr-stock.out { color: #b91c1c; }
.pr-actions { display: flex; align-items: center; gap: 8px; padding: 12px 16px 16px; }
.pr-actions form { margin-left: auto; }
.pr-actions .btn svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .pr-grid { padding: 14px; grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .pr-card, .pr-img img { transition: none; } .pr-card:hover { transform: none; } }

/* ---- business logo in the dashboard chrome ---- */
.avatar { width: 36px; height: 36px; overflow: hidden; flex: none; }
.avatar.has-logo { background: #fff; box-shadow: 0 0 0 1px var(--app-line); }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-biz { display: flex; align-items: center; gap: 10px; margin: 2px 8px 10px; padding: 9px 10px; border-radius: 12px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .08); }
.sb-biz-logo { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; flex: none; background: #fff; }
.sb-biz-ini { display: grid; place-items: center; font: 800 16px var(--font-body); color: #0a1f4d; background: linear-gradient(135deg, #a5f3fc, #c7d2fe); }
.sb-biz-name { font-size: 14px; font-weight: 700; color: #e6f0ff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- brand mark (2026 logo) ---- */
.logo svg { width: 36px; height: 38px; filter: drop-shadow(0 0 8px rgba(34, 211, 238, .35)); }
.sidebar .logo svg { width: 30px; height: 32px; }

/* ---- overview, transactions, payment links, order ---- */
.ov-hero { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 28px 30px; margin-bottom: 18px; border-radius: 22px; color: #fff;
  background: radial-gradient(560px 300px at 92% -20%, rgba(34, 211, 238, .38), transparent 70%), linear-gradient(135deg, #0a1f4d, #0b3a82 62%, #0e5a8a); box-shadow: 0 16px 38px rgba(10, 31, 77, .26); }
.ov-hero h1 { margin: 0 0 6px; font-size: 30px; color: #fff; letter-spacing: -.01em; }
.ov-hero p { margin: 0; color: rgba(255, 255, 255, .82); font-size: 15.5px; }
.ov-bal { min-width: 230px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); display: grid; gap: 4px; }
.ov-bal small { font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.ov-bal b { font-size: 28px; line-height: 1.1; }
.ov-bal a { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: #a5f3fc; text-decoration: none; font-size: 14px; }
.ov-bal a svg { width: 14px; height: 14px; }
.ov-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.ov-toolbar p { margin: 0; color: #64748b; font-size: 14px; }
.ov-charts { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; margin-top: 6px; }
.tx-method { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; white-space: nowrap; }
.tx-logo { width: 34px; height: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 2px 4px; border-radius: 6px; background: #fff; box-shadow: inset 0 0 0 1px #e3e9f3; flex: none; }
.tx-logo.dark { background: linear-gradient(135deg, #0b1733, #12306b); box-shadow: none; }
.tx-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.tx-filter-card .panel-body { padding: 0; }
.tx-filters { display: grid; grid-template-columns: 2.2fr repeat(5, minmax(0, 1fr)) auto; gap: 12px; align-items: end; padding: 18px 20px; }
.tx-filters .field { margin: 0; }
.tx-actions { display: flex; gap: 8px; }
.pl-list { list-style: none; margin: 0; padding: 0; }
.pl-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 16px 22px; border-top: 1px solid var(--app-line); transition: background .12s ease; }
.pl-item:first-child { border-top: 0; }
.pl-item:hover { background: #f8fbff; }
.pl-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #e0f7fb; color: #0e7490; }
.pl-ic svg { width: 20px; height: 20px; }
.pl-title { font-size: 16px; font-weight: 700; color: #0f172a; text-decoration: none; }
.pl-title:hover { color: #0369a1; }
.pl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 6px; font-size: 13px; color: #64748b; }
.pl-url { font: 600 12.5px var(--mono, ui-monospace, monospace); color: #475569; background: #f1f5f9; padding: 3px 8px; border-radius: 6px; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl-figs { display: grid; grid-template-columns: repeat(3, minmax(90px, auto)); gap: 18px; text-align: right; }
.pl-figs small { display: block; font-size: 12px; color: #94a3b8; }
.pl-figs b { font-size: 15px; }
.pl-collected { color: #15803d; }
.pl-actions { display: flex; gap: 8px; }
.pl-actions .btn svg { width: 14px; height: 14px; }
.cu-hero-av svg { width: 34px; height: 34px; }
.od-hero-status .badge { background: rgba(255, 255, 255, .92); }
.or-total td { font-weight: 800; font-size: 16px; background: #f8fbff; }
@media (max-width: 1180px) { .tx-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); } .tx-q { grid-column: 1 / -1; } }
@media (max-width: 980px) { .ov-hero { grid-template-columns: 1fr; } .ov-charts { grid-template-columns: 1fr; } .pl-item { grid-template-columns: auto minmax(0, 1fr); } .pl-figs { grid-column: 1 / -1; text-align: left; } .pl-actions { grid-column: 1 / -1; } }
@media (max-width: 640px) { .tx-filters { grid-template-columns: 1fr 1fr; } .pl-figs { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .pl-item { transition: none; } }

/* ---- payout fee preview + checkout fee note ---- */
.po-fee { margin-top: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid #cfe9f3; background: #f5fcff; display: grid; gap: 8px; }
.po-fee > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14.5px; color: #475569; }
.po-fee b { color: #0f172a; font-size: 15px; }
.po-fee .po-fee-net b { font-size: 19px; color: #15803d; }
.po-fee small { color: #64748b; font-size: 12.5px; line-height: 1.45; }
.po-fee.bad { border-color: #fecaca; background: #fff7f7; }
.po-fee.bad small { color: #b91c1c; }
.pay-fee-note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #f0f9ff; border: 1px solid #bae6fd; color: #075985; font-size: 13.5px; line-height: 1.5; }
.pay-fee-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* ---- payment status page ---- */
.ps-wrap { max-width: 520px; margin: 0 auto; }
.ps-card { background: #fff; border: 1px solid #e3e9f3; border-radius: 24px; overflow: hidden; box-shadow: 0 18px 48px rgba(15, 23, 42, .10); }
.ps-head { position: relative; text-align: center; padding: 26px 26px 24px; background: linear-gradient(180deg, #f5f9ff, #fff); }
.ps-ok .ps-head { background: linear-gradient(180deg, #ecfdf3, #fff); }
.ps-bad .ps-head { background: linear-gradient(180deg, #fff1f2, #fff); }
.ps-merchant { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #334155; margin-bottom: 18px; }
.ps-mlogo { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.ps-mini { display: grid; place-items: center; background: linear-gradient(135deg, #a5f3fc, #c7d2fe); color: #0a1f4d; font-weight: 800; font-size: 13px; }
.ps-verified { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: #15803d; }
.ps-verified svg { width: 14px; height: 14px; }
.ps-icon { position: relative; width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #22d3ee, #1d8cff); box-shadow: 0 10px 26px rgba(29, 140, 255, .35); }
.ps-icon svg { width: 36px; height: 36px; position: relative; }
.ps-ok .ps-icon { background: linear-gradient(135deg, #34d399, #16a34a); box-shadow: 0 10px 26px rgba(22, 163, 74, .35); animation: ps-pop .4s cubic-bezier(.2, .9, .3, 1.3); }
.ps-bad .ps-icon { background: linear-gradient(135deg, #fb7185, #dc2626); box-shadow: 0 10px 26px rgba(220, 38, 38, .30); }
.ps-ring { position: absolute; inset: -6px; border-radius: 50%; border: 3px solid rgba(29, 140, 255, .25); border-top-color: #1d8cff; animation: ps-spin 1s linear infinite; }
@keyframes ps-spin { to { transform: rotate(360deg); } }
@keyframes ps-pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.ps-head h1 { margin: 0; font-size: 24px; color: #0b1733; letter-spacing: -.01em; }
.ps-amount { margin: 6px 0 10px; font-size: 32px; font-weight: 800; color: #0b1733; letter-spacing: -.02em; }
.ps-bad .ps-amount { color: #64748b; text-decoration: line-through; text-decoration-thickness: 2px; font-size: 26px; }
.ps-sub { margin: 0 auto; max-width: 400px; color: #475569; font-size: 14.5px; line-height: 1.55; }
.ps-steps { list-style: none; margin: 0; padding: 18px 26px 4px; display: grid; gap: 12px; border-top: 1px solid #eef2f7; }
.ps-steps li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: #94a3b8; }
.ps-steps li span { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid #cbd5e1; font-size: 12.5px; font-weight: 700; }
.ps-steps li.done { color: #15803d; } .ps-steps li.done span { background: #16a34a; border-color: #16a34a; color: #fff; }
.ps-steps li.now { color: #0b1733; font-weight: 600; } .ps-steps li.now span { border-color: #1d8cff; color: #1d8cff; box-shadow: 0 0 0 4px rgba(29, 140, 255, .14); }
.ps-note { display: flex; gap: 10px; margin: 14px 26px 6px; padding: 12px 14px; border-radius: 12px; background: #f0f9ff; border: 1px solid #bae6fd; color: #075985; font-size: 13.5px; line-height: 1.5; }
.ps-note svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.ps-bank, .ps-delivery { padding: 16px 26px; border-top: 1px solid #eef2f7; }
.ps-delivery h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 16px; }
.ps-delivery h2 svg { width: 18px; height: 18px; color: #16a34a; }
.ps-dl-item { padding: 12px 14px; border-radius: 12px; background: #ecfdf3; border: 1px solid #bbf7d0; margin-top: 8px; }
.ps-dl-item p { margin: 4px 0 0; white-space: pre-wrap; word-break: break-word; }
.ps-dl { margin: 0; }
.ps-details { margin: 16px 26px 0; padding: 4px 16px; border-radius: 16px; background: #f8fafc; border: 1px solid #eef2f7; }
.ps-dl > div { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 11px 0; border-top: 1px solid #eef2f7; }
.ps-dl > div:first-child { border-top: 0; }
.ps-dl dt { color: #64748b; font-size: 13.5px; }
.ps-dl dd { margin: 0; font-size: 14.5px; font-weight: 600; color: #0f172a; text-align: right; display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.ps-method .tx-logo { width: 32px; height: 21px; }
.ps-copy { border: 0; background: #e0f2fe; color: #0369a1; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; }
.ps-copy svg { width: 14px; height: 14px; }
.ps-copy:hover { background: #bae6fd; }
.ps-actions { display: grid; gap: 10px; padding: 20px 26px 24px; }
.ps-actions .btn { height: 48px; border-radius: 14px; font-size: 15.5px; }
.ps-help { text-align: center; color: #64748b; font-size: 13.5px; margin: 16px 8px 0; line-height: 1.5; }
@media (max-width: 520px) { .ps-head, .ps-actions { padding-left: 18px; padding-right: 18px; } .ps-details { margin-left: 18px; margin-right: 18px; } .ps-steps { padding-left: 18px; padding-right: 18px; } .ps-note { margin-left: 18px; margin-right: 18px; } .ps-amount { font-size: 28px; } }
@media (prefers-reduced-motion: reduce) { .ps-ring, .ps-ok .ps-icon { animation: none; } }
@media print { .ps-actions, .ps-help, .ps-copy { display: none !important; } .ps-card { box-shadow: none; } }

/* ---- payment link detail ---- */
.lk-hero { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; margin-top: 12px; margin-bottom: 18px; padding: 28px 30px; border-radius: 22px; color: #fff;
  background: radial-gradient(560px 300px at 92% -20%, rgba(34, 211, 238, .38), transparent 70%), linear-gradient(135deg, #0a1f4d, #0b3a82 62%, #0e5a8a); box-shadow: 0 16px 38px rgba(10, 31, 77, .26); }
.lk-hero h1 { margin: 0 0 6px; font-size: 30px; color: #fff; letter-spacing: -.01em; }
.lk-hero p { margin: 0 0 4px; color: rgba(255, 255, 255, .82); font-size: 15px; max-width: 560px; }
.lk-hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin-top: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .8); }
.lk-hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.lk-hero-meta svg { width: 15px; height: 15px; opacity: .8; }
.lk-price { min-width: 200px; padding: 18px 20px; border-radius: 18px; background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .18); text-align: right; }
.lk-price small { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.lk-price b { display: block; font-size: 30px; line-height: 1.15; }
.lk-qr { width: 200px; max-width: 100%; margin: 0 auto 16px; padding: 12px; background: #fff; border: 1px solid #e3e9f3; border-radius: 16px; }
.lk-qr svg { display: block; width: 100%; height: auto; }
.lk-share { display: grid; gap: 10px; }
.lk-share .btn { height: 44px; border-radius: 12px; }
.lk-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-m { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 7px; border: 1px solid #e3e9f3; border-radius: 12px; background: #fff; font-size: 13.5px; font-weight: 600; }
@media (max-width: 860px) { .lk-hero { grid-template-columns: 1fr; padding: 22px 18px; } .lk-price { text-align: left; } }

/* ---- admin: verification review ---- */
.vr-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 20px; align-items: start; margin-top: 20px; }
.vr-side { display: grid; gap: 18px; }
.vr-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.vr-doc { margin: 0; border: 1px solid #e3e9f3; border-radius: 16px; overflow: hidden; background: #fff; }
.vr-img { position: relative; display: block; background: #0b1733; }
.vr-img img { display: block; width: 100%; height: 240px; object-fit: contain; }
.vr-zoom { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #0b1733; font-size: 12.5px; font-weight: 700; opacity: 0; transition: opacity .15s ease; }
.vr-zoom svg { width: 14px; height: 14px; }
.vr-img:hover .vr-zoom, .vr-img:focus-visible .vr-zoom { opacity: 1; }
.vr-pdf { display: grid; place-items: center; align-content: center; gap: 8px; height: 240px; background: #f5f9ff; color: #0369a1; font-weight: 700; text-decoration: none; }
.vr-pdf svg { width: 40px; height: 40px; }
.vr-doc figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; font-size: 13.5px; border-top: 1px solid #eef2f7; }
.vr-doc figcaption span { color: #64748b; font-size: 12.5px; }
.vr-dl { padding: 4px 20px 8px; }
.vr-dl dd { text-align: right; word-break: break-word; }
.vr-note { margin: 0 20px 18px; padding: 12px 14px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; font-size: 14px; }
.vr-note p { margin: 4px 0 0; white-space: pre-wrap; }
.vr-check { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 10px; }
.vr-check label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #334155; cursor: pointer; line-height: 1.45; }
.vr-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: #16a34a; flex: none; }
.vr-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.vr-actions .btn { height: 46px; border-radius: 12px; }
.vr-manage { display: inline-block; margin-top: 14px; font-size: 13.5px; color: #b91c1c; font-weight: 600; }
@media (max-width: 1080px) { .vr-layout { grid-template-columns: 1fr; } }

/* ---- checkout (customer payment page) ---- */
.co-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: 0; align-items: stretch; border-radius: 26px; overflow: hidden; box-shadow: 0 24px 60px rgba(15, 23, 42, .14); background: #fff; border: 1px solid #e3e9f3; }
.co-summary { --accent: #22d3ee; position: relative; padding: 32px 32px 28px; color: #fff; display: flex; flex-direction: column;
  background: radial-gradient(520px 300px at 100% -10%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 70%), linear-gradient(160deg, #0a1f4d, #0b3a82 60%, #0d4f86); }
.co-merchant { display: flex; align-items: center; gap: 12px; }
.co-merchant b { display: block; font-size: 15.5px; }
.co-mlogo { width: 44px; height: 44px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: #fff; color: #0a1f4d; font: 800 18px var(--font-body); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.co-mlogo img { width: 100%; height: 100%; object-fit: cover; }
.co-verified { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: #86efac; font-weight: 600; }
.co-verified svg { width: 14px; height: 14px; }
.co-sub { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.co-pay-label { margin-top: 30px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .7); font-weight: 600; }
.co-amount { font-size: 42px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; margin-top: 4px; }
.co-title { margin: 14px 0 4px; font-size: 19px; color: #fff; }
.co-desc { margin: 0; color: rgba(255, 255, 255, .78); font-size: 14.5px; line-height: 1.5; }
.co-items { margin-top: 22px; padding: 6px 16px; border-radius: 16px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.co-item { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; font-size: 14.5px; border-top: 1px dashed rgba(255, 255, 255, .16); }
.co-item:first-child { border-top: 0; }
.co-item em { font-style: normal; color: rgba(255, 255, 255, .65); }
.co-total { font-weight: 800; font-size: 16px; border-top-style: solid; }
.co-trust { list-style: none; margin: auto 0 0; padding: 24px 0 0; display: grid; gap: 10px; }
.co-trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.co-trust svg { width: 16px; height: 16px; color: #67e8f9; flex: none; }
.co-panel { padding: 32px 34px 28px; }
.co-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.co-head h2 { margin: 0; font-size: 20px; }
.co-head p { margin: 2px 0 0; color: #64748b; font-size: 13.5px; }
.co-lock { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #ecfdf3; color: #16a34a; }
.co-lock svg { width: 20px; height: 20px; }
.co-step { display: flex; align-items: center; gap: 10px; margin: 20px 0 10px; }
.co-step h3 { margin: 0; font-size: 15px; color: #0f172a; }
.co-num { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: #0b1733; color: #fff; font-size: 12.5px; font-weight: 700; }
.co-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-fields .field { margin: 0; }
.co-panel .input { height: 48px; border-radius: 12px; font-size: 15.5px; }
.co-methods { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.co-method { position: relative; cursor: pointer; }
.co-method input { position: absolute; opacity: 0; }
.co-mbody { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid #dbe4f0; border-radius: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; height: 100%; }
.co-method:hover .co-mbody { border-color: #7dd3fc; }
.co-method input:checked + .co-mbody { border-color: #06b6d4; background: #f0fdff; box-shadow: 0 0 0 3px rgba(6, 182, 212, .16); }
.co-method input:focus-visible + .co-mbody { outline: 3px solid rgba(6, 182, 212, .5); outline-offset: 2px; }
.co-mlogo-pay { width: 46px; height: 32px; flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 2px; padding: 3px 5px; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1px #e3e9f3; }
.co-mlogo-pay.dark { background: linear-gradient(135deg, #0b1733, #12306b); box-shadow: none; }
.co-mlogo-pay img { max-width: 100%; max-height: 100%; object-fit: contain; }
.co-mlogo-pay.multi { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 2px; }
.co-mlogo-pay.multi img { width: 100%; height: 13px; }
.co-abbr { color: #fff; font: 800 11px var(--font-body); }
.co-mtext { flex: 1; min-width: 0; }
.co-mtext b { display: block; font-size: 14.5px; }
.co-mtext small { display: block; font-size: 12px; color: #64748b; }
.co-check { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 2px solid #cbd5e1; color: transparent; }
.co-check svg { width: 13px; height: 13px; }
.co-method input:checked + .co-mbody .co-check { background: #06b6d4; border-color: #06b6d4; color: #fff; }
.co-netwarn { margin: 8px 0 0; padding: 10px 12px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 13px; }
.co-pay { margin-top: 22px; height: 56px; border-radius: 16px; font-size: 17px; font-weight: 700; box-shadow: 0 12px 26px rgba(29, 140, 255, .28); }
.co-legal { text-align: center; color: #94a3b8; font-size: 12.5px; margin: 12px 0 0; }
.co-blocked p { margin: 14px 0 0; }
@media (max-width: 900px) { .co-grid { grid-template-columns: 1fr; border-radius: 20px; } .co-summary { padding: 24px 20px; } .co-trust { margin-top: 18px; padding-top: 0; } .co-panel { padding: 24px 18px; } .co-amount { font-size: 34px; } }
@media (max-width: 520px) { .co-fields, .co-methods { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .co-mbody { transition: none; } }

.co-grid > * { min-width: 0; }
.co-items, .co-item span { min-width: 0; overflow-wrap: anywhere; }
.co-item > span:first-child { flex: 1 1 auto; }
.co-item > span:last-child { flex: none; white-space: nowrap; overflow-wrap: normal; text-align: right; }
@media (max-width: 520px) { .checkout-wrap { padding-left: 12px; padding-right: 12px; } }

.co-methods { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.co-fields { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.co-mtext b { line-height: 1.3; }

/* ---- payouts locked until identity verification ---- */
.po-lock { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin: 16px 0 4px; border-radius: 16px; background: #fffbeb; border: 1px solid #fde68a; }
.po-lock h2 { margin: 0 0 4px; font-size: 16.5px; color: #92400e; }
.po-lock p { margin: 0; color: #78350f; font-size: 14px; line-height: 1.5; }
.po-lock > div { flex: 1; }
.po-lock-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #fef3c7; color: #b45309; }
.po-lock-ic svg { width: 22px; height: 22px; }
@media (max-width: 640px) { .po-lock { flex-wrap: wrap; } }

/* ---- contact icons + WhatsApp ---- */
.ct-ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #fff; box-shadow: 0 4px 14px rgba(2, 8, 23, .18); }
.ct-ic img { width: 34px; height: 34px; object-fit: contain; }
.ct-wa { margin-top: 10px; background: #25D366; color: #fff; border-color: #25D366; font-weight: 700; }
.ct-wa:hover { background: #1ebe5b; color: #fff; }
.ft-wa { display: inline-flex; align-items: center; gap: 6px; }
.ft-wa img { width: 16px; height: 16px; }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: #25D366; color: #fff !important; font: 700 14.5px var(--font-body); text-decoration: none !important; box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .2s ease, box-shadow .2s ease; }
.wa-float img { width: 34px; height: 34px; border-radius: 50%; background: #fff; padding: 2px; }
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37, 211, 102, .55); }
@media (max-width: 640px) { .wa-float span { display: none; } .wa-float { padding: 8px; } }
@media print { .wa-float { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ---- already signed in ---- */
.si-actions { display: grid; gap: 10px; margin-top: 18px; }
.si-actions .btn { height: 50px; border-radius: 14px; font-size: 15.5px; }
.si-actions form { margin: 0; }

/* ---- sign-in page polish ---- */
.auth-aside { overflow: hidden; }
.auth-orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; animation: auth-float 14s ease-in-out infinite alternate; }
.auth-orb-1 { width: 380px; height: 380px; left: -90px; top: -60px; background: radial-gradient(circle, rgba(34, 211, 238, .55), transparent 70%); }
.auth-orb-2 { width: 440px; height: 440px; right: -140px; bottom: -120px; background: radial-gradient(circle, rgba(29, 140, 255, .55), transparent 70%); animation-delay: -6s; }
@keyframes auth-float { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.08); } }
.auth-features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.auth-feat { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .10); backdrop-filter: blur(6px); transition: transform .2s ease, background .2s ease; }
.auth-feat:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .09); }
.auth-feat > span { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 11px; background: linear-gradient(135deg, rgba(34, 211, 238, .25), rgba(29, 140, 255, .25)); color: #a5f3fc; }
.auth-feat > span svg { width: 19px; height: 19px; }
.auth-feat b { display: block; font-size: 14.5px; color: #fff; }
.auth-feat small { display: block; margin-top: 2px; font-size: 12.5px; color: rgba(226, 240, 255, .7); line-height: 1.4; }
.auth-card { position: relative; }
.auth-card::before { content: ""; position: absolute; inset: -1px; border-radius: 23px; padding: 1px; background: linear-gradient(140deg, rgba(34, 211, 238, .55), rgba(29, 140, 255, .1) 40%, rgba(124, 58, 237, .35)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.auth-steps { list-style: none; display: flex; align-items: center; gap: 8px; margin: 4px 0 20px; padding: 0; }
.auth-steps li { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: rgba(226, 240, 255, .55); }
.auth-steps li + li::before { content: ""; width: 22px; height: 1px; background: rgba(255, 255, 255, .2); margin-right: 1px; }
.auth-steps li span { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .25); font-size: 11.5px; }
.auth-steps li.now { color: #a5f3fc; }
.auth-steps li.now span { background: linear-gradient(135deg, #22d3ee, #1d8cff); border-color: transparent; color: #04122e; }
.auth-form .field { margin-bottom: 14px; }
.auth-ifield .input { padding-left: 44px; background-repeat: no-repeat; background-position: 14px 50%; background-size: 18px 18px; }
.auth-i-mail .input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237dd3fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.auth-i-lock .input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237dd3fc' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 4px 0 18px; font-size: 14px; }
.auth-row .hint { font-size: 12.5px; }
.auth-submit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 54px !important; font-size: 16.5px !important; font-weight: 700; box-shadow: 0 12px 30px rgba(29, 140, 255, .35); }
.auth-submit svg { width: 18px; height: 18px; transition: transform .2s ease; }
.auth-submit:hover svg { transform: translateX(3px); }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 22px 0 12px; color: rgba(226, 240, 255, .55); font-size: 13px; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: rgba(255, 255, 255, .12); }
.auth-alt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: 14px; font-weight: 600; }
.auth-alt svg { width: 17px; height: 17px; }
@media (max-width: 1100px) { .auth-features { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .auth-orb { animation: none; } .auth-feat, .auth-submit svg { transition: none; } }
/* ---- merchant dashboard: dark theme (matches sign-up page) ---- */
body.app.dark .btn-light { background: #0a1c44; color: #eef6ff; }
body.app.dark .btn-light:hover { border-color: rgba(56, 189, 248, 0.18); }
body.app.dark .input, body.app.dark .select, body.app.dark .textarea { background-color: #0a1c44; border-color: rgba(56, 189, 248, 0.18); }
body.app.dark .field-error { color: #fb7e7e; }
body.app.dark .choice { border: 1px solid rgba(56, 189, 248, 0.18); background: #0a1c44; }
body.app.dark .icon-btn { background: #0a1c44; color: #eef6ff; }
body.app.dark .profile-btn { background: #0a1c44; }
body.app.dark .menu-pop { background: #0a1c44; box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .menu-pop a:hover, body.app.dark .menu-pop button:hover { background: rgba(48, 122, 232, 0.14); }
body.app.dark .panel { box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .table th { background: rgba(48, 122, 232, 0.14); }
body.app.dark .table td { border-bottom: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .table tbody tr:hover td { background: rgba(48, 122, 232, 0.14); }
body.app.dark .table a.row-link:hover { color: #7ad2ff; }
body.app.dark .filters { background: rgba(48, 110, 232, 0.14); }
body.app.dark .tabs [aria-selected='true'], body.app.dark .tabs a.active { color: #7ad2ff; }
body.app.dark .chart text { fill: #93a9d0; }
body.app.dark .bar-list .bl-track { background: rgba(56, 120, 220, 0.10); }
body.app.dark .steps-v .sv .num { background: rgba(48, 205, 232, 0.14); color: #80e0fa; }
body.app.dark .steps-v .sv.done .num { background: rgba(48, 232, 112, 0.14); color: #86f3af; }
body.app.dark .notif-list li.unread { background: rgba(48, 171, 232, 0.14); }
body.app.dark .pay-method { border: 1px solid rgba(56, 189, 248, 0.18); background: #0a1c44; }
body.app.dark .pm-lock { background: rgba(48, 205, 232, 0.14); color: #80e0fa; }
body.app.dark .status-icon.ok { background: rgba(48, 232, 112, 0.14); color: #84f6ae; }
body.app.dark .status-icon.bad { background: rgba(232, 48, 48, 0.14); color: #f38686; }
body.app.dark .status-icon.wait { background: rgba(48, 159, 232, 0.14); color: #7ad2ff; }
body.app.dark .product-card { background: #0a1c44; }
body.app.dark .product-img { background: linear-gradient(135deg, rgba(48, 205, 232, 0.14), rgba(48, 127, 232, 0.14)); color: #80e0fa; }
body.app.dark .qty button { background: rgba(48, 127, 232, 0.14); }
body.app.dark .ob-step { background: #0a1c44; }
body.app.dark .ob-step summary:hover { background: rgba(48, 191, 232, 0.14); }
body.app.dark .ob-step .num { background: rgba(48, 205, 232, 0.14); color: #80e0fa; }
body.app.dark .ob-step.done .num { background: rgba(48, 232, 112, 0.14); color: #86f3af; }
body.app.dark .ob-next { background: #0a1c44; color: #eef6ff; border-color: rgba(56, 189, 248, 0.18); }
body.app.dark .ob-next:hover { background: rgba(48, 205, 232, 0.14); }
body.app.dark .ob-step { box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .ob-step .ob-ic { background: rgba(48, 135, 232, 0.14); color: #7ad0ff; }
body.app.dark .ob-step.done .ob-ic { background: rgba(48, 232, 124, 0.14); color: #86f3af; }
body.app.dark .ob-title .hint { color: #93a9d0; }
body.app.dark .ob-pill.ok { background: rgba(48, 232, 112, 0.14); color: #86f3af; }
body.app.dark .ob-pill.todo { background: rgba(232, 195, 48, 0.14); color: #ffb47a; }
body.app.dark .ob-pill.info { background: rgba(48, 159, 232, 0.14); color: #7ad0ff; }
body.app.dark .ob-pill.bad { background: rgba(232, 48, 48, 0.14); color: #f48585; }
body.app.dark .ob-body { background: linear-gradient(180deg, rgba(48, 122, 232, 0.14), #0a1c44); }
body.app.dark .ob-body .label { color: #eef6ff; }
body.app.dark .ob-body .choice:hover { background: rgba(48, 208, 232, 0.14); }
body.app.dark .sf-link { border: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .sf-status.live { background: rgba(48, 232, 112, 0.14); color: #86f3af; }
body.app.dark .sf-status.draft { background: rgba(232, 195, 48, 0.14); color: #ffb47a; }
body.app.dark .sf-copy { background: #0a1c44; color: #eef6ff; }
body.app.dark .sf-copy:hover { background: rgba(48, 205, 232, 0.14); }
body.app.dark .sf-btn { background: #0a1c44; color: #eef6ff; border-color: rgba(56, 189, 248, 0.18); }
body.app.dark .sf-btn:hover { background: rgba(48, 205, 232, 0.14); }
body.app.dark .sf-btn-ghost { border: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .sf-stat { border: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .sf-card { box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .sf-card-head { background: linear-gradient(180deg, rgba(48, 140, 232, 0.14), rgba(48, 117, 232, 0.14)); }
body.app.dark .sf-card-head p { color: #93a9d0; }
body.app.dark .sf-ic { background: rgba(48, 135, 232, 0.14); color: #7ad0ff; }
body.app.dark .sf-color input[type=color] { background: #0a1c44; }
body.app.dark .sf-color span { color: #93a9d0; }
body.app.dark .sf-sw { border: 2px solid rgba(56, 189, 248, 0.18); }
body.app.dark .sf-track { background: rgba(56, 120, 220, 0.10); }
body.app.dark .sf-track i { background: #0a1c44; }
body.app.dark .sf-mock-btn { color: #eef6ff; }
body.app.dark .sf-check li { color: #eef6ff; }
body.app.dark .sf-check li span { border: 2px solid rgba(56, 189, 248, 0.18); }
body.app.dark .sf-check li.ok { color: #eef6ff; }
body.app.dark .pf-back { color: #7ad0ff; }
body.app.dark .pf-head p { color: #93a9d0; }
body.app.dark .pf-kind-body { background: #0a1c44; }
body.app.dark .pf-kind-body small { color: #93a9d0; }
body.app.dark .pf-kind-ic { background: rgba(48, 135, 232, 0.14); color: #7ad0ff; }
body.app.dark .pf-kind input:checked + .pf-kind-body { background: rgba(48, 208, 232, 0.14); }
body.app.dark .pf-inline { color: #93a9d0; }
body.app.dark .pf-drop { border: 2px dashed rgba(71, 147, 235, 0.35); background: rgba(48, 127, 232, 0.14); }
body.app.dark .pf-drop:hover { background: rgba(48, 208, 232, 0.14); }
body.app.dark .pf-drop-ic { background: rgba(48, 205, 232, 0.14); color: #80e0fa; }
body.app.dark .pf-drop small { color: #93a9d0; }
body.app.dark .pf-card { background: #0a1c44; box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .pf-card-img { background: linear-gradient(135deg, rgba(48, 197, 232, 0.14), rgba(48, 92, 232, 0.14)); }
body.app.dark .pf-card-desc { color: #93a9d0; }
body.app.dark .pf-card-price { color: #eef6ff; }
body.app.dark .pf-badge { color: #7ad0ff; background: rgba(48, 159, 232, 0.14); }
body.app.dark .pf-tips { color: #93a9d0; }
body.app.dark .od-head p { color: #93a9d0; }
body.app.dark .od-search-ic { color: #93a9d0; }
body.app.dark .od-clear { color: #93a9d0; }
body.app.dark .od-clear:hover { background: rgba(56, 120, 220, 0.10); }
body.app.dark .od-stat { background: #0a1c44; box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .od-stat span:not(.od-stat-ic) { color: #93a9d0; }
body.app.dark .od-stat-ic { background: rgba(48, 135, 232, 0.14); color: #7ad0ff; }
body.app.dark .od-stat.warn .od-stat-ic { background: rgba(232, 195, 48, 0.14); color: #ffb47a; }
body.app.dark .od-stat.info .od-stat-ic { background: rgba(48, 159, 232, 0.14); color: #7ad0ff; }
body.app.dark .od-stat.ok .od-stat-ic { background: rgba(48, 232, 112, 0.14); color: #86f3af; }
body.app.dark .od-tabs { background: linear-gradient(180deg, rgba(48, 140, 232, 0.14), #0a1c44); }
body.app.dark .od-tabs a { color: #93a9d0; }
body.app.dark .od-tabs a:hover { color: #eef6ff; }
body.app.dark .od-tabs a.active { color: #80e0fa; }
body.app.dark .od-count { background: rgba(56, 120, 220, 0.10); color: #93a9d0; }
body.app.dark .od-tabs a.active .od-count { background: rgba(48, 216, 232, 0.14); color: #80e0fa; }
body.app.dark .od-table th { color: #93a9d0; }
body.app.dark .od-table tbody tr:hover { background: rgba(48, 163, 232, 0.14); }
body.app.dark .od-num { color: #7ad0ff; }
body.app.dark .od-cust small { color: #93a9d0; }
body.app.dark .od-av { background: linear-gradient(135deg, rgba(48, 169, 232, 0.14), rgba(48, 85, 232, 0.14)); color: #8ba5ee; }
body.app.dark .od-date { color: #93a9d0; }
body.app.dark .od-empty-ic { background: rgba(48, 135, 232, 0.14); color: #7ad0ff; }
body.app.dark .od-empty p { color: #93a9d0; }
body.app.dark .cu-av-0 { background: linear-gradient(135deg, rgba(48, 169, 232, 0.14), rgba(48, 85, 232, 0.14)); color: #8ba5ee; }
body.app.dark .cu-av-1 { background: linear-gradient(135deg, rgba(48, 232, 113, 0.14), rgba(48, 232, 147, 0.14)); color: #eef6ff; }
body.app.dark .cu-av-2 { background: linear-gradient(135deg, rgba(232, 195, 48, 0.14), rgba(232, 48, 48, 0.14)); color: #faae7f; }
body.app.dark .cu-av-3 { background: linear-gradient(135deg, rgba(136, 48, 232, 0.14), rgba(232, 48, 153, 0.14)); color: #c28af0; }
body.app.dark .cu-av-4 { background: linear-gradient(135deg, rgba(48, 213, 232, 0.14), rgba(48, 130, 232, 0.14)); color: #88d8f1; }
body.app.dark .cu-name { color: #eef6ff; }
body.app.dark .cu-name:hover { color: #7ad0ff; }
body.app.dark .cu-tag { color: #86f3af; background: rgba(48, 232, 112, 0.14); }
body.app.dark .cu-contact { color: #eef6ff; }
body.app.dark .cu-contact small { color: #93a9d0; }
body.app.dark .cu-hero-av { color: #eef6ff; background: linear-gradient(135deg, rgba(48, 213, 232, 0.14), rgba(48, 85, 232, 0.14)); }
body.app.dark .cu-hero-stats > div { border: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .po-balance.empty { box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .po-break > div { border: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .po-info { background: #0a1c44; box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .po-info-ic { background: rgba(48, 232, 124, 0.14); color: #86f3af; }
body.app.dark .po-info ol { color: #eef6ff; }
body.app.dark .po-info small { color: #93a9d0; }
body.app.dark .po-dest { background: #0a1c44; }
body.app.dark .po-dest-ic.mm { background: rgba(48, 232, 112, 0.14); color: #86f3af; }
body.app.dark .po-dest-ic.bk { background: rgba(48, 159, 232, 0.14); color: #7ad0ff; }
body.app.dark .po-dest-main span { color: #93a9d0; }
body.app.dark .po-dest-main code { color: #93a9d0; }
body.app.dark .po-remove:hover { background: rgba(232, 48, 48, 0.14); color: #f48585; }
body.app.dark .po-add { border: 1.5px dashed rgba(71, 147, 235, 0.35); background: rgba(48, 127, 232, 0.14); }
body.app.dark .po-add[open] { background: #0a1c44; }
body.app.dark .po-add summary { color: #7ad0ff; }
body.app.dark .po-add summary span { background: rgba(48, 159, 232, 0.14); }
body.app.dark .po-note { color: #93a9d0; }
body.app.dark .po-steps p { color: #eef6ff; }
body.app.dark .po-steps p b { color: #eef6ff; }
body.app.dark .po-group legend { color: #eef6ff; }
body.app.dark .po-opt-body { background: #0a1c44; }
body.app.dark .po-opt-text small { color: #93a9d0; }
body.app.dark .po-tick { border: 2px solid rgba(56, 189, 248, 0.18); }
body.app.dark .po-opt input:checked + .po-opt-body { background: rgba(48, 208, 232, 0.14); }
body.app.dark .po-chip > span { background: #0a1c44; }
body.app.dark .po-chip small { color: #93a9d0; }
body.app.dark .po-chip input:checked + span { background: rgba(48, 208, 232, 0.14); }
body.app.dark .po-amount-input { border: 1px solid rgba(56, 189, 248, 0.18); background: #0a1c44; }
body.app.dark .po-amount-input > span { color: #80e0fa; background: rgba(48, 208, 232, 0.14); border-right: 1px solid rgba(71, 205, 235, 0.35); }
body.app.dark .po-max { background: rgba(48, 205, 232, 0.14); color: #80e0fa; }
body.app.dark .po-max:hover { background: rgba(48, 216, 232, 0.14); }
body.app.dark .po-seg { background: rgba(56, 120, 220, 0.10); }
body.app.dark .po-seg-opt > span { color: #93a9d0; }
body.app.dark .po-seg-opt:hover > span { color: #eef6ff; }
body.app.dark .po-seg-opt input:checked + span { background: #0a1c44; color: #80e0fa; box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .po-quick button { border: 1px solid rgba(71, 167, 235, 0.35); background: rgba(48, 159, 232, 0.14); color: #7ad0ff; }
body.app.dark .po-quick button:hover { background: rgba(48, 159, 232, 0.14); }
body.app.dark .rp-tile { background: #0a1c44; box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .rp-tile p { color: #93a9d0; }
body.app.dark .ak-new { background: linear-gradient(180deg, rgba(48, 208, 232, 0.14), #0a1c44); }
body.app.dark .ak-new-head p { color: #93a9d0; }
body.app.dark .wh-url { color: #eef6ff; }
body.app.dark .wh-meta { color: #93a9d0; }
body.app.dark .po-quickchk span { border: 1px solid rgba(71, 167, 235, 0.35); background: rgba(48, 159, 232, 0.14); color: #7ad0ff; }
body.app.dark .nf-item:hover { background: rgba(48, 127, 232, 0.14); }
body.app.dark .nf-item.unread { background: rgba(48, 183, 232, 0.14); }
body.app.dark .nf-ic { background: rgba(48, 135, 232, 0.14); color: #7ad0ff; }
body.app.dark .nf-payment { background: rgba(48, 232, 112, 0.14); color: #86f3af; }
body.app.dark .nf-security, body.app.dark .nf-verification { background: rgba(232, 48, 48, 0.14); color: #f48585; }
body.app.dark .nf-payout { background: rgba(48, 159, 232, 0.14); color: #7ad0ff; }
body.app.dark .nf-refund { background: rgba(232, 195, 48, 0.14); color: #ffb47a; }
body.app.dark .nf-support { background: rgba(83, 48, 232, 0.14); color: #b188f2; }
body.app.dark .nf-body p { color: #93a9d0; }
body.app.dark .hs-tickets small { color: #93a9d0; }
body.app.dark .st-av { color: #eef6ff; background: linear-gradient(135deg, rgba(48, 213, 232, 0.14), rgba(48, 85, 232, 0.14)); }
body.app.dark .st-tabs { background: rgba(56, 120, 220, 0.10); }
body.app.dark .st-tabs button { color: #93a9d0; }
body.app.dark .st-tabs button:hover { color: #eef6ff; }
body.app.dark .st-tabs button[aria-selected=true] { background: #0a1c44; color: #80e0fa; box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .od-stat.bad .od-stat-ic { background: rgba(232, 48, 48, 0.14); color: #f48585; }
body.app.dark .od-late { color: #f48585; }
body.app.dark .pr-card { background: #0a1c44; box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .pr-img { background: linear-gradient(135deg, rgba(48, 197, 232, 0.14), rgba(48, 92, 232, 0.14)); }
body.app.dark .pr-status.on { background: rgba(48, 232, 112, 0.14); color: #86f3af; }
body.app.dark .pr-status.off { background: rgba(232, 195, 48, 0.14); color: #ffb47a; }
body.app.dark .pr-name { color: #eef6ff; }
body.app.dark .pr-name:hover { color: #7ad0ff; }
body.app.dark .pr-price { color: #eef6ff; }
body.app.dark .pr-kind { background: rgba(48, 159, 232, 0.14); color: #7ad0ff; }
body.app.dark .pr-stock { color: #93a9d0; }
body.app.dark .pr-stock.low { color: #ffb47a; }
body.app.dark .pr-stock.out { color: #f48585; }
body.app.dark .ov-bal { border: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .ov-toolbar p { color: #93a9d0; }
body.app.dark .pl-item:hover { background: rgba(48, 127, 232, 0.14); }
body.app.dark .pl-ic { background: rgba(48, 205, 232, 0.14); color: #80e0fa; }
body.app.dark .pl-title { color: #eef6ff; }
body.app.dark .pl-title:hover { color: #7ad0ff; }
body.app.dark .pl-meta { color: #93a9d0; }
body.app.dark .pl-url { color: #93a9d0; background: rgba(56, 120, 220, 0.10); }
body.app.dark .pl-collected { color: #86f3af; }
body.app.dark .or-total td { background: rgba(48, 127, 232, 0.14); }
body.app.dark .po-fee { border: 1px solid rgba(71, 189, 235, 0.35); background: rgba(48, 177, 232, 0.14); }
body.app.dark .po-fee > div { color: #93a9d0; }
body.app.dark .po-fee b { color: #eef6ff; }
body.app.dark .po-fee .po-fee-net b { color: #86f3af; }
body.app.dark .po-fee small { color: #93a9d0; }
body.app.dark .po-fee.bad { border-color: rgba(235, 71, 71, 0.35); background: rgba(232, 48, 48, 0.14); }
body.app.dark .po-fee.bad small { color: #f48585; }
body.app.dark .pay-fee-note { background: rgba(48, 159, 232, 0.14); border: 1px solid rgba(71, 179, 235, 0.35); color: #7ad1ff; }
body.app.dark .ps-card { background: #0a1c44; border: 1px solid rgba(56, 189, 248, 0.18); box-shadow: 0 1px 0 rgba(255,255,255,.03), 0 18px 40px -24px rgba(0,0,0,.7); }
body.app.dark .ps-head { background: linear-gradient(180deg, rgba(48, 122, 232, 0.14), #0a1c44); }
body.app.dark .ps-ok .ps-head { background: linear-gradient(180deg, rgba(48, 232, 124, 0.14), #0a1c44); }
body.app.dark .ps-bad .ps-head { background: linear-gradient(180deg, rgba(232, 48, 62, 0.14), #0a1c44); }
body.app.dark .ps-merchant { color: #eef6ff; }
body.app.dark .ps-mini { background: linear-gradient(135deg, rgba(48, 213, 232, 0.14), rgba(48, 85, 232, 0.14)); color: #eef6ff; }
body.app.dark .ps-verified { color: #86f3af; }
body.app.dark .ps-head h1 { color: #eef6ff; }
body.app.dark .ps-amount { color: #eef6ff; }
body.app.dark .ps-bad .ps-amount { color: #93a9d0; }
body.app.dark .ps-sub { color: #93a9d0; }
body.app.dark .ps-steps { border-top: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .ps-steps li span { border: 2px solid rgba(56, 189, 248, 0.18); }
body.app.dark .ps-steps li.done { color: #86f3af; }
body.app.dark .ps-steps li.now { color: #eef6ff; }
body.app.dark .ps-steps li.now span { color: #7abcff; }
body.app.dark .ps-note { background: rgba(48, 159, 232, 0.14); border: 1px solid rgba(71, 179, 235, 0.35); color: #7ad1ff; }
body.app.dark .ps-bank, body.app.dark .ps-delivery { border-top: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .ps-delivery h2 svg { color: #84f6ae; }
body.app.dark .ps-dl-item { background: rgba(48, 232, 124, 0.14); border: 1px solid rgba(71, 235, 129, 0.35); }
body.app.dark .ps-details { background: rgba(56, 120, 220, 0.10); border: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .ps-dl > div { border-top: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .ps-dl dt { color: #93a9d0; }
body.app.dark .ps-dl dd { color: #eef6ff; }
body.app.dark .ps-copy { background: rgba(48, 159, 232, 0.14); color: #7ad0ff; }
body.app.dark .ps-copy:hover { background: rgba(48, 169, 232, 0.14); }
body.app.dark .ps-help { color: #93a9d0; }
body.app.dark .lk-price { border: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .lk-qr { background: #0a1c44; border: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .lk-m { border: 1px solid rgba(56, 189, 248, 0.18); background: #0a1c44; }
body.app.dark .po-lock { background: rgba(232, 195, 48, 0.14); }
body.app.dark .po-lock h2 { color: #faae7f; }
body.app.dark .po-lock p { color: #f7ad83; }
body.app.dark .po-lock-ic { background: rgba(232, 195, 48, 0.14); color: #ffb47a; }
body.app.dark .vr-doc { border: 1px solid rgba(56, 189, 248, 0.18); background: #0a1c44; }
body.app.dark .vr-pdf { background: rgba(48, 122, 232, 0.14); color: #7ad0ff; }
body.app.dark .vr-doc figcaption { border-top: 1px solid rgba(56, 189, 248, 0.18); }
body.app.dark .vr-doc figcaption span { color: #93a9d0; }
body.app.dark .vr-note { background: rgba(232, 195, 48, 0.14); }
body.app.dark .vr-check label { color: #eef6ff; }
body.app.dark .vr-manage { color: #f48585; }
body.app.dark {
  --app-bg: #020817; --app-card: #0a1c44; --app-line: rgba(56, 189, 248, 0.16); --app-text: #eef6ff; --app-muted: #8ea6cf;
  background: radial-gradient(1100px 620px at 85% -10%, rgba(29, 140, 255, .16), transparent 60%), radial-gradient(900px 600px at -10% 110%, rgba(34, 211, 238, .08), transparent 60%), #020817;
  background-attachment: fixed; color: var(--app-text); color-scheme: dark;
}
body.app.dark .po-balance.empty { background: radial-gradient(420px 220px at 95% -20%, rgba(34, 211, 238, .14), transparent 70%), linear-gradient(135deg, #0a1c44, #0d2a5e); border: 1px dashed rgba(56, 189, 248, .3); }
body.app.dark .sidebar { background: linear-gradient(180deg, #041029, #020817); border-right: 1px solid var(--app-line); }
body.app.dark .topbar { background: rgba(2, 8, 23, .78); }
body.app.dark .panel { background: linear-gradient(180deg, rgba(12, 32, 76, .78), rgba(8, 24, 60, .78)); border-color: var(--app-line); box-shadow: 0 0 0 1px rgba(56, 189, 248, .04), 0 22px 50px -30px rgba(14, 116, 255, .45); }
body.app.dark .icon-btn, body.app.dark .profile-btn { background: rgba(10, 30, 72, .6); color: #c3d4f1; border-color: var(--app-line); }
body.app.dark .menu-pop { background: #071a3d; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
body.app.dark .menu-pop a:hover, body.app.dark .menu-pop button:hover { background: rgba(34, 211, 238, .08); }
body.app.dark .table th { background: rgba(56, 120, 220, .08); }
body.app.dark .table td { border-bottom-color: rgba(56, 189, 248, .10); }
body.app.dark .table tbody tr:hover td { background: rgba(34, 211, 238, .05); }
body.app.dark .table a.row-link:hover, body.app.dark .tabs [aria-selected='true'], body.app.dark .tabs a.active { color: var(--cyan); }
body.app.dark .chart text { fill: #8ea6cf; }
body.app.dark .dialog { background: #071a3d; color: var(--app-text); }
body.app.dark .btn-light { background: rgba(10, 30, 72, .6); color: #e6efff; border-color: var(--line-strong); }
body.app.dark .btn-light:hover { border-color: var(--cyan); background: rgba(34, 211, 238, .08); }
body.app.dark .btn-danger-outline { background: transparent; color: #fca5a5; border-color: rgba(239, 68, 68, .45); }
body.app.dark .qr { background: #fff; }
body.app.dark .btn-dark { background: linear-gradient(135deg, #0e3a8a, #1d8cff); color: #fff; border-color: rgba(34, 211, 238, .45); box-shadow: 0 10px 26px -12px rgba(29, 140, 255, .7); }
body.app.dark .btn-dark:hover { background: linear-gradient(135deg, #1249a8, #22a3ff); }
body.app.dark .btn-danger { background: linear-gradient(135deg, #dc2626, #ef4444); box-shadow: 0 10px 26px -12px rgba(239, 68, 68, .7); }
body.app.dark h1, body.app.dark h2, body.app.dark h3, body.app.dark h4 { color: #f4f8ff; }
body.app.dark ::selection { background: rgba(34, 211, 238, .35); }

/* ---- brand logo (image) ---- */
.logo .brand-logo { display: block; height: 60px; width: auto; max-width: none; }
.site-footer .logo .brand-logo { height: 76px; }
.sidebar .logo { padding: 2px 6px 14px; }
.sidebar .logo .brand-logo { width: 200px; height: auto; }
.brand-mark { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 560px) { .logo .brand-logo { height: 48px; } }
.avatar.brand-avatar { width: 40px; height: 40px; box-shadow: 0 0 0 2px rgba(34, 211, 238, .45), 0 0 14px rgba(34, 211, 238, .35); }
.avatar.brand-avatar img { object-fit: contain; padding: 2px; }

/* ==========================================================================
   Corporate light theme for the public website (body.site-light).
   Same layout and components; only colours change. The hero keeps the globe on a blue band.
   ========================================================================== */
body.site-light {
  --bg-0: #ffffff; --bg-1: #f4f8fd; --bg-2: #eaf2fb; --bg-3: #dbe8f7;
  --glass: #ffffff; --glass-strong: #ffffff;
  --line: rgba(10, 61, 122, .12); --line-strong: rgba(11, 92, 173, .28);
  --cyan: #0b63c4; --cyan-2: #0a56ab; --cyan-glow: rgba(11, 99, 196, .22);
  --text: #0b2545; --text-2: #3c5576; --muted: #6b80a0;
  --brand-red: #e0294f;
  --shadow-glow: 0 1px 2px rgba(11, 37, 69, .06), 0 18px 40px -22px rgba(11, 60, 130, .35);
  background: #ffffff; color: var(--text);
}
/* blue bands keep the original light-on-dark palette */
body.site-light .hero, body.site-light .page-hero, body.site-light .site-footer, body.site-light .cta-band,
body.site-light .mock, body.site-light .code-block, body.site-light .endpoint, body.site-light .blog-thumb {
  --glass: rgba(10, 30, 72, .55); --glass-strong: rgba(8, 24, 60, .9);
  --line: rgba(255, 255, 255, .16); --line-strong: rgba(255, 255, 255, .32);
  --cyan: #7dd3fc; --cyan-2: #38bdf8; --cyan-glow: rgba(125, 211, 252, .4);
  --text: #ffffff; --text-2: #dbe9fb; --muted: #a9c3e6;
  color: var(--text);
}

/* header: white bar like an established bank / PSP */
body.site-light .site-header, body.site-light .site-header.is-scrolled, body.site-light .site-header.solid {
  background: #ffffff; backdrop-filter: none; box-shadow: 0 1px 0 rgba(10, 61, 122, .1), 0 6px 20px -14px rgba(11, 37, 69, .35);
}
body.site-light .nav-link:hover, body.site-light .nav-trigger:hover, body.site-light .nav-trigger[aria-expanded='true'] { color: var(--cyan); background: #eef5fd; }
body.site-light .nav-link.active::after, body.site-light .nav-trigger.active::after { box-shadow: none; }
body.site-light .dropdown { box-shadow: 0 24px 50px -18px rgba(11, 37, 69, .35); backdrop-filter: none; }
body.site-light .dropdown a:hover, body.site-light .dropdown a:focus-visible, body.site-light .lang-select .dropdown button:hover { background: #eef5fd; }
body.site-light .dropdown .dd-icon { background: #eaf2fb; }
body.site-light .menu-toggle { color: var(--text); background: #fff; }
body.site-light .mobile-panel { background: #ffffff; }
body.site-light .lang-btn { background: #fff; }

/* buttons */
body.site-light .btn-primary { background: #0b5cad; color: #ffffff; box-shadow: 0 10px 24px -12px rgba(11, 92, 173, .7); }
body.site-light .btn-primary:hover { background: #094c91; box-shadow: 0 12px 28px -12px rgba(11, 92, 173, .8); }
body.site-light .btn-ghost { background: #ffffff; color: #0b5cad; border-color: #0b5cad; }
body.site-light .btn-ghost:hover { background: #eef5fd; border-color: #094c91; }
body.site-light .hero .btn-primary, body.site-light .page-hero .btn-primary, body.site-light .cta-band .btn-primary { background: #ffffff; color: #0b3d7a; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .45); }
body.site-light .hero .btn-primary:hover, body.site-light .page-hero .btn-primary:hover, body.site-light .cta-band .btn-primary:hover { background: #eaf2fb; }
body.site-light .hero .btn-ghost, body.site-light .page-hero .btn-ghost, body.site-light .cta-band .btn-ghost, body.site-light .site-footer .btn-ghost { background: transparent; color: #ffffff; border-color: rgba(255, 255, 255, .7); }
body.site-light .hero .btn-ghost:hover, body.site-light .page-hero .btn-ghost:hover, body.site-light .cta-band .btn-ghost:hover { background: rgba(255, 255, 255, .12); }
body.site-light .site-footer .btn-primary { background: #ffffff; color: #0b3d7a; }

/* hero: corporate blue with a red diagonal accent; the rotating globe stays */
body.site-light .hero { background: linear-gradient(118deg, #072f63 0%, #0b4f9c 48%, #1572d3 100%); }
body.site-light .hero::before { content: ""; position: absolute; z-index: -3; top: 0; bottom: 0; right: -6%; width: 46%; background: linear-gradient(160deg, rgba(224, 41, 79, .9), rgba(224, 41, 79, .55)); clip-path: polygon(38% 0, 62% 0, 100% 50%, 62% 100%, 38% 100%, 76% 50%); opacity: .55; }
body.site-light .starfield { opacity: .35; }
body.site-light .hero-slide .hl { color: #ffd166; text-shadow: none; }
body.site-light .eyebrow { color: #ffffff; }
body.site-light .eyebrow::before { background: var(--brand-red); box-shadow: none; }
body.site-light .slide-dots button[aria-current='true'] { background: #ffffff; box-shadow: none; }
body.site-light .activity-card { background: rgba(255, 255, 255, .97); border-color: rgba(255, 255, 255, .6); box-shadow: 0 30px 60px -28px rgba(0, 20, 60, .6);
  --text: #0b2545; --text-2: #3c5576; --muted: #6b80a0; --line: rgba(10, 61, 122, .12); --cyan: #0b63c4; color: var(--text); }
body.site-light .activity-list li a:hover { background: #f1f6fd; }
body.site-light .activity-icon { background: #eaf2fb; }
body.site-light .node { background: linear-gradient(145deg, #ffffff, #e6f0fb); border-color: rgba(255, 255, 255, .9); color: #0b5cad; box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45); }
body.site-light .global-card { background: rgba(255, 255, 255, .97); border-color: transparent; --text-2: #3c5576; --muted: #6b80a0; }
body.site-light .global-card .gc-value { color: #0b2545; }
body.site-light .network-tag span { color: #ffd166; }

/* sections & cards */
body.site-light .section-alt { background: #f2f7fd; border-top: 0; }
body.site-light .kicker { color: var(--brand-red); }
body.site-light .card { background: #ffffff; border-color: #e1eaf5; box-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 14px 34px -24px rgba(11, 60, 130, .35); }
body.site-light .card.hoverable:hover { border-color: #b9d2ee; box-shadow: 0 2px 4px rgba(11, 37, 69, .06), 0 24px 44px -24px rgba(11, 60, 130, .45); }
body.site-light .icon-tile { background: linear-gradient(145deg, #e6f0fb, #f4f8fd); border-color: #cfe0f4; color: #0b5cad; box-shadow: none; }
body.site-light .method-pill { background: #ffffff; border-color: #e1eaf5; box-shadow: 0 6px 16px -12px rgba(11, 37, 69, .35); }
body.site-light .check-list li svg, body.site-light .price-card li svg { color: #0b5cad; }
body.site-light .step::before { -webkit-text-stroke: 1px #0b5cad; }
body.site-light .pricing-toggle { background: #ffffff; }
body.site-light .pricing-toggle button[aria-pressed='true'] { background: #0b5cad; color: #ffffff; }
body.site-light .price-card.featured { background: linear-gradient(180deg, #eef5fd, #ffffff); border-color: #0b5cad; box-shadow: 0 0 0 1px #0b5cad, 0 30px 60px -30px rgba(11, 92, 173, .55); }
body.site-light .faq details { background: #ffffff; border-color: #e1eaf5; }
body.site-light .cta-band { background: radial-gradient(600px 300px at 85% 0%, rgba(224, 41, 79, .35), transparent 70%), linear-gradient(118deg, #072f63, #0b5cad); border-color: transparent; box-shadow: 0 30px 60px -32px rgba(11, 60, 130, .6); }
body.site-light .page-hero { background: linear-gradient(118deg, #072f63 0%, #0b4f9c 55%, #1572d3 100%); border-bottom: 0; }
body.site-light .page-hero .breadcrumbs, body.site-light .page-hero .breadcrumbs a { color: #cfe2fa; }
body.site-light .prose h2, body.site-light .prose h3, body.site-light .prose th { color: #0b2545; }
body.site-light .prose code { background: #eef5fd; color: #0a56ab; }
body.site-light .docs-nav a:hover, body.site-light .docs-nav a.active { background: #eef5fd; }
body.site-light .status-chip { background: #fff4e5; color: #b45309; border-color: #fcd9a8; }
body.site-light .demo-label, body.site-light .claims-note { color: #b45309; }

/* footer: deep navy band */
body.site-light .site-footer { background: linear-gradient(180deg, #072a57, #051d3e); border-top: 0; }
body.site-light .footer-grid a:hover, body.site-light .social a:hover { color: #ffffff; }
body.site-light .footer-bottom { border-top-color: rgba(255, 255, 255, .14); }

/* contact & other light-page widgets */
body.site-light .ct-ic { box-shadow: 0 6px 16px -10px rgba(11, 37, 69, .45); border: 1px solid #e1eaf5; }
body.site-light .wa-float { box-shadow: 0 12px 30px -10px rgba(22, 163, 74, .6); }
body.site-light .page-hero .kicker, body.site-light .cta-band .kicker { color: #ffd166; }

/* ---- payment-method card: drop-in on load + macOS Dock magnification ---- */
@keyframes fpCardIn { from { opacity: 0; transform: translateY(-36px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes fpDrop { 0% { opacity: 0; transform: translateY(-30px); } 70% { opacity: 1; transform: translateY(4px); } 100% { opacity: 1; transform: none; } }
@keyframes fpShimmer { to { background-position: 300% 0; } }
.activity-card.dock-ready { animation: fpCardIn .7s cubic-bezier(.2, .8, .2, 1) both; }
.activity-card.dock-ready .activity-list > li { animation: fpDrop .6s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(.3s + var(--i, 0) * .09s); }
.activity-card::before { content: ""; position: absolute; z-index: 2; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #0b5cad, #22d3ee, #e0294f, #0b5cad); background-size: 300% 100%; animation: fpShimmer 6s linear infinite; }
.activity-list > li { padding: calc((var(--dock, 1) - 1) * 18px) 0; transition: padding .16s ease-out; }
.activity-list .activity-icon.has-logo, .activity-list li:hover .activity-icon.has-logo, .activity-list .activity-icon.has-logo:hover {
  transform-origin: left center; transform: scale(var(--dock, 1)); z-index: 3;
  transition: transform .16s ease-out, box-shadow .2s ease;
  box-shadow: 0 1px 2px rgba(2, 8, 23, .2), 0 calc((var(--dock, 1) - 1) * 16px) calc((var(--dock, 1) - 1) * 34px) rgba(11, 40, 90, .38);
}
.activity-list li > * > span:not(.activity-icon) { display: block; transform: translateX(calc((var(--dock, 1) - 1) * 72px)); transition: transform .16s ease-out; }
.activity-list li > * > span.activity-amt { display: block; transform: none; }
.activity-list li .activity-title { transition: color .2s; }
.activity-list li[data-dock-top] .activity-title { color: var(--cyan); }
@media (prefers-reduced-motion: reduce) {
  .activity-card.dock-ready, .activity-card.dock-ready .activity-list > li, .activity-card::before { animation: none; }
  .activity-list > li, .activity-list .activity-icon.has-logo, .activity-list li > * > span { transition: none; }
}

/* ---- payment-method card: frosted, medium size ---- */
body.site-light .activity-card { width: min(100%, 370px); background: rgba(224, 236, 255, .62); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border: 1px solid rgba(255, 255, 255, .45); box-shadow: 0 24px 50px -26px rgba(0, 20, 60, .55), inset 0 1px 0 rgba(255, 255, 255, .5); }
body.site-light .activity-card .activity-head { padding: 12px 16px; border-bottom-color: rgba(11, 61, 122, .12); }
body.site-light .activity-card .activity-head h2 { font-size: 14px; }
body.site-light .activity-card .activity-head a { background: rgba(255, 255, 255, .55); }
body.site-light .activity-card .activity-list { padding: 4px 6px 8px; }
body.site-light .activity-card .activity-list li > div, body.site-light .activity-card .activity-list li a { grid-template-columns: 62px 1fr auto; gap: 14px; padding: 7px 10px; }
body.site-light .activity-card .activity-icon.has-logo { width: 62px; height: 34px; padding: 4px 8px; }
body.site-light .activity-card .activity-title { font-size: 13.5px; }
body.site-light .activity-card .activity-sub { font-size: 11.5px; }
body.site-light .activity-card .activity-list li > * > span:not(.activity-icon) { transform: translateX(calc((var(--dock, 1) - 1) * 60px)); }
body.site-light .activity-card .activity-list > li { padding: calc((var(--dock, 1) - 1) * 15px) 0; }
body.site-light .activity-card { --muted: #34507a; --text: #0a2244; }

/* ---- horizontal Dock (checkout preview pills): drop in when seen, magnify under the pointer ---- */
@keyframes fpPillDrop { 0% { opacity: 0; transform: translateY(-22px) scale(.9); } 70% { opacity: 1; transform: translateY(3px) scale(1.02); } 100% { opacity: 1; transform: none; } }
[data-dock] { align-items: flex-end; min-height: 46px; }
[data-dock] > * { transform-origin: center bottom; transform: translateX(var(--dock-x, 0px)) scale(var(--dock, 1)); position: relative; z-index: 1;
  transition: transform .16s ease-out, box-shadow .2s ease, border-color .2s ease;
  box-shadow: 0 6px 16px -12px rgba(11, 37, 69, .35), 0 calc((var(--dock, 1) - 1) * 18px) calc((var(--dock, 1) - 1) * 34px) rgba(11, 40, 90, .3); }
[data-dock] > [data-dock-top] { z-index: 3; border-color: #9cc3ef; }
[data-dock] .logo, [data-dock] > *:hover .logo, [data-dock] .logo:hover { transform: none !important; }
[data-dock].dock-in > * { animation: fpPillDrop .55s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * .1s); }
@media (prefers-reduced-motion: reduce) { [data-dock] > * { transition: none; } [data-dock].dock-in > * { animation: none; } }

/* ---- softer whites: milk-toned surfaces (logo tiles stay pure white) ---- */
body.site-light { --milk: #f7f4ee; --milk-2: #efebe2; --milk-card: #fcfaf6; background: var(--milk); }
body.site-light .site-header, body.site-light .site-header.is-scrolled, body.site-light .site-header.solid { background: #fbf9f5; }
body.site-light .section-alt { background: var(--milk-2); }
body.site-light .card, body.site-light .faq details, body.site-light .pricing-toggle, body.site-light .lang-btn, body.site-light .dropdown, body.site-light .mobile-panel { background: var(--milk-card); }
body.site-light .card { border-color: #e7e1d5; }
body.site-light .method-pill { background: var(--milk-card); border-color: #e7e1d5; }
body.site-light .price-card.featured { background: linear-gradient(180deg, #eef3fa, var(--milk-card)); }
body.site-light .btn-ghost { background: var(--milk-card); }
body.site-light .light .input, body.site-light .input, body.site-light .select, body.site-light .textarea { background-color: #fffdf9; }
body.site-light .ct-ic, body.site-light .method-pill .logo, body.site-light .activity-icon.has-logo { background-color: #ffffff; }

/* ---- hero network circles: a little bigger, pop in on load, Dock magnification under the pointer ---- */
@keyframes fpNodePop { 0% { opacity: 0; transform: translate(-50%, -50%) scale(.3); } 70% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); } 100% { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.network-graph[data-dock-radial] { width: 350px; height: 245px; }
.network-graph[data-dock-radial] .node { width: 58px; height: 58px; transform: translate(-50%, -50%) scale(var(--dock, 1)); z-index: 1; overflow: hidden;
  transition: transform .16s ease-out, box-shadow .2s ease; animation: fpNodePop .6s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(.5s + var(--i, 0) * .08s); }
.network-graph[data-dock-radial] .node.sm { width: 50px; height: 50px; }
.network-graph[data-dock-radial] .node svg { width: 25px; height: 25px; }
.network-graph[data-dock-radial] .node.sm svg { width: 21px; height: 21px; }
.network-graph[data-dock-radial] .node[data-dock-top] { z-index: 3; }
body.site-light .network-graph[data-dock-radial] .node { box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .45), 0 calc((var(--dock, 1) - 1) * 16px) calc((var(--dock, 1) - 1) * 36px) rgba(0, 20, 60, .45); }
.network-graph[data-dock-radial] .node img { width: 100%; height: 100%; object-fit: cover; display: block; }  /* ready for people photos */
.network-graph[data-dock-radial] .global-card { z-index: 2; }
@media (max-width: 640px) { .network-graph[data-dock-radial] { width: 280px; height: 200px; } .network-graph[data-dock-radial] .node { width: 50px; height: 50px; } .network-graph[data-dock-radial] .node.sm { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .network-graph[data-dock-radial] .node { animation: none; transition: none; } }

/* ---- home section headings type themselves out when scrolled into view ---- */
@keyframes twBlink { 50% { opacity: 0; } }
.tw-ch { opacity: 0; transition: opacity .06s linear; }
.tw-ch.on { opacity: 1; }
.tw-caret { display: inline-block; width: 3px; height: .92em; margin-left: 3px; vertical-align: -.1em; border-radius: 2px; background: currentColor; animation: twBlink .7s steps(1) infinite; }
.tw-done .tw-caret { animation: twBlink .7s steps(1) 3; opacity: 0; transition: opacity .3s .9s; }

/* ---- public shops directory ---- */
.sh-search { position: relative; display: flex; gap: 10px; max-width: 760px; margin: 0 0 30px; }
.sh-search .input { padding-left: 44px; min-height: 50px; border-radius: 14px; }
.sh-search-ic { position: absolute; left: 15px; top: 15px; color: var(--muted); }
.sh-search-ic svg { width: 20px; height: 20px; }
.sh-search .btn { --bh: 50px; border-radius: 14px; }
.sh-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.sh-cats { position: sticky; top: 96px; display: grid; gap: 4px; }
.sh-cats h2 { font-size: 17px; margin: 0 0 8px; }
.sh-cat { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--text); font-size: 14.5px; font-weight: 500; text-decoration: none !important; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.sh-cat svg { width: 18px; height: 18px; color: var(--cyan); flex: none; }
.sh-cat span { flex: 1; }
.sh-cat b { font-size: 12px; color: var(--muted); background: rgba(11, 92, 173, .08); padding: 1px 8px; border-radius: 999px; }
.sh-cat:hover { background: rgba(11, 92, 173, .06); }
.sh-cat.active { background: #0b5cad; color: #fff; }
.sh-cat.active svg, .sh-cat.active b { color: #fff; }
.sh-cat.active b { background: rgba(255, 255, 255, .2); }
.sh-safe { margin-top: 16px; padding: 16px; border-radius: 16px; background: var(--milk-card, #fff); border: 1px solid #e7e1d5; font-size: 13.5px; }
.sh-safe b { display: flex; align-items: center; gap: 8px; color: #15803d; }
.sh-safe b svg { width: 18px; height: 18px; }
.sh-safe ul { margin: 10px 0 0; padding-left: 18px; color: var(--text-2); display: grid; gap: 6px; }
.sh-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.sh-head h2 { font-size: 22px; margin: 0; }
.sh-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; margin-bottom: 36px; }
.sh-product { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: var(--milk-card, #fff); border: 1px solid #e7e1d5; color: var(--text); text-decoration: none !important; transition: transform .2s, box-shadow .2s; }
.sh-product:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(11, 60, 130, .5); }
.sh-product-img { aspect-ratio: 4 / 3; display: grid; place-items: center; background: linear-gradient(135deg, #e6f0fb, #f4f8fd); color: #0b5cad; }
.sh-product-img img { width: 100%; height: 100%; object-fit: cover; }
.sh-product-img svg { width: 40px; height: 40px; }
.sh-product-body { padding: 12px 14px 14px; display: grid; gap: 2px; }
.sh-product-body b { font-size: 14.5px; line-height: 1.3; }
.sh-product-body small { color: var(--muted); font-size: 12.5px; }
.sh-price { margin-top: 6px; font: 700 15.5px var(--font-display); color: #0b5cad; }
.sh-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sh-store { position: relative; display: flex; gap: 14px; align-items: center; padding: 22px 16px 16px; border-radius: 18px; background: var(--milk-card, #fff); border: 1px solid #e7e1d5; color: var(--text); text-decoration: none !important; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.sh-store:hover { transform: translateY(-3px); box-shadow: 0 18px 34px -22px rgba(11, 60, 130, .5); }
.sh-store-band { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--accent); }
.sh-store-logo { width: 56px; height: 56px; flex: none; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--accent); color: #fff; font: 800 22px var(--font-display); }
.sh-store-logo img { width: 100%; height: 100%; object-fit: cover; }
.sh-store-body { display: grid; gap: 3px; min-width: 0; }
.sh-store-body b { display: flex; align-items: center; gap: 6px; font-size: 15.5px; }
.sh-verified svg { width: 16px; height: 16px; color: #16a34a; }
.sh-store-body small { color: var(--text-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sh-store-meta { display: flex; gap: 8px; margin-top: 4px; }
.sh-store-meta span { font-size: 11.5px; font-weight: 600; color: #0a56ab; background: #eaf2fb; padding: 2px 8px; border-radius: 999px; }
.sh-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 36px; padding: 26px; border-radius: 20px; color: #fff; background: radial-gradient(500px 240px at 90% 0%, rgba(224, 41, 79, .35), transparent 70%), linear-gradient(118deg, #072f63, #0b5cad); }
.sh-cta h3 { color: #fff; margin: 0 0 4px; }
.sh-cta p { margin: 0; color: #dbe9fb; max-width: 560px; }
.sh-cta .btn-primary { background: #fff; color: #0b3d7a; }
@media (max-width: 900px) { .sh-layout { grid-template-columns: 1fr; } .sh-cats { position: static; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); } .sh-cats h2, .sh-safe, .sh-top { grid-column: 1 / -1; } }
@media (max-width: 560px) { .sh-search { flex-direction: column; } }
/* store page: report form */
.store-report { margin-top: 34px; border: 1px solid var(--app-line); border-radius: 14px; background: #fff; }
.store-report summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--app-muted); list-style: none; }
.store-report summary::-webkit-details-marker { display: none; }
.store-report summary svg { width: 16px; height: 16px; }
.store-report-form { padding: 0 16px 16px; display: grid; gap: 12px; }
.sh-store-meta { flex-wrap: wrap; }
.sh-store-meta span { white-space: nowrap; }
body.site-light .sh-cta .btn-primary { background: #fff; color: #0b3d7a; box-shadow: 0 12px 28px -14px rgba(0, 0, 0, .45); }

/* after-payment access (e.g. WhatsApp group invite) */
.ps-access-note { margin: 0 0 12px; white-space: pre-wrap; word-break: break-word; }
.ps-access .ps-wa { background: #25d366; border-color: #25d366; color: #fff; }
.ps-access .ps-wa:hover { background: #1ebe5b; border-color: #1ebe5b; }
.co-unlock { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #ecfdf3; border: 1px solid #bbf7d0; font-size: 13.5px; color: #14532d; }
.co-unlock svg { flex: 0 0 auto; width: 16px; height: 16px; margin-top: 2px; color: #16a34a; }
.lk-access .input, .lk-access .textarea { width: 100%; }

/* shopper accounts, star ratings, reviews */
.stars { display: inline-flex; align-items: center; gap: 6px; }
.stars-bg { position: relative; display: inline-block; color: #cbd5e1; letter-spacing: 2px; font-size: 18px; line-height: 1; }
.stars-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; color: #f59e0b; }
.stars-sm .stars-bg { font-size: 14px; letter-spacing: 1px; }
.stars b { font-size: 15px; } .stars small { opacity: .75; }
.store-rating { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.store-rating a { color: inherit; font-weight: 600; opacity: .9; }
.store-shopper { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -10px 0 22px; padding: 10px 14px; border-radius: 12px; background: #f1f5f9; font-size: 14px; }
.store-shopper svg { width: 16px; height: 16px; }
.store-reviews { margin-top: 36px; }
.store-reviews h2 { font-size: 22px; margin: 0 0 12px; }
.rv-summary { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.rv-pos { color: #15803d; font-weight: 600; } .rv-neg { color: #b91c1c; font-weight: 600; }
.rv-list { display: grid; gap: 12px; }
.rv-item { padding: 14px 16px; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.rv-item p { margin: 8px 0 0; white-space: pre-wrap; word-break: break-word; }
.rv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-photo { display: block; margin-top: 10px; max-width: 220px; max-height: 220px; border-radius: 10px; object-fit: cover; border: 1px solid #e2e8f0; }
.sh-account { max-width: 760px; margin: 0 auto; }
.sh-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.sh-head h1 { margin: 4px 0; font-size: 28px; }
.sh-order { padding: 16px 18px; margin-bottom: 14px; }
.sh-order-top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sh-order-actions { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.sh-review { margin-top: 14px; padding-top: 14px; border-top: 1px solid #eef2f7; }
.sh-review summary { cursor: pointer; font-weight: 600; }
.sh-review-done { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.sh-review-done p { margin: 0; white-space: pre-wrap; }
.sh-review-photo { max-width: 160px; border-radius: 10px; }
.sh-review-form { margin-top: 12px; }
.sh-review-form .textarea, .sh-review-form .input { width: 100%; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; border: 0; padding: 0; margin: 0 0 12px; }
.star-input legend { width: 100%; font-weight: 600; margin-bottom: 6px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 30px; line-height: 1; color: #cbd5e1; cursor: pointer; transition: color .12s, transform .12s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f59e0b; }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 2px solid #1d8cff; border-radius: 4px; }

.sh-sell { display: flex; align-items: center; gap: 14px; padding: 16px 18px; margin-bottom: 16px; background: linear-gradient(135deg, #eff6ff, #ecfeff); border: 1px solid #bfdbfe; flex-wrap: wrap; }
.sh-sell > div { flex: 1; min-width: 200px; }
.sh-sell p { margin: 2px 0 0; }
.sh-sell-ic { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: #1d4ed8; color: #fff; }
.sh-sell-ic svg { width: 20px; height: 20px; }

/* shops directory: top sellers of the week */
.sh-top { margin-bottom: 18px; padding: 14px; border-radius: 16px; background: var(--milk-card, #fff); border: 1px solid #e7e1d5; color: var(--text); display: grid; gap: 10px; }
.sh-cats .sh-top h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; }
.sh-top h2 svg { width: 18px; height: 18px; color: #f59e0b; }
.sh-top1 { position: relative; display: grid; justify-items: center; gap: 6px; padding: 18px 12px 14px; border-radius: 14px; text-align: center; color: inherit; text-decoration: none;
  background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 16%, #fff), #fff 70%); border: 1px solid color-mix(in srgb, var(--accent) 35%, #e2e8f0); transition: transform .15s, box-shadow .15s; }
.sh-top1:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(2, 8, 23, .45); }
.sh-top1 b { font-size: 16px; }
.sh-top1 small { opacity: .75; font-size: 12.5px; }
.sh-top1-badge { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .02em; color: #78350f; background: linear-gradient(135deg, #fde68a, #f59e0b); box-shadow: 0 4px 10px -4px rgba(245, 158, 11, .7); }
.sh-top-logo { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; overflow: hidden; background: var(--accent, #0b5cad); color: #fff; font-weight: 700; font-size: 22px; box-shadow: 0 0 0 3px #fde68a; }
.sh-top-logo img { width: 100%; height: 100%; object-fit: cover; }
.sh-top-logo.sm { width: 32px; height: 32px; border-radius: 9px; font-size: 14px; box-shadow: none; background: #0b5cad; }
.sh-top-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sh-top-list a { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 10px; color: inherit; text-decoration: none; }
.sh-top-list a:hover { background: #f1f5f9; }
.sh-top-rank { width: 20px; text-align: center; font-weight: 700; color: #64748b; }
.sh-top-name { display: grid; min-width: 0; }
.sh-top-name b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-top-name small { font-size: 12px; opacity: .7; }

/* delivery: address form, tracking timeline */
.dl-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; align-items: start; }
.dl-side { display: grid; gap: 14px; }
.dl-form { padding: 18px; }
.dl-card { padding: 16px 18px; margin-bottom: 14px; }
.dl-side .dl-card { margin-bottom: 0; }
.dl-card h2 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 0 0 12px; }
.dl-card h2 svg { width: 18px; height: 18px; color: #1d4ed8; }
.dl-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dl-items li { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; }
.dl-items .dl-total { padding-top: 8px; border-top: 1px solid #eef2f7; font-weight: 700; }
.dl-contact { display: flex; gap: 8px; flex-wrap: wrap; }
.dl-seller, .dl-addr { margin: 0 0 10px; line-height: 1.55; }
.dl-eta { display: flex; align-items: center; gap: 14px; padding: 14px 18px; margin-bottom: 14px; background: linear-gradient(135deg, #eff6ff, #f0fdf4); border: 1px solid #bfdbfe; flex-wrap: wrap; }
.dl-eta > div { flex: 1; min-width: 200px; display: grid; }
.dl-eta small { opacity: .75; }
.dl-eta-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #1d4ed8; color: #fff; }
.dl-eta-ic svg { width: 20px; height: 20px; }
.dl-timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.dl-step { position: relative; display: flex; gap: 12px; padding: 0 0 18px; }
.dl-step:not(:last-child)::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: #dbeafe; }
.dl-step.done:not(:last-child)::before { background: #86efac; }
.dl-dot { flex: 0 0 auto; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #e2e8f0; color: #475569; }
.dl-dot svg { width: 16px; height: 16px; }
.dl-step.done .dl-dot { background: #dcfce7; color: #15803d; }
.dl-step.now .dl-dot { background: #1d4ed8; color: #fff; box-shadow: 0 0 0 4px #dbeafe; }
.dl-step > div { display: grid; gap: 3px; padding-top: 4px; min-width: 0; }
.dl-step small { opacity: .7; font-size: 12.5px; }
.dl-line { display: flex; align-items: flex-start; gap: 6px; margin: 2px 0 0; font-size: 14px; }
.dl-line svg { flex: 0 0 auto; width: 14px; height: 14px; margin-top: 3px; color: #64748b; }
.dl-note { margin: 4px 0 0; padding: 8px 10px; border-radius: 10px; background: #f8fafc; font-size: 14px; white-space: pre-wrap; word-break: break-word; }
.dl-addr-box { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 12px 14px; margin-bottom: 16px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; }
.dl-addr-box > div:first-child { display: grid; gap: 2px; }
.dl-post { margin-top: 6px; padding-top: 12px; border-top: 1px solid #eef2f7; }
.dl-post summary { cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.dl-post summary svg { width: 16px; height: 16px; }
@media (max-width: 860px) { .dl-layout { grid-template-columns: 1fr; } }

.dl-fee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; margin-top: 10px; }
.dl-fee-grid label { display: grid; grid-template-columns: 1fr 100px; align-items: center; gap: 8px; font-size: 13.5px; }
.dl-fee-grid .input { min-height: 34px; padding: 6px 8px; }
.dl-fees details summary { cursor: pointer; font-weight: 600; margin-top: 6px; }

/* ---- merchant ID chip (topbar) ---- */
.mid-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--app-line); background: var(--app-card); color: var(--app-text); font: 700 13px/1.15 var(--mono); cursor: pointer; }
.mid-chip small { display: block; font: 600 10.5px/1.2 var(--font-body); color: var(--app-muted); letter-spacing: .04em; text-transform: uppercase; }
.mid-chip span { text-align: left; }
.mid-chip svg { width: 15px; height: 15px; color: var(--app-muted); }
.mid-chip:hover { border-color: var(--cyan); }

/* ---- feature search (overview) ---- */
.fs { position: relative; margin-bottom: 18px; max-width: 760px; }
.fs .input { padding-left: 44px; min-height: 50px; border-radius: 14px; font-size: 15px; }
.fs-ic { position: absolute; left: 15px; top: 15px; color: var(--app-muted); pointer-events: none; }
.fs-ic svg { width: 20px; height: 20px; }
.fs-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; max-height: 340px; overflow: auto; background: var(--app-card); border: 1px solid var(--app-line); border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .45); }
body.app.dark .fs-list { background: #071a3d; }
.fs-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--app-text); text-decoration: none; font-weight: 600; font-size: 14.5px; }
.fs-list a:hover, .fs-list a:focus { background: rgba(34, 211, 238, .10); outline: none; }
.fs-list svg { width: 18px; height: 18px; color: var(--cyan); }
.fs-none { padding: 12px; color: var(--app-muted); font-size: 14px; }

/* ---- balances per rail + period tabs (overview) ---- */
.ov-rails { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.ov-rail { position: relative; display: grid; gap: 4px; align-content: start; padding: 18px 18px 16px; border-radius: 18px; background: var(--app-card); border: 1px solid var(--app-line); }
.ov-rail small { font-size: 13px; color: var(--app-muted); font-weight: 600; }
.ov-rail b { font-size: 26px; line-height: 1.15; letter-spacing: -.01em; }
.ov-rail span:not(.ov-rail-ic) { font-size: 12.5px; color: var(--app-muted); }
.ov-rail a { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; font-size: 13.5px; color: var(--cyan); text-decoration: none; }
.ov-rail a svg { width: 14px; height: 14px; }
.ov-rail-ic { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(34, 211, 238, .12); color: var(--cyan); }
.ov-rail-ic svg { width: 17px; height: 17px; }
.ov-rail.main { background: linear-gradient(135deg, #0b2a8f, #1d3fd1); border-color: transparent; color: #fff; box-shadow: 0 16px 34px -16px rgba(29, 63, 209, .7); }
.ov-rail.main small, .ov-rail.main span:not(.ov-rail-ic) { color: rgba(255, 255, 255, .78); }
.ov-rail.main .ov-rail-ic { background: rgba(255, 255, 255, .16); color: #fff; }
.ov-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; margin-bottom: 12px; width: max-content; max-width: 100%; border-radius: 14px; background: var(--app-card); border: 1px solid var(--app-line); }
.ov-tabs a { padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--app-muted); text-decoration: none; }
.ov-tabs a:hover { color: var(--app-text); }
.ov-tabs a.active { background: linear-gradient(135deg, #1d3fd1, #0b2a8f); color: #fff; }
@media (max-width: 1100px) { .ov-rails { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ov-rails { grid-template-columns: 1fr; } .ov-tabs { width: 100%; } }

/* ---- verify payment ---- */
.vf-box { padding: 18px; margin-bottom: 18px; }
.vf-form { display: flex; gap: 10px; align-items: center; position: relative; }
.vf-form .input { flex: 1; min-height: 50px; font-size: 15.5px; }
.vf-box .vf-form .input { padding-left: 44px; }
.vf-ic { position: absolute; left: 15px; top: 15px; color: var(--app-muted); }
.vf-ic svg { width: 20px; height: 20px; }
.vf-form .btn { min-height: 50px; }
.vf-tip { display: flex; gap: 8px; align-items: flex-start; margin: 12px 0 0; }
.vf-tip svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
.vf-result { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; margin-bottom: 14px; border-left: 5px solid var(--app-line); }
.vf-result.ok { border-left-color: #16a34a; }
.vf-result.warn { border-left-color: #f59e0b; }
.vf-result.bad { border-left-color: #ef4444; }
.vf-big { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgba(148, 163, 184, .14); }
.vf-big svg { width: 28px; height: 28px; }
.vf-result.ok .vf-big { background: rgba(22, 163, 74, .14); color: #22c55e; }
.vf-result.warn .vf-big { background: rgba(245, 158, 11, .14); color: #f59e0b; }
.vf-result.bad .vf-big { background: rgba(239, 68, 68, .14); color: #ef4444; }
.vf-body { flex: 1; min-width: 0; }
.vf-body p { margin: 4px 0 0; color: var(--app-muted); }
.vf-verdict { font-size: 19px; }
.vf-result.ok .vf-verdict { color: #22c55e; }
.vf-result.bad .vf-verdict { color: #ef4444; }
.vf-body .vf-amount { font-size: 26px; font-weight: 800; color: var(--app-text); margin: 4px 0 10px; }
.vf-dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 18px; margin: 0; }
.vf-dl dt { font-size: 12px; color: var(--app-muted); text-transform: uppercase; letter-spacing: .05em; }
.vf-dl dd { margin: 2px 0 0; font-weight: 600; word-break: break-word; }
@media (max-width: 640px) { .vf-form { flex-wrap: wrap; } .vf-form .btn { width: 100%; } .vf-result { flex-wrap: wrap; } }

/* ---- QR payments ---- */
.qr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.qr-card { display: flex; gap: 14px; padding: 14px; color: var(--app-text); text-decoration: none; transition: border-color .15s; }
.qr-card:hover { border-color: var(--cyan); }
.qr-thumb { flex: none; width: 104px; height: 104px; padding: 6px; border-radius: 12px; background: #fff; }
.qr-thumb svg { width: 100%; height: 100%; display: block; }
.qr-info { display: grid; gap: 4px; align-content: start; min-width: 0; }
.qr-info b { font-size: 16px; }
.qr-info small { color: var(--app-muted); font-size: 13px; }
.qr-figs { display: flex; gap: 10px; align-items: baseline; font-size: 13px; color: var(--app-muted); }
.qr-figs b { font-size: 15px; color: var(--app-text); }
.qr-info .sf-status { width: max-content; margin-top: 4px; }
.qr-form { padding: 22px; max-width: 760px; display: grid; gap: 4px; }
.qr-kind { border: 0; padding: 0; margin: 6px 0 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.qr-kind legend { margin-bottom: 8px; }
.qr-opt { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 14px; border: 1px solid var(--app-line); cursor: pointer; }
.qr-opt:has(input:checked) { border-color: var(--cyan); background: rgba(34, 211, 238, .07); }
.qr-opt input { margin-top: 3px; accent-color: #22d3ee; }
.qr-opt b { display: block; font-size: 14.5px; }
.qr-opt small { color: var(--app-muted); font-size: 13px; }
.qr-detail { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 20px; align-items: start; }
.qr-poster { background: #fff; color: #0b1733; border-radius: 22px; padding: 26px 26px 20px; text-align: center; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, .6); border-top: 10px solid #1d3fd1; }
.qr-poster-head { display: flex; align-items: center; gap: 12px; text-align: left; }
.qr-poster-head b { display: block; font-size: 18px; }
.qr-poster-head small { color: #5d6b88; font-size: 13.5px; }
.qr-poster-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; flex: none; }
.qr-poster-ini { display: grid; place-items: center; background: #1d3fd1; color: #fff; font-weight: 800; font-size: 22px; }
.qr-poster-cta { margin: 18px 0 6px; font: 800 26px/1.1 var(--font-display); letter-spacing: -.01em; }
.qr-poster-code { width: 260px; max-width: 100%; margin: 0 auto; padding: 10px; border: 2px solid #e3e9f3; border-radius: 18px; }
.qr-poster-code svg { display: block; width: 100%; height: auto; }
.qr-poster-amount { margin: 12px 0 10px; font-weight: 800; font-size: 20px; }
.qr-poster-methods { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.qr-poster-methods img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.qr-poster-foot { margin: 12px 0 0; font-size: 12px; color: #5d6b88; }
.qr-stats { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .qr-detail { grid-template-columns: 1fr; } .qr-kind { grid-template-columns: 1fr; } }
@media print {
  body.app, body.app.dark { background: #fff !important; }
  .app-shell { display: block !important; }
  .app-main { padding: 0 !important; }
  .qr-detail { display: block; }
  .qr-poster { box-shadow: none; max-width: 520px; margin: 0 auto; }
  .toast-region { display: none !important; }
}

/* ---- events (dashboard) ---- */
.ev-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.ev-card { display: flex; gap: 14px; padding: 14px; color: var(--app-text); text-decoration: none; }
.ev-card:hover { border-color: var(--cyan); }
.ev-cover { flex: none; width: 96px; height: 120px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, rgba(29, 63, 209, .35), rgba(34, 211, 238, .2)); color: var(--cyan); }
.ev-cover img { width: 100%; height: 100%; object-fit: cover; }
.ev-cover svg { width: 34px; height: 34px; }
.ev-body { display: grid; gap: 4px; align-content: start; min-width: 0; }
.ev-body b { font-size: 16px; }
.ev-body small { display: flex; gap: 6px; align-items: center; color: var(--app-muted); font-size: 13px; }
.ev-body small svg { width: 14px; height: 14px; flex: none; }
.ev-body .sf-status { width: max-content; }
.ev-figs { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; font-size: 13px; color: var(--app-muted); }
.ev-figs b { font-size: 14px; color: var(--app-text); }
.ev-form { padding: 22px; max-width: 860px; }
.ev-form-h { display: flex; gap: 8px; align-items: center; margin: 4px 0 12px; }
.app-main .ev-form-h { font-size: 17px; }
.ev-form-h svg { width: 18px; height: 18px; color: var(--cyan); }
.ev-types { display: grid; gap: 8px; }
.ev-type { display: grid; grid-template-columns: 2fr 1.2fr 1fr; gap: 8px; align-items: start; }
.ev-type-head span { font-size: 12.5px; font-weight: 700; color: var(--app-muted); text-transform: uppercase; letter-spacing: .05em; }
.ev-qr { width: 170px; margin: 0; }
.ev-tlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ev-tlist li { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--app-line); }
.ev-tlist li:last-child { border-bottom: 0; padding-bottom: 0; }
.ev-tlist small { display: block; color: var(--app-muted); font-size: 12.5px; }
.ev-desc { white-space: pre-line; margin: 0; }
.ev-checkin-result { margin-bottom: 12px; }
.ev-checkin-result p { font-size: 16px; }
@media (max-width: 640px) { .ev-type { grid-template-columns: 1fr 1fr; } .ev-type > div:first-of-type { grid-column: 1 / -1; } .ev-type-head { display: none; } }

/* ---- event page & ticket (public, light) ---- */
.evp { display: grid; gap: 22px; }
.evp-hero { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 24px; align-items: center; padding: 22px; border-radius: 22px; color: #fff; background: radial-gradient(500px 260px at 90% 0%, rgba(34, 211, 238, .35), transparent 70%), linear-gradient(135deg, #0a1f4d, #1d3fd1); }
.evp-hero.no-cover { grid-template-columns: 1fr; }
.evp-cover { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.evp-org { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; opacity: .9; }
.evp-org img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.evp-head h1 { color: #fff; font-size: clamp(28px, 4vw, 42px); margin: 10px 0; line-height: 1.1; }
.evp-meta { display: grid; gap: 6px; margin: 0; font-size: 16px; }
.evp-meta span { display: flex; gap: 8px; align-items: center; }
.evp-meta svg { width: 18px; height: 18px; color: #a5f3fc; }
.evp-grid { display: grid; grid-template-columns: 1fr minmax(0, 440px); gap: 22px; align-items: start; }
.evp-about h2 { font-size: 20px; }
.evp-types { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.evp-types li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e3e9f3; border-radius: 14px; }
.evp-types li.out { opacity: .55; }
.evp-types b { display: block; font-size: 15.5px; }
.evp-types small { color: #5d6b88; }
.evp-qty { width: 84px; min-height: 42px; }
.evp-total { display: flex; justify-content: space-between; font-size: 16px; margin: 0 0 14px; padding: 12px 14px; border-radius: 12px; background: #f3f6fb; }
@media (max-width: 860px) { .evp-hero, .evp-grid { grid-template-columns: 1fr; } .evp-cover { max-width: 320px; } }
.tk-wrap { max-width: 440px; margin: 0 auto; display: grid; gap: 14px; }
.tk-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 60px -30px rgba(10, 31, 77, .5); border: 1px solid #e3e9f3; }
.tk-head { padding: 22px; color: #fff; background: linear-gradient(135deg, #0a1f4d, #1d3fd1); }
.tk-head h1 { color: #fff; font-size: 24px; margin: 8px 0; }
.tk-head p { margin: 0; line-height: 1.7; }
.tk-head svg { width: 15px; height: 15px; vertical-align: -2px; }
.tk-org { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; opacity: .9; }
.tk-org img { width: 26px; height: 26px; border-radius: 7px; object-fit: cover; }
.tk-cut { height: 0; border-top: 2px dashed #cbd5e1; margin: 0 16px; }
.tk-body { padding: 20px 22px 22px; text-align: center; }
.tk-qr { width: 240px; max-width: 100%; margin: 0 auto; }
.tk-qr svg { width: 100%; height: auto; display: block; }
.tk-card.used .tk-qr, .tk-card.void .tk-qr { opacity: .25; }
.tk-code { font-size: 20px; font-weight: 800; letter-spacing: .12em; margin: 10px 0 14px; }
.tk-dl { display: grid; gap: 8px; text-align: left; margin: 0 0 16px; }
.tk-dl div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid #eef2f8; padding-bottom: 8px; }
.tk-dl dt { color: #5d6b88; }
.tk-dl dd { margin: 0; font-weight: 700; }
.tk-hint { margin: 0; }
.ps-tickets h2 { display: flex; gap: 8px; align-items: center; font-size: 18px; margin: 0 0 4px; }
.ps-tickets h2 svg { width: 20px; height: 20px; }
.ps-tlist { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.ps-tlist li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e3e9f3; border-radius: 12px; background: #fff; }
.ps-tlist small { display: block; color: #5d6b88; }

/* ---- affiliate ---- */
.af-steps { margin: 0; padding-left: 20px; display: grid; gap: 12px; }
.af-steps b { display: block; }
.af-steps span { color: var(--app-muted); font-size: 13.5px; }

/* ---- sales tabs + search ---- */
.sl-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.sl-tabs { margin-bottom: 0; }
.sl-count { display: inline-block; min-width: 22px; padding: 1px 7px; margin-left: 4px; border-radius: 999px; font-size: 12px; text-align: center; background: rgba(148, 163, 184, .18); }
.sl-tabs a.active .sl-count { background: rgba(255, 255, 255, .22); }
.sl-count.sl-alert { background: #ef4444; color: #fff; }
.sl-search { width: min(420px, 100%); }
.sl-search .input { min-height: 46px; border-radius: 14px; }
.sl-more { margin-bottom: 0; }
.sl-more > summary { display: flex; gap: 8px; align-items: center; padding: 14px 18px; cursor: pointer; font-weight: 600; color: var(--app-muted); list-style: none; }
.sl-more > summary::-webkit-details-marker { display: none; }
.sl-more > summary svg { width: 16px; height: 16px; }
.sl-more[open] > summary { border-bottom: 1px solid var(--app-line); }

/* ---- disputes ---- */
.dp-wrap { max-width: 640px; }
.dp-reasons { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 8px; }
.dp-reasons legend { margin-bottom: 8px; }
.dp-status { padding: 14px; margin-bottom: 14px; border-radius: 14px; background: #f3f6fb; }
.dp-status p { margin: 0 0 6px; }
.dp-reply { margin-top: 12px; padding: 12px 14px; border-radius: 12px; border-left: 4px solid #1d3fd1; background: rgba(29, 63, 209, .07); }
.dp-reply p { margin: 6px 0 0; }
.dp-msg { font-size: 15.5px; }

/* ---- coupons, socials, blacklist, direct request, payout confirmation ---- */
.cart-coupon { width: 150px; min-height: 42px; text-transform: uppercase; }
.store-socials { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.store-socials a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid #e3e9f3; background: #fff; color: #0b1733; font-weight: 600; font-size: 13.5px; text-decoration: none; }
.store-socials a:hover { border-color: #1d3fd1; }
.store-socials svg { width: 15px; height: 15px; }
.store-socials .ss-whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.cu-new > summary { color: var(--app-text); }
.cu-new-form { display: grid; grid-template-columns: 1.2fr 1fr 1fr auto; gap: 8px; padding: 14px 18px 18px; }
@media (max-width: 760px) { .cu-new-form { grid-template-columns: 1fr; } }
.cu-block.on { border-color: rgba(239, 68, 68, .5); }
.cu-block.on .sf-ic { background: rgba(239, 68, 68, .14); color: #ef4444; }
.cp-code { padding: 4px 10px; border-radius: 8px; border: 1px dashed var(--cyan); background: rgba(34, 211, 238, .08); color: var(--app-text); font-weight: 700; letter-spacing: .06em; cursor: pointer; }
.rq-nets { border: 0; padding: 0; margin: 4px 0 12px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.rq-nets legend { margin-bottom: 8px; }
.rq-net { display: flex; align-items: center; gap: 8px; }
.rq-net img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.po-confirm { border-color: var(--cyan); }
.po-confirm-sum { font-size: 17px; margin: 0 0 12px; }
.po-confirm .vf-form .input { max-width: 220px; letter-spacing: .3em; font-size: 20px; text-align: center; }

.sh-offer { display: inline-flex; align-items: center; gap: 4px; color: #b91c1c; font-weight: 700; }
.sh-offer svg { width: 13px; height: 13px; }

/* =====================================================================
   FlyPay feature theme — cyan / electric on deep navy, one accent per feature.
   Overrides the plain styles above; scoped with [data-fx] and :has().
   ===================================================================== */
:root { --fx: #22d3ee; --fx2: #1d8cff; --fx-ink: #03101f; --fx-brand: linear-gradient(135deg, #22d3ee 0%, #1d8cff 55%, #6366f1 100%); }
[data-fx="sales"], .app-main:has([data-fx="sales"]) { --fx: #22d3ee; --fx2: #1d8cff; }
[data-fx="verify"], .app-main:has([data-fx="verify"]) { --fx: #34d399; --fx2: #22d3ee; }
[data-fx="qr"], .app-main:has([data-fx="qr"]) { --fx: #a78bfa; --fx2: #6366f1; }
[data-fx="events"], .app-main:has([data-fx="events"]) { --fx: #fbbf24; --fx2: #f43f5e; }
[data-fx="affiliate"], .app-main:has([data-fx="affiliate"]) { --fx: #f472b6; --fx2: #fbbf24; }
[data-fx="disputes"], .app-main:has([data-fx="disputes"]) { --fx: #fb7185; --fx2: #f97316; }
[data-fx="coupons"], .app-main:has([data-fx="coupons"]) { --fx: #fb923c; --fx2: #facc15; }
[data-fx="request"], .app-main:has([data-fx="request"]) { --fx: #38bdf8; --fx2: #34d399; }
[data-fx="settlements"], .app-main:has([data-fx="settlements"]) { --fx: #2dd4bf; --fx2: #1d8cff; }

/* ---- page header: glass band, accent glow, gradient icon tile ---- */
.fx-head { position: relative; overflow: hidden; justify-content: flex-start; align-items: center; gap: 18px; padding: 22px 24px 22px 28px; border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--fx) 28%, transparent);
  background: radial-gradient(560px 240px at 100% -10%, color-mix(in srgb, var(--fx) 22%, transparent), transparent 70%),
              radial-gradient(460px 220px at -5% 120%, color-mix(in srgb, var(--fx2) 16%, transparent), transparent 70%), var(--app-card);
  box-shadow: 0 24px 50px -32px color-mix(in srgb, var(--fx) 60%, transparent); }
.fx-head::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, var(--fx), var(--fx2)); }
.fx-head > div:not(.row) { flex: 1; min-width: 220px; }
.fx-head > .btn, .fx-head > .row, .fx-head > .badge, .fx-head > a { margin-left: auto; }
.fx-head h1 { background: linear-gradient(90deg, var(--app-text) 35%, var(--fx) 130%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fx-ic { flex: none; width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center; color: var(--fx-ink);
  background: linear-gradient(135deg, var(--fx), var(--fx2)); box-shadow: 0 12px 28px -10px var(--fx), inset 0 1px 0 rgba(255, 255, 255, .35); }
.fx-ic svg { width: 27px; height: 27px; }
@media (max-width: 640px) { .fx-head { padding: 18px; } .fx-ic { width: 46px; height: 46px; border-radius: 14px; } .fx-head > .btn, .fx-head > .row, .fx-head > a { margin-left: 0; } }

/* ---- hero banners (affiliate, event): navy with the feature's glow ---- */
.fx-hero { background: radial-gradient(620px 300px at 92% -20%, color-mix(in srgb, var(--fx) 42%, transparent), transparent 70%),
                      radial-gradient(520px 260px at 0% 120%, color-mix(in srgb, var(--fx2) 30%, transparent), transparent 70%),
                      linear-gradient(135deg, #041029, #0b2557 60%, #0b3a6b); border: 1px solid color-mix(in srgb, var(--fx) 30%, transparent); }
.fx-hero .sf-eyebrow { color: var(--fx); }
.fx-hero .lk-price { border-color: color-mix(in srgb, var(--fx) 40%, transparent); background: color-mix(in srgb, var(--fx) 12%, rgba(255, 255, 255, .04)); }
.fx-hero .lk-price b { background: linear-gradient(90deg, #fff, var(--fx)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- components pick up the page accent ---- */
.app-main:has([data-fx]) .sf-ic { color: var(--fx); background: color-mix(in srgb, var(--fx) 14%, transparent); }
.app-main:has([data-fx]) .od-tabs a.active { color: var(--fx); border-color: var(--fx); }
.app-main:has([data-fx]) .qr-opt:has(input:checked) { border-color: var(--fx); background: color-mix(in srgb, var(--fx) 9%, transparent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx) 14%, transparent); }
.app-main:has([data-fx]) .qr-opt input { accent-color: var(--fx); }
.app-main:has([data-fx]) .qr-card:hover, .app-main:has([data-fx]) .ev-card:hover { border-color: var(--fx); box-shadow: 0 18px 40px -26px var(--fx); transform: translateY(-2px); }
.qr-card, .ev-card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.app-main:has([data-fx]) .od-stat-ic { color: var(--fx); background: color-mix(in srgb, var(--fx) 14%, transparent); }
.app-main:has([data-fx="events"]) .ev-cover { background: radial-gradient(120px 120px at 30% 20%, rgba(251, 191, 36, .45), transparent 70%), linear-gradient(135deg, #3b1d5e, #7c1d3f); color: #fde68a; }
.app-main:has([data-fx="qr"]) .qr-thumb { box-shadow: 0 0 0 1px rgba(167, 139, 250, .5), 0 10px 24px -14px #a78bfa; }
.cp-code { border-color: var(--fx); background: color-mix(in srgb, var(--fx) 10%, transparent); }
.sl-count.sl-alert { background: linear-gradient(135deg, #fb7185, #f97316); }

/* ---- period / sales tabs and the balance cards: brand gradient (no flat royal blue) ---- */
.ov-tabs { background: color-mix(in srgb, var(--app-card) 85%, transparent); backdrop-filter: blur(8px); }
.ov-tabs a.active { background: linear-gradient(135deg, var(--fx), var(--fx2)); color: var(--fx-ink); box-shadow: 0 8px 20px -10px var(--fx); }
.sl-tabs a.active .sl-count { background: rgba(3, 16, 31, .18); color: var(--fx-ink); }
.ov-rail { overflow: hidden; }
.ov-rail::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--rail, #22d3ee), transparent); }
.ov-rail:nth-child(2) { --rail: #fbbf24; }
.ov-rail:nth-child(3) { --rail: #a78bfa; }
.ov-rail:nth-child(4) { --rail: #34d399; }
.ov-rail:nth-child(2) .ov-rail-ic { color: #fbbf24; background: rgba(251, 191, 36, .12); }
.ov-rail:nth-child(3) .ov-rail-ic { color: #a78bfa; background: rgba(167, 139, 250, .12); }
.ov-rail:nth-child(4) .ov-rail-ic { color: #34d399; background: rgba(52, 211, 153, .12); }
.ov-rail.main { background: radial-gradient(360px 200px at 100% 0%, rgba(34, 211, 238, .45), transparent 70%), linear-gradient(135deg, #0b2557, #0b5f8a 60%, #0e7490);
  border: 1px solid rgba(34, 211, 238, .35); box-shadow: 0 18px 40px -20px rgba(34, 211, 238, .55); }
.ov-rail.main::before { display: none; }
.ov-rail.main b { text-shadow: 0 2px 18px rgba(34, 211, 238, .35); }

/* ---- verify results ---- */
.vf-box { border-color: color-mix(in srgb, var(--fx) 30%, var(--app-line)); }
.vf-box .vf-form .input:focus { border-color: var(--fx); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fx) 18%, transparent); }
.vf-result.ok { background: linear-gradient(90deg, rgba(52, 211, 153, .10), transparent 60%), var(--app-card); }
.vf-result.warn { background: linear-gradient(90deg, rgba(245, 158, 11, .10), transparent 60%), var(--app-card); }
.vf-result.bad { background: linear-gradient(90deg, rgba(239, 68, 68, .10), transparent 60%), var(--app-card); }

/* ---- feature search ---- */
.fs .input:focus { border-color: #22d3ee; box-shadow: 0 0 0 4px rgba(34, 211, 238, .16); }
.fs-ic { color: #22d3ee; }

/* ---- QR poster: brand bar instead of a flat blue top ---- */
.qr-poster { border-top: 0; position: relative; overflow: hidden; }
.qr-poster::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--fx-brand); }
.qr-poster-ini { background: var(--fx-brand); }
.qr-poster-cta { background: linear-gradient(90deg, #0b2557, #1d8cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qr-poster-code { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--fx-brand) border-box; }

/* ---- public event page, ticket and dispute: FlyPay navy with a cyan/amber glow ---- */
.evp-hero { background: radial-gradient(520px 280px at 92% 0%, rgba(251, 191, 36, .30), transparent 70%), radial-gradient(520px 280px at 0% 110%, rgba(34, 211, 238, .28), transparent 70%),
                        linear-gradient(135deg, #020817, #0b2557 55%, #0b4f7a); box-shadow: 0 30px 60px -36px rgba(11, 37, 87, .9); }
.evp-meta svg { color: #fbbf24; }
.evp-types li:focus-within { border-color: #22d3ee; box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
.evp-total { background: linear-gradient(90deg, rgba(34, 211, 238, .10), rgba(29, 140, 255, .06)); border: 1px solid rgba(34, 211, 238, .25); }
.evp-total b { color: #0b5f8a; }
.tk-head { background: radial-gradient(360px 200px at 100% 0%, rgba(251, 191, 36, .35), transparent 70%), linear-gradient(135deg, #020817, #0b2557 60%, #0b4f7a); }
.tk-card { box-shadow: 0 30px 70px -34px rgba(11, 37, 87, .7), 0 0 0 1px rgba(34, 211, 238, .18); }
.tk-code { background: linear-gradient(90deg, #0b2557, #1d8cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dp-reply { border-left-color: #22d3ee; background: rgba(34, 211, 238, .08); }
.ps-tickets { border-color: rgba(251, 191, 36, .45); background: linear-gradient(180deg, rgba(251, 191, 36, .08), transparent); }
.store-socials a:hover { border-color: #22d3ee; box-shadow: 0 6px 16px -10px #22d3ee; }

/* ---- merchant ID chip ---- */
.mid-chip { background: linear-gradient(135deg, rgba(34, 211, 238, .10), rgba(29, 140, 255, .06)), var(--app-card); border-color: rgba(34, 211, 238, .30); }
.mid-chip svg { color: #22d3ee; }

@media (prefers-reduced-motion: reduce) { .qr-card, .ev-card { transition: none; } .app-main:has([data-fx]) .qr-card:hover, .app-main:has([data-fx]) .ev-card:hover { transform: none; } }
.tk-meta { display: grid; gap: 6px; }
.tk-meta span { display: flex; align-items: center; gap: 8px; }
.tk-head .tk-meta svg { width: 16px; height: 16px; flex: none; color: #fbbf24; vertical-align: 0; }
.evp-about .co-trust li { color: #334155; }
.evp-about .co-trust svg { color: #0b5f8a; }
.app-main .ev-form .field, .app-main .qr-form .field, .app-main .pf-side .field { margin-bottom: 4px; }

/* ---- shopper ↔ seller messages ---- */
[data-fx="messages"], .app-main:has([data-fx="messages"]) { --fx: #22d3ee; --fx2: #a78bfa; }
.product-card { position: relative; }
.pc-ask { position: absolute; z-index: 2; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px;
  background: rgba(2, 8, 23, .72); color: #fff; font-size: 12.5px; font-weight: 700; text-decoration: none; backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px -8px rgba(2, 8, 23, .8); border: 1px solid rgba(34, 211, 238, .45); transition: background .15s, transform .15s; }
.pc-ask:hover { background: linear-gradient(135deg, #22d3ee, #1d8cff); color: #03101f; transform: translateY(-1px); }
.pc-ask svg { width: 14px; height: 14px; }
.store-contact { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.sh-product { position: relative; }
.sh-product-name { color: inherit; text-decoration: none; }
.sh-ask { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: linear-gradient(135deg, #22d3ee, #1d8cff); box-shadow: 0 8px 18px -8px #1d8cff; transition: transform .15s; }
.sh-ask:hover { transform: scale(1.08); }
.sh-ask svg { width: 18px; height: 18px; }
.sh-visit { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 12.5px; font-weight: 600; color: #0b5cad; text-decoration: none; }
.sh-visit svg { width: 13px; height: 13px; }
.sh-visit:hover { text-decoration: underline; }

.ch-wrap { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.ch-panel { display: grid; gap: 14px; }
.ch-head { display: flex; align-items: center; gap: 14px; padding-bottom: 12px; border-bottom: 1px solid #e3e9f3; }
.ch-head h1 { font-size: 20px; margin: 0; }
.ch-head p { margin: 2px 0 0; color: #5d6b88; font-size: 13.5px; }
.ch-visit { margin-left: auto; }
.ch-avatar { flex: none; width: 46px; height: 46px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; font-weight: 800; font-size: 19px; color: #03101f;
  background: linear-gradient(135deg, #22d3ee, #a78bfa); }
.ch-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ch-avatar.sm { width: 40px; height: 40px; border-radius: 12px; font-size: 16px; }
.ch-avatar-ic svg { width: 22px; height: 22px; }
.ch-list { list-style: none; margin: 0; padding: 4px 2px; display: grid; gap: 10px; max-height: 58vh; overflow-y: auto; }
.ch-day { text-align: center; }
.ch-day span { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 600; color: #5d6b88; background: #eef3fa; }
.ch-msg { display: grid; gap: 6px; max-width: 78%; }
.ch-msg.mine { justify-self: end; justify-items: end; }
.ch-msg.theirs { justify-self: start; }
.ch-bubble { padding: 10px 14px; border-radius: 18px; background: #eef3fa; color: #0b1733; }
.ch-bubble p { margin: 0; white-space: pre-line; word-break: break-word; font-size: 14.5px; line-height: 1.45; }
.ch-bubble time { display: block; margin-top: 4px; font-size: 11px; opacity: .65; }
.ch-msg.theirs .ch-bubble { border-bottom-left-radius: 6px; }
.ch-msg.mine .ch-bubble { border-bottom-right-radius: 6px; color: #fff; background: linear-gradient(135deg, #0b5f8a, #1d8cff); box-shadow: 0 8px 20px -14px #1d8cff; }
.ch-product { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1px solid #dbe6f3; background: #fff; color: #0b1733; text-decoration: none; }
.ch-product b { display: block; font-size: 13.5px; }
.ch-product small { display: block; color: #5d6b88; font-size: 12px; }
.ch-product-img { flex: none; width: 46px; height: 46px; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: #eef3fa; color: #0b5cad; }
.ch-product-img img { width: 100%; height: 100%; object-fit: cover; }
.ch-product-img svg { width: 20px; height: 20px; }
.ch-product-lg { border-color: rgba(34, 211, 238, .5); background: linear-gradient(90deg, rgba(34, 211, 238, .08), #fff); }
.ch-product-lg .ch-product-img { width: 64px; height: 64px; }
.ch-compose { display: grid; gap: 10px; }
.ch-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.ch-chip { padding: 6px 12px; border-radius: 999px; border: 1px solid #cfe0f2; background: #f5f9fe; color: #0b3a6b; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.ch-chip:hover { border-color: #22d3ee; background: #e8fbff; }
.ch-reply { display: flex; gap: 8px; align-items: flex-end; padding-top: 10px; border-top: 1px solid #e3e9f3; }
.ch-reply .textarea { flex: 1; min-height: 46px; resize: vertical; }
.ch-reply .btn { min-width: 52px; min-height: 46px; }
.ch-inbox { list-style: none; margin: 0; padding: 0; }
.ch-inbox a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #eef2f8; color: inherit; text-decoration: none; }
.ch-inbox a:hover { background: rgba(34, 211, 238, .06); }
.ch-inbox a.unread b { color: #0b5f8a; }
.ch-inbox-body { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ch-inbox-body small { color: #5d6b88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ch-inbox-body em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; font-size: 12px; color: var(--fx, #22d3ee); }
.ch-inbox-body em svg { width: 12px; height: 12px; }
.ch-inbox-meta { display: grid; justify-items: end; gap: 4px; font-size: 12px; color: #5d6b88; }
.ch-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; font-size: 11.5px; font-weight: 800; color: #03101f;
  background: linear-gradient(135deg, #22d3ee, #1d8cff); }
/* dashboard (dark) */
.ch-panel-app { padding: 18px; }
body.app.dark .ch-head, body.app.dark .ch-reply { border-color: var(--app-line); }
body.app.dark .ch-head p, body.app.dark .ch-inbox-body small, body.app.dark .ch-inbox-meta { color: var(--app-muted); }
body.app.dark .ch-bubble { background: rgba(56, 120, 220, .16); color: var(--app-text); }
body.app.dark .ch-day span { background: rgba(56, 120, 220, .14); color: var(--app-muted); }
body.app.dark .ch-product { background: rgba(10, 28, 68, .8); border-color: var(--app-line); color: var(--app-text); }
body.app.dark .ch-product small { color: var(--app-muted); }
body.app.dark .ch-product-img { background: rgba(56, 120, 220, .16); color: #7ad2ff; }
body.app.dark .ch-chip { background: rgba(10, 30, 72, .6); border-color: var(--app-line); color: #c3d4f1; }
body.app.dark .ch-chip:hover { border-color: #22d3ee; color: #fff; }
body.app.dark .ch-inbox a { border-color: var(--app-line); }
body.app.dark .ch-inbox a.unread b { color: #7ad2ff; }
@media (max-width: 640px) { .ch-msg { max-width: 92%; } .ch-visit { margin-left: 0; } .ch-head { flex-wrap: wrap; } }
.ch-msg.theirs .ch-bubble { background: #fff; border: 1px solid #dbe6f3; box-shadow: 0 6px 16px -14px rgba(11, 37, 87, .5); }
body.app.dark .ch-msg.theirs .ch-bubble { background: rgba(56, 120, 220, .16); border-color: var(--app-line); }
body.app.dark .ch-msg.mine .ch-bubble { color: #fff; background: linear-gradient(135deg, #0b5f8a, #1d8cff); border: 0; }
.sh-visit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; text-decoration: none !important; }
.sh-visit-name { display: inline-flex; align-items: center; gap: 5px; min-width: 0; color: #5d6b88; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.sh-visit em { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font-style: normal; font-weight: 700; font-size: 12px; color: #0b5cad; background: #e8f2fd; }
.sh-visit:hover em { background: linear-gradient(135deg, #22d3ee, #1d8cff); color: #03101f; }

/* ---- currency switch (approximate prices in TSh / KSh / USD) ---- */
.cur-switch { display: inline-flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid #dbe6f3; background: #fff; font-size: 12.5px; }
.cur-label { display: inline-flex; align-items: center; gap: 5px; padding: 0 6px 0 8px; color: #5d6b88; font-weight: 600; }
.cur-label svg { width: 14px; height: 14px; }
.cur-switch a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; color: #0b3a6b; font-weight: 700; text-decoration: none; }
.cur-switch a:hover { background: #eef6ff; }
.cur-switch a.active { background: linear-gradient(135deg, #22d3ee, #1d8cff); color: #03101f; box-shadow: 0 6px 14px -8px #1d8cff; }
body.app.dark .cur-switch { background: rgba(10, 30, 72, .6); border-color: var(--app-line); }
body.app.dark .cur-label { color: var(--app-muted); }
body.app.dark .cur-switch a { color: #c3d4f1; }
body.app.dark .cur-switch a:hover { background: rgba(34, 211, 238, .08); }
body.app.dark .cur-switch a.active { color: #03101f; }
.cur-top .cur-label { display: none; }
.store-contact .cur-switch { margin-left: auto; }
.sh-cur { display: flex; justify-content: flex-end; margin: -6px 0 14px; }
.pc-approx { display: block; font-size: 12.5px; font-weight: 600; color: #0b5f8a; }
.sh-approx { display: block; font-size: 12px; font-weight: 600; color: #0b5f8a; }
.co-approx { margin: -4px 0 10px; font-weight: 700; color: #a5f3fc; }
.co-approx span { font-weight: 500; opacity: .75; font-size: 13px; }
.co-summary .cur-switch { margin-bottom: 14px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); }
.co-summary .cur-label, .co-summary .cur-switch a { color: rgba(255, 255, 255, .85); }
.co-summary .cur-switch a.active { color: #03101f; }
.evp-buy .cur-switch { margin-bottom: 12px; }
.ov-approx { display: block; font-style: normal; font-size: 12.5px; font-weight: 700; color: #7dd3fc; margin-top: -2px; }
.ov-rail.main .ov-approx, .ov-bal .ov-approx { color: #a5f3fc; }
@media (max-width: 640px) { .store-contact .cur-switch { margin-left: 0; } .cur-label { display: none; } }
.ov-view-note { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 13px; font-weight: 600; color: #7dd3fc; }
.ov-view-note svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .cur-top .cur-switch { padding: 2px; } .cur-top .cur-switch a { padding: 4px 7px; font-size: 11.5px; } }

/* ---- currency: one button, the other currencies drop down on hover or tap ---- */
.cur-dd { position: relative; display: inline-block; }
.cur-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid #dbe6f3; background: #fff; color: #0b3a6b; font: 600 13px var(--font-body); cursor: pointer; }
.cur-btn b { font-weight: 800; color: #0b1733; }
.cur-btn svg { width: 15px; height: 15px; color: #0b5f8a; }
.cur-btn svg:last-child { width: 14px; height: 14px; transition: transform .15s; }
.cur-btn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.cur-btn:hover, .cur-btn[aria-expanded="true"] { border-color: #22d3ee; box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
.cur-btn .cur-label { color: #5d6b88; font-weight: 600; }
.cur-menu { display: none; position: absolute; z-index: 60; right: 0; top: 100%; padding-top: 6px; min-width: 210px; }
.cur-menu.open { display: block; }
@media (hover: hover) { .cur-dd:hover .cur-menu { display: block; } .cur-dd:hover .cur-btn svg:last-child { transform: rotate(180deg); } }
.cur-menu-box { padding: 6px; border-radius: 14px; border: 1px solid #dbe6f3; background: #fff; box-shadow: 0 20px 44px -20px rgba(11, 37, 87, .45); }
.cur-menu a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 6px; padding: 9px 10px; border-radius: 10px; color: #0b1733; text-decoration: none; }
.cur-menu a b { font-weight: 800; }
.cur-menu a small { color: #5d6b88; font-size: 12.5px; }
.cur-menu a svg { width: 16px; height: 16px; color: #0b5f8a; }
.cur-menu a:hover { background: #eef6ff; }
.cur-menu a.active { background: linear-gradient(135deg, rgba(34, 211, 238, .16), rgba(29, 140, 255, .10)); }
/* dashboard (dark) */
body.app.dark .cur-btn { background: rgba(10, 30, 72, .6); border-color: var(--app-line); color: #c3d4f1; }
body.app.dark .cur-btn b { color: #fff; }
body.app.dark .cur-btn svg { color: #22d3ee; }
body.app.dark .cur-btn .cur-label { color: var(--app-muted); }
body.app.dark .cur-menu-box { background: #071a3d; border-color: var(--app-line); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .8); }
body.app.dark .cur-menu a { color: #e6efff; }
body.app.dark .cur-menu a small { color: var(--app-muted); }
body.app.dark .cur-menu a:hover { background: rgba(34, 211, 238, .08); }
body.app.dark .cur-menu a svg { color: #22d3ee; }
.cur-top .cur-label { display: none; }
/* checkout summary (dark blue panel) */
.co-summary .cur-dd { margin-bottom: 14px; }
.co-summary .cur-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85); }
.co-summary .cur-btn b { color: #fff; }
.co-summary .cur-btn .cur-label { color: rgba(255, 255, 255, .7); }
.co-summary .cur-btn svg { color: #a5f3fc; }
.co-summary .cur-menu { left: 0; right: auto; }
.store-contact .cur-dd { margin-left: auto; }
.evp-buy .cur-dd { margin-bottom: 12px; }
@media (max-width: 640px) { .store-contact .cur-dd { margin-left: 0; } .cur-btn .cur-label { display: none; } .store-contact .cur-menu { left: 0; right: auto; } }

/* ---- home hero: compact "Supported payment methods" card ---- */
.hero .activity-card { width: min(100%, 340px); border-radius: 16px; }
.hero .activity-head { padding: 10px 14px; }
.hero .activity-head h2 { font-size: 15px; }
.hero .activity-head a { width: 26px; height: 26px; border-radius: 7px; }
.hero .activity-head a svg { width: 14px; height: 14px; }
.hero .activity-list { padding: 4px 6px 8px; }
.hero .activity-list li a, .hero .activity-list li > div { grid-template-columns: 52px 1fr auto; gap: 12px; padding: 6px 8px; }
.hero .activity-icon.has-logo { width: 52px; height: 30px; padding: 4px 7px; border-radius: 8px; }
.hero .activity-title { font-size: 14px; }
.hero .activity-sub { font-size: 12px; }
.hero .activity-list > li { padding: calc((var(--dock, 1) - 1) * 10px) 0; }
.hero .activity-list li > * > span:not(.activity-icon) { transform: translateX(calc((var(--dock, 1) - 1) * 48px)); }

/* ---- home "Hosted checkout" mock: every method visible in a compact grid ---- */
.mock-methods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
.mock-methods .method-pill { min-width: 0; padding: 7px 9px; gap: 8px; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-methods .method-pill .logo { flex: none; width: 34px; height: 22px; margin: 0; }
@media (max-width: 520px) { .mock-methods { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---- phones: the closed mobile menu must not widen the page (it sat off-screen to the right) ---- */
html { overflow-x: hidden; }
@media (max-width: 1080px) {
  .mobile-panel { transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease, visibility 0s linear .22s; }
  .mobile-panel.open { transform: none; opacity: 1; pointer-events: auto; transition: transform .22s ease, opacity .22s ease; }
}

/* ---- phones: the dashboard column never grows wider than the screen ---- */
.app-shell > div { min-width: 0; }
@media (max-width: 1080px) {
  .app-shell { grid-template-columns: minmax(0, 1fr); }
  .topbar { gap: 8px; padding: 0 14px; }
  .topbar .page-title { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 17px; }
  .topbar-actions { gap: 6px; flex: none; }
}
@media (max-width: 640px) {
  .app-main { padding: 16px 14px; }
  .mid-chip { display: none; }
  .topbar .profile-btn .hide-sm, .topbar .profile-btn > svg:last-child { display: none; }
  .cur-top .cur-btn { padding: 6px 9px; gap: 4px; }
  .cur-top .cur-btn > svg:first-child { display: none; }
  .ov-hero, .lk-hero { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; }
  .ov-bal, .lk-price { min-width: 0; text-align: left; }
  .od-stats { grid-template-columns: minmax(0, 1fr); }
  .sf-layout, .qr-detail, .evp-grid, .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .od-head { align-items: stretch; }
  .od-head > * { min-width: 0; max-width: 100%; }
  .od-search, .sl-search { width: 100%; }
  .sf-link { flex-wrap: wrap; }
  .sf-link code { min-width: 0; overflow-wrap: anywhere; }
  .ov-tabs, .od-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .ov-tabs a, .od-tabs a { flex: none; }
  .fs { max-width: 100%; }
  img, svg, video, canvas { max-width: 100%; }
  .panel, .card, .alert { max-width: 100%; }
  .alert p { min-width: 0; overflow-wrap: anywhere; }
}
.menu-pop .menu-mid { display: inline-flex; width: auto; margin-top: 8px; padding: 5px 9px; gap: 6px; border: 1px solid var(--app-line); border-radius: 8px; font: 700 12px var(--mono); }
@media (max-width: 640px) {
  .tx-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 14px; }
  .tx-filters .tx-q, .tx-filters .tx-actions { grid-column: 1 / -1; }
  .tx-filters .field, .tx-filters .input, .tx-filters .select { min-width: 0; width: 100%; }
  .sf-hero { grid-template-columns: minmax(0, 1fr); padding: 20px 18px; gap: 16px; }
  .sf-hero > * { min-width: 0; }
  .sf-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-tabs { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .st-tabs button { flex: none; }
  .auth-shell { grid-template-columns: minmax(0, 1fr); }
  .auth-main { padding: 28px 14px; min-width: 0; }
  .auth-main > * { max-width: 100%; min-width: 0; }
}

/* ---- product types: store tabs, WiFi packages, voucher codes ---- */
@supports selector(:has(*)) {
  .pf-layout:not(:has(input[name=kind][value=service]:checked)) .pf-service { display: none; }
  .pf-service:not(:has(input[name=service_type][value=wifi]:checked)) .pf-wifi { display: none; }
  .pf-wifi:not(:has(input[name=wifi_delivery][value=vouchers]:checked)) .pf-vouchers { display: none; }
  .pf-wifi:not(:has(input[name=wifi_delivery][value=api]:checked)) .pf-api-note { display: none; }
}
.pf-svc-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.pf-svc-types .qr-opt b { display: inline-flex; align-items: center; gap: 6px; }
.pf-svc-types .qr-opt b svg { width: 16px; height: 16px; color: var(--cyan); }
.pf-svc-types .qr-opt:has(input:checked) { border-color: var(--cyan); background: rgba(34, 211, 238, .07); }
.pf-api-note { margin-top: 10px; }
@media (max-width: 640px) { .pf-svc-types { grid-template-columns: minmax(0, 1fr); } }
.store-kinds { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.store-cats button, .store-cats a { padding: 6px 12px; font-size: 13px; }
@supports selector(:has(*)) {
  .lp-form-wrap:not(:has(input[name=target_type][value=lipa_namba]:checked)) .lp-number,
  .lp-form-wrap:not(:has(input[name=target_type][value=tanqr]:checked)) .lp-qr { display: none; }
}
.lp-scan[hidden] { display: none; }
.lp-form-wrap .qr-opt span { display: block; }
.lp-form-wrap .qr-opt small { display: block; margin-top: 2px; }
.lang-switch { display: inline-flex; margin: 0; }
.store-cats[hidden], .store-cats button[hidden] { display: none; }
.pc-cat { font-size: 12px; font-weight: 600; color: #52667f; }
body.dark .pc-cat { color: var(--text-2); }
.store-kinds button, .store-kinds a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid #dbe6f3; background: #fff; color: #0b3a6b; font: 600 14px var(--font-body); cursor: pointer; text-decoration: none; }
.store-kinds svg { width: 15px; height: 15px; }
.store-kinds span { padding: 0 7px; border-radius: 999px; background: #eef3fa; font-size: 12px; }
.store-kinds .active { background: linear-gradient(135deg, #22d3ee, #1d8cff); border-color: transparent; color: #03101f; }
.store-kinds .active span { background: rgba(3, 16, 31, .15); }
body.dark .store-kinds button, body.dark .store-kinds a { background: rgba(10, 30, 72, .6); border-color: var(--line); color: var(--text-2); }
body.dark .store-kinds .active { background: linear-gradient(135deg, #22d3ee, #1d8cff); color: #03101f; }
.sh-cur { flex-wrap: wrap; gap: 10px; align-items: center; }
.sh-types { margin: 0 auto 0 0; }
.wifi-badge { display: inline-flex; align-items: center; gap: 5px; width: max-content; max-width: 100%; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #0b5f8a; background: linear-gradient(135deg, rgba(34, 211, 238, .18), rgba(29, 140, 255, .12)); }
.wifi-badge svg { width: 13px; height: 13px; }
.wifi-badge.sm { margin-top: 4px; font-size: 11.5px; }
.wifi-code { padding: 6px 12px; border-radius: 10px; border: 1px dashed #1d8cff; background: rgba(29, 140, 255, .08); color: #0b2557; font-weight: 800; font-size: 15px; letter-spacing: .06em; cursor: pointer; }
.ps-wifi { border-color: rgba(34, 211, 238, .5); background: linear-gradient(180deg, rgba(34, 211, 238, .08), transparent); }
.ps-wifi h2 { display: flex; gap: 8px; align-items: center; font-size: 18px; margin: 0 0 4px; }
.ps-wifi h2 svg { width: 20px; height: 20px; }

/* ---------- Floating glass nav bar (rounded, see-through; same colours) ---------- */
.site-header { padding: 12px 16px 0; }
.site-header, .site-header.is-scrolled, .site-header.solid { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; }
.site-header .nav-wrap { height: 64px; padding: 0 22px; border-radius: 18px; background: rgba(148, 163, 184, .10); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .55); transition: background .25s, border-color .25s; }
.site-header.is-scrolled .nav-wrap, .site-header.solid .nav-wrap { background: rgba(2, 8, 23, .78); border-color: var(--line-strong); }
@media (max-width: 1080px) { .site-header .nav-actions { margin-left: auto; } .mobile-panel { top: 84px; left: 10px; right: 10px; border-radius: 18px; border: 1px solid var(--line); } }
@media (max-width: 640px) { .site-header { padding: 8px 10px 0; } .site-header .nav-wrap { height: 60px; padding: 0 12px 0 16px; border-radius: 16px; } .mobile-panel { top: 76px; } }

/* ---------- Merchant logo: whole logo visible (no cropping), bigger, readable name ---------- */
.sb-biz { gap: 12px; padding: 10px 12px; align-items: center; }
.sb-biz-logo { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; padding: 4px; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 4px 12px -4px rgba(0, 0, 0, .5); }
.sb-biz-ini { padding: 0; font-size: 20px; }
.sb-biz-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sb-biz-name { white-space: normal; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
.sb-biz-id { font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #7dd3fc; letter-spacing: .03em; }
.avatar.has-logo { border-radius: 10px; }
.avatar.has-logo img { object-fit: contain; padding: 3px; }
/* logo fills its whole box */
.sb-biz-logo { width: 54px; height: 54px; padding: 0; object-fit: cover; border-radius: 14px; }
.avatar.has-logo img { object-fit: cover; padding: 0; }


/* ---------- Shops: first-visit "what do you like" chooser ---------- */
.sh-pref-wrap { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(2, 8, 23, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); overflow-y: auto; }
.sh-pref { width: 100%; max-width: 620px; padding: 30px 28px 26px; border-radius: 22px; background: linear-gradient(180deg, #0b1838, #071029); border: 1px solid var(--line-strong); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8); text-align: center; }
.sh-pref-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgba(34, 211, 238, .12); color: var(--cyan); border: 1px solid var(--line); }
.sh-pref-ic svg { width: 26px; height: 26px; }
.sh-pref h2 { margin: 14px 0 6px; font-size: 26px; }
.sh-pref > p { margin: 0 auto 20px; color: var(--text-2); max-width: 440px; }
.sh-pref-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; text-align: left; }
.sh-pref-opt { position: relative; cursor: pointer; }
.sh-pref-opt input { position: absolute; opacity: 0; }
.sh-pref-opt > span { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; row-gap: 2px; align-items: center; height: 100%; padding: 14px 40px 14px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: rgba(255, 255, 255, .03); transition: border-color .15s, background .15s, transform .15s; }
.sh-pref-opt i { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(34, 211, 238, .1); color: var(--cyan); }
.sh-pref-opt i svg { width: 20px; height: 20px; }
.sh-pref-opt b { font-size: 15.5px; color: #fff; }
.sh-pref-opt small { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.sh-pref-opt:hover > span { border-color: rgba(34, 211, 238, .45); transform: translateY(-1px); }
.sh-pref-opt input:checked + span { border-color: var(--cyan); background: rgba(34, 211, 238, .1); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
.sh-pref-opt input:checked + span::after { content: "\2713"; position: absolute; top: 10px; right: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--cyan); color: #03101f; font-weight: 800; font-size: 13px; }
.sh-pref-opt input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.sh-pref-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.sh-pref-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(34, 211, 238, .06); color: var(--text-2); font-size: 13.5px; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
.sh-pref-chip svg { width: 15px; height: 15px; color: #f472b6; }
.sh-pref-chip em { font-style: normal; color: var(--cyan); }
.sh-pref-chip:hover { border-color: var(--cyan); color: #fff; }
@media (max-width: 560px) { .sh-pref { padding: 24px 16px 20px; } .sh-pref h2 { font-size: 22px; } .sh-pref-opts { grid-template-columns: 1fr; } }

/* Invite links on the light shopper pages */
.sh-account .sf-link { background: #f1f5f9; border-color: #dbe4ee; }
.sh-account .sf-link code { color: #0b1733; }
.sh-account .sf-eyebrow { color: #0b5cad; }

/* Phones and tablets: a real phone layout, one clear column (both hero pictures stay: globe-photo on desktop, hero-person-m on phones) */
@media (max-width: 1080px) {
  .hero-inner { gap: 22px; padding-top: 20px; padding-bottom: 40px; }
  .hero-copy { max-width: 620px; }
  .activity-card { max-width: 560px; justify-self: center; }
}
@media (max-width: 640px) {
  .hero-inner { gap: 18px; padding-top: 10px; padding-bottom: 30px; }
  .eyebrow { font-size: 12px; letter-spacing: .14em; gap: 10px; margin-bottom: 14px; }
  .eyebrow::before { width: 22px; }
  .hero-slides { font-size: clamp(31px, 9.2vw, 42px); min-height: 4.6em; margin-bottom: 10px; }
  .hero-slide.is-long { font-size: .6em; }
  .hero-copy { font-size: 15.5px; line-height: 1.55; }
  .hero-ctas { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 20px 0 22px; }
  .hero-ctas .btn-lg { width: 100%; justify-content: center; padding: 13px 18px; font-size: 15.5px; }
  .hero-person-m { width: min(90%, 380px); margin: 0 auto 14px; }
  .network { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .network-graph { width: 260px; height: 180px; }
  .network-tag { font-size: 19px; }
  .activity-title { font-size: 14px; }
  .section { padding: 56px 0; }
  .section-head { margin-bottom: 26px; }
  .section-head h2 { font-size: clamp(26px, 7.4vw, 34px); }
  .sol-intro { margin-bottom: 26px; }
  .section .grid-3, .section .grid-4 { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .section .grid-3 .card, .section .grid-4 .card { padding: 18px; }
}

/* Shorter homepage: tabbed product tour, compact pricing and call to action */
.home-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 30px; }
.home-tabs button { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: inherit; font: 600 14.5px var(--font-body); cursor: pointer; }
.home-tabs button[aria-selected="true"] { background: var(--electric); border-color: var(--electric); color: #fff; }
.home-tabs button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.home-panel[hidden] { display: none; }
.home-panel-h { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 12px; }
.price-strip { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 32px; }
.price-strip h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0; }
.price-strip p { margin: 0; }
.price-strip .price { margin: 0 0 14px; }
.cta-band .cta-row { justify-content: center; margin-top: 18px; }
@media (max-width: 760px) { .price-strip { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px; } }
@media (max-width: 640px) { .home-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 20px; } .home-tabs button { padding: 9px 8px; font-size: 13.5px; } .home-panel { gap: 20px; } }
@media (max-width: 640px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .steps .step { padding: 14px; } .steps h3 { font-size: 15.5px; } .steps p { font-size: 13px; } }
/* Phones and tablets: drop the effects that overload the mobile browser */
@media (hover: none) and (pointer: coarse) {
  .site-header, .site-header.is-scrolled, .site-header.solid, .site-header .nav-wrap, .activity-card { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .site-header .nav-wrap { background: rgba(5, 18, 48, .94); }
  .activity-card { background: rgba(5, 18, 48, .94); }
  .globe-photo, .hero-person-m img { filter: none; }
  .activity-card::before { animation: none; }
}
.cta-photo { display: block; width: min(100%, 340px); height: auto; margin: 22px auto 0; border-radius: 18px; box-shadow: 0 24px 50px -24px rgba(0, 12, 40, .8); }
/* Seller badges: a FlyPay-coloured circle with a tick (verified seller), plus a label on the official shop */
.seller-badge { display: inline-flex; align-items: center; gap: 5px; vertical-align: middle; font: 700 .55em/1 var(--font-body); letter-spacing: .02em; color: #0b5cad; white-space: nowrap; }
.seller-badge .seller-tick { display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; min-width: 16px; min-height: 16px; border-radius: 50%; background: linear-gradient(135deg, #0b5cad, #22d3ee); color: #fff; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9); }
.seller-badge .seller-tick svg { width: 62%; height: 62%; }
.seller-badge.official { padding: 3px 9px 3px 3px; border-radius: 999px; background: linear-gradient(135deg, #0b5cad, #22d3ee); color: #fff; font-size: max(.5em, 12px); }
.seller-badge.official .seller-tick { background: #fff; color: #0b5cad; box-shadow: none; }
.store-hero .seller-badge:not(.official) { color: #fff; }
/* Dashboard on phones: readable text, two cards per row so the page is not one long column */
@media (max-width: 640px) {
  .app-main { padding: 12px; }
  .ov-hero { gap: 14px; padding: 16px; border-radius: 16px; margin-bottom: 12px; }
  .ov-hero h1 { font-size: 22px; }
  .ov-hero p { font-size: 13.5px; }
  .ov-hero .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 12px !important; }
  .ov-hero .row .btn { min-width: 0; justify-content: center; padding: 8px 6px; font-size: 12.5px; gap: 5px; white-space: normal; text-align: center; line-height: 1.2; }
  .ov-hero .row .btn svg { width: 14px; height: 14px; flex: none; }
  .ov-bal { min-width: 0; padding: 12px 14px; }
  .ov-bal b { font-size: 22px; }
  .ov-rails { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
  .ov-rail { padding: 12px 12px 11px; border-radius: 14px; }
  .ov-rail small { font-size: 12px; padding-right: 30px; }
  .ov-rail b { font-size: 19px; }
  .ov-rail span:not(.ov-rail-ic) { font-size: 11.5px; line-height: 1.35; }
  .ov-rail a { font-size: 12.5px; }
  .ov-rail-ic { top: 9px; right: 9px; width: 26px; height: 26px; border-radius: 8px; }
  .ov-rail-ic svg { width: 14px; height: 14px; }
  .ov-tabs { width: 100%; flex-wrap: nowrap; overflow-x: auto; gap: 2px; padding: 4px; }
  .ov-tabs a { flex: none; padding: 7px 10px; font-size: 13px; }
  .ov-toolbar { gap: 8px; margin-bottom: 10px; }
  .ov-toolbar p { font-size: 13px; }
  .od-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
  .od-stat { gap: 10px; padding: 11px 12px; border-radius: 14px; }
  .od-stat b { font-size: 17px; }
  .od-stat span:not(.od-stat-ic) { font-size: 11.5px; line-height: 1.3; }
  .od-stat-ic { width: 32px; height: 32px; border-radius: 9px; }
  .od-stat-ic svg { width: 16px; height: 16px; }
  .ov-charts { gap: 12px; }
  .sf-card-head { gap: 10px; padding: 12px 14px; }
  .sf-card-head h2 { font-size: 15.5px; }
  .sf-card-head p { font-size: 12.5px; }
  .sf-card .panel-body { padding: 14px; }
  .app-main .alert { font-size: 13.5px; padding: 10px 12px; }
}

/* ---- Shops extras: discounts, sold counts, saved items, follow shop, product sort ---- */
.deal-off { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 6px; background: #e0294f; color: #fff; font: 700 12px var(--font-body); vertical-align: 2px; }
.deal-was { color: var(--muted, #6b80a0); font-size: 13px; }
.deal-sold { color: var(--muted, #6b80a0); font-size: 12.5px; font-weight: 600; }
.sh-product-img { position: relative; }
.deal-flag { position: absolute; left: 10px; bottom: 10px; padding: 3px 9px; border-radius: 8px; background: #e0294f; color: #fff; font: 800 13px var(--font-display); box-shadow: 0 6px 14px -8px #e0294f; }
.sh-save-form { margin: 0; }
.sh-save, .pc-save { position: absolute; z-index: 2; top: 10px; left: 10px; width: 36px; height: 36px; padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: #64748b; border: 1px solid rgba(10, 61, 122, .14); box-shadow: 0 6px 14px -8px rgba(2, 8, 23, .5); transition: transform .15s, color .15s; }
.sh-save svg, .pc-save svg { width: 18px; height: 18px; }
.sh-save:hover, .pc-save:hover { transform: scale(1.08); color: #e0294f; }
.sh-save.on, .pc-save.on { color: #fff; background: #e0294f; border-color: #e0294f; }
.sh-save.on svg, .pc-save.on svg { fill: currentColor; }
.store-follow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 14px; }
.store-follow form { margin: 0; }
.store-follow span { font-weight: 600; opacity: .85; }
.sh-sort { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0 0 18px; padding: 14px 16px; border-radius: 14px; background: var(--milk-card, #fff); border: 1px solid #e7e1d5; }
.sh-sort .field { margin: 0; min-width: 140px; flex: 1 1 140px; }
.sh-deals-only { align-self: center; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.sh-deals-only svg { width: 15px; height: 15px; color: #e0294f; }
.sv-h { display: flex; align-items: center; gap: 8px; font-size: 20px; margin: 0 0 14px; }
.sv-h svg { width: 20px; height: 20px; color: #e0294f; }
.sv-follows { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.sv-follow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--milk-card, #fff); border: 1px solid #e7e1d5; }
.sv-follow form { margin: 0; }
.sv-follow-main { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.sv-follow-main small { display: block; color: var(--muted, #6b80a0); font-size: 12.5px; }
.sv-follow .sh-store-logo { width: 44px; height: 44px; font-size: 18px; }
body.app.dark .sh-sort, body.app.dark .sv-follow { background: #0a1c44; border-color: rgba(56, 189, 248, .18); }
.sh-account .sh-product { color: #0b2545; }
.sh-head h2 svg { width: 20px; height: 20px; vertical-align: -3px; }
.sh-head a.hint { display: inline-flex; align-items: center; gap: 4px; }
.sh-head a.hint svg { width: 14px; height: 14px; }
/* directory cards are always light, so their text must be dark even on the dark public theme */
.sh-product, .sh-store, .sh-top, .sh-sort, .sh-safe, .sv-follow { color: #0b2545; }
.sh-sort .label { color: #3c5576; }
.sh-main .sh-head h2 { display: inline-flex; align-items: center; gap: 8px; }

/* ---- Shops on phones: two product cards per row ---- */
@media (max-width: 640px) {
  .sh-products, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sh-product, .product-card { border-radius: 12px; }
  .sh-product:hover { transform: none; }
  .sh-product-img, .product-img { aspect-ratio: 1 / 1; }
  .sh-product-img svg, .product-img svg { width: 34px; height: 34px; }
  .sh-product-body { padding: 9px 10px 11px; }
  .product-card .pc-body { padding: 9px 10px 11px; gap: 4px; }
  .sh-product-body b, .product-card .pc-body > b { font-size: 13.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .product-card .pc-body > .hint { display: none; }  /* the description: the name and price matter most at this size */
  .sh-price, .product-card .pc-price { font-size: 15px; }
  .deal-off { margin-left: 4px; padding: 0 5px; font-size: 11px; }
  .deal-flag { left: 7px; bottom: 7px; padding: 2px 7px; font-size: 12px; }
  .sh-save, .pc-save { top: 7px; left: 7px; width: 32px; height: 32px; }
  .sh-save svg, .pc-save svg { width: 16px; height: 16px; }
  .sh-ask { top: 7px; right: 7px; width: 32px; height: 32px; }
  .sh-ask svg { width: 16px; height: 16px; }
  .pc-ask { top: 7px; right: 7px; padding: 7px; }
  .pc-ask span { display: none; }
  .sh-visit { flex-wrap: wrap; font-size: 12px; }
  .sh-visit em { display: none; }
  .sh-visit-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
  .product-card .row-between { flex-wrap: wrap; gap: 6px; }
  .product-card .qty button { width: 30px; height: 32px; }
  .product-card .qty input { width: 36px; height: 32px; }
}

/* Free delivery badge (Shops) */
.free-ship { display: inline-flex; align-items: center; gap: 4px; width: max-content; max-width: 100%; color: #0a7a3d; background: #e6f6ec; border-radius: 6px; padding: 2px 7px; font-size: 12px; font-weight: 700; line-height: 1.4; }
.free-ship svg { width: 12px; height: 12px; flex: none; }
.sh-free-link { margin-left: 12px; display: inline-flex; align-items: center; gap: 4px; }
.sh-free-link svg { width: 13px; height: 13px; }
.pf-free-delivery .pf-inline svg { width: 15px; height: 15px; vertical-align: -2px; }
@media (max-width: 640px) { .free-ship { font-size: 11px; padding: 1px 6px; } }

/* ==========================================================================
   Shopping pages: two themes. White (body.shop-light, the default) and FlyPay Nexus colours (body.shop-brand).
   ========================================================================== */
.theme-toggle { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; text-decoration: none !important; white-space: nowrap;
  border: 1px solid var(--line-strong); color: var(--text); background: transparent; }
.theme-toggle svg { width: 15px; height: 15px; }
.theme-toggle:hover { border-color: var(--cyan); }
.theme-bar { display: flex; justify-content: flex-end; margin: -10px 0 12px; }
body.checkout .theme-toggle { border-color: #d5dce8; color: #334155; background: #fff; }
@media (max-width: 640px) { .nav-actions .theme-toggle span { display: none; } .nav-actions .theme-toggle { padding: 7px; } }

/* white cards keep dark, readable small text in every theme */
.sh-product, .sh-store, .sh-top, .sh-safe, .sh-sort, .sv-follow { --text: #0b2545; --text-2: #3c5576; --muted: #64748b; }

/* ---- white theme: clean white and light grey, FlyPay blue for actions ---- */
body.shop-light { --milk: #f4f5f7; --milk-2: #eceef2; --milk-card: #ffffff; background: #f4f5f7; }
body.shop-light .menu-toggle { border-color: #d5dce8; }
body.shop-light .sh-product, body.shop-light .sh-store, body.shop-light .sh-top, body.shop-light .sh-safe, body.shop-light .sh-sort { background: #ffffff; border-color: #e6e9ef; }
body.shop-light .sh-product:hover, body.shop-light .sh-store:hover { box-shadow: 0 12px 26px -16px rgba(15, 23, 42, .28); }
body.shop-light .sh-product-img { background: #f6f7f9; color: #94a3b8; }
body.shop-light .sh-price { color: #0f172a; }
body.shop-light .sh-cat:hover { background: #eef1f5; }
body.shop-light .card, body.shop-light .dropdown, body.shop-light .mobile-panel, body.shop-light .lang-btn { background: #ffffff; }
body.shop-light .input, body.shop-light .select, body.shop-light .textarea { background-color: #ffffff; }
body.shop-light .theme-toggle { background: #ffffff; border-color: #d5dce8; color: #0b2545; }
body.checkout.shop-light { background: #f4f5f7; }
body.checkout.shop-light .product-card { border-color: #e6e9ef; box-shadow: none; }
body.checkout.shop-light .product-card:hover { box-shadow: 0 12px 26px -16px rgba(15, 23, 42, .28); }
body.checkout.shop-light .product-img { background: #f6f7f9; color: #94a3b8; }
body.checkout.shop-light .pc-price { color: #0f172a; }

/* ---- FlyPay Nexus colours on the store, saved, orders and messages pages ---- */
body.checkout.shop-brand { background: radial-gradient(900px 500px at 50% -10%, rgba(34, 211, 238, .16), transparent 70%), #020817; color: #eef6ff; }
body.checkout.shop-brand .checkout-wrap > h1, body.checkout.shop-brand .checkout-wrap > h2, body.checkout.shop-brand .store-reviews h2, body.checkout.shop-brand .sh-head h1 { color: #eef6ff; }
body.checkout.shop-brand .hint, body.checkout.shop-brand .secure-note, body.checkout.shop-brand .store-contact + .hint { color: #a9bddc; }
body.checkout.shop-brand .secure-note a, body.checkout.shop-brand .store-reviews a { color: #7dd3fc; }
body.checkout.shop-brand .store-shopper { background: rgba(10, 30, 72, .7); color: #dbe9fb; border: 1px solid rgba(56, 189, 248, .2); }
body.checkout.shop-brand .store-shopper a { color: #7dd3fc; }
body.checkout.shop-brand .product-card, body.checkout.shop-brand .panel, body.checkout.shop-brand .card, body.checkout.shop-brand .store-report { color: var(--app-text); }
body.checkout.shop-brand .product-card .hint, body.checkout.shop-brand .panel .hint, body.checkout.shop-brand .card .hint { color: var(--app-muted); }
body.checkout.shop-brand .store-socials a, body.checkout.shop-brand .store-kinds button, body.checkout.shop-brand .store-kinds a { background: rgba(10, 30, 72, .7); border-color: rgba(56, 189, 248, .25); color: #dbe9fb; }
body.checkout.shop-brand .store-kinds .active { background: linear-gradient(135deg, #22d3ee, #1d8cff); color: #03101f; }
body.checkout.shop-brand .theme-toggle { background: rgba(10, 30, 72, .7); border-color: rgba(56, 189, 248, .35); color: #eef6ff; }

/* Malipo Salama (safe pay) notes */
.safe-pay-note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: #ecfdf3; border: 1px solid #b7ebc9; color: #0f3d24; font-size: 14px; line-height: 1.5; }
.safe-pay-note > svg { width: 22px; height: 22px; flex: none; color: #15803d; margin-top: 1px; }
.safe-pay-note > div > b { display: block; color: #14532d; }
.safe-pay-note span b { color: #14532d; }
.safe-pay-note span { display: block; }
.safe-pay-note a { color: #0b5cad; font-weight: 600; }
.safe-pay-note.refunded { background: #fff7ed; border-color: #fed7aa; color: #7c2d12; }
.safe-pay-note.refunded > svg, .safe-pay-note.refunded b { color: #9a3412; }
.po-break dt svg { width: 13px; height: 13px; display: inline; vertical-align: -2px; }

/* Admin payouts: name check and copy buttons */
.po-name-check { display: grid; gap: 3px; margin-top: 8px; }
.po-name-check .badge { display: inline-flex; align-items: center; gap: 4px; width: max-content; }
.po-name-check .badge svg { width: 13px; height: 13px; }
.po-name-check small { color: var(--app-muted); font-size: 12px; max-width: 260px; }
.po-name-check.mismatch small { color: #ef4444; }
.po-copy { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.btn.btn-xs { --bh: 28px; padding: 0 10px; font-size: 12px; gap: 4px; }
.btn.btn-xs svg { width: 13px; height: 13px; }

/* Shops: off-platform contact notice under chats */
.ch-safety { display: flex; gap: 8px; align-items: flex-start; margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: #f1f5f9; color: #475569; font-size: 12.5px; line-height: 1.45; }
.ch-safety svg { width: 15px; height: 15px; flex: none; color: #15803d; margin-top: 2px; }

/* Checkout: paying by card (ClickPesa hosted card page, charged in USD) */
.co-card-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; font-size: 13.5px; line-height: 1.5; }
.co-card-note[hidden] { display: none; }
.co-card-note > svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.co-card-note b { display: block; }
.co-card-note span { display: block; }
.co-card-quote { margin-top: 6px; color: #0f172a; }
.co-card-quote b { display: inline; }

/* Admin: Malipo Salama carrier and meeting */
.sp-carrier { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; }
.sp-carrier svg { width: 13px; height: 13px; }
.sp-meeting { display: grid; gap: 2px; margin-bottom: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(245, 158, 11, .12); font-size: 13px; }
.sp-meeting svg { width: 14px; height: 14px; display: inline; vertical-align: -2px; }
.sp-call summary { cursor: pointer; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.sp-call summary svg { width: 14px; height: 14px; }
.sp-call form { margin-top: 8px; gap: 6px; min-width: 220px; }

.sp-confirmed { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 12.5px; color: #16a34a; font-weight: 600; }
.sp-confirmed svg { width: 13px; height: 13px; }
.sp-bulk { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }

/* Location & local delivery */
.geo-row { display: flex; gap: 8px; flex-wrap: wrap; }
.geo-row .input { flex: 1 1 220px; }
.store-where { display: flex; align-items: center; gap: 6px; margin: 6px 0 0; font-size: 14.5px; opacity: .9; }
.store-where svg { width: 15px; height: 15px; }
.sh-near { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; color: #0b5cad; font-weight: 600; }
.sh-near svg { width: 13px; height: 13px; }
.sh-near b { color: #15803d; }
.sh-nearbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 14px; }
.geo-deliver { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: #eff6ff; border: 1px solid #bfdbfe; color: #1e3a8a; font-size: 14px; }
.geo-deliver > svg { width: 20px; height: 20px; flex: none; }
.geo-deliver b, .geo-deliver span { display: block; }

/* Maps (Leaflet + OpenStreetMap) */
.gm-box { height: 280px; border-radius: 14px; overflow: hidden; border: 1px solid #dbe3ef; background: #eef3f8; margin: 8px 0; position: relative; z-index: 0; }
.gm-box.gm-small { height: 180px; margin: 0 0 14px; }
.gm-box:not(.gm-ready) { background: linear-gradient(90deg, #eef3f8, #f6f9fc, #eef3f8); background-size: 200% 100%; animation: gmLoad 1.2s linear infinite; }
@keyframes gmLoad { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .gm-box:not(.gm-ready) { animation: none; } }
.gm-pin { background: none; border: 0; }
.gm-pin span { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #0b5cad; border: 2px solid #fff; box-shadow: 0 6px 14px -6px rgba(2, 8, 23, .6); font-size: 16px; line-height: 1; }
.gm-pin span::after { content: ""; position: absolute; left: 50%; bottom: -8px; margin-left: -6px; border: 6px solid transparent; border-top: 8px solid #fff; border-bottom: 0; }
.gm-pin.gm-buyer span { background: #e0294f; }
.gm-quote { display: grid; gap: 2px; margin: 4px 0 8px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; }
.gm-quote.in { background: #ecfdf3; border: 1px solid #b7ebc9; color: #14532d; }
.gm-quote.out { background: #fff7ed; border: 1px solid #fed7aa; color: #7c2d12; }
.geo-deliver { display: grid; gap: 10px; }
.geo-deliver-head { display: flex; gap: 12px; align-items: flex-start; }
.geo-deliver-head > svg { width: 20px; height: 20px; flex: none; }
.geo-deliver-head b, .geo-deliver-head span { display: block; }
.geo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.geo-wa svg { color: #16a34a; }
@media (max-width: 640px) { .gm-box { height: 240px; } .geo-actions .btn { flex: 1 1 auto; } }

/* ---- Phones: every tab is visible (tabs wrap onto a second line instead of hiding off-screen) ---- */
.od-stats-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) {
  .ov-tabs { width: 100%; flex-wrap: wrap; overflow: visible; gap: 4px; padding: 4px; }
  .ov-tabs a { flex: 1 1 30%; text-align: center; padding: 8px 6px; font-size: 13px; }
  .ov-tabs.sl-tabs a { flex: 1 1 45%; justify-content: center; }
  .od-tabs { flex-wrap: wrap; overflow: visible; gap: 6px; padding: 10px 10px; }
  .od-tabs a { flex: 0 1 auto; padding: 7px 12px; font-size: 13.5px; border-bottom: 0; border-radius: 999px; background: rgba(148, 163, 184, .10); }
  .od-tabs a.active { background: rgba(6, 182, 212, .16); }
  .st-tabs { flex-wrap: wrap; overflow: visible; }
  .st-tabs button { flex: 1 1 45%; justify-content: center; padding: 9px 10px; font-size: 13.5px; }
  .od-stats-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .od-stats-3 > :nth-child(3) { grid-column: 1 / -1; }
  /* tables marked .stack become one card per row, each value labelled */
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr { display: block; width: 100%; }
  table.stack tr { padding: 10px 16px; border-bottom: 1px solid var(--app-line); }
  table.stack td, table.stack td:nth-child(4) { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 5px 0; border: 0; text-align: right; white-space: normal; }
  table.stack td::before { content: attr(data-label); flex: none; color: var(--app-muted); font-size: 12.5px; font-weight: 600; text-align: left; }
  table.stack td:empty { display: none; }
}

@media (max-width: 640px) {
  .tabs { flex-wrap: wrap; overflow: visible; gap: 6px; padding: 10px; border-bottom: 1px solid var(--app-line); }
  .tabs a, .tabs button { padding: 7px 12px; font-size: 13.5px; border-bottom: 0; border-radius: 999px; background: rgba(148, 163, 184, .10); }
  .tabs [aria-selected='true'], .tabs a.active { background: rgba(6, 182, 212, .16); }
  b.mono, code, .mono { overflow-wrap: anywhere; }
  table.stack td > form, table.stack td > .stack { width: 100%; min-width: 0 !important; }
  table.stack td:has(> form) { display: block; text-align: left; }
  table.stack td:has(> form)::before { display: block; margin-bottom: 6px; }
}

/* Product options, photo slider and share */
.pc-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; position: relative; }
.pc-slides::-webkit-scrollbar { display: none; }
.pc-slides img { flex: 0 0 100%; width: 100%; scroll-snap-align: center; object-fit: cover; }
.pc-count { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; background: rgba(2, 8, 23, .6); color: #fff; font-size: 11.5px; font-weight: 700; }
.pc-count svg { width: 12px; height: 12px; }
.product-img { position: relative; }
.pc-options { margin-top: 6px; border: 1px solid var(--app-line, #e3e9f3); border-radius: 12px; }
.pc-options summary { display: flex; align-items: center; gap: 6px; padding: 8px 10px; cursor: pointer; font-weight: 700; font-size: 13.5px; list-style: none; }
.pc-options summary::-webkit-details-marker { display: none; }
.pc-options summary svg { width: 15px; height: 15px; }
.pc-options summary small { margin-left: auto; color: #64748b; font-weight: 600; }
.pc-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-top: 1px solid var(--app-line, #e3e9f3); }
.pc-opt > span { display: grid; min-width: 0; }
.pc-opt b { font-size: 13.5px; }
.pc-opt small { font-size: 11.5px; color: #64748b; }
.pc-opt.off { opacity: .55; }
.pc-share { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #15803d; background: #ecfdf3; text-decoration: none !important; }
.pc-share svg { width: 14px; height: 14px; }
.store-share svg { color: #16a34a; }
.pf-vgrid { display: grid; gap: 6px; }
.pf-vrow { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; align-items: center; }
.pf-vhead { font-size: 12px; font-weight: 700; color: var(--app-muted); text-transform: uppercase; letter-spacing: .04em; }
.pf-gallery { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.pf-gthumb { display: grid; gap: 4px; width: 84px; font-size: 12px; }
.pf-gthumb img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; border: 1px solid var(--app-line); }
@media (max-width: 640px) { .pc-opt .qty button { width: 26px; } .pc-opt .qty input { width: 30px; } .pc-share { padding: 5px 8px; } }
.pc-opt b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) { .pc-options summary small { display: none; } .pc-opt { padding: 6px 8px; } }

/* Emoji avatars */
.emoji-av { font-size: 1.15em; line-height: 1; }
.sh-me { display: flex; align-items: center; gap: 14px; }
.av-pick { position: relative; }
.av-pick summary { list-style: none; cursor: pointer; }
.av-pick summary::-webkit-details-marker { display: none; }
.av-big { position: relative; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, #e0f2fe, #ecfeff); border: 2px solid #bae6fd; font-size: 30px; font-weight: 800; color: #0b5cad; }
.av-edit { position: absolute; right: -2px; bottom: -2px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #0b5cad; color: #fff; border: 2px solid #fff; }
.av-edit svg { width: 12px; height: 12px; }
.av-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; margin-top: 10px; padding: 12px; border-radius: 14px; background: #fff; border: 1px solid var(--app-line, #e3e9f3); box-shadow: 0 18px 40px -20px rgba(2, 8, 23, .35); }
.av-pick .av-grid { position: absolute; z-index: 20; left: 0; top: 70px; width: min(340px, 86vw); }
.av-grid .hint { grid-column: 1 / -1; margin: 0 0 4px; }
.av-grid button, .av-grid label span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; border: 1px solid transparent; background: #f6f8fb; font-size: 20px; cursor: pointer; }
.av-grid button.on, .av-grid label.on span, .av-grid label input:checked + span { border-color: #0b5cad; background: #e0f2fe; }
.av-grid .av-none, .av-grid label.av-none span { font-size: 15px; font-weight: 800; color: #0b5cad; }
.av-grid label input { position: absolute; opacity: 0; pointer-events: none; }
.av-grid label { position: relative; }
.av-inline { box-shadow: none; margin-top: 10px; }
.av-sm { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #e0f2fe; color: #0b5cad; font-size: 13px; font-weight: 800; flex: none; }
.store-emoji { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .14); font-size: 28px; }
body.app.dark .av-grid { background: #0a1c44; }
body.app.dark .av-grid button, body.app.dark .av-grid label span { background: rgba(255, 255, 255, .06); }
@media (max-width: 640px) { .av-grid { grid-template-columns: repeat(6, 1fr); } }

/* Share sheet */
.share-sheet { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
.share-backdrop { position: absolute; inset: 0; background: rgba(2, 8, 23, .55); }
.share-box { position: relative; width: min(480px, 100%); max-height: 90vh; overflow: auto; padding: 16px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; background: #fff; color: #0f172a; box-shadow: 0 -20px 50px -20px rgba(2, 8, 23, .5); animation: shareUp .22s ease-out; }
@keyframes shareUp { from { transform: translateY(30px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .share-box { animation: none; } }
@media (min-width: 641px) { .share-sheet { align-items: center; } .share-box { border-radius: 20px; } }
.share-head { display: flex; align-items: center; justify-content: space-between; }
.share-head b { font-size: 17px; }
.share-x { border: 0; background: #f1f5f9; width: 34px; height: 34px; border-radius: 50%; font-size: 20px; cursor: pointer; color: #334155; }
.share-what { margin: 4px 0 12px; color: #64748b; font-size: 13.5px; }
.share-native, .share-copy { display: block; width: 100%; margin: 0 0 8px; padding: 12px 14px; border-radius: 12px; border: 1px solid #dbe3ef; background: #f8fafc; font: 700 15px var(--font-body); color: #0f172a; text-align: left; cursor: pointer; }
.share-native { background: linear-gradient(135deg, #0b5cad, #1d8cff); color: #fff; border-color: transparent; }
.share-copy.ok { border-color: #86efac; background: #ecfdf3; color: #15803d; }
.share-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 8px 0 10px; }
.share-app { display: grid; justify-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #334155; text-decoration: none !important; }
.share-app span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 18px; }
.s-wa span { background: #25d366; } .s-fb span { background: #1877f2; } .s-x span { background: #0f172a; } .s-tg span { background: #229ed9; }
.s-li span { background: #0a66c2; } .s-sms span { background: #16a34a; } .s-mail span { background: #64748b; }
.share-hint { margin: 0; font-size: 12px; color: #64748b; }
button.pc-share { border: 0; cursor: pointer; font-family: inherit; }

/* Emoji picker: settings avatar, any emoji from the keyboard */
.av-st { position: relative; cursor: pointer; list-style: none; }
.av-st .emoji-av { font-size: 34px; }
.st-id .av-pick .av-grid { top: 74px; }
.av-custom { grid-column: 1 / -1; display: grid; gap: 6px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--app-line, #e3e9f3); font-size: 13px; font-weight: 600; }
.av-custom-row { display: flex; gap: 8px; }
.av-custom .input { flex: 1; font-size: 20px; min-height: 42px; }
.avatar-emoji { font-size: 20px; background: linear-gradient(135deg, #e0f2fe, #ecfeff) !important; }
body.app.dark .av-grid { color: #eef6ff; }
.av-custom .btn { background: #0b5cad; color: #fff; border-color: #0b5cad; box-shadow: none; }
.av-custom .input::placeholder { font-size: 14px; }

/* Phones: a background fixed to the screen jumps when the browser bar hides on scroll; let it scroll with the page */
@media (max-width: 900px), (hover: none) {
  body.app.dark { background: radial-gradient(900px 520px at 85% -10%, rgba(29, 140, 255, .16), transparent 60%), #020817; background-attachment: scroll; }
}
.av-grid { max-height: 60vh; overflow-y: auto; }

/* WhatsApp button: its own layer, so phones never leave a ghost copy behind or shake it when the browser bar hides on scroll */
.wa-float { will-change: transform; transform: translate3d(0, 0, 0); -webkit-backface-visibility: hidden; backface-visibility: hidden; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
@media (hover: none) { .wa-float, .wa-float:hover { transition: none; transform: translate3d(0, 0, 0); } }

/* Continue with Google */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid #dadce0; background: #fff; color: #1f1f1f !important; font: 600 15.5px var(--font-body); text-decoration: none !important; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.btn-google:hover { background: #f8fafd; border-color: #c6cbd2; }
.btn-google svg { flex: none; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #94a3b8; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .35; }
.auth-google-ok { margin: 0; padding: 10px 12px; border-radius: 12px; background: #ecfdf3; border: 1px solid #b7ebc9; color: #14532d; font-size: 14px; }

/* ---- Sell in store (point of sale) and Sales & profit ---- */
.pos { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.pos-items { padding: 16px; }
.pos-search { position: relative; margin-bottom: 14px; }
.pos-search .od-search-ic { position: absolute; left: 12px; top: 23px; transform: translateY(-50%); opacity: .6; display: flex; }
.pos-search .od-search-ic svg { width: 18px; height: 18px; }
.pos-search { display: flex; gap: 8px; }
.pos-search .input { padding-left: 40px; height: 46px; font-size: 16px; flex: 1; min-width: 0; }
.pos-cam { height: 46px; display: inline-flex; align-items: center; gap: 6px; flex: none; }
.pos-cam svg { width: 18px; height: 18px; }
.pf-barcode { display: flex; gap: 8px; }
.pf-barcode .input { flex: 1; min-width: 0; }
.scan-sheet { position: fixed; inset: 0; z-index: 95; background: rgba(2, 8, 23, .75); display: grid; place-items: center; padding: 16px; }
.scan-sheet[hidden] { display: none; }
.scan-box { width: 100%; max-width: 420px; background: var(--app-card, #0a1c44); border: 1px solid var(--app-line); border-radius: 18px; padding: 14px; color: #eef6ff; }
.scan-frame { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #000; }
.scan-frame video { width: 100%; height: 100%; object-fit: cover; }
.scan-line { position: absolute; left: 10%; right: 10%; top: 50%; height: 2px; background: #22d3ee; box-shadow: 0 0 12px #22d3ee; animation: scanline 1.6s ease-in-out infinite alternate; }
@keyframes scanline { from { top: 25%; } to { top: 75%; } }
@media (prefers-reduced-motion: reduce) { .scan-line { animation: none; } }
.scan-msg { margin: 12px 0; font-size: 14px; text-align: center; min-height: 2.6em; }
.pos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.pos-card { display: flex; flex-direction: column; gap: 4px; text-align: left; padding: 8px; border: 1px solid var(--app-line); border-radius: 14px; background: transparent; color: inherit; cursor: pointer; font: inherit; transition: transform .12s, border-color .12s; }
.pos-card:hover, .pos-card:focus-visible { border-color: #22d3ee; transform: translateY(-1px); }
.pos-card:active { transform: scale(.97); }
.pos-card.out { opacity: .45; }
.pos-card[hidden] { display: none; }
.pos-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; display: grid; place-items: center; background: rgba(56, 189, 248, .08); }
.pos-img img { width: 100%; height: 100%; object-fit: cover; }
.pos-img svg { width: 28px; height: 28px; opacity: .6; }
.pos-name { font-weight: 600; font-size: 14px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pos-price { font-weight: 700; color: #22d3ee; font-size: 14px; }
.pos-stock { font-size: 12px; opacity: .7; }
.pos-cart { position: sticky; top: 16px; padding: 16px; }
.pos-cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.pos-cart-head h2 { font-size: 17px; display: flex; gap: 8px; align-items: center; margin: 0; }
.pos-cart-head h2 svg { width: 18px; height: 18px; }
.pos-lines { list-style: none; margin: 0; padding: 0; max-height: 46vh; overflow: auto; }
.pos-empty { padding: 22px 0; text-align: center; opacity: .65; font-size: 14px; }
.pos-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 10px; padding: 10px 0; border-bottom: 1px solid var(--app-line); }
.pos-line.over { color: #f87171; }
.pos-line-text b { display: block; font-size: 14px; }
.pos-line-text small { font-size: 12px; opacity: .75; }
.pos-line-sum { grid-column: 2; grid-row: 1; font-weight: 700; font-size: 14px; white-space: nowrap; }
.pos-qty { grid-column: 1 / -1; display: flex; align-items: center; gap: 6px; }
.pos-qbtn { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--app-line); background: transparent; color: inherit; font-size: 18px; cursor: pointer; }
.pos-qin { width: 70px; height: 34px; text-align: center; padding: 0 6px; }
.pos-total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font-size: 15px; }
.pos-total b { font-size: 24px; letter-spacing: -.01em; }
.pos-methods { border: 0; padding: 0; margin: 0 0 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pos-methods legend { margin-bottom: 6px; }
.pos-method input { position: absolute; opacity: 0; pointer-events: none; }
.pos-method span { display: flex; align-items: center; gap: 6px; padding: 10px; border: 1px solid var(--app-line); border-radius: 12px; font-size: 13px; font-weight: 600; cursor: pointer; }
.pos-method span svg { width: 16px; height: 16px; }
.pos-method input:checked + span { border-color: #22d3ee; background: rgba(34, 211, 238, .12); }
.pos-method input:focus-visible + span { outline: 2px solid #22d3ee; outline-offset: 2px; }
.pos-more { margin: 4px 0 12px; font-size: 14px; }
.pos-more summary { cursor: pointer; opacity: .8; padding: 6px 0; }
.pos-pay { height: 50px; font-size: 16px; }
.pos-pay[disabled] { opacity: .5; cursor: not-allowed; }
.pos-modal { position: fixed; inset: 0; z-index: 90; background: rgba(2, 8, 23, .6); display: grid; place-items: end center; padding: 16px; }
.pos-modal[hidden] { display: none; }
.pos-modal-box { width: 100%; max-width: 420px; background: var(--app-card, #fff); border: 1px solid var(--app-line); border-radius: 18px; padding: 18px; }
.pos-modal-box h3 { margin: 0 0 12px; }
.pos-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.pos-opt { display: flex; flex-direction: column; align-items: flex-start; height: auto; padding: 10px; text-align: left; }
.pos-opt small { font-size: 12px; opacity: .75; font-weight: 400; }
.pos-low p a { text-decoration: underline; }
.sl-split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
.sl-sub td { font-size: 13px; opacity: .8; }
.sl-low { list-style: none; margin: 0; padding: 6px 18px 14px; }
.sl-low li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--app-line); font-size: 14px; }
.sl-low li:last-child { border-bottom: 0; }
.sl-receipt { max-width: 440px; padding: 22px; font-size: 14px; }
.sl-rc-head { display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; padding-bottom: 12px; border-bottom: 1px dashed var(--app-line); }
.sl-rc-head b { font-size: 18px; }
.sl-rc-head span { opacity: .75; font-size: 13px; }
.sl-rc-items { width: 100%; border-collapse: collapse; margin: 10px 0; }
.sl-rc-items td { padding: 6px 4px; vertical-align: top; }
.sl-rc-items td.num { text-align: right; white-space: nowrap; }
.sl-rc-items small { opacity: .7; }
.sl-rc-total { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px dashed var(--app-line); border-bottom: 1px dashed var(--app-line); font-size: 16px; }
.sl-rc-total b { font-size: 20px; }
.sl-rc-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin: 12px 0; }
.sl-rc-meta dt { opacity: .7; }
.sl-rc-meta dd { margin: 0; }
.od-table.sl-keep:not(.stack) th, .od-table.sl-keep:not(.stack) td { display: table-cell; }
.sl-when { display: block; font-size: 12px; opacity: .7; margin-top: 2px; }
.sl-mistake h2 { font-size: 17px; margin: 0 0 4px; }
.sl-mistake p { margin: 0; font-size: 14px; opacity: .8; }
.pos-bar { display: none; }
.gl-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; align-items: start; }
.gl-card { padding: 18px 20px; }
.gl-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.gl-kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.gl-kicker svg { width: 14px; height: 14px; }
.gl-nums { display: block; font-size: 22px; margin-top: 4px; letter-spacing: -.01em; }
.gl-nums small { font-size: 14px; font-weight: 500; opacity: .7; }
.gl-pct { font-size: 20px; font-weight: 800; padding: 4px 10px; border-radius: 10px; }
.gl-pct.ok, .gl-bar .ok { color: #22d3ee; } .gl-pct.done { color: #4ade80; } .gl-pct.behind { color: #fbbf24; }
.gl-bar { height: 12px; border-radius: 999px; background: rgba(148, 163, 184, .18); overflow: hidden; margin: 14px 0 10px; }
.gl-bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #22d3ee, #1d8cff); transition: width .6s ease; }
.gl-bar span.done { background: linear-gradient(90deg, #4ade80, #16a34a); }
.gl-bar span.behind { background: linear-gradient(90deg, #fbbf24, #f59e0b); }
.gl-note { margin: 0; font-size: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; opacity: .9; }
.gl-note svg { width: 16px; height: 16px; flex: none; }
.gl-note a { margin-left: auto; }
.gl-compact .gl-nums { font-size: 18px; }
.gl-form { padding: 16px 18px; border: 1px solid var(--app-line); border-radius: 16px; }
.gl-form-row { display: flex; gap: 8px; margin: 6px 0; }
.gl-form-row .input { flex: 1; min-width: 0; }
.ad-panel { margin-bottom: 16px; }
.ad-body { padding: 0 0 16px; }
.ad-body > .hint, .ad-slow, .ad-ai, .ad-total { padding: 0 18px; }
.ad-slow { font-size: 14px; margin: 12px 0 0; }
.ad-ai { margin-top: 14px; display: grid; gap: 12px; }
.ad-ai form { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ad-text { border: 1px solid rgba(34, 211, 238, .35); background: rgba(34, 211, 238, .07); border-radius: 14px; padding: 14px 16px; }
.ad-text p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; }
@media (max-width: 760px) { .gl-wrap { grid-template-columns: 1fr; } }
.sl-rc-thanks { text-align: center; margin: 10px 0 0; opacity: .8; }
@media (max-width: 960px) {
  .pos { grid-template-columns: 1fr; }
  .pos-cart { position: static; scroll-margin-top: 80px; }
  .pos-bar:not([hidden]) { display: flex; align-items: center; gap: 12px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 80; padding: 12px 16px; border-radius: 16px; background: linear-gradient(135deg, #22d3ee, #1d8cff); color: #03101f; font-weight: 600; text-decoration: none; box-shadow: 0 14px 30px -12px rgba(29, 140, 255, .7); }
  .pos-bar b { font-size: 17px; }
  .pos-bar-go { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 14px; }
  .pos-bar-go svg { width: 16px; height: 16px; }
  .pos { padding-bottom: 76px; }
  .sl-split { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .od-table.sl-keep:not(.stack) th, .od-table.sl-keep:not(.stack) td { padding-left: 10px; padding-right: 10px; font-size: 13px; }
  .od-table.sl-keep.stack td { display: flex; }
  .pos-items { padding: 12px; }
  .pos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pos-methods { grid-template-columns: 1fr 1fr; }
  .sl-receipt { padding: 16px; }
}
@media print {
  .sl-receipt { max-width: none; border: 0; box-shadow: none; background: #fff !important; color: #000 !important; }
}

/* ---- Debt book and expenses ---- */
.db-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--app-line); }
.db-tools .od-search { flex: 1; min-width: 200px; }
.db-owed { color: #fbbf24; }
.db-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; align-items: end; }
.db-form > .btn { grid-column: 1 / -1; justify-self: start; }
.db-split, .ex-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 16px; align-items: start; }
.db-balance { padding: 18px 20px; }
.db-big { display: block; font-size: 32px; letter-spacing: -.02em; margin: 6px 0 12px; color: #fbbf24; }
.db-big.zero { color: #4ade80; }
.db-pay { display: grid; gap: 4px; }
.db-hist { list-style: none; margin: 0; padding: 4px 18px 12px; }
.db-hist li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--app-line); }
.db-hist li:last-child { border-bottom: 0; }
.db-hist li.void { opacity: .45; text-decoration: line-through; }
.db-hist b { display: block; font-size: 14px; }
.db-hist small { font-size: 12px; opacity: .75; }
.db-ic { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; }
.db-ic svg { width: 16px; height: 16px; }
.db-ic.owe { background: rgba(251, 191, 36, .14); color: #fbbf24; }
.db-ic.pay { background: rgba(74, 222, 128, .14); color: #4ade80; }
.db-amt { font-weight: 700; white-space: nowrap; color: #fbbf24; }
.db-amt.pay { color: #4ade80; }
.ex-net { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: -4px 0 16px; font-size: 14.5px; }
.ex-net svg { width: 16px; height: 16px; }
.ex-net b { color: #4ade80; } .ex-net b.neg { color: #f87171; }
.ex-net a { margin-left: auto; }
@media (max-width: 860px) { .db-split, .ex-split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .db-form { grid-template-columns: 1fr; } .db-big { font-size: 28px; } }

/* ---- Balance cards: folder-tab shape with status pills ---- */
.ov-rails-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 4px 2px 10px; }
.ov-rails-head h2 { margin: 0; font-size: 20px; letter-spacing: -.01em; }
.ov-rails-head span { font-size: 13.5px; color: var(--app-muted); }
.ov-rails-head b { color: var(--app-text, #eef6ff); }
.ov-rail { --tab: 16px; padding-top: calc(18px + var(--tab)); border: 0; border-radius: 20px;
  clip-path: polygon(0 var(--tab), 56% var(--tab), calc(56% + var(--tab)) 0, 100% 0, 100% 100%, 0 100%); }
.ov-rail.main { border: 0; }
.ov-rail::before { left: calc(56% + var(--tab)); }
.ov-rail-ic { top: calc(10px + var(--tab) / 2); }
.ov-pill { display: inline-flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; margin: 6px 0 2px; padding: 4px 10px; border-radius: 999px;
  font-style: normal; font-size: 12px; font-weight: 700; background: rgba(34, 211, 238, .12); color: #67e8f9; }
.ov-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.ov-pill.ok { background: rgba(52, 211, 153, .14); color: #34d399; }
@media (max-width: 640px) {
  .ov-rails { grid-template-columns: 1fr; gap: 12px; }
  .ov-rail { --tab: 14px; padding: calc(16px + var(--tab)) 18px 16px; border-radius: 18px; }
  .ov-rail small { font-size: 13.5px; }
  .ov-rail b { font-size: 28px; }
  .ov-rail span:not(.ov-rail-ic) { font-size: 12.5px; }
  .ov-rail-ic { top: calc(10px + var(--tab) / 2); right: 12px; width: 34px; height: 34px; border-radius: 10px; }
  .ov-rail-ic svg { width: 17px; height: 17px; }
  .ov-pill { font-size: 11.5px; white-space: normal; }
}

/* ---- Every stat box: the same folder-tab shape as the balance cards ---- */
.od-stat { --tab: 12px; --rail: #22d3ee; position: relative; overflow: hidden; border-radius: 16px; padding-top: calc(16px + var(--tab));
  clip-path: polygon(0 var(--tab), 52% var(--tab), calc(52% + var(--tab)) 0, 100% 0, 100% 100%, 0 100%); }
.od-stat::before { content: ''; position: absolute; top: 0; left: calc(52% + var(--tab)); right: 0; height: 3px; border-radius: 0 16px 0 0;
  background: linear-gradient(90deg, var(--rail), transparent); }
.od-stat.ok { --rail: #34d399; }
.od-stat.warn { --rail: #fbbf24; }
.od-stat.info { --rail: #38bdf8; }
.od-stat.bad { --rail: #f87171; }
body.app.dark .od-stat { border-color: transparent; }
@media (max-width: 640px) {
  .od-stat { --tab: 10px; padding-top: calc(11px + var(--tab)); }
}

/* ==========================================================================
   White website (body.site-white): the public pages are white like modern payment sites.
   Hero, page headers and footer are light too; the call-to-action box stays dark navy for contrast.
   Sign-in pages and shop pages keep their own themes.
   ========================================================================== */
body.site-white .hero, body.site-white .page-hero, body.site-white .site-footer {
  --glass: #ffffff; --glass-strong: #ffffff;
  --line: rgba(10, 61, 122, .12); --line-strong: rgba(11, 92, 173, .26);
  --cyan: #0b63c4; --cyan-2: #0a56ab; --cyan-glow: rgba(11, 99, 196, .2);
  --text: #0b2545; --text-2: #3c5576; --muted: #6b80a0;
}
body.site-white .hero { background: radial-gradient(900px 520px at 82% 18%, rgba(29, 140, 255, .14), transparent 65%), radial-gradient(700px 420px at 0% 0%, rgba(99, 102, 241, .08), transparent 60%), linear-gradient(180deg, #f5f8ff 0%, #f8faff 70%, #ffffff 100%); }
body.site-white .hero::before, body.site-white .starfield { display: none; }
/* phones and tablets: the globe sits fully visible behind the photo (as on desktop), not faded behind the text */
@media (max-width: 1080px) { body.site-white .globe-wrap { opacity: 1; right: auto; left: 50%; top: 455px; width: min(112vw, 600px); transform: translateX(-50%); } }
@media (max-width: 640px) { body.site-white .globe-wrap { top: 505px; width: 112vw; } }
body.site-white .globe-photo { filter: drop-shadow(0 22px 34px rgba(11, 60, 130, .25)); }
body.site-white .hero-person-m { background: radial-gradient(closest-side, rgba(29, 140, 255, .2), transparent); }
body.site-white .hero-person-m img { filter: drop-shadow(0 16px 26px rgba(11, 60, 130, .22)); }
body.site-white .eyebrow { color: #0b63c4; }
body.site-white .eyebrow::before { background: #0b63c4; }
body.site-white .hero-slide { color: #0b2545; }
body.site-white .hero-slide .hl { color: #0b63c4; text-shadow: none; }
body.site-white .slide-dots button { background: rgba(11, 37, 69, .15); }
body.site-white .slide-dots button[aria-current='true'] { background: #0b63c4; }
body.site-white .hero .btn-primary, body.site-white .page-hero .btn-primary { background: #0b5cad; color: #ffffff; box-shadow: 0 10px 24px -12px rgba(11, 92, 173, .7); }
body.site-white .hero .btn-primary:hover, body.site-white .page-hero .btn-primary:hover { background: #094c91; }
body.site-white .hero .btn-ghost, body.site-white .page-hero .btn-ghost { background: #ffffff; color: #0b5cad; border-color: #c9daf0; }
body.site-white .hero .btn-ghost:hover, body.site-white .page-hero .btn-ghost:hover { background: #eef5fd; border-color: #0b5cad; }
body.site-white .node { background: #ffffff; border-color: #cfe0f4; color: #0b5cad; box-shadow: 0 8px 20px -10px rgba(11, 60, 130, .4); }
body.site-white .global-card { background: #ffffff; border: 1px solid #e1eaf5; box-shadow: 0 14px 30px -18px rgba(11, 60, 130, .35); }
body.site-white .network-tag { color: #0b2545; }
body.site-white .network-tag span { color: #0b63c4; }
body.site-white .activity-card { background: #ffffff; border-color: #e1eaf5; box-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 24px 50px -28px rgba(11, 60, 130, .4); backdrop-filter: none; }
body.site-white .activity-card::before { display: none; }
body.site-white .site-header, body.site-white .site-header.is-scrolled, body.site-white .site-header.solid { background: rgba(255, 255, 255, .92); }
body.site-white .page-hero { background: linear-gradient(180deg, #f5f8ff, #ffffff); border-bottom: 1px solid #e8eef7; }
body.site-white .page-hero h1 { color: #0b2545; }
body.site-white .page-hero .breadcrumbs, body.site-white .page-hero .breadcrumbs a { color: #6b80a0; }
body.site-white .section-alt { background: #f7f9fd; border-top: 1px solid #eef2f8; }
body.site-white .kicker { color: #0b63c4; }
body.site-white .cta-band { background: radial-gradient(600px 300px at 85% 0%, rgba(29, 140, 255, .28), transparent 70%), linear-gradient(135deg, #0b1a3d, #112a5c); }
body.site-white .cta-band .btn-primary { background: #ffffff; color: #0b2545; }
body.site-white .site-footer { background: linear-gradient(180deg, #ffffff, #f3f6fc); border-top: 1px solid #e6ecf5; color: var(--text); }
body.site-white .footer-grid a, body.site-white .site-footer p { color: #3c5576; }
body.site-white .footer-grid a:hover, body.site-white .social a:hover { color: #0b63c4; }
body.site-white .footer-grid h3 { color: #0b2545; }
body.site-white .footer-bottom { border-top-color: #e6ecf5; color: #6b80a0; }
body.site-white .site-footer .btn-ghost { background: #ffffff; color: #0b5cad; border-color: #c9daf0; }
@media (hover: none) and (pointer: coarse) { body.site-white .site-header .nav-wrap, body.site-white .activity-card { background: #ffffff; } }
/* white website: pure white instead of the shops' milk tone */
body.site-white { --milk: #ffffff; --milk-2: #f7f9fd; --milk-card: #ffffff; background: #ffffff; }
body.site-white .card, body.site-white .method-pill, body.site-white .faq details { border-color: #e6ecf5; }
body.site-white .input, body.site-white .select, body.site-white .textarea { background-color: #ffffff; }
body.site-white .price-card.featured { background: linear-gradient(180deg, #eef4fd, #ffffff); }
body.site-white .site-footer input[type="email"], body.site-white .site-footer .input { background: #ffffff; color: #0b2545; border-color: #c9daf0; }
body.site-white .site-footer input::placeholder { color: #8a9bb8; }
body.site-white #nl-email { background: #ffffff !important; color: #0b2545 !important; border-color: #c9daf0 !important; }
body.site-white .site-footer .btn-primary { background: #0b5cad; color: #ffffff; }
body.site-white .site-header .nav-wrap, body.site-white .site-header.is-scrolled .nav-wrap, body.site-white .site-header.solid .nav-wrap { background: rgba(255, 255, 255, .94); border-color: #e3eaf4; box-shadow: 0 12px 30px -18px rgba(11, 60, 130, .35); }
body.site-white .site-header, body.site-white .site-header.is-scrolled, body.site-white .site-header.solid { background: transparent; box-shadow: none; }
body.site-white .nav-link, body.site-white .nav-trigger { color: #0b2545; }
@media (hover: none) and (pointer: coarse) { body.site-white .site-header .nav-wrap { background: #ffffff; } }
body.site-white .page-hero .kicker, body.site-white .page-hero .eyebrow { color: #0b63c4; }

/* ==========================================================================
   Merchant dashboard "glass" theme (body.app.glass): soft blue-lavender background, floating frosted sidebar,
   frosted cards with large radii, indigo accents. Same pages, menus and buttons; only the look changes.
   ========================================================================== */
body.app.glass {
  --app-bg: #eef2fb; --app-card: rgba(255, 255, 255, .66); --app-line: rgba(120, 140, 200, .18);
  --app-text: #1b2645; --app-muted: #66739a; --cyan: #4f5fe0; --cyan-2: #4351d0;
  --gl-ink: #1b2645; --gl-acc: #4f5fe0; --gl-acc-2: #7b61f0;
  --gl-card: rgba(255, 255, 255, .62); --gl-edge: rgba(255, 255, 255, .85);
  --gl-shadow: 0 1px 1px rgba(40, 60, 140, .04), 0 18px 40px -26px rgba(50, 70, 160, .38);
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(165, 190, 255, .55), transparent 60%),
    radial-gradient(800px 560px at 100% 0%, rgba(214, 190, 255, .55), transparent 60%),
    radial-gradient(900px 700px at 60% 110%, rgba(176, 222, 255, .55), transparent 60%),
    linear-gradient(180deg, #eef2fc, #f3f0fb);
  background-attachment: fixed; color: var(--app-text); color-scheme: light;
}
/* floating frosted sidebar */
body.app.glass .app-shell { grid-template-columns: 268px minmax(0, 1fr); }
body.app.glass .sidebar { top: 14px; height: calc(100vh - 28px); margin: 14px 0 14px 14px; border-radius: 24px; color: var(--gl-ink);
  background: rgba(255, 255, 255, .55); border: 1px solid var(--gl-edge); box-shadow: var(--gl-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
body.app.glass .side-group { color: #8b95b8; }
body.app.glass .side-link { color: #3d4a6e; }
body.app.glass .side-link svg { opacity: .9; }
body.app.glass .side-link:hover { background: rgba(255, 255, 255, .7); color: var(--gl-ink); }
body.app.glass .side-link.active { background: #ffffff; color: var(--gl-acc); font-weight: 700; box-shadow: 0 8px 18px -10px rgba(60, 80, 190, .45); }
body.app.glass .side-link .count { background: var(--gl-acc); color: #fff; }
body.app.glass .sb-biz { background: rgba(255, 255, 255, .75); border-color: var(--gl-edge); box-shadow: 0 6px 16px -12px rgba(50, 70, 160, .4); }
body.app.glass .sb-biz-name { color: var(--gl-ink); }
body.app.glass .side-foot { color: #7a86aa; }
body.app.glass .side-foot a { color: var(--gl-acc) !important; font-weight: 600; }
/* frosted top bar */
body.app.glass .topbar { margin: 14px 14px 0; border-radius: 20px; height: 62px; background: rgba(255, 255, 255, .55); border: 1px solid var(--gl-edge);
  box-shadow: var(--gl-shadow); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); top: 14px; }
body.app.glass .icon-btn, body.app.glass .profile-btn, body.app.glass .mid-chip { background: rgba(255, 255, 255, .8); border-color: var(--gl-edge); color: var(--gl-ink); }
body.app.glass .menu-pop { background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid var(--gl-edge); }
/* frosted cards */
body.app.glass .panel, body.app.glass .od-stat, body.app.glass .ov-rail:not(.main) {
  background: var(--gl-card); border: 1px solid var(--gl-edge); border-radius: 20px; box-shadow: var(--gl-shadow);
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
body.app.glass .od-tabs { background: transparent; }
body.app.glass .od-tabs a.active { color: var(--gl-acc); border-bottom-color: var(--gl-acc); }
body.app.glass .table th { background: rgba(238, 242, 255, .7); }
body.app.glass .table tr:hover td { background: rgba(255, 255, 255, .5); }
body.app.glass .input, body.app.glass .select, body.app.glass .textarea { background-color: rgba(255, 255, 255, .85); border-color: rgba(120, 140, 200, .28); }
body.app.glass .input:focus, body.app.glass .select:focus, body.app.glass .textarea:focus { border-color: var(--gl-acc); box-shadow: 0 0 0 3px rgba(79, 95, 224, .16); }
body.app.glass .od-search .input { border-radius: 14px; }
/* icon chips in soft pastel tints, like the reference */
body.app.glass .od-stat-ic, body.app.glass .sf-ic { background: rgba(79, 95, 224, .12); color: var(--gl-acc); border-radius: 14px; }
body.app.glass .od-stat.ok .od-stat-ic { background: rgba(34, 197, 94, .14); color: #15803d; }
body.app.glass .od-stat.warn .od-stat-ic { background: rgba(245, 158, 11, .16); color: #b45309; }
body.app.glass .od-stat.bad .od-stat-ic { background: rgba(239, 68, 68, .13); color: #b91c1c; }
body.app.glass .od-stat.info .od-stat-ic { background: rgba(14, 165, 233, .14); color: #0369a1; }
/* welcome banner and the lead balance card: indigo-violet glass */
body.app.glass .ov-hero { background: radial-gradient(520px 280px at 95% -10%, rgba(255, 255, 255, .35), transparent 70%), linear-gradient(135deg, #4f5fe0 0%, #6a5cf0 55%, #8b6cf2 100%);
  box-shadow: 0 22px 44px -24px rgba(79, 95, 224, .75); border: 1px solid rgba(255, 255, 255, .35); }
body.app.glass .ov-hero .sf-eyebrow { color: #e0e4ff; }
body.app.glass .ov-hero .sf-btn { color: #3b3fb5; }
body.app.glass .ov-bal { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body.app.glass .ov-bal a { color: #ffffff; }
body.app.glass .ov-rail.main { background: radial-gradient(360px 200px at 100% 0%, rgba(255, 255, 255, .3), transparent 70%), linear-gradient(135deg, #4f5fe0, #7b61f0); box-shadow: 0 18px 36px -18px rgba(79, 95, 224, .7); }
/* buttons in the brand indigo */
body.app.glass .btn-primary { background: linear-gradient(135deg, #4f5fe0, #6a5cf0); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -12px rgba(79, 95, 224, .8); }
body.app.glass .btn-primary:hover { background: linear-gradient(135deg, #4351d0, #5d4fe6); }
body.app.glass .btn-light { background: rgba(255, 255, 255, .85); border-color: var(--gl-edge); color: var(--gl-ink); }
body.app.glass .btn-light:hover { border-color: rgba(79, 95, 224, .4); }
body.app.glass .pill-tabs a.active, body.app.glass .seg a.active, body.app.glass [aria-pressed="true"].chip { background: var(--gl-acc); color: #fff; }
/* phones: the sidebar slides in as a frosted sheet */
@media (max-width: 1000px) {
  body.app.glass .app-shell { grid-template-columns: minmax(0, 1fr); }
  body.app.glass .sidebar { margin: 0; top: 0; height: 100vh; border-radius: 0 24px 24px 0; background: rgba(255, 255, 255, .92); }
  body.app.glass .topbar { margin: 10px 10px 0; top: 10px; }
}
@media (hover: none) and (pointer: coarse) { body.app.glass .panel, body.app.glass .od-stat, body.app.glass .ov-rail { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .82); } }
body.app.glass .ov-tabs { background: rgba(255, 255, 255, .6); border-color: var(--gl-edge); box-shadow: var(--gl-shadow); }
body.app.glass .ov-tabs a.active { background: linear-gradient(135deg, #4f5fe0, #7b61f0); color: #fff; box-shadow: 0 8px 20px -10px rgba(79, 95, 224, .8); }
body.app.glass .ov-tabs a:hover:not(.active) { background: rgba(255, 255, 255, .7); }
.hint > svg { display: inline-block; width: 15px; height: 15px; vertical-align: -3px; margin-right: 4px; color: #16a34a; }
body.app.glass .po-balance, body.app.glass .po-balance.empty { background: radial-gradient(420px 220px at 95% -20%, rgba(255, 255, 255, .28), transparent 70%), linear-gradient(135deg, #4f5fe0, #7b61f0); border: 1px solid rgba(255, 255, 255, .35); color: #fff; box-shadow: 0 20px 40px -22px rgba(79, 95, 224, .75); }

/* ==========================================================================
   Sign-in pages, soft white (body.auth-soft): one centred frosted card with the logo tile on top,
   pill inputs with icons and a blue gradient button. Same forms, fields and steps as before.
   ========================================================================== */
.auth-mark { display: none; }
body.auth-soft .auth-shell { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); min-height: calc(100vh - 76px); isolation: isolate;
  background: radial-gradient(700px 500px at 50% 0%, rgba(214, 228, 255, .9), transparent 70%), linear-gradient(180deg, #f2f6fe, #eaf0fb); }
body.auth-soft .auth-shell::before, body.auth-soft .auth-shell::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, #ffffff, #dde8fb 60%, #c9daf6); box-shadow: inset -10px -14px 30px rgba(120, 150, 210, .25), 0 30px 60px -30px rgba(60, 100, 180, .35); }
body.auth-soft .auth-shell::before { width: 300px; height: 300px; left: -120px; top: -90px; }
body.auth-soft .auth-shell::after { width: 220px; height: 220px; right: -80px; top: 34%; }
body.auth-soft .auth-aside { display: none; }
body.auth-soft .auth-main { background: transparent; padding: 42px 18px 56px; }
body.auth-soft .auth-card { max-width: 440px; padding: 30px 30px 26px; text-align: center; border-radius: 30px; border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(244, 248, 255, .7)); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 #fff inset, 0 30px 70px -36px rgba(40, 80, 170, .45); color: #14213d; }
body.auth-soft .auth-card::before { display: none; }
body.auth-soft .auth-mark { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 16px; border-radius: 28px;
  background: linear-gradient(145deg, #ffffff, #e8effb); border: 1px solid rgba(255, 255, 255, .95);
  box-shadow: 0 1px 0 #fff inset, -6px -6px 14px rgba(255, 255, 255, .9), 10px 14px 26px -10px rgba(60, 100, 180, .45); }
body.auth-soft .auth-mark img { width: 66px; height: 66px; object-fit: contain; }
body.auth-soft .auth-secure { display: none; }
body.auth-soft .auth-card h1 { color: #14213d; font-size: 30px; margin-bottom: 4px; }
body.auth-soft .auth-card .sub { color: #6b7a99; font-size: 13.5px; letter-spacing: .06em; margin-bottom: 18px; }
body.auth-soft .auth-steps { justify-content: center; }
body.auth-soft .auth-steps li { color: #9aa6bf; }
body.auth-soft .auth-steps li span { border-color: #c9d5ea; }
body.auth-soft .auth-steps li + li::before { background: #d3ddee; }
body.auth-soft .auth-steps li.now { color: #1d5fd6; }
body.auth-soft .auth-steps li.now span { border-color: #1d5fd6; background: #1d5fd6; color: #fff; }
body.auth-soft .auth-form, body.auth-soft .auth-card form { text-align: left; }
body.auth-soft .auth-card .label { color: #3b4a6b; font-weight: 600; }
body.auth-soft .auth-card .input, body.auth-soft .auth-card .select { height: 52px; border-radius: 16px; background-color: #f6f8fd; color: #14213d;
  border: 1px solid #e1e8f4; box-shadow: inset 2px 3px 6px rgba(120, 145, 200, .14), 0 1px 0 #fff; }
body.auth-soft .auth-card .input::placeholder { color: #9aa6bf; }
body.auth-soft .auth-card .input:focus { border-color: #1d5fd6; box-shadow: 0 0 0 3px rgba(29, 95, 214, .14), inset 2px 3px 6px rgba(120, 145, 200, .12); outline: none; }
body.auth-soft .auth-row a, body.auth-soft .auth-card a:not(.btn):not(.auth-mark):not(.btn-google) { color: #1d5fd6; font-weight: 600; }
body.auth-soft .auth-card .btn-primary { border: 0; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #1e6bf0, #3f8cff 55%, #1d4fd8);
  box-shadow: 0 14px 28px -12px rgba(30, 107, 240, .75), 0 1px 0 rgba(255, 255, 255, .35) inset; }
body.auth-soft .auth-card .btn-primary:hover { filter: brightness(1.05); }
body.auth-soft .auth-card .btn-primary > svg { width: 30px; height: 30px; padding: 7px; margin-left: auto; border-radius: 50%; background: rgba(255, 255, 255, .22); }
body.auth-soft .auth-card .btn-ghost { background: #ffffff; color: #1d5fd6; border: 1px solid #d6e1f3; border-radius: 18px; box-shadow: 0 6px 16px -12px rgba(60, 100, 180, .45); }
body.auth-soft .auth-or { color: #9aa6bf; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
body.auth-soft .auth-or::before, body.auth-soft .auth-or::after { background: #dbe3f0; }
body.auth-soft .btn-google { background: linear-gradient(145deg, #ffffff, #eef3fb); color: #14213d; border: 1px solid #e1e8f4; border-radius: 18px;
  box-shadow: -4px -4px 10px rgba(255, 255, 255, .9), 6px 8px 18px -8px rgba(60, 100, 180, .4); }
body.auth-soft .auth-trust { border-top-color: #e3eaf5; color: #7a88a6; text-align: left; }
body.auth-soft .auth-trust svg { color: #1d5fd6; }
body.auth-soft .auth-foot { color: #6b7a99; }
body.auth-soft .alert { text-align: left; }
@media (max-width: 640px) { body.auth-soft .auth-card { padding: 24px 18px 20px; border-radius: 26px; } body.auth-soft .auth-shell::after { display: none; } }
body.auth-soft .auth-i-mail .input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7fa8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
body.auth-soft .auth-i-lock .input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7fa8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }

/* ---- Overview, reference layout: greeting header, 4 key figures with change, revenue + donut, sources + funnel, best sellers + recent ---- */
.ovx-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 18px; }
.ovx-kpi { position: relative; padding: 18px 18px 16px; border-radius: 20px; background: var(--app-card); border: 1px solid var(--app-line); min-width: 0; }
.ovx-kpi small { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--app-muted); }
.ovx-kpi b { display: block; font-size: 26px; line-height: 1.15; letter-spacing: -.01em; margin-top: 2px; overflow-wrap: anywhere; }
.ovx-kpi p { margin: 8px 0 0; font-size: 12.5px; color: var(--app-muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ovx-ic { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; }
.ovx-ic svg { width: 20px; height: 20px; }
.ovx-kpi.k1 .ovx-ic { background: rgba(79, 95, 224, .13); color: #4f5fe0; }
.ovx-kpi.k2 .ovx-ic { background: rgba(34, 197, 94, .14); color: #15803d; }
.ovx-kpi.k3 .ovx-ic { background: rgba(168, 85, 247, .14); color: #7e22ce; }
.ovx-kpi.k4 .ovx-ic { background: rgba(245, 158, 11, .16); color: #b45309; }
.ovx-delta { display: inline-flex; align-items: center; gap: 3px; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ovx-delta svg { width: 13px; height: 13px; }
.ovx-delta.up { background: rgba(34, 197, 94, .14); color: #15803d; }
.ovx-delta.down { background: rgba(239, 68, 68, .12); color: #b91c1c; }
.ovx-delta.down svg { transform: scaleY(-1); }
.ovx-delta.new { background: rgba(79, 95, 224, .12); color: #4f5fe0; }
.ovx-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ovx-rev { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: -4px 0 12px; }
.ovx-rev b { font-size: 26px; letter-spacing: -.01em; }
.ovx-rev small { width: 100%; color: var(--app-muted); font-size: 12.5px; margin-top: -4px; }
.ovx-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: 18px; }
.ovx-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ovx-bars li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 44px; align-items: center; gap: 12px; }
.ovx-bar-l { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; min-width: 0; }
.ovx-bar-l > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ovx-bar-l .tx-logo { flex: none; }
.ovx-bar { height: 10px; border-radius: 999px; background: rgba(120, 140, 200, .16); overflow: hidden; }
.ovx-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4f5fe0, #7b61f0); }
.ovx-bar i.c1 { background: linear-gradient(90deg, #22c55e, #4ade80); }
.ovx-bar i.c2 { background: linear-gradient(90deg, #a855f7, #c084fc); }
.ovx-bar i.c3 { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.ovx-bar i.c4 { background: linear-gradient(90deg, #ec4899, #f472b6); }
.ovx-bar i.c5 { background: linear-gradient(90deg, #0ea5e9, #38bdf8); }
.ovx-bar-v { text-align: right; font-weight: 700; font-size: 13.5px; }
.ovx-funnel { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.ovx-funnel ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; justify-items: center; }
.ovx-funnel ol li { width: var(--w); min-height: 52px; display: grid; place-items: center; align-content: center; text-align: center; color: #fff;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 8% 100%); background: linear-gradient(135deg, #4f5fe0, #6a7cf5); }
.ovx-funnel ol li.f1 { background: linear-gradient(135deg, #6a5cf0, #8b7bf6); }
.ovx-funnel ol li.f2 { background: linear-gradient(135deg, #9b5cf0, #c07cf5); }
.ovx-funnel ol li.f3 { background: linear-gradient(135deg, #e0569b, #f58bbb); }
.ovx-funnel ol li b { font-size: 17px; line-height: 1.1; }
.ovx-funnel ol li small { font-size: 10.5px; opacity: .9; padding: 0 14%; line-height: 1.2; }
.ovx-funnel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ovx-funnel ul li b { display: block; font-size: 18px; }
.ovx-funnel ul li span { font-size: 12.5px; color: var(--app-muted); }
.ovx-thumb { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; flex: none; }
.ovx-hi { margin: 0 0 4px; font-size: 14.5px; color: var(--app-muted); font-weight: 600; }
.ovx-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
/* glass header: plain text on the page background, like the reference */
body.app.glass .ovx-head { background: none; border: 0; box-shadow: none; color: var(--app-text); padding: 6px 2px 4px; grid-template-columns: minmax(0, 1fr) auto; }
body.app.glass .ovx-head h1 { color: var(--app-text); font-size: 30px; margin: 0 0 4px; display: flex; flex-direction: column; }
body.app.glass .ovx-head h1 .sf-eyebrow { color: var(--gl-acc); margin-bottom: 2px; font-size: 11.5px; }
body.app.glass .ovx-head p { color: var(--app-muted); }
body.app.glass .ovx-head .sf-btn { background: linear-gradient(135deg, #4f5fe0, #6a5cf0); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -12px rgba(79, 95, 224, .8); }
body.app.glass .ovx-head .sf-btn-ghost { background: rgba(255, 255, 255, .75); color: var(--app-text); border: 1px solid var(--gl-edge); box-shadow: var(--gl-shadow); }
body.app.glass .ovx-kpi { background: var(--gl-card); border: 1px solid var(--gl-edge); box-shadow: var(--gl-shadow); -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); }
@media (max-width: 1100px) { .ovx-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ovx-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) { .ovx-head { grid-template-columns: minmax(0, 1fr) !important; } .ovx-actions { justify-content: flex-start; } .ovx-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .ovx-kpis { gap: 10px; } .ovx-kpi { padding: 14px; border-radius: 18px; } .ovx-kpi b { font-size: 20px; } .ovx-kpi small { margin-top: 10px; }
  .ovx-ic { width: 36px; height: 36px; border-radius: 12px; }
  body.app.glass .ovx-head h1 { font-size: 24px; }
  .ovx-funnel { grid-template-columns: minmax(0, 1fr); }
  .ovx-bars li { grid-template-columns: minmax(0, 120px) minmax(0, 1fr) 40px; gap: 8px; }
}
@media (hover: none) and (pointer: coarse) { body.app.glass .ovx-kpi { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .82); } }
.ovx-two .od-cust { min-width: 0; }
.ovx-two .od-table td:first-child { min-width: 180px; }
.ovx-two .od-cust .sl-when { display: block; max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ovx-two .od-cust a b { white-space: nowrap; }
.ovx-two .tx-method span:last-child { display: none; }
.ovx-two .od-table th, .ovx-two .od-table td { padding-left: 12px; padding-right: 12px; }
.ovx-two + .ovx-two { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
@media (max-width: 1100px) { .ovx-two + .ovx-two { grid-template-columns: minmax(0, 1fr); } }
.ovx-two .od-table td:first-child { min-width: 160px; }
.ovx-two .ovx-best td:first-child, .ovx-two .ovx-best th:first-child { min-width: 0; width: 34px; color: var(--app-muted); }
.ovx-best .od-cust b { white-space: normal; }
.ovx-best td:nth-child(2) { min-width: 170px; }
@media (max-width: 1360px) { .ovx-two + .ovx-two { grid-template-columns: minmax(0, 1fr); } }
/* the founder photo was removed from the hero; on phones this empty square keeps the globe's place */
.hero-globe-spot { aspect-ratio: 1; background: none !important; }

/* ==========================================================================
   Phones, laid out like modern payment sites (FimiPay-style): flat white top bar, natural-width hero buttons,
   payment logos in a two-column grid, one step per row, footer links as fold-out buttons.
   ========================================================================== */
details.fcol > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; cursor: default; pointer-events: none; }
details.fcol > summary::-webkit-details-marker { display: none; }
details.fcol .fcol-chev { display: none; }
@media (max-width: 640px) {
  body.site-white .site-header { padding: 0; }
  body.site-white .site-header .nav-wrap, body.site-white .site-header.is-scrolled .nav-wrap, body.site-white .site-header.solid .nav-wrap {
    height: 60px; padding: 0 16px; border-radius: 0; border: 0; border-bottom: 1px solid #edf1f7; box-shadow: none; background: #ffffff; }
  body.site-white .site-header .brand-logo { height: 40px; width: auto; }
  body.site-white .menu-toggle { border: 0; background: transparent; box-shadow: none; }
  body.site-white .mobile-panel { top: 60px; }

  body.site-white .hero-inner { padding-top: 26px; }
  body.site-white .hero-slides { font-size: clamp(30px, 8.6vw, 38px); }
  body.site-white .hero-copy { font-size: 15.5px; color: #4b5b78; }
  body.site-white .hero-ctas { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin: 22px 0 10px; }
  body.site-white .hero-ctas .btn-lg { width: auto; padding: 13px 22px; font-size: 15px; border-radius: 12px; }
  body.site-white .hero-ctas .btn-primary { background: #0b3fc4; }
  body.site-white .hero-ctas::after { content: "No setup fee · Start in sandbox for free"; font-size: 12.5px; color: #7a88a6; margin-top: 2px; }

  body.site-white .hero .activity-card { border-radius: 20px; }
  body.site-white .hero .activity-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 12px; }
  body.site-white .hero .activity-list li > div, body.site-white .hero .activity-list li a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    min-height: 92px; padding: 12px 8px; text-align: center; border: 1px solid #e6ecf5; border-radius: 14px; background: #ffffff; box-shadow: 0 6px 16px -14px rgba(11, 60, 130, .45); }
  body.site-white .hero .activity-icon.has-logo { width: 64px; height: 40px; padding: 4px 8px; border: 0; background: transparent; }
  body.site-white .hero .activity-icon.has-logo img { max-width: 56px; max-height: 34px; }
  body.site-white .hero .activity-icon.has-logo.dark { background: #0b1733; border-radius: 8px; }
  body.site-white .hero .activity-title { font-size: 13px; }
  body.site-white .hero .activity-sub, body.site-white .hero .activity-amt { display: none !important; }

  body.site-white .steps { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  body.site-white .steps .step { text-align: center; padding: 22px 18px; border-radius: 18px; }
  body.site-white .steps .step::before { display: block; margin: 0 auto 8px; }
  body.site-white .section .grid-3 .card, body.site-white .section .grid-4 .card { border-radius: 18px; padding: 20px; }

  body.site-white .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  body.site-white .footer-grid > :first-child, body.site-white .footer-grid > :last-child { grid-column: 1 / -1; }
  body.site-white details.fcol { border: 1px solid #e3eaf4; border-radius: 12px; background: #ffffff; box-shadow: 0 6px 14px -12px rgba(11, 60, 130, .4); align-self: start; }
  body.site-white details.fcol > summary { pointer-events: auto; cursor: pointer; padding: 12px 14px; }
  body.site-white details.fcol > summary h3 { margin: 0; font-size: 13px; letter-spacing: 0; text-transform: none; color: #0b2545; }
  body.site-white details.fcol .fcol-chev { display: block; color: #3c5576; transition: transform .2s; }
  body.site-white details.fcol[open] .fcol-chev { transform: rotate(180deg); }
  body.site-white details.fcol > ul { padding: 0 14px 12px; }
  body.site-white details.fcol[open] { grid-column: 1 / -1; }
}
@media (max-width: 640px) { body.site-white .globe-wrap { top: 550px; width: 100vw; } body.site-white .hero-globe-spot { margin-top: 8px; } }

/* Phones, hero composed like the desktop: text and buttons, then the globe with the payment-methods card resting on it, then the network */
@media (max-width: 640px) {
  body.site-white .hero-inner { display: flex; flex-direction: column; gap: 0; }
  body.site-white .hero-inner > div:first-child { display: contents; }
  body.site-white .hero-inner .eyebrow { order: 1; }
  body.site-white .hero-carousel { order: 2; }
  body.site-white .hero-copy { order: 3; }
  body.site-white .hero-ctas { order: 4; }
  body.site-white .hero-globe-spot { order: 5; }
  body.site-white .hero .activity-card { order: 6; }
  body.site-white .network { order: 7; }

  body.site-white .hero-slides { min-height: 4.3em; }
  body.site-white .hero-slide.is-long { font-size: .74em; line-height: 1.12; }
  body.site-white .hero-ctas { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; }
  body.site-white .hero-ctas .btn-lg { padding: 12px 16px; font-size: 14.5px; }
  body.site-white .hero-ctas::after { flex-basis: 100%; }

  body.site-white .hero-globe-spot { width: min(94%, 380px); margin: 6px auto 0; }
  body.site-white .hero .activity-card { position: relative; z-index: 2; width: 94%; align-self: center; margin: -96px 0 6px; justify-self: auto; }
  body.site-white .hero .activity-head { padding: 12px 14px; }
  body.site-white .hero .activity-head h2 { font-size: 14px; }
  body.site-white .hero .activity-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 10px; }
  body.site-white .hero .activity-list li > div, body.site-white .hero .activity-list li a { min-height: 78px; padding: 10px 4px; gap: 6px; border-radius: 12px; }
  body.site-white .hero .activity-icon.has-logo { width: 54px; height: 34px; }
  body.site-white .hero .activity-icon.has-logo img { max-width: 48px; max-height: 28px; }
  body.site-white .hero .activity-title { font-size: 11.5px; line-height: 1.2; }

  body.site-white .network { margin-top: 18px; }
}
@media (max-width: 640px) { body.site-white .hero-ctas { gap: 8px; } body.site-white .hero-ctas .btn-lg { padding: 11px 14px; font-size: 14px; gap: 6px; } body.site-white .hero-ctas .btn-lg svg { width: 15px; height: 15px; } }
@media (max-width: 374px) { body.site-white .hero-ctas .btn-lg { padding: 10px 11px; font-size: 13px; } }

/* phones: the top bar (logo + menu) is transparent again; once the page scrolls it turns into light frosted glass so the logo stays readable */
@media (max-width: 640px) {
  body.site-white .site-header .nav-wrap, body.site-white .site-header.solid .nav-wrap { background: transparent; border: 0; border-bottom: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  body.site-white .site-header.is-scrolled .nav-wrap { background: rgba(255, 255, 255, .72); border-bottom: 1px solid rgba(225, 233, 245, .7); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
  body.site-white .menu-toggle { background: transparent; border: 0; color: #0b2545; }
}
@media (max-width: 640px) and (hover: none) and (pointer: coarse) {
  body.site-white .site-header .nav-wrap, body.site-white .site-header.solid .nav-wrap { background: transparent; }
  body.site-white .site-header.is-scrolled .nav-wrap { background: rgba(255, 255, 255, .9); }
}

/* phones: "How it works" steps sit side by side in one row again (01 02 03 04), compact so all four fit */
@media (max-width: 640px) {
  body.site-white .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  body.site-white .steps .step { text-align: left; padding: 10px 7px; border-radius: 12px; }
  body.site-white .steps .step::before { font-size: 20px; margin: 0 0 4px; }
  body.site-white .steps .step h3 { font-size: 11.5px; line-height: 1.2; margin-bottom: 4px; }
  body.site-white .steps .step p { font-size: 10px; line-height: 1.3; margin: 0; }
}

/* ==========================================================================
   Contact page: blue band with the title, one card on top of it (contact details left, message form right), map card below
   ========================================================================== */
.ctx-hero { position: relative; margin-top: -76px; padding: 130px 0 150px; text-align: center; color: #fff; overflow: hidden;
  background: radial-gradient(700px 360px at 85% 10%, rgba(125, 211, 252, .35), transparent 70%), radial-gradient(600px 320px at 10% 90%, rgba(99, 102, 241, .35), transparent 70%), linear-gradient(135deg, #0a2f73 0%, #0b4fb3 55%, #1d74e0 100%); }
.ctx-hero::after { content: ""; position: absolute; inset: auto -10% -60px -10%; height: 120px; background: #ffffff; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.ctx-hero .breadcrumbs, .ctx-hero .breadcrumbs a { color: rgba(255, 255, 255, .78); }
.ctx-hero h1 { margin: 10px 0 10px; font-size: clamp(34px, 5vw, 52px); color: #fff; }
.ctx-hero p { margin: 0 auto; max-width: 520px; color: rgba(255, 255, 255, .88); font-size: 17px; }
.ctx-wrap { position: relative; z-index: 2; margin-top: -120px; padding-bottom: 56px; }
.ctx-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); border-radius: 24px; overflow: hidden; background: #ffffff; border: 1px solid #e6ecf5; box-shadow: 0 40px 80px -40px rgba(11, 60, 130, .45); }
.ctx-info { padding: 38px 34px; background: linear-gradient(180deg, #f7f9fe, #ffffff); border-right: 1px solid #edf1f8; color: #0b2545; }
.ctx-info h2, .ctx-form h2 { font-size: 26px; margin: 0 0 8px; color: #0b2545; }
.ctx-lead { color: #4b5b78; font-size: 14.5px; margin-bottom: 22px; }
.ctx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.ctx-list li { display: flex; gap: 14px; align-items: flex-start; }
.ctx-list li div { display: grid; gap: 2px; min-width: 0; }
.ctx-list b { font-size: 15px; color: #0b2545; }
.ctx-list a, .ctx-list span { font-size: 14px; color: #4b5b78; overflow-wrap: anywhere; }
.ctx-list a:hover { color: #0b63c4; }
.ctx-ic { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #0b4fb3, #1d74e0); box-shadow: 0 10px 22px -12px rgba(11, 79, 179, .8); }
.ctx-ic svg { width: 20px; height: 20px; }
.ctx-social { margin-top: 26px; padding-top: 22px; border-top: 1px solid #e6ecf5; }
.ctx-social h3 { font-size: 14px; margin: 0 0 12px; color: #0b2545; }
.ctx-social-row { display: flex; gap: 10px; }
.ctx-soc { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #0b4fb3; text-decoration: none !important; transition: transform .15s; }
.ctx-soc:hover { transform: translateY(-2px); }
.ctx-soc svg { width: 18px; height: 18px; }
.ctx-soc.wa { background: #25d366; }
.ctx-soc.wa img { width: 20px; height: 20px; filter: brightness(0) invert(1); }
.ctx-merchant { display: flex; gap: 10px; align-items: flex-start; margin: 22px 0 0; padding: 12px 14px; border-radius: 14px; background: #eef4fd; font-size: 13px; color: #3c5576; }
.ctx-merchant svg { flex: none; width: 18px; height: 18px; color: #0b63c4; margin-top: 1px; }
.ctx-form { padding: 38px 36px; color: #0b2545; }
.ctx-form h2 { margin-bottom: 18px; }
.ctx-form .label { color: #3b4a6b; font-weight: 600; }
.ctx-form .input, .ctx-form .select, .ctx-form .textarea { background-color: #f7f9fd; border-color: #e1e8f4; color: #0b2545; border-radius: 12px; }
.ctx-form .textarea { min-height: 130px; }
.ctx-form .btn-primary { width: 100%; justify-content: center; background: linear-gradient(135deg, #0b4fb3, #1d74e0); border: 0; border-radius: 12px; min-height: 48px; }
.ctx-map-sec { padding: 0 0 64px; }
.ctx-map { position: relative; display: flex; align-items: center; justify-content: center; height: 320px; border-radius: 24px; overflow: hidden; text-decoration: none !important; border: 1px solid #e3eaf4;
  background:
    radial-gradient(circle at 52% 48%, rgba(29, 116, 224, .12) 0 90px, transparent 91px),
    linear-gradient(115deg, transparent 47%, #ffffff 47%, #ffffff 49.5%, transparent 49.5%),
    linear-gradient(25deg, transparent 58%, #ffffff 58%, #ffffff 60%, transparent 60%),
    linear-gradient(160deg, transparent 30%, #fde68a 30%, #fde68a 31.6%, transparent 31.6%),
    linear-gradient(70deg, transparent 72%, #ffffff 72%, #ffffff 73.6%, transparent 73.6%),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(255, 255, 255, .9) 46px 48px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 255, 255, .9) 58px 60px),
    linear-gradient(200deg, #a5d8f5 0 18%, transparent 18%),
    #e8eef3; }
.ctx-map-pin { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -100%); width: 44px; height: 44px; border-radius: 50% 50% 50% 0; rotate: -45deg; display: grid; place-items: center; background: #e0294f; box-shadow: 0 10px 20px -8px rgba(224, 41, 79, .7); }
.ctx-map-pin svg { rotate: 45deg; width: 20px; height: 20px; color: #fff; }
.ctx-map-label { position: absolute; left: 24px; top: 24px; display: grid; gap: 2px; padding: 14px 16px; border-radius: 14px; background: #ffffff; box-shadow: 0 14px 30px -16px rgba(11, 37, 69, .45); color: #0b2545; }
.ctx-map-label b { font-size: 15px; }
.ctx-map-label span { font-size: 13px; color: #4b5b78; }
.ctx-map-label em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-weight: 700; font-size: 13px; color: #0b63c4; }
.ctx-map-label em svg { width: 14px; height: 14px; }
.ctx-map:hover .ctx-map-label em { text-decoration: underline; }
@media (max-width: 860px) {
  .ctx-card { grid-template-columns: minmax(0, 1fr); }
  .ctx-info { border-right: 0; border-bottom: 1px solid #edf1f8; }
}
@media (max-width: 640px) {
  .ctx-hero { padding: 104px 0 130px; }
  .ctx-hero p { font-size: 15px; padding: 0 8px; }
  .ctx-wrap { margin-top: -104px; padding-bottom: 36px; }
  .ctx-info, .ctx-form { padding: 26px 20px; }
  .ctx-card { border-radius: 20px; }
  .ctx-form .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .ctx-map { height: 240px; border-radius: 20px; }
  .ctx-map-label { left: 14px; top: 14px; }
}
/* phones: the top bar is transparent over the blue contact band, so the menu button turns white there */
@media (max-width: 640px) { body.site-white:has(.ctx-hero) .site-header:not(.is-scrolled) .menu-toggle { color: #ffffff; } }
.ctx-list span.ctx-ic { color: #ffffff; font-size: inherit; }
@media (max-width: 640px) { .ctx-map-pin { top: 74%; left: 62%; } }

/* all screens: the top bar is transparent again (no white strip); it turns into light frosted glass only after scrolling */
body.site-white .site-header .nav-wrap, body.site-white .site-header.solid .nav-wrap { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
body.site-white .site-header.is-scrolled .nav-wrap { background: rgba(255, 255, 255, .78); border-color: rgba(225, 233, 245, .8); box-shadow: 0 12px 30px -20px rgba(11, 60, 130, .35); -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%); }
body.site-white .lang-btn { background: transparent; }
/* over the blue contact band, before scrolling: light menu text */
body.site-white:has(.ctx-hero) .site-header:not(.is-scrolled) .nav-link, body.site-white:has(.ctx-hero) .site-header:not(.is-scrolled) .nav-trigger, body.site-white:has(.ctx-hero) .site-header:not(.is-scrolled) .lang-btn { color: #ffffff; }
body.site-white:has(.ctx-hero) .site-header:not(.is-scrolled) .btn-ghost { color: #ffffff; border-color: rgba(255, 255, 255, .7); background: transparent; }
body.site-white:has(.ctx-hero) .site-header:not(.is-scrolled) .btn-primary { background: #ffffff; color: #0b3d7a; }
@media (hover: none) and (pointer: coarse) {
  body.site-white .site-header .nav-wrap, body.site-white .site-header.solid .nav-wrap { background: transparent; }
  body.site-white .site-header.is-scrolled .nav-wrap { background: rgba(255, 255, 255, .92); }
}
body.site-white:has(.ctx-hero) .site-header:not(.is-scrolled) .brand-logo { filter: brightness(0) invert(1); }

/* homepage "Merchant dashboard" illustration in today's FlyPay colours: white card, blue line, coloured statuses */
body.site-white .mock { --text: #0b2545; --text-2: #3c5576; --muted: #6b80a0; --line: #e8eef7; --line-strong: #dfe7f3;
  background: #ffffff; border: 1px solid #e3eaf4; box-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 30px 60px -34px rgba(11, 60, 130, .45); color: #0b2545; }
body.site-white .mock-bar { background: #f7f9fd; border-bottom-color: #e8eef7; }
body.site-white .mock-bar i:nth-child(1) { background: #ff5f57; }
body.site-white .mock-bar i:nth-child(2) { background: #febc2e; }
body.site-white .mock-bar i:nth-child(3) { background: #28c840; }
body.site-white .mock-kpi { background: #f3f7fd; border-color: #e3ebf7; }
body.site-white .mock-kpi b { color: #0b2545; }
body.site-white .mock-row { color: #3c5576; border-top-color: #edf1f8; }
body.site-white .mock-row span:last-child { font-weight: 700; font-size: 12px; padding: 2px 10px; border-radius: 999px; }
body.site-white .mock-row:nth-of-type(2) span:last-child { color: #15803d; background: #dcfce7; }
body.site-white .mock-row:nth-of-type(3) span:last-child { color: #b45309; background: #fef3c7; }
body.site-white .mock figcaption, body.site-white .mock .hint { color: #6b80a0; }

/* ==========================================================================
   Homepage FAQ: two columns — heading and a help card on the left (sticky), numbered accordion on the right
   ========================================================================== */
.faqx { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: 48px; align-items: start; }
.faqx-side { position: sticky; top: 100px; }
.faqx-side h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 8px 0 12px; }
.faqx-lead { color: var(--text-2); font-size: 16px; margin-bottom: 22px; }
.faqx-help { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; padding: 20px; border-radius: 20px; background: #ffffff; border: 1px solid #e3eaf4; box-shadow: 0 24px 50px -30px rgba(11, 60, 130, .4); }
.faqx-help-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #0b4fb3, #1d74e0); box-shadow: 0 10px 22px -12px rgba(11, 79, 179, .8); }
.faqx-help-ic svg { width: 22px; height: 22px; }
.faqx-help b { display: block; font-size: 16px; color: #0b2545; margin-bottom: 4px; }
.faqx-help p { margin: 0; font-size: 13.5px; color: #4b5b78; line-height: 1.5; }
.faqx-help-btns { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
.faqx-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 700; font-size: 14.5px; }
.faqx-all svg { width: 16px; height: 16px; transition: transform .2s; }
.faqx-all:hover svg { transform: translateX(3px); }
.faqx-list { display: grid; gap: 12px; }
.faqx-item { position: relative; border-radius: 18px; background: #ffffff; border: 1px solid #e3eaf4; box-shadow: 0 1px 2px rgba(11, 37, 69, .04); transition: border-color .2s, box-shadow .2s, transform .2s; overflow: hidden; }
.faqx-item::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: linear-gradient(180deg, #0b4fb3, #1d74e0); opacity: 0; transition: opacity .2s; }
.faqx-item:hover { border-color: #c9daf0; transform: translateY(-1px); }
.faqx-item[open] { border-color: #c9daf0; box-shadow: 0 26px 50px -30px rgba(11, 60, 130, .45); }
.faqx-item[open]::before { opacity: 1; }
.faqx-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 18px 20px; }
.faqx-item summary::-webkit-details-marker { display: none; }
.faqx-item summary:focus-visible { outline: 2px solid #0b63c4; outline-offset: -2px; border-radius: 18px; }
.faqx-n { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 800 13px var(--font-display); color: #0b5cad; background: #eef4fd; transition: background .2s, color .2s; }
.faqx-item[open] .faqx-n { background: linear-gradient(135deg, #0b4fb3, #1d74e0); color: #fff; }
.faqx-q { font-weight: 700; font-size: 16px; color: #0b2545; line-height: 1.35; }
.faqx-tog { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1px solid #dbe5f3; color: #0b5cad; transition: transform .25s, background .2s, color .2s; }
.faqx-tog svg { width: 16px; height: 16px; }
.faqx-item[open] .faqx-tog { transform: rotate(45deg); background: #0b5cad; color: #fff; border-color: #0b5cad; }
.faqx-a { padding: 0 22px 20px 72px; animation: faqx-in .3s ease; }
.faqx-a p { margin: 0; color: #4b5b78; font-size: 15px; line-height: 1.65; }
@keyframes faqx-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faqx-a { animation: none; } .faqx-item, .faqx-tog { transition: none; } }
@media (max-width: 900px) { .faqx { grid-template-columns: minmax(0, 1fr); gap: 24px; } .faqx-side { position: static; } }
@media (max-width: 640px) {
  .faqx-item summary { padding: 14px 14px; gap: 10px; }
  .faqx-n { width: 32px; height: 32px; border-radius: 10px; font-size: 12px; }
  .faqx-q { font-size: 14.5px; }
  .faqx-a { padding: 0 16px 16px 56px; }
  .faqx-a p { font-size: 14px; }
  .faqx-help { padding: 16px; }
}

/* ==========================================================================
   Homepage pricing: rate and benefits on the left, bar graph + fee calculator on the right
   ========================================================================== */
.prx { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 36px; align-items: center; padding: 36px; border-radius: 28px; background: #ffffff; border: 1px solid #e3eaf4; box-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 40px 80px -46px rgba(11, 60, 130, .5); }
.prx-info h2 { font-size: clamp(28px, 3.2vw, 38px); margin: 8px 0 10px; }
.prx-rate { display: flex; align-items: center; gap: 14px; margin: 22px 0 18px; }
.prx-rate b { font: 800 clamp(44px, 5vw, 60px)/1 var(--font-display); letter-spacing: -.03em; background: linear-gradient(135deg, #0b3d9c, #1d74e0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.prx-rate span { display: grid; font-weight: 700; color: #0b2545; font-size: 15px; }
.prx-rate small { font-weight: 500; color: #6b80a0; font-size: 13px; }
.prx-checks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.prx-checks li { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: #3c5576; }
.prx-checks svg { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: #dcfce7; color: #15803d; margin-top: 1px; }
.prx-btns { gap: 10px; flex-wrap: wrap; }
.prx-chart { padding: 22px; border-radius: 22px; background: linear-gradient(180deg, #f5f8fe, #ffffff); border: 1px solid #e3eaf4; }
.prx-chart-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.prx-chart-head b { font-size: 15px; color: #0b2545; }
.prx-legend { display: flex; gap: 12px; font-size: 12px; color: #6b80a0; }
.prx-legend span { display: inline-flex; align-items: center; gap: 5px; }
.prx-legend i { width: 10px; height: 10px; border-radius: 3px; }
.prx-legend i.k, .prx-split i.k { background: linear-gradient(180deg, #1d74e0, #0b4fb3); }
.prx-legend i.f, .prx-split i.f { background: #f59e0b; }
.prx-bars { height: 210px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: end; padding: 26px 4px 0; border-bottom: 1px solid #dfe7f3;
  background: repeating-linear-gradient(0deg, transparent 0 41px, rgba(11, 60, 130, .07) 41px 42px); }
.prx-bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer; font: inherit; }
.prx-col { width: min(46px, 70%); height: calc(var(--h) - 22px); min-height: 14px; display: flex; flex-direction: column; border-radius: 10px 10px 4px 4px; overflow: hidden;
  box-shadow: 0 12px 22px -14px rgba(11, 79, 179, .8); transform-origin: bottom; animation: prx-grow .9s cubic-bezier(.2, .8, .2, 1) backwards; }
.prx-bar:nth-child(2) .prx-col { animation-delay: .08s; } .prx-bar:nth-child(3) .prx-col { animation-delay: .16s; } .prx-bar:nth-child(4) .prx-col { animation-delay: .24s; } .prx-bar:nth-child(5) .prx-col { animation-delay: .32s; }
.prx-fee { display: block; flex: 0 0 max(5px, 2.5%); background: #f59e0b; }
.prx-keep { display: block; flex: 1; background: linear-gradient(180deg, #3b8cf0, #0b4fb3); transition: filter .2s; }
.prx-bar small { font-size: 12px; font-weight: 700; color: #6b80a0; }
.prx-tip { position: absolute; top: calc(100% - var(--h) - 8px); left: 50%; transform: translate(-50%, -100%); white-space: nowrap; padding: 3px 8px; border-radius: 8px; font-size: 11px; font-weight: 700; color: #fff; background: #0b2545; opacity: 0; transition: opacity .15s; pointer-events: none; }
.prx-bar:hover .prx-tip, .prx-bar.on .prx-tip, .prx-bar:focus-visible .prx-tip { opacity: 1; }
.prx-bar.on .prx-keep, .prx-bar:hover .prx-keep { filter: brightness(1.15) saturate(1.1); }
.prx-bar.on small { color: #0b5cad; }
.prx-bar:focus-visible { outline: 2px solid #0b63c4; outline-offset: 2px; border-radius: 10px; }
@keyframes prx-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .prx-col { animation: none; } }
.prx-calc { margin-top: 18px; display: grid; gap: 8px; }
.prx-calc .input { height: 48px; font-size: 17px; font-weight: 700; background: #ffffff; border-color: #d6e1f2; border-radius: 12px; color: #0b2545; }
.prx-out { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 4px; }
.prx-out div { padding: 10px 12px; border-radius: 12px; background: #ffffff; border: 1px solid #e3eaf4; }
.prx-out small { display: block; font-size: 12px; color: #6b80a0; }
.prx-out b { font-size: 17px; color: #0b2545; }
.prx-out div:first-child b { color: #b45309; }
.prx-out div:last-child b { color: #0b5cad; }
.prx-split { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: #eef2f8; }
.prx-split i { display: block; height: 100%; transition: width .3s; }
.prx-note { margin: 12px 0 0; font-size: 12px; color: #7a88a6; }
@media (max-width: 900px) { .prx { grid-template-columns: minmax(0, 1fr); padding: 24px; gap: 24px; } }
@media (max-width: 640px) {
  .prx { padding: 18px; border-radius: 22px; }
  .prx-checks { grid-template-columns: minmax(0, 1fr); }
  .prx-chart { padding: 16px; }
  .prx-bars { height: 180px; gap: 8px; }
  .prx-tip { font-size: 10px; padding: 2px 6px; }
}

/* ==========================================================================
   How it works: four steps on a timeline — icon circles joined by a line that fills with blue, cards below
   ========================================================================== */
.hiw-sec .section-head p { color: var(--text-2); margin: 8px auto 0; max-width: 560px; }
.hiw { list-style: none; margin: 10px 0 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.hiw::before, .hiw::after { content: ""; position: absolute; top: 37px; left: 12.5%; height: 4px; border-radius: 999px; }
.hiw::before { right: 12.5%; background: repeating-linear-gradient(90deg, #d5e1f3 0 10px, transparent 10px 16px); }
.hiw::after { width: 75%; background: linear-gradient(90deg, #0b4fb3, #1d74e0 60%, #22c55e); transform-origin: left; animation: hiw-line 1.8s cubic-bezier(.3, .7, .2, 1) .2s backwards; box-shadow: 0 0 14px rgba(29, 116, 224, .45); }
@keyframes hiw-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hiw-step { position: relative; z-index: 1; display: grid; justify-items: center; gap: 18px; animation: hiw-pop .6s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(.25s + var(--i) * .35s); }
@keyframes hiw-pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hiw-node { position: relative; width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: #ffffff; border: 2px solid #cfe0f6;
  box-shadow: 0 0 0 8px rgba(29, 116, 224, .08), 0 16px 30px -16px rgba(11, 79, 179, .7); transition: transform .2s; }
.hiw-step:last-child .hiw-node { border-color: #bbf7d0; box-shadow: 0 0 0 8px rgba(34, 197, 94, .1), 0 16px 30px -16px rgba(21, 128, 61, .6); }
.hiw-ic { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #0b4fb3, #1d74e0); }
.hiw-step:last-child .hiw-ic { background: linear-gradient(135deg, #15803d, #22c55e); }
.hiw-ic svg { width: 24px; height: 24px; }
.hiw-num { position: absolute; top: -4px; right: -4px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 800 12px var(--font-display); color: #0b2545; background: #ffffff; border: 2px solid #e3eaf4; box-shadow: 0 4px 10px -4px rgba(11, 37, 69, .35); }
.hiw-card { width: 100%; height: 100%; padding: 20px 18px; border-radius: 20px; text-align: center; background: #ffffff; border: 1px solid #e3eaf4; box-shadow: 0 1px 2px rgba(11, 37, 69, .04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.hiw-step:hover .hiw-card { transform: translateY(-4px); border-color: #c9daf0; box-shadow: 0 26px 46px -28px rgba(11, 60, 130, .5); }
.hiw-step:hover .hiw-node { transform: scale(1.06); }
.hiw-tag { display: inline-block; margin-bottom: 10px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #0b5cad; background: #eef4fd; }
.hiw-step:last-child .hiw-tag { color: #15803d; background: #dcfce7; }
.hiw-card h3 { font-size: 17px; margin: 0 0 6px; color: #0b2545; }
.hiw-card p { margin: 0; font-size: 14px; color: #4b5b78; line-height: 1.55; }
.hiw-cta { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hiw-cta span { font-size: 13.5px; color: #6b80a0; }
@media (prefers-reduced-motion: reduce) { .hiw::after, .hiw-step { animation: none; } }
/* phones: still four side by side, compact */
@media (max-width: 640px) {
  .hiw { gap: 6px; }
  .hiw::before, .hiw::after { top: 22px; height: 3px; }
  .hiw-step { gap: 10px; }
  .hiw-node { width: 46px; height: 46px; border-width: 2px; box-shadow: 0 0 0 4px rgba(29, 116, 224, .08), 0 10px 18px -10px rgba(11, 79, 179, .7); }
  .hiw-ic { width: 32px; height: 32px; }
  .hiw-ic svg { width: 16px; height: 16px; }
  .hiw-num { width: 18px; height: 18px; font-size: 9.5px; top: -3px; right: -5px; border-width: 1.5px; }
  .hiw-card { padding: 10px 6px; border-radius: 12px; }
  .hiw-tag { display: none; }
  .hiw-card h3 { font-size: 11.5px; line-height: 1.2; margin-bottom: 4px; }
  .hiw-card p { font-size: 10px; line-height: 1.3; }
  .hiw-cta { margin-top: 18px; gap: 8px; }
  .hiw-cta .btn { padding: 11px 16px; font-size: 14px; }
}

/* ==========================================================================
   Homepage solutions as a bento grid: wide gateway and bank cards, each card with a small live-looking illustration
   ========================================================================== */
.solx { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.solx-card { position: relative; display: flex; flex-direction: column; padding: 22px; border-radius: 22px; background: #ffffff; border: 1px solid #e3eaf4; overflow: hidden;
  box-shadow: 0 1px 2px rgba(11, 37, 69, .04); transition: transform .25s, box-shadow .25s, border-color .25s; isolation: isolate; }
.solx-card::before { content: ""; position: absolute; z-index: -1; width: 260px; height: 260px; right: -110px; top: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(29, 116, 224, .14), transparent); transition: transform .4s; }
.solx-card:hover { transform: translateY(-4px); border-color: #c9daf0; box-shadow: 0 30px 56px -32px rgba(11, 60, 130, .55); }
.solx-card:hover::before { transform: scale(1.35); }
.s-payment-gateway, .s-bank-transfers { grid-column: span 2; }
.s-payment-gateway { background: linear-gradient(145deg, #0a2f73 0%, #0b4fb3 60%, #1d74e0 100%); border-color: transparent; color: #fff; }
.s-payment-gateway::before { background: radial-gradient(closest-side, rgba(125, 211, 252, .35), transparent); }
.solx-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.solx-ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #0b4fb3, #1d74e0); box-shadow: 0 10px 22px -12px rgba(11, 79, 179, .8); }
.solx-ic svg { width: 22px; height: 22px; }
.s-payment-gateway .solx-ic { background: rgba(255, 255, 255, .16); box-shadow: none; border: 1px solid rgba(255, 255, 255, .3); }
.s-mobile-money .solx-ic { background: linear-gradient(135deg, #15803d, #22c55e); }
.s-card-payments .solx-ic { background: linear-gradient(135deg, #6d28d9, #a855f7); }
.s-hosted-checkout .solx-ic { background: linear-gradient(135deg, #0f766e, #14b8a6); }
.s-bank-transfers .solx-ic { background: linear-gradient(135deg, #0b2545, #31507d); }
.solx-badge { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #0b2545; background: #fde68a; }
.solx-card h3 { margin: 0 0 6px; font-size: 18px; }
.solx-card h3 a { color: inherit; text-decoration: none; }
.solx-card > p { margin: 0 0 16px; font-size: 14px; color: #4b5b78; line-height: 1.55; }
.s-payment-gateway > p { color: rgba(255, 255, 255, .85); }
.solx-art { margin-top: auto; margin-bottom: 14px; }
.solx-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: #0b5cad; }
.s-payment-gateway .solx-more { color: #ffffff; }
.solx-more svg { width: 16px; height: 16px; transition: transform .2s; }
.solx-card:hover .solx-more svg { transform: translateX(4px); }
.solx-logo { display: grid; place-items: center; width: 54px; height: 36px; padding: 5px 7px; border-radius: 10px; background: #ffffff; border: 1px solid #e6ecf5; box-shadow: 0 6px 14px -10px rgba(11, 37, 69, .45); }
.solx-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.solx-logo.dark { background: #0b1733; border-color: #0b1733; }
/* gateway: logos float around the FlyPay mark */
.solx-hub { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; padding: 18px 10px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.solx-hub-core { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #ffffff; box-shadow: 0 0 0 6px rgba(255, 255, 255, .12), 0 12px 24px -10px rgba(0, 0, 0, .45); }
.solx-hub-core img { width: 38px; height: 38px; }
.solx-hub .solx-logo { border-color: transparent; animation: solx-float 4s ease-in-out infinite; animation-delay: calc(var(--k) * -.55s); }
@keyframes solx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
/* payment link */
.solx-link { display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 12px; border-radius: 12px; background: #f5f8fe; border: 1px solid #e3eaf4; }
.solx-url { display: flex; align-items: center; gap: 6px; flex: 1; min-width: 0; font: 600 12.5px var(--mono); color: #3c5576; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.solx-url svg { flex: none; width: 14px; height: 14px; color: #0b5cad; }
.solx-url b { color: #0b5cad; }
.solx-copy { padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; color: #fff; background: #0b5cad; }
.solx-share { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.solx-share span { padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #3c5576; background: #eef2f8; }
.solx-share span.wa { color: #fff; background: #25d366; }
/* hosted checkout */
.solx-co { padding: 12px; border-radius: 14px; background: #f5f8fe; border: 1px solid #e3eaf4; display: grid; gap: 8px; }
.solx-co-row { display: flex; justify-content: space-between; align-items: baseline; }
.solx-co-row small { color: #6b80a0; font-size: 12px; }
.solx-co-row b { font-size: 16px; color: #0b2545; }
.solx-co-m { display: flex; gap: 6px; }
.solx-co-m img { width: 40px; height: 26px; padding: 3px 5px; object-fit: contain; border-radius: 7px; background: #fff; border: 1px solid #e6ecf5; }
.solx-co-pay { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-radius: 10px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, #0f766e, #14b8a6); }
.solx-co-pay svg { width: 14px; height: 14px; }
/* mobile money */
.solx-mm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.solx-mm .solx-logo { width: auto; height: 42px; }
/* card */
.solx-cc { position: relative; height: 104px; padding: 14px; border-radius: 16px; color: #fff; background: linear-gradient(135deg, #4c1d95, #7c3aed 60%, #a855f7); box-shadow: 0 18px 30px -18px rgba(109, 40, 217, .8); transform: rotate(-3deg); transition: transform .3s; }
.solx-card:hover .solx-cc { transform: rotate(0) scale(1.02); }
.solx-chip { display: block; width: 30px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #fde68a, #f59e0b); }
.solx-cc-num { position: absolute; left: 14px; bottom: 14px; font: 600 12.5px var(--mono); letter-spacing: .06em; }
.solx-cc-brands { position: absolute; right: 12px; top: 12px; display: flex; gap: 4px; }
.solx-cc-brands img { width: 34px; height: 22px; padding: 2px 4px; object-fit: contain; border-radius: 5px; background: #fff; }
/* bank */
.solx-bank { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: #f5f8fe; border: 1px solid #e3eaf4; }
.solx-bank div { flex: 1; min-width: 0; display: grid; }
.solx-bank small { font-size: 12px; color: #6b80a0; }
.solx-bank b { font: 700 14px var(--mono); color: #0b2545; }
.solx-ok { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #15803d; background: #dcfce7; }
.solx-ok svg { width: 13px; height: 13px; }
@media (prefers-reduced-motion: reduce) { .solx-hub .solx-logo { animation: none; } .solx-card, .solx-cc { transition: none; } }
@media (max-width: 1000px) { .solx { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .solx { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .s-payment-gateway, .s-bank-transfers { grid-column: auto; }
  .solx-card { padding: 18px; border-radius: 20px; }
}
.solx-card a.stretched::after { content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.solx-logo img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: contain; display: block; }
.solx-mm .solx-logo { height: 44px; padding: 6px 10px; overflow: hidden; }
.solx-logo img { height: 24px; }
.solx-mm .solx-logo img { height: 30px; }

/* ==========================================================================
   Footer, advanced: brand + badges and a newsletter/contact card on top, link columns + contact column,
   payment logos strip, bottom bar with legal links and back-to-top
   ========================================================================== */
.ftx { position: relative; padding: 0 0 22px; margin-top: 30px; background: linear-gradient(180deg, #f7f9fe 0%, #eef3fb 100%); border-top: 0; }
.ftx::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #0b4fb3, #1d74e0 40%, #22c55e 70%, #f59e0b); }
.ftx-top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: center; padding: 48px 0 34px; border-bottom: 1px solid #dfe7f3; }
.ftx-brand .brand-logo { height: 62px; width: auto; }
.ftx-brand p { margin: 14px 0 16px; max-width: 440px; color: #4b5b78; font-size: 15px; line-height: 1.6; }
.ftx-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ftx-badges span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #0b2545; background: #ffffff; border: 1px solid #e1e9f5; box-shadow: 0 6px 14px -12px rgba(11, 60, 130, .45); }
.ftx-badges svg { width: 15px; height: 15px; color: #0b5cad; }
.ftx-news { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 22px; color: #fff; overflow: hidden; position: relative;
  background: radial-gradient(360px 200px at 100% 0%, rgba(125, 211, 252, .35), transparent 70%), linear-gradient(135deg, #0a2f73, #0b4fb3 60%, #1d74e0); box-shadow: 0 26px 50px -28px rgba(11, 79, 179, .75); }
.ftx-news-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); }
.ftx-news-ic svg { width: 22px; height: 22px; color: #fff; }
.ftx-news-body { flex: 1; min-width: 0; }
.ftx-news h3 { margin: 0 0 4px; font-size: 18px; color: #fff; letter-spacing: 0; text-transform: none; }
.ftx-news p { margin: 0 0 12px; font-size: 13.5px; color: rgba(255, 255, 255, .85); }
.ftx-form { display: flex; gap: 8px; }
body.site-white .ftx #nl-email, .ftx #nl-email { flex: 1; min-width: 0; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .96) !important; color: #0b2545 !important; border: 1px solid rgba(255, 255, 255, .6) !important; }
.ftx-form .btn, .ftx-news-btns .btn { height: 46px; padding: 0 18px; border-radius: 12px; font-weight: 700; color: #0b2545; background: #fde68a; border: 0; white-space: nowrap; }
.ftx-form .btn:hover, .ftx-news-btns .btn:hover { background: #fcd34d; }
.ftx-news .hint { color: rgba(255, 255, 255, .85); margin: 6px 0 0; }
.ftx-news-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ftx-news-btns .btn { display: inline-flex; align-items: center; height: 42px; }
.ftx-news-btns .ftx-wa-btn { color: #fff; background: #25d366; }
.ftx-news-btns .ftx-wa-btn:hover { background: #1fb457; }
.footer-grid.ftx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr); gap: 28px; padding: 34px 0 28px; }
.ftx-grid h3 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #0b2545; margin: 0 0 14px; }
.ftx-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftx-grid ul a { color: #4b5b78; font-size: 14.5px; text-decoration: none; transition: color .15s, padding .15s; }
.ftx-grid details ul a:hover { color: #0b5cad; padding-left: 4px; }
.ftx-contact li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: #4b5b78; min-width: 0; }
.ftx-contact li a, .ftx-contact li > span:last-child { overflow-wrap: anywhere; color: #4b5b78; }
.ftx-contact li a:hover { color: #0b5cad; }
.ftx-ci { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #0b5cad; background: #ffffff; border: 1px solid #e1e9f5; }
.ftx-ci svg { width: 16px; height: 16px; }
.ftx-ci.wa { background: #25d366; border-color: #25d366; }
.ftx-ci.wa img { width: 16px; height: 16px; filter: brightness(0) invert(1); }
.ftx-pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 0; border-top: 1px solid #dfe7f3; }
.ftx-pay-l { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #6b80a0; }
.ftx-pay-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.ftx-pl { display: grid; place-items: center; width: 64px; height: 38px; padding: 5px 8px; border-radius: 10px; background: #ffffff; border: 1px solid #e1e9f5; box-shadow: 0 6px 14px -12px rgba(11, 37, 69, .45); transition: transform .15s; }
.ftx-pl:hover { transform: translateY(-2px); }
.ftx-pl img { width: 100%; height: 26px; object-fit: contain; }
.ftx-pl.dark { background: #0b1733; border-color: #0b1733; }
.footer-bottom.ftx-bottom { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid #dfe7f3; color: #6b80a0; font-size: 13px; }
.ftx-bottom > span:first-child { margin-right: auto; }
.ftx-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.ftx-legal a { color: #4b5b78; text-decoration: none; }
.ftx-legal a:hover { color: #0b5cad; }
.ftx-up { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-weight: 700; font-size: 12.5px; color: #fff !important; background: #0b2545; text-decoration: none !important; }
.ftx-up svg { width: 14px; height: 14px; transform: rotate(-90deg); }
.ftx-up:hover { background: #0b5cad; }
@media (max-width: 960px) {
  .ftx-top { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .footer-grid.ftx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftx-contact { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .ftx-top { padding: 34px 0 24px; }
  .ftx-brand .brand-logo { height: 52px; }
  .ftx-news { padding: 18px; flex-direction: column; gap: 12px; }
  .ftx-form { flex-direction: column; }
  .ftx-form .btn { width: 100%; justify-content: center; }
  body.site-white .footer-grid.ftx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 22px 0; }
  body.site-white .footer-grid.ftx-grid > :first-child { grid-column: auto; }
  body.site-white .footer-grid.ftx-grid > .ftx-contact { grid-column: 1 / -1; margin-top: 10px; }
  .ftx-grid details h3 { margin: 0; }
  .ftx-pay { justify-content: center; }
  .ftx-pay-l { width: 100%; text-align: center; }
  .ftx-pay-logos { justify-content: center; }
  .ftx-pl { width: 56px; height: 34px; }
  .footer-bottom.ftx-bottom { justify-content: center; text-align: center; }
  .ftx-bottom > span:first-child { margin-right: 0; width: 100%; }
}
body.site-white .ftx .ftx-news p, body.site-white .ftx .ftx-news .hint { color: rgba(255, 255, 255, .88); }
body.site-white .ftx .ftx-news h3 { color: #ffffff; }
body.site-white .ftx .ftx-brand p { color: #4b5b78; }
.footer-bottom.ftx-bottom { padding-right: 180px; }
@media (max-width: 640px) { .footer-bottom.ftx-bottom { padding-right: 0; padding-bottom: 64px; } }
@media (max-width: 640px) { .prx-out b { font-size: 14.5px; white-space: nowrap; } .prx-out div { padding: 9px 10px; } }

/* modern type: Plus Jakarta Sans everywhere; slightly tighter headings, tabular figures for amounts */
h1, h2, h3, h4 { letter-spacing: -0.025em; }
body { font-feature-settings: "ss01" 1, "cv11" 1; }
.price, .prx-rate b, .prx-out b, .ovx-kpi b, .od-stat b, .ov-rail b, .od-total, .num, .ovx-rev b { font-variant-numeric: tabular-nums; }
/* footer links: a touch bolder and roomier so they read as clearly as the rest of the site */
.ftx-grid ul { gap: 12px; }
.ftx-grid ul a, .ftx-contact li, .ftx-contact li a { font-size: 15px; font-weight: 500; letter-spacing: -0.005em; }
.ftx-grid h3 { font-size: 12.5px; font-weight: 800; letter-spacing: .14em; }
.ftx-brand p { font-size: 15.5px; }
.mock-kpi .mock-up { display: inline-block; margin-top: 4px; padding: 1px 7px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; color: #15803d; background: #dcfce7; }
.mock-row .mock-amt { display: block; margin-top: 2px; font-size: 13px; color: #0b2545; }
body.site-white .mock-kpi b { font-size: 16px; white-space: nowrap; }
@media (max-width: 640px) { body.site-white .mock-kpi b { font-size: 11.5px !important; } .mock-kpi .mock-up { font-size: 9px; padding: 1px 5px; } .mock-row .mock-amt { font-size: 11px; } }
body.site-white .mock-row { align-items: center; }
body.site-white .mock-row span:last-child { align-self: center; line-height: 1.5; }

/* ==========================================================================
   Developers & security: blue gradient developer card with a code window (colours of the "Talk to our team" card),
   white security card with the confirmation flow and checklist
   ========================================================================== */
.devx-sec .section-head p { color: var(--text-2); margin: 8px auto 0; max-width: 560px; }
.devx { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
.devx-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px; border-radius: 26px; overflow: hidden; isolation: isolate; }
.devx-dev { color: #fff; background: radial-gradient(420px 240px at 100% 0%, rgba(125, 211, 252, .35), transparent 70%), linear-gradient(135deg, #0a2f73, #0b4fb3 60%, #1d74e0); box-shadow: 0 30px 60px -32px rgba(11, 79, 179, .8); }
.devx-sec-card { background: #ffffff; border: 1px solid #e3eaf4; box-shadow: 0 1px 2px rgba(11, 37, 69, .05), 0 30px 60px -38px rgba(11, 60, 130, .5); }
.devx-sec-card::before { content: ""; position: absolute; z-index: -1; width: 280px; height: 280px; right: -120px; top: -130px; border-radius: 50%; background: radial-gradient(closest-side, rgba(34, 197, 94, .16), transparent); }
.devx-head { display: flex; gap: 14px; align-items: flex-start; }
.devx-ic { flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .3); }
.devx-ic svg { width: 24px; height: 24px; }
.devx-ic.g { background: linear-gradient(135deg, #15803d, #22c55e); border: 0; box-shadow: 0 10px 22px -12px rgba(21, 128, 61, .8); }
.devx-card h3 { margin: 0 0 6px; font-size: 22px; }
.devx-dev h3 { color: #fff; }
.devx-dev h3 span { color: #fde68a; }
.devx-sec-card h3 { color: #0b2545; }
.devx-sec-card h3 span { color: #15803d; }
.devx-card p { margin: 0; font-size: 14.5px; line-height: 1.6; }
.devx-dev p { color: rgba(255, 255, 255, .85); }
.devx-sec-card p { color: #4b5b78; }
.devx-code { border-radius: 16px; background: rgba(4, 16, 46, .72); border: 1px solid rgba(255, 255, 255, .14); overflow: hidden; }
.devx-code-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.devx-code-bar i { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.devx-code-bar i:nth-child(2) { background: #febc2e; } .devx-code-bar i:nth-child(3) { background: #28c840; }
.devx-code-bar span { margin-left: 8px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.devx-code pre { margin: 0; padding: 14px 16px; font: 500 13px/1.65 var(--mono); color: #e2ecff; white-space: pre-wrap; overflow-wrap: anywhere; }
.devx-code .k { color: #fde68a; font-weight: 700; }
.devx-code .h { color: #7dd3fc; }
.devx-code .s { color: #c4b5fd; }
.devx-code .v { color: #86efac; }
.devx-resp { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: rgba(255, 255, 255, .75); }
.devx-201 { padding: 2px 9px; border-radius: 999px; font-weight: 800; font-size: 11.5px; color: #052e16; background: #86efac; }
.devx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.devx-chips span { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); }
.devx-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }
.devx-btns .btn { height: 44px; padding: 0 18px; border-radius: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.devx-y { color: #0b2545; background: #fde68a; border: 0; }
.devx-y:hover { background: #fcd34d; }
.devx-o { color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .55); }
.devx-o:hover { background: rgba(255, 255, 255, .12); }
.devx-b { color: #fff; background: linear-gradient(135deg, #0b4fb3, #1d74e0); border: 0; box-shadow: 0 12px 24px -14px rgba(11, 79, 179, .8); }
.devx-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; position: relative; }
.devx-flow::before { content: ""; position: absolute; left: 12%; right: 12%; top: 17px; height: 3px; border-radius: 999px; background: linear-gradient(90deg, #0b4fb3, #1d74e0, #22c55e); }
.devx-flow li { position: relative; display: grid; justify-items: center; gap: 6px; text-align: center; }
.devx-flow b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: #0b5cad; background: #ffffff; border: 2px solid #cfe0f6; box-shadow: 0 6px 14px -8px rgba(11, 60, 130, .5); }
.devx-flow li.ok b { color: #fff; background: #22c55e; border-color: #22c55e; }
.devx-flow span { font-size: 12px; font-weight: 600; color: #3c5576; line-height: 1.3; }
.devx-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.devx-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #3c5576; }
.devx-list svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; color: #15803d; background: #dcfce7; }
@media (max-width: 900px) { .devx { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .devx-card { padding: 20px; border-radius: 22px; gap: 14px; }
  .devx-card h3 { font-size: 19px; }
  .devx-code pre { font-size: 11.5px; padding: 12px; }
  .devx-flow span { font-size: 10.5px; }
  .devx-flow b { width: 30px; height: 30px; font-size: 12px; }
  .devx-flow::before { top: 14px; }
}

/* ---- admin control centre pages ---- */
.cc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.cc-lead { margin: 0; max-width: 720px; color: var(--app-muted); }
.cc-filter .select, .cc-filter .input { min-height: 38px; width: auto; }
.cc-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-bottom: 18px; }
.cc-stat { position: relative; display: grid; gap: 3px; padding: 16px 16px 14px; border-radius: 16px; background: var(--app-card); border: 1px solid var(--app-line); overflow: hidden; }
.cc-stat::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 3px; background: #64748b; opacity: .5; }
.cc-stat.info::before { background: #1d74e0; opacity: 1; } .cc-stat.ok::before { background: #22c55e; opacity: 1; } .cc-stat.warn::before { background: #f59e0b; opacity: 1; } .cc-stat.bad::before { background: #ef4444; opacity: 1; }
.cc-stat small { font-size: 12.5px; font-weight: 600; color: var(--app-muted); }
.cc-stat b { font-size: 22px; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.cc-stat span { font-size: 12px; color: var(--app-muted); }
.cc-charts { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-bottom: 18px; }
.cc-charts.one { grid-template-columns: minmax(0, 1fr); }
.cc-sec { margin-bottom: 16px; }
.cc-sec-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.cc-sub { display: block; font-size: 11.5px; color: var(--app-muted); }
.cc-mono { font-size: 12.5px; overflow-wrap: anywhere; }
.cc-note { display: block; padding: 12px 14px; border-radius: 12px; font-size: 12.5px; overflow-wrap: anywhere; background: rgba(29, 116, 224, .1); }
.cc-act { margin: 0; }
.cc-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
@media (max-width: 900px) { .cc-charts { grid-template-columns: minmax(0, 1fr); } }
/* over the blue contact band: swap to the official logo for dark backgrounds (keeps the globe and card colours) instead of a flat white filter */
body.site-white:has(.ctx-hero) .site-header:not(.is-scrolled) .brand-logo { filter: drop-shadow(0 2px 6px rgba(0, 20, 60, .35)); content: url("../img/brand/logo-white.png?v=20261017a"); }

/* ==========================================================================
   Admin "mint" theme (body.app.mint): soft green-white background, floating white sidebar with green active item,
   white rounded cards, green accents, progress rings on the overview. Same pages, menus and buttons.
   ========================================================================== */
body.app.mint {
  --app-bg: #eef5f1; --app-card: #ffffff; --app-line: #e1ece5; --app-text: #12261c; --app-muted: #62786c;
  --cyan: #0e9f6e; --cyan-2: #0b8a5f; --mt: #0e9f6e; --mt-2: #16a34a; --mt-deep: #0b5e3b; --mt-soft: #e6f6ee; --mt-soft-2: #d3efe0;
  --mt-shadow: 0 1px 2px rgba(18, 38, 28, .04), 0 14px 32px -24px rgba(11, 94, 59, .35);
  background: radial-gradient(900px 500px at 100% -10%, rgba(22, 163, 74, .08), transparent 60%), #eef5f1; color: var(--app-text); color-scheme: light;
}
body.app.mint .app-shell { grid-template-columns: 262px minmax(0, 1fr); }
body.app.mint .sidebar { top: 12px; height: calc(100vh - 24px); margin: 12px 0 12px 12px; border-radius: 22px; color: var(--app-text); background: #ffffff; border: 1px solid var(--app-line); box-shadow: var(--mt-shadow); }
body.app.mint .side-group { color: #8aa194; }
body.app.mint .side-link { color: #3c5446; font-weight: 500; }
body.app.mint .side-link:hover { background: var(--mt-soft); color: var(--mt-deep); }
body.app.mint .side-link.active { background: var(--mt-soft); color: var(--mt-deep); font-weight: 700; box-shadow: inset 3px 0 0 var(--mt); }
body.app.mint .side-link .count { background: var(--mt); color: #fff; }
body.app.mint .side-foot { color: #7d9286; }
body.app.mint .side-foot a { color: var(--mt) !important; font-weight: 600; }
body.app.mint .topbar { margin: 12px 12px 0; top: 12px; border-radius: 18px; height: 62px; background: rgba(255, 255, 255, .92); border: 1px solid var(--app-line); box-shadow: var(--mt-shadow); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
body.app.mint .icon-btn, body.app.mint .profile-btn { background: #f5faf7; border-color: var(--app-line); color: var(--app-text); }
body.app.mint .menu-pop { background: #ffffff; border: 1px solid var(--app-line); }
body.app.mint .panel, body.app.mint .cc-stat, body.app.mint .od-stat { background: #ffffff; border: 1px solid var(--app-line); border-radius: 18px; box-shadow: var(--mt-shadow); }
body.app.mint .panel-head { border-bottom-color: var(--app-line); }
body.app.mint .table th { background: #f4faf6; color: #5c7366; }
body.app.mint .table tr:hover td { background: #f8fcf9; }
body.app.mint .table td { border-color: #edf3ef; }
body.app.mint a { color: var(--mt-deep); }
body.app.mint .btn-primary { background: linear-gradient(135deg, #0e9f6e, #16a34a); color: #fff; border-color: transparent; box-shadow: 0 10px 22px -12px rgba(14, 159, 110, .8); }
body.app.mint .btn-primary:hover { background: linear-gradient(135deg, #0b8a5f, #15803d); }
body.app.mint .btn-light { background: #ffffff; color: var(--app-text); border-color: var(--app-line); }
body.app.mint .btn-light:hover { border-color: #a7d9bf; background: var(--mt-soft); }
body.app.mint .input, body.app.mint .select, body.app.mint .textarea { background-color: #fbfdfc; border-color: #d7e6dd; color: var(--app-text); }
body.app.mint .input:focus, body.app.mint .select:focus, body.app.mint .textarea:focus { border-color: var(--mt); box-shadow: 0 0 0 3px rgba(14, 159, 110, .15); }
body.app.mint .od-stat-ic, body.app.mint .sf-ic { background: var(--mt-soft); color: var(--mt-deep); }
body.app.mint .kpi-label { color: var(--app-muted); }
body.app.mint .kpi-label svg { color: var(--mt); }
body.app.mint .kpi-value { color: var(--app-text); }
body.app.mint .tabs a.active, body.app.mint .od-tabs a.active { color: var(--mt-deep); border-bottom-color: var(--mt); }
body.app.mint .cc-stat::before { background: var(--mt); opacity: .35; }
body.app.mint .cc-stat.info::before { background: #0e9f6e; opacity: 1; }
body.app.mint .cc-note { background: var(--mt-soft); color: var(--mt-deep); }
body.app.mint .badge.plain.b-sandbox { background: #fff7e6; }
/* overview: admin card + progress rings */
.adm-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 16px; margin-bottom: 20px; }
.adm-me { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px 14px; align-items: center; padding: 20px; border-radius: 20px; color: #fff;
  background: radial-gradient(320px 180px at 100% 0%, rgba(255, 255, 255, .22), transparent 70%), linear-gradient(135deg, #0b5e3b, #0e9f6e 70%, #34d399); box-shadow: 0 22px 44px -26px rgba(11, 94, 59, .8); }
.adm-av { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: #ffffff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }
.adm-av img { width: 42px; height: 42px; }
.adm-me small { display: block; font-size: 12px; opacity: .85; }
.adm-me b { display: block; font-size: 19px; line-height: 1.2; }
.adm-me span { display: block; font-size: 12.5px; opacity: .85; overflow-wrap: anywhere; }
.adm-quick { grid-column: 1 / -1; display: flex; gap: 8px; flex-wrap: wrap; }
body.app.mint .adm-quick .btn-primary { background: #ffffff; color: #0b5e3b; box-shadow: none; }
body.app.mint .adm-quick .btn-light { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .4); }
.adm-rings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.adm-ring { display: grid; justify-items: center; gap: 10px; padding: 18px 12px; border-radius: 20px; text-align: center; background: #ffffff; border: 1px solid var(--app-line); box-shadow: var(--mt-shadow, none); }
.adm-ring-c { --p: 0; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(#0e9f6e calc(var(--p) * 1%), #e3efe8 0); position: relative; }
.adm-ring-c::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #ffffff; }
.adm-ring-c b { position: relative; font-size: 18px; color: var(--app-text); }
.adm-ring div b { display: block; font-size: 13.5px; color: var(--app-text); }
.adm-ring div small { font-size: 12px; color: var(--app-muted); }
@media (max-width: 1100px) { .adm-hero { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 1000px) {
  body.app.mint .app-shell { grid-template-columns: minmax(0, 1fr); }
  body.app.mint .sidebar { margin: 0; top: 0; height: 100vh; border-radius: 0 22px 22px 0; }
  body.app.mint .topbar { margin: 8px 8px 0; top: 8px; }
}
@media (max-width: 640px) { .adm-rings { grid-template-columns: repeat(2, minmax(0, 1fr)); } .adm-ring-c { width: 72px; height: 72px; } }
/* mint admin: charts and dark buttons in the green palette */
body.app.mint svg.chart path[stroke], body.app.mint svg.chart circle[stroke] { stroke: #0e9f6e; }
body.app.mint svg.chart stop { stop-color: #16a34a; }
body.app.mint .btn-dark { background: #0b5e3b; color: #fff; border-color: #0b5e3b; }
body.app.mint .btn-dark:hover { background: #094d31; }
/* API keys: live access card */
.ak-steps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.ak-steps li { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--app-muted); }
.ak-steps li svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: #f59e0b; }
.ak-steps li.ok { color: var(--app-text); }
.ak-steps li.ok svg { color: #16a34a; }
.ak-state { display: grid; gap: 3px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; margin-bottom: 12px; }
.ak-state.pending { background: #fff7e6; color: #92400e; }
.ak-state.ok { background: #dcfce7; color: #166534; }
.ak-state.no { background: #fee2e2; color: #991b1b; }
.cc-acts { display: grid; gap: 6px; min-width: 210px; }
.cc-act { display: flex; gap: 6px; align-items: center; }
.cc-in { min-height: 34px; padding: 6px 10px; font-size: 13px; flex: 1; min-width: 0; }
.ctx-map-ll { font: 600 12px var(--mono); color: #6b80a0 !important; }
.ctx-map-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.ctx-map-actions span { font: 600 13px var(--mono); color: #4b5b78; }
/* overview quick actions: payment link, QR payment and direct request share the indigo style; invoice and product stay light */
@media (max-width: 760px) {
  .ovx-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ovx-actions .btn { justify-content: center; white-space: nowrap; padding-left: 10px; padding-right: 10px; }
  .ovx-actions .ovx-wide { grid-column: 1 / -1; }
}
body.app.glass .ovx-head { grid-template-columns: minmax(0, 1fr); gap: 14px; }
.ovx-actions { justify-content: flex-start; }
/* verification documents: take a photo or upload a file */
.kyc-pick.kyc-ready .kyc-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; clip: rect(0 0 0 0); }
.kyc-pick { position: relative; }
.kyc-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.kyc-btns .btn { justify-content: center; min-height: 46px; gap: 8px; }
.kyc-btns .btn svg { width: 18px; height: 18px; }
.kyc-chosen { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; border: 1px solid var(--app-line); background: var(--app-card); }
.kyc-chosen img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; }
.kyc-pdf { width: 54px; height: 54px; border-radius: 10px; display: grid; place-items: center; flex: none; font-weight: 800; font-size: 12px; color: #b91c1c; background: #fee2e2; }
.kyc-name { flex: 1; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kyc-hint { display: block; margin-top: 4px; }
.kyc-btns .btn, .kyc-chosen .btn { background: #ffffff !important; border: 1.5px solid #c7d2fe !important; color: #3730a3 !important; font-weight: 700; }
.kyc-btns .btn:hover { border-color: #6366f1 !important; background: #eef2ff !important; }
/* international delivery fields */
.dl-intl { padding: 14px; border-radius: 14px; background: #eef4fd; border: 1px solid #d6e3f6; }
.dl-intl-note { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 10px; font-size: 13.5px; color: #24406b; }
.dl-intl-note svg { flex: none; width: 18px; height: 18px; color: #0b5cad; margin-top: 1px; }
.dl-track { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; font-weight: 700; }
.st-ships { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: rgba(255, 255, 255, .16); color: #fff; }
.st-ships svg { width: 14px; height: 14px; }
@media (max-width: 640px) { .dl-intl .grid-3 { grid-template-columns: minmax(0, 1fr); } }
/* "Shop now" button: takes visitors to the shops directory */
.btn-shop { color: #ffffff !important; background: linear-gradient(135deg, #16a34a, #22c55e); border: 0; box-shadow: 0 12px 26px -14px rgba(22, 163, 74, .8); }
.btn-shop:hover { background: linear-gradient(135deg, #15803d, #16a34a); }
/* phone hero: Shop now, Log In and Sign Up share one compact row, so new visitors find them at once */
.hero-auth { display: none; }
@media (max-width: 640px) {
  body.site-white .hero-ctas .hero-auth { display: contents; }
  body.site-white .hero-ctas .btn-shop,
  body.site-white .hero-ctas .hero-auth .btn-lg { flex: 1 1 28%; min-width: 0; justify-content: center; padding: 10px 6px; font-size: 13.5px; border-radius: 11px; white-space: nowrap; }
  body.site-white .hero-ctas .hero-auth .btn-ghost { background: #ffffff; border: 1.5px solid #c7d3ea; color: #0b3fc4; }
  body.site-white .hero-ctas::after { order: 9; }
}
.sh-pref h2 { color: #ffffff; }

/* ==========================================================================
   Shopping pages in the current FlyPay Nexus look: white, navy text, FlyPay blue (#0b3fc4 / #0b5cad) for actions.
   ========================================================================== */
body.shop-light { --cyan: #0b5cad; --cyan-2: #0b3fc4; --cyan-glow: rgba(11, 63, 196, .35); --electric: #0b3fc4; background: #f6f8fc; }
body.shop-light .btn-primary { background: #0b3fc4; color: #ffffff; box-shadow: 0 10px 24px -12px rgba(11, 63, 196, .7); }
body.shop-light .btn-primary:hover { background: #0a35a6; box-shadow: 0 12px 28px -12px rgba(11, 63, 196, .8); }
body.shop-light .cyan { color: #0b5cad; }
body.shop-light a:not(.btn):not(.sh-store):not(.sh-cat):not(.sh-official):not(.nav-link):not(.m-link) { color: #0b5cad; }
body.shop-light .store-kinds .active, body.shop-light .sh-types .active { background: #0b3fc4 !important; color: #ffffff !important; border-color: #0b3fc4 !important; }
body.shop-light .sh-cat.active { background: #0b3fc4; color: #ffffff; }
body.shop-light .sh-store-band { background: linear-gradient(90deg, #0b3fc4, #1d8cff); }
body.shop-light .seller-badge.official { background: #e8efff; color: #0b3fc4; border-color: #c7d6fb; }
body.shop-light .seller-badge.official .seller-tick { background: #0b3fc4; color: #ffffff; }
/* store page: blue header card, white basket bar */
body.checkout.shop-light { background: #f6f8fc; }
body.shop-light .store-hero { background: radial-gradient(420px 240px at 88% 10%, rgba(255, 255, 255, .18), transparent 70%), linear-gradient(135deg, #0b3fc4, #0b5cad 60%, #1d8cff); }
body.shop-light .store-hero .btn-primary { background: #ffffff; color: #0b3fc4; box-shadow: none; }
body.shop-light .store-shopper { background: #ffffff; border: 1px solid #e3e9f3; }
body.shop-light .cart-bar { background: #ffffff; color: #0b2545; border: 1px solid #e3e9f3; box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .45); }
body.shop-light .cart-bar .hint, body.shop-light .cart-bar small { color: #5b6f8f; }
body.shop-light .pc-ask { background: #ffffff; color: #0b3fc4; border: 1px solid #d6e0f5; box-shadow: 0 6px 14px -8px rgba(15, 23, 42, .35); }
body.shop-light .pc-ask:hover { background: #0b3fc4; color: #ffffff; }
body.shop-light .pc-save { color: #0b3fc4; }

/* the official FlyPay Nexus shop, first on /shops */
.sh-official { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; margin: 0 0 22px; padding: 18px 20px; border-radius: 18px; text-decoration: none !important;
  color: #ffffff; background: radial-gradient(380px 200px at 90% 0%, rgba(255, 255, 255, .2), transparent 70%), linear-gradient(135deg, #0b3fc4, #0b5cad 60%, #1d8cff);
  box-shadow: 0 18px 40px -22px rgba(11, 63, 196, .8); }
.sh-official-logo { width: 58px; height: 58px; border-radius: 16px; background: #ffffff; display: grid; place-items: center; overflow: hidden; font-weight: 800; color: #0b3fc4; font-size: 22px; }
.sh-official-logo img { width: 80%; height: 80%; object-fit: contain; }
.sh-official-body { display: grid; gap: 3px; min-width: 0; }
.sh-official-body small { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #dbe7ff; }
.sh-official-body small svg { width: 14px; height: 14px; }
.sh-official-body b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 20px; color: #ffffff; }
.sh-official-body > span { font-size: 13.5px; color: #e3ecff; }
.sh-official .seller-badge.official { background: #ffffff; color: #0b3fc4; border-color: transparent; }
body.shop-light .sh-official-go { background: #ffffff; color: #0b3fc4; box-shadow: none; }
.sh-official:hover { transform: translateY(-1px); box-shadow: 0 22px 44px -22px rgba(11, 63, 196, .9); }
@media (max-width: 640px) {
  .sh-official { grid-template-columns: auto 1fr; padding: 16px; gap: 12px; }
  .sh-official-logo { width: 50px; height: 50px; }
  .sh-official-body b { font-size: 18px; }
  .sh-official-go { grid-column: 1 / -1; justify-content: center; }
}
/* "What do you like to shop for?" pop-up in the white look */
body.shop-light .sh-pref-wrap { background: rgba(15, 23, 42, .45); }
body.shop-light .sh-pref { background: #ffffff; border-color: #e3e9f3; box-shadow: 0 30px 70px -24px rgba(15, 23, 42, .45); color: #0b2545; }
body.shop-light .sh-pref h2 { color: #0b2545; }
body.shop-light .sh-pref > p { color: #5b6f8f; }
body.shop-light .sh-pref-ic { background: #e8efff; color: #0b3fc4; border-color: #c7d6fb; }
body.shop-light .sh-pref-opt > span { background: #f6f8fc; border-color: #e3e9f3; color: #0b2545; }
body.shop-light .sh-pref-opt b { color: #0b2545; }
body.shop-light .sh-pref-opt small { color: #5b6f8f; }
body.shop-light .sh-pref-opt i { background: #e8efff; color: #0b3fc4; }
body.shop-light .sh-pref-opt input:checked + span { background: #eef3ff; border-color: #0b3fc4; }
body.shop-light .sh-pref-actions .btn-ghost { background: #ffffff; color: #0b3fc4; border: 1.5px solid #c7d6fb; }
body.shop-light .sh-pref-opt input:checked + span::after { color: #ffffff; }
/* payment links shown in the shop */
.store-links { margin-top: 26px; }
.store-links h2 { font-size: 22px; margin: 0 0 14px; }
.link-card .product-img { background: linear-gradient(135deg, #eef3ff, #e3ecff); color: #0b3fc4; }
.link-card .product-img svg { width: 42px; height: 42px; }
.link-card .btn-sm { gap: 6px; }
/* phones: a smaller page header and WhatsApp button on the shopping pages */
@media (max-width: 640px) {
  body.shop-light .page-hero { padding: 18px 0 16px !important; min-height: 0 !important; }
  body.shop-light .page-hero .breadcrumbs { font-size: 12.5px; margin-bottom: 6px; }
  body.shop-light .page-hero .kicker { font-size: 11px; margin-bottom: 4px; }
  body.shop-light .page-hero h1 { font-size: 25px !important; line-height: 1.15; margin: 0 0 6px; }
  body.shop-light .page-hero .lead { font-size: 14px !important; line-height: 1.5; margin: 0; }
  body.shop-light .wa-float { width: 46px !important; height: 46px !important; right: 12px; bottom: 14px; padding: 0 !important; justify-content: center; }
  body.shop-light .wa-float img { width: 24px !important; height: 24px !important; }
}

/* phones: a compact footer that fits in about one screen */
@media (max-width: 640px) {
  .ftx { margin-top: 18px; padding-bottom: 14px; }
  .ftx-top { padding: 18px 0 14px !important; gap: 12px !important; }
  .ftx-brand .brand-logo { height: 38px !important; }
  .ftx-brand p { display: none; }
  .ftx-badges { flex-wrap: nowrap; gap: 6px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
  .ftx-badges::-webkit-scrollbar { display: none; }
  .ftx-badges span { flex: none; padding: 4px 9px; font-size: 11px; gap: 4px; }
  .ftx-badges svg { width: 12px; height: 12px; }
  .ftx-news { padding: 14px !important; gap: 8px !important; border-radius: 16px; flex-direction: row !important; align-items: center; flex-wrap: wrap; }
  .ftx-news-ic { display: none; }
  .ftx-news h3 { font-size: 15.5px; }
  .ftx-news p { font-size: 12.5px; margin-bottom: 8px; line-height: 1.4; }
  .ftx-form { flex-direction: row !important; gap: 6px; }
  body.site-white .ftx #nl-email, .ftx #nl-email { height: 40px; font-size: 14px; }
  .ftx-form .btn { width: auto !important; height: 40px; padding: 0 14px; font-size: 14px; }
  .ftx-news-btns { gap: 6px; }
  .ftx-news-btns .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  body.site-white .footer-grid.ftx-grid, .footer-grid.ftx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 6px !important; padding: 12px 0 !important; }
  .ftx-grid details summary { padding: 9px 8px !important; font-size: 12.5px !important; }
  .ftx-grid details[open] { grid-column: 1 / -1; }
  .ftx-contact { grid-column: 1 / -1 !important; margin-top: 6px; }
  .ftx-contact h3 { margin-bottom: 8px !important; font-size: 11.5px !important; }
  .ftx-contact ul { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px 10px !important; }
  .ftx-contact li { font-size: 12.5px; gap: 7px; }
  .ftx-contact li a, .ftx-contact li > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; overflow-wrap: normal; }
  .ftx-ci { width: 26px; height: 26px; border-radius: 8px; }
  .ftx-ci svg, .ftx-ci.wa img { width: 13px; height: 13px; }
  .ftx-pay { padding: 10px 0 !important; gap: 8px !important; justify-content: center; }
  .ftx-pay-l { font-size: 10.5px; }
  .ftx-pay-logos { gap: 5px; justify-content: center; flex-wrap: nowrap; }
  .ftx-pl { width: 44px; height: 30px; padding: 3px 5px; border-radius: 8px; }
  .ftx-pl img { height: 20px; }
  .footer-bottom.ftx-bottom { padding-top: 10px !important; gap: 8px; font-size: 12px; justify-content: center; text-align: center; }
  .ftx-bottom > span:first-child { margin-right: 0; flex-basis: 100%; }
  .ftx-legal { gap: 12px; font-size: 12px; }
  .ftx-up { padding: 5px 10px; font-size: 11.5px; }
}
@media (max-width: 640px) {
  .ftx-badges span:nth-child(3) { display: none; }
  .ftx-contact ul { grid-template-columns: minmax(0, 1fr) !important; gap: 6px !important; }
  .ftx-contact li, .ftx-contact li a, .ftx-contact li > span:last-child { font-size: 13px !important; white-space: normal; overflow: visible; }
  .ftx-pay { margin: 0 !important; }
  .footer-bottom.ftx-bottom, body.site-white .footer-bottom.ftx-bottom { margin-top: 0 !important; }
}
.req-star { color: #dc2626; font-weight: 800; }
.lk-photo { display: block; width: 100%; max-height: 220px; object-fit: cover; border-radius: 12px; border: 1px solid #e3e9f3; margin-bottom: 12px; }
.link-card .product-img img { width: 100%; height: 100%; object-fit: cover; }
.co-photo { display: block; width: 100%; max-height: 240px; object-fit: cover; border-radius: 14px; margin: 14px 0 4px; border: 1px solid #e3e9f3; }
/* Shops: products first on phones and tablets, categories after */
@media (max-width: 900px) { .sh-layout > .sh-main { order: -1; } }
/* product cards: the shop link is always visible, as a small line under the price */
.sh-visit { border-top: 1px dashed #e3e9f3; padding-top: 7px; }
.sh-visit em { display: inline-flex !important; padding: 2px 8px; font-size: 11.5px; }
body.shop-light .sh-visit:hover em { background: #0b3fc4; color: #ffffff; }
@media (max-width: 640px) { .sh-visit { gap: 4px; } .sh-visit-name { font-size: 11.5px; } }
body.shop-light .sh-ask { background: #0b3fc4; color: #ffffff; box-shadow: 0 6px 14px -8px rgba(11, 63, 196, .7); }

/* ==========================================================================
   Shops landing upgrade: photo banner, round categories, trust strip, promo tiles, numbers
   ========================================================================== */
.shx-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 28px; align-items: center; margin: 0 0 22px; padding: 30px 32px; border-radius: 24px;
  background: radial-gradient(520px 260px at 95% 0%, rgba(29, 140, 255, .16), transparent 70%), linear-gradient(135deg, #f3f7ff, #eef4ff 55%, #fff7ec); border: 1px solid #e3e9f3; overflow: hidden; }
.shx-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: #ffffff; border: 1px solid #dbe5f6; color: #0b3fc4; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.shx-kicker svg { width: 14px; height: 14px; }
.shx-hero h2 { margin: 14px 0 10px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.05; color: #0b2545; letter-spacing: -.02em; }
.shx-hero h2 span { color: #0b3fc4; }
.shx-hero p { margin: 0 0 18px; color: #4b5b78; font-size: 15.5px; line-height: 1.6; max-width: 460px; }
.shx-hero-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.shx-hero-cta .btn { gap: 7px; }
.shx-hero-proof { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 13px; color: #4b5b78; }
.shx-hero-proof b { color: #0b2545; }
.shx-dots { display: inline-flex; }
.shx-dots img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; border: 2px solid #ffffff; margin-left: -8px; background: #e8efff; }
.shx-dots img:first-child { margin-left: 0; }
.shx-hero-art { position: relative; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; height: 300px; }
.shx-tile { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 18px; background: #ffffff; border: 1px solid #e3e9f3; box-shadow: 0 18px 36px -24px rgba(11, 37, 69, .5); text-decoration: none !important; }
.shx-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shx-tile:hover img { transform: scale(1.05); }
.shx-tile span { position: absolute; left: 8px; bottom: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: #0b2545; font-size: 12px; font-weight: 800; }
.shx-tile.t1 { grid-row: span 2; }
.shx-tile-ic { color: #0b3fc4; background: linear-gradient(135deg, #e8efff, #ffffff); }
.shx-tile-ic svg { width: 40px; height: 40px; }
.shx-hero-art .t4 { display: none; }
.shx-badge { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; background: #0b3fc4; color: #ffffff; font-size: 12px; font-weight: 700; box-shadow: 0 10px 22px -12px rgba(11, 63, 196, .9); }
.shx-badge svg { width: 14px; height: 14px; }
.shx-cats { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; margin: 4px 0 8px; scrollbar-width: thin; }
.shx-cats a { flex: none; display: grid; justify-items: center; gap: 6px; width: 86px; text-decoration: none !important; }
.shx-cats a span { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #ffffff; border: 1px solid #e3e9f3; color: #0b3fc4; box-shadow: 0 10px 20px -16px rgba(11, 37, 69, .45); transition: transform .15s, background .15s; }
.shx-cats a span svg { width: 24px; height: 24px; }
.shx-cats a:hover span { background: #0b3fc4; color: #ffffff; transform: translateY(-2px); }
.shx-cats small { font-size: 12px; font-weight: 600; color: #0b2545; text-align: center; line-height: 1.2; }
.shx-trust { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin: 0 0 22px; padding: 0; }
.shx-trust li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #ffffff; border: 1px solid #e3e9f3; }
.shx-trust li > svg { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 10px; background: #e8efff; color: #0b3fc4; }
.shx-trust b { display: block; font-size: 13.5px; color: #0b2545; }
.shx-trust small { display: block; font-size: 12px; color: #5b6f8f; }
.shx-promos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 6px; }
.shx-promo { position: relative; display: grid; gap: 4px; min-height: 132px; padding: 16px 18px; border-radius: 18px; overflow: hidden; text-decoration: none !important; color: #ffffff; }
.shx-promo small { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; opacity: .9; }
.shx-promo b { font-size: 17px; line-height: 1.25; max-width: 75%; }
.shx-promo span { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; width: max-content; padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: #0b2545; font-size: 12.5px; font-weight: 700; }
.shx-promo span svg { width: 13px; height: 13px; }
.shx-promo i { position: absolute; right: -10px; bottom: -14px; opacity: .22; }
.shx-promo i svg { width: 96px; height: 96px; }
.shx-promo.p1 { background: linear-gradient(135deg, #0b3fc4, #1d8cff); }
.shx-promo.p2 { background: linear-gradient(135deg, #0f9f6e, #22c55e); }
.shx-promo.p3 { background: linear-gradient(135deg, #ea580c, #f59e0b); }
.shx-promo:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -22px rgba(11, 37, 69, .7); }
.shx-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 24px 0 14px; padding: 16px; border-radius: 18px; background: #ffffff; border: 1px solid #e3e9f3; text-align: center; }
.shx-stats b { display: block; font-size: 24px; color: #0b3fc4; }
.shx-stats b svg { width: 26px; height: 26px; }
.shx-stats span { font-size: 12.5px; color: #5b6f8f; }
@media (max-width: 900px) {
  .shx-hero { grid-template-columns: 1fr; padding: 22px 18px; gap: 18px; }
  .shx-hero-art { height: 220px; }
  .shx-promos { grid-template-columns: 1fr 1fr; }
  .shx-promos .p3 { grid-column: 1 / -1; min-height: 100px; }
}
@media (max-width: 640px) {
  .shx-hero { margin-bottom: 16px; border-radius: 18px; }
  .shx-hero h2 { font-size: 30px; margin: 10px 0 8px; }
  .shx-hero p { font-size: 14px; margin-bottom: 14px; }
  .shx-hero-cta .btn { flex: 1 1 0; justify-content: center; padding-left: 10px; padding-right: 10px; }
  .shx-hero-art { height: 190px; gap: 8px; }
  .shx-cats a { width: 70px; }
  .shx-cats a span { width: 52px; height: 52px; }
  .shx-cats small { font-size: 11px; }
  .shx-trust { grid-template-columns: 1fr 1fr; gap: 8px; }
  .shx-trust li { padding: 10px; gap: 8px; align-items: flex-start; }
  .shx-trust li > svg { width: 28px; height: 28px; padding: 6px; }
  .shx-trust b { font-size: 12.5px; }
  .shx-trust small { font-size: 11px; }
  .shx-promo { min-height: 112px; padding: 13px 14px; }
  .shx-promo b { font-size: 14.5px; max-width: 90%; }
  .shx-stats { grid-template-columns: 1fr 1fr; }
}
body.shop-light a.shx-promo { color: #ffffff !important; } body.shop-light a.shx-promo span { color: #0b2545 !important; } body.shop-light .shx-cats a, body.shop-light a.shx-tile { color: inherit; }
body.shop-light a.sh-ask { color: #ffffff !important; }

/* Shops: quick icons, top deal, popular shops, shopper reviews */
.shx-searchrow { display: flex; align-items: center; gap: 12px; }
.shx-searchrow .sh-search { flex: 1; min-width: 0; margin-bottom: 0; }
.shx-quick { display: flex; gap: 6px; flex: none; }
.shx-quick a { display: grid; justify-items: center; gap: 2px; min-width: 56px; padding: 6px 4px; border-radius: 12px; color: #0b2545 !important; text-decoration: none !important; }
.shx-quick a > svg, .shx-quick .shx-av { width: 22px; height: 22px; }
.shx-quick .shx-av { display: grid; place-items: center; border-radius: 50%; background: #e8efff; font-size: 13px; overflow: hidden; }
.shx-quick small { font-size: 11px; font-weight: 600; color: #5b6f8f; white-space: nowrap; max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
.shx-quick a:hover { background: #eef3ff; }
.shx-searchrow + * { margin-top: 14px; }
.shx-deal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: center; margin: 18px 0 4px; padding: 14px; border-radius: 20px; text-decoration: none !important;
  background: linear-gradient(135deg, #fff7ec, #ffffff 60%); border: 1px solid #fde3c0; color: #0b2545 !important; }
.shx-deal-img { position: relative; display: grid; place-items: center; height: 170px; border-radius: 14px; overflow: hidden; background: #ffffff; color: #f59e0b; }
.shx-deal-img img { width: 100%; height: 100%; object-fit: cover; }
.shx-deal-img svg { width: 48px; height: 48px; }
.shx-deal-img em { position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: 999px; background: #dc2626; color: #ffffff; font-style: normal; font-weight: 800; font-size: 13px; }
.shx-deal-body { display: grid; gap: 6px; justify-items: start; }
.shx-deal-body small { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #ea580c; }
.shx-deal-body small svg { width: 14px; height: 14px; }
.shx-deal-body b { font-size: 21px; line-height: 1.2; }
.shx-deal-price { font-size: 20px; font-weight: 800; color: #0b2545; }
.shx-deal-price s { font-size: 14px; font-weight: 600; color: #94a3b8; margin-left: 6px; }
.shx-deal-shop { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: #5b6f8f; }
.shx-deal-shop svg { width: 14px; height: 14px; }
.shx-deal .btn { margin-top: 4px; gap: 6px; }
.shx-brands { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: thin; }
.shx-brands a { flex: none; display: grid; justify-items: center; gap: 6px; width: 92px; text-decoration: none !important; }
.shx-brands a span { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 18px; overflow: hidden; background: #ffffff; border: 1px solid #e3e9f3; box-shadow: 0 10px 20px -16px rgba(11, 37, 69, .45); font-weight: 800; color: #0b3fc4; font-size: 24px; }
.shx-brands a span img { width: 100%; height: 100%; object-fit: cover; }
.shx-brands small { font-size: 12px; font-weight: 600; color: #0b2545; text-align: center; max-width: 92px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shx-brands a:hover span { border-color: #0b3fc4; transform: translateY(-2px); }
.shx-say { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-bottom: 8px; }
.shx-say figure { margin: 0; display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: #ffffff; border: 1px solid #e3e9f3; }
.shx-stars span { color: #d6dde9; font-size: 16px; }
.shx-stars span.on { color: #f59e0b; }
.shx-say blockquote { margin: 0; color: #334155; font-size: 14px; line-height: 1.55; }
.shx-say figcaption { display: flex; align-items: center; gap: 10px; }
.shx-say figcaption b { display: block; font-size: 13.5px; color: #0b2545; }
.shx-say figcaption small { font-size: 12px; color: #5b6f8f; }
@media (max-width: 640px) {
  .shx-searchrow { flex-direction: column; align-items: stretch; gap: 8px; }
  .shx-quick { justify-content: space-between; padding: 4px; border-radius: 14px; background: #ffffff; border: 1px solid #e3e9f3; }
  .shx-quick a { flex: 1; min-width: 0; }
  .shx-deal { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .shx-deal-img { height: 120px; }
  .shx-deal-body b { font-size: 16px; }
  .shx-deal-price { font-size: 16px; }
  .shx-brands a { width: 76px; }
  .shx-brands a span { width: 60px; height: 60px; border-radius: 16px; }
}
.shx-searchrow .sh-search { max-width: none; }

/* Product photos: every photo fills the same square tile, whatever size it was uploaded at (big phone photos are cropped to fit) */
.sh-product-img, .product-img { position: relative; aspect-ratio: 1 / 1; overflow: hidden; min-height: 0; background: #ffffff; }
.sh-product-img > img, .product-img:not(.pc-slides) > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pc-slides > img { height: 100%; min-width: 100%; display: block; }
body.shop-light .sh-product-img, body.checkout.shop-light .product-img, .link-card .product-img { background: #f5f6f8; }
.sh-products { grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 12px; }
.product-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.sh-product, .product-card { height: 100%; }
.sh-product-body { align-content: start; flex: 1; }
.sh-product-body b, .product-card .pc-body > b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
@media (max-width: 640px) {
  .sh-products, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* Product form: fields follow the chosen type (digital hides shipping-only fields) */
.pf-l-dig { display: none; }
@supports selector(:has(*)) {
  .pf-layout:not(:has(input[name=kind][value=physical]:checked)) .pf-phys { display: none; }
  .pf-layout:has(input[name=kind][value=digital]:checked) .pf-l-phys { display: none; }
  .pf-layout:has(input[name=kind][value=digital]:checked) .pf-l-dig { display: inline; }
}
.pf-digital-box { margin-top: 16px; padding: 14px; border-radius: 14px; background: #eef4ff; border: 1px solid #cfdcfb; }
.pf-digital-box .field { margin-bottom: 0; }
.pf-kind-note { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; font-size: 13.5px; color: #1e3a6b; line-height: 1.5; }
.pf-kind-note svg { flex: none; width: 18px; height: 18px; margin-top: 2px; color: #0b3fc4; }
body.app.dark .pf-digital-box { background: rgba(48, 127, 232, .12); border-color: rgba(48, 127, 232, .35); }
body.app.dark .pf-kind-note { color: #cfe0ff; }

/* Product form: photos kept after an error */
.pf-kept { display: flex; gap: 10px; align-items: center; margin-top: 10px; padding: 8px; border-radius: 12px; background: #ecfdf3; border: 1px solid #b7ebc9; }
.pf-kept img { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; }
.pf-kept b { display: block; font-size: 13.5px; color: #166534; }
.pf-kept small { font-size: 12px; color: #3f6b4f; }
.pf-kept-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; }
.pf-kept-row img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; }
.pf-kept-row small { font-size: 12px; color: #166534; font-weight: 600; }
body.app.dark .pf-kept { background: rgba(34, 197, 94, .12); border-color: rgba(34, 197, 94, .35); }
body.app.dark .pf-kept b, body.app.dark .pf-kept small, body.app.dark .pf-kept-row small { color: #9ef0bd; }

/* Shops: page header */
.shx-top { position: relative; overflow: hidden; padding: 34px 0 30px; background: linear-gradient(180deg, #f3f7ff 0%, #ffffff 100%); border-bottom: 1px solid #e8eef8; }
.shx-top::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(#e3ebf8 1px, transparent 1px), linear-gradient(90deg, #e3ebf8 1px, transparent 1px); background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 70% 0%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse 70% 90% at 70% 0%, #000 30%, transparent 75%); }
.shx-top-glow { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; }
.shx-top-glow.g1 { width: 340px; height: 340px; right: -60px; top: -170px; background: rgba(29, 140, 255, .22); }
.shx-top-glow.g2 { width: 260px; height: 260px; left: 30%; top: -180px; background: rgba(34, 211, 238, .18); }
.shx-top-in { position: relative; }
.shx-crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: #64748b; margin-bottom: 14px; }
.shx-crumbs a { color: #3c5576 !important; text-decoration: none !important; }
.shx-crumbs a:hover { color: #0b3fc4 !important; }
.shx-crumbs [aria-current] { color: #0b2545; font-weight: 600; }
.shx-top-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: center; }
.shx-top-kick { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #ffffff; border: 1px solid #dbe5f5;
  font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #0b3fc4; box-shadow: 0 6px 16px -12px rgba(11, 63, 196, .5); }
.shx-live { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); animation: shxPulse 2s infinite; }
@keyframes shxPulse { 0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); } 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
@media (prefers-reduced-motion: reduce) { .shx-live { animation: none; } }
.shx-top h1 { margin: 14px 0 10px; font: 800 clamp(28px, 4vw, 44px)/1.1 var(--font-display); letter-spacing: -.02em; color: #0b2545; }
.shx-grad { background: linear-gradient(90deg, #0b3fc4, #1d8cff 55%, #06b6d4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shx-top-copy p { margin: 0; max-width: 560px; color: #475569; font-size: 16px; line-height: 1.6; }
.shx-top-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.shx-top-chips li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .85); border: 1px solid #e3e9f3;
  box-shadow: 0 12px 26px -22px rgba(11, 37, 69, .55); backdrop-filter: blur(6px); }
.shx-top-chips .ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, #e8f0ff, #dff6fb); color: #0b3fc4; }
.shx-top-chips .ic svg { width: 20px; height: 20px; }
.shx-top-chips li:nth-child(2) .ic { background: linear-gradient(135deg, #e7f8ee, #dcfce7); color: #15803d; }
.shx-top-chips li:nth-child(3) .ic { background: linear-gradient(135deg, #fff4e5, #ffedd5); color: #c2410c; }
.shx-top-chips b { display: block; font-size: 14.5px; color: #0b2545; }
.shx-top-chips small { font-size: 12.5px; color: #64748b; }
.shx-top + .section { padding-top: 24px !important; }
@media (max-width: 900px) { .shx-top-row { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 640px) {
  .shx-top { padding: 16px 0 14px; }
  .shx-crumbs { margin-bottom: 10px; font-size: 12px; }
  .shx-top h1 { margin: 10px 0 6px; font-size: 25px; }
  .shx-top-copy p { font-size: 13.5px; line-height: 1.5; }
  .shx-top-kick { padding: 4px 10px; font-size: 10.5px; }
  .shx-top-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
  .shx-top-chips::-webkit-scrollbar { display: none; }
  .shx-top-chips li { flex: none; padding: 8px 10px; gap: 8px; border-radius: 12px; }
  .shx-top-chips .ic { width: 30px; height: 30px; border-radius: 9px; }
  .shx-top-chips .ic svg { width: 16px; height: 16px; }
  .shx-top-chips b { font-size: 12.5px; }
  .shx-top-chips small { font-size: 11px; }
  .shx-top + .section { padding-top: 14px !important; }
}
@media (min-width: 901px) { .shx-top-chips li { padding: 10px 14px; } .shx-top-chips .ic { width: 36px; height: 36px; } }

/* Shops: own top bar (logo, search, shopper shortcuts, category strip) */
body.site-white .site-header.shop-header { padding: 0; background: rgba(255, 255, 255, .96) !important; border-bottom: 1px solid #e6ecf5; box-shadow: 0 10px 28px -24px rgba(11, 37, 69, .5); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.shop-header .shn-row { display: flex; align-items: center; gap: 16px; height: 72px; }
.shop-header .shn-logo { flex: none; }
.shop-header .shn-logo img { height: 44px; width: auto; }
.shn-pill { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: linear-gradient(135deg, #0b3fc4, #1d8cff); color: #ffffff !important; font-weight: 700; font-size: 13.5px; text-decoration: none !important; box-shadow: 0 8px 18px -10px rgba(11, 63, 196, .7); }
.shn-pill svg { width: 16px; height: 16px; }
.shn-search { flex: 1; min-width: 0; display: flex; align-items: center; height: 46px; padding: 4px 4px 4px 14px; border-radius: 999px; background: #f3f6fb; border: 1.5px solid #e1e8f3; transition: border-color .2s, box-shadow .2s, background .2s; }
.shn-search:focus-within { background: #ffffff; border-color: #1d8cff; box-shadow: 0 0 0 4px rgba(29, 140, 255, .14); }
.shn-search-ic { display: grid; color: #64748b; }
.shn-search-ic svg { width: 18px; height: 18px; }
.shn-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; padding: 0 10px; font: inherit; font-size: 15px; color: #0b2545; }
.shn-search input::placeholder { color: #8a9ab3; }
.shn-go { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: #0b3fc4; color: #ffffff; font-weight: 700; font-size: 14px; cursor: pointer; }
.shn-go:hover { background: #0a35a6; }
.shn-go svg { width: 16px; height: 16px; display: none; }
.shn-icons { flex: none; display: flex; gap: 2px; }
.shn-icons a { position: relative; display: grid; justify-items: center; gap: 2px; min-width: 58px; padding: 6px 6px; border-radius: 12px; color: #0b2545 !important; text-decoration: none !important; }
.shn-icons a:hover { background: #eef3ff; }
.shn-icons a > svg, .shn-av { width: 22px; height: 22px; }
.shn-av { display: grid; place-items: center; border-radius: 50%; background: #e8efff; font-size: 13px; overflow: hidden; }
.shn-icons small { font-size: 11px; font-weight: 600; color: #5b6f8f; max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shn-end { flex: none; display: flex; align-items: center; gap: 8px; }
.shop-header .menu-toggle { color: #0b2545; border-color: #e1e8f3; background: #ffffff; }
.shn-cats { border-top: 1px solid #eef2f8; background: #ffffff; }
.shn-cats-in { display: flex; align-items: center; gap: 16px; height: 44px; }
.shn-cat-list { flex: 1; min-width: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.shn-cat-list::-webkit-scrollbar { display: none; }
.shn-cat-list a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: #3c5576 !important; text-decoration: none !important; white-space: nowrap; }
.shn-cat-list a svg { width: 15px; height: 15px; color: #8a9ab3; }
.shn-cat-list a:hover { background: #f1f5fb; color: #0b2545 !important; }
.shn-cat-list a.on { background: #e8efff; color: #0b3fc4 !important; }
.shn-cat-list a.on svg { color: #0b3fc4; }
.shn-cat-end { flex: none; display: flex; align-items: center; gap: 14px; font-size: 13.5px; font-weight: 600; }
.shn-cat-end a { display: inline-flex; align-items: center; gap: 6px; color: #3c5576 !important; text-decoration: none !important; }
.shn-cat-end a svg { width: 15px; height: 15px; }
.shn-cat-end .shn-sell { color: #ea580c !important; }
.shn-cat-end a:hover { color: #0b3fc4 !important; }
/* the page already has a search row with the same shortcuts: the top bar replaces it */
body.shop-light .shop-header ~ main .shx-searchrow { display: none; }
@media (max-width: 1080px) {
  .shn-icons small, .shn-pill span { display: none; }
  .shn-icons a { min-width: 44px; }
  .shn-cat-end { display: none; }
  .shop-header .mobile-panel { top: 116px; }
}
@media (max-width: 640px) {
  .shop-header .shn-row { flex-wrap: wrap; height: auto; gap: 8px 6px; padding-top: 8px; padding-bottom: 8px; }
  .shop-header .shn-logo img { height: 36px; }
  .shn-pill { display: none; }
  .shn-icons { margin-left: auto; }
  .shn-icons a { min-width: 38px; padding: 6px 4px; }
  .shn-icons a > svg, .shn-av { width: 21px; height: 21px; }
  .shn-search { order: 5; flex: 1 0 100%; height: 42px; }
  .shn-search input { font-size: 16px; }
  .shn-go { width: 34px; height: 34px; padding: 0; justify-content: center; }
  .shn-go span { display: none; }
  .shn-go svg { display: block; }
  .shop-header .menu-toggle { width: 40px; height: 40px; }
  .shn-cats-in { height: 40px; }
  .shn-cat-list a { padding: 5px 10px; font-size: 12.5px; }
  .shop-header .mobile-panel { top: 148px; }
}
.shn-cat-list { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); padding-right: 30px; }
@media (max-width: 1080px) { .shop-header .shn-end .lang-select { display: none !important; } }
@media (max-width: 640px) { .shop-header .shn-end { margin-left: 2px; } }

/* Verified tick beside the shop name on product cards (every listed shop is ID-checked; the official shop says so) */
.sh-visit-name { min-width: 0; display: inline-flex; align-items: center; gap: 4px; }
.sh-visit-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vtick { flex: none; display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; background: #1d8cff; color: #ffffff; box-shadow: 0 2px 6px -2px rgba(29, 140, 255, .7); }
.sh-visit .vtick svg, .vtick svg { width: 10px; height: 10px; stroke-width: 3.5; }
.vtick.official { background: linear-gradient(135deg, #0b3fc4, #06b6d4); }
.sh-visit .vtag, .vtag { flex: none; font-style: normal; font-size: 10.5px; font-weight: 800; letter-spacing: .02em; padding: 1px 6px; border-radius: 999px; background: #e8efff; color: #0b3fc4; }
.st-verified { display: inline-flex; align-items: center; gap: 7px; margin: 2px 0 10px; padding: 5px 12px 5px 6px; border-radius: 999px; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .28); color: #ffffff; font-size: 13px; font-weight: 600; }
.st-verified .vtick { width: 20px; height: 20px; background: #ffffff; color: #0b3fc4; }
.st-verified .vtick svg { width: 12px; height: 12px; }
.st-unverified { padding-left: 10px; background: rgba(245, 158, 11, .22); border-color: rgba(253, 224, 71, .5); }
.st-unverified svg { width: 15px; height: 15px; }
@media (max-width: 640px) { .st-verified { border-radius: 14px; font-size: 12px; } }

/* Product cards: "Official" tag at the start of the name (like a marketplace's own-brand label), tidy text sizes */
.sh-offtag { display: inline-flex; align-items: center; gap: 3px; margin-right: 6px; padding: 2px 7px 2px 5px; border-radius: 6px; vertical-align: 1px;
  background: linear-gradient(135deg, #0b3fc4, #1d8cff 60%, #06b6d4); color: #ffffff; font-size: 10.5px; font-weight: 800; letter-spacing: .03em; line-height: 1.35; text-transform: uppercase;
  box-shadow: 0 4px 10px -6px rgba(11, 63, 196, .8); }
.sh-offtag svg { width: 10px; height: 10px; stroke-width: 3.5; }
.sh-product-body b { font-size: 14px; line-height: 1.35; font-weight: 600; color: #0b2545; }
.sh-product-name { color: #0b2545 !important; }
.sh-price { font-size: 17px; }
.deal-was { font-size: 12.5px; }
.sh-approx { font-size: 11.5px; }
.sh-visit { margin-top: 8px; padding-top: 8px; font-size: 12px; }
.sh-visit-name { font-size: 12px; }
.sh-visit em { padding: 2px 8px; font-size: 11px; }
@media (max-width: 640px) {
  .sh-offtag { padding: 1px 5px 1px 4px; font-size: 9.5px; margin-right: 4px; }
  .sh-offtag svg { width: 9px; height: 9px; }
  .sh-product-body b { font-size: 13px; }
  .sh-price { font-size: 15px; }
  .deal-was { font-size: 11.5px; }
  .sh-visit-name { font-size: 11.5px; }
  .sh-visit .vtick { width: 13px; height: 13px; }
  .sh-visit .vtick svg { width: 8px; height: 8px; }
}

/* Store page cover photo chosen by the seller */
.store-hero.has-cover { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; }
.store-hero.has-cover h1, .store-hero.has-cover p, .store-hero.has-cover .store-rating { text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.sf-cover { display: grid; place-items: center; height: 150px; border-radius: 14px; overflow: hidden; border: 1.5px dashed #c9d6ea; background: #f5f8fd; color: #5b6f8f; font-size: 13.5px; text-align: center; padding: 0; cursor: pointer; margin-bottom: 8px; }
.sf-cover img { width: 100%; height: 100%; object-fit: cover; }
.sf-cover span { display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; }
.sf-cover svg { width: 18px; height: 18px; }
@media (max-width: 640px) { .store-hero.has-cover { min-height: 220px; } .sf-cover { height: 120px; } }

/* Cart: add button on product cards, cart icon with count, cart page */
.sh-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 8px; padding: 8px 10px; border: 0; border-radius: 10px; cursor: pointer;
  background: #0b3fc4; color: #ffffff !important; font: inherit; font-size: 13px; font-weight: 700; text-decoration: none !important; transition: background .2s, transform .15s; }
.sh-add svg { width: 15px; height: 15px; }
.sh-add:hover { background: #0a35a6; }
.sh-add:active { transform: scale(.97); }
.sh-add.done { background: #16a34a; }
.sh-add-alt { background: #e8efff; color: #0b3fc4 !important; }
.sh-add-alt:hover { background: #dbe6ff; }
.sh-add-off { background: #eef1f5; color: #94a3b8 !important; cursor: default; }
.shn-cart { position: relative; }
.shn-badge { position: absolute; top: 1px; left: calc(50% + 4px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: #e11d48; color: #ffffff;
  font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 18px; text-align: center; box-shadow: 0 0 0 2px #ffffff; }
.shn-badge[hidden] { display: none; }
.shn-cart.bump > svg { animation: shnBump .5s ease; }
@keyframes shnBump { 0% { transform: scale(1); } 40% { transform: scale(1.3) rotate(-8deg); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .shn-cart.bump > svg { animation: none; } }
.cart-page { padding-top: 26px !important; }
.cart-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.cart-head h1 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: clamp(24px, 3vw, 32px); color: #0b2545; }
.cart-head h1 svg { width: 28px; height: 28px; color: #0b3fc4; }
.cart-head p { margin: 0; }
.cart-shops { display: grid; gap: 16px; }
.cart-shop { background: #ffffff; border: 1px solid #e3e9f3; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 30px -26px rgba(11, 37, 69, .5); }
.cart-shop-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid #eef2f8; background: #f8faff; }
.cart-shop-name { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: #0b2545 !important; text-decoration: none !important; }
.cart-shop-name b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-shop-logo { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; overflow: hidden; background: #e8efff; color: #0b3fc4; font-weight: 800; }
.cart-shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #f0f3f8; }
.cart-line.off { opacity: .75; }
.cart-img { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: #f5f6f8; color: #94a3b8; }
.cart-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: grid; gap: 3px; min-width: 0; }
.cart-name { color: #0b2545 !important; font-weight: 600; font-size: 14.5px; text-decoration: none !important; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-info small { color: #64748b; font-size: 12.5px; }
.cart-warn { color: #b45309 !important; font-weight: 600; }
.cart-price { font-weight: 800; color: #0b2545; }
.cart-act { display: grid; justify-items: end; gap: 6px; }
.cart-remove { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: #64748b; font: inherit; font-size: 12.5px; cursor: pointer; padding: 2px 4px; }
.cart-remove svg { width: 14px; height: 14px; }
.cart-remove:hover { color: #e11d48; }
.cart-shop-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; }
.cart-shop-foot small { display: block; }
.cart-sub { font-size: 18px; color: #0b2545; }
.cart-safe { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: 13px; color: #475569; }
.cart-safe svg { width: 16px; height: 16px; color: #15803d; flex: none; }
@media (max-width: 640px) {
  .sh-add { padding: 7px 8px; font-size: 12px; }
  .shn-badge { min-width: 16px; height: 16px; line-height: 16px; font-size: 9.5px; left: calc(50% + 2px); }
  .cart-line { grid-template-columns: 60px minmax(0, 1fr); padding: 10px 12px; gap: 10px; }
  .cart-img { width: 60px; height: 60px; }
  .cart-act { grid-column: 2; display: flex; justify-content: space-between; align-items: center; }
  .cart-shop-foot .btn { flex: 1 1 100%; justify-content: center; }
}

/* Payment link page: "Already paid? Request a refund" */
.co-refund { margin-top: 18px; border: 1px solid #e3e9f3; border-radius: 14px; background: #f8faff; }
.co-refund summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; color: #0b2545; }
.co-refund summary::-webkit-details-marker { display: none; }
.co-refund summary svg { width: 16px; height: 16px; color: #0b3fc4; flex: none; }
.co-refund summary::after { content: "›"; margin-left: auto; font-size: 18px; color: #64748b; transition: transform .2s; }
.co-refund[open] summary::after { transform: rotate(90deg); }
.co-refund-form { padding: 0 14px 14px; display: grid; gap: 10px; }
.co-refund-form .hint { margin: 0; font-size: 13px; }
.co-refund-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.co-refund-grid .field { margin: 0; }
@media (max-width: 640px) { .co-refund-grid { grid-template-columns: 1fr; } }
/* Shops: category circles use the site's icon-tile colours (light blue fill, blue border, blue icon) */
.shx-cats a span { background: linear-gradient(145deg, #e6f0fb, #f4f8fd); border: 1px solid #cfe0f4; color: #0b5cad; box-shadow: 0 10px 20px -16px rgba(11, 92, 173, .45); }
.shx-cats a:hover span { background: linear-gradient(145deg, #0b5cad, #1d8cff); border-color: #0b5cad; color: #ffffff; }

/* Shops: category cards */
.shx-cats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; overflow: visible; padding: 4px 0 6px; margin: 6px 0 12px; }
.shx-cats a.shx-cat { position: relative; width: auto; display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: #ffffff; border: 1px solid #e3e9f3;
  box-shadow: 0 12px 24px -22px rgba(11, 37, 69, .55); overflow: hidden; transition: transform .18s, box-shadow .18s, border-color .18s; }
.shx-cats a.shx-cat::before { content: ""; position: absolute; right: -26px; top: -26px; width: 84px; height: 84px; border-radius: 50%; background: var(--cat-soft, #e6f0fb); opacity: .7; transition: transform .3s; }
.shx-cats a.shx-cat:hover { transform: translateY(-3px); border-color: var(--cat, #0b5cad); box-shadow: 0 18px 30px -20px rgba(11, 37, 69, .45); }
.shx-cats a.shx-cat:hover::before { transform: scale(1.25); }
.shx-cats .shx-cat-ic { position: relative; flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; border: 0;
  background: linear-gradient(145deg, var(--cat-soft, #e6f0fb), #ffffff); color: var(--cat, #0b5cad); box-shadow: inset 0 0 0 1px rgba(11, 37, 69, .06); }
.shx-cats .shx-cat-ic svg { width: 22px; height: 22px; }
.shx-cats a.shx-cat:hover .shx-cat-ic { background: var(--cat, #0b5cad); color: #ffffff; transform: none; }
.shx-cat-txt { position: relative; display: grid; gap: 1px; min-width: 0; }
.shx-cat-txt b { font-size: 14px; color: #0b2545; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shx-cat-txt small { font-size: 12px; font-weight: 600; color: #64748b; text-align: left; }
.shx-cat-go { position: relative; margin-left: auto; display: grid; color: #94a3b8; transition: transform .18s, color .18s; }
.shx-cat-go svg { width: 16px; height: 16px; }
.shx-cats a.shx-cat:hover .shx-cat-go { color: var(--cat, #0b5cad); transform: translateX(3px); }
.c-fashion { --cat: #db2777; --cat-soft: #fce7f3; } .c-electronics { --cat: #2563eb; --cat-soft: #dbeafe; } .c-food { --cat: #16a34a; --cat-soft: #dcfce7; }
.c-beauty { --cat: #c026d3; --cat-soft: #fae8ff; } .c-home { --cat: #ea580c; --cat-soft: #ffedd5; } .c-crafts { --cat: #b45309; --cat-soft: #fef3c7; }
.c-digital { --cat: #0891b2; --cat-soft: #cffafe; } .c-services { --cat: #4f46e5; --cat-soft: #e0e7ff; } .c-education { --cat: #0d9488; --cat-soft: #ccfbf1; } .c-other { --cat: #475569; --cat-soft: #e2e8f0; }
@media (max-width: 1080px) { .shx-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .shx-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .shx-cats a.shx-cat { width: auto; padding: 10px; gap: 9px; border-radius: 14px; }
  .shx-cats .shx-cat-ic { width: 38px; height: 38px; border-radius: 11px; }
  .shx-cats .shx-cat-ic svg { width: 19px; height: 19px; }
  .shx-cat-txt b { font-size: 13px; }
  .shx-cat-txt small { font-size: 11px; }
  .shx-cat-go { display: none; }
}
.shx-cats a.shx-cat > span.shx-cat-txt, .shx-cats a.shx-cat > span.shx-cat-go { width: auto; height: auto; border-radius: 0; background: none; border: 0; box-shadow: none; place-items: initial; color: inherit; }
.shx-cats a.shx-cat > span.shx-cat-go { color: #94a3b8; }
.shx-cats a.shx-cat:hover > span.shx-cat-txt, .shx-cats a.shx-cat:hover > span.shx-cat-go { background: none; transform: none; }
.shx-cats a.shx-cat:hover > span.shx-cat-go { color: var(--cat, #0b5cad); transform: translateX(3px); }
.shx-cats a.shx-cat > span.shx-cat-ic { border-radius: 14px; }
@media (max-width: 640px) { .shx-cats a.shx-cat > span.shx-cat-ic { width: 38px; height: 38px; border-radius: 11px; } .shx-cats a.shx-cat > span.shx-cat-go { display: none; } }

/* Shops: the top bar (search) stays reachable. overflow-x: hidden on html+body breaks position: sticky, clip does not */
html:has(body.shop-light), body.shop-light { overflow-x: clip; }
body.site-white .site-header.shop-header { position: sticky; top: 0; transition: transform .28s ease, box-shadow .2s; will-change: transform; }
body.site-white .site-header.shop-header.shn-hide { transform: translateY(-100%); box-shadow: none; }
@media (prefers-reduced-motion: reduce) { body.site-white .site-header.shop-header { transition: none; } }

/* Messaging the seller: always within reach */
.pc-msg { display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: #e8efff; color: #0b3fc4 !important; font-size: 12.5px; font-weight: 700; text-decoration: none !important; }
.pc-msg svg { width: 14px; height: 14px; }
.pc-msg:hover { background: #0b3fc4; color: #ffffff !important; }
.sh-buy-row { display: flex; gap: 6px; align-items: stretch; margin-top: 8px; }
.sh-buy-row .sh-add { margin-top: 0; flex: 1; min-width: 0; }
.sh-chat { flex: none; display: grid; place-items: center; width: 38px; border-radius: 10px; background: #e8efff; color: #0b3fc4 !important; text-decoration: none !important; }
.sh-chat svg { width: 17px; height: 17px; }
.sh-chat:hover { background: #0b3fc4; color: #ffffff !important; }
.cart-chat { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e8efff; color: #0b3fc4 !important; }
.cart-chat svg { width: 20px; height: 20px; }
.cart-chat:hover { background: #0b3fc4; color: #ffffff !important; }
@media (max-width: 640px) { .pc-msg span { display: none; } .pc-msg { padding: 7px; } .sh-chat { width: 34px; } .cart-chat { width: 40px; height: 40px; } }

/* Payment link page: pay-only-if-you-know warning */
.co-scam { display: flex; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: #fff8eb; border: 1px solid #fcd9a0; color: #7c4a03; }
.co-scam-ic { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #fde7c2; color: #b45309; }
.co-scam-ic svg { width: 18px; height: 18px; }
.co-scam b { display: block; font-size: 14.5px; color: #7c2d12; }
.co-scam p { margin: 3px 0 6px; font-size: 13px; line-height: 1.5; color: #7c4a03; }
.co-scam a { font-size: 12.5px; font-weight: 700; color: #b45309 !important; text-decoration: underline; }
@media (max-width: 640px) { .co-scam { padding: 10px 12px; gap: 10px; } .co-scam p { font-size: 12.5px; } }

/* Shops: marketplace footer */
footer.shf { margin-top: 40px; padding: 0; background: #0a1a3f; color: #c7d3ea; border-top: 0; }
.shf a { text-decoration: none !important; }
.shf-trust { background: linear-gradient(90deg, #0b3fc4, #0b5cad 55%, #1d8cff); }
.shf-trust-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding-top: 18px; padding-bottom: 18px; }
.shf-trust-in > * { display: flex; align-items: center; gap: 12px; color: #ffffff !important; }
.shf-ti { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); }
.shf-ti svg { width: 20px; height: 20px; }
.shf-trust b { display: block; font-size: 14.5px; color: #ffffff; }
.shf-trust small { font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.shf-main { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 40px; padding-top: 40px; padding-bottom: 28px; }
.shf-brand img { height: 46px; width: auto; }
.shf-brand p { margin: 14px 0 18px; max-width: 360px; font-size: 14px; line-height: 1.6; color: #a9b8d6; }
.shf-cta { display: flex; flex-wrap: wrap; gap: 8px; }
.shf-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 11px; font-size: 13.5px; font-weight: 700; color: #ffffff !important;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background .2s, transform .15s; }
.shf-btn svg { width: 16px; height: 16px; }
.shf-btn:hover { background: rgba(255, 255, 255, .16); transform: translateY(-1px); }
.shf-btn-sell { background: linear-gradient(135deg, #f97316, #ea580c); border-color: transparent; box-shadow: 0 10px 20px -12px rgba(234, 88, 12, .9); }
.shf-btn-sell:hover { background: linear-gradient(135deg, #fb923c, #f97316); }
.shf-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.shf-col h3 { margin: 0 0 12px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffffff; }
.shf-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.shf-col a { font-size: 14px; color: #a9b8d6 !important; transition: color .15s; word-break: break-word; }
.shf-col a:hover { color: #ffffff !important; }
.shf-pay { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .08); }
.shf-pay > span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8ea2c8; }
.shf-pay-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.shf .ftx-pl { border-color: transparent; box-shadow: none; }
.shf-bottom { background: #071330; }
.shf-bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; font-size: 13px; color: #8ea2c8; }
.shf-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.shf-legal a { color: #a9b8d6 !important; }
.shf-legal a:hover { color: #ffffff !important; }
.shf-up { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #ffffff !important; font-weight: 700; font-size: 12.5px; }
.shf-up svg { width: 14px; height: 14px; transform: rotate(-90deg); }
@media (max-width: 1080px) {
  .shf-trust-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shf-main { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  footer.shf { margin-top: 24px; }
  .shf-trust-in { gap: 10px 8px; padding-top: 14px; padding-bottom: 14px; }
  .shf-trust-in > * { gap: 8px; align-items: flex-start; }
  .shf-ti { width: 34px; height: 34px; border-radius: 10px; }
  .shf-ti svg { width: 17px; height: 17px; }
  .shf-trust b { font-size: 12.5px; }
  .shf-trust small { font-size: 11px; }
  .shf-main { padding-top: 26px; padding-bottom: 18px; gap: 22px; }
  .shf-brand img { height: 38px; }
  .shf-brand p { font-size: 13px; margin: 10px 0 14px; }
  .shf-btn { flex: 1 1 auto; justify-content: center; padding: 9px 10px; font-size: 13px; }
  .shf-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .shf-col h3 { font-size: 11.5px; margin-bottom: 8px; }
  .shf-col ul { gap: 7px; }
  .shf-col a { font-size: 13px; }
  .shf-pay { gap: 10px; padding-top: 14px; padding-bottom: 16px; }
  .shf .ftx-pl { width: 52px; height: 32px; padding: 4px 6px; }
  .shf .ftx-pl img { height: 22px; }
  .shf-bottom-in { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 12px; }
  .shf-legal { gap: 12px; }
}
body.site-white footer.site-footer.shf, footer.site-footer.shf { background: #0a1a3f !important; border-top: 0; color: #c7d3ea; }
body.site-white footer.shf p, body.site-white footer.shf .shf-brand p { color: #a9b8d6; }
body.site-white footer.shf .shf-col a { color: #a9b8d6 !important; }
body.site-white footer.shf .shf-col a:hover, body.site-white footer.shf .shf-legal a:hover { color: #ffffff !important; }
body.site-white footer.shf .shf-col h3 { color: #ffffff; }
body.site-white footer.shf .shf-btn { color: #ffffff !important; }
.shf-main { align-items: start; }

/* Product page */
.pc-name { color: inherit !important; text-decoration: none !important; }
.pc-name:hover b { color: #0b3fc4; }
.pdp { padding-top: 20px !important; }
.pdp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; color: #64748b; }
.pdp-crumbs a { color: #3c5576 !important; text-decoration: none !important; }
.pdp-crumbs [aria-current] { color: #0b2545; font-weight: 600; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 34px; align-items: start; }
.pdp-gallery { position: sticky; top: 130px; }
.pdp-main { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 1 / 1; border-radius: 20px; background: #f5f6f8; border: 1px solid #e6ecf5; }
.pdp-main::-webkit-scrollbar { display: none; }
.pdp-main img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; }
.pdp-noimg { display: grid; place-items: center; width: 100%; color: #94a3b8; }
.pdp-noimg svg { width: 64px; height: 64px; }
.pdp-main .deal-flag { position: absolute; left: 14px; top: 14px; bottom: auto; }
.pdp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.pdp-thumbs button { flex: none; width: 66px; height: 66px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: #f5f6f8; cursor: pointer; opacity: .7; }
.pdp-thumbs button.on { border-color: #0b3fc4; opacity: 1; }
.pdp-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { margin: 0 0 8px; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.25; color: #0b2545; }
.pdp-info h1 .sh-offtag { font-size: 12px; vertical-align: 4px; }
.pdp-seller { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #3c5576 !important; text-decoration: none !important; }
.pdp-seller > svg { width: 16px; height: 16px; }
.pdp-seller small { color: #b45309; font-weight: 700; margin-left: 6px; }
.pdp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 16px 0 2px; }
.pdp-price b { font-size: 30px; color: #0b2545; }
.pdp-price s { font-size: 16px; color: #94a3b8; }
.pdp-price em { font-style: normal; font-weight: 800; font-size: 13px; padding: 3px 8px; border-radius: 8px; background: #e0294f; color: #ffffff; }
.pdp-approx { margin: 0; font-size: 13px; color: #64748b; }
.pdp-meta { display: flex; gap: 12px; margin: 8px 0 0; font-size: 13px; font-weight: 600; color: #475569; }
.pdp-out { color: #b91c1c; }
.pdp-opts { margin: 18px 0 0; padding: 0; border: 0; }
.pdp-opts legend { font-size: 14px; font-weight: 700; color: #0b2545; margin-bottom: 8px; }
.pdp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-opts label { cursor: pointer; }
.pdp-opts input { position: absolute; opacity: 0; pointer-events: none; }
.pdp-opts span { display: inline-block; padding: 8px 14px; border-radius: 10px; border: 1.5px solid #d6e0ee; background: #ffffff; font-size: 14px; font-weight: 600; color: #0b2545; }
.pdp-opts input:checked + span { border-color: #0b3fc4; background: #e8efff; color: #0b3fc4; }
.pdp-opts input:focus-visible + span { outline: 2px solid #1d8cff; outline-offset: 2px; }
.pdp-opts label.off span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.pdp-buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 20px; }
.pdp-buy .qty input { width: 52px; }
.pdp-add, .pdp-now { flex: 1 1 160px; justify-content: center; height: 48px; font-size: 15px; }
.pdp-add.done { background: #16a34a; }
.pdp-now { background: linear-gradient(135deg, #f97316, #ea580c); color: #ffffff; border: 0; box-shadow: 0 10px 20px -12px rgba(234, 88, 12, .9); }
.pdp-now:hover { background: linear-gradient(135deg, #fb923c, #f97316); color: #ffffff; }
.pdp-add[disabled], .pdp-now[disabled] { opacity: .55; cursor: not-allowed; }
.pdp-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.pdp-act { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 10px; border: 1px solid #e1e8f3; background: #ffffff; color: #0b2545 !important; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; text-decoration: none !important; }
.pdp-act svg { width: 16px; height: 16px; color: #0b3fc4; }
.pdp-act.on svg { color: #e11d48; fill: #e11d48; }
.pdp-act:hover { border-color: #0b3fc4; }
.pdp-facts { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 2px; border: 1px solid #e6ecf5; border-radius: 16px; overflow: hidden; }
.pdp-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; background: #ffffff; }
.pdp-facts li + li { border-top: 1px solid #eef2f8; }
.pdp-facts svg { flex: none; width: 20px; height: 20px; color: #0b5cad; margin-top: 2px; }
.pdp-facts b { display: block; font-size: 14px; color: #0b2545; }
.pdp-facts small { font-size: 12.5px; color: #64748b; }
.pdp-desc { margin-top: 30px; padding: 20px 22px; border-radius: 18px; background: #ffffff; border: 1px solid #e6ecf5; }
.pdp-desc h2 { margin: 0 0 10px; font-size: 19px; color: #0b2545; }
.pdp-desc div { white-space: pre-line; color: #334155; font-size: 15px; line-height: 1.7; }
.pdp-shop { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; }
.pdp-shop-card { flex: 1 1 420px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; background: #ffffff; border: 1px solid #e6ecf5; color: #0b2545 !important; text-decoration: none !important; }
.pdp-shop-logo { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: #e8efff; color: #0b3fc4; font-weight: 800; font-size: 20px; }
.pdp-shop-logo img { width: 100%; height: 100%; object-fit: cover; }
.pdp-shop-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pdp-shop-txt b { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pdp-shop-txt small { color: #64748b; font-size: 12.5px; }
.pdp-report { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #64748b !important; }
.pdp-report svg { width: 14px; height: 14px; }
.pdp-more { margin-top: 30px; }
@media (max-width: 900px) {
  .pdp-grid { grid-template-columns: 1fr; gap: 18px; }
  .pdp-gallery { position: static; }
}
@media (max-width: 640px) {
  .pdp { padding-top: 12px !important; }
  .pdp-main { border-radius: 16px; margin: 0 -4px; }
  .pdp-thumbs button { width: 54px; height: 54px; }
  .pdp-price b { font-size: 25px; }
  .pdp-buy .qty { flex: 1 1 100%; justify-content: center; }
  .pdp-add, .pdp-now { flex: 1 1 45%; height: 46px; font-size: 14px; }
  .pdp-act { flex: 1 1 auto; justify-content: center; font-size: 13px; }
  .pdp-desc { padding: 16px; }
  .pdp-desc div { font-size: 14px; }
}
/* Shops top bar: SW / EN switch for phones (computers use the globe menu) */
.shn-lang { display: none; margin: 0; }
.shn-lang button { height: 34px; min-width: 40px; padding: 0 10px; border-radius: 999px; border: 1.5px solid #d6e0ee; background: #ffffff; color: #0b3fc4; font: inherit; font-size: 12.5px; font-weight: 800; cursor: pointer; }
.shn-lang button:hover { border-color: #0b3fc4; }
@media (max-width: 1080px) { .shn-lang { display: block; } }
@media (max-width: 640px) { .shn-lang button { height: 32px; min-width: 36px; padding: 0 8px; } }
@media (max-width: 640px) { .shn-icons .shn-orders { display: none; } .shn-icons a { min-width: 34px; } }

/* Product reviews */
.sh-prr { display: block; margin: 2px 0 1px; }
.sh-prr .stars { font-size: 12px; }
.pdp-rating { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: #475569 !important; font-size: 13px; text-decoration: none !important; }
.pdp-reviews { margin-top: 24px; padding: 20px 22px; border-radius: 18px; background: #ffffff; border: 1px solid #e6ecf5; }
.pdp-reviews h2 { margin: 0 0 14px; font-size: 19px; color: #0b2545; }
.pdp-rv-top { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 22px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid #eef2f8; }
.pdp-rv-score { display: grid; justify-items: start; gap: 4px; }
.pdp-rv-score b { font-size: 40px; line-height: 1; color: #0b2545; }
.pdp-rv-score small { color: #64748b; font-size: 12.5px; }
.pdp-rv-bars { display: grid; gap: 5px; }
.pdp-rv-bars div { display: grid; grid-template-columns: 34px minmax(0, 1fr) 28px; gap: 8px; align-items: center; font-size: 12.5px; color: #475569; }
.pdp-rv-bars i { height: 8px; border-radius: 999px; background: #eef2f8; overflow: hidden; }
.pdp-rv-bars em { display: block; height: 100%; border-radius: 999px; background: #f59e0b; }
.pdp-rv-bars small { text-align: right; }
.pdp-rv-list { list-style: none; margin: 0; padding: 0; }
.pdp-rv-list li { padding: 14px 0; border-bottom: 1px solid #f0f3f8; }
.pdp-rv-list li:last-child { border-bottom: 0; }
.pdp-rv-who { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13.5px; }
.pdp-rv-who small { color: #94a3b8; margin-left: auto; }
.pdp-rv-ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #15803d; }
.pdp-rv-ok svg { width: 13px; height: 13px; }
.pdp-rv-list p { margin: 6px 0 0; color: #334155; font-size: 14px; line-height: 1.6; white-space: pre-line; }
.pr-rate { margin-top: 12px; padding-top: 12px; border-top: 1px dashed #e3e9f3; }
.pr-rate h4 { margin: 0 0 8px; font-size: 14px; color: #0b2545; }
.pr-item { border: 1px solid #e6ecf5; border-radius: 12px; margin-bottom: 8px; background: #ffffff; }
.pr-item summary { display: flex; align-items: center; gap: 10px; padding: 8px 10px; cursor: pointer; list-style: none; }
.pr-item summary::-webkit-details-marker { display: none; }
.pr-img { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; overflow: hidden; background: #f5f6f8; color: #94a3b8; }
.pr-img img { width: 100%; height: 100%; object-fit: cover; }
.pr-img svg { width: 18px; height: 18px; }
.pr-name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: #0b2545; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-cta { flex: none; padding: 4px 10px; border-radius: 999px; background: #fff4e5; color: #b45309; font-size: 12px; font-weight: 700; }
.pr-item form { padding: 0 10px 10px; }
@media (max-width: 640px) {
  .pdp-reviews { padding: 16px; }
  .pdp-rv-top { grid-template-columns: 1fr; gap: 12px; }
  .pdp-rv-score { grid-auto-flow: column; align-items: center; justify-content: start; gap: 10px; }
  .pdp-rv-score b { font-size: 32px; }
}

/* Shops top bar: search suggestions */
.shn-search { position: relative; }
.shn-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 60; max-height: min(70vh, 520px); overflow-y: auto; padding: 6px; border-radius: 16px;
  background: #ffffff; border: 1px solid #e1e8f3; box-shadow: 0 24px 48px -20px rgba(11, 37, 69, .45); }
.shn-suggest[hidden] { display: none; }
.sg-h { padding: 8px 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #8a9ab3; }
.sg-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; color: #0b2545 !important; text-decoration: none !important; }
.sg-row:hover, .sg-row.on, .sg-all:hover, .sg-all.on { background: #eef3ff; }
.sg-pic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: #f5f6f8; font-size: 17px; color: #0b3fc4; font-weight: 800; }
.sg-pic img { width: 100%; height: 100%; object-fit: cover; }
.sg-txt { min-width: 0; display: grid; }
.sg-txt b { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-txt small { font-size: 12px; color: #64748b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-none { padding: 12px 10px; font-size: 13px; color: #64748b; }
.sg-all { display: block; margin-top: 4px; padding: 10px; border-top: 1px solid #eef2f8; border-radius: 0 0 10px 10px; font-size: 13.5px; font-weight: 700; color: #0b3fc4 !important; text-decoration: none !important; }
@media (max-width: 640px) { .shn-suggest { top: calc(100% + 6px); max-height: 60vh; } .sg-pic { width: 36px; height: 36px; } }

/* Shops: filter & sort box (always available) */
.sh-filters { margin: 0 0 16px; border: 1px solid #e3e9f3; border-radius: 16px; background: #ffffff; }
.sh-filters > summary { display: flex; align-items: center; gap: 8px; padding: 12px 16px; cursor: pointer; list-style: none; font-weight: 700; color: #0b2545; }
.sh-filters > summary::-webkit-details-marker { display: none; }
.sh-filters > summary svg { width: 18px; height: 18px; color: #0b3fc4; }
.sh-filters > summary em { font-style: normal; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #0b3fc4; color: #ffffff; font-size: 11.5px; font-weight: 800; display: inline-grid; place-items: center; }
.sh-filters > summary::after { content: "›"; margin-left: auto; font-size: 20px; color: #64748b; transition: transform .2s; }
.sh-filters[open] > summary::after { transform: rotate(90deg); }
.sh-pchips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 12px; }
.sh-pchips a { padding: 7px 12px; border-radius: 999px; border: 1px solid #d6e0ee; background: #f8faff; font-size: 13px; font-weight: 600; color: #0b2545 !important; text-decoration: none !important; }
.sh-pchips a:hover { border-color: #0b3fc4; }
.sh-pchips a.on { background: #0b3fc4; border-color: #0b3fc4; color: #ffffff !important; }
.sh-filters .sh-sort { margin: 0; padding: 12px 16px 16px; border-top: 1px solid #eef2f8; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; box-shadow: none; }
.sh-sort-go { display: flex; gap: 8px; align-items: end; }
@media (max-width: 640px) { .sh-filters > summary { padding: 11px 14px; } .sh-pchips { padding: 0 14px 10px; gap: 6px; } .sh-pchips a { font-size: 12px; padding: 6px 10px; } .sh-filters .sh-sort { padding: 10px 14px 14px; } }

/* Recently viewed: one sideways-scrolling row */
.sh-recent { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 200px); gap: 12px; overflow-x: auto; padding: 2px 2px 12px; margin-bottom: 24px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sh-recent > .sh-product { scroll-snap-align: start; }
.sh-recent-clear { border: 0; background: none; cursor: pointer; font: inherit; font-size: 13px; color: #64748b; text-decoration: underline; padding: 4px; }
.sh-recent-clear:hover { color: #e11d48; }
@media (max-width: 640px) { .sh-recent { grid-auto-columns: 46%; gap: 8px; margin: 0 -4px 18px; } }

/* Returns and replacements */
.rt-status { display: grid; gap: 4px; padding: 12px 14px; border-radius: 12px; background: #f8faff; border: 1px solid #e3e9f3; margin-bottom: 12px; }
.rt-status b { color: #0b2545; }
.rt-status span, .rt-status small { color: #475569; font-size: 13px; }
.rt-status p { margin: 4px 0 0; font-size: 13.5px; }
.rt-status form { margin-top: 6px; }
.rt-requested { border-color: #fcd9a0; background: #fff8eb; }
.rt-accepted { border-color: #b7ebc9; background: #ecfdf3; }
.rt-declined { border-color: #fecaca; background: #fef2f2; }
.rt-note { padding: 8px 10px; border-radius: 8px; background: #ffffff; }
.rt-card details summary { cursor: pointer; font-weight: 700; color: #0b3fc4; padding: 4px 0; }
.rt-form { display: grid; gap: 8px; margin-top: 10px; }
.rt-kinds, .rt-items { margin: 0; padding: 0; border: 0; display: grid; gap: 6px; }
.rt-kinds label, .rt-items label { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.rt-seller.rt-requested { border-color: #fcd9a0; }
.rt-msg { margin: 8px 0; padding: 10px 12px; border-left: 3px solid #0b3fc4; background: #f8faff; border-radius: 6px; }
.rt-photo { max-width: 220px; max-height: 220px; border-radius: 12px; object-fit: cover; border: 1px solid #e3e9f3; }

/* Event form */
.ev-kinds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@supports selector(:has(*)) {
  .ev-layout:has(input[name=location_kind][value=online]:checked) .ev-where-venue { display: none; }
  .ev-layout:not(:has(input[name=location_kind][value=online]:checked)) .ev-where-online { display: none; }
}
.ev-cur { margin: 0 0 12px; }
.ev-cur-field { margin-bottom: 14px; }
.ev-types { display: grid; gap: 8px; }
.ev-type { display: grid; grid-template-columns: 30px minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, .8fr); gap: 8px; align-items: start; padding: 8px; border-radius: 12px; border: 1px solid #eef2f8; background: #fbfcfe; }
.ev-type.is-set { border-color: #cfe0f4; background: #ffffff; box-shadow: 0 8px 18px -16px rgba(11, 37, 69, .45); }
.ev-type-head { border: 0; background: none; padding: 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #64748b; }
.ev-type-n { display: grid; place-items: center; width: 30px; height: 30px; margin-top: 6px; border-radius: 9px; background: #eef3ff; color: #0b3fc4; font-weight: 800; font-size: 13px; }
.ev-type.is-set .ev-type-n { background: #0b3fc4; color: #ffffff; }
.ev-type .input { width: 100%; }
.ev-prev { border-radius: 16px; overflow: hidden; border: 1px solid #e3e9f3; background: #ffffff; box-shadow: 0 16px 30px -24px rgba(11, 37, 69, .55); }
.ev-prev-img { aspect-ratio: 16 / 10; display: grid; place-items: center; background: linear-gradient(135deg, #0b3fc4, #1d8cff 60%, #06b6d4); color: #ffffff; overflow: hidden; }
.ev-prev-img img { width: 100%; height: 100%; object-fit: cover; }
.ev-prev-img svg { width: 44px; height: 44px; opacity: .9; }
.ev-prev-body { display: grid; gap: 6px; padding: 14px; }
.ev-prev-date { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: #e11d48; }
.ev-prev-body > b { font-size: 17px; line-height: 1.3; color: #0b2545; }
.ev-prev-where { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #475569; }
.ev-prev-where svg { width: 15px; height: 15px; }
.ev-prev-price { font-size: 13px; color: #64748b; }
.ev-prev-price b { font-size: 16px; color: #0b2545; }
.ev-prev-btn { justify-self: start; margin-top: 4px; pointer-events: none; }
@media (max-width: 640px) {
  .ev-kinds { grid-template-columns: 1fr 1fr; }
  .ev-type { grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr); }
  .ev-type > div:last-child { grid-column: 2 / -1; }
  .ev-type-head { display: none; }
  .ev-type-n { width: 26px; height: 26px; }
}
@media (max-width: 900px) { .ev-layout .pf-side { order: 2; } }
@media (max-width: 640px) {
  .ev-layout .ev-type { grid-template-columns: 26px minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto; }
  .ev-layout .ev-type > .ev-type-n { grid-row: 1 / span 2; grid-column: 1; }
  .ev-layout .ev-type > div:nth-of-type(1) { grid-column: 2 / -1; grid-row: 1; }
  .ev-layout .ev-type > div:nth-of-type(2) { grid-column: 2; grid-row: 2; }
  .ev-layout .ev-type > div:nth-of-type(3) { grid-column: 3; grid-row: 2; }
}
/* Shop as a buyer (dashboard) */
.buyer-card { max-width: 720px; }
.buyer-top { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.buyer-top b { display: block; font-size: 17px; }
.buyer-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #0b3fc4, #1d8cff); color: #ffffff; }
.buyer-ic svg { width: 24px; height: 24px; }
.buyer-list { margin: 8px 0 16px; }

/* Import from AliExpress */
.imp-money { gap: 10px; }
.imp-calc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #ecfdf3, #f0f9ff); border: 1px solid #b7ebc9; }
.imp-calc span { font-size: 13px; font-weight: 700; color: #15803d; }
.imp-calc b { font-size: 24px; color: #0b2545; }
.imp-calc small { flex-basis: 100%; font-size: 12.5px; color: #475569; }
.imp-list { list-style: none; margin: 0; padding: 0 8px 8px; max-height: 520px; overflow-y: auto; }
.imp-list a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; color: inherit; text-decoration: none; }
.imp-list a:hover { background: #f5f8ff; }
.imp-pic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; overflow: hidden; background: #f5f6f8; color: #94a3b8; }
.imp-pic img { width: 100%; height: 100%; object-fit: cover; }
.imp-pic svg { width: 18px; height: 18px; }
.imp-txt { min-width: 0; display: grid; }
.imp-txt b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.imp-txt small { font-size: 12px; color: #64748b; }
@media (max-width: 640px) { .imp-money { grid-template-columns: 1fr 1fr; } .imp-money > .field:first-child { grid-column: 1 / -1; } }
/* "Arrives in about N days" for products ordered from abroad */
.lead-tag { display: inline-flex; align-items: center; gap: 4px; margin-top: 3px; font-size: 11.5px; font-weight: 700; color: #b45309; }
.lead-tag svg { width: 12px; height: 12px; }

/* Product page: total for the chosen quantity */
.pdp-total { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; background: #eef4ff; border: 1px solid #cfdcfb; color: #0b2545; font-size: 14px; }
.pdp-total[hidden] { display: none; }
.pdp-total small { color: #475569; font-size: 13px; }
.pdp-total b { font-size: 20px; color: #0b3fc4; }

/* Shops: sellers not verified yet are listed but marked */
.sh-unverified { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #fff7ed; border: 1px solid #fed7aa; color: #9a3412; font-size: 11px; font-weight: 600; white-space: nowrap; }

/* Dashboard: ask sellers who are not verified yet to send their ID documents */
.verify-nudge { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: linear-gradient(90deg, #eff6ff, #f5f3ff); border: 1px solid #c7d2fe; color: #0b2545; }
.verify-nudge-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #2563eb; color: #fff; }
.verify-nudge-ic svg { width: 20px; height: 20px; }
.verify-nudge-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.verify-nudge-txt b { font-size: 14.5px; }
.verify-nudge-txt small { font-size: 13px; color: #475569; }
.verify-nudge .btn { flex: none; white-space: nowrap; }
.verify-nudge.is-review { background: #f8fafc; border-color: #e2e8f0; }
.verify-nudge.is-review .verify-nudge-ic { background: #64748b; }
.verify-nudge.is-msg { background: linear-gradient(90deg, #ecfdf5, #f0fdfa); border-color: #a7f3d0; }
.verify-nudge.is-msg .verify-nudge-ic { background: #059669; }
.verify-nudge.is-bad { background: #fef2f2; border-color: #fecaca; }
.verify-nudge.is-bad .verify-nudge-ic { background: #dc2626; }
@media (max-width: 560px) { .verify-nudge { flex-wrap: wrap; } .verify-nudge .btn { width: 100%; justify-content: center; } }
.dark .verify-nudge { background: #0f1a33; border-color: #27324d; color: #e2e8f0; }
.dark .verify-nudge-txt small { color: #94a3b8; }
/* Products: In Shops / Not in Shops */
a.od-stat-link { text-decoration: none; color: inherit; transition: box-shadow .15s, transform .15s; }
a.od-stat-link:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(15, 23, 42, .08); }
a.od-stat-link.is-on { outline: 2px solid #2563eb; outline-offset: -2px; }
.pr-shopbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 14px; padding: 12px 14px; border-radius: 14px; background: #eff6ff; border: 1px solid #c7d2fe; }
.pr-shopbar p { margin: 0; }
.pr-actions form.pr-toshop { margin-left: 0; }
.dark .pr-shopbar { background: #0f1a33; border-color: #27324d; }

/* cart: tick the items to pay for now */
.cart-line.has-pick { grid-template-columns: 24px 76px minmax(0, 1fr) auto; }
.cart-pick { display: flex; align-items: center; justify-content: center; align-self: center; cursor: pointer; }
.cart-pick input, .cart-pick-all input { width: 20px; height: 20px; accent-color: var(--brand, #2563eb); cursor: pointer; }
.cart-pick-all { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.cart-shop-foot button[disabled] { opacity: .5; cursor: not-allowed; }
@media (max-width: 640px) {
  .cart-line.has-pick { grid-template-columns: 22px 60px minmax(0, 1fr); }
  .cart-line.has-pick .cart-act { grid-column: 2 / -1; }
}
.cart-line-btns { display: flex; align-items: center; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.cart-buy-one { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border: 1px solid #c7d7fe; border-radius: 999px; background: #eef4ff; color: #1d4ed8; font: 600 12.5px/1 inherit; cursor: pointer; }
.cart-buy-one:hover { background: #dfe9ff; }
.cart-buy-one svg { width: 13px; height: 13px; }
.dark .cart-buy-one { background: #14213d; border-color: #2c3d66; color: #9db9ff; }

/* ---- Password reset: "Check your email" ---- */
.rs-box { margin: 14px 0 0; padding: 16px 18px; border-radius: 16px; text-align: center; border: 1px solid rgba(125, 150, 200, .28); background: rgba(240, 245, 255, .7); }
.rs-box p { margin: 0; font-size: 14.5px; line-height: 1.55; color: inherit; opacity: .85; }
.rs-box p + p { margin-top: 6px; }
.rs-box .rs-email { font-weight: 700; opacity: 1; overflow-wrap: anywhere; }
.rs-box .rs-small { font-size: 12.5px; opacity: .7; }
.rs-wait { margin-top: 16px; }
.rs-wait .rs-cap { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.rs-wait .rs-count { font-size: 30px; font-weight: 800; line-height: 1.2; color: #1d5fd6; opacity: 1; font-variant-numeric: tabular-nums; }
.rs-wait.ready .rs-count { font-size: 20px; color: #15803d; }
.rs-back a { display: inline-flex; align-items: center; gap: 6px; }
.rs-back svg { width: 16px; height: 16px; }
body.dark .rs-box { background: rgba(10, 30, 72, .45); border-color: var(--line); }
body.dark .rs-wait .rs-count { color: var(--cyan); }
.rs-linked { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: rgba(34, 197, 94, .1); color: #15803d; font-size: 14px; font-weight: 600; }
.rs-linked[hidden] { display: none; }
.rs-linked svg { width: 18px; height: 18px; flex: none; }
