:root {
  --cream-50: #fbf7f0;
  --cream-100: #f7eedf;
  --cream-200: #eedcc3;
  --sand-300: #d8b890;
  --terracotta-500: #b55e3d;
  --terracotta-600: #93472a;
  --olive-500: #647356;
  --olive-700: #394534;
  --ink-900: #2d241d;
  --ink-700: #57483a;
  --ink-500: #756758;
  --paper: rgba(255, 250, 242, 0.88);
  --shadow-soft: 0 18px 60px rgba(55, 37, 18, 0.12);
  --shadow-card: 0 10px 28px rgba(63, 41, 20, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --content-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at top left, rgba(255, 215, 162, 0.28), transparent 24rem),
    linear-gradient(180deg, #f9f0e1 0%, #f4e4cf 42%, #fbf8f2 100%);
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

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

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

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.ambient {
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(20px);
}

.ambient-top {
  top: -7rem;
  left: -5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(181, 94, 61, 0.12);
}

.ambient-bottom {
  right: -4rem;
  bottom: 10rem;
  width: 14rem;
  height: 14rem;
  background: rgba(100, 115, 86, 0.12);
}

.topbar,
.hero,
.trust-strip,
.brand-note,
.story-section,
.catalog-section,
.steps-section,
.checkout-section,
.site-footer,
.admin-main {
  position: relative;
  z-index: 1;
}

.topbar,
.hero,
.trust-strip,
.brand-note,
.story-section,
.catalog-section,
.steps-section,
.checkout-section,
.site-footer,
.admin-main {
  width: min(calc(100% - 2rem), var(--content-max));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-kicker,
.eyebrow,
.floating-label,
.trust-title,
.step-number {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--terracotta-600);
}

.brand-name {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--ink-700);
}

.topnav-admin {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: rgba(57, 69, 52, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease, opacity 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--terracotta-500), #c47a4f);
  box-shadow: var(--shadow-card);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(87, 72, 58, 0.12);
  color: var(--ink-900);
}

.button-soft {
  min-width: 2.5rem;
  min-height: 2.5rem;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(57, 69, 52, 0.08);
  color: var(--ink-900);
}

.button-full {
  width: 100%;
}

.button-inline {
  min-height: 2.75rem;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding: 1.5rem 0 3rem;
  align-items: center;
}

.hero-copy h1,
.section-heading h2,
.admin-hero h1 {
  margin: 0.2rem 0 0.8rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
  max-width: 12ch;
}

.hero-lead,
.story-card p,
.step-card p,
.trust-strip p,
.site-footer p,
.admin-hero p {
  color: var(--ink-700);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.hero-delivery {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--olive-500);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink-900);
  box-shadow: var(--shadow-card);
}

.hero-points {
  display: grid;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-700);
}

.hero-media {
  position: relative;
  min-height: 32rem;
}

.hero-photo-frame {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #f2dec2;
  box-shadow: var(--shadow-soft);
}

.hero-photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(41, 27, 14, 0.03) 0%, rgba(41, 27, 14, 0.28) 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 40%);
}

.hero-photo-frame img {
  height: 100%;
  object-fit: cover;
}

.floating-card {
  position: absolute;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  min-width: 13rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

.floating-card strong {
  font-size: 1.1rem;
}

.floating-card-light {
  top: 1.5rem;
  left: -1rem;
  background: rgba(255, 250, 243, 0.88);
}

.floating-card-dark {
  right: -1rem;
  bottom: 1.5rem;
  background: rgba(57, 69, 52, 0.92);
  color: white;
}

.floating-card-dark .floating-label {
  color: rgba(255, 237, 213, 0.8);
}

.trust-strip,
.brand-note,
.story-section,
.catalog-section,
.steps-section,
.checkout-section,
.admin-main,
.page-alert {
  padding-bottom: 3.2rem;
}

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

.brand-note-card {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, rgba(255, 248, 238, 0.94), rgba(247, 236, 221, 0.92));
  border: 1px solid rgba(87, 72, 58, 0.08);
  box-shadow: var(--shadow-card);
}

.brand-note-card h2 {
  margin: 0.2rem 0 0.65rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.brand-note-card p {
  margin: 0;
  max-width: 62ch;
  color: var(--ink-700);
  line-height: 1.7;
}

.brand-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(87, 72, 58, 0.08);
  color: var(--ink-900);
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-strip article,
.story-card,
.step-card,
.cart-card,
.checkout-summary,
.checkout-form,
.confirmation-panel,
.checkout-error,
.admin-card,
.metric-card,
.order-card {
  background: var(--paper);
  border: 1px solid rgba(87, 72, 58, 0.09);
  box-shadow: var(--shadow-card);
}

.trust-strip article,
.story-card,
.step-card,
.cart-card,
.checkout-summary,
.checkout-form,
.confirmation-panel,
.admin-card,
.metric-card,
.order-card {
  border-radius: var(--radius-lg);
}

.trust-strip article {
  padding: 1.1rem 1.05rem;
}

.section-heading {
  display: grid;
  gap: 0.3rem;
  margin-bottom: 1.6rem;
}

.section-heading h2,
.admin-hero h1 {
  font-size: clamp(2.1rem, 3.4vw, 3.4rem);
  max-width: 15ch;
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.75fr) minmax(0, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.story-photo,
.menu-photo {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  min-height: 18rem;
}

.story-photo img,
.menu-photo img {
  height: 100%;
  object-fit: cover;
}

.story-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.42fr);
  gap: 1.2rem;
  align-items: start;
}

.menu-grid,
.inventory-grid,
.orders-list,
.admin-metrics,
.steps-grid {
  display: grid;
  gap: 1rem;
}

.menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.menu-card {
  position: relative;
  display: grid;
  min-height: 21rem;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid rgba(87, 72, 58, 0.08);
  box-shadow: var(--shadow-card);
  isolation: isolate;
}

.menu-card-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.75);
  filter: saturate(1.02);
  z-index: 0;
}

.menu-card-surface {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 0.85rem;
  min-height: 21rem;
  padding: 1rem;
  background:
    linear-gradient(
      180deg,
      rgba(255, 252, 247, 0.2) 0%,
      rgba(255, 252, 247, 0.38) 20%,
      rgba(255, 252, 247, 0.78) 48%,
      rgba(255, 252, 247, 0.95) 68%,
      rgba(255, 252, 247, 0.98) 100%
    );
}

.menu-card-has-background .menu-card-surface {
  background:
    linear-gradient(
      180deg,
      rgba(255, 252, 247, 0.12) 0%,
      rgba(255, 252, 247, 0.26) 18%,
      rgba(255, 252, 247, 0.8) 48%,
      rgba(255, 252, 247, 0.95) 68%,
      rgba(255, 252, 247, 0.99) 100%
    );
}

.menu-card-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.menu-illustration {
  display: grid;
  align-content: space-between;
  min-height: 9.25rem;
  aspect-ratio: 1 / 1;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: linear-gradient(135deg, rgba(255, 248, 238, 0.88), rgba(238, 220, 195, 0.9));
}

.menu-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.28);
  border-radius: calc(var(--radius-lg) - 6px);
}

.menu-illustration-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  color: rgba(45, 36, 29, 0.65);
}

.menu-illustration-monogram {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.menu-illustration-caption {
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(45, 36, 29, 0.74);
}

.menu-illustration--tomato {
  background: linear-gradient(135deg, #f4d0c7, #f8ead7);
}

.menu-illustration--olive {
  background: linear-gradient(135deg, #d7e0c9, #f0ebd8);
}

.menu-illustration--gold {
  background: linear-gradient(135deg, #f7d89b, #fbf0d2);
}

.menu-illustration--sea {
  background: linear-gradient(135deg, #c9d9e6, #edf1d9);
}

.menu-illustration--sunset {
  background: linear-gradient(135deg, #edc48e, #f6e6c7);
}

.menu-illustration--sage {
  background: linear-gradient(135deg, #dfe7d0, #f8efd8);
}

.menu-illustration--ocean {
  background: linear-gradient(135deg, #bfd6de, #e5e9d7);
}

.menu-illustration--coral {
  background: linear-gradient(135deg, #f0b6a2, #fde7d5);
}

.menu-illustration--forest {
  background: linear-gradient(135deg, #c8d9bf, #efe5ca);
}

.menu-status {
  position: static;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.status-available {
  color: white;
  background: rgba(57, 69, 52, 0.88);
}

.status-low {
  color: var(--ink-900);
  background: rgba(255, 216, 152, 0.92);
}

.status-soldout {
  color: white;
  background: rgba(87, 72, 58, 0.88);
}

.menu-header,
.menu-meta,
.summary-row,
.cart-row,
.admin-stat-row,
.order-header,
.payment-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.menu-header {
  display: block;
}

.menu-header h3,
.step-card h3,
.cart-card h3,
.admin-card h2,
.checkout-summary h3,
.order-card h3 {
  margin: 0;
}

.menu-description,
.menu-meta,
.menu-ingredient-list,
.cart-empty,
.checkout-summary p,
.admin-helper,
.order-items,
.order-address {
  color: var(--ink-700);
  line-height: 1.55;
}

.menu-price {
  font-weight: 800;
  color: var(--terracotta-600);
  white-space: nowrap;
  text-align: right;
}

.menu-meta {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 0.35rem;
}

.menu-body {
  display: grid;
  gap: 0.7rem;
  min-width: 0;
}

.menu-ingredient-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  min-width: 0;
}

.menu-ingredient-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  background: rgba(57, 69, 52, 0.08);
  color: var(--ink-900);
  font-size: 0.8rem;
  font-weight: 700;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.menu-header h3,
.menu-meta span,
.cart-helper,
.field-error,
.order-address,
.admin-helper {
  min-width: 0;
  overflow-wrap: anywhere;
}

.menu-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.quantity-pills {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(57, 69, 52, 0.08);
}

.quantity-value {
  min-width: 2.2rem;
  text-align: center;
  font-weight: 700;
}

.cart-card {
  position: sticky;
  top: 1rem;
  padding: 1.25rem;
}

.cart-card-header h3,
.checkout-summary h3 {
  font-size: 1.4rem;
}

.cart-items,
.cart-totals,
.checkout-summary-block,
.order-meta {
  display: grid;
  gap: 0.85rem;
}

.cart-row {
  align-items: flex-start;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed rgba(87, 72, 58, 0.16);
}

.cart-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cart-item-title {
  font-weight: 700;
}

.cart-helper {
  color: var(--olive-700);
  font-weight: 700;
  flex: 1 1 8rem;
  text-align: right;
}

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

.step-card {
  padding: 1.15rem;
}

.checkout-layout,
.admin-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.4fr);
  gap: 1rem;
}

.checkout-form,
.admin-card {
  padding: 1.4rem;
}

.stack-form {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

label {
  display: grid;
  gap: 0.45rem;
}

label span {
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(87, 72, 58, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.86);
  padding: 0.9rem 1rem;
  color: var(--ink-900);
}

textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-field-grow {
  grid-column: span 1;
}

.form-field-small {
  max-width: 10rem;
}

.checkout-summary {
  padding: 1.4rem;
  align-self: start;
  position: sticky;
  top: 1rem;
}

.checkout-summary-title {
  margin-top: 0;
}

.summary-total {
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(87, 72, 58, 0.16);
  font-size: 1.08rem;
  font-weight: 800;
}

.summary-flag {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(100, 115, 86, 0.08);
  color: var(--olive-700);
}

.confirmation-panel {
  margin-bottom: 1rem;
  padding: 1.25rem;
}

.confirmation-panel h3 {
  margin-top: 0;
}

.confirmation-order-id {
  display: inline-flex;
  margin-top: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(181, 94, 61, 0.12);
  color: var(--terracotta-600);
  font-weight: 800;
}

.checkout-error {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  color: #7b1e16;
  background: rgba(204, 72, 42, 0.12);
}

.page-alert {
  width: min(calc(100% - 2rem), var(--content-max));
  margin: 0 auto;
}

.page-alert p {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.page-alert-success p {
  color: var(--olive-700);
  background: rgba(100, 115, 86, 0.12);
}

.page-alert-error p {
  color: #7b1e16;
  background: rgba(204, 72, 42, 0.12);
}

.field-error {
  color: #8a2b21;
  font-size: 0.85rem;
}

.site-footer {
  padding-bottom: 2.4rem;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(135deg, rgba(57, 69, 52, 0.96), rgba(83, 53, 33, 0.94)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.08), transparent 18rem);
  color: #fff8ef;
  box-shadow: var(--shadow-soft);
}

.footer-brand {
  display: grid;
  gap: 0.5rem;
  align-content: center;
}

.footer-brand p {
  margin: 0;
  color: rgba(255, 248, 239, 0.82);
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.footer-link-card {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.05rem;
  border-radius: var(--radius-md);
  background: rgba(255, 248, 239, 0.1);
  border: 1px solid rgba(255, 248, 239, 0.16);
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.footer-link-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 248, 239, 0.14);
  border-color: rgba(255, 248, 239, 0.24);
}

.footer-link-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: rgba(255, 248, 239, 0.72);
}

.footer-link-card strong {
  font-size: 1.05rem;
}

.brand-name-footer {
  display: inline-block;
  font-size: 1.45rem;
  color: #fff8ef;
}

.admin-page .topbar {
  padding-bottom: 0.8rem;
}

.admin-main {
  padding-top: 1rem;
}

.admin-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 2rem;
}

.admin-date {
  font-weight: 700;
  color: var(--ink-700);
}

.admin-metrics {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}

.metric-card {
  padding: 1.25rem;
}

.metric-card strong {
  display: block;
  margin-top: 0.25rem;
  font-size: 2rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
}

.metric-card span {
  color: var(--ink-700);
}

.admin-panel-grid {
  grid-template-columns: minmax(340px, 0.75fr) minmax(0, 1fr);
}

.admin-section-stack {
  display: grid;
  gap: 1.2rem;
  padding-bottom: 3.2rem;
}

.admin-card-header {
  margin-bottom: 1rem;
}

.inventory-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.inventory-card {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
}

.inventory-card[data-inactive="true"] {
  opacity: 0.7;
}

.inventory-card h3 {
  margin: 0;
}

.inventory-photo {
  overflow: hidden;
  border-radius: var(--radius-md);
  height: 10rem;
}

.inventory-photo-placeholder {
  min-height: 9rem;
  display: flex;
  align-items: end;
}

.inventory-photo img {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.24);
}

.inventory-controls {
  display: grid;
  gap: 0.8rem;
}

.inventory-toggle {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.inventory-toggle input {
  width: auto;
}

.orders-list {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
}

.order-card {
  padding: 1.2rem;
}

.order-header {
  align-items: start;
}

.order-id {
  color: var(--terracotta-600);
  font-weight: 800;
}

.order-meta {
  margin-top: 1rem;
}

.order-tag-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.order-tag {
  display: inline-flex;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.tag-new {
  background: rgba(181, 94, 61, 0.12);
  color: var(--terracotta-600);
}

.tag-progress {
  background: rgba(255, 216, 152, 0.32);
  color: #80521d;
}

.tag-delivered {
  background: rgba(100, 115, 86, 0.12);
  color: var(--olive-700);
}

.tag-cancelled {
  background: rgba(87, 72, 58, 0.12);
  color: var(--ink-700);
}

.empty-state {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  color: var(--ink-700);
}

.admin-checklist {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.checkbox-line input {
  width: auto;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 1.5rem 1rem;
}

.auth-card {
  width: min(100%, 720px);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--paper);
  border: 1px solid rgba(87, 72, 58, 0.09);
  box-shadow: var(--shadow-soft);
}

.auth-copy h1 {
  margin: 0.25rem 0 0.75rem;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.auth-copy p {
  color: var(--ink-700);
  line-height: 1.65;
}

@media (max-width: 1060px) {
  .hero,
  .catalog-layout,
  .checkout-layout,
  .admin-panel-grid {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 27rem;
  }

  .trust-strip,
  .brand-pill-row,
  .story-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cart-card,
  .checkout-summary {
    position: static;
  }

  .footer-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .menu-header {
    grid-template-columns: 1fr;
  }

  .menu-price {
    text-align: left;
  }

  .menu-meta {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.35rem;
  }

  .menu-actions {
    align-items: stretch;
  }

  .cart-helper {
    text-align: left;
  }

  .menu-card,
  .menu-card-surface {
    min-height: 19rem;
  }
}

@media (max-width: 720px) {
  .topbar,
  .admin-hero,
  .menu-header,
  .menu-actions,
  .summary-row,
  .cart-row,
  .order-header {
    flex-direction: column;
    align-items: stretch;
  }

  .topnav {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-media {
    min-height: 23rem;
  }

  .floating-card-light {
    left: 0.75rem;
    right: 4rem;
    min-width: unset;
  }

  .floating-card-dark {
    left: 4rem;
    right: 0.75rem;
    min-width: unset;
  }

  .trust-strip,
  .story-grid,
  .steps-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .brand-pill-row {
    justify-content: flex-start;
  }

  .form-field-small {
    max-width: none;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }
}
