/* ═══════════════════════════════════════════════
   PAPYON – Pizza & Döner  ·  Custom Styles
   ═══════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────── */
:root {
  --bg:     #0b0b0f;
  --card:   #12121a;
  --line:   rgba(255, 255, 255, .08);
  --gold:   #d2b100;
  --gold-h: #e8c800;
  --muted:  rgba(255, 255, 255, .65);
  --danger: #dc3545;
  --radius: 14px;
}

/* ── Base ──────────────────────────────────────── */
body {
  background: linear-gradient(180deg, #07070a, #0b0b0f);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

a { color: var(--gold); }
a:hover { color: var(--gold-h); }

/* ── Brand / Topbar ────────────────────────────── */
.brand { letter-spacing: .12em; }

.sticky-topbar {
  position: sticky;
  top: 0;
  z-index: 1020;
  background: rgba(7, 7, 10, .88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* ── Reusable Components ───────────────────────── */
.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: #fff;
  border-radius: 999px;
}

.cat-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
  color: #fff;
  border-radius: 10px;
  transition: all .2s ease;
}
.cat-btn:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}
.cat-btn.active {
  border-color: rgba(210, 177, 0, .6);
  box-shadow: 0 0 0 .2rem rgba(210, 177, 0, .15);
  background: rgba(210, 177, 0, .06);
  color: #fff;
}

.dish-card {
  background: rgba(255, 255, 255, .03);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease;
}
.dish-card:hover {
  border-color: rgba(210, 177, 0, .35);
}

/* ── Typography Helpers ────────────────────────── */
.muted   { color: var(--muted); }
.price   { font-weight: 800; }
.gold    { color: var(--gold); }
.fw-800  { font-weight: 800; }

.kbd {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  border: 1px solid var(--line);
  padding: .35rem .6rem;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .04);
}

/* ── Buttons ───────────────────────────────────── */
.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
  font-weight: 800;
  transition: all .2s ease;
}
.btn-gold:hover {
  background: var(--gold-h);
  border-color: var(--gold-h);
  color: #111;
}
.btn-gold:disabled {
  background: rgba(210, 177, 0, .4);
  border-color: rgba(210, 177, 0, .3);
  color: rgba(0, 0, 0, .5);
}

.btn-outline-gold {
  border-color: rgba(210, 177, 0, .55);
  color: #fff;
  transition: all .2s ease;
}
.btn-outline-gold:hover {
  background: rgba(210, 177, 0, .15);
  border-color: rgba(210, 177, 0, .7);
  color: #fff;
}

/* ── Forms ─────────────────────────────────────── */
.form-select,
.form-control {
  background: #0b0b10;
  color: #fff;
  border: 1px solid var(--line);
}
.form-select:focus,
.form-control:focus {
  background: #0d0d14;
  color: #fff;
  border-color: rgba(210, 177, 0, .6);
  box-shadow: 0 0 0 .2rem rgba(210, 177, 0, .15);
}
.form-check-input {
  background-color: rgba(255, 255, 255, .08);
  border-color: var(--line);
}
.form-check-input:checked {
  background-color: var(--gold);
  border-color: var(--gold);
}
.form-check-input:focus {
  box-shadow: 0 0 0 .2rem rgba(210, 177, 0, .2);
}

.input-group-text {
  background: #0b0b10;
  border-color: var(--line);
  color: #fff;
}

/* ── Offcanvas (Cart) ──────────────────────────── */
.offcanvas {
  background: #0d0d13;
  color: #fff;
}

/* ── Modal ─────────────────────────────────────── */
.modal-content {
  background: #0d0d13;
  color: #fff;
  border: 1px solid var(--line);
}

/* ── Status Dots ───────────────────────────────── */
.status-dot {
  width: .6rem;
  height: .6rem;
  border-radius: 50%;
  display: inline-block;
  margin-right: .4rem;
}
.dot-new      { background: #0dcaf0; }
.dot-in       { background: #ffc107; }
.dot-done     { background: #198754; }
.dot-handed   { background: #6f42c1; }
.dot-canceled { background: var(--danger); }

/* ── Kitchen Order Cards ───────────────────────── */
.dish-card.kitchen-order {
  cursor: pointer;
}
.dish-card.kitchen-order:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, .05);
}

/* ── Description text ──────────────────────────── */
.dish-desc {
  color: var(--muted);
  font-size: .82rem;
  line-height: 1.35;
}

/* ── Allergen badges ───────────────────────────── */
.allergen-badge {
  display: inline-block;
  font-size: .65rem;
  padding: .1rem .35rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  color: var(--muted);
  margin-right: 2px;
}

/* ── Responsive tweaks ─────────────────────────── */
@media (max-width: 768px) {
  .pill { font-size: .8rem; padding: .4rem .7rem !important; }
  .sticky-topbar .container { flex-wrap: wrap; }
}

/* ── Mobile Category Slider ────────────────────── */
.cat-slider-wrap {
  position: sticky;
  top: 62px;  /* below topbar */
  z-index: 1010;
  background: rgba(7, 7, 10, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.cat-slider {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cat-slider::-webkit-scrollbar { display: none; }

.cat-chip {
  flex-shrink: 0;
  padding: 8px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.cat-chip:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.cat-chip.active {
  background: rgba(210, 177, 0, .15);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 0 1px rgba(210, 177, 0, .2);
}

/* ── Desktop sidebar sticky ────────────────────── */
.cat-sidebar-sticky {
  position: sticky;
  top: 80px;
}

/* ── Mobile dish card tweaks ───────────────────── */
@media (max-width: 575px) {
  .dish-card .dish-desc { font-size: .75rem; }
  .dish-card .allergen-badge { font-size: .6rem; padding: .05rem .25rem; }
  .dish-card .price { font-size: .9rem; }
  .dish-card .fw-bold { font-size: .88rem; }
  .dish-card .form-select-sm { font-size: .78rem; }
  .dish-card .btn-sm { font-size: .78rem; padding: .4rem .6rem; }
  /* Offcanvas full width on mobile */
  .offcanvas { width: 100% !important; }
}

/* ── Animations ────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.dish-card {
  animation: fadeIn .25s ease forwards;
}


/* ═══════════════════════════════════════════════════
   KITCHEN PANEL – Ergonomic Dashboard
   ═══════════════════════════════════════════════════ */

/* ── Login ─────────────────────────────────────── */
.k-login-card {
  background: rgba(255,255,255,.04);
  border: 1px solid var(--line);
  border-radius: 20px;
}
.k-login-icon {
  font-size: 3rem;
  color: var(--gold);
}

/* ── Toolbar ───────────────────────────────────── */
.k-toolbar {
  padding: .75rem 1rem;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.k-fire-icon {
  font-size: 1.8rem;
  color: #ff6b35;
}
.k-search-group {
  max-width: 220px;
}
.k-search-group .input-group-text {
  background: #0b0b10;
  border-color: var(--line);
  color: var(--muted);
}

/* ── Filter Bar ────────────────────────────────── */
.k-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s ease;
  white-space: nowrap;
}
.k-filter-btn:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.k-filter-btn.active {
  background: rgba(210,177,0,.1);
  border-color: rgba(210,177,0,.5);
  color: #fff;
}
.k-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.k-filter-count {
  background: rgba(255,255,255,.08);
  padding: 1px 7px;
  border-radius: 999px;
  font-size: .75rem;
  min-width: 22px;
  text-align: center;
}

/* ── Order Cards Grid ──────────────────────────── */
.k-order-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 0;
  border: 2px solid var(--st-border, var(--line));
  border-radius: 16px;
  background: var(--st-bg, rgba(255,255,255,.03));
  color: #fff;
  cursor: pointer;
  transition: all .15s ease;
  overflow: hidden;
  text-align: left;
  position: relative;
}
.k-order-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.4);
  border-color: var(--st-color, var(--gold));
}
.k-order-card:active {
  transform: translateY(0);
}

.k-card-status-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(0,0,0,.25);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--st-color, #fff);
}

.k-card-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-align: center;
  padding: 10px 14px 4px;
  color: #fff;
  line-height: 1;
}

.k-card-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 14px 8px;
}
.k-card-price {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--gold);
}
.k-card-items {
  font-size: .8rem;
  color: var(--muted);
}

.k-card-pickup {
  padding: 4px 14px 6px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
}
.k-card-pickup i {
  margin-right: 4px;
}

.k-card-time {
  padding: 6px 14px 10px;
  font-size: .72rem;
  color: rgba(255,255,255,.4);
}

.k-card-notes {
  margin-left: auto;
  color: var(--gold);
  font-size: .72rem;
}

/* ── Order Type badges (card) ──────────────────── */
.k-card-type {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 14px;
  text-align: center;
}
.k-type-pickup {
  color: #51cf66;
  background: rgba(81,207,102,.08);
}
.k-type-delivery {
  color: #ff922b;
  background: rgba(255,146,43,.1);
}
.k-card-delivery {
  border-color: rgba(255,146,43,.4) !important;
}
.k-card-delivery:hover {
  border-color: #ff922b !important;
}

.k-card-customer {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  padding: 0 14px 2px;
  color: rgba(255,255,255,.7);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Order Type badge (modal) ──────────────────── */
.k-modal-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 18px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.k-modal-type-badge.k-type-pickup {
  background: rgba(81,207,102,.12);
  border: 1px solid rgba(81,207,102,.3);
}
.k-modal-type-badge.k-type-delivery {
  background: rgba(255,146,43,.12);
  border: 1px solid rgba(255,146,43,.3);
}

/* ── Customer / Delivery section in modal ──────── */
.k-section-delivery {
  background: rgba(255,146,43,.04);
  border-left: 3px solid rgba(255,146,43,.5);
}
.k-section-pickup {
  background: rgba(81,207,102,.03);
  border-left: 3px solid rgba(81,207,102,.4);
}

.k-customer-info {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.k-customer-name {
  font-size: 1.1rem;
  font-weight: 800;
}
.k-customer-phone a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}
.k-customer-phone a:hover { text-decoration: underline; }

.k-address-block {
  padding: 8px 12px;
  background: rgba(0,0,0,.2);
  border-radius: 10px;
  font-size: .95rem;
  line-height: 1.5;
}

.k-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 700;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--line);
}

/* ── Order Type Toggle (public cart) ───────────── */
.order-type-btn {
  border: 2px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--muted);
  font-weight: 700;
  border-radius: 12px;
  transition: all .2s ease;
  padding: .65rem 1rem;
}
.order-type-btn:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.order-type-btn.active {
  border-color: var(--gold);
  background: rgba(210,177,0,.1);
  color: var(--gold);
  box-shadow: 0 0 0 1px rgba(210,177,0,.2);
}

/* ── Payment options ───────────────────────────── */
.pay-option {
  cursor: pointer;
  transition: all .15s ease;
}
.pay-option:hover {
  border-color: rgba(210,177,0,.4) !important;
}
.pay-option.active {
  border-color: var(--gold) !important;
  background: rgba(210,177,0,.06) !important;
}

/* ═══════════════════════════════════════════════════
   ORDER TRACKING – Customer live status view
   ═══════════════════════════════════════════════════ */

/* ── Confirmed hero ────────────────────────────── */
.ot-confirmed {
  background: rgba(25,135,84,.06);
  border-color: rgba(25,135,84,.3);
}
.ot-checkmark {
  font-size: 3rem;
  color: #198754;
  animation: otPop .4s ease;
}
@keyframes otPop {
  0%   { transform: scale(0); opacity: 0; }
  60%  { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}
.ot-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: .15em;
  margin-top: 8px;
  color: var(--gold);
  text-shadow: 0 2px 12px rgba(210,177,0,.3);
}

/* ── Live dot ──────────────────────────────────── */
.ot-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #198754;
  animation: otPulse 1.5s ease infinite;
}
.ot-live-dot.ot-live-stopped {
  animation: none;
  background: var(--muted);
}
@keyframes otPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(25,135,84,.5); }
  50%      { opacity: .6; box-shadow: 0 0 0 6px rgba(25,135,84,0); }
}

/* ── Pipeline ──────────────────────────────────── */
.ot-pipeline {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 12px 0;
}
.ot-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
.ot-step-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,.15);
  background: transparent;
  transition: all .3s ease;
}
.ot-step-label {
  font-size: .68rem;
  font-weight: 700;
  color: rgba(255,255,255,.3);
  text-align: center;
  white-space: nowrap;
  transition: color .3s ease;
}
.ot-step-line {
  flex: 1;
  height: 3px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  margin: 0 -2px;
  margin-bottom: 22px;
  transition: background .3s ease;
}

/* Step states */
.ot-step-done .ot-step-dot {
  border-color: #198754;
  background: #198754;
  box-shadow: 0 0 8px rgba(25,135,84,.4);
}
.ot-step-done .ot-step-label { color: #198754; }
.ot-line-done { background: #198754; }

.ot-step-active .ot-step-dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 12px rgba(210,177,0,.5);
  animation: otDotPulse 1.5s ease infinite;
}
.ot-step-active .ot-step-label {
  color: var(--gold);
  font-weight: 800;
}

@keyframes otDotPulse {
  0%, 100% { box-shadow: 0 0 8px rgba(210,177,0,.4); }
  50%      { box-shadow: 0 0 18px rgba(210,177,0,.7); }
}

.ot-step-canceled .ot-step-dot {
  border-color: rgba(220,53,69,.3);
  background: transparent;
}
.ot-step-canceled .ot-step-label { color: rgba(255,255,255,.15); }
.ot-line-canceled { background: rgba(220,53,69,.2); }

/* ── Status text ───────────────────────────────── */
.ot-status-text {
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
}
.ot-status-text i { margin-right: 6px; }

/* ── Time block ────────────────────────────────── */
.ot-time-block {
  text-align: center;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(210,177,0,.06);
  border: 1px solid rgba(210,177,0,.2);
  color: var(--gold);
  font-size: .95rem;
}
.ot-time-block i { margin-right: 6px; }

/* ── Canceled ──────────────────────────────────── */
.ot-canceled {
  text-align: center;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(220,53,69,.08);
  border: 1px solid rgba(220,53,69,.3);
  color: #ff6b6b;
  font-weight: 700;
}

/* ── Responsive tracking ───────────────────────── */
@media (max-width: 400px) {
  .ot-code { font-size: 2.2rem; }
  .ot-step-label { font-size: .6rem; }
  .ot-step-dot { width: 16px; height: 16px; border-width: 2px; }
}

/* ═══════════════════════════════════════════════════
   FULLSCREEN TRACKING SCREEN
   ═══════════════════════════════════════════════════ */
.ot-screen {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--bg);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.ot-screen-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.ot-header {
  text-align: center;
  padding: 8px 0 16px;
}
.ot-logo {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: .08em;
}
.ot-header-sub {
  font-size: .8rem;
  color: var(--muted);
  margin-top: -2px;
}

.ot-call-btn {
  font-size: 1.1rem;
  border-radius: 14px;
}

/* ── Order items list (tracking screen) ────────── */
.ot-item {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  align-items: flex-start;
}
.ot-item:last-child { border-bottom: none; }
.ot-item-qty {
  flex: 0 0 30px;
  font-weight: 900;
  color: var(--gold);
  font-size: .95rem;
}
.ot-item-info { flex: 1; min-width: 0; }

/* ── Modal ─────────────────────────────────────── */
.k-modal-content {
  background: #0c0c14 !important;
  border: 1px solid var(--line) !important;
  border-radius: 20px !important;
  overflow: hidden;
}

.k-modal-header {
  position: relative;
  text-align: center;
  padding: 28px 24px 20px;
  background: var(--st-bg, rgba(255,255,255,.04));
  border-bottom: 1px solid var(--line);
}
.k-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--muted);
  transition: color .15s;
}
.k-modal-close:hover { color: #fff; }

.k-modal-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,.5);
}

.k-modal-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 16px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  color: var(--st-color, #fff);
  background: rgba(0,0,0,.3);
}

.k-modal-meta {
  margin-top: 8px;
  font-size: .8rem;
  color: var(--muted);
}
.k-modal-meta i { vertical-align: middle; }

.k-modal-total {
  margin-top: 8px;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
}

/* ── Sections ──────────────────────────────────── */
.k-section {
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.k-section:last-child { border-bottom: none; }

.k-section-title {
  font-weight: 700;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.k-section-title i {
  margin-right: 6px;
  color: var(--gold);
}

/* ── Status Pipeline ───────────────────────────── */
.k-pipeline {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.k-status-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border: 2px solid var(--st-border, var(--line));
  border-radius: 12px;
  background: transparent;
  color: var(--st-color, #fff);
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s ease;
  flex: 1;
  justify-content: center;
  min-width: 100px;
}
.k-status-btn:hover {
  background: var(--st-bg, rgba(255,255,255,.05));
}
.k-status-btn.k-status-active {
  background: var(--st-bg, rgba(255,255,255,.08));
  box-shadow: 0 0 0 1px var(--st-color, var(--gold)), inset 0 0 20px rgba(0,0,0,.2);
  transform: scale(1.03);
}

/* ── Pickup Time ───────────────────────────────── */
.k-current-pickup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  background: rgba(210,177,0,.1);
  border: 1px solid rgba(210,177,0,.3);
  color: var(--gold);
  font-size: .9rem;
}
.k-pickup-clear {
  background: none;
  border: none;
  color: var(--danger);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 4px;
  line-height: 1;
}
.k-pickup-clear:hover { color: #ff6b6b; }

.k-pickup-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.k-pickup-quicks {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.k-pickup-quick {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s ease;
}
.k-pickup-quick:hover {
  background: rgba(210,177,0,.12);
  border-color: rgba(210,177,0,.4);
  color: var(--gold);
}

.k-pickup-manual {
  display: flex;
  gap: 8px;
  align-items: center;
  max-width: 220px;
}
.k-pickup-manual input[type="time"] {
  background: #0b0b10;
  color: #fff;
  border: 1px solid var(--line);
}
.k-pickup-manual input[type="time"]:focus {
  border-color: rgba(210,177,0,.6);
  box-shadow: 0 0 0 .2rem rgba(210,177,0,.15);
}

/* ── Notes ─────────────────────────────────────── */
.k-notes-row textarea {
  background: #0b0b10;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  resize: vertical;
}
.k-notes-row textarea:focus {
  border-color: rgba(210,177,0,.6);
  box-shadow: 0 0 0 .2rem rgba(210,177,0,.15);
}

/* ── Items List ────────────────────────────────── */
.k-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.k-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--line);
}
.k-item-qty {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
  min-width: 38px;
  text-align: center;
  flex-shrink: 0;
  padding-top: 2px;
}
.k-item-info {
  flex: 1;
  min-width: 0;
}
.k-item-name {
  font-weight: 700;
  font-size: 1rem;
}
.k-item-variant {
  font-size: .8rem;
  color: var(--muted);
}
.k-item-price {
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── Ingredient Modifications (prominent) ──────── */
.k-mod-block {
  margin-top: 6px;
  padding: 6px 10px;
  border-radius: 8px;
}
.k-mod-block.k-mod-remove {
  background: rgba(220,53,69,.1);
  border: 1px solid rgba(220,53,69,.25);
}
.k-mod-block.k-mod-add {
  background: rgba(81,207,102,.08);
  border: 1px solid rgba(81,207,102,.2);
}
.k-mod-label {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 4px;
}
.k-mod-remove .k-mod-label { color: #ff6b6b; }
.k-mod-add .k-mod-label    { color: #51cf66; }

.k-mod-tag {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 700;
  margin: 2px 4px 2px 0;
}
.k-tag-remove {
  background: rgba(220,53,69,.2);
  color: #ff8a8a;
  border: 1px solid rgba(220,53,69,.3);
}
.k-tag-add {
  background: rgba(81,207,102,.15);
  color: #7ae098;
  border: 1px solid rgba(81,207,102,.25);
}

/* Item with modifications gets subtle highlight */
.k-item.k-item-has-mods {
  border-color: rgba(220,53,69,.3);
  background: rgba(220,53,69,.04);
}

.k-mod {
  font-size: .8rem;
  margin-top: 3px;
  font-weight: 600;
}
.k-mod i { margin-right: 4px; }
.k-mod-remove { color: #ff6b6b; }
.k-mod-add    { color: #51cf66; }

/* ── Kitchen responsive ────────────────────────── */
@media (max-width: 575px) {
  .k-card-code { font-size: 2.2rem; }
  .k-modal-code { font-size: 3.2rem; }
  .k-pipeline { flex-direction: column; }
  .k-status-btn { min-width: auto; }
  .k-search-group { max-width: 160px; }
  .k-modal-content { border-radius: 0 !important; }
  #kOrderModal .modal-dialog { margin: 0; max-width: 100%; min-height: 100%; }
}
@media (min-width: 992px) {
  .k-card-code { font-size: 3rem; }
}

/* ── Refresh spin ──────────────────────────────── */
@keyframes kSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.k-spin i {
  animation: kSpin .6s ease;
}
