:root {
  color-scheme: light;
  --bg-top: #eef7ff;
  --bg-bottom: #fff6e7;
  --text: #1e2a35;
  --muted: #4f6476;
  --section-bg: rgba(255, 255, 255, 0.92);
  --section-border: #d2e1f0;
  --accent: #0d8fd3;
  --accent-dark: #0a70a6;
  --ok: #157a57;
  --error: #ad3131;
  --shadow: 0 10px 26px rgba(21, 62, 106, 0.09);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--bg-top), var(--bg-bottom));
  color: var(--text);
  font-family:
    "Inter",
    "Avenir Next",
    "Segoe UI",
    Roboto,
    sans-serif;
}

body.page-orders {
  background:
    radial-gradient(circle at 20% 0%, rgba(54, 145, 235, 0.2), transparent 38%),
    radial-gradient(circle at 85% 12%, rgba(28, 201, 163, 0.17), transparent 33%),
    linear-gradient(180deg, #f2fbff, #f9fff4 58%, #fff8ed);
}

body.page-admin {
  background:
    radial-gradient(circle at 10% 5%, rgba(255, 149, 61, 0.15), transparent 35%),
    radial-gradient(circle at 92% 14%, rgba(31, 142, 217, 0.16), transparent 30%),
    linear-gradient(180deg, #f7fbff, #fff7f0 58%, #fffef7);
}

body.page-team {
  background:
    linear-gradient(180deg, rgba(9, 36, 57, 0.52), rgba(29, 54, 36, 0.5)),
    url("/assets/themes/family-block-party.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.page-flyer {
  background:
    radial-gradient(circle at 50% -15%, rgba(255, 255, 255, 0.3), transparent 48%),
    linear-gradient(180deg, #f1f8ff, #fff9f4);
}

body.page-flyer.theme-kpop {
  background-image:
    linear-gradient(180deg, rgba(10, 8, 32, 0.64), rgba(29, 24, 71, 0.62)),
    url("/assets/themes/kpop-demon-hunters.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.page-order {
  background:
    linear-gradient(180deg, rgba(12, 18, 31, 0.54), rgba(12, 18, 31, 0.58)),
    url("/assets/themes/kpop-demon-hunters.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.page-order.theme-kpop {
  background-image:
    linear-gradient(180deg, rgba(10, 8, 32, 0.52), rgba(29, 24, 71, 0.58)),
    url("/assets/themes/kpop-demon-hunters.png");
}

body.page-order.theme-soccer {
  background-image:
    linear-gradient(180deg, rgba(8, 30, 22, 0.5), rgba(13, 56, 41, 0.54)),
    url("/assets/themes/soccer-stars.png");
}

body.page-order.theme-family {
  background-image:
    linear-gradient(180deg, rgba(34, 21, 8, 0.42), rgba(75, 41, 12, 0.48)),
    url("/assets/themes/family-block-party.png");
}

body.page-order.theme-neighbors {
  background-image:
    linear-gradient(180deg, rgba(8, 29, 45, 0.48), rgba(15, 52, 74, 0.54)),
    url("/assets/themes/neighbor-night.png");
}

body.page-order.theme-holiday {
  background-image:
    linear-gradient(180deg, rgba(45, 10, 15, 0.5), rgba(18, 53, 34, 0.52)),
    url("/assets/themes/holiday-glow.png");
}

body.page-order.theme-arcade {
  background-image:
    linear-gradient(180deg, rgba(12, 10, 31, 0.48), rgba(31, 14, 52, 0.5)),
    url("/assets/themes/kids-arcade.png");
}

body.page-order.theme-pop-stop {
  background-image:
    linear-gradient(180deg, rgba(18, 4, 42, 0.24), rgba(34, 6, 56, 0.28)),
    url("/assets/themes/pop-stop-bg.png");
}

body.page-flyer.theme-soccer {
  background-image:
    linear-gradient(180deg, rgba(8, 30, 22, 0.64), rgba(13, 56, 41, 0.6)),
    url("/assets/themes/soccer-stars.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.page-flyer.theme-family {
  background-image:
    linear-gradient(180deg, rgba(34, 21, 8, 0.57), rgba(75, 41, 12, 0.53)),
    url("/assets/themes/family-block-party.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.page-flyer.theme-neighbors {
  background-image:
    linear-gradient(180deg, rgba(8, 29, 45, 0.6), rgba(15, 52, 74, 0.58)),
    url("/assets/themes/neighbor-night.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.page-flyer.theme-holiday {
  background-image:
    linear-gradient(180deg, rgba(45, 10, 15, 0.6), rgba(18, 53, 34, 0.56)),
    url("/assets/themes/holiday-glow.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.page-flyer.theme-arcade {
  background-image:
    linear-gradient(180deg, rgba(12, 10, 31, 0.58), rgba(31, 14, 52, 0.56)),
    url("/assets/themes/kids-arcade.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body.page-flyer.theme-pop-stop,
body.page-team.theme-pop-stop {
  background-image:
    linear-gradient(180deg, rgba(18, 4, 42, 0.3), rgba(34, 6, 56, 0.36)),
    url("/assets/themes/pop-stop-bg.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.page {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: 1rem 1rem 2rem;
}

.page-orders .page {
  width: min(1240px, 100%);
}

.page-orders .report-page {
  width: min(1120px, 100%);
}

.order-shell {
  width: min(740px, 100%);
  margin: 0 auto;
  padding: 0.85rem 0.85rem 1.4rem;
}

.order-hero {
  min-height: 30svh;
  display: grid;
  align-content: end;
  padding: 1.6rem 0.55rem 1rem;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.42);
}

.shop-pop-stop .order-hero {
  display: none;
}

.shop-pop-stop .shop-banner {
  margin-top: 0;
}

.order-kicker {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.order-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 10vw, 3.2rem);
  line-height: 1;
}

.home-title-link {
  color: inherit;
  text-decoration: none;
}

.home-title-link:focus-visible {
  outline: 3px solid #fff6a8;
  outline-offset: 4px;
  border-radius: 8px;
}

.order-hero p {
  margin: 0.55rem 0 0;
  max-width: 34rem;
  font-size: 1rem;
  font-weight: 700;
}

.order-event-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.order-event-bar span {
  padding: 0.5rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.32);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}

.order-theme-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  margin-top: 0.55rem;
}

.order-theme-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.38rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #17352c;
  font-size: 0.82rem;
  font-weight: 950;
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
}

.order-theme-nav a:focus-visible {
  outline: 3px solid #fff6a8;
  outline-offset: 2px;
}

.shop-banner {
  margin: 0.15rem 0 0.9rem;
}

.shop-banner[hidden] {
  display: none;
}

.shop-banner img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(17, 3, 43, 0.28);
}

.order-panel {
  margin-top: 0.75rem;
  padding: 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(10px);
}

.order-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.order-action {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin-top: 0.75rem;
  padding: 0.8rem 0 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.28));
}

.pay-now-button {
  min-height: 64px;
  font-size: 1.26rem;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.payment-buttons {
  display: grid;
  gap: 0.62rem;
}

.cash-order-button {
  min-height: 58px;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 16px;
  background: linear-gradient(135deg, #fff6b7, #72f0c6);
  color: #183128;
  font-size: 1.05rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.cash-order-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.45);
  opacity: 0.66;
}

.consumer-footer {
  margin: 1rem 0 0.2rem;
  text-align: center;
}

.consumer-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  min-height: 44px;
  padding: 0.62rem 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.52), transparent 28%),
    linear-gradient(135deg, rgba(255, 248, 180, 0.96), rgba(127, 239, 204, 0.94));
  color: #17352c;
  font-size: 0.96rem;
  font-weight: 1000;
  text-decoration: none;
  text-shadow: none;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.consumer-footer a::after {
  content: ">";
  margin-left: 0.48rem;
  color: #b21f63;
  font-weight: 1000;
}

.success-crew-footer {
  margin: 0.45rem 0 1rem;
}

.success-crew-footer a {
  border-color: #bfe3dc;
  background:
    radial-gradient(circle at 8% 20%, rgba(255, 255, 255, 0.6), transparent 28%),
    linear-gradient(135deg, #fff3a8, #dffaf1);
  box-shadow: 0 12px 24px rgba(33, 76, 92, 0.15);
}

.hero {
  padding: 1.2rem 1.1rem;
  border: 2px solid #b7d6ef;
  background: linear-gradient(125deg, #dff3ff, #fff7d6);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.report-hero {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 223, 99, 0.55), transparent 26%),
    linear-gradient(125deg, #c9f2ff, #fff3b0 55%, #ffdfed);
}

.kudos-card {
  margin-top: 1rem;
  padding: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  background:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.72), transparent 27%),
    linear-gradient(135deg, #163d8f 0%, #c72c7a 52%, #ff9a2f 100%);
  color: #fff;
  box-shadow: 0 20px 42px rgba(15, 58, 91, 0.22);
}

.kudos-kicker {
  display: inline-flex;
  margin: 0 0 0.5rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff6bd;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kudos-card h2 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.45rem, 5vw, 2.05rem);
  line-height: 1.08;
}

.kudos-card p:last-child {
  margin: 0;
  max-width: 62rem;
  color: rgba(255, 255, 255, 0.94);
  font-weight: 800;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.report-stat-card {
  padding: 1rem;
  border: 1px solid #c9deef;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.report-stat-card p {
  margin: 0;
  color: #49647b;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-stat-card strong {
  display: block;
  margin: 0.28rem 0;
  color: #11364f;
  font-size: clamp(1.8rem, 5vw, 2.55rem);
  line-height: 1;
}

.report-stat-card span {
  color: #5a7388;
  font-size: 0.9rem;
  font-weight: 700;
}

.report-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.report-panel h2 {
  margin: 0 0 0.85rem;
}

.report-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.report-list div,
.report-top-list li,
.report-highlights article {
  padding: 0.7rem;
  border: 1px solid #d5e3f0;
  border-radius: 10px;
  background: #f8fcff;
}

.report-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.report-list dt {
  color: #456177;
  font-weight: 850;
}

.report-list dd {
  margin: 0;
  color: #11364f;
  font-size: 1.1rem;
  font-weight: 1000;
}

.report-top-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.report-top-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.65rem;
  align-items: center;
}

.report-top-list span {
  color: #24465d;
  font-weight: 900;
}

.report-top-list strong {
  color: #0b5d40;
}

.report-top-list em {
  color: #5e3d07;
  font-style: normal;
  font-weight: 900;
}

.report-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.report-highlights p {
  margin: 0 0 0.35rem;
  color: #49647b;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.report-highlights strong {
  color: #11364f;
  font-size: 1.05rem;
}

.report-empty {
  margin: 0;
  color: #5a7388;
  font-weight: 800;
}

.hero-tag {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f6e9a;
  text-transform: uppercase;
}

.hero-title {
  margin: 0.45rem 0 0.2rem;
  font-size: clamp(1.8rem, 5vw, 2.3rem);
  line-height: 1.15;
}

.team-hero {
  margin-top: 1rem;
  padding: 1.3rem;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}

.team-hero h1 {
  margin: 0.35rem 0;
  font-size: clamp(2rem, 8vw, 3rem);
  line-height: 1;
}

.team-hero p {
  margin: 0;
  max-width: 36rem;
  font-weight: 700;
}

.team-grid {
  display: grid;
  gap: 0.85rem;
}

.team-card {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(10px);
}

.shop-pop-stop .team-card[data-shop-team]:not([data-shop-team~="pop-stop"]) {
  display: none;
}

.founder-card {
  border-color: rgba(255, 207, 85, 0.8);
}

.team-photo-placeholder {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 2px dashed #9bb5c8;
  background: linear-gradient(135deg, #f1f8ff, #fff4d8);
  color: #4f6476;
  font-size: 0.76rem;
  font-weight: 800;
  text-align: center;
  padding: 0.5rem;
}

.team-photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(22, 51, 71, 0.2);
}

.team-role {
  margin: 0;
  color: #0f6e9a;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.team-card h2 {
  margin: 0.15rem 0 0.28rem;
}

.team-card p:last-child {
  margin: 0;
  color: #37556d;
}

.tech-promo {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  overflow: hidden;
  margin: 1.1rem 0 0;
  padding: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 235, 87, 0.95), transparent 24%),
    radial-gradient(circle at 0% 100%, rgba(54, 219, 255, 0.62), transparent 34%),
    linear-gradient(135deg, #153b8f 0%, #ce2c7d 52%, #ff8f2f 100%);
  color: #fff;
  box-shadow: 0 22px 48px rgba(10, 38, 58, 0.3);
  isolation: isolate;
}

.tech-promo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(255, 255, 255, 0.22), transparent 24%),
    repeating-linear-gradient(
      -12deg,
      rgba(255, 255, 255, 0.1) 0,
      rgba(255, 255, 255, 0.1) 2px,
      transparent 2px,
      transparent 12px
    );
  pointer-events: none;
  z-index: -1;
}

.tech-promo-kicker {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.55rem;
  padding: 0.32rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff7bf;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(32, 15, 44, 0.32);
}

.tech-promo h2 {
  margin: 0 0 0.45rem;
  max-width: 46rem;
  color: #fff;
  font-size: clamp(1.35rem, 5.6vw, 2rem);
  line-height: 1.08;
  text-shadow: 0 2px 10px rgba(32, 15, 44, 0.35);
}

.tech-promo-copy p:last-child {
  margin: 0;
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 800;
}

.tech-promo-contact {
  justify-self: end;
  min-width: 132px;
  padding: 0.82rem 0.9rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  background: #fff;
  color: #a71961 !important;
  box-shadow: 0 12px 26px rgba(32, 15, 44, 0.24);
  font-size: 1rem;
  font-weight: 1000 !important;
  text-align: center;
  text-transform: uppercase;
}

.tech-promo-copy {
  min-width: 0;
}

@media (max-width: 560px) {
  .tech-promo {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .tech-promo-contact {
    justify-self: stretch;
  }
}

.hero-subtitle {
  margin: 0;
  color: #2b465d;
  font-size: 1.02rem;
}

.event-grid {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.76);
  padding: 0.7rem 0.8rem;
  border: 1px solid #cdddf1;
  border-radius: 8px;
}

.event-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  font-weight: 600;
}

.event-label {
  color: var(--muted);
}

.section {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 10px;
  border: 1px solid var(--section-border);
  background: var(--section-bg);
  box-shadow: var(--shadow);
}

.section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.1rem;
}

.menu-list {
  display: grid;
  gap: 0.7rem;
}

.craving-tagline {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.45rem;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: linear-gradient(135deg, #fff1a8, #ff7ac8 55%, #7be7ff);
  color: #2a1831;
  font-size: 0.82rem;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(255, 122, 200, 0.22);
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem;
  border: 1px solid rgba(214, 226, 238, 0.95);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.97), rgba(255, 251, 230, 0.94)),
    #fff;
  box-shadow: 0 10px 22px rgba(24, 55, 77, 0.08);
}

.menu-name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.menu-tagline {
  margin: 0.18rem 0 0;
  max-width: 24rem;
  color: #5c6670;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.25;
}

.menu-price {
  margin: 0.34rem 0 0;
  font-size: 0.95rem;
  color: #0e7184;
  font-weight: 900;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8d4e8;
  border-radius: 8px;
  overflow: hidden;
}

.qty-button {
  width: 46px;
  height: 46px;
  border: 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #16557f;
  background: #ebf5fc;
}

.qty-button:disabled {
  opacity: 0.45;
}

.qty-value {
  width: 48px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
}

.tip-list {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  border: 0;
  padding: 0;
}

.tip-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  padding: 0.8rem;
  border: 1px solid #d5e2f2;
  border-radius: 8px;
  background: #fff;
}

.tip-option label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 1;
  min-width: 0;
  font-weight: 700;
}

.tip-option input[type="radio"] {
  width: 22px;
  height: 22px;
}

.coupon-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-weight: 600;
}

.coupon-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.flyer-select,
#coupon-input,
#customer-name-input {
  width: 100%;
  height: 46px;
  border: 1px solid #b7cbe0;
  border-radius: 8px;
  padding: 0 0.75rem;
  font-size: 1rem;
}

#coupon-input {
  text-transform: uppercase;
}

#apply-coupon-button {
  min-width: 92px;
  height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 0.95rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
}

#apply-coupon-button:disabled {
  opacity: 0.6;
}

.coupon-message {
  margin: 0.65rem 0 0;
  min-height: 1.2rem;
  color: var(--muted);
  font-weight: 600;
}

.coupon-message.error {
  color: var(--error);
}

.coupon-message.success {
  color: var(--ok);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 0.55rem;
  font-size: 1rem;
}

.summary-row:last-child {
  margin-bottom: 0;
}

.summary-row.discount {
  color: var(--ok);
}

.summary-row.total {
  margin-top: 0.2rem;
  padding-top: 0.7rem;
  border-top: 1px dashed #bfd2e5;
  font-size: 1.08rem;
}

.checkout-button {
  width: 100%;
  min-height: 58px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-size: 1.16rem;
  font-weight: 800;
}

.checkout-button:disabled {
  background: #8ca8be;
}

.checkout-message {
  margin: 0.7rem 0 0;
  min-height: 1.2rem;
  text-align: center;
  color: var(--error);
  font-weight: 700;
}

.wallet-note {
  margin: 0.55rem 0 0.35rem;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
}

.wallet-link {
  display: block;
  text-align: center;
}

.disabled-link {
  pointer-events: none;
  opacity: 0.55;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.7rem;
}

.quick-links .status-link {
  text-align: center;
}

.admin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-actions button {
  min-height: 48px;
  border-radius: 8px;
  border: 1px solid #abc8e0;
  background: #ecf6ff;
  color: #184f75;
  font-size: 0.98rem;
  font-weight: 700;
}

.admin-actions .checkout-button {
  color: #fff;
}

.menu-editor-list {
  display: grid;
  gap: 0.75rem;
}

.menu-editor-item {
  border: 1px solid #cfe0ef;
  border-radius: 8px;
  background: #fff;
  padding: 0.75rem;
}

.menu-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.menu-editor-grid label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #37556d;
}

.menu-editor-grid input {
  height: 42px;
  border: 1px solid #bfd5e8;
  border-radius: 8px;
  padding: 0 0.65rem;
  font-size: 0.95rem;
}

.menu-editor-active {
  align-self: end;
  display: flex !important;
  align-items: center;
  gap: 0.4rem;
}

.menu-editor-active input {
  width: 18px;
  height: 18px;
}

.menu-editor-footer {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  font-weight: 700;
}

.menu-editor-buttons {
  display: inline-flex;
  gap: 0.45rem;
}

.menu-editor-buttons button {
  min-width: 58px;
  min-height: 38px;
  border: 1px solid #b9d2e6;
  border-radius: 7px;
  background: #eff7ff;
  color: #184f75;
  font-weight: 700;
}

.orders-table-wrap {
  overflow-x: auto;
}

.orders-table {
  width: 100%;
  min-width: 1040px;
  border-collapse: collapse;
}

.orders-table th,
.orders-table td {
  border-bottom: 1px solid #d5e3f0;
  text-align: left;
  vertical-align: top;
  padding: 0.6rem;
  font-size: 0.9rem;
}

.orders-table th {
  color: #3d5a73;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.orders-table tbody tr {
  border-left: 6px solid transparent;
}

.orders-table tbody tr.order-row-paid {
  border-left-color: #17815d;
  background: #ecfbf2;
}

.orders-table tbody tr.order-row-cash {
  border-left-color: #d97706;
  background: #fff4df;
}

.orders-table tbody tr.order-row-pending {
  border-left-color: #b7791f;
  background: #fff9db;
}

.orders-table tbody tr.order-row-canceled {
  border-left-color: #b42318;
  background: #fff0f0;
  color: #5f1b1b;
}

.order-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.order-chip-paid {
  border: 1px solid #8fd3b3;
  background: #dff8ea;
  color: #0b5d40;
}

.order-chip-cash {
  border: 1px solid #f4b861;
  background: #ffe6b8;
  color: #7c3f00;
}

.order-chip-pending {
  border: 1px solid #ecd467;
  background: #fff3a8;
  color: #674600;
}

.order-chip-canceled {
  border: 1px solid #f0a1a1;
  background: #ffe0e0;
  color: #8f1f1f;
}

.page-orders .admin-actions .checkout-button {
  background: linear-gradient(180deg, #09527e, #063b5c);
  color: #fff;
}

.orders-empty {
  text-align: center !important;
  color: #567089;
}

.order-action-button {
  min-height: 38px;
  padding: 0.45rem 0.7rem;
  border: 0;
  border-radius: 8px;
  background: #157a57;
  color: #fff;
  font-weight: 900;
  white-space: nowrap;
}

.order-action-button.secondary {
  border: 1px solid #b7c9d8;
  background: #eef6fc;
  color: #24465d;
}

.flyer-poster {
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 0;
  border: 0;
  box-shadow: 0 20px 45px rgba(18, 45, 73, 0.2);
  min-height: min(85vh, 980px);
}

.flyer-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.22), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(255, 255, 255, 0.2), transparent 42%);
  z-index: 0;
}

.flyer-content {
  position: relative;
  z-index: 1;
  padding: 1.15rem 0.95rem 1.1rem;
}

.flyer-kicker {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.9;
}

.flyer-headline {
  margin: 0.35rem 0;
  font-size: clamp(1.5rem, 6vw, 2.1rem);
  line-height: 1.1;
}

.flyer-subtitle {
  margin: 0;
  font-weight: 600;
}

.flyer-note {
  margin: 0.55rem 0 0.9rem;
  font-weight: 700;
}

.flyer-banner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  text-align: left;
  margin-bottom: 0.75rem;
}

.flyer-banner-item {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(9, 18, 33, 0.34);
  border-radius: 8px;
  padding: 0.52rem 0.58rem;
}

.flyer-banner-label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  opacity: 0.86;
}

.flyer-banner-item strong {
  font-size: 0.92rem;
}

.flyer-banner-wide {
  grid-column: span 2;
}

.flyer-menu {
  margin: 0 0 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(9, 18, 33, 0.34);
  border-radius: 8px;
  padding: 0.65rem 0.68rem;
  text-align: left;
}

.flyer-menu-title {
  margin: 0 0 0.45rem;
  font-size: 0.96rem;
}

.flyer-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
}

.flyer-menu-group {
  margin: 0 0 0.2rem;
  font-size: 0.79rem;
  text-transform: uppercase;
  opacity: 0.88;
}

.flyer-menu ul {
  margin: 0;
  padding-left: 1rem;
}

.flyer-menu li {
  margin-bottom: 0.2rem;
  font-size: 0.82rem;
}

.flyer-qr {
  width: min(320px, 84vw);
  border-radius: 8px;
  border: 6px solid rgba(255, 255, 255, 0.85);
  background: #fff;
}

.flyer-small {
  margin: 0.7rem 0 0;
  font-size: 0.88rem;
  opacity: 0.95;
}

.flyer-url {
  margin: 0;
  word-break: break-all;
  font-weight: 700;
  color: #1d496b;
}

.theme-kpop {
  background-image:
    linear-gradient(135deg, rgba(236, 76, 167, 0.42), rgba(128, 82, 228, 0.38) 48%, rgba(42, 111, 224, 0.36)),
    url("/assets/themes/kpop-demon-hunters.png");
  background-size: cover;
  background-position: center;
}

.theme-soccer {
  background-image:
    linear-gradient(140deg, rgba(29, 143, 86, 0.44), rgba(22, 181, 121, 0.38) 48%, rgba(10, 79, 66, 0.42)),
    url("/assets/themes/soccer-stars.png");
  background-size: cover;
  background-position: center;
}

.theme-family {
  background-image:
    linear-gradient(140deg, rgba(255, 122, 61, 0.42), rgba(255, 187, 53, 0.38) 48%, rgba(237, 79, 104, 0.36)),
    url("/assets/themes/family-block-party.png");
  background-size: cover;
  background-position: center;
}

.theme-neighbors {
  background-image:
    linear-gradient(140deg, rgba(0, 108, 168, 0.42), rgba(41, 169, 219, 0.36) 48%, rgba(31, 95, 141, 0.38)),
    url("/assets/themes/neighbor-night.png");
  background-size: cover;
  background-position: center;
}

.theme-holiday {
  background-image:
    linear-gradient(140deg, rgba(176, 23, 49, 0.4), rgba(230, 74, 46, 0.35) 42%, rgba(47, 155, 98, 0.37)),
    url("/assets/themes/holiday-glow.png");
  background-size: cover;
  background-position: center;
}

.theme-arcade {
  background-image:
    linear-gradient(140deg, rgba(30, 24, 160, 0.36), rgba(236, 64, 172, 0.34) 45%, rgba(255, 160, 56, 0.3)),
    url("/assets/themes/kids-arcade.png");
  background-size: cover;
  background-position: center;
}

.theme-pop-stop {
  background-image:
    linear-gradient(140deg, rgba(255, 66, 199, 0.2), rgba(96, 95, 255, 0.22) 48%, rgba(0, 205, 255, 0.2)),
    url("/assets/themes/pop-stop-bg.png");
  background-size: cover;
  background-position: center;
}

.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.status-card {
  width: min(560px, 100%);
  padding: 1.4rem 1.2rem;
  border-radius: 12px;
  border: 2px solid #c7dcf0;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow);
}

.status-card.success {
  border-color: #8ccbb0;
}

.status-card.canceled {
  border-color: #efc2c2;
}

.status-card h1 {
  margin: 0;
  font-size: 1.6rem;
}

.status-card p {
  margin: 0.7rem 0 1rem;
  color: #345167;
}

.order-number-card {
  margin: 1rem auto;
  padding: 1rem;
  border: 2px solid #ffd760;
  border-radius: 12px;
  background:
    radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(135deg, #fff4a6, #ff9fd3 55%, #8ceeff);
  color: #271631;
  box-shadow: 0 14px 26px rgba(255, 143, 84, 0.22);
}

.order-number-label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.order-number-value {
  margin: 0.2rem 0 0;
  font-size: clamp(2.4rem, 16vw, 4.5rem);
  line-height: 0.95;
  font-weight: 1000;
}

.order-total-value,
.order-payment-note {
  margin: 0.45rem 0 0;
  color: #2f2634;
  font-weight: 900;
}

.cash-highlight {
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0.16rem 0.55rem;
  border: 2px solid #7c2d12;
  border-radius: 999px;
  background: #ffda6a;
  color: #7c2d12;
  font-size: 1.05em;
  font-weight: 1000;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(124, 45, 18, 0.18);
}

.order-compliment {
  margin: 0.9rem auto 1.1rem;
  max-width: 27rem;
  padding: 0.8rem;
  border-radius: 12px;
  background: #f1fbff;
  color: #1d566d;
  font-weight: 900;
}

.status-link {
  display: inline-block;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  border: 1px solid #b8d1e8;
  color: #174f79;
  text-decoration: none;
  font-weight: 700;
  background: #eff7ff;
}

@media (max-width: 720px) {
  .report-grid,
  .report-columns,
  .report-highlights {
    grid-template-columns: 1fr;
  }

  .report-top-list li {
    grid-template-columns: 1fr;
    gap: 0.28rem;
  }

  .report-list div {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }
}

@media (max-width: 360px) {
  .page {
    padding: 0.8rem 0.7rem 1.5rem;
  }

  .menu-item {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .qty-controls {
    justify-self: end;
  }

  .menu-editor-grid {
    grid-template-columns: 1fr;
  }

  .admin-actions {
    grid-template-columns: 1fr;
  }

  .flyer-menu-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    grid-template-columns: 86px 1fr;
  }
}
