:root {
  --red: #c93027;
  --dark: #30271e;
  --cream: #fff8e9;
  --muted: #827567;
  --green: #35664c;
  --line: #e5dcc9;
  --yellow: #f3c660;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--dark);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 4px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
.brand,
.serif {
  font-family: Georgia, "Times New Roman", serif;
}
h1 {
  font-size: clamp(52px, 6vw, 86px);
  line-height: 1.02;
  letter-spacing: -4px;
  margin-bottom: 22px;
}
h2 {
  font-size: 36px;
  letter-spacing: -1.2px;
}
h3 {
  font-size: 18px;
}
small,
.muted {
  color: var(--muted);
}
.brand {
  font-size: 32px;
  font-weight: bold;
  letter-spacing: -1.5px;
  color: var(--red);
}
.brand em {
  font-weight: normal;
}
.brand small {
  display: block;
  font: 9px Arial;
  letter-spacing: 3px;
  text-align: center;
  margin-top: 3px;
  color: inherit;
}
.wrap {
  max-width: 1280px;
  margin: auto;
  padding: 0 42px;
}
.topbar {
  height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-weight: 600;
  font-size: 13px;
}
.btn {
  border: 0;
  background: var(--red);
  color: white;
  border-radius: 9px;
  padding: 13px 20px;
  font-weight: 700;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  line-height: 1.3;
}
.btn:hover {
  filter: brightness(0.93);
}
.btn.outline {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--dark);
}
.btn.green {
  background: var(--green);
}
.btn.small {
  padding: 8px 12px;
  font-size: 12px;
}
.btn.full {
  width: 100%;
}
.pill {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 30px;
  background: #e6eddf;
  color: var(--green);
}
.pill.red {
  background: #fbe4de;
  color: var(--red);
}
.pill.gold {
  background: #fff0ca;
  color: #805f12;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  min-height: 485px;
  gap: 35px;
  padding: 45px 0;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
  display: block;
  margin-bottom: 22px;
  color: var(--red);
}
.hero h1 em {
  color: var(--red);
  font-weight: normal;
}
.hero p {
  max-width: 380px;
  line-height: 1.8;
  color: var(--muted);
  font-size: 15px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 27px;
}
.hero-note {
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-art {
  height: 400px;
  position: relative;
  display: grid;
  place-items: center;
  background: #f3e7c9;
  border-radius: 48% 48% 12px 12px;
  overflow: hidden;
}
.hero-art:before {
  content: "FRESH • SAUCY • HAPPY •";
  position: absolute;
  top: 30px;
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--red);
  transform: rotate(-8deg);
}
.hero-art:after {
  content: "MADE TO ORDER";
  position: absolute;
  bottom: 25px;
  right: 20px;
  border: 1px solid var(--red);
  border-radius: 50%;
  padding: 19px 9px;
  color: var(--red);
  font-size: 9px;
  font-weight: bold;
  transform: rotate(-12deg);
  background: var(--yellow);
}
.pasta-art {
  width: 90%;
  height: 90%;
  filter: drop-shadow(0 18px 13px #53442230);
}
.ticker {
  background: var(--red);
  color: var(--cream);
  display: flex;
  justify-content: space-around;
  gap: 20px;
  padding: 16px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
}
.ticker b {
  color: var(--yellow);
}
.menu-section {
  padding: 50px 0 70px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 26px;
  gap: 16px;
}
.section-head h2 {
  margin-bottom: 10px;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.shop-grid {
  display: grid;
  grid-template-columns: 1fr 305px;
  gap: 30px;
  align-items: start;
}
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.food-card {
  background: #fffdf6;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.food-photo {
  height: 180px;
  position: relative;
  display: flex;
  justify-content: center;
  background: #f0e5ce;
}
.food-photo.cream {
  background: #ece8d8;
}
.food-photo.pink {
  background: #f4e0d6;
}
.food-photo.gold {
  background: #f4e9c9;
}
.food-photo .pasta-art {
  width: 220px;
}
.veg {
  position: absolute;
  top: 14px;
  left: 14px;
  color: var(--green);
  background: var(--cream);
  padding: 4px 6px;
  font-size: 10px;
  border-radius: 4px;
}
.card-body {
  padding: 20px;
}
.card-body h3 {
  font-family: Georgia;
  font-size: 21px;
  margin: 0 0 8px;
}
.card-body p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  min-height: 40px;
  margin-bottom: 22px;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  font-weight: bold;
  font-size: 18px;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dfb9a5;
  border-radius: 7px;
  color: var(--red);
  overflow: hidden;
}
.qty button {
  background: transparent;
  border: 0;
  color: inherit;
  width: 31px;
  height: 32px;
  font-size: 19px;
}
.qty span {
  width: 24px;
  text-align: center;
  font-weight: bold;
}
.basket {
  position: sticky;
  top: 22px;
  border: 1px solid var(--line);
  background: #fffdf6;
  border-radius: 14px;
  padding: 24px;
}
.basket h3 {
  font-family: Georgia;
  font-size: 24px;
  margin-bottom: 8px;
}
.basket-empty {
  text-align: center;
  padding: 35px 8px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 12px;
}
.basket-empty .basket-icon {
  font-size: 38px;
  color: #b6a78b;
  display: block;
  margin-bottom: 15px;
}
.basket-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  gap: 8px;
  border-bottom: 1px dashed var(--line);
}
.basket-line strong {
  font-size: 12px;
}
.basket-line small {
  display: block;
  margin-top: 5px;
}
.total {
  display: flex;
  justify-content: space-between;
  margin: 22px 0;
  font-size: 17px;
  font-weight: 700;
}
.info-note {
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
  margin: 14px 0 0;
}
.how {
  border-top: 1px solid var(--line);
  padding: 35px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.how > div {
  display: flex;
  align-items: center;
  gap: 17px;
}
.how span {
  font-family: Georgia;
  color: var(--red);
  font-size: 31px;
}
.how strong {
  font-size: 13px;
}
.how p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
}
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 24px 0;
  font-size: 11px;
  color: var(--muted);
}
.footer .brand {
  font-size: 23px;
}
.loading {
  padding: 25vh 20px;
  text-align: center;
  color: var(--red);
  font-family: Georgia;
  font-size: 50px;
}
.loading span {
  display: block;
  font: 14px Arial;
  margin-top: 20px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark);
  color: white;
  padding: 14px 25px;
  border-radius: 10px;
  z-index: 100;
  max-width: 90%;
  display: none;
  box-shadow: 0 6px 30px #0002;
}
dialog {
  width: min(520px, 94vw);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  padding: 30px;
  color: var(--dark);
  max-height: 90vh;
}
dialog::backdrop {
  background: #241c1590;
  backdrop-filter: blur(4px);
}
.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.dialog-head h2 {
  font-size: 30px;
  margin: 0;
}
.close {
  border: 0;
  background: transparent;
  font-size: 25px;
  cursor: pointer;
}
.field {
  display: block;
  margin-bottom: 17px;
  font-size: 12px;
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  display: block;
  margin-top: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdf8;
  color: var(--dark);
}
.field textarea {
  min-height: 80px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: 2px solid #e8b4a2;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  font-size: 13px;
}
.error {
  color: var(--red);
  font-size: 13px;
  line-height: 1.5;
}
.admin-shell {
  display: grid;
  grid-template-columns: 225px 1fr;
  min-height: 100vh;
}
.sidebar {
  background: #f6efdf;
  border-right: 1px solid var(--line);
  padding: 30px 22px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar .brand {
  margin: 0 10px 45px;
}
.side-label {
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 0 12px 12px;
}
.side-nav {
  display: grid;
  gap: 5px;
}
.side-nav button {
  text-align: left;
  padding: 13px;
  border: 0;
  background: transparent;
  border-radius: 7px;
  color: #786c5b;
  font-size: 13px;
}
.side-nav button.active {
  background: var(--red);
  color: white;
  font-weight: bold;
}
.side-nav button span {
  display: inline-block;
  width: 25px;
}
.sidebar-bottom {
  margin-top: auto;
  font-size: 12px;
  display: grid;
  gap: 14px;
  padding: 10px;
}
.main-admin {
  padding: 0 38px 35px;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
}
.admin-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  border-bottom: 1px solid var(--line);
  gap: 12px;
  font-size: 12px;
}
.admin-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 33px 0 27px;
  gap: 20px;
}
.admin-heading h1 {
  font-size: 38px;
  letter-spacing: -1px;
  margin: 0 0 8px;
}
.admin-heading p {
  color: var(--muted);
  margin: 0;
  font-size: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
  margin-bottom: 30px;
}
.stat {
  background: #fffdf7;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 20px;
}
.stat:first-child {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.stat label {
  font-size: 11px;
  opacity: 0.75;
}
.stat strong {
  display: block;
  font: 32px Georgia;
  margin: 16px 0 9px;
}
.stat small {
  font-size: 10px;
  color: inherit;
  opacity: 0.6;
}
.toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.tabs button {
  border: 1px solid var(--line);
  border-radius: 25px;
  background: transparent;
  padding: 9px 14px;
  font-size: 11px;
}
.tabs button.active {
  background: var(--dark);
  color: var(--cream);
  border-color: var(--dark);
}
.search {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fffdf6;
  min-width: 180px;
}
.order-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.order-card {
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fffdf8;
  overflow: hidden;
}
.order-card.pending {
  border-top: 3px solid var(--red);
}
.order-card.preparing {
  border-top: 3px solid var(--yellow);
}
.order-card.ready {
  border-top: 3px solid var(--green);
}
.order-top {
  padding: 17px;
  border-bottom: 1px dashed var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.order-top strong {
  font-size: 17px;
}
.order-top small {
  display: block;
  font-size: 10px;
  margin-top: 6px;
}
.order-body {
  padding: 17px;
}
.customer-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 17px;
  font-size: 12px;
}
.order-items {
  font-size: 12px;
  line-height: 2;
  min-height: 52px;
}
.order-items span {
  display: inline-block;
  color: var(--red);
  font-weight: bold;
  width: 26px;
}
.order-note {
  background: #fff1d2;
  padding: 9px;
  font-size: 11px;
  border-radius: 5px;
  margin-top: 12px;
  line-height: 1.6;
}
.order-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0;
}
.order-actions {
  display: flex;
  gap: 7px;
}
.order-actions .btn {
  flex: 1;
}
.empty {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 65px 25px;
  text-align: center;
  grid-column: 1/-1;
}
.empty h3 {
  font: 26px Georgia;
  margin: 12px 0;
}
.empty p {
  color: var(--muted);
  line-height: 1.7;
}
.panel {
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 22px;
}
.panel h3 {
  font-family: Georgia;
  font-size: 23px;
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
  white-space: nowrap;
}
th {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.5px;
  font-weight: normal;
}
th,
td {
  padding: 16px 12px;
  border-bottom: 1px solid var(--line);
}
td .sub {
  display: block;
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
}
.settings-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: start;
}
.qr-image {
  width: 200px;
  height: 200px;
  object-fit: contain;
  background: white;
  border-radius: 9px;
}
.qr-panel {
  text-align: center;
}
.qr-panel p {
  line-height: 1.7;
  color: var(--muted);
  font-size: 12px;
}
.login {
  max-width: 420px;
  margin: 11vh auto;
  padding: 35px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf8;
}
.login .brand {
  display: block;
  text-align: center;
  margin-bottom: 30px;
}
.login h2 {
  font-size: 28px;
}
.track-wrap {
  max-width: 740px;
  margin: 45px auto;
  padding: 0 20px;
}
.track-title {
  text-align: center;
  margin-bottom: 30px;
}
.track-title h1 {
  font-size: 44px;
  letter-spacing: -1px;
}
.track-title p {
  color: var(--muted);
  line-height: 1.7;
}
.steps {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 30px 0;
}
.step {
  text-align: center;
  font-size: 10px;
  flex: 1;
  color: #a09889;
  position: relative;
}
.step b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eee7d9;
  margin: 0 auto 12px;
}
.step.done {
  color: var(--green);
}
.step.done b {
  background: var(--green);
  color: white;
}
.receipt-item {
  display: flex;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.stars {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}
.stars label {
  cursor: pointer;
  font-size: 20px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.stars label:has(input:checked) {
  background: var(--yellow);
}
.stars input {
  margin-right: 4px;
}
.history-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.trend {
  display: flex;
  gap: 12px;
  align-items: end;
  height: 160px;
  padding-top: 10px;
}
.trend > div {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: var(--muted);
}
.trend i {
  display: block;
  background: var(--red);
  border-radius: 4px 4px 0 0;
  min-height: 3px;
  margin: 5px auto 10px;
  width: 75%;
}
.trend b {
  display: block;
  font-size: 10px;
}
.notice {
  padding: 13px 17px;
  background: #fff0ce;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.mobile-cart {
  display: none;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 530px;
  }
  .hero-art {
    height: 440px;
  }
}
@media (max-width: 1100px) {
  .order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .admin-shell {
    grid-template-columns: 190px 1fr;
  }
  .sidebar {
    padding: 25px 14px;
  }
  .main-admin {
    padding: 0 24px 30px;
  }
  .shop-grid {
    grid-template-columns: 1fr 275px;
    gap: 20px;
  }
  .card-body {
    padding: 15px;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 15px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .wrap {
    padding: 0 20px;
  }
  .topbar {
    height: 78px;
  }
  .brand {
    font-size: 28px;
  }
  .nav {
    gap: 15px;
  }
  .nav .desktop {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 35px 0 25px;
  }
  .hero h1 {
    font-size: 57px;
    letter-spacing: -2.5px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-art {
    height: 285px;
    max-width: 440px;
    width: 100%;
    margin: auto;
  }
  .hero-art .pasta-art {
    width: 80%;
  }
  .hero-actions {
    margin: 22px 0;
  }
  .ticker {
    justify-content: flex-start;
    font-size: 9px;
    padding: 13px;
    gap: 26px;
  }
  .menu-section {
    padding: 35px 0;
  }
  .section-head h2 {
    font-size: 30px;
  }
  .shop-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 12px;
  }
  .food-photo {
    height: 135px;
  }
  .card-body {
    padding: 14px;
  }
  .card-body h3 {
    font-size: 18px;
    line-height: 1.2;
  }
  .card-body p {
    font-size: 11px;
    min-height: 55px;
    margin-bottom: 12px;
  }
  .card-bottom {
    gap: 5px;
  }
  .price {
    font-size: 16px;
  }
  .card-bottom .btn {
    padding: 8px 12px;
  }
  .basket {
    position: static;
  }
  .how {
    grid-template-columns: 1fr;
    padding: 25px 0;
  }
  .footer {
    gap: 16px;
    padding-bottom: 80px;
  }
  .footer .desktop {
    display: none;
  }
  .mobile-cart {
    display: flex;
    position: fixed;
    bottom: 15px;
    left: 20px;
    right: 20px;
    z-index: 10;
    box-shadow: 0 5px 20px #0002;
    justify-content: space-between;
  }
  .admin-shell {
    display: block;
  }
  .sidebar {
    height: auto;
    position: static;
    padding: 18px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .sidebar .brand {
    margin: 0 0 16px;
  }
  .side-label,
  .sidebar-bottom {
    display: none;
  }
  .side-nav {
    display: flex;
    overflow: auto;
    gap: 6px;
  }
  .side-nav button {
    white-space: nowrap;
    padding: 10px;
    font-size: 11px;
  }
  .side-nav button span {
    width: 19px;
  }
  .main-admin {
    padding: 0 18px 25px;
  }
  .admin-top {
    height: 65px;
    font-size: 10px;
  }
  .admin-heading {
    margin: 25px 0 20px;
  }
  .admin-heading h1 {
    font-size: 31px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .stat strong {
    font-size: 28px;
    margin: 10px 0;
  }
  .order-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid {
    display: block;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .section-head {
    align-items: start;
  }
  .track-title h1 {
    font-size: 38px;
  }
  .login {
    margin: 8vh 20px;
  }
  .panel {
    padding: 20px;
  }
  .steps {
    gap: 3px;
  }
  .step {
    font-size: 9px;
  }
  .hero-note {
    font-size: 10px;
  }
  .qty button {
    width: 26px;
  }
  .qty span {
    width: 18px;
  }
  .nav .btn {
    padding: 10px;
    font-size: 11px;
  }
}
@media print {
  body {
    background: white;
  }
  .topbar,
  .sidebar,
  .admin-top,
  .admin-heading,
  .stats,
  .no-print,
  .footer,
  .mobile-cart,
  #toast {
    display: none !important;
  }
  .admin-shell {
    display: block;
  }
  .main-admin {
    padding: 0;
  }
  .panel {
    border: 0;
  }
  .track-wrap {
    max-width: 100%;
    margin: 0;
  }
  .track-title h1 {
    font-size: 28px;
  }
  .steps {
    display: none;
  }
  dialog {
    position: absolute;
    inset: 0;
    border: 0;
    max-height: none;
  }
  body:has(dialog[open]) #app {
    display: none;
  }
}

.order-actions .btn:last-child:not(:first-child) {
  flex: 0 0 auto;
}
.hero-actions > .btn {
  white-space: nowrap;
}
@media (max-width: 760px) {
  .hero-actions {
    gap: 12px;
  }
  .hero-actions > .btn {
    font-size: 12px;
    padding: 13px 14px;
  }
  .hero-note {
    line-height: 1.5;
  }
}

/* Phone-first controls: comfortable targets, readable forms and safe-area spacing. */
.btn, .btn.small, .close, .tabs button, .side-nav button, .nav a {
  min-height: 48px;
}
.qty button { width: 48px; height: 48px; }
.qty span { min-width: 28px; }
.close { min-width: 48px; }
input, select, textarea, .field input, .field select, .field textarea { font-size: 16px; }
input, select { min-height: 48px; }
input[type="checkbox"], input[type="radio"] { min-height: auto; width: 22px; height: 22px; }
.optional-notes { margin: 0 0 16px; }
.optional-notes summary { padding: 16px 0; cursor: pointer; font-weight: 600; }
.alert-panel { background: #f1eddd; border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin-bottom: 20px; }
.alert-panel p { line-height: 1.5; margin: 7px 0 12px; }
.alert-panel small { display: block; line-height: 1.5; margin-top: 12px; }
.alert-actions { display: flex; flex-wrap: wrap; gap: 10px; }
[hidden] { display: none !important; }
.mobile-admin-nav { display: none; }
.order-actions { flex-wrap: wrap; }
.order-actions .btn { min-height: 56px; font-size: 16px; }
.order-actions [data-action="decline"] { flex: 0 0 auto; }
.order-actions [data-action="receipt"] { flex: 0 0 48px; }
.order-items { font-size: 16px; line-height: 1.9; }
.order-note { font-size: 15px; }
.customer-line { font-size: 15px; align-items: center; gap: 12px; flex-wrap: wrap; }
.customer-line a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: underline; }
.order-top strong { font-size: 26px; }
.order-top small { font-size: 12px; }
.order-card.accepted { border-top: 3px solid var(--red); }
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar { height: 76px; gap: 10px; }
  .nav { gap: 8px; }
  .nav a { display: inline-flex; align-items: center; font-size: 13px; }
  .topbar .nav .btn { display: none; }
  .hero { min-height: 0; padding: 22px 0 8px; }
  .hero .eyebrow, .hero-art, .hero-actions, .hero p, .ticker, .how { display: none; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; margin: 0; }
  .hero h1 br { display: none; }
  .hero h1 em { display: block; }
  .menu-section { padding: 20px 0 24px; }
  .section-head { align-items: center; }
  .section-head .eyebrow { display: none; }
  .section-head h2 { font-size: 27px; }
  .section-head p { font-size: 14px; line-height: 1.5; }
  .cards { grid-template-columns: 1fr; gap: 12px; }
  .food-card { display: grid; grid-template-columns: 94px minmax(0,1fr); }
  .food-photo { height: 100%; min-height: 168px; align-items: center; overflow: hidden; }
  .food-photo .pasta-art { width: 145px; min-width: 145px; height: 145px; }
  .veg { top: 9px; left: 9px; }
  .card-body { padding: 14px 12px; }
  .card-body h3 { font-size: 20px; line-height: 1.2; }
  .card-body p { font-size: 13px; min-height: 0; line-height: 1.5; margin-bottom: 12px; }
  .card-bottom { flex-wrap: wrap; gap: 8px; }
  .card-bottom .btn { min-width: 92px; font-size: 15px; }
  .basket { padding: 18px; }
  .basket-line strong { font-size: 15px; }
  .mobile-cart { bottom: calc(12px + env(safe-area-inset-bottom)); left: 12px; right: 12px; min-height: 60px; font-size: 16px; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
  dialog { width: 100%; max-width: 100%; max-height: 92dvh; margin: auto 0 0; border-radius: 20px 20px 0 0; padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
  .dialog-head { margin-bottom: 12px; }
  .dialog-head h2 { font-size: 27px; }
  .field { font-size: 15px; margin-bottom: 14px; }
  .checkout-submit { min-height: 58px; font-size: 17px; position: sticky; bottom: 0; }
  .sidebar { padding: 12px 16px; }
  .sidebar .brand { display: none; }
  .side-nav { gap: 8px; }
  .side-nav button { font-size: 14px; padding: 12px; }
  .main-admin { padding: 0 14px calc(100px + env(safe-area-inset-bottom)); }
  .admin-top { height: auto; min-height: 68px; }
  .admin-top > span { display: none; }
  .admin-top .nav { width: 100%; justify-content: space-between; }
  .admin-heading { margin: 18px 0; flex-wrap: wrap; gap: 12px; }
  .admin-heading h1 { font-size: 30px; }
  .admin-heading p { font-size: 14px; }
  .alert-panel { padding: 14px; }
  .alert-panel p { font-size: 14px; }
  .alert-actions { display: grid; grid-template-columns: 1fr; }
  .alert-actions .btn { font-size: 15px; min-height: 50px; }
  .toolbar { position: sticky; top: 0; z-index: 3; background: var(--cream); padding: 10px 0; }
  .tabs { flex-wrap: nowrap; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .tabs button { flex: 0 0 auto; font-size: 14px; padding: 12px 16px; }
  .search { width: 100%; min-width: 0; font-size: 16px; }
  .order-grid { grid-template-columns: minmax(0,1fr); }
  .order-body, .order-top { padding: 16px; }
  .order-actions .btn { min-height: 60px; }
  .order-actions [data-action="decline"] { flex-basis: 100%; order: 2; margin-top: 8px; }
  .order-foot { font-size: 20px; }
  .pill { font-size: 12px; }
  .order-body > .btn.full { min-height: 54px; font-size: 15px; margin-top: 16px !important; }
  .mobile-admin-nav { display: grid; grid-template-columns: repeat(4,1fr); position: fixed; bottom: 0; left: 0; right: 0; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: #fffdf8; border-top: 1px solid var(--line); z-index: 5; gap: 6px; }
  .mobile-admin-nav button { border: 0; border-radius: 10px; background: transparent; color: var(--dark); min-height: 54px; font-size: 14px; font-weight: bold; }
  .mobile-admin-nav button.active { background: var(--red); color: white; }
  .panel { padding: 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .login { margin: 5vh 16px; padding: 24px; }
  .track-wrap { margin-top: 24px; padding: 0 16px; }
  .track-title h1 { font-size: 34px; }
  .step { font-size: 11px; }
  .steps { gap: 4px; }
  .stars { flex-wrap: wrap; }
  #toast { bottom: calc(90px + env(safe-area-inset-bottom)); width: max-content; max-width: 94%; }
}
@media print { .alert-panel, .mobile-admin-nav { display:none !important; } }
.alert-panel > summary { min-height: 48px; display: list-item; align-content: center; cursor: pointer; font-weight: bold; }
.alert-panel[open] > summary { margin-bottom: 12px; }
@media (max-width:760px) { .alert-panel:has(> summary) { padding: 4px 14px; } .alert-panel[open] { padding-bottom: 14px; } }
@media (max-width:760px) {
  .hero { display: none; }
  .admin-shell[data-view="orders"] > .sidebar { display: none; }
}
