/* ==========  SIPO CLOUD POS · styles  ========== */

:root {
  --bg: #FAF7F2;
  --bg-2: #F2EEE7;
  --ink: #0D0F14;
  --ink-2: #2A2D35;
  --muted: #6B6D76;
  --line: rgba(13, 15, 20, 0.10);
  --line-2: rgba(13, 15, 20, 0.06);
  --brand: #FF6B2B;
  --brand-2: #E85A1C;
  --mint: #D8EBD0;
  --mint-2: #BFDCB3;
  --paper: #FFFDF7;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 1px 2px rgba(13,15,20,0.04), 0 8px 24px rgba(13,15,20,0.06);
  --shadow-pop:  0 2px 4px rgba(13,15,20,0.05), 0 24px 48px rgba(13,15,20,0.10);
  --font-display: 'Bricolage Grotesque', ui-sans-serif, system-ui;
  --font-body:    'Bricolage Grotesque', ui-sans-serif, system-ui;
  --font-serif:   'Instrument Serif', Georgia, serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: 'ss01', 'ss02';
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
img { max-width: 100%; display: block; }
em { font-style: italic; font-family: var(--font-serif); font-weight: 400; }

/* ---------- layout ---------- */
section, header.hero, .foot {
  padding-left: clamp(20px, 5vw, 72px);
  padding-right: clamp(20px, 5vw, 72px);
}

.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.h-display em { color: var(--brand); font-size: 1.02em; letter-spacing: -0.01em; }

.h-section {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.h-section em { color: var(--brand); }

.sub { color: var(--muted); max-width: 620px; font-size: 18px; margin-top: 18px; }
.sub.light { color: rgba(255,255,255,0.72); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink-2);
  background: rgba(255,107,43,0.08);
  border: 1px solid rgba(255,107,43,0.22);
  padding: 7px 14px; border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow .dot { width: 7px; height: 7px; background: var(--brand); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,107,43,0.18); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.45; transform: scale(0.85);} }

.eyebrow-line {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 18px;
}
.eyebrow-line.light { color: rgba(255,255,255,0.75); }

.section-head { max-width: 860px; margin-bottom: 64px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: var(--font-display); font-weight: 500;
  font-size: 16px; line-height: 1;
  padding: 14px 22px; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-full { width: 100%; }

.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(250,247,242,0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-2);
}
.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-full { height: 34px; width: auto; display: block; }
.nav .logo-full { height: 30px; }
.nav-links { flex-shrink: 0; white-space: nowrap; }
.nav-links a { white-space: nowrap; }
.nav .btn { flex-shrink: 0; }
.foot .logo-full { height: 40px; }
.foot .logo { margin-bottom: 4px; }

.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-links a { font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--brand); }

/* ---------- HERO ---------- */
.hero {
  padding-top: 60px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -40%; right: -20%;
  width: 900px; height: 900px; border-radius: 50%;
  background: radial-gradient(circle, var(--mint) 0%, transparent 62%);
  z-index: 0; opacity: 0.8;
  pointer-events: none;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: 60px; padding-bottom: 60px;
  min-height: 78vh;
}
.hero-copy .lede { font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-2); max-width: 520px; margin: 28px 0 36px; line-height: 1.5; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.cta-row.center { justify-content: center; }

.hero-stats { margin-top: 54px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.hero-stats > div:not(.sep) { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--font-display); font-weight: 600; font-size: 36px; letter-spacing: -0.02em; }
.hero-stats span { font-size: 13px; color: var(--muted); }
.hero-stats .sep { width: 1px; height: 34px; background: var(--line); }

/* ─── hero animation stage ─── */
.hero-anim {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 600px;
  justify-self: end;
  width: 100%;
}
.anim-stage {
  position: relative;
  width: 100%; height: 100%;
}

.pos-frame {
  position: absolute;
  top: 6%; left: 0; width: 82%; height: 80%;
  background: #0F1117;
  border-radius: 22px;
  box-shadow: var(--shadow-pop), 0 0 0 1px rgba(13,15,20,0.08);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-6deg) rotateX(4deg);
  transform-origin: center;
  transition: transform 0.5s ease;
}
.pos-chrome {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 12px;
  padding: 10px 14px;
  background: #171A23;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #B8BCCA; font-size: 12px;
  font-family: var(--font-mono);
}
.chrome-dots { display: flex; gap: 6px; }
.chrome-dots span { width: 10px; height: 10px; border-radius: 50%; background: #3A3E4D; }
.chrome-dots span:first-child { background: #E26F4F; }
.chrome-dots span:nth-child(2) { background: #E7B24A; }
.chrome-dots span:last-child { background: #6DBF6A; }
.chrome-title { text-align: center; color: #E6E8F0; letter-spacing: 0.05em; }
.chrome-time { font-variant-numeric: tabular-nums; }

.pos-body { padding: 12px; height: calc(100% - 36px); display: flex; flex-direction: column; gap: 10px; }
.pos-menu {
  display: flex; gap: 6px;
}
.menu-tab {
  font-size: 11px; color: #8F94A6; padding: 6px 12px; border-radius: 6px;
  background: rgba(255,255,255,0.04);
  font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.05em;
}
.menu-tab.active { background: #2A2F45; color: #F0EEE8; }

.pos-grid {
  flex: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr);
  gap: 6px;
}
.pos-item {
  position: relative;
  background: var(--c); color: #fff;
  border-radius: 8px;
  font-size: 11px; font-weight: 600;
  padding: 6px 8px;
  text-align: left;
  overflow: hidden;
  box-shadow: inset 0 -24px 40px rgba(0,0,0,0.15);
  transition: transform 0.15s, box-shadow 0.15s;
}
.pos-item em { display: block; margin-top: 2px; font-style: normal; font-family: var(--font-mono); font-size: 9.5px; opacity: 0.9; font-weight: 500; }
.pos-item.tapped {
  animation: posTap 0.45s ease;
}
@keyframes posTap {
  0%   { transform: scale(1); box-shadow: inset 0 -24px 40px rgba(0,0,0,0.15); }
  40%  { transform: scale(0.94); box-shadow: inset 0 0 0 3px #fff, 0 0 0 3px var(--brand); }
  100% { transform: scale(1); box-shadow: inset 0 -24px 40px rgba(0,0,0,0.15); }
}

.pos-keys {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
}
.key {
  font-family: var(--font-mono);
  background: #1F2330;
  color: #D4D7E0;
  font-size: 10px; text-align: center;
  padding: 8px 4px; border-radius: 6px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.key.hot { background: #2A2F45; color: #FFB347; }
.key.pay {
  background: var(--brand); color: #fff; font-weight: 700; font-size: 11px;
  font-family: var(--font-display);
  grid-column: span 2;
  box-shadow: 0 6px 14px rgba(255,107,43,0.35);
  transition: transform 0.15s;
}

.ticket {
  position: absolute;
  bottom: 2%; right: 0;
  width: 48%;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-pop);
  padding: 14px 16px;
  transform: rotate(2deg) translateY(20px);
  opacity: 0; transition: all 0.5s cubic-bezier(.2,.9,.3,1.2);
}
.ticket.visible { opacity: 1; transform: rotate(2deg) translateY(0); }
.ticket-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--muted); padding-bottom: 10px; border-bottom: 1px dashed var(--line);
}
.live-dot { display: inline-flex; align-items: center; gap: 5px; color: var(--brand); font-weight: 700; }
.live-dot i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); animation: pulse 1.4s infinite; }
.ticket-lines { list-style: none; padding: 10px 0; margin: 0; min-height: 96px; }
.ticket-lines li {
  display: grid; grid-template-columns: auto 1fr auto; gap: 8px;
  font-size: 13px; padding: 4px 0;
  font-family: var(--font-mono);
  animation: lineIn 0.4s ease backwards;
}
.ticket-lines li b { color: var(--brand); font-weight: 700; }
.ticket-lines li span { color: var(--ink); }
.ticket-lines li em { color: var(--muted); font-family: var(--font-mono); font-style: normal; }
@keyframes lineIn {
  from { opacity: 0; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}
.ticket-foot {
  padding-top: 10px; border-top: 1px dashed var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.ticket-total { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.ticket-total b { color: var(--ink); font-size: 17px; font-weight: 700; margin-left: 6px; }
.ticket-status {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--brand); letter-spacing: 0.03em;
  transition: color 0.3s;
}
.ticket-status.sent { color: #4A9F55; }

/* tap ring */
.tap-ring {
  position: absolute;
  width: 40px; height: 40px; border-radius: 50%;
  border: 2px solid var(--brand);
  pointer-events: none; opacity: 0;
  transform: translate(-50%,-50%) scale(0.3);
  z-index: 10;
}
.tap-ring.on { animation: ring 0.7s ease-out; }
@keyframes ring {
  0%   { opacity: 0.9; transform: translate(-50%,-50%) scale(0.3); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(1.8); }
}

/* receipt flyout */
.receipt-flyout {
  position: absolute;
  top: 4%; right: 4%;
  width: 130px;
  background: var(--paper);
  padding: 10px 12px;
  font-family: var(--font-mono); font-size: 9.5px;
  color: var(--ink);
  border-radius: 3px;
  box-shadow: var(--shadow-pop);
  transform: translateY(-30px) rotate(-4deg); opacity: 0;
  transition: all 0.4s ease;
  z-index: 8;
}
.receipt-flyout.out {
  opacity: 1; transform: translateY(10px) rotate(-4deg);
}
.r-row { text-align: center; font-weight: 600; }
.r-row.small { font-weight: 400; font-size: 8.5px; color: var(--muted); margin-top: 2px; }
.r-line { border-top: 1px dashed var(--line); margin: 8px 0; }
.r-items { min-height: 44px; }
.r-items div { display: flex; justify-content: space-between; font-size: 9px; padding: 1px 0; }

/* ─── marquee ─── */
.marquee {
  margin-top: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
  background: var(--bg);
}
.marquee-inner {
  display: flex; gap: 42px; white-space: nowrap;
  animation: scroll 42s linear infinite;
  width: max-content;
}
.marquee-inner span {
  font-family: var(--font-display);
  font-weight: 500; font-size: 18px; color: var(--ink-2); opacity: 0.55;
  letter-spacing: -0.01em;
}
.marquee-inner i { color: var(--brand); font-style: normal; font-size: 10px; opacity: 0.6; align-self: center; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- PRODUCTS ---------- */
.products { padding-top: 120px; padding-bottom: 120px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.prod-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.prod-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.prod-card.big { grid-column: span 2; flex-direction: row; }
.prod-card.big .prod-media { flex: 1; aspect-ratio: auto; }
.prod-card.big .prod-body { flex: 1; padding: 40px; justify-content: center; }
.prod-media {
  background: var(--mint);
  aspect-ratio: 4/3;
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
}
.prod-media img {
  width: 92%; height: 92%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.prod-card:hover .prod-media img { transform: scale(1.04) rotate(-1deg); }

.prod-body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 10px; }
.prod-num {
  font-family: var(--font-mono); font-size: 11px; color: var(--brand);
  letter-spacing: 0.1em;
}
.prod-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 24px; letter-spacing: -0.02em; line-height: 1.1;
}
.prod-card p { color: var(--muted); font-size: 15px; line-height: 1.55; }

/* KDS mini inside product */
.kds-media { padding: 24px; background: #0F1117; aspect-ratio: 4/3; }
.kds-mini {
  width: 100%; height: 100%;
  background: #14171F; border-radius: 10px;
  padding: 14px; display: flex; flex-direction: column; gap: 10px;
  color: #E6E8F0;
}
.kds-mini-head {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  color: #FFB347;
}
.kds-mini-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; flex: 1;
}
.kds-ticket {
  background: #1D2130; border-radius: 6px; padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  font-size: 10px; font-family: var(--font-mono);
  position: relative;
}
.kds-ticket b { color: var(--brand); font-weight: 700; font-size: 13px; }
.kds-ticket span { color: #D4D7E0; }
.kds-ticket .t { position: absolute; top: 8px; right: 8px; color: #FFB347; font-size: 9px; font-style: normal;}
.kds-ticket.hot { background: #3A1F1A; }
.kds-ticket.hot .t { color: #FF6B6B; animation: pulse 1.2s infinite; }

/* Reports mini */
.reports-media { background: var(--bg-2); padding: 24px; aspect-ratio: 4/3; }
.chart-mini {
  width: 100%; height: 100%;
  background: #fff; border-radius: 10px;
  padding: 14px; position: relative;
  box-shadow: 0 1px 0 rgba(13,15,20,0.04);
}
.chart-mini svg { width: 100%; height: 72%; display: block; }
.chart-labels {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
  margin-top: 6px; font-family: var(--font-mono); font-size: 10px; color: var(--muted);
}
.chart-labels span { text-align: center; }
.chart-badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
}
.chart-badge b { color: var(--brand); font-size: 14px; font-family: var(--font-display); font-weight: 700; }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.chart-area { opacity: 0; transition: opacity 0.5s ease 0.8s; }
.prod-card.reports.revealed .chart-line { animation: draw 1.6s ease forwards; }
.prod-card.reports.revealed .chart-area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- HOW — STORIES ---------- */
.how { padding-top: 120px; padding-bottom: 120px; background: var(--bg-2); }
.story {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--line-2);
}
.story:last-child { border-bottom: 0; }
.story.reverse .story-copy { order: 2; }
.story.reverse .story-anim { order: 1; }

.story-kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 18px;
}
.story h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(28px, 3.5vw, 46px); line-height: 1.05; letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.story p { color: var(--ink-2); font-size: 17px; margin-bottom: 22px; max-width: 460px; }
.bullets { list-style: none; }
.bullets li {
  padding: 10px 0 10px 28px; position: relative;
  font-size: 15px; color: var(--ink-2);
  border-top: 1px solid var(--line-2);
}
.bullets li:last-child { border-bottom: 1px solid var(--line-2); }
.bullets li::before {
  content: ''; position: absolute; left: 4px; top: 50%; width: 12px; height: 12px;
  border: 1.5px solid var(--brand); border-top: 0; border-right: 0;
  transform: translateY(-70%) rotate(-45deg);
}

.story-anim {
  position: relative;
  aspect-ratio: 1.1 / 1;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  box-shadow: var(--shadow-soft);
}

/* ── Story 1: waiter floor ── */
.anim-pos { background: linear-gradient(180deg, var(--mint) 0%, #E9F3E3 100%); }
.floor {
  position: absolute; inset: 0;
}
.floor::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(13,15,20,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13,15,20,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}
.table {
  position: absolute;
  width: 76px; height: 76px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(13,15,20,0.08);
  display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
}
.table::after {
  content: ''; position: absolute; inset: 8px; border-radius: 50%;
  border: 1px dashed rgba(13,15,20,0.12);
}
.table.active { box-shadow: 0 0 0 4px rgba(255,107,43,0.25), 0 8px 20px rgba(255,107,43,0.15); }
.table.active .tbl-label { color: var(--brand); font-weight: 700; }
.t1 { top: 16%; left: 14%; }
.t2 { top: 48%; left: 44%; }
.t3 { bottom: 14%; right: 14%; }
.tbl-label { position: relative; z-index: 1; }

.walker {
  position: absolute; left: 10%; top: 64%;
  width: 40px; height: 80px;
  animation: walk 12s ease-in-out infinite;
}
.walker-body { position: relative; width: 100%; height: 100%; }
.walker .head { width: 18px; height: 18px; background: var(--ink); border-radius: 50%; margin: 0 auto; }
.walker .torso { width: 22px; height: 28px; background: var(--brand); border-radius: 6px 6px 10px 10px; margin: 2px auto 0; }
.walker .arm { position: absolute; width: 4px; height: 18px; background: var(--ink); border-radius: 2px; top: 22px; }
.walker .arm-l { left: 8px; transform-origin: top; animation: armSwing 0.6s ease-in-out infinite alternate; }
.walker .arm-r { right: 8px; transform-origin: top; animation: armSwing 0.6s ease-in-out infinite alternate-reverse; }
.walker .leg { position: absolute; width: 5px; height: 22px; background: var(--ink); border-radius: 2px; bottom: 4px; }
.walker .leg-l { left: 11px; transform-origin: top; animation: legSwing 0.6s ease-in-out infinite alternate-reverse; }
.walker .leg-r { right: 11px; transform-origin: top; animation: legSwing 0.6s ease-in-out infinite alternate; }
.walker .device {
  position: absolute; right: 0; top: 24px;
  width: 14px; height: 20px; background: #0F1117;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1.5px var(--brand);
}
.walker .device::after {
  content: ''; position: absolute; inset: 3px 2px;
  background: linear-gradient(180deg, var(--brand) 0 20%, #EFE5D0 20% 40%, #EFE5D0 40% 60%, #8F94A6 60% 80%);
  border-radius: 1px;
}
@keyframes armSwing {
  from { transform: rotate(-18deg); }
  to   { transform: rotate(18deg); }
}
@keyframes legSwing {
  from { transform: rotate(-22deg); }
  to   { transform: rotate(22deg); }
}
@keyframes walk {
  0%   { left: 10%; top: 64%; }
  20%  { left: 42%; top: 42%; }   /* at table T4 */
  35%  { left: 42%; top: 42%; }
  60%  { left: 12%; top: 62%; }   /* back */
  100% { left: 10%; top: 64%; }
}
.order-fly {
  position: absolute; top: 30%; left: 48%;
  background: var(--ink); color: #fff;
  font-family: var(--font-mono); font-size: 12px;
  padding: 8px 12px; border-radius: 8px;
  opacity: 0; transform: translateY(10px);
}
.order-fly.show { animation: flyOrder 2.2s ease forwards; }
@keyframes flyOrder {
  0%   { opacity: 0; transform: translateY(10px) scale(0.9); }
  20%  { opacity: 1; transform: translateY(0) scale(1); }
  60%  { opacity: 1; transform: translate(70%, -60%) scale(0.8); }
  100% { opacity: 0; transform: translate(100%, -100%) scale(0.4); }
}

/* ── Story 2: KDS ── */
.anim-kds { background: #0F1117; }
.kds-frame {
  position: absolute; left: 8%; top: 10%;
  width: 68%; height: 80%;
  background: #14171F;
  border-radius: 12px; padding: 16px;
  box-shadow: var(--shadow-pop);
  display: flex; flex-direction: column; gap: 12px;
  color: #E6E8F0;
}
.kds-frame-head {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: #FFB347;
}
.kds-frame-head .live-dot i { background: #FF6B6B; }
.kds-frame-head .live-dot { color: #FF6B6B; }
.kds-grid {
  flex: 1;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
  overflow: hidden;
}
.kds-card {
  background: #1D2130;
  border-radius: 8px; padding: 10px;
  font-family: var(--font-mono); font-size: 11px;
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
  transition: all 0.4s ease;
}
.kds-card.warm { background: #3A2B18; }
.kds-card.warm .tim { color: #FFB347; }
.kds-card.hot  { background: #3A1A1A; }
.kds-card.hot .tim  { color: #FF6B6B; animation: pulse 1s infinite; }
.kds-card.done { background: #1E3B26; opacity: 0.6; }
.kds-card.done::after {
  content: '✓'; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 32px; color: #6DBF6A; background: rgba(30,59,38,0.88); border-radius: 8px;
  animation: bump 0.4s ease;
}
@keyframes bump { from { transform: scale(0); } to { transform: scale(1); } }
.kds-card b { color: var(--brand); font-size: 14px; font-weight: 700; letter-spacing: 0.04em; }
.kds-card span { color: #D4D7E0; }
.kds-card .tim {
  position: absolute; top: 10px; right: 10px; font-style: normal; color: #8F94A6;
}
.kds-card.new {
  animation: kdsIn 0.45s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes kdsIn {
  from { opacity: 0; transform: translateY(-10px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Chef */
.chef {
  position: absolute; right: 4%; bottom: 14%;
  width: 80px; height: 92px;
}
.chef .hat {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 48px; height: 36px;
  background: #fff; border-radius: 24px 24px 6px 6px;
}
.chef .hat::before {
  content: ''; position: absolute; top: -8px; left: 6px;
  width: 14px; height: 14px; border-radius: 50%; background: #fff;
  box-shadow: 14px -2px 0 #fff, 6px 6px 0 #fff;
}
.chef .face {
  position: absolute; top: 28px; left: 50%; transform: translateX(-50%);
  width: 44px; height: 50px;
  background: #E8C6A3; border-radius: 50% 50% 40% 40%;
}
.chef .face::before, .chef .face::after {
  content: ''; position: absolute; top: 18px; width: 4px; height: 4px;
  background: var(--ink); border-radius: 50%;
}
.chef .face::before { left: 10px; animation: blink 4s infinite; }
.chef .face::after { right: 10px; animation: blink 4s infinite; }
.chef .mustache {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 22px; height: 6px; background: var(--ink); border-radius: 4px 4px 10px 10px;
}
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(0.1); } }

.ping {
  position: absolute; top: 4%; left: 4%;
  background: var(--brand); color: #fff;
  padding: 6px 12px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.1em;
  box-shadow: 0 0 0 4px rgba(255,107,43,0.25);
  opacity: 0;
}
.ping.on { animation: pingShow 1.4s ease; }
@keyframes pingShow {
  0% { opacity: 0; transform: scale(0.7); }
  15% { opacity: 1; transform: scale(1.05); }
  85% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1); }
}

/* ── Story 3: Online ordering ── */
.anim-online { background: linear-gradient(180deg, var(--mint) 0%, #F0F6EC 100%); overflow: hidden; }
.phone {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 220px; height: 420px;
  background: #0F1117;
  border-radius: 34px;
  padding: 10px;
  box-shadow: var(--shadow-pop), 0 0 0 2px rgba(13,15,20,0.05);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 16px; background: #000; border-radius: 12px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.p-header {
  background: #C73E2E; color: #fff;
  font-family: var(--font-mono); font-size: 9px;
  padding: 28px 12px 10px; text-align: center;
  letter-spacing: 0.05em;
}
.p-cats {
  display: flex; gap: 8px; padding: 8px 12px; border-bottom: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
}
.p-cats span { color: var(--muted); padding: 4px 0; }
.p-cats span.active { color: #258B3A; border-bottom: 2px solid #258B3A; }
.p-menu { list-style: none; flex: 1; overflow: hidden; padding: 8px; }
.p-menu li {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 8px;
  align-items: center;
  padding: 8px 4px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
  transition: background 0.3s;
}
.p-menu li.adding { background: rgba(255,107,43,0.1); }
.p-menu li.adding::after {
  content: '+1'; position: absolute; right: 38px; top: 50%; transform: translateY(-50%);
  background: var(--brand); color: #fff; font-family: var(--font-mono); font-size: 10px;
  padding: 2px 6px; border-radius: 10px;
  animation: plusOne 0.8s ease forwards;
}
@keyframes plusOne {
  0% { opacity: 0; transform: translate(0, -50%) scale(0.6); }
  30% { opacity: 1; transform: translate(0, -120%) scale(1); }
  100% { opacity: 0; transform: translate(0, -200%) scale(0.9); }
}
.p-img { width: 40px; height: 36px; background: var(--c); border-radius: 4px; position: relative; overflow: hidden; }
.p-img::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 40% 40%, rgba(255,255,255,0.2), transparent 60%); }
.p-menu li b { font-size: 11px; font-weight: 600; display: block; line-height: 1.2; }
.p-menu li span { font-size: 9px; color: var(--muted); display: block; line-height: 1.2; margin-top: 2px; }
.p-menu li i { font-family: var(--font-mono); font-style: normal; font-size: 11px; color: var(--ink); font-weight: 600; }
.p-cart {
  background: #258B3A; color: #fff;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  font-family: var(--font-mono); font-size: 12px;
}
.p-cart b { font-size: 14px; }

.coins { position: absolute; inset: 0; pointer-events: none; }
.coin {
  position: absolute; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFD37A, #E39A1C);
  box-shadow: inset -2px -2px 0 rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
  top: -30px;
  animation: fallCoin linear forwards;
  font-family: var(--font-display); font-weight: 800; color: #7C4A00;
  display: grid; place-items: center; font-size: 10px;
}
.coin::before { content: '$'; }
@keyframes fallCoin {
  0% { transform: translateY(-20px) rotate(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(var(--travel)) rotate(var(--spin)); opacity: 1; }
}

.save-badge {
  position: absolute; bottom: 20px; right: 20px;
  background: #fff; border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-pop);
  display: flex; flex-direction: column;
  font-family: var(--font-mono); font-size: 10px; color: var(--muted);
  letter-spacing: 0.04em;
}
.save-badge b { font-family: var(--font-display); font-size: 22px; color: var(--brand); font-weight: 700; line-height: 1; margin: 4px 0; }
.save-badge em { font-size: 10px; color: var(--muted); font-family: var(--font-mono); font-style: normal; }

/* ── Story 4: Kiosk ── */
.anim-kiosk { background: linear-gradient(180deg, var(--mint) 0%, #EFF6EA 100%); overflow: hidden; }
.kiosk {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-58%, -50%);
  width: 190px; height: 360px;
}
.kiosk-cam {
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 10px; background: #0F1117; border-radius: 4px;
}
.kiosk-cam::after {
  content: ''; position: absolute; top: 3px; right: 6px;
  width: 4px; height: 4px; border-radius: 50%; background: #3A9D48;
  box-shadow: 0 0 6px rgba(58,157,72,0.8);
}
.kiosk-screen {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 170px; height: 280px;
  background: #fff; border-radius: 12px;
  border: 6px solid #0F1117;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-pop);
}
.k-header {
  background: var(--brand); color: #fff;
  padding: 12px; text-align: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em;
}
.k-cats {
  display: flex; gap: 10px; padding: 6px 10px;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--font-display); font-size: 10px; font-weight: 600;
}
.k-cats span { color: var(--muted); padding: 3px 0; }
.k-cats span.active { color: var(--brand); border-bottom: 2px solid var(--brand); }
.k-grid {
  flex: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  padding: 8px;
}
.k-item {
  background: #F7F4EE; border-radius: 6px;
  padding: 6px; display: flex; flex-direction: column; gap: 2px;
  transition: all 0.25s;
  position: relative;
}
.k-item.picked {
  background: #fff;
  box-shadow: 0 0 0 2px var(--brand), 0 6px 14px rgba(255,107,43,0.25);
  transform: translateY(-2px);
}
.k-img { width: 100%; height: 30px; background: var(--c); border-radius: 3px; }
.k-item b { font-size: 9px; font-weight: 600; }
.k-item em { font-family: var(--font-mono); font-size: 8.5px; color: var(--brand); font-style: normal; font-weight: 600; }
.k-pay {
  background: var(--ink); color: #fff;
  padding: 10px; text-align: center;
  font-family: var(--font-display); font-size: 11px; font-weight: 700;
  letter-spacing: 0.05em;
}
.k-pay span { color: var(--brand); }

.kiosk-eftpos {
  position: absolute; right: -40px; top: 110px;
  width: 56px; height: 92px;
  background: #0F1117; border-radius: 8px;
  box-shadow: var(--shadow-pop);
}
.kiosk-eftpos::before {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 24px; background: #4A9F55; border-radius: 3px;
}
.kiosk-eftpos::after {
  content: ''; position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 36px;
  background:
    repeating-linear-gradient(0deg, #2A2F45 0 6px, transparent 6px 9px),
    repeating-linear-gradient(90deg, #2A2F45 0 6px, transparent 6px 9px);
  background-color: #1F2330;
  border-radius: 3px;
}

.finger {
  position: absolute; width: 80px; height: 80px;
  top: 50%; left: 50%;
  transform: translate(-42%, -10%);
  pointer-events: none;
  animation: fingerTap 6s infinite;
}
.fingertip {
  position: absolute; left: 14px; top: 0;
  width: 40px; height: 56px;
  background: #E8C6A3;
  border-radius: 20px 20px 16px 16px;
}
.fingertip::before {
  content: ''; position: absolute; top: 4px; left: 6px;
  width: 28px; height: 10px; background: #F5D9B4; border-radius: 14px;
}
.finger::after {
  content: ''; position: absolute; left: 34px; top: -8px;
  width: 24px; height: 24px; border-radius: 50%; border: 3px solid var(--brand);
  opacity: 0;
}
.finger.tapping::after {
  animation: fingerRing 0.8s ease;
}
@keyframes fingerRing {
  0% { opacity: 0.8; transform: scale(0.5); }
  100% { opacity: 0; transform: scale(1.8); }
}
@keyframes fingerTap {
  0% { transform: translate(-40%, 70%); }
  14% { transform: translate(-40%, -10%); }
  18% { transform: translate(-40%, 0); }
  28% { transform: translate(-40%, -10%); }
  42% { transform: translate(30%, 0); }
  46% { transform: translate(30%, -10%); }
  60% { transform: translate(-20%, -90%); }
  64% { transform: translate(-20%, -80%); }
  78% { transform: translate(-40%, 70%); }
  100% { transform: translate(-40%, 70%); }
}

.queue {
  position: absolute; left: 4%; bottom: 6%;
  display: flex; gap: 6px;
}
.face-chip {
  font-family: var(--font-mono); font-size: 12px; font-weight: 700;
  padding: 6px 10px; background: #fff; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(13,15,20,0.08);
  color: var(--ink);
  animation: bob 3s ease-in-out infinite;
}
.face-chip:nth-child(2) { animation-delay: 0.4s; }
.face-chip:nth-child(3) { animation-delay: 0.8s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

/* ---------- WHY ---------- */
.why { padding-top: 120px; padding-bottom: 120px; }
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.why-item { background: var(--bg); padding: 32px; transition: background 0.2s; }
.why-item:hover { background: #fff; }
.why-item .n {
  font-family: var(--font-mono); font-size: 12px; color: var(--brand);
  letter-spacing: 0.1em; margin-bottom: 14px;
}
.why-item h4 {
  font-family: var(--font-display); font-size: 21px; font-weight: 600;
  letter-spacing: -0.01em; margin-bottom: 10px;
}
.why-item p { color: var(--muted); font-size: 15px; }

/* ---------- PRICING ---------- */
.pricing { padding-top: 120px; padding-bottom: 120px; background: var(--bg-2); }
.price-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  align-items: stretch;
}
.price-card {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
  position: relative;
  transition: transform 0.2s;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.price-card.featured {
  background: var(--ink); color: var(--bg);
  border-color: var(--ink);
}
.price-card.featured .p-feat li { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.1); }
.price-card.featured .p-feat li::before { color: var(--brand); }
.price-card.featured .btn-primary { background: var(--brand); color: #fff; }
.price-card.featured .btn-primary:hover { background: var(--brand-2); }
.ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  padding: 5px 14px; border-radius: 999px;
  text-transform: uppercase;
}
.p-name {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
}
.p-price {
  font-family: var(--font-display); font-weight: 600;
  font-size: 64px; letter-spacing: -0.03em; line-height: 0.95;
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
}
.p-price sup { font-size: 15px; font-weight: 500; color: var(--muted); vertical-align: top; }
.price-card.featured .p-price sup { color: rgba(255,255,255,0.6); }
.p-price sub { display: block; width: 100%; font-size: 13px; color: var(--muted); font-weight: 400; margin-top: 6px; font-family: var(--font-mono); letter-spacing: 0.03em; }
.price-card.featured .p-price sub { color: rgba(255,255,255,0.6); }
.p-feat { list-style: none; flex: 1; }
.p-feat li {
  padding: 10px 0 10px 26px; font-size: 14px;
  border-top: 1px solid var(--line-2); color: var(--ink-2);
  position: relative;
}
.p-feat li:last-child { border-bottom: 1px solid var(--line-2); }
.p-feat li::before {
  content: '+'; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); color: var(--brand); font-weight: 700;
}
.price-foot { text-align: center; color: var(--muted); font-size: 13px; margin-top: 24px; font-family: var(--font-mono); }

/* ---------- TESTIMONIALS ---------- */
.testimonials { padding-top: 120px; padding-bottom: 120px; }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-card {
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 32px;
  display: flex; flex-direction: column; gap: 20px;
}
.t-card blockquote {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.35;
  color: var(--ink); font-style: italic;
}
.t-card blockquote em { color: var(--brand); }
.t-card figcaption { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.t-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--mint); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink);
}
.t-card figcaption b { font-size: 14px; display: block; }
.t-card figcaption span { font-size: 12px; color: var(--muted); }

/* ---------- CTA BIG ---------- */
.cta-big {
  background: var(--ink); color: #fff;
  text-align: center;
  padding-top: 140px; padding-bottom: 140px;
  position: relative; overflow: hidden;
}
.cta-big::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,107,43,0.18) 0%, transparent 60%);
}
.cta-inner { position: relative; z-index: 1; max-width: 820px; margin: 0 auto; }
.cta-big .h-section { color: #fff; }
.cta-big .h-section em { color: var(--brand); }
.cta-big .sub { margin-left: auto; margin-right: auto; }
.cta-big .cta-row { margin-top: 40px; }
.regions { margin-top: 28px; font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 0.04em; }

/* ---------- FOOTER ---------- */
.foot {
  background: var(--ink); color: #fff;
  padding-top: 72px; padding-bottom: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.foot-blurb { color: rgba(255,255,255,0.6); margin-top: 16px; max-width: 320px; font-size: 14px; }
.foot h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.foot ul { list-style: none; }
.foot ul li { margin-bottom: 8px; }
.foot ul a { font-size: 14px; color: rgba(255,255,255,0.75); }
.foot ul a:hover { color: var(--brand); }
.foot-bottom {
  display: flex; justify-content: space-between; gap: 20px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 13px; color: rgba(255,255,255,0.45);
}
.foot-bottom a { color: inherit; }
.foot-bottom a:hover { color: #fff; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-anim { justify-self: center; max-width: 480px; margin-top: 20px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-card.big { grid-column: span 2; }
  .story, .story.reverse { grid-template-columns: 1fr; }
  .story.reverse .story-copy, .story.reverse .story-anim { order: initial; }
  .story-anim { max-width: 520px; }
  .why-grid, .price-grid, .t-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-stats { gap: 14px; }
  .hero-stats .sep { display: none; }
  .product-grid { grid-template-columns: 1fr; }
  .prod-card.big { grid-column: auto; flex-direction: column; }
  .prod-card.big .prod-body { padding: 26px 28px 28px; }
  .why-grid, .price-grid, .t-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; text-align: center; gap: 10px; }
  .hero { padding-top: 30px; }
  .hero-grid { padding-top: 20px; }
}

/* ============== EXTRA ANIMATIONS v2 ============== */

/* scroll progress */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--brand) 0%, #FFB347 100%);
  z-index: 200; transition: width 0.1s linear;
  box-shadow: 0 0 12px rgba(255,107,43,0.5);
}

/* ============== v4: LESS-SQUEEZY POS ============== */

/* button arrow shift */
.btn { overflow: hidden; position: relative; }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,107,43,0.4) 0%, transparent 45%);
  opacity: 0; transition: opacity 0.4s;
}
.btn-primary:hover::after { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

/* eyebrow "/" slides in */
.eyebrow-line {
  position: relative; padding-left: 16px;
}
.eyebrow-line::before {
  content: ''; position: absolute; left: 0; top: 50%;
  width: 10px; height: 1px; background: currentColor;
  transform-origin: left; transform: scaleX(0);
  transition: transform 0.5s 0.1s cubic-bezier(.2,.9,.3,1);
}
.section-head.in .eyebrow-line::before,
.in .eyebrow-line::before { transform: scaleX(1); }
.section-head { transition: none; }

/* product card stagger + hover tilt */
.prod-card {
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1), box-shadow 0.4s, border-color 0.3s;
}
.prod-card:hover {
  transform: translateY(-6px) rotate(-0.4deg);
  box-shadow: var(--shadow-pop), 0 0 0 1px rgba(255,107,43,0.12);
  border-color: rgba(255,107,43,0.2);
}
.prod-card .prod-media img { transition: transform 0.6s cubic-bezier(.2,.9,.3,1); }
.prod-card:hover .prod-media img { transform: scale(1.08) rotate(-2deg); }

/* why-item icon draw-in on reveal */
.why-item .n { transition: transform 0.6s, color 0.3s; }
.why-item:hover .n { transform: translateX(4px); color: var(--brand); }
.why-item h4 { transition: color 0.3s; }
.why-item:hover h4 { color: var(--brand); }

/* testimonial card subtle float */
.t-card {
  animation: tFloat 6s ease-in-out infinite;
}
.t-card:nth-child(2) { animation-delay: -2s; }
.t-card:nth-child(3) { animation-delay: -4s; }
@keyframes tFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* pricing: price flip on reveal */
.p-price { display: flex; }
.price-card.in .p-price {
  animation: priceUp 0.7s 0.2s cubic-bezier(.2,.9,.3,1) backwards;
}
@keyframes priceUp {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.price-card.featured .ribbon {
  animation: shimmer 2.6s linear infinite;
  background: linear-gradient(90deg, var(--brand) 0%, #FFB347 50%, var(--brand) 100%);
  background-size: 200% 100%;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* footer link underline */
.foot ul a { position: relative; transition: color 0.2s, padding-left 0.25s; }
.foot ul a::before {
  content: '→'; position: absolute; left: -14px; top: 50%; transform: translateY(-50%);
  opacity: 0; transition: opacity 0.25s, left 0.25s; color: var(--brand);
}
.foot ul a:hover { padding-left: 14px; color: #fff; }
.foot ul a:hover::before { opacity: 1; left: 0; }

/* nav link underline hover */
.nav-links a { position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1);
}
.nav-links a:hover::after { transform: scaleX(1); }

/* logo gentle wobble on hover */
.nav .logo { transition: transform 0.4s cubic-bezier(.2,.9,.3,1); }
.nav .logo:hover { transform: translateX(2px); }
.nav .logo:hover img { animation: logoWob 0.6s ease; }
@keyframes logoWob {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-4deg); }
  75% { transform: rotate(4deg); }
}

/* marquee items fade on hover pause */
.marquee:hover .marquee-inner { animation-play-state: paused; }
.marquee-inner span { transition: opacity 0.3s, color 0.3s; }
.marquee-inner span:hover { opacity: 1; color: var(--brand); }

/* CTA big — orange orbit */
.cta-big::after {
  content: ''; position: absolute;
  top: 50%; left: 50%;
  width: 600px; height: 600px; margin: -300px 0 0 -300px;
  border: 1px dashed rgba(255,107,43,0.15);
  border-radius: 50%;
  animation: orbit 40s linear infinite;
  pointer-events: none;
}
@keyframes orbit { to { transform: rotate(360deg); } }

/* story-anim subtle entrance glow on reveal */
.story-anim { transition: transform 0.6s, box-shadow 0.6s; }
.story.in .story-anim { animation: storyPop 0.7s cubic-bezier(.2,.9,.3,1); }
@keyframes storyPop {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* bullet draw-in */
.bullets li { opacity: 0; transform: translateX(-10px); transition: all 0.5s; }
.story.in .bullets li { opacity: 1; transform: translateX(0); }
.story.in .bullets li:nth-child(1) { transition-delay: 0.2s; }
.story.in .bullets li:nth-child(2) { transition-delay: 0.3s; }
.story.in .bullets li:nth-child(3) { transition-delay: 0.4s; }

/* hero stat counter pulse */
.hero-stats b {
  font-variant-numeric: tabular-nums;
}

/* floor walker drop shadow */
.walker::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 8px; background: radial-gradient(ellipse, rgba(0,0,0,0.25), transparent 70%);
  filter: blur(2px);
  animation: shadowPulse 0.6s ease-in-out infinite alternate;
}
@keyframes shadowPulse {
  from { opacity: 0.7; transform: translateX(-50%) scaleX(1); }
  to   { opacity: 0.4; transform: translateX(-50%) scaleX(0.8); }
}

/* kiosk screen subtle scan-line */
.kiosk-screen::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(255,107,43,0.12) 50%, transparent 100%);
  height: 30%;
  animation: scan 3s ease-in-out infinite;
  z-index: 10;
}
@keyframes scan {
  0%, 100% { transform: translateY(-100%); }
  50%      { transform: translateY(300%); }
}

/* phone screen glow */
.phone { animation: phoneFloat 5s ease-in-out infinite; }
@keyframes phoneFloat {
  0%, 100% { transform: translate(-50%, -50%); }
  50%      { transform: translate(-50%, calc(-50% - 6px)); }
}

/* marquee gradient fade at edges */
.marquee {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

/* magnetic brand dots rotating in section-head */
.section-head { position: relative; }
.section-head::after {
  content: ''; position: absolute; top: 4px; right: 0;
  width: 48px; height: 48px;
  background: radial-gradient(circle, var(--brand) 30%, transparent 32%);
  background-size: 6px 6px;
  background-image:
    radial-gradient(circle, rgba(255,107,43,0.4) 1.2px, transparent 1.8px);
  background-size: 8px 8px;
  animation: rotateSlow 30s linear infinite;
  opacity: 0.6;
  display: none; /* keep subtle — off by default */
}
@keyframes rotateSlow { to { transform: rotate(360deg); } }

/* reveal stagger for grids */
.product-grid .prod-card.in { animation: cardIn 0.7s cubic-bezier(.2,.9,.3,1) backwards; }
.product-grid .prod-card:nth-child(1).in { animation-delay: 0s; }
.product-grid .prod-card:nth-child(2).in { animation-delay: 0.08s; }
.product-grid .prod-card:nth-child(3).in { animation-delay: 0.16s; }
.product-grid .prod-card:nth-child(4).in { animation-delay: 0.24s; }
.product-grid .prod-card:nth-child(5).in { animation-delay: 0.32s; }
.product-grid .prod-card:nth-child(6).in { animation-delay: 0.4s; }
.why-grid .why-item.in { animation: cardIn 0.6s cubic-bezier(.2,.9,.3,1) backwards; }
.why-grid .why-item:nth-child(2).in { animation-delay: 0.06s; }
.why-grid .why-item:nth-child(3).in { animation-delay: 0.12s; }
.why-grid .why-item:nth-child(4).in { animation-delay: 0.18s; }
.why-grid .why-item:nth-child(5).in { animation-delay: 0.24s; }
.why-grid .why-item:nth-child(6).in { animation-delay: 0.3s; }
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ============== v3: REAL-POS LOOK + LOGOS + DEVICE ICONS ============== */

/* POS frame: flatten & enlarge to show real-POS layout */
.hero-anim { aspect-ratio: 16 / 11; max-width: 720px; }
.pos-frame {
  position: absolute !important;
  top: 2% !important; left: -2% !important;
  width: 104% !important; height: 96% !important;
  background: #0D0F14 !important;
  border-radius: 14px !important;
  transform: perspective(1800px) rotateY(-4deg) rotateX(2deg) !important;
  display: flex; flex-direction: column;
  border: 1px solid rgba(255,255,255,0.08);
}

/* top black toolbar */
.pos-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  background: #000; padding: 6px 10px; gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: #E6E8F0; font-size: 10px;
  font-family: var(--font-body);
  flex-shrink: 0;
}
.pos-t-left { display: flex; align-items: center; gap: 10px; font-size: 10px; }
.tl-back { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; color: #E6E8F0; font-size: 18px; line-height: 1; font-weight: 300; padding-bottom: 2px; background: rgba(255,255,255,0.04); border-radius: 4px; }
.tl-weight { color: #E6E8F0; font-weight: 500; }
.tl-weight .refresh { color: #FF6B2B; margin-left: 4px; font-size: 11px; }
.tl-date { color: #E6E8F0; font-weight: 500; font-variant-numeric: tabular-nums; }
.tl-title { color: #E6E8F0; font-weight: 600; font-size: 12px; letter-spacing: 0.01em; display: flex; align-items: center; gap: 8px; }
.tl-title .tl-dot { width: 6px; height: 6px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 8px rgba(34,197,94,0.6); }
.pos-t-actions { display: flex; gap: 4px; align-items: center; flex-wrap: nowrap; }
.tl-pill {
  padding: 4px 9px; border-radius: 3px;
  background: #2A2D35; color: #E6E8F0;
  font-size: 9.5px; font-weight: 500;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,0.06);
}

/* body: left order / right menu */
.pos-body {
  display: grid !important; grid-template-columns: 28% 1fr;
  flex: 1; min-height: 0;
  padding: 0 !important; gap: 0 !important;
  background: #2A2D35;
}

/* LEFT side: order / cart */
.pos-left {
  background: #2A2D35;
  display: flex; flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.08);
  min-height: 0;
}
.pos-left .ticket-lines {
  flex: 1;
  overflow: hidden;
  padding: 10px 10px 4px;
  list-style: none;
  min-height: 0;
}
.pos-left .ticket-lines li {
  display: grid !important; grid-template-columns: auto 1fr auto !important;
  gap: 8px !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  padding: 5px 2px !important;
  border-bottom: 1px dashed rgba(255,255,255,0.08);
  animation: lineIn 0.4s ease backwards;
}
.pos-left .ticket-lines li b { color: #FF6B2B !important; font-weight: 700; }
.pos-left .ticket-lines li span { color: #E6E8F0 !important; }
.pos-left .ticket-lines li em { color: #B8BCCA !important; font-style: normal; }

.pos-left-foot {
  padding: 6px 10px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column; gap: 4px;
  font-size: 10px; color: #B8BCCA;
}
.add-note { color: #B8BCCA; display: flex; align-items: center; gap: 4px; }
.qty-row { font-weight: 600; color: #E6E8F0; }
.no-table {
  display: inline-block; align-self: flex-start;
  background: rgba(255,255,255,0.08);
  padding: 3px 10px; border-radius: 4px;
  font-size: 9.5px; color: #E6E8F0;
  border: 1px solid rgba(255,255,255,0.1);
}

.pos-actions {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 0;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.send-btn, .pay-btn {
  padding: 14px 8px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  transition: filter 0.2s;
}
.send-btn { background: #fff; color: #0D0F14; }
.pay-btn  { background: #4AAE5A; color: #fff; }
.pay-btn:hover, .send-btn:hover { filter: brightness(1.05); }

/* RIGHT side: menu pills / sub-tabs / products */
.pos-right {
  padding: 6px;
  display: flex; flex-direction: column; gap: 5px;
  min-height: 0; min-width: 0;
  background: #2A2D35;
}
.cat-row { display: flex; gap: 4px; flex-wrap: wrap; }
.cat-row-top .cat-pill { background: #fff; color: #0D0F14; border: 1px solid #E6E8F0; }
.cat-row-top .cat-pill.active { border: 1.5px solid #FFB347; background: #fff; color: #0D0F14; }
.cat-pill {
  padding: 4px 9px; border-radius: 3px;
  font-size: 9.5px; font-weight: 500;
  background: #fff; color: #0D0F14;
  white-space: nowrap;
}
.c-pill {
  padding: 4px 9px; border-radius: 3px;
  font-size: 9.5px; font-weight: 600;
  color: #fff; white-space: nowrap;
}
.c-pill.red   { background: #E26F4F; }
.c-pill.blue  { background: #3B9CE8; }

.sub-row { display: flex; gap: 4px; }
.sub-tab {
  flex: 1;
  padding: 5px 4px; border: 1px solid #E6E8F0; border-radius: 2px;
  background: #fff; color: #0D0F14;
  text-align: center; font-size: 9.5px; font-weight: 500;
}
.sub-tab.active { border: 1.5px solid #FFB347; }

/* PRODUCT GRID */
.pos-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 3px !important;
  flex: 1;
  min-height: 0;
}
.pos-item {
  position: relative;
  background: #2A2D35 !important;
  color: #E6E8F0 !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 2px !important;
  padding: 4px 5px !important;
  text-align: left !important;
  font-family: var(--font-body);
  font-size: 9.5px !important; font-weight: 700;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 0; overflow: hidden;
  cursor: pointer;
  box-shadow: none !important;
  transition: background 0.15s, transform 0.15s;
}
.pos-item .pi-name {
  line-height: 1.15; font-size: 9.5px; font-weight: 700; color: #E6E8F0;
  letter-spacing: -0.01em;
}
.pos-item em {
  display: block !important; text-align: right !important;
  font-style: normal !important; font-family: var(--font-body) !important;
  font-size: 9.5px !important; font-weight: 600 !important;
  color: #E6E8F0 !important; opacity: 0.95;
  margin-top: auto;
}
.pos-item:hover { background: #353944 !important; }
.pos-item.combo {
  background: linear-gradient(180deg, #4D6FDA 0%, #3B5BC1 100%) !important;
  border-color: #3B5BC1 !important;
  color: #fff !important;
}
.pos-item.combo em, .pos-item.combo .pi-name { color: #fff !important; }

.pos-item.tapped {
  animation: posTap 0.55s ease;
}
@keyframes posTap {
  0%   { transform: scale(1); box-shadow: inset 0 0 0 0 transparent; }
  40%  { transform: scale(0.94); box-shadow: inset 0 0 0 2px #FF6B2B; background: #3C3F4A !important; }
  100% { transform: scale(1); box-shadow: inset 0 0 0 0 transparent; }
}

/* bottom fixed category rows */
.bottom-cats {
  display: grid; grid-template-columns: 1.4fr 1fr 1.4fr 1fr 1fr 1.2fr 1.2fr;
  gap: 3px;
}
.b-cat {
  border: 1px solid #E6E8F0; border-radius: 2px;
  background: #fff; color: #0D0F14;
  text-align: center; padding: 4px 3px;
  font-size: 8.5px; font-weight: 600;
  line-height: 1.1;
  display: flex; align-items: center; justify-content: center;
  min-height: 26px;
}
.b-cat.wide { }
.b-cat.active-yellow { border: 1.5px solid #FFB347; background: #fff; }

/* hide old chrome / menu-tab / keys that are no longer used */
.pos-chrome, .pos-menu, .pos-keys { display: none !important; }
.ticket { display: none !important; } /* old side ticket panel */

/* tap ring stays */
#tapRing { z-index: 20; }

/* ============== LOGOS MARQUEE ============== */
.logos-marquee { background: var(--bg); padding: 26px 0; }
.logos-marquee .marquee-inner { gap: 56px; align-items: center; }
.logo-chip {
  display: flex; align-items: center; justify-content: center;
  height: 32px; color: var(--ink-2);
  opacity: 0.55; flex-shrink: 0;
  transition: opacity 0.25s, color 0.25s, transform 0.25s;
}
.logo-chip img {
  height: 28px; width: auto; display: block;
  max-height: 36px; object-fit: contain;
  filter: none;
}
.logo-chip:hover { opacity: 1; color: var(--brand); transform: translateY(-2px); }

/* ============== REPORTS: DEVICE ICONS ============== */
.reports-media .chart-mini { position: relative; }
.device-icons {
  position: absolute;
  right: 18px; bottom: 48px;
  display: flex; align-items: flex-end; gap: 8px;
  pointer-events: none;
  z-index: 3;
}
.dev-laptop {
  width: 96px !important; height: 66px !important;
  flex-shrink: 0;
  animation: devFloat 4s ease-in-out infinite;
  filter: drop-shadow(0 6px 14px rgba(13,15,20,0.18));
}
.dev-phone {
  width: 38px !important; height: 64px !important;
  flex-shrink: 0;
  animation: devFloat 4s ease-in-out infinite -2s;
  filter: drop-shadow(0 6px 14px rgba(13,15,20,0.22));
  transform-origin: bottom center;
}
@keyframes devFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* ============== v4: LESS-SQUEEZY POS ============== */

/* give the hero stage more breathing room & simpler POS */
.hero-anim { aspect-ratio: 4 / 3 !important; max-width: 640px !important; }
.pos-frame {
  top: 4% !important; left: 2% !important;
  width: 96% !important; height: 92% !important;
  transform: perspective(2200px) rotateY(-3deg) rotateX(1deg) !important;
  border-radius: 12px !important;
}

/* simplified toolbar: fewer pills, more padding */
.pos-toolbar { padding: 8px 12px !important; gap: 14px !important; font-size: 11px !important; }
.tl-back { font-size: 18px !important; width: 22px !important; height: 22px !important; }
.tl-weight { font-size: 10.5px !important; }
.tl-date { font-size: 10.5px !important; }
.pos-t-actions { gap: 5px !important; }
.tl-pill {
  padding: 5px 11px !important; font-size: 10px !important;
  border-radius: 4px !important;
}
/* Hide less-essential pills so the toolbar breathes */
.pos-t-actions .tl-pill:nth-child(3),
.pos-t-actions .tl-pill:nth-child(7) { display: none !important; }

/* body grid: wider left column for the cart */
.pos-body { grid-template-columns: 30% 1fr !important; }

.pos-left .ticket-lines { padding: 12px 12px 6px !important; }
.pos-left .ticket-lines li { font-size: 12px !important; padding: 6px 2px !important; gap: 10px !important; }
.pos-left-foot { padding: 8px 12px !important; gap: 6px !important; font-size: 11px !important; }
.no-table { padding: 4px 12px !important; font-size: 10.5px !important; }
.send-btn, .pay-btn { padding: 16px 8px !important; font-size: 14px !important; }

/* right pane breathing room */
.pos-right { padding: 10px !important; gap: 7px !important; }

/* consolidate the many category rows to ONE clean row of color pills */
.pos-right .cat-row-top { display: none !important; } /* hide outlined "All" tabs row */
.pos-right .cat-row-colors + .cat-row-colors { display: none !important; } /* hide 2nd color row */
.pos-right .sub-row + .sub-row { display: none !important; } /* hide 2nd sub-row */
.pos-right .bottom-cats + .bottom-cats { display: none !important; } /* hide 2nd bottom row */

.cat-row { gap: 6px !important; }
.c-pill {
  padding: 6px 12px !important; font-size: 11px !important;
  border-radius: 4px !important;
}
/* shorter, cleaner category set */
.pos-right .cat-row-colors .c-pill:nth-child(n+5) { display: none !important; }

.sub-row { gap: 5px !important; }
.sub-tab {
  padding: 7px 6px !important;
  font-size: 11px !important;
  border-radius: 3px !important;
}

/* product grid: 4 columns × 2 rows = 8 items. Larger, readable tiles */
.pos-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}
/* hide the extra 4 items so we have exactly 8 */

.pos-item {
  padding: 8px 10px !important;
  font-size: 12px !important;
  border-radius: 4px !important;
}
.pos-item .pi-name { font-size: 12px !important; line-height: 1.25 !important; }
.pos-item em { font-size: 11px !important; font-weight: 700 !important; }

/* bottom cats row: fewer, larger */
.bottom-cats {
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 5px !important;
}
.bottom-cats .b-cat:nth-child(n+6) { display: none !important; }
.b-cat {
  font-size: 10px !important;
  padding: 6px 4px !important;
  min-height: 32px !important;
  border-radius: 3px !important;
}

@media (max-width: 720px) {
  .pos-grid { grid-template-columns: repeat(3, 1fr) !important; }
  
  .pos-t-actions .tl-pill:nth-child(n+4) { display: none !important; }
  .bottom-cats { grid-template-columns: repeat(3, 1fr) !important; }
  .bottom-cats .b-cat:nth-child(n+4) { display: none !important; }
}

/* ============== v5: CLEANER BIGGER POS + line-reveal heading ============== */

.line-reveal .line { display: block; overflow: hidden; }
.line-reveal .line > span,
.line-reveal .line em > span {
  display: inline-block;
  opacity: 0; transform: translateY(105%);
  animation: lineUp 0.9s cubic-bezier(.2,.85,.25,1) forwards;
}
.line-reveal .line:nth-child(2) > em > span { animation-delay: 0.18s; }
@keyframes lineUp { to { opacity: 1; transform: translateY(0); } }

.hero-anim { aspect-ratio: 5 / 4 !important; max-width: 680px !important; }
.pos-frame {
  top: 3% !important; left: 1% !important;
  width: 98% !important; height: 94% !important;
  transform: perspective(2400px) rotateY(-2deg) rotateX(1deg) !important;
  border-radius: 12px !important;
}
.pos-toolbar { padding: 9px 14px !important; gap: 14px !important; }
.tl-weight, .tl-date { font-size: 11px !important; }
.tl-pill { padding: 6px 12px !important; font-size: 11px !important; border-radius: 4px !important; }
.pos-t-actions .tl-pill:nth-child(3),
.pos-t-actions .tl-pill:nth-child(5),
.pos-t-actions .tl-pill:nth-child(7) { display: none !important; }

.pos-body { grid-template-columns: 32% 1fr !important; }
.pos-left .ticket-lines { padding: 14px 14px 8px !important; }
.pos-left .ticket-lines li { font-size: 13px !important; padding: 7px 2px !important; gap: 10px !important; }
.pos-left-foot { padding: 10px 14px !important; gap: 10px !important; font-size: 12px !important; display: flex !important; flex-direction: row !important; align-items: center !important; justify-content: space-between !important; }
.no-table { padding: 5px 13px !important; font-size: 11px !important; }
.send-btn, .pay-btn { padding: 18px 10px !important; font-size: 15px !important; }

.pos-right { padding: 14px !important; gap: 10px !important; }
.pos-right .cat-row-top { display: none !important; }
.pos-right .cat-row-colors + .cat-row-colors { display: none !important; }
.pos-right .sub-row + .sub-row { display: none !important; }
.pos-right .sub-row { display: none !important; }
.pos-right .bottom-cats + .bottom-cats { display: none !important; }
.pos-right .cat-row-colors .c-pill:nth-child(n+5) { display: none !important; }
.cat-row { gap: 7px !important; flex-wrap: nowrap !important; overflow: hidden !important; }
.c-pill { white-space: nowrap !important; flex: 0 0 auto !important; }
.c-pill { padding: 5px 10px !important; font-size: 10px !important; border-radius: 3px !important; font-weight: 700 !important; letter-spacing: 0.01em !important; }
.sub-row { gap: 6px !important; }
.sub-tab { padding: 8px 6px !important; font-size: 12px !important; font-weight: 600 !important; border-radius: 3px !important; }

.pos-grid {
  grid-template-columns: repeat(4, 1fr) !important;
  grid-template-rows: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}

.pos-item {
  padding: 7px 9px !important;
  font-size: 11px !important;
  border-radius: 4px !important;
  justify-content: space-between !important;
}
.pos-item .pi-name {
  font-size: 11px !important; font-weight: 700 !important;
  line-height: 1.25 !important; letter-spacing: -0.01em !important;
  white-space: normal !important; word-wrap: break-word !important;
}
.pos-item em { font-size: 10px !important; font-weight: 700 !important; margin-top: 4px !important; }

.bottom-cats { grid-template-columns: repeat(5, 1fr) !important; gap: 6px !important; }
.bottom-cats .b-cat:nth-child(n+6) { display: none !important; }
.b-cat { font-size: 9.5px !important; padding: 6px 4px !important; min-height: 28px !important; border-radius: 3px !important; }

@media (max-width: 720px) {
  .pos-grid { grid-template-columns: repeat(3, 1fr) !important; }
  
  .pos-t-actions .tl-pill:nth-child(n+4) { display: none !important; }
  .bottom-cats { grid-template-columns: repeat(3, 1fr) !important; }
  .bottom-cats .b-cat:nth-child(n+4) { display: none !important; }
}

/* Per-logo size tweaks in the partners marquee */
.logo-chip img[src$="uber.png"] { transform: scale(1.25); transform-origin: center; }


/* ═════════════  CUSTOMERS  ═════════════ */
.customers {
  padding: 96px 48px 48px;
  background: var(--bg);
}
.customers .section-head { max-width: 920px; margin: 0 auto 56px; text-align: center; }
.cust-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.cust-card {
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  padding: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.cust-card:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: var(--shadow-soft);
}
.cust-card img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
@media (max-width: 1040px) {
  .customers { padding: 72px 32px 32px; }
  .cust-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .customers { padding: 56px 18px 24px; }
  .cust-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .cust-card { padding: 12px; }
}


/* POS grid: 4 rows × 2 columns */
.pos-grid { grid-template-columns: repeat(2, 1fr) !important; }
@media (max-width: 720px) {
  .pos-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .pos-grid .pos-item:nth-child(n+7) { display: inline-flex !important; }
}


/* POS grid: 4×4 uniform tiles */
.pos-grid { grid-template-columns: repeat(4, 1fr) !important; grid-auto-rows: 1fr !important; }
.pos-item { aspect-ratio: 1 / 1 !important; }
.pos-item.combo { grid-column: auto !important; grid-row: auto !important; aspect-ratio: 1 / 1 !important; }
@media (max-width: 720px) {
  .pos-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .pos-grid .pos-item:nth-child(n) { display: inline-flex !important; }
}


/* Final: show all 16 products, 4×4 uniform, on all sizes */
.pos-grid { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; gap: 5px !important; }
.pos-grid .pos-item { display: inline-flex !important; aspect-ratio: 1 / 1 !important; }
@media (max-width: 720px) {
  .pos-grid { grid-template-columns: repeat(4, 1fr) !important; }
  .pos-grid .pos-item { display: inline-flex !important; }
}
