:root {
  color-scheme: dark;
  --bg: #09070a;
  --bg-soft: #151014;
  --bg-panel: #1d1719;
  --red: #d91621;
  --red-deep: #8f0d16;
  --red-soft: rgba(217, 22, 33, 0.16);
  --cream: #fff5e6;
  --muted: #c8b9ad;
  --gold: #f2b84b;
  --green: #2ac071;
  --line: rgba(255, 245, 230, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
}

.site-header {
  align-items: center;
  background: rgba(9, 7, 10, 0.9);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 14px clamp(18px, 5vw, 64px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 230px;
}

.brand-mark {
  align-items: center;
  background: #e60012;
  border-radius: var(--radius);
  box-shadow: 0 0 0 6px rgba(217, 22, 33, 0.18);
  display: inline-flex;
  height: 54px;
  justify-content: center;
  overflow: hidden;
  width: 54px;
}

.brand-mark img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.brand strong,
.site-footer strong {
  display: block;
  font-size: 1rem;
  line-height: 1.1;
}

.brand small,
.site-footer span,
.site-footer address {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  font-style: normal;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.main-nav a {
  border-radius: 999px;
  color: var(--muted);
  padding: 8px 12px;
  transition: color 160ms ease, background 160ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: var(--cream);
}

.header-cta,
.primary-button,
.secondary-button,
.ghost-button {
  align-items: center;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.header-cta,
.primary-button {
  background: var(--red);
  box-shadow: 0 12px 34px rgba(217, 22, 33, 0.3);
  color: #fff;
}

.secondary-button,
.ghost-button {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--cream);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
}

.primary-button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.header-cta svg,
.primary-button svg,
.secondary-button svg,
.ghost-button svg,
.quick-facts svg,
.choice-topline svg,
.delivery-strip svg,
.icon-button svg {
  height: 19px;
  width: 19px;
}

.hero {
  align-items: center;
  display: flex;
  min-height: min(740px, calc(100svh - 92px));
  overflow: hidden;
  padding: 88px clamp(18px, 5vw, 64px) 96px;
  position: relative;
}

.hero-image,
.hero-shade {
  inset: 0;
  position: absolute;
}

.hero-image {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 7, 10, 0.96) 0%, rgba(9, 7, 10, 0.74) 42%, rgba(9, 7, 10, 0.24) 78%),
    linear-gradient(0deg, rgba(9, 7, 10, 0.76) 0%, rgba(9, 7, 10, 0) 46%);
}

.hero-content {
  max-width: 650px;
  position: relative;
  z-index: 1;
}

.hero-logo {
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  display: block;
  height: 116px;
  margin: 0 0 24px;
  object-fit: cover;
  width: 116px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.summary-heading h2,
.panel-heading h3,
.order-dialog h2 {
  line-height: 1;
  margin: 0;
}

.hero h1 {
  font-size: 4.75rem;
  max-width: 680px;
}

.hero-copy {
  color: #f4e6d4;
  font-size: 1.2rem;
  margin: 24px 0 0;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.open-status-card {
  align-items: center;
  background: rgba(15, 12, 15, 0.86);
  border: 1px solid rgba(255, 245, 230, 0.15);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  margin-top: 18px;
  max-width: 480px;
  padding: 13px 14px;
}

.open-status-dot {
  background: var(--gold);
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(242, 184, 75, 0.14);
  flex: 0 0 auto;
  height: 12px;
  width: 12px;
}

.open-status-card[data-open-state="open"] .open-status-dot {
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(42, 192, 113, 0.14);
}

.open-status-card[data-open-state="closed"] .open-status-dot {
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(225, 0, 18, 0.16);
}

.open-status-card strong,
.open-status-card span {
  display: block;
}

.open-status-card strong {
  color: var(--cream);
  font-size: 0.98rem;
}

.open-status-card span {
  color: var(--muted);
  font-size: 0.88rem;
  margin-top: 2px;
}

.quick-facts {
  background: var(--red);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(18px, 5vw, 64px);
}

.quick-facts div {
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  gap: 12px;
  justify-content: center;
  min-height: 76px;
  text-align: center;
}

.quick-facts div:last-child {
  border-right: 0;
}

.builder-section {
  padding: 86px clamp(18px, 5vw, 64px);
}

.section-heading {
  margin: 0 auto 34px;
  max-width: 760px;
  text-align: center;
}

.section-heading h2 {
  font-size: 2.65rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 16px auto 0;
  max-width: 620px;
}

.order-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  margin: 0 auto;
  max-width: 1180px;
}

.builder {
  display: grid;
  gap: 22px;
}

.choice-group,
.cart-action-panel,
.delivery-panel,
.order-summary,
.order-dialog .dialog-content {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.choice-group {
  margin: 0;
  padding: 22px;
}

.choice-group legend {
  color: var(--cream);
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 18px;
  padding: 0;
}

.choice-group legend span {
  color: var(--red);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.combined-choice-section {
  display: grid;
  gap: 18px;
}

.combined-choice-section h3 {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.choice-helper {
  color: var(--muted);
  margin: -8px 0 16px;
}

.choice-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.choice-group:nth-of-type(2) .choice-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.extras-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.drinks-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.extras-grid .choice-card {
  min-height: 132px;
}

.drinks-grid .choice-card {
  min-height: 132px;
}

.choice-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  display: grid;
  gap: 10px;
  min-height: 160px;
  padding: 16px;
  position: relative;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.choice-card:hover {
  background: rgba(255, 255, 255, 0.075);
}

.choice-card input {
  inset: 12px 12px auto auto;
  opacity: 0;
  position: absolute;
}

.choice-card:has(input:checked) {
  background: var(--red-soft);
  border-color: rgba(217, 22, 33, 0.86);
  box-shadow: inset 0 0 0 1px rgba(217, 22, 33, 0.42);
}

.choice-card:has(input:focus-visible) {
  outline: 3px solid rgba(242, 184, 75, 0.7);
  outline-offset: 3px;
}

.choice-topline {
  align-items: center;
  display: flex;
  gap: 10px;
}

.choice-topline svg {
  color: var(--gold);
  flex: 0 0 auto;
}

.choice-topline strong {
  font-size: 1.03rem;
  line-height: 1.15;
}

.choice-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.choice-price {
  align-self: end;
  color: #fff;
  font-weight: 900;
}

.cart-action-panel {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 170px minmax(220px, 0.6fr);
  padding: 22px;
}

.cart-action-panel h3,
.current-dish h3,
.cart-panel h3 {
  font-size: 1.25rem;
  line-height: 1.15;
  margin: 0;
}

.quantity-field {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

.quantity-control {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: 42px minmax(54px, 1fr) 42px;
}

.quantity-control input {
  min-height: 42px;
  padding-inline: 8px;
  text-align: center;
}

.add-cart-button {
  min-height: 50px;
  width: 100%;
}

.delivery-panel {
  padding: 24px;
}

.panel-heading h3 {
  font-size: 1.65rem;
}

.form-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 22px;
}

.form-grid label {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

.checkbox-field {
  align-content: end;
  align-items: center;
  display: flex !important;
  gap: 10px !important;
  min-height: 70px;
}

.checkbox-field input {
  accent-color: var(--red);
  height: 20px;
  min-height: 20px;
  width: 20px;
}

.delivery-time-field {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

.delivery-time-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  height: 188px;
  overflow-y: scroll;
  overscroll-behavior: contain;
  padding: 8px;
  scrollbar-gutter: stable;
  scrollbar-color: var(--red) #0f0c0f;
  scrollbar-width: thin;
}

.delivery-time-list:empty {
  display: none;
}

.delivery-time-list::-webkit-scrollbar {
  width: 10px;
}

.delivery-time-list::-webkit-scrollbar-track {
  background: #0f0c0f;
  border-radius: 999px;
}

.delivery-time-list::-webkit-scrollbar-thumb {
  background: var(--red);
  border: 2px solid #0f0c0f;
  border-radius: 999px;
}

.delivery-time-option {
  align-items: center;
  background: #121012;
  border: 1px solid rgba(255, 245, 230, 0.12);
  border-radius: 6px;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  font-weight: 800;
  justify-content: center;
  line-height: 1.1;
  min-height: 38px;
  padding: 8px 10px;
  position: relative;
  text-align: center;
}

.delivery-time-option input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.delivery-time-option.soon {
  background: #1b1416;
  border-color: rgba(242, 184, 75, 0.34);
  grid-column: 1 / -1;
  justify-content: flex-start;
  min-height: 44px;
  padding-inline: 14px;
  position: sticky;
  top: 0;
  z-index: 2;
}

.delivery-time-option.soon span::before {
  color: var(--gold);
  content: "●";
  font-size: 0.72rem;
  margin-right: 8px;
}

.delivery-time-option:has(input:checked) {
  background: rgba(225, 0, 18, 0.28);
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px rgba(255, 245, 230, 0.08);
}

.delivery-time-option:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.16);
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.postcode-helper {
  align-self: end;
  margin: 0;
}

.mail-test-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mail-test-actions .copy-status {
  margin: 0;
}

input,
select,
textarea {
  background: #0f0c0f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--cream);
  min-height: 48px;
  outline: 0;
  padding: 12px 13px;
  width: 100%;
}

textarea {
  min-height: 92px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242, 184, 75, 0.18);
}

::placeholder {
  color: rgba(200, 185, 173, 0.66);
}

.order-summary {
  padding: 24px;
  position: sticky;
  top: 96px;
}

.summary-heading h2 {
  font-size: 2rem;
}

.current-dish,
.cart-panel {
  border-bottom: 1px solid var(--line);
  margin-top: 20px;
  padding-bottom: 18px;
}

.summary-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
}

.summary-list div {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
}

.summary-list dt {
  color: var(--muted);
  font-size: 0.88rem;
}

.summary-list dd {
  font-weight: 900;
  margin: 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.cart-title-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.cart-title-row span {
  background: rgba(217, 22, 33, 0.18);
  border: 1px solid rgba(217, 22, 33, 0.42);
  border-radius: 999px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 4px 10px;
}

.empty-cart {
  color: var(--muted);
  margin: 12px 0 0;
}

.cart-items {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
}

.cart-item {
  align-items: center;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto 42px;
  padding: 12px;
}

.cart-item-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.cart-item-info strong {
  overflow-wrap: anywhere;
}

.cart-item-info span,
.cart-item b {
  color: var(--muted);
  font-size: 0.86rem;
}

.cart-item b {
  color: var(--gold);
  white-space: nowrap;
}

.payment-group {
  border: 0;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  padding-top: 20px;
}

.payment-group legend {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 900;
  margin-bottom: 10px;
  padding: 0;
}

.payment-group label {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 13px;
}

.payment-group input {
  accent-color: var(--red);
  height: 18px;
  min-height: 18px;
  width: 18px;
}

.payment-group small {
  color: var(--muted);
  display: block;
}

.total-row {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

.total-row span {
  color: var(--muted);
  font-weight: 800;
}

.total-row strong {
  color: var(--gold);
  font-size: 2rem;
}

.summary-note,
.copy-status {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 10px 0 18px;
}

.copy-status {
  min-height: 1.3em;
  text-align: center;
}

.full-width {
  margin-top: 10px;
  width: 100%;
}

.delivery-strip {
  background: #111a14;
  border-top: 1px solid rgba(42, 192, 113, 0.26);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.delivery-strip div {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  gap: 6px;
  justify-items: center;
  min-height: 154px;
  padding: 24px;
  text-align: center;
}

.delivery-strip svg {
  color: var(--green);
}

.delivery-strip span {
  color: var(--muted);
}

.order-dialog {
  background: transparent;
  border: 0;
  color: var(--cream);
  max-width: min(680px, calc(100vw - 32px));
  padding: 0;
}

.order-dialog::backdrop {
  background: rgba(0, 0, 0, 0.76);
  backdrop-filter: blur(8px);
}

.dialog-content {
  padding: 26px;
  position: relative;
}

.icon-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--cream);
  cursor: pointer;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.close-dialog {
  position: absolute;
  right: 16px;
  top: 16px;
}

.order-dialog h2 {
  font-size: 2rem;
  padding-right: 52px;
}

.order-dialog pre {
  background: #0f0c0f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #f7ead8;
  margin: 20px 0;
  max-height: 44vh;
  overflow: auto;
  padding: 16px;
  white-space: pre-wrap;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 64px);
}

.site-footer > div {
  align-items: center;
  display: flex;
  gap: 12px;
}

.footer-logo {
  border-radius: var(--radius);
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.site-footer address {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--cream);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 10px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
}

.site-credit {
  flex-basis: 100%;
  margin-top: 2px;
  text-align: right;
}

.mobile-cart-bar {
  display: none;
}

.admin-page {
  min-height: 100vh;
}

.admin-main {
  padding: 70px clamp(18px, 5vw, 64px);
}

.admin-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto 22px;
  max-width: 1180px;
  padding: 24px;
}

.login-card {
  max-width: 420px;
}

.login-card label {
  color: var(--muted);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

.admin-card-heading {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.admin-heading-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-card-heading h2 {
  font-size: 1.45rem;
  line-height: 1.1;
  margin: 0;
}

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

.admin-table {
  border-collapse: collapse;
  min-width: 920px;
  width: 100%;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-table td:first-child,
.admin-table th:first-child,
.admin-table td:last-child,
.admin-table th:last-child {
  text-align: center;
  width: 64px;
}

.admin-table input[type="checkbox"] {
  accent-color: var(--red);
  height: 20px;
  min-height: 20px;
  width: 20px;
}

.admin-table input[type="text"],
.admin-table input[type="number"],
.admin-table input[type="time"],
.admin-table input[type="date"] {
  min-height: 42px;
}

.opening-hours-table input[type="time"] {
  min-width: 118px;
}

.opening-hours-table td:nth-child(2),
.opening-hours-table th:nth-child(2) {
  min-width: 140px;
}

.admin-table input[data-field="description"] {
  min-width: 280px;
}

.admin-table input[data-field="price"],
.admin-table input[data-field="icon"] {
  min-width: 108px;
}

.table-empty {
  color: var(--muted);
  text-align: left !important;
}

.special-days-table input[data-special-field="label"] {
  min-width: 220px;
}

.backup-list {
  display: grid;
  gap: 10px;
}

.backup-item {
  align-items: center;
  background: #0f0c0f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 14px;
}

.backup-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.new-order-alert .admin-orders {
  border-color: rgba(242, 184, 75, 0.6);
  box-shadow: 0 0 0 2px rgba(242, 184, 75, 0.12), 0 0 34px rgba(242, 184, 75, 0.12);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 30px auto 0;
  max-width: 1180px;
}

.anchor-target {
  display: block;
  height: 1px;
  scroll-margin-top: 96px;
}

.admin-card-heading p {
  color: var(--muted);
  margin: 6px 0 0;
}

.admin-view-tabs {
  background: #0f0c0f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 4px;
  margin: 0 auto 22px;
  max-width: 1180px;
  padding: 4px;
}

.admin-view-tab {
  align-items: center;
  background: transparent;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  flex: 1;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
}

.admin-view-tab.active {
  background: var(--red);
  color: #fff;
}

.order-tabs {
  background: #0f0c0f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 18px;
  padding: 4px;
}

.order-tab {
  align-items: center;
  background: transparent;
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
}

.order-tab.active {
  background: var(--red);
  color: white;
}

.order-tab span {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.78rem;
  justify-content: center;
  min-height: 24px;
  min-width: 24px;
  padding: 0 7px;
}

.order-list {
  display: grid;
  gap: 14px;
}

.order-empty {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  margin: 0;
  padding: 20px;
}

.order-card {
  background: #0f0c0f;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}

.order-card-heading {
  align-items: flex-start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.order-card-heading h3 {
  font-size: 1.15rem;
  margin: 0;
}

.order-card-heading p {
  color: var(--muted);
  font-size: 0.84rem;
  margin: 3px 0 0;
  overflow-wrap: anywhere;
}

.order-status-chip {
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 7px 10px;
  white-space: nowrap;
}

.order-status-chip.pending {
  background: rgba(242, 184, 75, 0.16);
  color: var(--gold);
}

.order-status-chip.confirmed {
  background: rgba(42, 192, 113, 0.16);
  color: var(--green);
}

.order-status-chip.preparing {
  background: rgba(242, 184, 75, 0.16);
  color: var(--gold);
}

.order-status-chip.out_for_delivery {
  background: rgba(78, 179, 255, 0.16);
  color: #83ccff;
}

.order-status-chip.completed {
  background: rgba(255, 255, 255, 0.12);
  color: var(--cream);
}

.order-status-chip.cancelled {
  background: var(--red-soft);
  color: #ff9aa1;
}

.order-status-chip.archived {
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.order-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 16px;
}

.compact-button {
  min-height: 42px;
  padding: 0 14px;
}

.danger-button {
  align-items: center;
  background: #3a0b10;
  border: 1px solid rgba(217, 22, 33, 0.5);
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
}

.danger-button:hover {
  background: var(--red-deep);
}

.order-meta {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 16px;
}

.order-meta div {
  min-width: 0;
}

.order-meta dt,
.status-details dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.order-meta dd,
.status-details dd {
  margin: 2px 0 0;
  overflow-wrap: anywhere;
}

.admin-order-items,
.status-items {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-order-items li,
.status-item {
  align-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px;
}

.admin-order-items b,
.status-item b {
  white-space: nowrap;
}

.order-text-details {
  border-top: 1px solid var(--line);
  margin-top: 16px;
  padding-top: 14px;
}

.order-text-details summary {
  color: var(--gold);
  cursor: pointer;
  font-weight: 900;
}

.order-text-details pre {
  background: #09070a;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #f7ead8;
  margin: 12px 0 0;
  max-height: 320px;
  overflow: auto;
  padding: 14px;
  white-space: pre-wrap;
}

.status-main {
  padding: 70px clamp(18px, 5vw, 64px);
}

.info-main {
  padding: 70px clamp(18px, 5vw, 64px);
}

.info-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
}

.info-grid .admin-card {
  margin-bottom: 0;
}

.info-grid h2 {
  font-size: 1.35rem;
  margin: 0 0 12px;
}

.info-grid p {
  color: var(--muted);
  margin: 0 0 10px;
}

.info-grid a {
  color: var(--gold);
  font-weight: 900;
}

.status-hero {
  margin: 0 auto 26px;
  max-width: 880px;
  text-align: center;
}

.status-hero h1 {
  font-size: clamp(2.1rem, 6vw, 4rem);
  line-height: 1;
  margin: 6px 0 12px;
}

.status-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 auto;
  max-width: 680px;
}

.status-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  margin: 0 auto;
  max-width: 1180px;
}

.status-layout .admin-card {
  margin-bottom: 0;
}

.status-badge {
  align-items: center;
  background: rgba(242, 184, 75, 0.14);
  border: 1px solid rgba(242, 184, 75, 0.24);
  border-radius: var(--radius);
  color: var(--gold);
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  margin-bottom: 18px;
  min-height: 44px;
  padding: 0 12px;
}

.status-badge.confirmed {
  background: rgba(42, 192, 113, 0.14);
  border-color: rgba(42, 192, 113, 0.28);
  color: var(--green);
}

.status-badge.preparing {
  background: rgba(242, 184, 75, 0.14);
  border-color: rgba(242, 184, 75, 0.28);
  color: var(--gold);
}

.status-badge.out_for_delivery {
  background: rgba(78, 179, 255, 0.14);
  border-color: rgba(78, 179, 255, 0.28);
  color: #83ccff;
}

.status-badge.completed {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--cream);
}

.status-badge.cancelled {
  background: var(--red-soft);
  border-color: rgba(217, 22, 33, 0.34);
  color: #ff9aa1;
}

.status-badge.error {
  background: var(--red-soft);
  border-color: rgba(217, 22, 33, 0.34);
  color: #ff8f96;
}

.status-details {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.status-item div {
  display: grid;
  gap: 2px;
}

.status-item span {
  color: var(--muted);
  font-size: 0.86rem;
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 76px;
  }

  .hero h1 {
    font-size: 3.55rem;
  }

  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-summary {
    position: static;
  }

  .choice-grid,
  .choice-group:nth-of-type(2) .choice-grid,
  .extras-grid,
  .drinks-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-action-panel {
    grid-template-columns: 1fr;
  }

  .order-meta,
  .status-layout,
  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body.has-mobile-cart {
    padding-bottom: 86px;
  }

  .site-header {
    gap: 12px;
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    height: 46px;
    width: 46px;
  }

  .brand small {
    display: none;
  }

  .header-cta {
    min-width: 46px;
    padding: 0 12px;
  }

  .header-cta svg {
    margin: 0;
  }

  .hero {
    padding: 62px 18px 74px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(9, 7, 10, 0.94) 0%, rgba(9, 7, 10, 0.78) 70%),
      linear-gradient(0deg, rgba(9, 7, 10, 0.76) 0%, rgba(9, 7, 10, 0) 54%);
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero-logo {
    height: 88px;
    width: 88px;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .quick-facts,
  .delivery-strip,
  .choice-grid,
  .choice-group:nth-of-type(2) .choice-grid,
  .extras-grid,
  .drinks-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .quick-facts div {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 0;
    min-height: 62px;
  }

  .quick-facts div:last-child {
    border-bottom: 0;
  }

  .builder-section {
    padding: 58px 16px;
  }

  .section-heading h2 {
    font-size: 2.15rem;
  }

  .choice-group,
  .cart-action-panel,
  .delivery-panel,
  .order-summary,
  .dialog-content {
    padding: 18px;
  }

  .choice-card {
    min-height: 132px;
  }

  .delivery-time-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid .wide {
    grid-column: auto;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer > div {
    align-items: flex-start;
  }

  .site-footer address {
    justify-content: flex-start;
  }

  .site-credit {
    text-align: left;
  }

  .mobile-cart-bar {
    align-items: center;
    background: rgba(9, 7, 10, 0.96);
    border-top: 1px solid var(--line);
    bottom: 0;
    box-shadow: 0 -14px 30px rgba(0, 0, 0, 0.34);
    display: flex;
    gap: 12px;
    justify-content: space-between;
    left: 0;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    position: fixed;
    right: 0;
    z-index: 30;
  }

  .mobile-cart-bar div {
    display: grid;
    gap: 2px;
    min-width: 0;
  }

  .mobile-cart-bar strong {
    color: var(--cream);
    font-size: 0.95rem;
  }

  .mobile-cart-bar span {
    color: var(--gold);
    font-weight: 900;
  }

  .mobile-cart-bar .compact-button {
    min-height: 44px;
    min-width: 118px;
  }

  .admin-main {
    padding-inline: 16px;
  }

  .admin-card {
    padding: 18px;
  }

  .admin-table-wrap {
    overflow: visible;
  }

  .admin-table {
    min-width: 0;
  }

  .admin-table,
  .admin-table thead,
  .admin-table tbody,
  .admin-table tr,
  .admin-table th,
  .admin-table td {
    display: block;
    width: 100%;
  }

  .admin-table thead {
    display: none;
  }

  .admin-table tr {
    background: #0f0c0f;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    padding: 10px;
  }

  .admin-table td {
    align-items: center;
    border-bottom: 0;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(92px, 0.36fr) 1fr;
    padding: 8px 0;
    text-align: left !important;
  }

  .admin-table td::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
  }

  .admin-table td:first-child,
  .admin-table td:last-child {
    width: 100%;
  }

  .admin-table input[data-field],
  .admin-table input[data-special-field],
  .opening-hours-table input[type="time"] {
    min-width: 0;
    width: 100%;
  }

  .backup-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-card-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
  }

  .order-tab {
    flex: 0 0 auto;
  }

  .admin-view-tabs {
    display: grid;
  }

  .order-card-heading,
  .admin-order-items li,
  .status-item {
    align-items: flex-start;
    flex-direction: column;
  }

  .status-details {
    grid-template-columns: 1fr;
  }
}
