/* P Chops site styles.
   Order of this file: page and photo background, home, menu, cart, checkout, orders,
   look and feel (colours), admin, payment, order-placed screen, welcome page, complaints, home hero card. */

:root {
  --cream: #fff6e6;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sans);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

.ic {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Photo background layer (your pictures) ---------- */

.screen-bg {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(560px, 100%);
  height: 100vh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.screen-bg i {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  height: 140%;
  background: url("../images/menu-bg.jpg") center / cover no-repeat;
  animation: pan 36s ease-in-out infinite alternate;
}

.screen-bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

@keyframes pan {
  from {
    transform: translateY(-7%);
  }
  to {
    transform: translateY(7%);
  }
}

/* ---------- Column and screens ---------- */

.app {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  padding-bottom: 130px;
  box-shadow: 0 0 80px rgba(0, 0, 0, 0.8);
  overflow-x: hidden;
}

.screen {
  display: none;
}

.screen.active {
  display: block;
  animation: fade 0.3s ease;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Top bar and search ---------- */

.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.brand i {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 16px;
}

.where {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

.where .ic {
  width: 14px;
  height: 14px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  margin: 14px 20px 0;
  padding: 0 8px 0 18px;
  color: var(--ink);
  border-radius: 999px;
}

.search > .ic {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  font-size: 14px;
}

.filter {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.filter .ic {
  width: 18px;
  height: 18px;
}

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s;
}

.btn-red:hover {
  transform: translateY(-3px) scale(1.06);
}

.btn-red:disabled {
  cursor: not-allowed;
  transform: none;
}

.btn-red .ic {
  width: 16px;
  height: 16px;
}

/* ---------- Category circles ---------- */

.cats {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 22px 20px 6px;
  scrollbar-width: none;
}

.cats::-webkit-scrollbar {
  display: none;
}

.cat {
  flex: 0 0 auto;
  width: 70px;
  text-align: center;
}

.cat .bub {
  width: 64px;
  height: 64px;
  margin: 0 auto 8px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.2s;
}

.cat .bub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat .bub .ic {
  width: 28px;
  height: 28px;
}

.cat span {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.mono {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.02em;
}

/* ---------- Section heads and hints ---------- */

.sec-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 20px 4px;
}

.sec-head h2 {
  font-size: 19px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.sec-head a {
  font-size: 12px;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hint {
  padding: 6px 20px 0;
  font-size: 11.5px;
  line-height: 1.5;
  color: #e6dacd;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
}

.page-head .hint {
  padding-bottom: 2px;
}

/* ---------- Meal cards (big photo) ---------- */

.rail {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 18px 20px 30px;
  scrollbar-width: none;
}

.rail::-webkit-scrollbar {
  display: none;
}

.meal {
  position: relative;
  flex: 0 0 188px;
  scroll-snap-align: start;
  border-radius: 20px;
  padding: 9px 9px 14px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  transition:
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease;
}

.meal img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.photo {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.photo .mono {
  font-size: 56px;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.flag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.meal h3 {
  margin-top: 10px;
  padding: 0 2px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  min-height: 36px;
}

.meal .foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 0 2px;
}

.price {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  display: grid;
  place-items: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.plus:disabled {
  cursor: not-allowed;
}

/* ---------- Promo banner ---------- */

.promo {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 6px 20px 0;
  padding: 20px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.promo .txt {
  flex: 1;
  min-width: 0;
}

.promo small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.promo h3 {
  margin-top: 4px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.15;
}

.promo .btn-red {
  margin-top: 12px;
  height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.promo .pc {
  flex: 0 0 116px;
  height: 116px;
  border-radius: 50%;
  border: 4px solid #fff;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.promo .pc img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo .bubble {
  position: absolute;
  right: 12px;
  top: 10px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  transform: rotate(8deg);
  box-shadow: 0 8px 14px rgba(0, 0, 0, 0.3);
  pointer-events: none;
}

.promo .bubble b {
  display: block;
  font-size: 12px;
  font-weight: 800;
}

.home-foot {
  padding: 12px 20px 6px;
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.home-foot a {
  font-weight: 700;
}

.home-foot small {
  display: block;
  font-size: 12px;
  color: #dcd0c3;
}

/* ---------- Menu screen ---------- */

.page-head {
  position: sticky;
  top: 56px;
  z-index: 50;
  padding-bottom: 6px;
  backdrop-filter: blur(10px);
}

.page-head h1 {
  padding: 14px 20px 0;
  font-size: 26px;
  font-weight: 800;
}

.page-head .cats {
  padding-top: 12px;
}

.board {
  padding: 4px 20px 20px;
}

.group {
  margin: 22px 0 12px;
  font-size: 19px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.grid .meal {
  flex: none;
}

.empty {
  text-align: center;
  padding: 60px 0;
  color: #e6dacd;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* ---------- Orders and Cart ---------- */

.simple-head {
  padding: 24px 20px 0;
}

.simple-head h1 {
  font-size: 28px;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.simple-head p {
  margin-top: 4px;
  font-size: 13px;
  color: #e6dacd;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.panel {
  margin: 18px 20px 0;
  padding: 20px;
  border-radius: 22px;
}

.track {
  display: flex;
  gap: 10px;
}

.track input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  outline: 0;
  font: inherit;
  font-size: 14px;
}

.track .btn-red {
  margin-top: 0;
  height: 48px;
  padding: 0 22px;
}

.note {
  margin-top: 10px;
  min-height: 18px;
  font-size: 12px;
}

.panel.center {
  text-align: center;
  padding: 34px 22px;
}

.ring {
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 2px dashed var(--red);
  display: grid;
  place-items: center;
}

.ring .ic {
  width: 62px;
  height: 62px;
  stroke-width: 1.5;
}

.panel.center h2 {
  font-size: 20px;
  font-weight: 800;
}

.panel.center p {
  margin: 6px auto 18px;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.panel.center .btn-red {
  margin-top: 0;
}

.ticket-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.panel h2.t {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 800;
}

.cut {
  margin: 16px 0;
  border-top: 2px dashed var(--line);
}

.steps {
  list-style: none;
}

.steps li {
  position: relative;
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
}

.steps li::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 26px;
  bottom: 2px;
  width: 2px;
  background: var(--line);
}

.steps li:last-child {
  padding-bottom: 0;
}

.steps li:last-child::before {
  display: none;
}

.dot {
  position: relative;
  z-index: 1;
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--red);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
}

.steps b {
  display: block;
  font-size: 14px;
}

.steps small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.ticket-empty {
  text-align: center;
}

.ticket-empty b {
  display: block;
  font-size: 15px;
}

.ticket-empty p {
  margin: 4px 0 14px;
  font-size: 12.5px;
  color: var(--muted);
}

.ticket-empty .btn-red {
  margin-top: 0;
}

/* ---------- WhatsApp and bottom nav ---------- */

.wa {
  position: fixed;
  right: max(16px, calc((100vw - 560px) / 2 + 16px));
  bottom: 104px;
  z-index: 65;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #1ea952;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.wa .ic {
  width: 25px;
  height: 25px;
}

.nav {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  z-index: 70;
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  border-radius: 24px 24px 0 0;
  padding: 10px 4px calc(10px + env(safe-area-inset-bottom, 0px));
}

.nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 4px 0;
  font-size: 10.5px;
  font-weight: 600;
}

.nav .center {
  margin-top: -34px;
}

.nav .orb {
  position: relative;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  color: #fff;
  display: grid;
  place-items: center;
  border: 5px solid #fff;
}

.nav .orb .ic {
  width: 26px;
  height: 26px;
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  font-size: 10px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.badge[hidden] {
  display: none;
}

/* ---------- Ingredients pop-out bubble ---------- */

.pop {
  position: fixed;
  z-index: 120;
  border-radius: 16px;
  padding: 12px 14px 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
  animation: popIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pop[hidden] {
  display: none;
}

.pop::after {
  content: "";
  position: absolute;
  left: var(--ax, 50%);
  bottom: -7px;
  width: 16px;
  height: 16px;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 3px;
}

.pop.below::after {
  bottom: auto;
  top: -7px;
}

.pop.float::after {
  display: none;
}

.pop-title {
  display: block;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.pop-label {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pop ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.pop li {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.meal.peek {
  box-shadow:
    0 0 0 3px var(--yellow),
    0 20px 36px rgba(0, 0, 0, 0.5);
}

/* ---------- Bouncy hover and press effects ---------- */

@media (hover: hover) {
  .meal:hover {
    transform: translateY(-8px) scale(1.07);
    box-shadow: 0 26px 40px rgba(0, 0, 0, 0.55);
    z-index: 5;
  }

  .meal:hover .photo img,
  .meal:hover .photo .mono {
    transform: scale(1.14);
  }

  .meal:hover .plus {
    transform: scale(1.18) rotate(90deg);
  }

  .cat:hover .bub {
    transform: translateY(-5px) scale(1.14);
  }

  .promo:hover {
    transform: scale(1.025);
  }
}

.meal.pressing {
  transform: scale(0.96);
}

.plus:active {
  transform: scale(0.88);
}

.cat:active .bub {
  transform: scale(0.92);
}

@media (prefers-reduced-motion: reduce) {
  .screen-bg i,
  .screen.active,
  .pop {
    animation: none;
  }

  .meal,
  .cat .bub,
  .plus,
  .btn-red,
  .promo,
  .photo img,
  .photo .mono {
    transition: none;
  }

  .meal:hover,
  .cat:hover .bub,
  .btn-red:hover,
  .promo:hover {
    transform: none;
  }
}

/* ---------- Cart ---------- */

.citem {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.citem:first-child {
  padding-top: 0;
}

.citem:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cthumb {
  flex: 0 0 64px;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
}

.cthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cthumb .mono {
  font-size: 22px;
}

.cinfo {
  flex: 1;
  min-width: 0;
}

.cinfo b {
  display: block;
  font-size: 13px;
  line-height: 1.3;
}

.cp {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted);
}

.qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 3px;
  border-radius: 999px;
}

.qty button {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  display: grid;
  place-items: center;
}

.qty span {
  min-width: 18px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}

.cright {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  align-self: stretch;
}

.cright b {
  font-size: 14px;
  font-weight: 800;
}

.del {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.sum .sline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 13.5px;
}

.sum .soft {
  color: var(--muted);
  font-size: 12px;
}

.sum .total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 2px dashed var(--line);
  font-size: 16px;
  font-weight: 600;
}

.sum .total b {
  font-size: 20px;
  font-weight: 800;
}

.btn-red.wide {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  height: 50px;
  font-size: 14px;
}

.link-btn {
  display: block;
  margin: 12px auto 0;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
}

#cart-full {
  padding-bottom: 10px;
}

.nav .orb.bump {
  animation: bump 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bump {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.plus.added {
  transform: scale(1.25);
  background: #1ea952;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 112px;
  transform: translate(-50%, 20px);
  z-index: 130;
  max-width: 90vw;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45);
  transition:
    opacity 0.25s,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Checkout form ---------- */

.back {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 12.5px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.fld {
  display: block;
  margin-top: 14px;
}

.ticket-label + .fld {
  margin-top: 10px;
}

.fld span {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
}

.fld input,
.fld select,
.fld textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  font: inherit;
  font-size: 14px;
  outline: 0;
  resize: vertical;
}

.loc-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 46px;
  margin-top: 16px;
  border: 2px dashed var(--red);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.loc-btn .ic {
  width: 18px;
  height: 18px;
}

.loc-btn.done {
  border-style: solid;
}

.loc-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.loc-note {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}

.sum .sline span {
  padding-right: 10px;
}

.sum .sline.sep {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.fine {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

#co-error:empty {
  display: none;
}

/* ---------- Orders ---------- */

.placed .t {
  letter-spacing: 0.06em;
}

.pnote {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.5;
}

.ocard .ohead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.ocard .ohead b {
  font-size: 16px;
  letter-spacing: 0.05em;
}

.ostat {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.owhen {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.oitems {
  list-style: none;
  margin-top: 12px;
}

.oitems li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 0;
  font-size: 13px;
}

.oprog {
  display: flex;
  gap: 5px;
  margin-top: 12px;
}

.oprog i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
}

.otot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 2px dashed var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

.otot b {
  font-size: 16px;
}

.opend {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
}

#orders-list .panel:first-child {
  margin-top: 18px;
}

/* ---------- Admin: login and frame ---------- */

.brandcol {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.admin-link {
  display: none;
  margin: 1px 0 0 38px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-link:hover {
  color: var(--yellow);
}

body[data-screen="home"] .admin-link {
  display: block;
}

body[data-screen="home"] .topbar {
  height: auto;
  min-height: 56px;
  padding-top: 7px;
  padding-bottom: 7px;
}

.adm-who {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.adm-who b {
  font-size: 16px;
}

.adm-who .link-btn {
  margin: 0;
}

.rolebadge {
  margin-left: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: 2px;
}

.adm-tabs {
  display: flex;
  gap: 8px;
  margin: 16px 20px 0;
  overflow-x: auto;
}

.adm-tabs button {
  flex: 1;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.adm-tabs button[hidden] {
  display: none;
}

.adm-soon {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

#adm-msg:empty {
  display: none;
}

/* ---------- Look and feel: black page, near-black cards, red buttons, yellow accents ---------- */

.note,
.loc-note + .note {
  color: var(--soft-red);
}

.fld input,
.fld select,
.fld textarea,
.track input {
  border-color: transparent;
}

.fld input,
.fld select,
.fld textarea,
.track input,
.search input {
  color-scheme: light;
}

.cat .bub {
  border-color: var(--edge);
}

.placed {
  border-color: #1ea952;
}

.nav a.active {
  opacity: 1;
}

.sec-head h2,
.simple-head h1,
.page-head h1,
.promo h3,
.panel h2.t,
.panel.center h2,
.group,
.pop-title {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.btn-red:disabled,
.plus:disabled {
  border-color: transparent;
}

.nav a {
  opacity: 1;
}

:root {
  --red: #e4002b;
  --red-d: #b80022;
  --yellow: #ffc531;
  --gold: #ffc531;
  --gold-2: #ffc531;
  --panel: #101010;
  --field: #1a1a1a;
  --edge: #232323;
  --ink: #ffffff;
  --muted: #9b9b9b;
  --line: #262626;
  --soft-red: #ffc531;
}

body {
  background: #000;
}

.screen-bg {
  background: #000;
}

.topbar {
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid #1c1c1c;
}

.brand i {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 16px rgba(228, 0, 43, 0.45);
}

.where {
  background: #141414;
  border: 1px solid var(--edge);
  color: #fff;
}

.where .ic {
  color: var(--yellow);
}

.admin-link {
  color: rgba(255, 255, 255, 0.55);
}

.back,
.sec-head a,
.home-foot a {
  color: var(--yellow);
}

.pill {
  background: var(--yellow);
  color: #111;
}

.btn-red,
.panel .btn-red,
.promo .btn-red,
.plus {
  background: linear-gradient(180deg, #ff1f47, #d0001f);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 22px rgba(228, 0, 43, 0.5);
}

.btn-red:hover {
  background: linear-gradient(180deg, #ff3358, #e4002b);
}

.plus {
  box-shadow: 0 8px 18px rgba(228, 0, 43, 0.55);
}

.btn-red:disabled,
.plus:disabled {
  background: #2a2a2a;
  color: #777;
  box-shadow: none;
}

.search {
  background: #141414;
  border: 1px solid var(--edge);
  box-shadow: none;
}

.search input {
  color: #fff;
}

.search input::placeholder {
  color: #8a8a8a;
}

.search > .ic {
  color: #fff;
}

.filter {
  background: #232323;
  color: #fff;
}

.cat .bub {
  background: #141414;
  color: #fff;
  border: 2px solid var(--edge);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.6);
}

.cat.active .bub {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow:
    0 0 0 3px rgba(228, 0, 43, 0.3),
    0 10px 22px rgba(228, 0, 43, 0.45);
}

.meal {
  border: 1px solid var(--edge);
  color: #fff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}

.photo {
  background: #1a1a1a;
}

.meal .price,
.price {
  color: #fff;
}

.flag {
  background: var(--yellow);
  color: #111;
}

.flag.new {
  background: var(--yellow);
  color: #111;
}

.flag.out {
  background: #3a3a3a;
  color: #ddd;
}

.mono {
  background: #1a1a1a;
  color: var(--red);
}

.promo {
  background: linear-gradient(120deg, #140509, #2a0a12);
  color: #fff;
  border: 1px solid #3a0f18;
}

.promo small {
  color: var(--yellow);
}

.promo .price {
  color: #fff;
}

.panel {
  border: 1px solid var(--edge);
  color: #fff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.6);
}

.ticket-label {
  color: var(--yellow);
}

.note {
  color: #ff7a7a;
}

.cthumb,
.del,
.qty {
  background: #1a1a1a;
}

.qty button {
  background: #2c2c2c;
  color: #fff;
  box-shadow: none;
}

.del {
  color: #9b9b9b;
}

.dot {
  background: var(--panel);
  border-color: var(--red);
  color: var(--red);
}

.ring {
  border-color: var(--red);
  color: var(--red);
  background: rgba(228, 0, 43, 0.08);
}

.link-btn {
  color: #9b9b9b;
}

.sum .total b {
  color: #fff;
}

.fld span {
  color: #9b9b9b;
}

.fld input,
.fld select,
.fld textarea,
.track input {
  background: #1a1a1a;
  color: #fff;
  border: 2px solid transparent;
  color-scheme: dark;
}

.fld input:focus,
.fld select:focus,
.fld textarea:focus,
.track input:focus {
  background: #222;
  border-color: var(--red);
}

.fld input::placeholder,
.fld textarea::placeholder,
.track input::placeholder {
  color: #7a7a7a;
}

.fld select option {
  background: #1a1a1a;
  color: #fff;
}

.loc-btn {
  border-color: var(--red);
  color: #fff;
}

.loc-btn.done {
  background: #0f2a19;
  border-color: #1ea952;
  color: #5fd08a;
}

.placed {
  background: #0f2a19;
  border: 2px solid #1ea952;
  color: #e6f5ea;
}

.placed .ticket-label {
  color: #5fd08a;
}

.pnote {
  color: #a9d9b9;
}

.ostat {
  background: #2e2410;
  color: var(--yellow);
}

.ostat.s-paid,
.ostat.s-accepted,
.ostat.s-preparing,
.ostat.s-ready,
.ostat.s-out_for_delivery {
  background: #10283f;
  color: #7cc0ff;
}

.ostat.s-delivered {
  background: #0f2e1a;
  color: #5fd08a;
}

.ostat.s-cancelled {
  background: #3a1412;
  color: #ff8a80;
}

.oprog i {
  background: #2a2a2a;
}

.oprog i.on {
  background: var(--red);
}

.opend {
  color: var(--yellow);
}

.otot b {
  color: #fff;
}

.rolebadge {
  background: #2e2410;
  color: var(--yellow);
}

.rolebadge.owner {
  background: var(--red);
  color: #fff;
}

.adm-tabs button {
  background: #1a1a1a;
  color: #fff;
}

.adm-tabs button.on {
  background: var(--red);
  color: #fff;
}

.nav {
  background: #0d0d0d;
  border-top: 1px solid #222;
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.7);
}

.nav a {
  color: #9b9b9b;
}

.nav a.active {
  color: var(--yellow);
  font-weight: 700;
}

.nav .orb {
  background: linear-gradient(180deg, #ff1f47, #d0001f);
  border-color: #0d0d0d;
  box-shadow: 0 10px 24px rgba(228, 0, 43, 0.55);
}

.badge {
  background: var(--yellow);
  color: #111;
}

.pop {
  background: #141414;
  color: #fff;
  border: 1px solid var(--edge);
}

.pop::after {
  background: #141414;
}

.pop-label {
  color: var(--yellow);
}

.pop li {
  background: #2a2a2a;
  color: #fff;
}

.toast {
  background: #141414;
  color: #fff;
  border: 1px solid var(--edge);
}

.screen-bg i {
  display: block;
  opacity: 1;
}

.screen-bg::after {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.55) 55%,
    rgba(0, 0, 0, 0.82) 100%
  );
}

body[data-screen="home"] .topbar {
  background: rgba(0, 0, 0, 0.35);
}

.meal {
  background: rgba(14, 14, 14, 0.86);
}

.panel {
  background: rgba(14, 14, 14, 0.9);
}

.page-head {
  background: rgba(0, 0, 0, 0.45);
}

/* ---------- Admin: live orders ---------- */

/* the admin screen uses the whole width on tablets and computers */

body[data-screen="admin"] .app {
  max-width: 1100px;
  padding-bottom: 40px;
}

body[data-screen="admin"] .screen-bg {
  width: 100%;
}

body[data-screen="admin"] .nav,
body[data-screen="admin"] .wa {
  display: none;
}

#adm-login .panel {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

#adm-panel-orders.panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.ord-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.ord-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 13px;
  color: #cfcfcf;
}

.dotlive {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2fbf6a;
  box-shadow: 0 0 0 4px rgba(47, 191, 106, 0.22);
}

.ord-status.lost {
  color: #ff9a8a;
}

.ord-status.lost .dotlive {
  background: #ff4d4d;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.25);
}

.ord-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.shift-btn {
  padding: 12px 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff1f47, #d0001f);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 8px 22px rgba(228, 0, 43, 0.45);
}

.shift-btn.on {
  background: #1ea952;
  box-shadow: 0 8px 22px rgba(30, 169, 82, 0.4);
}

.mini-btn {
  padding: 11px 16px;
  border-radius: 999px;
  background: #1a1a1a;
  border: 1px solid var(--edge);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}

.ord-help {
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: #b9b9b9;
}

/* flashing alarm banner and connection warning */

.adm-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 20px 0;
  padding: 16px 18px;
  border-radius: 16px;
  background: #e4002b;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  animation: alarm 0.8s ease-in-out infinite alternate;
}

.adm-alert[hidden],
.adm-lost[hidden] {
  display: none;
}

.adm-alert button {
  padding: 9px 16px;
  border-radius: 999px;
  background: #fff;
  color: #e4002b;
  font-weight: 800;
  font-size: 12px;
}

@keyframes alarm {
  from {
    background: #e4002b;
    box-shadow: 0 0 0 0 rgba(228, 0, 43, 0.6);
  }
  to {
    background: #7a0014;
    box-shadow: 0 0 26px 6px rgba(228, 0, 43, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .adm-alert {
    animation: none;
  }
}

.adm-lost {
  margin: 12px 20px 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: #3a1412;
  border: 1px solid #6b2a24;
  color: #ff9a8a;
  font-weight: 700;
  font-size: 13px;
}

/* sections and order cards */

.ord-h {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 24px 0 10px;
  font-size: 15px;
  font-weight: 800;
}

.ord-h span {
  padding: 2px 9px;
  border-radius: 999px;
  background: #222;
  font-size: 12px;
}

.ord-h.new {
  color: #ff6b7f;
}

.ord-h.pend,
.ord-h.done {
  color: #9b9b9b;
}

.ord-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
}

.oc {
  padding: 16px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--edge);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.5);
}

.oc.new {
  border-color: #e4002b;
  box-shadow:
    0 0 0 2px rgba(228, 0, 43, 0.35),
    0 14px 28px rgba(0, 0, 0, 0.5);
}

.oc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.oc-head b {
  font-size: 17px;
  letter-spacing: 0.04em;
}

.oc-time {
  margin-top: 2px;
  font-size: 12px;
  color: #9b9b9b;
}

.oc-who {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 700;
}

.oc-call {
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #1a1a1a;
  border: 1px solid var(--edge);
  color: #ffc531;
  font-weight: 700;
  font-size: 14px;
}

.oc-addr {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: #e6e6e6;
}

.oc-addr small {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: #9b9b9b;
}

.oc-notes {
  margin-top: 8px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #2a2008;
  color: #ffc531;
  font-size: 12.5px;
}

.oc-pin {
  margin-top: 10px;
}

.oc-maps {
  display: inline-block;
  padding: 9px 14px;
  border-radius: 999px;
  background: #10283f;
  color: #7cc0ff;
  font-weight: 700;
  font-size: 13px;
}

.oc-nopin {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #2a2a2a;
  color: #9b9b9b;
  font-size: 12px;
  font-weight: 600;
}

.oc-items {
  list-style: none;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.oc-items li {
  padding: 3px 0;
  font-size: 14.5px;
  font-weight: 600;
}

.oc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 13px;
  color: #9b9b9b;
}

.oc-foot b {
  font-size: 17px;
  color: #fff;
}

.oc-by {
  margin-top: 8px;
  font-size: 12px;
  color: #7fe0a2;
}

.act {
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border-radius: 12px;
  background: #2a2a2a;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
}

.act.accept {
  height: 56px;
  background: linear-gradient(180deg, #ff1f47, #d0001f);
  font-size: 17px;
  box-shadow: 0 8px 22px rgba(228, 0, 43, 0.5);
}

.act.test {
  background: #3a3014;
  color: #ffc531;
}

.act:disabled {
  opacity: 0.6;
  cursor: wait;
}

.ord-empty {
  padding: 36px 0;
  text-align: center;
  color: #9b9b9b;
  font-size: 14px;
}

/* ---------- Admin: menu manager ---------- */

#adm-panel-menu.panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.mm-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.mm-search {
  width: 100%;
  margin-top: 14px;
  padding: 13px 16px;
  border-radius: 14px;
  background: #1a1a1a;
  border: 1px solid var(--edge);
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.mm-search:focus {
  border-color: var(--red);
}

.mm-group {
  margin: 22px 0 8px;
  font-size: 14px;
  font-weight: 800;
  color: var(--yellow);
}

.mm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 10px;
}

.mmrow {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--edge);
}

.mmrow.off {
  opacity: 0.65;
}

.mm-thumb {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a1a;
}

.mm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mm-thumb .mono {
  font-size: 18px;
}

.mm-info {
  flex: 1;
  min-width: 0;
}

.mm-info b {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.mm-info span {
  font-size: 12.5px;
  color: #b9b9b9;
}

.mm-tog {
  padding: 9px 12px;
  border-radius: 999px;
  background: #3a1412;
  color: #ff9a8a;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.mm-tog.on {
  background: #0f2e1a;
  color: #5fd08a;
}

.mm-tog:disabled {
  opacity: 0.6;
}

.mm-edit {
  padding: 9px 14px;
  border-radius: 999px;
  background: #1a1a1a;
  border: 1px solid var(--edge);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.mm-modal {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.mm-modal[hidden] {
  display: none;
}

.mm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}

.mm-card {
  position: relative;
  width: min(520px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  padding: 20px;
  border-radius: 22px;
  background: #101010;
  border: 1px solid var(--edge);
  color: #fff;
}

.mm-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
}

.mm-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mm-checks {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  font-size: 13.5px;
}

.mm-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mm-checks input {
  width: 18px;
  height: 18px;
  accent-color: #e4002b;
}

.mm-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.mm-actions .act {
  margin-top: 0;
  flex: 1;
}

.mm-del {
  color: #ff9a8a !important;
}

.mm-logrow {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--panel);
  border: 1px solid var(--edge);
  font-size: 12.5px;
}

.mm-logrow b {
  display: block;
  font-size: 13px;
}

.mm-logrow small {
  color: #9b9b9b;
}

.mm-chg {
  font-weight: 800;
  color: var(--yellow);
}

.mm-by {
  color: #b9b9b9;
}

/* ---------- Admin: owner tools ---------- */

#adm-panel-owner.panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.ow-nav {
  display: flex;
  gap: 8px;
  margin: 14px 0 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.ow-nav button {
  padding: 10px 16px;
  border-radius: 999px;
  background: #1a1a1a;
  border: 1px solid var(--edge);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.ow-nav button.on {
  background: var(--red);
  border-color: var(--red);
}

.ow-card {
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--edge);
  color: #fff;
}

.ow-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.ow-stat {
  padding: 18px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--edge);
}

.ow-stat small {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--yellow);
}

.ow-stat b {
  display: block;
  margin: 6px 0 2px;
  font-size: 28px;
}

.ow-stat span {
  font-size: 13px;
  color: #b9b9b9;
}

.ow-line {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
}

.ow-line:last-child {
  border-bottom: 0;
}

.ow-line span:nth-child(2) {
  color: #b9b9b9;
}

.ow-line b {
  text-align: right;
}

.ow-filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px;
}

.ow-card .fld {
  margin-top: 10px;
}

.ow-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.ow-btns .act {
  width: auto;
  margin-top: 0;
  padding: 0 18px;
  height: 44px;
  font-size: 13px;
}

.ow-sum {
  margin: 14px 2px 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow);
}

.rcrow {
  display: grid;
  grid-template-columns: 1.3fr 1.1fr 0.9fr 1.5fr;
  gap: 10px;
  align-items: center;
  margin-top: 8px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--edge);
  font-size: 13.5px;
}

.rcrow small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: #9b9b9b;
  word-break: break-word;
}

.rc-pay {
  text-align: right;
}

.rc-pay b {
  font-size: 15px;
}

#rc-more {
  width: auto;
  margin: 14px 0 0;
  padding: 0 22px;
}

.ow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.ow-row input:not([type="checkbox"]) {
  flex: 1 1 140px;
  min-width: 0;
  padding: 11px 14px;
  border-radius: 12px;
  background: #1a1a1a;
  border: 2px solid transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  outline: 0;
}

.ow-row input:focus {
  border-color: var(--red);
}

.ow-row .ar-f {
  flex: 0 1 110px;
}

.ow-row .act {
  width: auto;
  margin-top: 0;
  padding: 0 20px;
  height: 44px;
}

.ar-a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.ar-a input {
  width: 18px;
  height: 18px;
  accent-color: #e4002b;
}

@media (max-width: 640px) {
  .rcrow {
    grid-template-columns: 1fr 1fr;
  }

  .rc-pay {
    text-align: left;
  }
}

/* ---------- Payment overlay ---------- */

.payov {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-align: center;
}

.payov[hidden] {
  display: none;
}

.payspin {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid #333;
  border-top-color: #e4002b;
  animation: payspin 0.9s linear infinite;
}

@keyframes payspin {
  to {
    transform: rotate(360deg);
  }
}

.paybtn {
  margin-top: 14px;
}

.paychk {
  display: block;
  margin: 10px auto 0;
}

/* ---------- Checkout: payment method list and agreement box ---------- */

.payopts {
  display: grid;
  gap: 10px;
  margin: 8px 0 4px;
}

.payopt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.payopt:has(input:checked) {
  border-color: #ffc531;
}

.payopt input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #ffc531;
  flex: none;
}

.agree {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 6px;
  font-size: 13px;
  line-height: 1.45;
  color: #cfcfcf;
  cursor: pointer;
}

.agree input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #e4002b;
  flex: none;
}

.agree strong {
  color: #fff;
}

/* ---------- Order-placed screen and confetti ---------- */

.placed-hero {
  text-align: center;
  padding: 22px 8px 14px;
}

.placed-hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: #2ee67a;
  margin: 0 0 8px;
}

.placed-hero p {
  margin: 0 0 4px;
  color: #cfcfcf;
  font-size: 15px;
  line-height: 1.5;
}

.placed-hero .placed-eta {
  color: #ffc531;
  font-weight: 600;
}

.pcard {
  margin-top: 10px;
}

.pcard .plrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
  color: #fff;
}

.pcard .plrow.head span {
  color: #bdbdbd;
}

.pcard .plcode {
  color: #ffc531;
  letter-spacing: 0.5px;
}

.pcard .plrow.soft {
  color: #bdbdbd;
}

.pcard .plrow.total {
  font-size: 17px;
  font-weight: 700;
  padding-top: 10px;
}

.pcard .plrow.total b {
  color: #2ee67a;
}

.pcard .plwhen {
  color: #9a9a9a;
  font-size: 13px;
  margin-bottom: 8px;
}

.pcard .plwho {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.pcard .plwhere {
  color: #bdbdbd;
  font-size: 13px;
  margin-top: 2px;
  line-height: 1.45;
}

.pcard .plsep {
  border-top: 1px solid #2a2a2a;
  margin: 10px 0;
}

.pcard .plpaid {
  margin-top: 8px;
  color: #ffc531;
  font-size: 13px;
}

.btn-wa,
.btn-dark,
.pl-track {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
  margin-top: 12px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.btn-wa {
  background: #25d366;
  color: #052e16;
}

.btn-dark {
  background: #141414;
  color: #fff;
  border: 1px solid #2a2a2a;
}

.pl-fine {
  text-align: center;
  color: #9a9a9a;
  font-size: 12px;
  margin: 14px 0 4px;
}

.pl-home {
  display: block;
  text-align: center;
  color: #bdbdbd;
  padding: 10px;
  text-decoration: none;
}

.confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 60;
}

.confetti i {
  position: absolute;
  top: -14px;
  width: 8px;
  height: 14px;
  opacity: 0.95;
  animation: cf-fall linear forwards;
}

@keyframes cf-fall {
  to {
    transform: translate3d(var(--dx), 110vh, 0) rotate(var(--rot));
  }
}

@media (prefers-reduced-motion: reduce) {
  .confetti {
    display: none;
  }
}

/* ---------- My orders: progress, ready time, buttons ---------- */

.notyou {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #ffc531;
  text-decoration: underline;
  cursor: pointer;
}

.oprog4 {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin: 14px 0 6px;
}

.ostep {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #8f8f8f;
}

.ostep i {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #2a2a2a;
  color: #cfcfcf;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
}

.ostep.done {
  color: #fff;
}

.ostep.done i {
  background: #19e57a;
  color: #04210f;
}

.ostep.now i {
  box-shadow:
    0 0 0 4px rgba(25, 229, 122, 0.25),
    0 0 14px rgba(25, 229, 122, 0.5);
}

.oeta {
  text-align: center;
  color: #ffc531;
  font-weight: 700;
  font-size: 14px;
  margin: 10px 0 4px;
}

.obtns {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.obtn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 0;
  background: #1a1a1a;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.ofine {
  margin: 10px 0 0;
  font-size: 11px;
  color: #8f8f8f;
}

/* ---------- Welcome page and "Hi NAME" line ---------- */

body.wl-open {
  overflow: hidden;
}

.welcome {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
  overflow-y: auto;
}

.wl-card {
  width: 100%;
  max-width: 440px;
  margin: 0;
}

.wl-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.wl-brand i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e4002b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 800;
}

.wl-brand span {
  font-family: "Playfair Display", serif;
  font-size: 22px;
  color: #fff;
}

.wl-card h1 {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  text-align: center;
  margin: 8px 0;
  color: #fff;
}

.wl-sub {
  text-align: center;
  color: #cfcfcf;
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.hi-line {
  margin: 4px 4px 14px;
  font-size: 16px;
  font-weight: 600;
  color: #fff;
}

/* ---------- Complaints ---------- */

#cp-modal .mm-card {
  max-height: 92vh;
  overflow-y: auto;
}

#cp-modal .payopts {
  margin: 8px 0 14px;
}

.cp-item {
  margin-top: 10px;
}

.cp-msg {
  margin: 8px 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
}

.cp-item a.act {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* ---------- Home uses the same background photo as the Menu ---------- */

body[data-screen="home"] .screen-bg i {
  background-image: url("../images/menu-bg.jpg");
  animation-duration: 36s;
}

body[data-screen="home"] .screen-bg::after {
  background: linear-gradient(
    180deg,
    rgba(10, 8, 7, 0.45) 0%,
    rgba(10, 8, 7, 0.62) 50%,
    rgba(10, 8, 7, 0.85) 100%
  );
}

/* ---------- Home hero card: write-up on the left, logo on the right, bounce ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 320px;
  margin: 8px 0 18px;
  padding: 24px 20px;
  text-align: left;
  background: #0b0b0b;
  border: 1px solid #2a2a2a;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../images/home-banner-dark.jpg") right -24px center / auto
    108% no-repeat;
  transform-origin: 70% 60%;
  will-change: transform;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.62) 42%,
    rgba(0, 0, 0, 0.08) 78%
  );
}
.hero > * {
  position: relative;
  z-index: 2;
}
.hero-logo {
  display: none;
}
.hero-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #ffc531;
  color: #101010;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.hero h1 {
  max-width: 62%;
  margin: 10px 0 8px;
  font-family: "Playfair Display", serif;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.hero p {
  max-width: 62%;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #cfcfcf;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}
.hero .btn-red {
  margin-top: 4px;
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 26px;
  }
}
.hero.bounce::before {
  animation: hero-bounce 1s cubic-bezier(0.28, 0.84, 0.42, 1);
}
@keyframes hero-bounce {
  0% {
    transform: translateY(-46px) scale(0.92);
  }
  30% {
    transform: translateY(0) scale(1.05);
  }
  50% {
    transform: translateY(-18px) scale(1);
  }
  70% {
    transform: translateY(0) scale(1.02);
  }
  85% {
    transform: translateY(-6px) scale(1);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero.bounce::before {
    animation: none;
  }
}
/* ---------- Menu: the category row stays on screen while scrolling ---------- */
.app {
  overflow-x: clip;
}
.page-head {
  display: contents;
}
#menu-cats {
  position: sticky;
  top: 56px;
  z-index: 50;
  padding: 10px 20px 8px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1c1c1c;
}
#menu-cats .bub {
  width: 52px;
  height: 52px;
  margin-bottom: 5px;
}
#menu-cats .bub .ic {
  width: 24px;
  height: 24px;
}
