:root {
  --color-primary: #e0723f;
  --color-on-primary: #160f09;
  --color-secondary: #f2b84f;
  --color-on-secondary: #160f09;
  --color-tertiary: #f2b84f;
  --color-neutral: #a8927c;

  --bg: #14100c;
  --surface: #1f1811;
  --surface-2: #2a2015;
  --surface-3: #382b1c;
  --stroke: #4a3a26;
  --text: #f5ecdc;
  --text-muted: #b3a08a;
  --danger: #ff6b6b;
  --danger-bg: rgba(255, 107, 107, 0.16);
  --success: #6fcf87;
  --success-bg: rgba(111, 207, 135, 0.16);
  --info: #6fb8ff;
  --info-bg: rgba(111, 184, 255, 0.16);

  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --radius-full: 22px;
  --border-w: 2px;

  --shadow-1: 3px 3px 0 rgba(0, 0, 0, 0.55);
  --shadow-2: 4px 4px 0 rgba(0, 0, 0, 0.6);
  --shadow-float: 5px 5px 0 rgba(0, 0, 0, 0.7);
  --scrim: rgba(0, 0, 0, 0.75);

  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-pixel: "Beltra", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-accent: var(--font-pixel);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; max-width: 100%; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: env(safe-area-inset-bottom);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; color: var(--text); }
.accent { font-family: var(--font-accent); font-style: normal; font-weight: 400; color: var(--color-secondary); }

.brand-word-1 { font-family: var(--font-pixel); font-weight: 400; font-size: 1.35em; }
.brand-word-2 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.5em; vertical-align: middle; }
.admin-tag { font-family: var(--font-body); font-weight: 400; font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0; text-transform: none; vertical-align: middle; }

.container { max-width: 640px; margin: 0 auto; padding: 0 1rem; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  padding: 0.9rem 1rem 0.6rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.topbar .back-btn, .topbar .icon-btn {
  width: 38px; height: 38px; border-radius: var(--radius-full);
  background: var(--surface); border: var(--border-w) solid var(--stroke);
  display: flex; align-items: center; justify-content: center;
  color: var(--text); flex-shrink: 0;
}
.topbar .brand {
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  letter-spacing: -0.01em; flex: 1;
}
.topbar .brand small {
  display: block; font-family: var(--font-body); font-weight: 400;
  font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0;
}

/* ---------- Cafe status banner ---------- */
.status-banner {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 0.9rem; margin: 0 1rem 0.75rem; border-radius: var(--radius-full);
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  width: fit-content;
}
.status-banner.open { background: var(--success-bg); color: var(--success); border: var(--border-w) solid var(--success); }
.status-banner.closed { background: var(--danger-bg); color: var(--danger); border: var(--border-w) solid var(--danger); }
.status-dot { width: 6px; height: 6px; border-radius: var(--radius-sm); background: currentColor; }

.closed-notice {
  margin: 0 1rem 1rem; padding: 0.9rem 1rem; border-radius: var(--radius-lg);
  background: var(--danger-bg); color: var(--danger); font-size: 0.85rem; border: var(--border-w) solid var(--danger);
}

/* ---------- Hero ---------- */
.hero { padding: 0 1rem 1rem; }
.hero h1 { font-size: 1.7rem; line-height: 1.15; }
.hero p { color: var(--text-muted); margin: 0.4rem 0 0; font-size: 0.88rem; }

/* ---------- Search ---------- */
.search-box {
  margin: 0 1rem 1rem; display: flex; align-items: center; gap: 0.6rem;
  background: var(--surface); border: var(--border-w) solid var(--stroke);
  border-radius: var(--radius); padding: 0.7rem 0.9rem; color: var(--text-muted);
}
.search-box input {
  border: none; outline: none; background: transparent; flex: 1;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--text);
}

/* ---------- Category tabs ---------- */
.tabs {
  display: flex; gap: 0.5rem; padding: 0 1rem 1rem; overflow-x: auto;
  scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0; display: flex; align-items: center; gap: 0.4rem;
  border: var(--border-w) solid var(--stroke); background: transparent; color: var(--text-muted);
  border-radius: var(--radius-full); padding: 0.55rem 1rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem;
}
.tab.active {
  background: var(--color-primary); color: var(--color-on-primary); border-color: var(--color-primary);
  box-shadow: var(--shadow-1);
}
.tag-tabs { padding-top: 0; margin-top: -0.4rem; }
.tag-tabs .tab { padding: 0.4rem 0.85rem; font-size: 0.74rem; }
.tag-tabs .tab.active { background: var(--color-secondary); border-color: var(--color-secondary); }

/* ---------- Product grid ---------- */
.section-title {
  padding: 0.4rem 1rem 0.7rem; font-family: var(--font-display); font-weight: 700; font-size: 1rem;
}
.product-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem;
  padding: 0 1rem 1.5rem;
}
.product-card {
  background: var(--surface); border: var(--border-w) solid var(--stroke); border-radius: var(--radius-lg);
  padding: 0.6rem; box-shadow: var(--shadow-1); text-align: left; display: flex; flex-direction: column;
  position: relative; color: var(--text);
}
.product-card .thumb {
  aspect-ratio: 1; border-radius: var(--radius); background: var(--surface-2);
  display: flex; align-items: center; justify-content: center; color: var(--color-tertiary);
  margin-bottom: 0.6rem; position: relative; overflow: hidden;
}
.badge {
  position: absolute; top: 0.4rem; left: 0.4rem; font-family: var(--font-display);
  font-weight: 700; font-size: 0.6rem; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 0.2rem 0.5rem; border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-on-primary);
}
.badge.sale { background: var(--color-secondary); color: var(--color-on-secondary); }
.badge.soldout { background: var(--surface-3); color: var(--text-muted); }
.badge.soon { background: var(--color-tertiary); color: var(--color-on-secondary); }
.badge.tag { position: static; display: inline-block; background: var(--surface-2); color: var(--text-muted); margin: 0 0.3rem 0.3rem 0; text-transform: none; letter-spacing: 0; font-size: 0.62rem; padding: 0.18rem 0.45rem; }
.card-tags { display: flex; flex-wrap: wrap; margin-bottom: 0.15rem; }

.product-card .name { font-family: var(--font-pixel); color: var(--text); font-weight: 400; font-size: 1.05rem; line-height: 1.25; }
.product-card .desc { font-family: var(--font-display); color: var(--text-muted); font-size: 0.74rem; margin: 0.2rem 0 0.5rem; line-height: 1.35; flex: 1; }
.product-card .row { display: flex; align-items: center; justify-content: space-between; }
.product-card .price { font-family: var(--font-display); color: var(--text); font-weight: 800; font-size: 0.9rem; }
.product-card .price .old { font-family: var(--font-body); font-weight: 400; color: var(--text-muted); text-decoration: line-through; font-size: 0.7rem; margin-right: 0.3rem; }
.add-btn {
  width: 32px; height: 32px; border-radius: var(--radius-sm); border: var(--border-w) solid var(--color-on-secondary);
  background: var(--color-secondary); color: var(--color-on-secondary); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-1); flex-shrink: 0;
}
.add-btn:disabled { background: var(--surface-3); color: var(--text-muted); }
.product-card.disabled { opacity: 0.6; }
.product-card.card-btn { border: var(--border-w) solid var(--stroke); width: 100%; cursor: pointer; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: var(--scrim); z-index: 100;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-sheet {
  background: var(--surface); width: 100%; max-width: 640px;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 88vh; overflow-y: auto; transform: translateY(16px);
  transition: transform 0.25s ease; box-shadow: var(--shadow-float);
}
.modal-overlay.open .modal-sheet { transform: translateY(0); }
.modal-sheet .modal-image {
  aspect-ratio: 16/10; background: var(--surface-2); display: flex; align-items: center; justify-content: center;
  color: var(--color-tertiary); position: relative;
}
.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem; width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--surface); border: var(--border-w) solid var(--stroke); color: var(--text); display: flex; align-items: center; justify-content: center;
}
.modal-body { padding: 1.1rem 1.1rem 1.4rem; }
.modal-body h2 { font-family: var(--font-pixel); font-weight: 400; font-size: 1.5rem; }
.modal-body .taste { font-family: var(--font-display); color: var(--text-muted); font-size: 0.8rem; margin: 0.25rem 0 0.6rem; }
.modal-body .desc { font-family: var(--font-display); color: var(--text); font-size: 0.85rem; line-height: 1.5; margin-bottom: 0.9rem; }
.modal-body .price-lg { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--color-secondary); margin-bottom: 1rem; }

.field-label {
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; margin-bottom: 0.5rem;
  display: flex; align-items: center; gap: 0.4rem;
}
.note-box {
  width: 100%; border: var(--border-w) solid var(--stroke); border-radius: var(--radius); padding: 0.7rem 0.8rem;
  font-family: var(--font-body); font-size: 0.85rem; resize: none; background: var(--surface-2); color: var(--text);
  margin-bottom: 1rem;
}
.note-box:focus { outline: none; border-color: var(--color-primary); background: var(--surface); }

.qty-stepper {
  display: inline-flex; align-items: center; gap: 0.9rem; background: var(--surface-2);
  border-radius: var(--radius-full); padding: 0.4rem 0.7rem;
}
.qty-stepper button {
  width: 28px; height: 28px; border-radius: var(--radius-sm); border: var(--border-w) solid var(--stroke); background: var(--surface); color: var(--text);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-1);
}
.qty-stepper .qty-value { font-family: var(--font-display); font-weight: 700; min-width: 1.2rem; text-align: center; }

.modal-footer { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.1rem; }
.btn-primary {
  flex: 1; background: var(--color-primary); color: var(--color-on-primary); border: var(--border-w) solid var(--color-on-primary); border-radius: var(--radius-full);
  height: 52px; font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: transform 0.12s ease-out; box-shadow: var(--shadow-1);
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary.accent { background: var(--color-secondary); color: var(--color-on-secondary); border-color: var(--color-on-secondary); }
.btn-primary:disabled { background: var(--surface-3); color: var(--text-muted); border-color: var(--stroke); box-shadow: none; }
.btn-secondary {
  background: var(--surface-2); color: var(--color-primary); border: var(--border-w) solid var(--stroke); border-radius: var(--radius-full);
  height: 52px; padding: 0 1.3rem; font-family: var(--font-display); font-weight: 700; font-size: 0.9rem;
}
.btn-outline {
  background: transparent; color: var(--color-primary); border: var(--border-w) solid var(--stroke); border-radius: var(--radius-full);
  height: 44px; padding: 0 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
}
.btn-link { color: var(--color-secondary); font-weight: 700; font-size: 0.85rem; }

/* ---------- Floating cart bar ---------- */
.cart-bar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 50;
  background: var(--color-primary); color: var(--color-on-primary); border-radius: var(--radius-full);
  padding: 0.55rem 0.55rem 0.55rem 1.1rem; display: flex; align-items: center; justify-content: space-between;
  box-shadow: var(--shadow-float); max-width: 640px; margin: 0 auto;
  transform: translateY(calc(100% + 2rem)); transition: transform 0.25s ease;
}
.cart-bar.visible { transform: translateY(0); }
.cart-bar .info { display: flex; flex-direction: column; }
.cart-bar .info .count { font-size: 0.7rem; color: var(--color-on-primary); opacity: 0.75; font-weight: 600; }
.cart-bar .info .total { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; }
.cart-bar .go {
  background: var(--color-secondary); color: var(--color-on-secondary); border: var(--border-w) solid var(--color-on-secondary); border-radius: var(--radius-full);
  height: 42px; padding: 0 1.2rem; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  display: flex; align-items: center; gap: 0.4rem;
}

/* ---------- Checkout page ---------- */
.cart-item {
  display: flex; gap: 0.75rem; background: var(--surface); border: var(--border-w) solid var(--stroke);
  border-radius: var(--radius-lg); padding: 0.75rem; margin-bottom: 0.6rem;
}
.cart-item .thumb-sm {
  width: 52px; height: 52px; border-radius: var(--radius); background: var(--surface-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--color-tertiary);
}
.cart-item .meta { flex: 1; min-width: 0; }
.cart-item .meta .name { font-family: var(--font-pixel); color: var(--text); font-weight: 400; font-size: 1rem; }
.cart-item .meta .note { font-family: var(--font-display); color: var(--text-muted); font-size: 0.72rem; margin-top: 0.15rem; }
.cart-item .meta .row { display: flex; align-items: center; justify-content: space-between; margin-top: 0.4rem; }
.cart-item .price { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; }
.qty-stepper.sm { padding: 0.2rem 0.45rem; gap: 0.6rem; }
.qty-stepper.sm button { width: 22px; height: 22px; }
.remove-link { background: none; border: none; padding: 0; color: var(--danger); font-size: 0.72rem; font-weight: 600; }

.empty-state { text-align: center; padding: 3rem 1.5rem; color: var(--text-muted); }
.empty-state svg { color: var(--stroke); margin-bottom: 0.75rem; }

.card { background: var(--surface); border: var(--border-w) solid var(--stroke); border-radius: var(--radius-lg); padding: 1rem; margin-bottom: 0.9rem; }
.card h3 { font-size: 0.95rem; margin-bottom: 0.8rem; }

.form-group { margin-bottom: 0.9rem; }
.form-group label { display: block; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; margin-bottom: 0.4rem; }
.form-group .req { color: var(--color-secondary); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; border: var(--border-w) solid var(--stroke); border-radius: var(--radius); padding: 0.7rem 0.85rem;
  font-family: var(--font-body); font-size: 0.88rem; background: var(--surface-2); color: var(--text);
  color-scheme: dark;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--color-primary); background: var(--surface); }
.form-group textarea { resize: none; }
.hint { color: var(--text-muted); font-size: 0.72rem; margin-top: 0.3rem; }
.cash-lock {
  display: flex; align-items: center; gap: 0.5rem; border: var(--border-w) solid var(--stroke); border-radius: var(--radius);
  padding: 0.7rem 0.85rem; background: var(--surface-2); font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
}
.cash-lock span { font-family: var(--font-body); font-weight: 400; color: var(--text-muted); font-size: 0.75rem; }

.segmented { display: flex; gap: 0.5rem; }
.segmented label {
  flex: 1; text-align: center; border: var(--border-w) solid var(--stroke); border-radius: var(--radius); padding: 0.65rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.82rem; color: var(--text-muted); cursor: pointer;
}
.segmented input { display: none; }
.segmented input:checked + label { background: var(--color-primary); color: var(--color-on-primary); border-color: var(--color-primary); }

.summary-row { display: flex; justify-content: space-between; font-size: 0.85rem; padding: 0.3rem 0; color: var(--text-muted); }
.summary-row.total { color: var(--text); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; padding-top: 0.6rem; border-top: 1px dashed var(--stroke); margin-top: 0.4rem; }

.sticky-footer {
  position: sticky; bottom: 0; background: linear-gradient(to top, var(--bg) 70%, transparent);
  padding: 1rem 0 1.2rem;
}

/* ---------- Success page ---------- */
.success-hero { text-align: center; padding: 2.5rem 1.5rem 1.5rem; }
.success-icon {
  width: 72px; height: 72px; border-radius: var(--radius); background: var(--success-bg); color: var(--success); border: 2px solid var(--success);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem;
}
.order-number { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em; }

/* ---------- Status timeline ---------- */
.timeline { display: flex; justify-content: space-between; padding: 1.2rem 0.5rem; position: relative; }
.timeline::before {
  content: ''; position: absolute; top: 1.65rem; left: 2rem; right: 2rem; height: 2px; background: var(--stroke);
}
.timeline .step { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; flex: 1; position: relative; z-index: 1; }
.timeline .dot {
  width: 28px; height: 28px; border-radius: var(--radius-sm); background: var(--surface); border: 2px solid var(--stroke);
  display: flex; align-items: center; justify-content: center; color: var(--stroke);
}
.timeline .step.done .dot { background: var(--color-secondary); border-color: var(--color-secondary); color: var(--color-on-secondary); }
.timeline .step.current .dot { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary); }
.timeline .step span.label { font-size: 0.65rem; font-weight: 700; font-family: var(--font-display); color: var(--text-muted); text-align: center; }
.timeline .step.done span.label, .timeline .step.current span.label { color: var(--text); }

.cancelled-box { background: var(--danger-bg); color: var(--danger); border: var(--border-w) solid var(--danger); border-radius: var(--radius-lg); padding: 1rem; text-align: center; }

/* ---------- Auth / admin ---------- */
.auth-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.auth-card { background: var(--surface); border: var(--border-w) solid var(--stroke); border-radius: var(--radius-xl); padding: 1.8rem; width: 100%; max-width: 360px; box-shadow: var(--shadow-1); }
.auth-card h1 { text-align: center; font-size: 1.3rem; margin-bottom: 0.3rem; }
.auth-card p.sub { text-align: center; color: var(--text-muted); font-size: 0.82rem; margin-bottom: 1.4rem; }
.error-msg { background: var(--danger-bg); color: var(--danger); border: var(--border-w) solid var(--danger); border-radius: var(--radius); padding: 0.6rem 0.8rem; font-size: 0.8rem; margin-bottom: 1rem; }

.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 1rem; }
.admin-nav { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0 1rem 1rem; scrollbar-width: none; }
.admin-nav::-webkit-scrollbar { display: none; }
.admin-nav-link {
  flex-shrink: 0; font-family: var(--font-display); font-weight: 700; font-size: 0.78rem;
  padding: 0.5rem 0.9rem; border-radius: var(--radius-full); border: var(--border-w) solid var(--stroke); color: var(--text-muted);
}
.admin-nav-link.active { background: var(--color-primary); color: var(--color-on-primary); border-color: var(--color-primary); }
.admin-section { padding: 0 1rem 1.5rem; }
.admin-section .card { margin-bottom: 0.9rem; }
.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.7rem; padding: 0 1rem 1rem; }
.stat-tile { background: var(--surface); border: var(--border-w) solid var(--stroke); border-radius: var(--radius-lg); padding: 0.9rem; }
.stat-tile .label { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; margin-bottom: 0.3rem; }
.stat-tile .value { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; }
.table-wrap { overflow-x: auto; margin: 0 1rem 1rem; }
.simple-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; font-size: 0.78rem; }
.simple-table th, .simple-table td { padding: 0.55rem 0.7rem; text-align: left; border-bottom: var(--border-w) solid var(--stroke); white-space: nowrap; }
.simple-table th { background: var(--surface-2); font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); }
.simple-table tr:last-child td { border-bottom: none; }
.status-pill.ACTIVE { background: var(--success-bg); color: var(--success); }
.status-pill.CANCELLED { background: var(--danger-bg); color: var(--danger); }
.inline-form { display: flex; gap: 0.5rem; align-items: end; flex-wrap: wrap; }
.btn-sm { height: 34px; padding: 0 0.9rem; font-size: 0.75rem; border-radius: var(--radius-full); border: var(--border-w) solid var(--stroke); background: var(--surface); color: var(--text); font-family: var(--font-display); font-weight: 700; }
.btn-sm.danger { color: var(--danger); border-color: var(--danger-bg); background: var(--danger-bg); }
.cafe-toggle-card {
  margin: 0 1rem 1rem; padding: 1.2rem; border-radius: var(--radius-xl); background: var(--color-primary); color: var(--color-on-primary);
  display: flex; align-items: center; justify-content: space-between;
}
.switch { position: relative; width: 52px; height: 30px; }
.switch input { opacity: 0; width: 100%; height: 100%; position: absolute; margin: 0; cursor: pointer; }
.switch .track { position: absolute; inset: 0; background: rgba(22,15,9,0.25); border-radius: var(--radius-full); transition: background 0.2s; }
.switch .thumb { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; background: var(--color-on-primary); border-radius: var(--radius-sm); transition: transform 0.2s; }
.switch input:checked + .track { background: var(--color-secondary); }
.switch input:checked ~ .thumb { transform: translateX(22px); }

.order-row { background: var(--surface); border: var(--border-w) solid var(--stroke); border-radius: var(--radius-lg); padding: 0.9rem; margin: 0 1rem 0.7rem; }
.order-row .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.3rem; }
.order-row .num { font-family: var(--font-display); font-weight: 800; }
.status-pill { font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.55rem; border-radius: var(--radius-full); font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; }
.status-pill.RECEIVED { background: var(--surface-3); color: var(--text-muted); }
.status-pill.PREPARING { background: rgba(242,184,79,0.16); color: var(--color-secondary); }
.status-pill.READY { background: var(--info-bg); color: var(--info); }
.status-pill.COMPLETED { background: var(--success-bg); color: var(--success); }
.status-pill.CANCELLED { background: var(--danger-bg); color: var(--danger); }
.order-row .items { color: var(--text-muted); font-size: 0.78rem; margin: 0.3rem 0 0.6rem; }
.order-row select { width: 100%; border: var(--border-w) solid var(--stroke); border-radius: var(--radius); padding: 0.5rem 0.7rem; font-family: var(--font-body); font-size: 0.82rem; background: var(--surface-2); }

@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
