:root {
  color-scheme: dark;
  --bg: #080706;
  --panel: #15120d;
  --panel-soft: #211c13;
  --line: rgba(224, 188, 98, 0.22);
  --gold: #d9b458;
  --gold-2: #f1d88b;
  --green: #2c7a35;
  --green-2: #79b95b;
  --text: #fff7e7;
  --muted: #c8bda5;
  --danger: #e1a14d;
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 14% 6%, rgba(217, 180, 88, 0.18), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(44, 122, 53, 0.2), transparent 30%),
    linear-gradient(145deg, #020202, #171109 54%, #050403);
  color: var(--text);
}

button,
select,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.phone-shell {
  position: relative;
  width: min(430px, 100vw);
  min-height: min(920px, 100vh);
  max-height: 920px;
  overflow: hidden;
  border: 1px solid rgba(241, 216, 139, 0.3);
  border-radius: 42px;
  background: var(--bg);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.58);
}

.corner-logo {
  position: absolute;
  top: 16px;
  left: 18px;
  z-index: 82;
  width: 250px;
  height: 91px;
  object-fit: contain;
  object-position: left center;
  pointer-events: none;
}

.app-screen {
  position: relative;
  height: calc(100vh - 0px);
  max-height: 920px;
  overflow-y: auto;
  padding: 18px 18px 104px;
  scrollbar-width: none;
}

.app-screen::-webkit-scrollbar {
  display: none;
}

.is-hidden {
  display: none;
}

.language-toggle {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 80;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(217, 180, 88, 0.28);
  border-radius: 999px;
  background: rgba(12, 10, 7, 0.82);
  backdrop-filter: blur(14px);
}

.language-toggle button {
  min-width: 34px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.language-toggle button.is-active {
  background: var(--gold);
  color: #151005;
}

.phone-shell:not(.is-authenticated) .bottom-nav {
  display: none;
}

.login-screen {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 18px;
  padding-top: 126px;
  padding-bottom: 24px;
}

.login-screen.is-hidden {
  display: none;
}

.login-hero {
  min-height: 294px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border: 1px solid rgba(217, 180, 88, 0.28);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.05), rgba(8, 7, 6, 0.92)),
    url("./assets/menu-sablona-globalgastro.jpg") center / cover;
}

.brand-mark.large {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  border-radius: 24px;
  font-size: 22px;
}

.login-hero h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.02;
}

.login-hero p:not(.eyebrow) {
  max-width: 310px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.login-form {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
}

.system-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.install-button[hidden] {
  display: none;
}

.login-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 12px;
  padding: 108px 0 14px;
  background: linear-gradient(180deg, var(--bg) 78%, rgba(8, 7, 6, 0));
}

.icon-button,
.avatar-button,
.back-button {
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(217, 180, 88, 0.26);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--gold-2);
}

.icon-button {
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 11px;
}

.icon-button span {
  width: 17px;
  height: 2px;
  border-radius: 5px;
  background: var(--gold-2);
}

.icon-button.single::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--gold-2);
  border-left-color: transparent;
  border-radius: 50%;
}

.avatar-button {
  font-weight: 800;
  background: linear-gradient(145deg, var(--gold), #8d6a1f);
  color: #181105;
}

.avatar-button.small {
  font-size: 16px;
}

.cart-count-button {
  min-width: 42px;
  height: 42px;
  border: 1px solid rgba(217, 180, 88, 0.32);
  border-radius: 16px;
  background: rgba(217, 180, 88, 0.12);
  color: var(--gold-2);
  font-weight: 950;
}

.cart-count-button span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin: auto;
  border-radius: 50%;
  background: var(--gold);
  color: #151005;
  font-size: 12px;
}

.burger-panel {
  position: absolute;
  top: 70px;
  left: 18px;
  z-index: 45;
  width: min(310px, calc(100% - 36px));
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(217, 180, 88, 0.32);
  border-radius: 22px;
  background: rgba(15, 12, 8, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(18px);
}

.burger-panel.is-hidden {
  display: none;
}

.burger-panel button {
  min-height: 58px;
  display: grid;
  gap: 4px;
  justify-items: start;
  border: 0;
  border-radius: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-align: left;
}

.burger-panel button:hover {
  background: rgba(217, 180, 88, 0.14);
}

.burger-panel strong {
  font-size: 13px;
}

.burger-panel small {
  color: var(--muted);
  font-size: 11px;
}

.back-button {
  padding: 0;
  font-size: 12px;
  font-weight: 800;
}

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

.app-brand {
  gap: 8px;
}

.brand.compact {
  display: block;
}

.brand-logo-image {
  width: 122px;
  height: 42px;
  display: block;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: #f2d988;
  color: #151005;
  font-size: 13px;
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 14px;
  letter-spacing: 0;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.hero {
  min-height: 184px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(217, 180, 88, 0.28);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(8, 7, 6, 0.08), rgba(8, 7, 6, 0.9)),
    url("./assets/themes/regular-menu.png") center 20% / cover;
  overflow: hidden;
}

.eyebrow {
  margin: 0 0 7px;
  color: var(--gold-2);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 265px;
  margin: 0;
  font-size: 25px;
  line-height: 1.06;
  letter-spacing: 0;
}

.hero-action,
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 16px;
  font-weight: 900;
}

.hero-action {
  flex: 0 0 auto;
  min-width: 58px;
  height: 46px;
  padding: 0 12px;
  background: var(--gold);
  color: #130e04;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.quick-stats article {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.quick-stats strong {
  color: var(--gold-2);
  font-size: 24px;
  line-height: 1;
}

.quick-stats span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.controls {
  display: grid;
  grid-template-columns: 1fr 138px;
  gap: 10px;
  margin-top: 14px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.segmented button,
.category-card {
  border: 0;
  color: var(--muted);
  background: transparent;
}

.segmented button {
  min-height: 38px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 850;
}

.segmented button.is-active {
  background: var(--gold);
  color: #171006;
}

.select-label {
  display: grid;
  gap: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

select {
  width: 100%;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 10px;
  background: #15120d;
  color: var(--text);
  font-size: 13px;
}

.category-strip {
  display: flex;
  gap: 10px;
  margin: 14px -18px 0;
  padding: 0 18px 4px;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-card {
  flex: 0 0 158px;
  min-height: 84px;
  text-align: left;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}

.category-card.is-active {
  border-color: rgba(217, 180, 88, 0.75);
  background: linear-gradient(145deg, rgba(217, 180, 88, 0.25), rgba(33, 28, 19, 0.95));
}

.category-card span {
  display: block;
  color: var(--text);
  font-size: 14px;
  font-weight: 900;
}

.category-card small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.25;
}

.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-top: 20px;
}

.menu-head h2 {
  margin: 0;
  font-size: 22px;
}

.sync-pill {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(121, 185, 91, 0.4);
  border-radius: 999px;
  color: #bff0a5;
  background: rgba(44, 122, 53, 0.16);
  font-size: 12px;
  font-weight: 800;
}

.day-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.day-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015));
  overflow: hidden;
}

.day-toggle {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  padding: 14px;
  text-align: left;
  background: transparent;
  color: var(--text);
}

.day-name {
  display: block;
  font-size: 16px;
  font-weight: 950;
}

.day-summary {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.day-date {
  flex: 0 0 auto;
  padding: 7px 10px;
  border-radius: 999px;
  color: #121006;
  background: var(--gold);
  font-size: 12px;
  font-weight: 900;
}

.day-body {
  display: none;
  padding: 0 14px 16px;
}

.day-card.is-open .day-body {
  display: grid;
  gap: 10px;
}

.meal-row {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-top: 1px solid rgba(217, 180, 88, 0.12);
}

.meal-row strong {
  color: var(--gold-2);
  font-size: 11px;
  text-transform: uppercase;
}

.meal-row span {
  font-size: 14px;
  line-height: 1.35;
}

.meal-row small {
  color: var(--muted);
  font-size: 11px;
}

.add-meal-button {
  justify-self: start;
  min-height: 34px;
  margin-top: 4px;
  border: 1px solid rgba(217, 180, 88, 0.44);
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(217, 180, 88, 0.12);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 850;
}

.closed-day {
  padding: 16px;
  border-top: 1px solid rgba(217, 180, 88, 0.12);
  color: #ffe7b3;
  background: rgba(225, 161, 77, 0.08);
  font-weight: 850;
}

.pdf-preview {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--panel);
}

.pdf-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 0.72;
  object-fit: cover;
}

.pdf-overlay {
  position: absolute;
  inset: 18px 18px auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(6, 5, 4, 0.78);
  color: var(--gold-2);
  backdrop-filter: blur(12px);
}

.pdf-overlay strong,
.pdf-overlay span {
  font-size: 13px;
  font-weight: 900;
}

.pdf-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 14px;
}

.primary-button,
.secondary-button {
  min-height: 50px;
}

.primary-button {
  background: var(--gold);
  color: #151006;
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--gold-2);
}

.notice-list,
.settings-list,
.cart-list,
.reward-list {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.notice-card,
.profile-card,
.settings-list button,
.cart-summary,
.cart-item,
.empty-cart,
.loyalty-card,
.reward-list article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.cart-summary,
.loyalty-card,
.contact-card {
  margin-top: 18px;
  padding: 20px;
}

.cart-summary h2,
.loyalty-card h2,
.contact-card h2 {
  margin: 0;
  font-size: 25px;
}

.cart-summary p:not(.eyebrow),
.loyalty-card p,
.contact-card p,
.empty-cart p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.cart-item strong,
.cart-item span,
.cart-item small {
  display: block;
}

.cart-item strong {
  color: var(--gold-2);
  font-size: 12px;
  text-transform: uppercase;
}

.cart-item span {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.3;
}

.cart-item small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 34px 28px 34px;
  align-items: center;
  justify-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.quantity-control button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #151005;
  font-weight: 950;
}

.quantity-control span {
  font-size: 13px;
  font-weight: 900;
}

.empty-cart {
  padding: 18px;
}

.cart-footer {
  position: sticky;
  bottom: 88px;
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(217, 180, 88, 0.3);
  border-radius: 22px;
  background: rgba(13, 11, 8, 0.9);
  backdrop-filter: blur(16px);
}

.cart-footer small,
.cart-footer strong {
  display: block;
}

.cart-footer small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.cart-footer strong {
  color: var(--gold-2);
  font-size: 21px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.food-photo {
  min-height: 164px;
  display: flex;
  align-items: end;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.food-photo span {
  width: 100%;
  padding: 9px 10px;
  border-radius: 14px;
  background: rgba(9, 7, 4, 0.78);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 900;
}

.photo-1 { background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6)), url("./assets/themes/regular-menu.png"); }
.photo-2 { background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6)), url("./assets/themes/diet-menu.png"); }
.photo-3 { background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6)), url("./assets/themes/primary-menu.png"); }
.photo-4 { background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6)), url("./assets/themes/kindergarten-menu.png"); }
.photo-5 { background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6)), url("./assets/menu-sablona-globalgastro.jpg"); }
.photo-6 { background-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.6)), url("./assets/globalgastro-sablona-menu.png"); }

.switch {
  position: relative;
  width: 48px;
  height: 30px;
}

.switch input {
  position: absolute;
  opacity: 0;
}

.switch span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.switch span::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--muted);
  transition: 0.2s ease;
}

.switch input:checked + span {
  background: rgba(121, 185, 91, 0.28);
}

.switch input:checked + span::before {
  left: 22px;
  background: var(--gold-2);
}

.progress {
  height: 12px;
  margin-top: 18px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--green-2));
}

.reward-list article {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
}

.reward-list strong,
.reward-list span {
  font-size: 14px;
}

.reward-list span {
  color: var(--gold-2);
  font-weight: 900;
}

.contact-card {
  text-align: center;
}

.contact-card .brand-mark {
  margin-right: auto;
  margin-left: auto;
}

.contact-card a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  margin-top: 14px;
  border-radius: 999px;
  padding: 0 16px;
  background: var(--gold);
  color: #151005;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.allergen-card {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
}

.allergen-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.08;
}

.allergen-card p:not(.eyebrow) {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.allergen-list {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.allergen-groups {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.allergen-groups article {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(217, 180, 88, 0.08);
}

.allergen-groups strong {
  display: block;
  margin-bottom: 10px;
  color: var(--gold-2);
  font-size: 13px;
}

.allergen-groups div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.allergen-groups span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(217, 180, 88, 0.3);
  border-radius: 999px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font-size: 11px;
  font-weight: 850;
}

.allergen-list article {
  min-height: 62px;
  display: grid;
  grid-template-columns: 34px 1fr;
  column-gap: 10px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.allergen-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #151005;
  font-size: 13px;
  font-weight: 950;
}

.allergen-list strong {
  font-size: 14px;
  line-height: 1.2;
}

.allergen-list small {
  color: var(--muted);
  font-size: 11px;
}

.notice-card {
  padding: 16px;
}

.notice-card.is-new {
  border-color: rgba(217, 180, 88, 0.66);
}

.notice-card strong {
  display: block;
  font-size: 15px;
}

.notice-card p,
.profile-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.profile-card {
  margin-top: 18px;
  padding: 22px;
  text-align: center;
}

.large-avatar {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 12px;
  border-radius: 26px;
  background: linear-gradient(145deg, var(--gold-2), #8e6c20);
  color: #151005;
  font-size: 28px;
  font-weight: 950;
}

.profile-card h2 {
  margin: 0;
  font-size: 22px;
}

.settings-list button {
  min-height: 66px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 14px 16px;
  color: var(--text);
}

.settings-list span {
  font-weight: 900;
}

.settings-list small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.bottom-nav {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
  padding: 6px;
  border: 1px solid rgba(217, 180, 88, 0.26);
  border-radius: 26px;
  background: rgba(13, 11, 8, 0.9);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.bottom-nav button {
  min-height: 52px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 850;
}

.bottom-nav button.is-active {
  background: rgba(217, 180, 88, 0.16);
  color: var(--gold-2);
}

.nav-icon {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 4px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.toast {
  position: absolute;
  right: 24px;
  bottom: 96px;
  left: 24px;
  z-index: 60;
  padding: 13px 16px;
  border: 1px solid rgba(217, 180, 88, 0.38);
  border-radius: 18px;
  background: rgba(15, 12, 8, 0.94);
  color: var(--gold-2);
  text-align: center;
  font-size: 13px;
  font-weight: 850;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.desktop-cart-panel {
  display: none;
}

@media (min-width: 900px) {
  body {
    min-height: 100dvh;
    padding: 16px;
  }

  .phone-shell {
    width: min(1480px, calc(100vw - 32px));
    min-height: calc(100dvh - 32px);
    max-height: calc(100dvh - 32px);
    border-radius: 26px;
  }

  .phone-shell.is-authenticated {
    padding-left: 230px;
  }

  .corner-logo {
    width: 190px;
    height: 70px;
    top: 28px;
    left: 24px;
  }

  .language-toggle {
    position: fixed;
    top: 34px;
    right: 36px;
  }

  .app-screen {
    width: 100%;
    height: calc(100dvh - 32px);
    max-height: none;
    padding: 22px 30px 40px;
  }

  .phone-shell.is-authenticated .app-screen {
    border-left: 1px solid rgba(217, 180, 88, 0.16);
  }

  .login-screen {
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr);
    align-items: center;
    gap: 28px;
    padding: 116px 46px 44px;
  }

  .login-hero {
    min-height: min(650px, calc(100dvh - 190px));
    padding: 44px;
  }

  .login-hero h1 {
    max-width: 620px;
    font-size: clamp(42px, 4vw, 66px);
  }

  .login-hero p:not(.eyebrow) {
    max-width: 560px;
    font-size: 16px;
  }

  .login-form {
    padding: 24px;
    border-radius: 24px;
  }

  .topbar {
    min-height: 70px;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    padding: 8px 72px 14px 0;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 12px;
  }

  .bottom-nav {
    top: 120px;
    right: auto;
    bottom: auto;
    left: 18px;
    width: 194px;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px;
    border-radius: 20px;
    box-shadow: none;
  }

  .bottom-nav button {
    min-height: 58px;
    display: grid;
    grid-template-columns: 28px 1fr;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
    border-radius: 14px;
    text-align: left;
    font-size: 12px;
  }

  .bottom-nav .nav-icon {
    width: 21px;
    height: 21px;
    margin: 0;
  }

  .burger-panel {
    top: 82px;
    left: 30px;
    width: 340px;
  }

  .hero {
    min-height: 238px;
    padding: 32px;
    background-position: center 28%;
  }

  .hero h1 {
    max-width: 620px;
    font-size: 38px;
  }

  .quick-stats {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

  .controls {
    grid-template-columns: minmax(280px, 1fr) 240px;
  }

  .category-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 16px 0 0;
    padding: 0;
    overflow: visible;
  }

  .category-card {
    min-width: 0;
  }

  .desktop-order-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    align-items: start;
    gap: 18px;
  }

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

  .day-card:first-child {
    grid-row: span 2;
  }

  .desktop-cart-panel {
    position: sticky;
    top: 12px;
    display: grid;
    gap: 14px;
    margin-top: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(33, 28, 19, .96), rgba(15, 12, 8, .98));
  }

  .desktop-cart-heading,
  .desktop-cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .desktop-cart-heading h2 {
    margin: 0;
    font-size: 24px;
  }

  .desktop-cart-heading > span {
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--gold);
    color: #151005;
    font-weight: 950;
  }

  .desktop-cart-list {
    display: grid;
    gap: 8px;
    max-height: 330px;
    overflow: auto;
  }

  .desktop-cart-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid rgba(217, 180, 88, .14);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
  }

  .desktop-cart-item strong,
  .desktop-cart-item span {
    display: block;
  }

  .desktop-cart-item strong {
    color: var(--gold-2);
    font-size: 10px;
    text-transform: uppercase;
  }

  .desktop-cart-item span {
    margin-top: 3px;
    font-size: 12px;
    line-height: 1.3;
  }

  .desktop-cart-item b {
    color: var(--gold-2);
  }

  .desktop-cart-empty {
    display: grid;
    gap: 5px;
    padding: 16px;
    border: 1px dashed rgba(217, 180, 88, .24);
    border-radius: 14px;
    color: var(--muted);
    font-size: 12px;
  }

  .desktop-cart-empty strong {
    color: var(--text);
  }

  .desktop-cart-total {
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }

  .desktop-cart-total span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
  }

  .desktop-cart-total strong {
    color: var(--gold-2);
    font-size: 23px;
  }

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

  .food-photo {
    min-height: 260px;
  }

  .app-screen[data-view="cart"] .cart-list,
  .app-screen[data-view="notifications"] .notice-list,
  .app-screen[data-view="profile"] .settings-list,
  .app-screen[data-view="contact"] .settings-list,
  .app-screen[data-view="loyalty"] .reward-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-footer {
    bottom: 0;
  }

  .toast {
    right: 42px;
    bottom: 28px;
    left: auto;
    width: min(420px, calc(100% - 84px));
  }
}

@media (max-width: 460px) {
  body {
    display: block;
  }

  .phone-shell {
    width: 100vw;
    min-height: 100vh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }

  .app-screen {
    min-height: 100vh;
    max-height: none;
    padding-top: max(18px, env(safe-area-inset-top));
  }
}
