:root {
  --ink: #2a1a12;
  --muted: #75665c;
  --paper: #fff7e8;
  --surface: #fff;
  --line: #ead9bd;
  --charcoal: #2a1a12;
  --tomato: #d93625;
  --mustard: #f6c233;
  --leaf: #2f7d3a;
  --beef: #6b3526;
  --bun: #f3b85a;
  --cream: #fff3d6;
  --shadow: 0 18px 45px rgba(107, 53, 38, .12);
}

/* La Escalera ------------------------------------------------------------- */
:root {
  --ink: #171411;
  --muted: #746b60;
  --paper: #f3ead8;
  --surface: #fffaf0;
  --line: #d8c9b4;
  --charcoal: #171411;
  --tomato: #ed5625;
  --mustard: #f4a261;
  --leaf: #2d7a55;
  --beef: #3a2d25;
  --bun: #ed5625;
  --cream: #fff4df;
  --shadow: 0 20px 60px rgba(35, 25, 18, .14);
}

body {
  background:
    radial-gradient(circle at 10% 10%, rgba(237, 86, 37, .08), transparent 28%),
    linear-gradient(90deg, rgba(23, 20, 17, .025) 1px, transparent 1px),
    linear-gradient(rgba(23, 20, 17, .025) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 28px 28px, 28px 28px, auto;
}

body.orders-page {
  background:
    radial-gradient(circle at 90% 0%, rgba(237, 86, 37, .16), transparent 32%),
    linear-gradient(90deg, rgba(23, 20, 17, .035) 1px, transparent 1px),
    linear-gradient(rgba(23, 20, 17, .035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, 28px 28px, 28px 28px, auto;
}

body.orders-page .shell { background: transparent; }

.escalera-logo {
  width: fit-content;
  color: #fff7e9;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(48px, 8vw, 92px);
  line-height: .82;
  letter-spacing: -4px;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.escalera-logo span {
  display: block;
  margin: 0 0 4px 4px;
  color: var(--tomato);
  font-family: Georgia, serif;
  font-size: .3em;
  font-style: italic;
  letter-spacing: 1px;
  text-transform: none;
}

.menu-logo {
  color: var(--ink);
  font-size: clamp(44px, 7vw, 74px);
  letter-spacing: -3px;
}

.home-hero {
  justify-items: start;
  background:
    linear-gradient(100deg, rgba(16, 14, 12, .96) 0 50%, rgba(16, 14, 12, .64) 100%),
    repeating-linear-gradient(120deg, transparent 0 34px, rgba(237, 86, 37, .12) 35px 36px),
    #171411;
}

.home-hero::before {
  content: "ARTE\A CAFÉ\A ENCUENTRO";
  white-space: pre;
  position: absolute;
  right: -1vw;
  top: 9vh;
  color: rgba(237, 86, 37, .92);
  font-family: Impact, sans-serif;
  font-size: clamp(72px, 12vw, 180px);
  line-height: .75;
  text-align: right;
  transform: rotate(-4deg);
}

.home-copy { width: min(610px, 100%); }
.home-copy h2 { font-family: Georgia, serif; font-size: clamp(42px, 7vw, 84px); font-weight: 400; text-transform: none; }
.home-kicker { color: var(--tomato); letter-spacing: .18em; }
.btn.primary { background: var(--tomato); color: #fff; border-color: var(--tomato); }
.home-cta { box-shadow: 0 18px 36px rgba(237, 86, 37, .28); }
.culture-note { display: grid; gap: 4px; width: fit-content; margin-top: 14px; padding-left: 16px; border-left: 4px solid var(--tomato); }
.culture-note strong { color: var(--tomato); text-transform: uppercase; letter-spacing: .08em; }
.culture-note span { color: rgba(255,255,255,.76); }

.menu-controls { width: min(100%, 940px); }
.menu-title { gap: 12px; }
.menu-title > p { color: var(--muted); font-size: 12px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.category-buttons { background: rgba(255, 250, 240, .82); border: 1px solid rgba(23,20,17,.1); box-shadow: var(--shadow); }
.category-filter.active { background: var(--ink); color: #fff; }
.filter-symbol { width: 28px; height: 28px; display: grid; place-items: center; color: var(--tomato); font-size: 21px; }
.category-filter.active .filter-symbol { color: var(--mustard); }

.menu-section { background: rgba(255,250,240,.7); border-color: rgba(23,20,17,.12); box-shadow: var(--shadow); }
.menu-section-head h2 { font-family: Georgia, serif; font-weight: 500; text-transform: none; }
.section-grid { grid-auto-flow: row; grid-auto-columns: initial; grid-template-columns: repeat(3, minmax(0, 1fr)); overflow: visible; }
.menu-card { --card-bg: none !important; min-height: 176px; border: 1px solid rgba(23,20,17,.12); background: #fffaf0; box-shadow: 0 10px 24px rgba(35,25,18,.08); }
.menu-card::before { display: none; }
.menu-card::after { background: radial-gradient(circle at 100% 0, rgba(237,86,37,.14), transparent 42%); }
.card h3 { font-family: Georgia, serif; font-size: 20px; font-weight: 600; }
.chef-comment { color: var(--muted); font-style: normal; font-weight: 500; }
.price { color: var(--tomato); font-size: 20px; }
.add-float-action { width: 42px; height: 42px; background: var(--ink); color: white; }
.add-float-action:hover { background: var(--tomato); }
.add-symbol { font-size: 26px; font-weight: 400; line-height: 1; }
.sidebar .panel { background: rgba(255,250,240,.96); }
.order-fab { background: var(--ink); }
.order-fab strong { background: var(--tomato); color: white; }
.btn.whatsapp { background: #25d366; color: #082d16; border-color: #25d366; }
.mark { background: var(--tomato); color: white; border-radius: 50%; }
.status.preparando { background: #ffe0d4; color: #a8300c; }
.status.listo { background: #d8f3e4; color: #17663f; }

@media (max-width: 980px) {
  .section-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .home-hero { align-items: end; padding-bottom: 52px; }
  .home-hero::before { top: 10vh; right: -8px; opacity: .42; }
  .home-copy { gap: 14px; }
  .section-grid { grid-template-columns: 1fr; }
  .menu-section { padding: 14px; }
  .menu-card { min-height: 150px; }
  .category-buttons { padding: 8px; }
  .category-filter { min-width: 74px; }
}

/* Menú minimalista ------------------------------------------------------- */
body.orders-page {
  background: #f7f5f0;
}

body.orders-page .layout {
  width: min(1280px, 100%);
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(32px, 5vw, 72px);
  padding: 42px clamp(18px, 4vw, 56px) 80px;
}

body.orders-page .menu-controls {
  width: 100%;
  margin: 0 0 54px;
  gap: 28px;
}

body.orders-page .menu-title {
  justify-items: start;
  text-align: left;
  gap: 10px;
  margin: 0;
}

body.orders-page .menu-title:hover {
  transform: none;
}

body.orders-page .menu-logo {
  color: var(--ink);
  font-size: clamp(46px, 6vw, 70px);
  letter-spacing: -3px;
  transform: none;
}

body.orders-page .menu-title > p {
  color: #8a8178;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
}

body.orders-page .category-buttons {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

body.orders-page .category-filter {
  width: auto;
  min-width: 0;
  min-height: 36px;
  flex-direction: row;
  padding: 0 14px;
  border: 1px solid #ddd8d0;
  border-radius: 999px;
  color: #6d665f;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

body.orders-page .category-filter:hover {
  border-color: #a9a198;
  background: transparent;
}

body.orders-page .category-filter.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
}

body.orders-page .category-filter .filter-symbol,
body.orders-page .category-filter .filter-dot {
  display: none;
}

body.orders-page .category-buttons .toolbar {
  flex: 1 1 210px;
  grid-column: auto;
  margin: 0 0 0 8px;
}

body.orders-page #searchInput {
  min-height: 38px;
  border: 0;
  border-bottom: 1px solid #cfc9c0;
  border-radius: 0;
  padding: 0 4px;
  background: transparent;
  box-shadow: none;
  font-size: 13px;
}

body.orders-page #searchInput:focus {
  border-color: var(--ink);
  box-shadow: none;
}

body.orders-page .menu-grid {
  gap: 64px;
}

body.orders-page .menu-section {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body.orders-page .menu-section-head {
  width: 100%;
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 8px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid #cfc9c0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: left;
}

body.orders-page .menu-section-head h2 {
  margin-top: 5px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 400;
  line-height: 1;
}

body.orders-page .menu-section-head .muted {
  color: #9a9188;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

body.orders-page .menu-section-head > p {
  max-width: 300px;
  margin: 0;
  color: #81786f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  text-align: right;
}

body.orders-page .section-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  padding: 0;
}

body.orders-page .menu-card {
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) 38px;
  grid-template-rows: auto;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid #e1ddd6;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.orders-page .menu-card:hover {
  transform: none;
  border-color: #bdb6ad;
  box-shadow: none;
}

body.orders-page .menu-card::before,
body.orders-page .menu-card::after {
  display: none;
}

body.orders-page .card-head {
  gap: 6px 14px;
}

body.orders-page .card h3 {
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
}

body.orders-page .price {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

body.orders-page .chef-comment-row {
  margin: 0;
}

body.orders-page .chef-comment {
  max-width: 38ch;
  color: #8b837a;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.45;
}

body.orders-page .card-actions {
  align-self: center;
  margin: 0;
  padding: 0;
  border: 0;
}

body.orders-page .add-float-action {
  width: 34px;
  height: 34px;
  min-height: 34px;
  border: 1px solid #cfc9c0;
  background: transparent;
  color: var(--ink);
}

body.orders-page .add-float-action:hover {
  border-color: var(--tomato);
  background: var(--tomato);
  color: #fff;
}

body.orders-page .add-symbol {
  font-size: 20px;
  font-weight: 300;
}

body.orders-page .sidebar {
  top: 24px;
  gap: 10px;
}

body.orders-page .sidebar .panel {
  padding: 18px;
  border: 1px solid #ddd8d0;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

body.orders-page .sidebar .field,
body.orders-page .sidebar textarea {
  border-color: #e1ddd6;
  border-radius: 8px;
  background: #faf9f6;
}

body.orders-page .pay-methods label {
  border-color: #ddd8d0;
  border-radius: 8px;
  background: transparent;
  font-size: 12px;
}

body.orders-page .pay-methods label:has(input:checked) {
  border-color: var(--ink);
  background: var(--ink);
}

body.orders-page .total-line strong {
  font-size: 24px;
}

@media (max-width: 1040px) {
  body.orders-page .layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
  }

  body.orders-page .section-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.orders-page .layout {
    display: block;
    padding: 26px 18px 92px;
  }

  body.orders-page .menu-controls {
    margin-bottom: 42px;
  }

  body.orders-page .category-buttons {
    flex-wrap: wrap;
  }

  body.orders-page .category-buttons .toolbar {
    flex-basis: 100%;
    order: 5;
    margin: 8px 0 0;
  }

  body.orders-page .menu-section-head {
    display: block;
  }

  body.orders-page .menu-section-head > p {
    display: none;
  }

  body.orders-page .menu-card {
    padding: 17px 0;
  }

  body.orders-page .sidebar {
    position: fixed;
  }
}

:root {
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

body.orders-page {
  background:
    linear-gradient(180deg, rgba(18, 14, 12, .72) 0%, rgba(42, 26, 18, .54) 45%, rgba(255, 247, 232, .82) 100%),
    url("images/menu-burger-hotdog-top-bg.png") center top / cover fixed no-repeat;
}

body.orders-page .shell {
  background: rgba(255, 247, 232, .2);
}

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

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

.shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(14px, 3vw, 34px);
  border-bottom: 1px solid rgba(234, 217, 189, .78);
  background: rgba(255, 247, 232, .84);
  backdrop-filter: blur(22px);
}

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

.mark {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--mustard), var(--bun));
  color: var(--charcoal);
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(107, 53, 38, .16);
  flex: 0 0 auto;
}

h1 {
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 20px;
  padding: 24px clamp(14px, 3vw, 34px) 42px;
}

.kitchen-layout {
  padding: 22px clamp(14px, 3vw, 34px) 42px;
}

.home-shell {
  display: grid;
  grid-template-rows: 1fr;
}

.home-hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  justify-items: end;
  padding: clamp(28px, 6vw, 72px) clamp(18px, 6vw, 84px);
  overflow: hidden;
  background:
    linear-gradient(270deg, rgba(42, 26, 18, .9) 0%, rgba(107, 53, 38, .7) 42%, rgba(107, 53, 38, .1) 100%),
    url("images/home-burger.png") center / cover no-repeat;
}

.home-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(0deg, rgba(42, 26, 18, .62), transparent);
  pointer-events: none;
}

.home-copy {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  color: #fff;
  display: grid;
  gap: 18px;
}

.home-kicker {
  color: var(--mustard);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-copy h2 {
  font-size: clamp(46px, 9vw, 112px);
  line-height: .86;
  text-transform: uppercase;
}

.home-copy p:not(.home-kicker) {
  max-width: 520px;
  color: rgba(255, 255, 255, .88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.45;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.home-actions .btn {
  min-width: 168px;
  min-height: 52px;
  border-radius: 8px;
}

.home-cta {
  box-shadow: 0 18px 36px rgba(246, 194, 51, .28);
}

.home-secondary {
  background: rgba(255, 255, 255, .92);
}

.home-access {
  width: min(380px, 100%);
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 10px;
  background: rgba(255, 255, 255, .18);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 42px rgba(42, 26, 18, .22);
}

.home-access h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  text-transform: uppercase;
}

.home-access p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .8);
  font-size: 13px;
}

.home-access .btn {
  width: 100%;
}

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

.quick-access .btn {
  min-width: 0;
  min-height: 38px;
  padding: 0 8px;
  font-size: 12px;
}

.hero {
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 243, 214, .86)),
    linear-gradient(90deg, rgba(246, 194, 51, .18), rgba(217, 54, 37, .08), rgba(47, 125, 58, .1));
  padding: clamp(18px, 4vw, 36px);
  display: grid;
  align-content: end;
  gap: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}

.hero h2 {
  max-width: 880px;
  font-size: clamp(34px, 5.8vw, 76px);
  line-height: .9;
  text-transform: uppercase;
}

.qr-card {
  width: 132px;
  aspect-ratio: 1;
  border-radius: 24px;
  background:
    linear-gradient(90deg, var(--beef) 12px, transparent 12px 22px, var(--beef) 22px 34px, transparent 34px),
    linear-gradient(var(--beef) 12px, transparent 12px 22px, var(--beef) 22px 34px, transparent 34px),
    #fff;
  background-size: 44px 44px;
  border: 10px solid #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}

.menu-controls {
  width: min(100%, 620px);
  margin: 0 auto 28px;
  display: grid;
  justify-self: center;
  gap: 18px;
}

.menu-title {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 12px 0 8px;
}

.menu-title-link {
  color: inherit;
  text-decoration: none;
  border-radius: 18px;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-title-link:hover {
  opacity: .9;
  transform: translateY(-1px);
}

.menu-title p {
  color: var(--tomato);
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.menu-title h1 {
  color: var(--charcoal);
  font-size: clamp(46px, 8vw, 86px);
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.category-buttons {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  gap: 4px;
  margin: 0;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .54);
  border-radius: 14px;
  background: rgba(255, 255, 255, .38);
  box-shadow: 0 16px 38px rgba(42, 26, 18, .12);
  backdrop-filter: blur(22px);
}

.category-buttons .toolbar {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.category-filter {
  width: 100%;
  min-width: 0;
  min-height: 54px;
  position: relative;
  overflow: hidden;
  padding: 0 8px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--beef);
  box-shadow: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 850;
  text-transform: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
}

.test-data-btn {
  width: 100%;
}

.panel-title-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.panel-title-actions .btn {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.panel-title-actions .test-data-btn {
  width: auto;
}

.order-fab,
.claim-ticket,
.drawer-close,
.drawer-backdrop {
  display: none;
}

.drawer-close.icon-btn {
  display: none;
}

.claim-ticket {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 45;
  min-height: 52px;
  padding: 0 14px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(107, 53, 38, .18);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(42, 26, 18, .22);
  font-weight: 950;
}

.claim-ticket:not([hidden]) {
  display: inline-flex;
}

.claim-ticket strong {
  min-width: 48px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--mustard);
  color: var(--ink);
}

.category-filter::before {
  content: none;
}

.category-filter:hover {
  background: rgba(255, 255, 255, .42);
}

.category-filter.active {
  background: rgba(255, 243, 214, .18);
  color: var(--charcoal);
  transform: none;
  box-shadow: none;
  font-size: 12px;
}

.category-filter.active .filter-icon {
  transform: scale(.56);
}

.category-filter.active .filter-dot {
  transform: scale(1.18);
}

.category-filter .filter-icon {
  position: relative;
  z-index: 1;
  display: block;
  transform: scale(.48);
  transform-origin: center;
  margin: -6px 0 -7px;
  opacity: .92;
}

.category-filter .filter-icon.special {
  filter: drop-shadow(0 0 4px rgba(246, 194, 51, .55));
}

.filter-dot {
  position: relative;
  z-index: 1;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  flex: 0 0 auto;
  background:
    linear-gradient(135deg, var(--mustard) 0 32%, var(--tomato) 32% 58%, var(--leaf) 58% 78%, var(--bun) 78%);
  box-shadow: inset 0 -1px 0 rgba(42, 26, 18, .18);
}

.category-filter > span:last-child {
  position: relative;
  z-index: 1;
}

.field,
.select,
textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, .06);
  background: rgba(255, 255, 255, .88);
  color: var(--ink);
  border-radius: 12px;
  outline: none;
}

.field,
.select {
  min-height: 44px;
  padding: 0 14px;
}

textarea {
  min-height: 76px;
  resize: vertical;
  padding: 10px 12px;
}

.field:focus,
.select:focus,
textarea:focus {
  border-color: var(--tomato);
  box-shadow: 0 0 0 4px rgba(217, 54, 37, .12);
}

.menu-grid {
  display: grid;
  gap: 34px;
}

.orders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
}

.menu-section {
  scroll-margin-top: 140px;
  min-width: 0;
}

.menu-section-head {
  display: grid;
  justify-items: center;
  text-align: center;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .36);
  border-radius: 10px;
  background: rgba(255, 255, 255, .42);
  backdrop-filter: blur(12px);
  box-shadow: 0 14px 34px rgba(42, 26, 18, .16);
  margin-bottom: 18px;
}

.menu-section-head h2 {
  color: var(--charcoal);
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 0;
  text-shadow: none;
  text-transform: uppercase;
}

.menu-section-head > p {
  max-width: 620px;
  margin-top: 7px;
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45;
  text-shadow: none;
}

.menu-subsections {
  display: grid;
  gap: 20px;
}

.menu-subsection {
  min-width: 0;
}

.menu-subsection-head {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 5px;
  margin: 4px auto 10px;
  width: fit-content;
  max-width: 100%;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 10px;
  background: rgba(255, 255, 255, .36);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(42, 26, 18, .12);
}

.menu-subsection-head h3 {
  font-size: clamp(26px, 3.3vw, 36px);
  line-height: 1;
  color: var(--charcoal);
  text-shadow: none;
  text-transform: uppercase;
}

.menu-subsection-head p {
  max-width: 420px;
  color: var(--charcoal);
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.4;
}

.section-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 300px);
  grid-template-rows: 1fr;
  justify-content: center;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 14px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.card,
.panel {
  border: 1px solid rgba(107, 53, 38, .08);
  background: rgba(255, 255, 255, .92);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(107, 53, 38, .075);
}

.card {
  min-height: 190px;
  padding: 15px;
  display: grid;
  gap: 10px;
  scroll-snap-align: start;
}

.menu-card {
  position: relative;
  grid-template-rows: 1fr auto;
  border-radius: 8px;
  border-color: rgba(107, 53, 38, .18);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 28px rgba(107, 53, 38, .13);
  overflow: hidden;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.menu-card:hover {
  transform: translateY(-2px);
  border-color: rgba(217, 54, 37, .28);
  box-shadow: 0 18px 38px rgba(107, 53, 38, .18);
}

.menu-card::before,
.menu-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.menu-card::before {
  background: var(--card-bg) center / cover no-repeat;
  opacity: .64;
  filter: saturate(1.12) contrast(1.04);
}

.menu-card::after {
  background:
    radial-gradient(circle at 92% 14%, rgba(246, 194, 51, .26), transparent 34%),
    linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .68) 54%, rgba(255, 247, 232, .28) 100%),
    linear-gradient(180deg, rgba(255, 247, 232, .44), rgba(255, 255, 255, .74));
}

.menu-card > * {
  position: relative;
  z-index: 1;
}

.menu-card.category-hamburguesas {
  --card-bg: url("images/card-burger-bg.jpg");
}

.menu-card.category-hot-dogs {
  --card-bg: url("images/card-hotdog-bg.jpg");
}

.menu-card.category-especiales {
  --card-bg: url("images/card-special-bg.jpg");
}

.panel-title,
.order-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

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

.order-meta p,
.order-card p {
  overflow-wrap: anywhere;
}

.order-card > .order-meta:first-child {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.order-card > .order-meta:first-child > div {
  width: 100%;
}

.order-customer-line {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 7px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  font-size: 12px;
  line-height: 1.25;
}

.order-customer-line::-webkit-scrollbar {
  display: none;
}

.order-customer-line span {
  flex: 0 0 auto;
}

.order-customer-line span + span::before {
  content: "•";
  margin-right: 7px;
  color: rgba(107, 53, 38, .58);
}

.order-customer-stack {
  display: grid;
  gap: 2px;
  width: 100%;
  overflow-x: auto;
  font-size: 12px;
  line-height: 1.25;
  scrollbar-width: none;
}

.order-customer-stack::-webkit-scrollbar {
  display: none;
}

.order-customer-stack span {
  min-width: 0;
  width: max-content;
  max-width: none;
  overflow-wrap: normal;
  white-space: nowrap;
}

.card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  align-items: start;
}

.card-head > div:first-child {
  min-width: 0;
}

.card h3,
.panel h2 {
  font-size: 18px;
  line-height: 1.12;
}

.ingredients-sentence {
  margin: 0;
  color: var(--beef);
  font-size: 11.5px;
  line-height: 1.35;
}

.ingredients-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 32px;
  gap: 6px;
  align-items: center;
  margin-top: 5px;
}

.chef-comment {
  margin: 0;
  color: var(--beef);
  font-size: 12.5px;
  font-style: italic;
  font-weight: 900;
  line-height: 1.35;
}

.chef-comment-row {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.price {
  color: var(--tomato);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.12;
  white-space: nowrap;
}

.price-stack {
  display: grid;
  justify-items: end;
}

.inline-ingredient-action {
  align-self: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-content: start;
}

.chip,
.status {
  border: 1px solid rgba(107, 53, 38, .08);
  background: #fff3d6;
  color: var(--beef);
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.status.nuevo {
  background: #fff1c7;
  color: #7a5200;
}

.status.preparando {
  background: #ffe1d8;
  color: var(--tomato);
}

.status.listo {
  background: #e5f7e7;
  color: var(--leaf);
}

.status.entregado {
  background: #efefef;
  color: #555;
}

.btn,
.icon-btn {
  min-height: 42px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 12px;
  background: var(--surface);
  color: var(--charcoal);
  font-weight: 850;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn {
  padding: 0 14px;
}

.icon-btn {
  width: 42px;
  padding: 0;
  font-size: 22px;
}

.btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.btn.primary {
  background: var(--mustard);
  color: var(--ink);
  border-color: rgba(107, 53, 38, .12);
}

.btn.dark {
  background: var(--tomato);
  color: #fff;
  border-color: var(--tomato);
}

.burger-add {
  min-height: 52px;
  position: relative;
  overflow: hidden;
  border-color: rgba(107, 53, 38, .24);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(246, 194, 51, .22), rgba(217, 54, 37, .08)),
    var(--beef);
  color: #fff;
  box-shadow: 0 14px 28px rgba(107, 53, 38, .2);
}

.burger-add:hover {
  box-shadow: 0 18px 36px rgba(107, 53, 38, .28);
}

.burger-stack {
  width: 36px;
  height: 28px;
  display: grid;
  align-content: center;
  gap: 2px;
  flex: 0 0 auto;
}

.burger-layer {
  display: block;
  width: 100%;
  margin: 0 auto;
  border-radius: 999px;
}

.burger-layer.bun {
  height: 7px;
  background: linear-gradient(180deg, #f8ce76, var(--bun));
  box-shadow: inset 0 -1px 0 rgba(107, 53, 38, .18);
}

.burger-layer.bun.top {
  width: 33px;
  border-radius: 999px 999px 8px 8px;
}

.burger-layer.bun.bottom {
  width: 31px;
  height: 5px;
  border-radius: 8px 8px 999px 999px;
}

.burger-layer.lettuce {
  width: 34px;
  height: 4px;
  background: var(--leaf);
}

.burger-layer.cheese {
  width: 30px;
  height: 4px;
  background: var(--mustard);
}

.burger-layer.tomato {
  width: 32px;
  height: 4px;
  background: var(--tomato);
}

.burger-layer.beef {
  width: 35px;
  height: 5px;
  background: #4d2419;
}

.hotdog-stack {
  position: relative;
  width: 42px;
  height: 24px;
  display: block;
  flex: 0 0 auto;
}

.hotdog-bun,
.hotdog-sausage,
.hotdog-mustard {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(-8deg);
  border-radius: 999px;
}

.hotdog-bun {
  top: 3px;
  width: 40px;
  height: 18px;
  background: linear-gradient(180deg, #f8ce76, var(--bun));
  box-shadow: inset 0 -2px 0 rgba(107, 53, 38, .16);
}

.hotdog-sausage {
  top: 8px;
  width: 34px;
  height: 8px;
  background: var(--tomato);
  box-shadow: 0 1px 0 rgba(42, 26, 18, .18);
}

.hotdog-mustard {
  top: 9px;
  width: 25px;
  height: 3px;
  background: var(--mustard);
}

.btn.mustard {
  background: var(--mustard);
}

.btn.ghost {
  border-color: rgba(0, 0, 0, .06);
  color: var(--muted);
}

.item-actions,
.checkout-actions,
.kitchen-actions {
  display: grid;
  gap: 8px;
}

.kitchen-actions {
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  margin-top: auto;
  min-width: 0;
}

.kitchen-actions .btn {
  width: min(100%, 170px);
  min-width: 0;
  max-width: 100%;
  min-height: 36px;
  padding: 0 10px;
  white-space: normal;
  overflow-wrap: normal;
  line-height: 1.08;
  text-align: center;
  font-size: 12px;
}

.item-actions {
  grid-template-columns: 42px 1fr;
  margin-top: auto;
}

.icon-action {
  min-width: 0;
  min-height: 54px;
  position: relative;
}

.ingredient-action {
  width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
  border-radius: 999px;
  position: relative;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.ingredient-action .tune-icon {
  width: 20px;
  gap: 3px;
}

.ingredient-action .tune-icon span {
  height: 2px;
}

.ingredient-action .tune-icon span::after {
  width: 6px;
  height: 6px;
  border-width: 1.5px;
}

.ingredient-action .tune-icon span:nth-child(3)::after {
  left: 7px;
}

.add-float-action {
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border-radius: 50%;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--beef);
}

.add-float-action:hover,
.ingredient-action:hover {
  background: rgba(255, 243, 214, .76);
}

.card-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-top: 2px;
  padding-top: 8px;
  border-top: 1px solid rgba(234, 217, 189, .7);
}

.add-float-action .burger-stack {
  transform: scale(.82);
}

.add-float-action .hotdog-stack {
  transform: scale(.82);
}

.tune-icon {
  width: 34px;
  display: grid;
  gap: 5px;
}

.tune-icon span {
  position: relative;
  display: block;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
}

.tune-icon span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border: 2px solid currentColor;
  border-radius: 50%;
  background: var(--surface);
  transform: translateY(-50%);
}

.tune-icon span:nth-child(1)::after {
  left: 4px;
}

.tune-icon span:nth-child(2)::after {
  right: 5px;
}

.tune-icon span:nth-child(3)::after {
  left: 13px;
}

.icon-badge {
  position: absolute;
  top: 1px;
  right: 0;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--tomato);
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
}

.sidebar {
  position: sticky;
  top: 84px;
  align-self: start;
  display: grid;
  gap: 12px;
}

.panel {
  padding: 16px;
}

.customer-panel {
  margin-bottom: 14px;
}

.menu-card {
  min-height: 220px;
}

.customize-btn {
  margin-top: auto;
}

.ingredient-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.ingredient-row {
  min-height: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff3d6;
  border: 1px solid rgba(107, 53, 38, .08);
}

.ingredient-row.removed {
  color: var(--muted);
  text-decoration: line-through;
  background: #f0e2cd;
  opacity: .68;
}

.ingredient-row span {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.ingredient-row .icon-btn {
  width: 38px;
  min-height: 38px;
  border-radius: 999px;
  font-size: 18px;
}

.ingredient-modal,
.claim-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 26, 18, .56);
  backdrop-filter: blur(10px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(680px, calc(100vh - 36px));
  overflow: auto;
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .26);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h2 {
  font-size: 28px;
  line-height: 1;
}

.modal-ingredient-list {
  margin-top: 0;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 4px;
}

.claim-card {
  width: min(440px, 100%);
  max-width: 440px;
  gap: 14px;
}

.claim-summary {
  display: grid;
  gap: 7px;
  padding: 14px;
  border-radius: 8px;
  background: #fff3d6;
  color: var(--ink);
  border: 1px solid rgba(107, 53, 38, .14);
}

.claim-summary p,
.claim-notes {
  margin: 0;
}

.claim-items {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.claim-items li {
  display: grid;
  gap: 3px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(107, 53, 38, .12);
}

.claim-items small {
  color: var(--muted);
  line-height: 1.35;
}

.claim-notes {
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .64);
  border: 1px solid rgba(107, 53, 38, .12);
}

.panel-title {
  margin-bottom: 12px;
}

.order-list {
  display: grid;
  gap: 8px;
  min-height: 86px;
}

.empty {
  min-height: 86px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  padding: 14px;
}

.order-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.order-row:hover {
  background: rgba(255, 243, 214, .56);
}

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

.order-product {
  min-width: 0;
}

.order-product-heading {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-ingredient-action {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  min-height: 28px;
  color: var(--beef);
}

.cart-ingredient-action .tune-icon {
  width: 18px;
}

.qty {
  display: inline-grid;
  grid-auto-flow: column;
  align-items: center;
  gap: 6px;
}

.qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  font-weight: 900;
}

.totals {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.total-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
}

.total-line strong {
  color: var(--ink);
  font-size: 28px;
}

.pay-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0;
}

.pay-methods label {
  min-height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff3d6;
  font-weight: 900;
}

.pay-methods input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-methods label:has(input:checked) {
  background: var(--beef);
  color: #fff;
  border-color: var(--beef);
}

.dining-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 10px 0 16px;
}

.dining-actions .btn.active {
  background: var(--beef);
  color: #fff;
  border-color: var(--beef);
}

.checkout-actions {
  margin-top: 6px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.metric {
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.metric span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.metric strong {
  font-size: 24px;
  line-height: 1;
}

.kitchen-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 18px;
}

.delivered-section {
  margin-top: 28px;
}

.compact-head {
  margin-bottom: 12px;
}

.compact-head h2 {
  font-size: 28px;
}

.order-card {
  min-height: 0;
  padding: 16px;
  display: grid;
  gap: 12px;
  align-content: stretch;
  overflow: hidden;
  border-radius: 10px;
}

.order-card.warning {
  border-color: rgba(246, 194, 51, .72);
  box-shadow: 0 0 0 3px rgba(246, 194, 51, .18), 0 12px 34px rgba(107, 53, 38, .12);
}

.order-card.late {
  border-color: rgba(217, 54, 37, .88);
  box-shadow: 0 0 0 3px rgba(217, 54, 37, .18), 0 14px 36px rgba(217, 54, 37, .16);
}

.order-card.late::before {
  content: "ALERTA: mas de 15 min";
  display: block;
  width: fit-content;
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--tomato);
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .02em;
}

.order-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 6px;
}

.timer-pill {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 8px;
  background: #e5f7e7;
  color: var(--leaf);
  font-size: 12px;
  line-height: 1;
  font-weight: 950;
}

.timer-pill.warning {
  background: #fff1c7;
  color: #7a5200;
}

.timer-pill.late {
  background: var(--tomato);
  color: #fff;
}

.order-items small {
  display: block;
  color: var(--tomato);
  font-weight: 700;
  margin-top: 3px;
}

.login-panel {
  max-width: 430px;
  display: grid;
  gap: 10px;
}

.admin-section {
  margin-top: 16px;
}

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

.admin-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 120px 130px auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 16px;
  background: #f8f8fa;
}

.admin-row textarea {
  min-height: 58px;
  margin-top: 8px;
}

.switch-line {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.order-card h2 {
  font-size: 34px;
  line-height: 1;
}

.order-items {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  overflow-wrap: anywhere;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 90;
  transform: translate(-50%, 120px);
  width: max-content;
  max-width: calc(100vw - 28px);
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow);
  transition: transform .24s ease;
  font-weight: 850;
  text-align: center;
}

.toast.show {
  transform: translate(-50%, 0);
}

@media (max-width: 1060px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 760px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  body.orders-page {
    background:
      linear-gradient(180deg, rgba(18, 14, 12, .72) 0%, rgba(42, 26, 18, .44) 36%, rgba(42, 26, 18, .18) 100%),
      url("images/menu-burger-hotdog-top-bg.png") center top / auto 48vh no-repeat fixed,
      url("images/menu-burger-hotdog-top-bg.png") center bottom / auto 120vh repeat-y fixed,
      #2a1a12;
  }

  .topbar,
  .kitchen-head,
  .toolbar {
    grid-template-columns: 1fr;
  }

  .topbar {
    display: grid;
    gap: 10px;
    padding: 10px 12px;
  }

  .toolbar,
  .orders-grid,
  .admin-row {
    grid-template-columns: 1fr;
  }

  .toolbar {
    grid-template-columns: 1fr;
  }

  .category-buttons {
    position: static;
    z-index: 8;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: visible;
    padding: 6px;
    margin: 0;
    background: rgba(255, 255, 255, .42);
    backdrop-filter: blur(22px);
  }

  .category-buttons::before,
  .category-buttons::after {
    content: none;
  }

  .category-filter {
    width: 100%;
    min-height: 50px;
    padding: 0 4px;
    font-size: 10px;
  }

  .category-filter.active {
    font-size: 11px;
  }

  .category-filter .filter-icon {
    transform: scale(.42);
    margin: -7px 0 -8px;
  }

  .category-filter.active .filter-icon {
    transform: scale(.48);
  }

  .filter-dot {
    width: 15px;
    height: 15px;
  }

  .menu-controls {
    width: 100%;
    margin-bottom: 22px;
  }

  .section-grid {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    overflow: visible;
    padding: 0;
    scroll-snap-type: none;
  }

  .layout {
    padding: 12px 12px 96px;
    gap: 16px;
    width: 100%;
    max-width: 100%;
  }

  .home-hero {
    min-height: 100vh;
    align-items: end;
    justify-items: start;
    padding: 34px 16px;
    background:
      linear-gradient(0deg, rgba(16, 24, 32, .92) 0%, rgba(16, 24, 32, .68) 54%, rgba(16, 24, 32, .18) 100%),
      url("images/home-burger.png") center / cover no-repeat;
  }

  .home-copy {
    gap: 14px;
  }

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

  .home-actions .btn {
    width: 100%;
    min-width: 0;
  }

  .modal-card {
    align-self: end;
    max-height: calc(100vh - 24px);
    border-radius: 18px 18px 0 0;
  }

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

  .ingredient-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 118px;
    border-radius: 20px;
    padding: 18px;
    margin-bottom: 12px;
  }

  .hero h2 {
    font-size: 38px;
  }

  .sidebar {
    gap: 10px;
  }

  .brand {
    gap: 10px;
  }

  .mark {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  h1 {
    font-size: 24px;
  }

  .nav .btn {
    width: 100%;
    min-height: 40px;
  }

  .customer-panel,
  .panel {
    padding: 14px;
    border-radius: 16px;
  }

  .field,
  .select,
  .btn,
  .pay-methods label {
    min-height: 48px;
  }

  .menu-grid {
    gap: 18px;
  }

  .menu-section-head h2 {
    font-size: 40px;
  }

  .menu-section-head {
    padding: 10px 14px;
  }

  .menu-subsection-head {
    display: grid;
    gap: 5px;
    padding: 8px 12px;
  }

  .menu-subsection-head h3 {
    font-size: 30px;
  }

  .menu-card {
    min-height: 124px;
    width: 100%;
    min-width: 0;
    padding: 10px 12px 34px;
    gap: 6px;
  }

  .card-head {
    gap: 4px 8px;
  }

  .card h3,
  .panel h2 {
    font-size: 16px;
  }

  .ingredients-row {
    grid-template-columns: minmax(0, 1fr) 28px;
    gap: 4px;
    margin-top: 2px;
  }

  .ingredients-sentence {
    font-size: 10px;
    line-height: 1.18;
  }

  .chef-comment {
    font-size: 10.5px;
    line-height: 1.18;
  }

  .price {
    font-size: 15px;
  }

  .ingredient-action {
    width: 28px;
    height: 28px;
    min-height: 28px;
  }

  .burger-add {
    min-height: 34px;
    width: 38px;
    height: 34px;
    padding: 0;
  }

  .card-actions {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }

  .add-float-action {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .burger-add .burger-stack {
    transform: scale(.8);
  }

  .burger-add .hotdog-stack {
    transform: scale(.82);
  }

  .sidebar {
    position: fixed;
    top: auto;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 60;
    max-height: calc(100dvh - 28px);
    overflow: auto;
    padding: 42px 10px 10px;
    gap: 10px;
    border-radius: 20px;
    background: rgba(255, 247, 232, .94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
    transform: translateY(calc(100% + 28px));
    visibility: hidden;
    transition: transform .22s ease, visibility .22s ease;
  }

  body.order-drawer-open .sidebar {
    transform: translateY(0);
    visibility: visible;
  }

  body.order-drawer-open {
    overflow: hidden;
  }

  body.order-drawer-open .toast {
    top: 14px;
    bottom: auto;
    transform: translate(-50%, -120px);
  }

  body.order-drawer-open .toast.show {
    transform: translate(-50%, 0);
  }

  .drawer-close.icon-btn {
    display: inline-flex;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    min-height: 34px;
    height: 34px;
    z-index: 2;
  }

  .drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(18, 14, 12, .36);
    backdrop-filter: blur(4px);
  }

  .drawer-backdrop:not([hidden]) {
    display: block;
  }

  .order-fab {
    position: fixed;
    right: 14px;
    bottom: 14px;
    z-index: 45;
    min-height: 52px;
    padding: 0 12px 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(107, 53, 38, .18);
    border-radius: 999px;
    background: rgba(42, 26, 18, .94);
    color: #fff;
    box-shadow: 0 16px 38px rgba(42, 26, 18, .3);
    font-weight: 950;
  }

  .order-fab strong {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--mustard);
    color: var(--ink);
  }

  .claim-ticket {
    left: 12px;
    right: auto;
    bottom: 14px;
    min-height: 52px;
    max-width: calc(100vw - 132px);
    padding: 0 10px;
    gap: 7px;
    font-size: 12px;
  }

  .claim-ticket strong {
    min-width: 42px;
    height: 28px;
  }

  .panel-title {
    align-items: center;
  }

  .panel-title-actions {
    gap: 5px;
  }

  .panel-title-actions .btn,
  .panel-title-actions .test-data-btn {
    width: auto;
    min-height: 32px;
    padding: 0 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .checkout-actions .btn {
    min-height: 56px;
    font-size: 16px;
  }
}

/* Final theme overrides (kept after the responsive base rules). */
body {
  background: radial-gradient(circle at 10% 10%, rgba(237,86,37,.08), transparent 28%), linear-gradient(90deg, rgba(23,20,17,.025) 1px, transparent 1px), linear-gradient(rgba(23,20,17,.025) 1px, transparent 1px), var(--paper);
  background-size: auto, 28px 28px, 28px 28px, auto;
}
body.orders-page {
  background: radial-gradient(circle at 90% 0%, rgba(237,86,37,.16), transparent 32%), linear-gradient(90deg, rgba(23,20,17,.035) 1px, transparent 1px), linear-gradient(rgba(23,20,17,.035) 1px, transparent 1px), var(--paper);
  background-size: auto, 28px 28px, 28px 28px, auto;
}
body.orders-page .shell { background: transparent; }
.home-hero {
  justify-items: start;
  background: linear-gradient(100deg, rgba(16,14,12,.96) 0 50%, rgba(16,14,12,.64) 100%), repeating-linear-gradient(120deg, transparent 0 34px, rgba(237,86,37,.12) 35px 36px), #171411;
}
.home-hero::before {
  content: "ARTE\A CAFÉ\A ENCUENTRO";
  white-space: pre;
  position: absolute;
  right: -1vw;
  top: 9vh;
  color: rgba(237,86,37,.92);
  font-family: Impact, sans-serif;
  font-size: clamp(72px,12vw,180px);
  line-height: .75;
  text-align: right;
  transform: rotate(-4deg);
}
.home-copy { width: min(610px,100%); }
.home-copy h2 { font-family: Georgia,serif; font-size: clamp(42px,7vw,84px); font-weight: 400; text-transform: none; }
.home-kicker { color: var(--tomato); letter-spacing: .18em; }
.btn.primary { background: var(--tomato); color: #fff; border-color: var(--tomato); }
.home-cta { box-shadow: 0 18px 36px rgba(237,86,37,.28); }
.menu-controls { width: min(100%,940px); }
.menu-title { gap: 12px; }
.category-buttons { background: rgba(255,250,240,.82); border: 1px solid rgba(23,20,17,.1); box-shadow: var(--shadow); }
.category-filter.active { background: var(--ink); color: #fff; }
.menu-section { background: rgba(255,250,240,.7); border-color: rgba(23,20,17,.12); box-shadow: var(--shadow); }
.menu-section-head h2 { font-family: Georgia,serif; font-weight: 500; text-transform: none; }
.section-grid { grid-auto-flow: row; grid-auto-columns: initial; grid-template-columns: repeat(3,minmax(0,1fr)); overflow: visible; }
.menu-card { --card-bg: none !important; min-height: 176px; border: 1px solid rgba(23,20,17,.12); background: #fffaf0; box-shadow: 0 10px 24px rgba(35,25,18,.08); }
.menu-card::before { display: none; }
.menu-card::after { background: radial-gradient(circle at 100% 0, rgba(237,86,37,.14), transparent 42%); }
.card h3 { font-family: Georgia,serif; font-size: 20px; font-weight: 600; }
.chef-comment { color: var(--muted); font-style: normal; font-weight: 500; }
.price { color: var(--tomato); font-size: 20px; }
.add-float-action { width: 42px; height: 42px; background: var(--ink); color: white; }
.add-float-action:hover { background: var(--tomato); }
.sidebar .panel { background: rgba(255,250,240,.96); }
.order-fab { background: var(--ink); }
.order-fab strong { background: var(--tomato); color: white; }
.btn.whatsapp { background: #25d366; color: #082d16; border-color: #25d366; }
.mark { background: var(--tomato); color: #fff; border-radius: 50%; }

@media (max-width: 980px) {
  .section-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .home-hero { align-items: end; padding-bottom: 52px; }
  .home-hero::before { top: 10vh; right: -8px; opacity: .42; }
  .home-copy { gap: 14px; }
  .section-grid { grid-template-columns: 1fr; }
  .menu-section { padding: 14px; }
  .menu-card { min-height: 150px; }
  .category-buttons { padding: 8px; }
  .category-filter { min-width: 74px; }
}
