:root {
  --pj-red: #e23744;
  --pj-orange: #ff7a1a;
  --pj-ink: #231f20;
  --pj-muted: #6f6a66;
  --pj-bg: #fff5f5;
  --pj-card: #ffffff;
  --pj-line: rgba(226, 55, 68, .12);
}

[data-theme="dark"] {
  --pj-ink: #f9fafb;
  --pj-muted: #c8c3bd;
  --pj-bg: #18120f;
  --pj-card: #231a16;
}

body {
  background: var(--pj-bg);
  color: var(--pj-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.navbar, .pj-gradient {
  background: linear-gradient(135deg, var(--pj-red), var(--pj-orange));
}

.btn-pj {
  background: linear-gradient(135deg, var(--pj-red), var(--pj-orange));
  border: 0;
  color: #fff;
  font-weight: 700;
}

.btn-pj:hover { color: #fff; filter: brightness(.96); }
.text-pj { color: var(--pj-red); }
.pj-card {
  background: var(--pj-card);
  border: 1px solid rgba(232, 54, 31, .10);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(67, 33, 16, .08);
}

.hero {
  min-height: 58vh;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.18)),
    url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff;
}

.food-card img, .restaurant-card img {
  height: 170px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.sticky-cart {
  position: sticky;
  bottom: 16px;
  z-index: 10;
}

.fade-up {
  animation: fadeUp .55s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

html.splash-open,
html.splash-open body {
  overflow: hidden;
}

.app-splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(160deg, rgba(255,255,255,.10), transparent 42%),
    var(--splash-bg, #e23744);
  color: var(--splash-text, #fff);
  animation: splashIn .32s ease both;
}

.app-splash-screen.is-leaving {
  animation: splashOut .52s ease forwards;
  pointer-events: none;
}

.app-splash-content {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  animation: splashContent 1s cubic-bezier(.2,.8,.2,1) both;
}

.app-splash-content img {
  width: min(62vw, 320px);
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 22px 36px rgba(0,0,0,.25));
}

.app-splash-content h1 {
  margin: 8px 0 0;
  color: var(--splash-text, #fff);
  font-size: clamp(3.2rem, 14vw, 7.4rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: .9;
}

.app-splash-content p {
  margin: 0;
  font-size: clamp(1rem, 3.8vw, 1.45rem);
  font-weight: 900;
  opacity: .94;
}

.app-splash-content span {
  margin-top: 8px;
  font-size: .85rem;
  font-weight: 900;
  letter-spacing: .16em;
  opacity: .55;
  text-transform: uppercase;
}

.app-splash-content i {
  position: relative;
  width: 170px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.34);
}

.app-splash-content i::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 42%;
  border-radius: inherit;
  background: rgba(255,255,255,.85);
  animation: splashLoad 1.2s ease-in-out infinite;
}

.app-splash-skip {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255,255,255,.15);
  color: var(--splash-text, #fff);
  font-weight: 900;
}

.splash-admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) minmax(0, 1.4fr);
  gap: 22px;
  align-items: stretch;
}

.splash-admin-preview {
  min-height: 250px;
  display: grid;
  place-items: center;
  justify-items: center;
  gap: 10px;
  overflow: hidden;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 38%, rgba(255,255,255,.18), transparent 32%),
    var(--splash-bg, #e23744);
  color: var(--splash-text, #fff);
  text-align: center;
}

.splash-admin-preview img {
  width: min(220px, 62%);
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 16px 22px rgba(0,0,0,.22));
}

.splash-admin-preview strong {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 1;
}

.splash-admin-preview span {
  font-weight: 800;
  opacity: .85;
}

@keyframes splashIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes splashOut {
  to { opacity: 0; transform: scale(1.03); }
}

@keyframes splashContent {
  from { opacity: 0; transform: translateY(34px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes splashLoad {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(280%); }
}

@media (max-width: 768px) {
  .splash-admin-grid {
    grid-template-columns: 1fr;
  }

  .menu-import-uploader,
  .menu-import-row {
    grid-template-columns: 1fr;
  }

  .menu-import-description,
  .menu-import-uploader textarea,
  .menu-import-uploader .menu-import-actions {
    grid-column: auto;
  }

  .menu-import-enable {
    display: flex;
    justify-content: space-between;
    min-height: auto;
  }

  .menu-import-savebar {
    bottom: 86px;
  }
}

@media (max-width: 576px) {
  .app-splash-content img {
    width: min(76vw, 280px);
  }

  .app-splash-content h1 {
    font-size: clamp(2.6rem, 18vw, 5.5rem);
  }

  .app-splash-skip {
    top: 12px;
    right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .app-splash-screen,
  .app-splash-screen.is-leaving,
  .app-splash-content,
  .app-splash-content i::after {
    animation: none !important;
  }
}

.status-dot {
  display: inline-block;
  width: .65rem;
  height: .65rem;
  border-radius: 50%;
  background: #22c55e;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 20px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(232, 54, 31, .98), rgba(255, 138, 0, .94)),
    radial-gradient(circle at top right, rgba(255,255,255,.22), transparent 34%);
  box-shadow: 18px 0 38px rgba(79, 31, 10, .18);
  z-index: 30;
}

.side-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1.25rem;
}

.side-brand span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(255,255,255,.22);
  font-weight: 900;
}

.side-caption {
  margin: 10px 0 28px;
  color: rgba(255,255,255,.78);
  font-size: .92rem;
}

.side-nav {
  display: grid;
  gap: 10px;
}

.side-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 14px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  transition: transform .18s ease, background .18s ease;
}

.side-link:hover, .side-link.active {
  color: #fff;
  background: rgba(255,255,255,.24);
  transform: translateX(3px);
}

.side-link b {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--pj-red);
  font-size: .75rem;
}

.side-user {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(0,0,0,.13);
}

.side-user strong, .side-user small, .side-user a {
  display: block;
  color: #fff;
}

.side-user small { opacity: .76; }
.side-user a { margin-top: 10px; font-weight: 700; }

.app-main {
  min-width: 0;
  padding-bottom: 0;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 24px;
  background: rgba(255, 248, 241, .88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(232,54,31,.10);
}

.top-location-menu {
  position: relative;
  min-width: 0;
}

.top-location-menu summary {
  list-style: none;
}

.top-location-menu summary::-webkit-details-marker {
  display: none;
}

.top-location {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(89,27,30,.08);
  cursor: pointer;
}

.location-pin {
  position: relative;
  flex: 0 0 auto;
  width: 21px;
  height: 21px;
  border-radius: 50% 50% 50% 0;
  background: var(--pj-red);
  transform: rotate(-45deg);
}

.location-pin::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
}

.top-location div {
  min-width: 0;
}

.top-location small,
.top-location strong {
  display: block;
  line-height: 1.05;
}

.location-popover {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 60;
  width: min(360px, 82vw);
  padding: 12px;
  border: 1px solid var(--pj-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(89,27,30,.18);
}

.location-popover label {
  display: block;
  margin-bottom: 6px;
  color: var(--pj-red);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.location-popover select {
  width: 100%;
  margin-bottom: 8px;
  border: 1px solid var(--pj-line);
  border-radius: 8px;
  padding: 9px 10px;
}

.location-popover form + form,
.location-popover form + a,
.location-popover a + form {
  margin-top: 10px;
}

.device-location-form small {
  display: block;
  min-height: 16px;
  margin-top: 6px;
}

.location-address-picker {
  display: grid;
  gap: 10px;
}

.location-popover-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 2px 4px;
}

.location-popover-title span {
  color: var(--pj-red);
  font-size: .76rem;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.location-popover-title a {
  color: #ef3b2d;
  font-size: .78rem;
  font-weight: 950;
  text-decoration: none;
}

.location-address-form {
  margin: 0;
}

.location-address-option {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 22px;
  gap: 11px;
  align-items: center;
  width: 100%;
  min-height: 78px;
  padding: 12px;
  border: 1px solid rgba(24, 28, 35, .08);
  border-radius: 18px;
  color: #20242d;
  background: rgba(255, 255, 255, .86);
  text-align: left;
  box-shadow: 0 10px 24px rgba(23, 25, 33, .06);
}

.location-address-option.is-active {
  border-color: rgba(239, 74, 37, .44);
  background: linear-gradient(135deg, #fff3ec, #fff);
}

.location-address-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  color: #ef3b2d;
  background: #fff0ea;
}

.location-address-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.location-address-copy strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #20242d;
  font-size: .96rem;
  font-weight: 950;
}

.location-address-copy strong em {
  padding: 3px 7px;
  border-radius: 999px;
  color: #0f9f62;
  background: #e9fbf1;
  font-size: .64rem;
  font-style: normal;
  font-weight: 950;
}

.location-address-copy small {
  overflow: hidden;
  color: #6b7280;
  font-size: .78rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-address-copy b {
  width: fit-content;
  max-width: 100%;
  margin-top: 2px;
  padding: 4px 8px;
  overflow: hidden;
  border-radius: 999px;
  color: #ef3b2d;
  background: #fff0ea;
  font-size: .7rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-address-option > i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(24, 28, 35, .14);
  border-radius: 50%;
  background: #fff;
}

.location-address-option.is-active > i {
  border-color: #ef3b2d;
  background: linear-gradient(135deg, #ff9217, #ff2f2f);
}

.location-address-option.is-active > i::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.app-location-menu .location-popover {
  width: min(520px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid rgba(255, 122, 23, .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 16%, rgba(255, 122, 23, .14) 0 44px, transparent 46px),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 250, 247, .96));
  box-shadow: 0 24px 58px rgba(23, 25, 33, .18);
  backdrop-filter: blur(18px);
}

.app-location-menu .device-location-form {
  padding-top: 12px;
  border-top: 1px dashed rgba(239, 74, 37, .22);
}

.app-location-menu .device-location-form .btn {
  min-height: 44px;
  border-radius: 16px;
  font-weight: 950;
  background: #fff;
}

.top-location small {
  color: var(--pj-red);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.top-location strong {
  max-width: 168px;
  margin-top: 2px;
  overflow: hidden;
  color: var(--pj-ink);
  font-size: .84rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.menu-toggle, .cart-pill {
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  color: var(--pj-red);
  background: #fff;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px 0;
  border-radius: 999px;
  background: currentColor;
}

.cart-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  color: #fff;
  background: linear-gradient(135deg, #231f20, #4a2415);
  box-shadow: 0 12px 28px rgba(67, 33, 16, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}

.cart-pill:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(67, 33, 16, .24);
}

.cart-icon {
  position: relative;
  display: inline-block;
  width: 22px;
  height: 18px;
  border: 2px solid #fff;
  border-top: 0;
  border-radius: 3px 3px 6px 6px;
}

.cart-icon::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -8px;
  width: 10px;
  height: 9px;
  border: 2px solid #fff;
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
}

.cart-icon span::before,
.cart-icon span::after {
  content: "";
  position: absolute;
  bottom: -6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffcf7a;
}

.cart-icon span::before { left: 2px; }
.cart-icon span::after { right: 2px; }

.cart-label {
  line-height: 1;
}

.cart-pill b {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--pj-red);
  background: #fff;
  font-size: .78rem;
  box-shadow: inset 0 0 0 1px rgba(232,54,31,.12);
}

.mobile-home {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px 24px 56px;
}

.mobile-location-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--pj-line);
  box-shadow: 0 14px 32px rgba(89, 27, 30, .08);
}

.mobile-location-card span {
  color: var(--pj-red);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
}

.mobile-location-card h1 {
  margin: 3px 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.mobile-location-card p {
  margin: 0;
  color: var(--pj-muted);
}

.mobile-location-card a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 8px;
  background: #fff0f1;
  color: var(--pj-red);
  text-decoration: none;
  font-weight: 900;
}

.mobile-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin: 14px 0;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(89, 27, 30, .08);
}

.veg-filter-bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  margin: 14px 0;
  padding: 14px 16px;
  border: 1px solid rgba(22, 163, 74, .16);
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff, #f0fff5);
  box-shadow: 0 12px 28px rgba(20, 83, 45, .08);
}

.veg-filter-bar strong,
.veg-filter-bar span {
  display: block;
}

.veg-filter-bar strong {
  font-weight: 950;
  color: #116b35;
}

.veg-filter-bar span {
  color: #5b7263;
  font-size: .88rem;
}

.veg-mode-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.veg-mode-switch.compact {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.veg-mode-switch strong {
  color: #116b35;
  font-size: .68rem;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
}

.veg-mode-state {
  min-width: 32px;
  color: #7a8a80;
  font-size: .78rem;
  font-weight: 950;
}

.veg-mode-switch.compact .veg-mode-state {
  display: none;
}

.veg-mode-track {
  position: relative;
  display: block;
  width: 48px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(145deg, #cfd9d3, #ecf3ef);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.45),
    inset 0 5px 10px rgba(0,0,0,.10),
    0 8px 14px rgba(20,83,45,.14);
  transition: background .22s ease, box-shadow .22s ease;
}

.veg-mode-knob {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 5px 12px rgba(0,0,0,.24);
  transition: transform .22s cubic-bezier(.2,.8,.2,1);
}

.veg-mode-switch.is-on .veg-mode-state {
  color: #15803d;
}

.veg-mode-switch.is-on .veg-mode-track {
  background: linear-gradient(145deg, #20bf55, #24830f);
  box-shadow:
    inset 0 0 0 2px rgba(44, 201, 93, .55),
    inset 0 7px 12px rgba(0,0,0,.18),
    0 10px 18px rgba(20, 131, 15, .24);
}

.veg-mode-switch.is-on .veg-mode-knob {
  transform: translateX(20px);
}

.is-hidden-by-veg {
  display: none !important;
}

.mobile-search input {
  min-width: 0;
  border: 0;
  padding: 12px 14px;
  outline: none;
}

.mobile-search button {
  border: 0;
  border-radius: 8px;
  padding: 0 16px;
  color: #fff;
  background: var(--pj-red);
  font-weight: 900;
}

.offer-banner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  min-height: 190px;
  margin: 18px 0 24px;
  padding: 26px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(226,55,68,.96), rgba(226,55,68,.68), rgba(35,31,32,.18)),
    url('https://images.unsplash.com/photo-1540189549336-e6e99c3679fe?auto=format&fit=crop&w=1200&q=80') center/cover;
  box-shadow: 0 20px 42px rgba(226,55,68,.22);
}

.offer-banner span {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  color: #8a1b22;
  background: #fff;
  font-size: .75rem;
  font-weight: 900;
}

.offer-banner h2 {
  max-width: 620px;
  margin: 10px 0 6px;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  font-weight: 950;
  line-height: 1;
}

.offer-banner p {
  margin: 0;
  font-weight: 700;
}

.offer-banner strong {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  color: var(--pj-red);
  background: #fff;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.05;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.app-section-title {
  margin-top: 28px;
}

.category-circles {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.category-circles a {
  display: grid;
  justify-items: center;
  gap: 9px;
  padding: 12px 8px;
  color: var(--pj-ink);
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.category-circles img {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px rgba(89,27,30,.12);
}

.product-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(230px, 270px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.product-card,
.zomato-card,
.management-card {
  border: 1px solid var(--pj-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(89, 27, 30, .08);
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.product-card div {
  padding: 13px;
}

.product-card small {
  color: var(--pj-muted);
}

.product-card h3 {
  margin: 3px 0;
  font-size: 1.02rem;
  font-weight: 950;
}

.product-card p {
  margin: 0 0 10px;
  color: var(--pj-muted);
}

.veg-dot,
.nonveg-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 2px;
  vertical-align: middle;
}

.veg-dot { background: #16a34a; }
.nonveg-dot { background: #dc2626; }

.product-card footer,
.zomato-body footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.product-card a {
  padding: 7px 12px;
  border-radius: 8px;
  color: #fff;
  background: var(--pj-red);
  text-decoration: none;
  font-weight: 900;
}

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

.zomato-card {
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.zomato-card:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: 0 20px 42px rgba(89, 27, 30, .14);
}

.zomato-image {
  position: relative;
  overflow: hidden;
}

.zomato-image img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.zomato-image span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(226,55,68,.92);
  font-size: .78rem;
  font-weight: 900;
  text-transform: capitalize;
}

.zomato-body {
  padding: 14px;
}

.zomato-body div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.zomato-body h3 {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 950;
}

.zomato-body b {
  align-self: start;
  padding: 3px 8px;
  border-radius: 6px;
  color: #fff;
  background: #159447;
}

.zomato-body p {
  min-height: 44px;
  margin: 8px 0 12px;
  color: var(--pj-muted);
}

.zomato-body footer span {
  color: #4d4244;
  font-size: .88rem;
  font-weight: 800;
}

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

.panel-heading span {
  color: var(--pj-red);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-heading h1 {
  margin: 0;
  font-weight: 950;
}

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

.management-card {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.management-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(89, 27, 30, .11);
}

.management-card > img {
  flex: 0 0 130px;
  width: 130px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
}

.management-main {
  flex: 1 1 360px;
  min-width: 0;
}

.management-main h2 {
  margin: 5px 0;
  font-size: 1.1rem;
  font-weight: 950;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.management-main p,
.management-main small {
  display: block;
  margin: 0 0 5px;
  color: var(--pj-muted);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.management-main p {
  max-width: 76ch;
}

.management-main p b,
.management-main small b {
  color: var(--pj-ink);
}

.management-main .order-total {
  display: block;
  margin-top: 8px;
  font-size: 1.03rem;
  line-height: 1.25;
}

.management-actions {
  display: grid;
  gap: 8px;
  flex: 0 1 240px;
  min-width: min(100%, 180px);
}

.management-actions form {
  display: grid;
  gap: 8px;
}

.management-actions form .btn {
  width: 100%;
}

.management-actions .badge {
  width: 100%;
  white-space: normal;
  line-height: 1.35;
  text-align: center;
}

.guest-query-float {
  position: fixed;
  right: 18px;
  bottom: 112px;
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 17px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ef334b, #ff7a18);
  box-shadow: 0 16px 38px rgba(239, 51, 75, .3);
  font-weight: 900;
}

.guest-query-icon {
  width: 22px;
  height: 22px;
}

.guest-query-widget {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(13, 18, 29, .3);
}

.guest-query-card {
  position: relative;
  width: min(420px, 100%);
  padding: 22px;
  border: 1px solid rgba(239, 51, 75, .14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(21, 28, 44, .22);
}

.guest-query-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #1f2530;
  background: #fff3f1;
  font-size: 1.3rem;
  line-height: 1;
}

.guest-query-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.guest-query-head > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #ef334b;
  background: #fff0f1;
}

.guest-query-head strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 950;
}

.guest-query-head small {
  color: #6b7280;
  font-weight: 700;
}

.guest-query-card form {
  display: grid;
  gap: 10px;
}

.guest-query-card textarea {
  min-height: 108px;
  resize: vertical;
}

.guest-query-success {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #087241;
  background: #e8fff4;
  font-weight: 800;
}

.support-query-list {
  display: grid;
  gap: 12px;
}

.support-query-subtitle {
  margin: 18px 0 12px;
  color: #151923;
  font-size: 1rem;
  font-weight: 950;
}

.support-query-history-title {
  margin-top: 26px;
}

.support-query-history-entry {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.support-query-history-entry .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 900;
}

.support-query-history-entry span {
  display: inline-grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: #ef334b;
}

.support-query-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(239, 51, 75, .12);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff, #fff8f5);
}

.support-query-card.is-completed {
  opacity: .88;
  border-color: rgba(40, 167, 69, .18);
  background: linear-gradient(135deg, #fff, #f3fff8);
}

.support-query-card h3 {
  margin: 8px 0 6px;
  font-weight: 950;
}

.support-query-card p {
  margin: 0 0 8px;
  color: #2b303b;
  font-weight: 650;
}

.support-query-card small {
  color: #6b7280;
  font-weight: 700;
}

.support-query-contact {
  display: grid;
  gap: 8px;
  min-width: 130px;
}

.support-query-contact form {
  display: grid;
}

.support-query-contact .btn {
  width: 100%;
}

@media (max-width: 640px) {
  .guest-query-float {
    right: 14px;
    bottom: 106px;
    min-height: 50px;
    padding: 0 14px;
  }

  .guest-query-card {
    margin-bottom: 78px;
  }

  .support-query-card {
    grid-template-columns: 1fr;
  }
}

.status-chip {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--pj-red);
  background: #fff0f1;
  font-size: .75rem;
  font-weight: 900;
}

.order-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0;
}

.order-items span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fff5f5;
  font-size: .82rem;
  line-height: 1.3;
}

.food-filter-tabs {
  display: flex;
  gap: 8px;
  margin: 14px 0;
}

.food-filter-tabs a {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--pj-red);
  background: #fff0f1;
  text-decoration: none;
  font-weight: 900;
}

.food-filter-tabs a.active {
  color: #fff;
  background: var(--pj-red);
}

.top-search input, .hero-search input {
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: 0 10px 25px rgba(67,33,16,.08);
}

.location-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  margin: 18px 24px 0;
  padding: 14px;
  border-radius: 8px;
  background: var(--pj-card);
  box-shadow: 0 12px 30px rgba(67,33,16,.08);
}

.compact-location {
  display: flex;
  justify-content: flex-end;
  margin: 10px 24px 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.compact-location .location-form {
  max-width: 360px;
}

.location-strip strong, .location-strip small, .location-kicker {
  display: block;
}

.location-kicker {
  color: var(--pj-red);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.location-form {
  display: flex;
  gap: 8px;
}

.location-form select {
  min-width: 210px;
  border: 1px solid rgba(232,54,31,.16);
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
}

.app-hero {
  margin: 24px;
  min-height: 430px;
  display: grid;
  align-items: end;
  padding: 36px;
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(0,0,0,.70), rgba(0,0,0,.08)),
    url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1600&q=80') center/cover;
  overflow: hidden;
}

.app-hero h1 {
  max-width: 700px;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: .98;
}

.app-hero p {
  max-width: 560px;
  font-size: 1.1rem;
}

.app-hero span {
  color: #ffd9a0;
  font-weight: 800;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  max-width: 620px;
  margin-top: 22px;
}

.content-pad {
  padding: 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 12px 0 16px;
}

.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
}

.section-head span {
  color: var(--pj-muted);
}

.food-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.app-food-card, .app-restaurant-card, .menu-row, .checkout-card, .stat-card, .empty-state {
  background: var(--pj-card);
  border: 1px solid rgba(232,54,31,.10);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(67,33,16,.08);
}

.app-food-card {
  overflow: hidden;
}

.app-food-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.app-food-card div {
  padding: 14px;
}

.app-food-card h3 {
  min-height: 42px;
  margin: 2px 0 8px;
  font-size: 1rem;
  font-weight: 900;
}

.app-food-card small {
  color: var(--pj-muted);
}

.app-food-card strong {
  display: block;
  margin-bottom: 10px;
}

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

.app-restaurant-card {
  display: block;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease;
}

.app-restaurant-card:hover {
  color: inherit;
  transform: translateY(-3px);
}

.app-restaurant-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.app-restaurant-card div {
  padding: 16px;
}

.app-restaurant-card span {
  color: var(--pj-red);
  font-weight: 800;
  font-size: .85rem;
}

.app-restaurant-card h3 {
  margin: 4px 0 8px;
  font-weight: 900;
}

.app-restaurant-card p {
  min-height: 48px;
  color: var(--pj-muted);
}

.restaurant-hero {
  position: relative;
  isolation: isolate;
  margin: 18px 20px 24px;
  min-height: 330px;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255, 122, 23, .20);
  border-radius: 24px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(8,12,20,.10), rgba(8,12,20,.34) 42%, rgba(8,12,20,.78)),
    url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?auto=format&fit=crop&w=1400&q=80') center / 100% 100%;
  box-shadow: 0 24px 58px rgba(23, 25, 33, .16);
}

.restaurant-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 255, 255, .18), transparent 24%),
    linear-gradient(90deg, rgba(0, 0, 0, .34), transparent 48%);
}

.restaurant-hero > div {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.restaurant-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 8vw, 4.2rem);
  line-height: .98;
  font-weight: 950;
  letter-spacing: .02em;
  text-shadow: 0 5px 18px rgba(0, 0, 0, .42);
}

.restaurant-hero p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: .96rem;
  font-weight: 750;
  line-height: 1.45;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .34);
}

.restaurant-hero .badge {
  width: fit-content;
  margin: 0 !important;
  padding: 8px 12px;
  border-radius: 999px;
  color: #151924 !important;
  background: linear-gradient(135deg, #ffd83b, #ff9b1b) !important;
  box-shadow: 0 12px 24px rgba(255, 173, 28, .30);
  font-size: .88rem;
  font-weight: 950;
}

.menu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px;
  margin-bottom: 14px;
}

.menu-row h2 {
  margin: 8px 0 6px;
  font-size: 1.08rem;
  font-weight: 900;
}

.menu-row p {
  margin: 0;
  color: var(--pj-muted);
}

.checkout-card {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  padding: 22px;
}

.stat-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.stat-card-link:hover,
.stat-card-link:focus-visible {
  color: inherit;
  border-color: rgba(232,54,31,.32);
  box-shadow: 0 16px 36px rgba(67,33,16,.13);
  transform: translateY(-2px);
}

.stat-card-link:focus-visible {
  outline: 3px solid rgba(232,54,31,.22);
  outline-offset: 3px;
}

.admin-location[id] {
  scroll-margin-top: 138px;
}

.stat-card span {
  display: block;
  color: var(--pj-muted);
}

.stat-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.7rem;
}

.stat-card small {
  display: block;
  margin-top: 8px;
  color: var(--pj-muted);
  line-height: 1.35;
}

.admin-nav-card span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.admin-nav-card.is-active {
  border-color: rgba(232,54,31,.35);
  background: linear-gradient(145deg, rgba(255,245,238,.98), #fff);
  box-shadow: 0 16px 38px rgba(232,54,31,.13);
}

.stat-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  color: var(--pj-red);
}

.admin-panel-page {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 72px);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(239, 59, 45, .035), transparent 34%),
    linear-gradient(180deg, #fff, #fff8f5 70%, #fff);
}

.admin-panel-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(239, 59, 45, .05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(239, 59, 45, .04) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.85), transparent 72%);
}

.admin-panel-page .panel-heading {
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(35, 31, 32, .96), rgba(239, 59, 45, .94) 58%, rgba(255, 122, 26, .94)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.15) 0 1px, transparent 1px 18px);
  box-shadow: 0 22px 48px rgba(96, 34, 19, .18);
  animation: adminIntro .45s ease both;
}

.admin-panel-page .panel-heading::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 1px, transparent 1px 20px);
  opacity: .24;
}

.admin-panel-page .panel-heading::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: -26px;
  width: 152px;
  height: 96px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(180deg, rgba(255,255,255,.68) 0 9px, rgba(255,255,255,.20) 9px 13px);
  box-shadow: 0 18px 34px rgba(35, 31, 32, .18);
  opacity: .42;
  transform: rotate(-8deg);
}

.admin-panel-page .panel-heading > * {
  position: relative;
  z-index: 1;
}

.admin-panel-page .panel-heading span,
.admin-panel-page .panel-heading h1 {
  color: #fff;
}

.admin-panel-page .panel-heading span {
  opacity: .86;
  letter-spacing: 0;
}

.admin-panel-page .panel-heading h1 {
  text-shadow: 0 8px 20px rgba(35,31,32,.22);
}

.admin-panel-page .panel-heading .btn {
  border-color: rgba(255,255,255,.68);
  color: #fff;
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 22px rgba(35,31,32,.14);
}

.admin-panel-page .panel-heading .btn:hover {
  border-color: #fff;
  background: rgba(255,255,255,.24);
}

.admin-stats-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 18px;
}

.admin-nav-card {
  --card-accent: var(--pj-red);
  position: relative;
  display: flex;
  min-height: 206px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border-color: rgba(35, 31, 32, .07);
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,249,246,.96));
  box-shadow: 0 18px 42px rgba(35, 31, 32, .08);
  animation: adminCardIn .5s ease both;
}

.admin-nav-card:nth-child(1) { --card-accent: #ef3b2d; animation-delay: .02s; }
.admin-nav-card:nth-child(2) { --card-accent: #f97316; animation-delay: .06s; }
.admin-nav-card:nth-child(3) { --card-accent: #e11d48; animation-delay: .10s; }
.admin-nav-card:nth-child(4) { --card-accent: #0f766e; animation-delay: .14s; }
.admin-nav-card:nth-child(5) { --card-accent: #2563eb; animation-delay: .18s; }
.admin-nav-card:nth-child(6) { --card-accent: #16a34a; animation-delay: .22s; }
.admin-nav-card:nth-child(7) { --card-accent: #ea580c; animation-delay: .26s; }

.admin-nav-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--card-accent), rgba(255,255,255,0));
  opacity: .86;
}

.admin-nav-card::after {
  content: "";
  position: absolute;
  right: -42px;
  top: -38px;
  width: 132px;
  height: 132px;
  border: 1px solid color-mix(in srgb, var(--card-accent) 22%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--card-accent) 12%, transparent), transparent 64%),
    repeating-linear-gradient(45deg, color-mix(in srgb, var(--card-accent) 14%, transparent) 0 1px, transparent 1px 12px);
  opacity: .7;
  transform: rotate(12deg);
  transition: transform .22s ease, opacity .22s ease;
}

.admin-nav-card span {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #514b4a;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.28;
}

.admin-nav-card .stat-icon {
  width: 46px;
  height: 46px;
  padding: 11px;
  border-radius: 8px;
  color: var(--card-accent);
  background: color-mix(in srgb, var(--card-accent) 12%, #fff);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--card-accent) 18%, transparent);
}

.admin-nav-card strong {
  margin-top: 18px;
  color: #16181f;
  font-size: clamp(1.75rem, 3vw, 2.3rem);
  letter-spacing: 0;
}

.admin-nav-card small {
  max-width: 13rem;
  color: #6d6865;
  font-weight: 650;
}

.admin-nav-card:hover,
.admin-nav-card:focus-visible {
  border-color: color-mix(in srgb, var(--card-accent) 26%, transparent);
  box-shadow: 0 24px 54px rgba(35, 31, 32, .12);
  transform: translateY(-6px);
}

.admin-nav-card:hover::after,
.admin-nav-card:focus-visible::after {
  opacity: .95;
  transform: rotate(8deg) translate(-8px, 8px);
}

.admin-nav-card.is-active {
  border-color: color-mix(in srgb, var(--card-accent) 32%, transparent);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--card-accent) 8%, #fff), #fff);
  box-shadow: 0 22px 50px color-mix(in srgb, var(--card-accent) 18%, transparent);
}

.manager-panel-page {
  background:
    radial-gradient(circle at top left, rgba(24, 119, 242, .10), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 122, 26, .13), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #fff8f4 48%, #fff 100%);
}

.manager-panel-page::before {
  background:
    linear-gradient(90deg, rgba(37, 99, 235, .05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(239, 59, 45, .045) 1px, transparent 1px);
  background-size: 44px 44px;
}

.manager-panel-page .panel-heading {
  margin-bottom: 16px;
  background:
    linear-gradient(135deg, rgba(12, 18, 32, .98), rgba(29, 78, 216, .92) 48%, rgba(255, 122, 26, .94)),
    repeating-linear-gradient(135deg, rgba(255,255,255,.16) 0 1px, transparent 1px 20px);
}

.manager-panel-page .panel-heading::after {
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.82) 0 18%, transparent 18% 100%),
    repeating-linear-gradient(180deg, rgba(255,255,255,.66) 0 9px, rgba(255,255,255,.16) 9px 13px);
}

.manager-panel-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(190px, 285px) minmax(0, 1fr) minmax(150px, auto);
  gap: 20px;
  align-items: center;
  margin: 0 0 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(243, 247, 255, .96)),
    repeating-linear-gradient(135deg, rgba(37, 99, 235, .08) 0 1px, transparent 1px 22px);
  box-shadow: 0 18px 44px rgba(19, 41, 91, .10);
}

.manager-panel-hero-compact {
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
  padding: 22px;
}

.manager-panel-hero-compact::before {
  content: "";
  position: absolute;
  right: 24px;
  top: 18px;
  width: 118px;
  height: 118px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, .12), rgba(255, 122, 26, .12)),
    repeating-linear-gradient(45deg, rgba(37, 99, 235, .12) 0 1px, transparent 1px 13px);
  opacity: .55;
  pointer-events: none;
}

.manager-panel-hero-media {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  border-radius: 8px;
  background: #eef4ff;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, .16);
}

.manager-panel-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: fill;
}

.manager-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  background: rgba(15, 23, 42, .84);
  font-size: .82rem;
  font-weight: 950;
}

.manager-live-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
}

.manager-live-badge.is-open {
  color: #22c55e;
}

.manager-live-badge.is-closed {
  color: #fb7185;
}

.manager-panel-hero-copy {
  min-width: 0;
}

.manager-panel-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 8px;
  color: #1d4ed8;
  background: rgba(37, 99, 235, .09);
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.manager-panel-hero-copy h2 {
  margin: 10px 0 6px;
  color: #121827;
  font-size: clamp(1.75rem, 3.6vw, 3.25rem);
  font-weight: 1000;
  line-height: 1;
  overflow-wrap: anywhere;
}

.manager-panel-hero-copy p {
  max-width: 70ch;
  margin: 0;
  color: #5f6676;
  font-weight: 700;
  line-height: 1.45;
}

.manager-panel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.manager-panel-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(37, 99, 235, .13);
  border-radius: 8px;
  color: #1d2638;
  background: #fff;
  font-size: .88rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(19, 41, 91, .07);
}

.manager-panel-pill-icon {
  width: 17px;
  height: 17px;
  color: #2563eb;
}

.manager-panel-hero-actions {
  display: grid;
  gap: 10px;
  min-width: 150px;
}

.manager-panel-hero-actions .btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
}

.manager-panel-page .manager-kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.manager-panel-page .manager-kpi-grid .stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(37, 99, 235, .10);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f8fbff);
  box-shadow: 0 14px 34px rgba(19, 41, 91, .08);
}

.manager-panel-page .manager-kpi-grid .stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #ff7a1a);
}

.manager-panel-page .admin-stats-grid {
  margin-bottom: 22px;
}

.manager-panel-page .admin-nav-card {
  min-height: 172px;
  border: 1px solid rgba(15, 23, 42, .08);
  background:
    linear-gradient(180deg, #fff, #f8fbff),
    repeating-linear-gradient(135deg, rgba(37, 99, 235, .05) 0 1px, transparent 1px 18px);
}

.manager-panel-page .admin-nav-card:nth-child(1) { --card-accent: #2563eb; }
.manager-panel-page .admin-nav-card:nth-child(2) { --card-accent: #16a34a; }
.manager-panel-page .admin-nav-card:nth-child(3) { --card-accent: #ef3b2d; }
.manager-panel-page .admin-nav-card:nth-child(4) { --card-accent: #f97316; }
.manager-panel-page .admin-nav-card:nth-child(5) { --card-accent: #7c3aed; }
.manager-panel-page .admin-nav-card:nth-child(6) { --card-accent: #0f766e; }

.manager-panel-page .admin-nav-card span {
  color: #20273a;
}

.manager-panel-page .admin-nav-card strong {
  color: var(--card-accent);
}

.manager-panel-page .admin-location > .pj-card,
.manager-panel-page .admin-location.pj-card,
.manager-panel-page .manager-bulk-delete-form {
  border: 1px solid rgba(37, 99, 235, .12);
  background: linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,251,255,.98));
  box-shadow: 0 16px 38px rgba(19, 41, 91, .08);
}

.manager-panel-page .admin-section-bar {
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px dashed rgba(37, 99, 235, .18);
}

.manager-panel-page .admin-section-bar h2 {
  margin: 0;
  color: #121827;
  font-weight: 1000;
}

.manager-panel-page .management-card {
  border: 1px solid rgba(37, 99, 235, .10);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(19, 41, 91, .07);
}

.manager-panel-page .management-card:hover {
  box-shadow: 0 18px 42px rgba(19, 41, 91, .11);
}

.manager-panel-page .management-card > img {
  background: #eef4ff;
  object-fit: fill;
}

.manager-panel-page .management-main h2 {
  color: #121827;
}

.manager-panel-page .management-actions {
  display: grid;
  gap: 8px;
}

.manager-panel-page .management-actions .btn,
.manager-panel-page .manager-request-submit,
.manager-panel-page .manager-restaurant-control-form .btn,
.manager-panel-page .withdrawal-claim-form .btn {
  min-height: 40px;
  font-weight: 900;
}

.manager-panel-page .manager-request-form,
.manager-panel-page .manager-restaurant-control-form,
.manager-panel-page .manager-restaurant-status-form,
.manager-panel-page .manager-delivery-assign,
.manager-panel-page .withdrawal-claim-form {
  padding: 12px;
  border: 1px solid rgba(37, 99, 235, .10);
  border-radius: 8px;
  background: rgba(248, 251, 255, .88);
}

.manager-orders-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
}

.manager-order-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.manager-order-summary .status-chip {
  margin: 0;
}

.manager-panel-page .withdrawal-card {
  align-items: stretch;
  border-color: rgba(22, 163, 74, .18);
  background: linear-gradient(135deg, rgba(240, 253, 244, .80), #fff 60%);
}

.manager-panel-page .withdrawal-card .management-main h2 {
  color: #15803d;
}

.manager-panel-page .manager-menu-product-row {
  align-items: stretch;
}

.manager-panel-page .manager-product-select {
  align-self: flex-start;
  padding: 8px 10px;
  border: 1px solid rgba(37, 99, 235, .12);
  border-radius: 8px;
  background: #f8fbff;
}

.manager-restaurant-front-list {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.manager-bulk-status-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.manager-bulk-status-actions form {
  margin: 0;
}

.manager-bulk-status-actions .btn {
  min-height: 36px;
  padding-inline: 14px;
  font-weight: 950;
}

.manager-restaurant-status-card {
  align-items: stretch;
}

.manager-restaurant-status-card > img {
  flex-basis: 150px;
  width: 150px;
  height: 118px;
  border-radius: 8px;
}

.manager-restaurant-status-actions {
  min-width: min(100%, 190px);
}

.manager-status-switch-form {
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid rgba(37, 99, 235, .10);
  border-radius: 8px;
  background: #f8fbff;
}

.manager-status-switch-form small {
  color: #667085;
  font-size: .74rem;
  font-weight: 800;
  line-height: 1.25;
}

.manager-status-switch {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 42px;
  padding: 6px 10px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #6b7280;
  font-weight: 950;
  text-align: left;
}

.manager-status-switch span {
  position: relative;
  display: block;
  width: 58px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .36);
}

.manager-status-switch span::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, .22);
  transition: transform .18s ease;
}

.manager-status-switch.is-open {
  background: linear-gradient(135deg, #16a34a, #22c55e);
}

.manager-status-switch.is-open span::before {
  transform: translateX(28px);
}

.manager-status-switch.is-closed {
  background: linear-gradient(135deg, #6b7280, #374151);
}

.manager-panel-page .menu-import-actions {
  gap: 8px;
}

@media (max-width: 768px) {
  .manager-panel-hero {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 12px;
  }

  .manager-panel-hero-media,
  .manager-panel-hero-media img {
    min-height: 190px;
  }

  .manager-panel-hero-copy h2 {
    font-size: 1.9rem;
  }

  .manager-panel-hero-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .manager-panel-page .manager-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .manager-panel-page .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .manager-orders-head {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .manager-order-summary {
    justify-content: flex-start;
  }

  .manager-restaurant-front-list {
    grid-template-columns: 1fr;
  }

  .manager-bulk-status-actions {
    justify-content: stretch;
  }

  .manager-bulk-status-actions form,
  .manager-bulk-status-actions .btn {
    flex: 1 1 120px;
  }
}

@media (max-width: 576px) {
  .manager-panel-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

  .manager-panel-hero-actions {
    grid-template-columns: 1fr;
  }

  .manager-panel-page .manager-kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .manager-panel-page .manager-kpi-grid .stat-card {
    padding: 16px 12px;
  }

  .manager-panel-page .manager-kpi-grid .stat-card strong {
    font-size: 1.25rem;
  }

  .manager-restaurant-status-card > img {
    flex-basis: 100%;
    width: 100%;
    height: 150px;
  }

  .manager-restaurant-status-actions {
    min-width: 100%;
  }
}

.restaurant-panel-page .restaurant-action-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.restaurant-panel-page .admin-nav-card {
  min-height: 184px;
}

.restaurant-panel-page {
  background:
    linear-gradient(180deg, #fff 0%, #fff8f4 42%, #fff 100%),
    repeating-linear-gradient(90deg, rgba(232, 54, 31, .035) 0 1px, transparent 1px 42px);
}

.restaurant-panel-page .panel-heading {
  margin-bottom: 16px;
}

.restaurant-panel-hero {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr) minmax(170px, auto);
  gap: 20px;
  align-items: center;
  margin: 0 0 18px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(232, 54, 31, .12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(255, 246, 241, .94)),
    repeating-linear-gradient(135deg, rgba(255, 122, 26, .08) 0 1px, transparent 1px 22px);
  box-shadow: 0 18px 44px rgba(96, 34, 19, .10);
}

.restaurant-panel-hero-media {
  position: relative;
  min-height: 160px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff1eb;
  box-shadow: inset 0 0 0 1px rgba(255, 122, 26, .18);
}

.restaurant-panel-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  display: block;
  object-fit: fill;
}

.restaurant-live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: .82rem;
  font-weight: 950;
  background: rgba(20, 24, 35, .82);
}

.restaurant-live-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
}

.restaurant-live-badge.is-open {
  color: #22c55e;
  background: rgba(14, 63, 36, .84);
}

.restaurant-live-badge.is-closed {
  color: #fb7185;
  background: rgba(72, 20, 31, .84);
}

.restaurant-panel-hero-copy {
  min-width: 0;
}

.restaurant-panel-kicker {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 8px;
  color: #e83a20;
  background: rgba(232, 54, 31, .08);
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.restaurant-panel-hero-copy h2 {
  margin: 10px 0 6px;
  color: #171923;
  font-size: clamp(1.65rem, 3.4vw, 3.1rem);
  font-weight: 1000;
  line-height: 1;
  overflow-wrap: anywhere;
}

.restaurant-panel-hero-copy p {
  max-width: 68ch;
  margin: 0;
  color: #68615e;
  font-weight: 650;
  line-height: 1.45;
}

.restaurant-panel-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.restaurant-panel-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid rgba(232, 54, 31, .12);
  border-radius: 8px;
  background: #fff;
  color: #2a2730;
  font-size: .88rem;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(96, 34, 19, .07);
}

.restaurant-panel-pill-icon {
  width: 17px;
  height: 17px;
  color: #f05a24;
}

.restaurant-panel-hero-actions {
  display: grid;
  gap: 10px;
  min-width: 168px;
}

.restaurant-panel-hero-actions .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
}

.restaurant-panel-page > .stats-grid:first-of-type {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.restaurant-panel-page > .stats-grid:first-of-type .stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 54, 31, .10);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fff9f5);
  box-shadow: 0 14px 34px rgba(96, 34, 19, .08);
}

.restaurant-panel-page > .stats-grid:first-of-type .stat-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ef3b2d, #ff7a1a);
}

.restaurant-panel-page .restaurant-action-grid {
  margin-bottom: 22px;
}

.restaurant-panel-page .admin-nav-card {
  min-height: 172px;
  border: 1px solid rgba(24, 27, 37, .08);
  background:
    linear-gradient(180deg, #fff, #fff8f4),
    repeating-linear-gradient(135deg, rgba(239, 59, 45, .05) 0 1px, transparent 1px 18px);
}

.restaurant-panel-page .admin-nav-card span {
  color: #222532;
}

.restaurant-panel-page .admin-nav-card strong {
  color: #ef3b2d;
}

.restaurant-panel-page .admin-location > .pj-card {
  border: 1px solid rgba(232, 54, 31, .12);
  background:
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(255,250,247,.98));
  box-shadow: 0 16px 38px rgba(96, 34, 19, .09);
}

.restaurant-panel-page .admin-section-bar {
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px dashed rgba(232, 54, 31, .18);
}

.restaurant-panel-page .admin-section-bar h2 {
  margin: 0;
  color: #171923;
  font-weight: 1000;
}

.restaurant-panel-page .management-card {
  border: 1px solid rgba(232, 54, 31, .10);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(96, 34, 19, .07);
}

.restaurant-panel-page .management-card:hover {
  box-shadow: 0 18px 42px rgba(96, 34, 19, .11);
}

.restaurant-panel-page .management-main h2 {
  color: #171923;
}

.restaurant-panel-page .management-actions {
  display: grid;
  gap: 8px;
}

.restaurant-panel-page .management-actions .btn,
.restaurant-panel-page .withdrawal-claim-form .btn,
.restaurant-panel-page .payout-account-form .btn {
  min-height: 40px;
  font-weight: 900;
}

.restaurant-panel-page .withdrawal-card {
  align-items: stretch;
  border-color: rgba(22, 163, 74, .18);
  background:
    linear-gradient(135deg, rgba(240, 253, 244, .78), #fff 58%);
}

.restaurant-panel-page .withdrawal-card .management-main h2 {
  color: #159447;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

.restaurant-panel-page .withdrawal-history {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.restaurant-panel-page .withdrawal-history small {
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .72);
  box-shadow: inset 0 0 0 1px rgba(22, 163, 74, .10);
}

.restaurant-panel-page .withdrawal-claim-form,
.restaurant-panel-page .payout-account-form {
  padding: 12px;
  border: 1px solid rgba(232, 54, 31, .10);
  border-radius: 8px;
  background: rgba(255, 248, 244, .82);
}

.restaurant-panel-page .withdrawal-claim-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

@media (max-width: 768px) {
  .restaurant-panel-hero {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 14px;
  }

  .restaurant-panel-hero-media,
  .restaurant-panel-hero-media img {
    min-height: 190px;
  }

  .restaurant-panel-hero-copy h2 {
    font-size: 1.85rem;
  }

  .restaurant-panel-hero-actions {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .restaurant-panel-page > .stats-grid:first-of-type {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .restaurant-panel-page .admin-nav-card {
    min-height: 132px;
  }

  .restaurant-panel-page .withdrawal-claim-row {
    grid-template-columns: 1fr;
  }
}

.restaurant-banner-card {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(255, 245, 235, .92), rgba(255, 255, 255, .98)),
    #fff;
}

.restaurant-banner-card .restaurant-banner-preview {
  flex: 0 0 260px;
  width: 260px;
  height: 148px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 18px 34px rgba(89, 27, 30, .12);
}

.banner-upload-form {
  align-self: center;
  display: grid;
  gap: 8px;
  min-width: min(100%, 260px);
}

.restaurant-location-card {
  align-items: stretch;
}

.restaurant-location-card .management-main {
  flex-basis: min(100%, 720px);
}

.restaurant-location-card .management-actions {
  align-self: flex-end;
}

.vendor-restaurant-map-picker .address-map {
  min-height: 270px;
}

.restaurant-food-editor .form-label {
  font-weight: 850;
  color: #5f5a58;
}

.food-description-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.food-variant-panel {
  display: none;
  padding: 16px;
  border: 1px solid rgba(232, 54, 31, .14);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff9f6, #fff);
}

.food-variant-panel.is-open {
  display: grid;
  gap: 12px;
  animation: adminCardIn .25s ease both;
}

.food-variant-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.food-variant-head strong {
  color: #17181f;
}

.food-variant-head small {
  color: var(--pj-muted);
}

.food-variant-rows {
  display: grid;
  gap: 10px;
}

.food-variant-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 10px;
}

.food-variant-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.food-variant-summary span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #d92f3b;
  background: rgba(232, 54, 31, .08);
  font-size: .78rem;
  font-weight: 850;
}

.menu-variant-select {
  width: min(210px, 100%);
  margin: 8px 0 4px;
  border-radius: 8px;
  font-weight: 750;
}

@media (max-width: 620px) {
  .food-variant-row {
    grid-template-columns: 1fr;
  }
}

@keyframes adminIntro {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes adminCardIn {
  from { opacity: 0; transform: translateY(16px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .admin-panel-page .panel-heading,
  .admin-nav-card {
    animation: none;
  }

  .admin-nav-card,
  .admin-nav-card::after {
    transition: none;
  }
}

.admin-location {
  display: grid;
  gap: 16px;
}

.admin-location h2 {
  font-size: 1.2rem;
  font-weight: 900;
}

.admin-section-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.admin-section-bar h2 {
  margin: 0;
}

.order-date-filter {
  display: flex;
  gap: 8px;
  align-items: center;
}

.admin-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  margin: 0 0 16px;
}

.manager-request-form {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.manager-request-form > * {
  min-width: 0;
}

.manager-request-submit {
  grid-column: 1 / -1;
  justify-self: end;
  min-width: 156px;
  white-space: nowrap;
}

.manager-delivery-assign {
  display: grid;
  gap: 7px;
}

.manager-delivery-assign .btn {
  width: 100%;
}

.manager-restaurant-control-form,
.manager-restaurant-status-form {
  display: grid;
  gap: 8px;
}

.manager-restaurant-status-form {
  padding-top: 10px;
  border-top: 1px solid rgba(239, 59, 45, .12);
}

.manager-restaurant-status-form small {
  color: #6e717b;
  font-size: .74rem;
  font-weight: 750;
  line-height: 1.3;
}

.manager-restaurant-status-form .btn {
  width: 100%;
}

.menu-import-uploader {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(220px, 1fr);
  gap: 14px;
  align-items: end;
  margin-top: 16px;
}

.menu-import-uploader textarea,
.menu-import-uploader .menu-import-actions {
  grid-column: 1 / -1;
}

.menu-import-uploader small {
  display: block;
  margin-top: 6px;
}

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

.menu-import-grid {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  max-width: 100%;
  min-width: 0;
}

.menu-import-row {
  display: grid;
  grid-template-columns: 72px minmax(180px, 1.5fr) minmax(140px, .9fr) minmax(100px, .55fr) minmax(100px, .55fr) minmax(110px, .65fr) minmax(110px, .65fr) minmax(90px, .45fr);
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(239, 59, 45, .12);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #fff8f6);
  max-width: 100%;
  min-width: 0;
}

.bulk-product-review-row {
  grid-template-columns: 72px 118px repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.menu-import-review {
  max-width: 100%;
  overflow: hidden;
}

.menu-import-review .admin-section-bar {
  gap: 12px;
}

.menu-import-row > *,
.bulk-product-review-row > * {
  min-width: 0;
  max-width: 100%;
}

.menu-import-row label {
  color: #6e717b;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.menu-import-enable {
  display: grid;
  place-items: center;
  gap: 4px;
  align-self: stretch;
  min-height: 60px;
  padding: 8px;
  border-radius: 8px;
  background: #fff1f2;
  color: var(--pj-red);
}

.menu-import-enable input {
  width: 18px;
  height: 18px;
  accent-color: var(--pj-red);
}

.menu-import-thumb {
  display: grid;
  gap: 6px;
  align-self: stretch;
  padding: 7px;
  border-radius: 8px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(239, 59, 45, .08);
}

.menu-import-thumb img {
  width: 100%;
  height: 82px;
  object-fit: cover;
  border-radius: 7px;
}

.menu-import-thumb small {
  color: var(--pj-red);
  font-size: .72rem;
  font-weight: 900;
}

.menu-import-description {
  grid-column: 2 / -1;
}

.bulk-product-review-row .menu-import-description {
  grid-column: 3 / -1;
}

.menu-import-savebar {
  position: sticky;
  bottom: 96px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  padding: 12px;
  border: 1px solid rgba(239, 59, 45, .14);
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 36px rgba(89, 27, 30, .14);
  backdrop-filter: blur(12px);
}

.menu-import-savebar span {
  color: #20242d;
  font-weight: 900;
}

.admin-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 16px;
}

.admin-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border: 1px solid rgba(239, 59, 45, .18);
  border-radius: 8px;
  color: var(--pj-red);
  background: #fff;
  text-decoration: none;
  font-weight: 900;
}

.admin-page-link:hover,
.admin-page-link.is-active {
  color: #fff;
  background: linear-gradient(135deg, var(--pj-red), var(--pj-orange));
  border-color: transparent;
}

.admin-pagination .disabled {
  pointer-events: none;
  opacity: .45;
}

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

.address-list {
  display: grid;
  gap: 12px;
}

.location-status {
  display: block;
  padding: 9px 0;
  color: var(--pj-muted);
  font-size: .88rem;
  font-weight: 800;
}

.address-map-picker {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--pj-line);
  border-radius: 8px;
  background: #fff7f4;
}

.address-map-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.address-map-search .btn {
  white-space: nowrap;
}

.address-map {
  height: 280px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(232, 54, 31, .14);
  background: #f4ebe7;
}

.restaurant-map {
  height: 320px;
}

.address-map-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.address-map-meta .location-status {
  padding: 0;
}

.address-map-meta small {
  flex: 0 0 auto;
  color: var(--pj-red);
  font-weight: 900;
}

.mini-location {
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(67,33,16,.08);
}

.mini-location strong, .mini-location span {
  display: block;
}

.mini-location span {
  color: var(--pj-muted);
}

.address-card {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.address-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.address-actions form {
  margin: 0;
}

.auth-panel {
  min-height: calc(100vh - 140px);
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-app-screen {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 26px;
  width: min(1120px, 100%);
  margin: 0 auto;
  place-items: stretch;
  align-items: center;
  padding: clamp(18px, 4vw, 42px) 16px 110px;
}

.auth-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 46px);
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 24, 38, .28), rgba(18, 24, 38, .82)),
    radial-gradient(circle at 72% 18%, rgba(255, 200, 69, .32), transparent 28%),
    linear-gradient(135deg, #ff8a1f, #ef334b 54%, #111827);
  box-shadow: 0 28px 70px rgba(89, 27, 30, .18);
}

.auth-hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px;
  pointer-events: none;
}

.auth-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 28px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}

.auth-hero img {
  position: absolute;
  right: clamp(16px, 4vw, 54px);
  top: clamp(34px, 5vw, 74px);
  z-index: 1;
  width: min(330px, 46%);
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 26px 38px rgba(0, 0, 0, .26));
}

.auth-badge {
  position: relative;
  z-index: 2;
  width: fit-content;
  margin-bottom: auto;
  padding: 10px 16px;
  border-radius: 999px;
  color: #111827;
  background: #fff;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(0, 0, 0, .16);
}

.auth-hero h1,
.auth-hero p,
.auth-location-chip {
  position: relative;
  z-index: 2;
}

.auth-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.8rem);
  line-height: .96;
  font-weight: 950;
  letter-spacing: 0;
}

.auth-hero p {
  max-width: 520px;
  margin: 16px 0 22px;
  color: rgba(255, 255, 255, .9);
  font-size: 1.05rem;
  font-weight: 750;
}

.auth-location-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 18px;
  color: #111827;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 18px 34px rgba(0, 0, 0, .14);
}

.auth-location-chip .location-pin {
  width: 38px;
  height: 38px;
  box-shadow: none;
}

.auth-location-chip strong,
.auth-location-chip small {
  display: block;
  line-height: 1.1;
}

.auth-location-chip strong {
  font-size: 1.06rem;
  font-weight: 950;
}

.auth-location-chip small {
  margin-top: 4px;
  color: var(--pj-muted);
  font-weight: 800;
}

.auth-panel .pj-card {
  width: min(100%, 460px);
}

.auth-form-card {
  align-self: center;
  border: 1px solid rgba(226, 55, 68, .1);
  border-radius: 24px;
  box-shadow: 0 22px 58px rgba(89, 27, 30, .14);
}

.auth-eyebrow {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--pj-red);
  background: rgba(226, 55, 68, .08);
  font-size: .78rem;
  font-weight: 950;
}

.auth-phone-card h1 {
  color: var(--pj-ink);
  letter-spacing: 0;
}

.auth-phone-card .form-control {
  min-height: 52px;
  border-radius: 14px;
  border-color: rgba(17, 24, 39, .1);
  font-weight: 750;
}

.auth-phone-card .form-control:focus {
  border-color: rgba(226, 55, 68, .42);
  box-shadow: 0 0 0 .18rem rgba(226, 55, 68, .12);
}

.auth-submit {
  min-height: 52px;
  border-radius: 14px;
  font-weight: 950;
}

.login-reference-page {
  position: relative;
  isolation: isolate;
  display: grid;
  justify-items: center;
  min-height: calc(100vh - 168px);
  padding: 58px 14px 118px;
  overflow: hidden;
}

.login-food-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .42;
  background-image:
    radial-gradient(circle at 11% 28%, rgba(255, 111, 24, .16) 0 2px, transparent 3px),
    radial-gradient(circle at 79% 34%, rgba(239, 51, 75, .14) 0 3px, transparent 4px),
    radial-gradient(circle at 20% 52%, rgba(255, 111, 24, .12) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 48%, rgba(239, 51, 75, .12) 0 2px, transparent 3px);
}

.login-food-pattern::before,
.login-food-pattern::after {
  content: "";
  position: absolute;
  width: 92px;
  height: 92px;
  border: 4px solid rgba(255, 111, 24, .13);
  border-radius: 28px;
  transform: rotate(-16deg);
}

.login-food-pattern::before {
  left: 42px;
  top: 92px;
}

.login-food-pattern::after {
  right: 52px;
  top: 156px;
  border-radius: 50%;
  transform: rotate(14deg);
}

.login-brand-logo {
  position: relative;
  z-index: 2;
  width: min(380px, 78vw);
  margin-bottom: -34px;
}

.login-brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(239, 51, 75, .12));
}

.login-reference-card {
  width: min(860px, 100%);
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(239, 51, 75, .09);
  border-radius: 30px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 26px 72px rgba(89, 27, 30, .12);
}

.login-card-head {
  text-align: center;
}

.login-card-head h1 {
  margin: 0;
  color: var(--pj-ink);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 950;
  letter-spacing: 0;
}

.login-card-head p {
  margin: 14px 0 0;
  color: var(--pj-muted);
  font-size: clamp(1rem, 2.4vw, 1.28rem);
  font-weight: 750;
}

.login-card-head b {
  color: #ed1c16;
}

.login-card-head span {
  display: block;
  width: 128px;
  height: 7px;
  margin: 24px auto 36px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, #ff4b1f 0 4px, transparent 5px),
    linear-gradient(90deg, #ff6b18 0 42%, transparent 42% 58%, #ff4b1f 58% 100%);
}

.login-reference-form {
  display: grid;
  gap: 14px;
}

.login-reference-form label {
  color: var(--pj-ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.login-input-group {
  display: grid;
  grid-template-columns: 1fr 78px;
  min-height: 82px;
  overflow: hidden;
  border: 2px solid rgba(239, 51, 75, .14);
  border-radius: 20px;
  background: #fff;
}

.login-input-group .form-control {
  min-height: 100%;
  border: 0;
  border-radius: 0;
  color: var(--pj-ink);
  background: transparent;
  font-size: 1.08rem;
  font-weight: 750;
  box-shadow: none;
}

.login-input-group.phone {
  grid-template-columns: 140px 1fr 78px;
}

.login-input-group.text,
.login-input-group.code {
  grid-template-columns: 1fr 78px;
}

.login-input-group.phone > span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--pj-ink);
  background: rgba(255, 246, 242, .92);
  font-size: 1.06rem;
  font-weight: 900;
}

.login-input-group.phone > span::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.login-input-group.phone i,
.login-input-group.password button,
.login-input-group.text i,
.login-input-group.code i {
  display: grid;
  place-items: center;
  border: 0;
  background: rgba(255, 246, 242, .72);
}

.login-input-group.phone i::before {
  content: "";
  width: 28px;
  height: 28px;
  background: #6b7280;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.6 3.1 3.5 5 6.6 6.6l2.2-2.2c.3-.3.8-.4 1.2-.3 1.3.4 2.6.6 4 .6.7 0 1.2.5 1.2 1.2v3.5c0 .7-.5 1.2-1.2 1.2C10.6 21.4 2.6 13.4 2.6 3.4c0-.7.5-1.2 1.2-1.2h3.5c.7 0 1.2.5 1.2 1.2 0 1.4.2 2.8.6 4 .1.4 0 .8-.3 1.2l-2.2 2.2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.login-input-group.text i::before,
.login-input-group.code i::before {
  content: "";
  width: 28px;
  height: 28px;
  background: #6b7280;
}

.login-input-group.text.name i::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-4.4 0-8 2.2-8 5v1.5c0 .8.7 1.5 1.5 1.5h13c.8 0 1.5-.7 1.5-1.5V19c0-2.8-3.6-5-8-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.login-input-group.text.lock i::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M17 9h1a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2h1V7a5 5 0 0 1 10 0v2Zm-2 0V7a3 3 0 0 0-6 0v2h6Zm-3 4a2 2 0 0 0-1 3.73V19h2v-2.27A2 2 0 0 0 12 13Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.login-input-group.code i::before {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 4h10a3 3 0 0 1 3 3v10a3 3 0 0 1-3 3H7a3 3 0 0 1-3-3V7a3 3 0 0 1 3-3Zm1 4v8h2V8H8Zm3 0v8h2V8h-2Zm3 0v8h2V8h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.login-input-group.password button::before {
  content: "";
  width: 28px;
  height: 18px;
  border: 3px solid #6b7280;
  border-radius: 50%;
}

.login-input-group.password button::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 36px;
  border-radius: 999px;
  background: #6b7280;
  transform: rotate(-45deg);
}

.login-input-group.password button {
  position: relative;
}

.login-input-group.password button.is-visible::after {
  display: none;
}

.login-forgot-link {
  justify-self: end;
  margin: 2px 0 18px;
  color: #ed1c16;
  font-size: 1.02rem;
  font-weight: 850;
  text-decoration: none;
}

.login-gradient-button {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  justify-items: center;
  min-height: 86px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #f52642 0%, #ff6b00 100%);
  box-shadow: 0 22px 42px rgba(239, 51, 75, .28);
  font-size: 1.35rem;
  font-weight: 950;
}

.login-gradient-button span {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
}

.login-gradient-button span::before {
  content: "";
  width: 26px;
  height: 26px;
  background: #f0442d;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10 17v-3H3v-4h7V7l6 5-6 5Zm-4 5v-4h3v1h10V5H9v1H6V2h16v20H6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.login-gradient-button b {
  font-weight: 950;
}

.login-create-row {
  display: grid;
  grid-template-columns: 1fr auto 20px;
  align-items: center;
  gap: 16px;
  margin-top: 34px;
  padding: 20px 28px;
  border-radius: 18px;
  background: rgba(239, 51, 75, .055);
}

.login-create-row span {
  color: var(--pj-muted);
  font-size: 1.06rem;
  font-weight: 750;
  text-align: center;
}

.login-create-row a {
  color: #ed1c16;
  font-size: 1.04rem;
  font-weight: 950;
  text-decoration: none;
}

.login-create-row::after {
  content: "";
  width: 13px;
  height: 13px;
  border-top: 3px solid #ed1c16;
  border-right: 3px solid #ed1c16;
  transform: rotate(45deg);
}

.register-reference-page {
  padding-top: 44px;
}

.register-reference-card {
  width: min(860px, 100%);
}

.register-reference-form .login-gradient-button {
  margin-top: 14px;
}

.register-code-highlight {
  display: grid;
  gap: 5px;
  margin: 0 0 22px;
  padding: 18px 20px;
  border: 1px solid rgba(34, 164, 92, .22);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34, 164, 92, .11), rgba(255, 138, 31, .1));
}

.register-code-highlight span,
.register-code-highlight small {
  color: var(--pj-muted);
  font-weight: 750;
}

.register-code-highlight strong {
  color: var(--pj-ink);
  font-size: 1.08rem;
}

.register-code-highlight code {
  width: fit-content;
  padding: 6px 10px;
  border-radius: 10px;
  color: #0f7a42;
  background: rgba(255, 255, 255, .82);
  font-weight: 950;
}

.register-code-actions {
  margin-bottom: 18px;
}

.auth-phone-card hr {
  margin: 22px 0;
  border-color: rgba(226, 55, 68, .16);
}

.auth-switch-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 8px;
  background: rgba(226, 55, 68, .06);
  color: var(--pj-muted);
  font-size: .95rem;
}

.auth-switch-box a {
  color: var(--pj-red);
  font-weight: 900;
  text-decoration: none;
}

.auth-switch-box a:hover {
  text-decoration: underline;
}

.auth-code-box {
  display: grid;
  gap: 4px;
  margin: 18px 0 12px;
  padding: 14px 16px;
  border: 1px solid rgba(34, 164, 92, .25);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(34, 164, 92, .12), rgba(255, 138, 31, .12));
}

.auth-code-box span,
.auth-code-box small {
  color: var(--pj-muted);
}

.auth-code-box strong {
  font-size: 1.05rem;
}

.auth-code-box code {
  width: fit-content;
  padding: 5px 9px;
  border-radius: 8px;
  color: #0f7a42;
  background: rgba(255, 255, 255, .72);
  font-weight: 900;
}

.auth-code-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 6px;
}

.auth-code-actions form {
  margin: 0;
}

@media (max-width: 900px) {
  .auth-app-screen {
    grid-template-columns: 1fr;
  }

  .auth-hero {
    min-height: 360px;
  }

  .auth-hero h1 {
    max-width: 78%;
    font-size: clamp(2.1rem, 8vw, 3.6rem);
  }

  .auth-hero p {
    max-width: 78%;
  }

  .auth-form-card {
    justify-self: center;
  }

  .login-reference-page {
    padding-top: 38px;
  }

  .login-reference-card {
    width: min(860px, calc(100vw - 44px));
  }
}

.btn-pj-soft {
  border: 1px solid rgba(226, 55, 68, .18);
  background: rgba(226, 55, 68, .08);
  color: var(--pj-red);
  font-weight: 800;
}

.btn-pj-soft:hover {
  border-color: rgba(226, 55, 68, .28);
  background: rgba(226, 55, 68, .14);
  color: var(--pj-red);
}

.auth-mini-form {
  margin-top: 12px;
}

@media (max-width: 420px) {
  .auth-panel {
    padding: 14px;
  }

  .auth-app-screen {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-bottom: 92px;
  }

  .auth-hero {
    min-height: 300px;
    padding: 22px;
    border-radius: 22px;
  }

  .auth-hero img {
    width: 42%;
    right: 10px;
    top: 42px;
  }

  .auth-hero h1 {
    max-width: 82%;
    font-size: 2.1rem;
  }

  .auth-hero p {
    max-width: 94%;
    font-size: .92rem;
  }

  .auth-form-card {
    border-radius: 20px;
  }

  .login-reference-page {
    min-height: calc(100vh - 132px);
    padding: 24px 10px 100px;
  }

  .login-brand-logo {
    width: min(270px, 76vw);
    margin-bottom: -24px;
  }

  .login-reference-card {
    width: 100%;
    padding: 26px 20px;
    border-radius: 24px;
  }

  .login-card-head h1 {
    font-size: 1.82rem;
  }

  .login-card-head p {
    font-size: .96rem;
  }

  .login-card-head span {
    margin-bottom: 26px;
  }

  .login-reference-form {
    gap: 11px;
  }

  .login-reference-form label {
    font-size: .96rem;
  }

  .login-input-group {
    grid-template-columns: 1fr 58px;
    min-height: 62px;
    border-radius: 17px;
  }

  .login-input-group.phone {
    grid-template-columns: 82px 1fr 58px;
  }

  .login-input-group.text,
  .login-input-group.code {
    grid-template-columns: 1fr 58px;
  }

  .login-input-group.phone > span,
  .login-input-group .form-control {
    font-size: .93rem;
  }

  .register-reference-page {
    padding-top: 20px;
  }

  .register-code-highlight {
    padding: 14px;
    border-radius: 16px;
  }

  .login-forgot-link {
    margin-bottom: 12px;
    font-size: .92rem;
  }

  .login-gradient-button {
    min-height: 68px;
    font-size: 1.08rem;
  }

  .login-gradient-button span {
    width: 44px;
    height: 44px;
  }

  .login-create-row {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 22px;
    padding: 16px;
    text-align: center;
  }

  .login-create-row::after {
    display: none;
  }

  .auth-switch-box {
    align-items: flex-start;
    flex-direction: column;
  }

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

.empty-state {
  max-width: 760px;
  margin: 24px auto;
  padding: 34px;
  text-align: center;
}

.rider-photo-preview,
.rider-photo-thumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  max-width: 100%;
  margin: 6px 0 10px;
  padding: 8px 10px;
  border: 1px solid rgba(226, 55, 68, .12);
  border-radius: 8px;
  background: rgba(226, 55, 68, .05);
  color: var(--pj-ink);
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
}

.rider-photo-preview img,
.rider-photo-thumb img {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(89, 27, 30, .14);
}

.rider-photo-preview.is-empty {
  color: var(--pj-muted);
  background: rgba(108, 117, 125, .06);
}

.rider-photo-thumb:hover {
  color: var(--pj-red);
  background: rgba(226, 55, 68, .09);
}

.cancel-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 10px;
  flex: 0 1 420px;
  min-width: min(100%, 260px);
}

.cancel-actions form {
  margin: 0;
}

.notify-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  display: grid;
  gap: 4px;
  width: min(360px, calc(100vw - 32px));
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--pj-red), var(--pj-orange));
  box-shadow: 0 18px 42px rgba(89, 27, 30, .26);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}

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

.notify-toast.is-urgent {
  border: 1px solid rgba(255, 255, 255, .42);
  background:
    radial-gradient(circle at 14% 12%, rgba(255,255,255,.32), transparent 28%),
    linear-gradient(135deg, #ef233c, #ff6b18);
  box-shadow: 0 22px 56px rgba(239, 59, 45, .36);
  animation: urgentToastPulse 1s ease-in-out infinite alternate;
}

.notify-toast strong,
.notify-toast span {
  display: block;
}

.notify-toast span {
  font-size: .9rem;
  opacity: .92;
}

.manager-sound-controls {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: min(520px, calc(100vw - 32px));
  padding: 10px;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 42px rgba(89, 27, 30, .16);
}

.manager-sound-controls span {
  color: var(--pj-ink);
  font-size: .82rem;
  font-weight: 800;
}

.manager-sound-controls button {
  border: 0;
  border-radius: 9px;
  padding: 8px 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--pj-orange), var(--pj-red));
  font-size: .78rem;
  font-weight: 900;
}

.manager-sound-controls [data-manager-stop-sound] {
  background: #111827;
}

.manager-sound-controls.is-ringing {
  border-color: rgba(239, 35, 60, .28);
  box-shadow: 0 20px 52px rgba(239, 35, 60, .22);
}

@media (max-width: 575.98px) {
  .manager-sound-controls {
    left: 12px;
    right: 12px;
    bottom: 78px;
    justify-content: space-between;
  }
}

.order-card-chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.payment-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, .08);
  color: var(--pj-ink);
  background: #fff;
  box-shadow: 0 10px 24px rgba(89, 27, 30, .08);
  font-size: .78rem;
  line-height: 1;
}

.payment-chip b,
.payment-chip small {
  display: block;
  white-space: nowrap;
}

.payment-chip b {
  font-weight: 950;
  letter-spacing: 0;
}

.payment-chip small {
  color: var(--pj-muted);
  font-weight: 800;
}

.payment-chip.is-cod {
  border-color: rgba(245, 158, 11, .28);
  background: linear-gradient(135deg, #fff8e7, #fff);
}

.payment-chip.is-prepaid {
  border-color: rgba(16, 185, 129, .28);
  background: linear-gradient(135deg, #ecfdf5, #fff);
}

.payment-chip.is-pending {
  border-color: rgba(59, 130, 246, .24);
  background: linear-gradient(135deg, #eff6ff, #fff);
}

.payment-chip.is-refunded {
  border-color: rgba(100, 116, 139, .22);
  background: linear-gradient(135deg, #f8fafc, #fff);
}

.order-history-side {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.customer-orders-page {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 124px;
}

.orders-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 12px 0 20px;
}

.orders-page-head h1 {
  margin: 0;
  color: #121722;
  font-size: clamp(1.7rem, 5vw, 2.45rem);
  font-weight: 950;
}

.orders-filter-wrap {
  position: relative;
  flex: 0 0 auto;
}

.orders-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(22, 24, 29, .10);
  border-radius: 14px;
  color: #151923;
  background: #fff;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(31, 41, 55, .07);
}

.orders-filter-btn i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.orders-filter-icon {
  width: 18px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.orders-filter-icon::before {
  content: "";
  display: block;
  width: 18px;
  margin-top: 4px;
  border-top: 2px solid currentColor;
}

.orders-filter-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 12;
  display: grid;
  min-width: 178px;
  padding: 8px;
  border: 1px solid rgba(22, 24, 29, .10);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(31, 41, 55, .14);
}

.orders-filter-menu[hidden] {
  display: none;
}

.orders-filter-menu button {
  min-height: 40px;
  border: 0;
  border-radius: 11px;
  color: #606674;
  background: transparent;
  font-weight: 850;
  text-align: left;
  padding: 0 12px;
}

.orders-filter-menu button.active,
.orders-filter-menu button:hover {
  color: #ff6a00;
  background: #fff3e8;
}

.orders-status-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  margin-bottom: 22px;
  border: 1px solid rgba(22, 24, 29, .10);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 41, 55, .06);
}

.orders-status-tabs button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 62px;
  border: 0;
  border-right: 1px solid rgba(22, 24, 29, .08);
  color: #70727c;
  background: transparent;
  font-size: .98rem;
  font-weight: 900;
}

.orders-status-tabs button:last-child {
  border-right: 0;
}

.orders-status-tabs button.active {
  color: #ff6a00;
  background: linear-gradient(135deg, #fff6ed, #fff);
}

.orders-status-tabs button.active::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 4px;
  border-radius: 999px 999px 0 0;
  background: #ff7900;
}

.orders-status-tabs small {
  color: inherit;
  font-size: .72rem;
  opacity: .7;
}

.orders-history-list {
  display: grid;
  gap: 20px;
}

.orders-history-card {
  --order-accent: #0f9b58;
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border: 1px solid rgba(22, 24, 29, .09);
  border-left: 3px solid var(--order-accent);
  border-radius: 20px;
  background:
    radial-gradient(circle at top right, rgba(15, 155, 88, .08), transparent 34%),
    #fff;
  box-shadow: 0 14px 34px rgba(31, 41, 55, .08);
}

.orders-history-card.is-cancelled {
  --order-accent: #ff7a1a;
  background:
    radial-gradient(circle at top right, rgba(255, 122, 26, .09), transparent 34%),
    #fff;
}

.orders-history-card.is-returned {
  --order-accent: #3b82f6;
  background:
    radial-gradient(circle at top right, rgba(59, 130, 246, .08), transparent 34%),
    #fff;
}

.orders-history-card.is-active-order {
  --order-accent: #ef3b2d;
}

.orders-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .76fr);
  gap: 22px;
}

.orders-card-left h2 {
  margin: 0 0 14px;
  color: #121722;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 950;
  letter-spacing: .01em;
}

.orders-restaurant-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  color: #20242e;
  background: transparent;
  font-size: 1rem;
  font-weight: 800;
}

.orders-restaurant-toggle i {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.orders-date-line,
.orders-rider strong,
.orders-rider a {
  display: flex;
  align-items: center;
  gap: 10px;
}

.orders-date-line {
  margin-bottom: 16px;
  color: #20242e;
  font-size: 1rem;
  font-weight: 750;
}

.orders-date-line span,
.orders-person-icon,
.orders-phone-icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: #6b7280;
}

.orders-date-line span::before {
  content: "";
  position: absolute;
  inset: 3px 2px 2px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.orders-date-line span::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 7px;
  border-top: 2px solid currentColor;
}

.orders-rider {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

.orders-rider small,
.orders-payment-box small,
.orders-rate-mini small {
  color: #6f7480;
  font-weight: 800;
}

.orders-rider strong {
  color: #20242e;
  font-size: 1rem;
  font-weight: 800;
}

.orders-rider a {
  color: #07894e;
  font-weight: 850;
}

.orders-person-icon::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.orders-person-icon::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 1px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 0 0;
  border-bottom: 0;
}

.orders-phone-icon::before {
  content: "";
  position: absolute;
  inset: 3px 5px 2px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 2px 2px 8px 8px;
  transform: rotate(-35deg);
}

.orders-card-right {
  display: grid;
  align-content: start;
  justify-items: end;
  gap: 18px;
}

.orders-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--order-accent);
  background: color-mix(in srgb, var(--order-accent) 10%, #fff);
  font-weight: 950;
}

.orders-status-pill b {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--order-accent);
  font-size: .95rem;
  line-height: 1;
}

.orders-payment-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  width: min(100%, 330px);
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--order-accent) 24%, #fff);
  border-radius: 16px;
  background: rgba(255, 255, 255, .72);
}

.orders-payment-box > div:last-child {
  text-align: right;
}

.orders-payment-box strong {
  display: block;
  margin-top: 6px;
  color: #121722;
  font-size: 1.1rem;
  font-weight: 950;
}

.orders-payment-box > div:last-child strong {
  color: var(--order-accent);
}

.orders-payment-box.is-prepaid small:last-child {
  display: block;
  margin-top: 4px;
}

.orders-refund-note {
  color: var(--order-accent) !important;
}

.orders-rate-mini {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.orders-stars {
  display: flex;
  gap: 12px;
  color: #ff9a00;
  font-size: 1.55rem;
  line-height: 1;
}

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

.orders-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid color-mix(in srgb, var(--order-accent) 35%, #fff);
  border-radius: 13px;
  color: var(--order-accent);
  background: #fff;
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(31, 41, 55, .05);
}

.orders-action-btn.is-details {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #ffaf2d, #ff4a21);
  box-shadow: 0 12px 24px rgba(255, 101, 25, .22);
}

.orders-history-card.is-returned .orders-action-btn.is-details {
  background: linear-gradient(135deg, #4095ff, #1f68e8);
}

.orders-action-btn span {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.orders-action-btn.is-details span::before {
  content: "";
  position: absolute;
  inset: 1px 3px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.orders-action-btn.is-details span::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 5px;
  width: 5px;
  height: 2px;
  box-shadow: 0 4px 0 currentColor, 0 8px 0 currentColor;
  background: currentColor;
}

.orders-action-btn.is-rate-food span::before,
.orders-action-btn.is-rate-food span::after {
  content: "";
  position: absolute;
  top: 1px;
  bottom: 1px;
  width: 3px;
  border-radius: 999px;
  background: currentColor;
}

.orders-action-btn.is-rate-food span::before {
  left: 5px;
  box-shadow: -4px 0 0 currentColor, 4px 0 0 currentColor;
}

.orders-action-btn.is-rate-food span::after {
  right: 3px;
  width: 4px;
}

.orders-action-btn.is-rate-delivery span::before {
  content: "";
  position: absolute;
  left: 1px;
  right: 2px;
  top: 7px;
  height: 7px;
  border: 2px solid currentColor;
  border-radius: 3px;
}

.orders-action-btn.is-rate-delivery span::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 0;
  height: 5px;
  border-left: 5px dotted currentColor;
  border-right: 5px dotted currentColor;
}

.orders-action-btn.is-track span::before {
  content: "";
  position: absolute;
  inset: 2px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.orders-action-btn.is-track span::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 4px;
  width: 2px;
  height: 8px;
  background: currentColor;
  box-shadow: 4px 6px 0 currentColor;
}

.orders-filter-empty {
  margin: 0;
}

@media (max-width: 720px) {
  .customer-orders-page {
    padding: 4px 14px 112px;
  }

  .orders-page-head {
    margin: 8px 0 16px;
  }

  .orders-page-head h1 {
    font-size: 1.65rem;
  }

  .orders-filter-btn {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 13px;
    font-size: .9rem;
  }

  .orders-status-tabs {
    grid-template-columns: repeat(4, minmax(106px, 1fr));
    overflow-x: auto;
    margin-bottom: 18px;
    border-radius: 16px;
    scrollbar-width: none;
  }

  .orders-status-tabs::-webkit-scrollbar {
    display: none;
  }

  .orders-status-tabs button {
    min-height: 56px;
    font-size: .82rem;
  }

  .orders-status-tabs button.active::after {
    left: 14px;
    right: 14px;
    height: 3px;
  }

  .orders-history-list {
    gap: 16px;
  }

  .orders-history-card {
    padding: 18px;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(31, 41, 55, .07);
  }

  .orders-card-main {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .orders-card-left h2 {
    margin-bottom: 10px;
    font-size: 1.22rem;
  }

  .orders-restaurant-toggle,
  .orders-date-line,
  .orders-rider strong,
  .orders-rider a {
    font-size: .94rem;
  }

  .orders-date-line {
    margin-bottom: 14px;
  }

  .orders-card-right {
    justify-items: stretch;
    gap: 12px;
  }

  .orders-status-pill {
    justify-self: end;
    min-height: 38px;
    padding: 0 14px;
    font-size: .9rem;
  }

  .orders-status-pill b {
    width: 24px;
    height: 24px;
  }

  .orders-payment-box {
    width: 100%;
    padding: 14px 16px;
  }

  .orders-payment-box strong {
    font-size: 1rem;
  }

  .orders-rate-mini {
    justify-items: end;
  }

  .orders-stars {
    gap: 9px;
    font-size: 1.38rem;
  }

  .orders-card-actions {
    gap: 10px;
    margin-top: 18px;
  }

  .orders-action-btn {
    min-height: 48px;
    min-width: 0;
    padding: 0 5px;
    border-radius: 12px;
    font-size: .74rem;
    gap: 5px;
    white-space: nowrap;
  }

  .orders-action-btn span {
    width: 14px;
    height: 14px;
    flex-basis: 14px;
  }

  .orders-action-btn.is-rate-delivery {
    font-size: .68rem;
    gap: 3px;
  }
}

@media (max-width: 360px) {
  .orders-card-actions {
    grid-template-columns: 1fr;
  }

  .orders-rate-mini {
    justify-items: start;
  }
}

.cod-qr-page,
.cod-pay-page {
  width: min(760px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid rgba(239, 59, 45, .10);
  border-radius: 18px;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 116, 24, .16), transparent 28%),
    linear-gradient(180deg, #fff, #fff8f5);
  box-shadow: 0 26px 70px rgba(89, 27, 30, .14);
}

.cod-qr-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.cod-qr-head span {
  display: block;
  color: var(--pj-red);
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.cod-qr-head h1 {
  margin: 4px 0 0;
  font-size: clamp(1.7rem, 7vw, 2.8rem);
  font-weight: 950;
  letter-spacing: 0;
}

.cod-qr-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 22px;
  align-items: stretch;
}

.cod-qr-box,
.cod-qr-details,
.cod-pay-amount {
  border: 1px solid rgba(239, 59, 45, .10);
  border-radius: 16px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 18px 42px rgba(89, 27, 30, .08);
}

.cod-qr-box {
  display: grid;
  place-items: center;
  gap: 12px;
  padding: 18px;
}

.cod-qr-box img {
  width: min(100%, 300px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}

.cod-qr-box small,
.cod-qr-details p,
.cod-pay-page p {
  color: var(--pj-muted);
  font-weight: 700;
}

.cod-qr-details {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 20px;
}

.cod-qr-details h2,
.cod-pay-amount strong {
  margin: 0;
  color: var(--pj-ink);
  font-size: clamp(2rem, 8vw, 3.2rem);
  font-weight: 950;
}

.cod-pay-amount {
  display: grid;
  gap: 4px;
  margin-bottom: 18px;
  padding: 18px;
}

.cod-pay-amount small {
  color: var(--pj-red);
  font-weight: 950;
  text-transform: uppercase;
}

@keyframes urgentToastPulse {
  from { transform: translateY(0) scale(1); }
  to { transform: translateY(-3px) scale(1.015); }
}

.customer-eta-popup {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 1040;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(720px, calc(100vw - 28px));
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 24px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .20), transparent 24%),
    linear-gradient(135deg, #ef3b2d, #ff7418);
  box-shadow: 0 24px 60px rgba(89, 27, 30, .28);
  transform: translate(-50%, 24px) scale(.98);
  opacity: 0;
  pointer-events: none;
  animation: customerEtaIn .42s ease forwards;
}

.customer-eta-popup.is-visible {
  pointer-events: auto;
}

.customer-eta-close {
  position: absolute;
  top: -10px;
  right: -8px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  color: #ef3b2d;
  background: #fff;
  box-shadow: 0 10px 24px rgba(89, 27, 30, .24);
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

.customer-eta-close:active {
  transform: scale(.94);
}

@keyframes customerEtaIn {
  to {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
}

.app-instructor-help {
  position: fixed;
  right: 18px;
  bottom: 164px;
  z-index: 1038;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: #20242d;
  box-shadow: 0 16px 34px rgba(23, 25, 33, .24);
  font-size: 1.05rem;
  font-weight: 950;
}

.app-instructor[hidden] {
  display: none;
}

.app-instructor {
  position: fixed;
  inset: 0;
  z-index: 1085;
  pointer-events: none;
}

.app-instructor-shade {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: auto;
}

.app-instructor-spotlight {
  position: fixed;
  border: 2px solid #fff;
  border-radius: 18px;
  box-shadow: 0 0 0 9999px rgba(13, 16, 22, .68), 0 0 0 8px rgba(255, 209, 74, .30);
  pointer-events: none;
  transition: all .22s ease;
}

.app-instructor:not(.has-target) .app-instructor-spotlight {
  display: none;
}

.app-instructor.has-target .app-instructor-spotlight::after {
  content: attr(data-tap);
  position: absolute;
  left: 50%;
  top: -42px;
  transform: translateX(-50%);
  min-width: max-content;
  padding: 7px 12px;
  border-radius: 999px;
  color: #111216;
  background: #ffd24a;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .20);
  font-size: .8rem;
  font-weight: 950;
  animation: instructorTapPulse .8s ease-in-out infinite alternate;
}

.app-instructor-card {
  position: fixed;
  z-index: 2;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, .68);
  border-radius: 18px;
  color: #20242d;
  background: #fff;
  box-shadow: 0 26px 70px rgba(0, 0, 0, .28);
  pointer-events: auto;
}

.app-instructor-card > span {
  color: #ef3b2d;
  font-size: .75rem;
  font-weight: 950;
  text-transform: uppercase;
}

.app-instructor-card h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 950;
}

.app-instructor-card p {
  margin: 0;
  color: #636a76;
  font-size: .94rem;
  font-weight: 700;
  line-height: 1.45;
}

.app-instructor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 4px;
}

.app-instructor-actions button {
  min-width: 82px;
  padding: 9px 13px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
}

.app-instructor-actions button:first-child {
  color: #636a76;
  background: #f0f2f6;
}

.app-instructor-actions button:last-child {
  color: #fff;
  background: #ef3b2d;
}

.app-instructor-target {
  position: relative;
  z-index: 1086;
  isolation: isolate;
}

@keyframes instructorTapPulse {
  from { transform: translateX(-50%) translateY(0); }
  to { transform: translateX(-50%) translateY(-4px); }
}

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

.customer-eta-icon {
  display: grid;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  color: #ef3b2d;
  background: #fff;
  box-shadow: inset 0 -4px 10px rgba(239, 59, 45, .14);
  font-size: .78rem;
  font-weight: 950;
}

.customer-eta-main div {
  min-width: 0;
}

.customer-eta-main small,
.customer-eta-side small,
.customer-eta-main span {
  display: block;
  line-height: 1.25;
}

.customer-eta-main small,
.customer-eta-side small {
  font-size: .7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: .82;
}

.customer-eta-main strong {
  display: block;
  max-width: 100%;
  overflow: hidden;
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customer-eta-main span {
  font-size: .86rem;
  font-weight: 750;
  opacity: .9;
}

.customer-eta-delay {
  margin-top: 3px;
  padding: 3px 8px;
  width: fit-content;
  border-radius: 999px;
  color: #5c2408;
  background: rgba(255, 255, 255, .86);
  opacity: 1 !important;
}

.customer-eta-side {
  display: grid;
  flex: 0 0 auto;
  justify-items: end;
  gap: 4px;
}

.customer-eta-side strong {
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
}

.customer-eta-side a {
  padding: 6px 14px;
  border-radius: 999px;
  color: var(--pj-red);
  background: #fff;
  font-size: .82rem;
  font-weight: 950;
  text-decoration: none;
}

.tracking-shell {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.tracking-page {
  overflow-x: hidden;
}

.tracking-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff, #fff3ef);
  border: 1px solid rgba(239, 59, 45, .12);
  box-shadow: 0 18px 44px rgba(89, 27, 30, .08);
}

.tracking-head h1 {
  margin: 8px 0 2px;
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
}

.tracking-head p,
.tracking-panel p {
  margin: 0;
}

.tracking-eta {
  min-width: 104px;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--pj-red), var(--pj-orange));
}

.tracking-eta small,
.tracking-panel small {
  display: block;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: .68rem;
  opacity: .72;
}

.tracking-eta strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.tracking-eta span {
  display: block;
  margin-top: 8px;
  padding: 5px 8px;
  border-radius: 999px;
  color: #5c2408;
  background: rgba(255, 255, 255, .88);
  font-size: .72rem;
  font-weight: 900;
}

.tracking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.tracking-map-card,
.tracking-panel {
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(89, 27, 30, .08);
  box-shadow: 0 18px 44px rgba(89, 27, 30, .08);
}

.tracking-map-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.tracking-legend {
  position: absolute;
  z-index: 500;
  top: 12px;
  left: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 32px rgba(89, 27, 30, .14);
}

.tracking-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  font-weight: 800;
  color: #251412;
}

.tracking-legend b {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.legend-rider { background: #11854f; }
.legend-pickup { background: var(--pj-red); }
.legend-drop { background: #212529; }

.delivery-track-map {
  min-height: 540px;
  height: 68vh;
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(90deg, rgba(239, 59, 45, .08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(239, 59, 45, .08) 1px, transparent 1px),
    linear-gradient(135deg, #fff7f3, #f3fff9);
  background-size: 36px 36px, 36px 36px, auto;
}

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

.tracking-page .leaflet-container {
  width: 100% !important;
  max-width: 100%;
  height: 100% !important;
  overflow: hidden;
}

.tracking-page .leaflet-control-container {
  max-width: 100%;
}

.delivery-track-map.is-tiles-ready .map-fallback {
  display: none;
}

.map-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 28px;
  z-index: 2;
}

.map-fallback-route {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(560px, 86%);
  margin-bottom: 26px;
}

.fallback-marker {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  border: 4px solid #fff;
  box-shadow: 0 18px 34px rgba(89, 27, 30, .2);
}

.fallback-marker svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fallback-marker.pickup { background: var(--pj-red); }
.fallback-marker.rider {
  width: 70px;
  height: 70px;
  background: #11854f;
}

.fallback-marker.rider svg {
  width: 42px;
  height: 42px;
}

.fallback-marker.drop { background: #212529; }

.fallback-line {
  flex: 1;
  max-width: 180px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--pj-orange) 0 18px, transparent 18px 28px);
}

.map-fallback-copy {
  max-width: 420px;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 18px 44px rgba(89, 27, 30, .12);
}

.map-fallback-copy strong,
.map-fallback-copy span,
.map-fallback-copy small {
  display: block;
}

.map-fallback-copy strong {
  color: #251412;
  font-size: 1.2rem;
}

.map-fallback-copy span {
  margin-top: 4px;
  color: var(--pj-red);
  font-weight: 900;
}

.map-fallback-copy small {
  margin-top: 4px;
  color: #6d5a56;
}

.tracking-panel {
  display: grid;
  gap: 12px;
  padding: 16px;
  min-width: 0;
}

.tracking-panel > div {
  padding: 12px;
  border-radius: 8px;
  background: #fff8f5;
  min-width: 0;
}

.tracking-panel strong {
  display: block;
  color: #251412;
  overflow-wrap: anywhere;
}

.tracking-panel span {
  display: block;
  color: #6d5a56;
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.tracking-panel a {
  margin-top: 10px;
}

.track-pin {
  border-radius: 999px;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(89, 27, 30, .22);
}

.track-pin span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  font-size: .78rem;
  font-weight: 900;
}

.track-pin svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.track-pin-rider svg {
  width: 27px;
  height: 27px;
}

.track-pin-rider span {
  background: #11854f;
}

.track-pin-pickup span {
  background: var(--pj-red);
}

.track-pin-drop span {
  background: #212529;
}

.delivery-tracker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border-radius: 8px;
  background: #fff7f3;
  border: 1px solid rgba(239, 59, 45, .12);
}

.delivery-tracker small {
  flex-basis: 100%;
  color: #6d5a56;
}

.delivery-delay-form {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(239, 59, 45, .12);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, #fff6f3);
}

.delivery-delay-form label {
  display: grid;
  gap: 4px;
  margin: 0;
}

.delivery-delay-form label span,
.delivery-delay-note {
  color: var(--pj-muted);
  font-size: .76rem;
  font-weight: 850;
}

.delivery-delay-note {
  grid-column: 1 / -1;
  display: block;
  padding: 6px 9px;
  border-radius: 10px;
  color: var(--pj-red);
  background: #fff0f1;
}

.delivery-job {
  align-items: stretch;
}

.delivery-job .management-main {
  display: grid;
  gap: 10px;
}

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

.delivery-route-stop {
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(239, 59, 45, .10);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #fff8f6);
}

.delivery-route-stop span {
  display: inline-flex;
  margin-bottom: 5px;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--pj-red);
  background: #fff0f1;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.delivery-route-stop strong,
.delivery-route-stop small {
  display: block;
}

.delivery-route-stop strong {
  color: var(--pj-ink);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.delivery-route-stop small {
  margin: 2px 0 6px;
  color: #6f6264;
  font-weight: 750;
}

.delivery-route-stop p {
  margin: 0;
  color: var(--pj-muted);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.delivery-status-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: -6px 0 24px;
  padding: 18px;
  border: 1px solid rgba(239, 59, 45, .10);
  background:
    radial-gradient(circle at top right, rgba(255, 112, 24, .12), transparent 30%),
    #fff;
}

.delivery-status-card h2 {
  margin: 8px 0 4px;
  font-size: 1.1rem;
  font-weight: 950;
}

.delivery-status-card p,
.delivery-status-card small {
  display: block;
  margin: 0;
  color: var(--pj-muted);
}

.delivery-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 950;
}

.delivery-status-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: currentColor;
}

.delivery-status-pill.is-online {
  color: #0f9f5f;
  background: #eafff4;
}

.delivery-status-pill.is-offline {
  color: #ef3b2d;
  background: #fff0f1;
}

.payout-account-form {
  align-items: end;
}

.withdrawal-claim-form {
  display: grid;
  gap: 9px;
  width: min(100%, 520px);
}

.withdrawal-claim-form .form-label {
  margin: 0;
  color: var(--pj-ink);
  font-size: .86rem;
  font-weight: 850;
}

.withdrawal-claim-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.withdrawal-history {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}

.withdrawal-history small {
  display: block;
  color: var(--pj-muted);
}

.withdrawal-card {
  align-items: stretch;
  border-color: rgba(15, 159, 95, .14);
}

.withdrawal-card .management-main {
  display: grid;
  align-content: start;
  gap: 6px;
  flex-basis: 260px;
}

.withdrawal-card .management-main h2 {
  max-width: 12ch;
  margin: 2px 0;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.08;
}

.withdrawal-card .management-main p,
.withdrawal-card .management-main small {
  max-width: 32ch;
  margin: 0;
}

.withdrawal-card .management-actions {
  flex: 1 1 420px;
  align-content: center;
  min-width: min(100%, 280px);
}

.kyc-card {
  border-color: rgba(255, 138, 31, .18);
  background:
    radial-gradient(circle at top right, rgba(255, 138, 31, .08), transparent 34%),
    #fff;
}

@media (max-width: 576px) {
  .hero { min-height: 68vh; }
  .hero h1 { font-size: 2.3rem; }
  .food-card img, .restaurant-card img { height: 140px; }

  .restaurant-panel-page .panel-heading {
    padding: 18px;
  }

  .restaurant-panel-hero-media,
  .restaurant-panel-hero-media img {
    min-height: 165px;
  }

  .restaurant-panel-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

  .restaurant-panel-hero-actions {
    grid-template-columns: 1fr;
  }

  .restaurant-panel-page > .stats-grid:first-of-type {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .restaurant-panel-page > .stats-grid:first-of-type .stat-card {
    padding: 16px 12px;
  }

  .restaurant-panel-page > .stats-grid:first-of-type .stat-card strong {
    font-size: 1.25rem;
  }
}

@media (max-width: 1100px) {
  .restaurant-grid, .stats-grid, .location-list, .zomato-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-circles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .app-shell {
    display: block;
  }

  .app-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 286px;
    transform: translateX(-105%);
    transition: transform .22s ease;
  }

  .sidebar-open .app-sidebar {
    transform: translateX(0);
  }

  .menu-toggle {
    display: inline-block;
  }

  .app-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 12px;
    gap: 8px;
  }

  .top-location-menu {
    grid-column: 2 / 3;
  }

  .top-location {
    padding: 7px 8px;
  }

  .location-pin {
    width: 17px;
    height: 17px;
  }

  .location-pin::after {
    left: 5px;
    top: 5px;
    width: 7px;
    height: 7px;
  }

  .top-location small {
    font-size: .58rem;
  }

  .top-location strong {
    max-width: 118px;
    font-size: .72rem;
  }

  .top-actions {
    grid-column: 3 / 4;
    grid-row: 1;
    align-self: center;
  }

  .cart-label {
    display: none;
  }

  .top-actions {
    gap: 7px;
  }

  .veg-mode-switch strong {
    display: block;
    font-size: .62rem;
  }

  .location-strip {
    grid-template-columns: 1fr;
    margin: 12px;
  }

  .compact-location {
    justify-content: stretch;
    margin: 8px 12px 0;
  }

  .location-form {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .location-form select {
    min-width: 0;
    width: 100%;
  }

  .app-hero, .restaurant-hero {
    margin: 12px;
    padding: 24px;
  }

  .content-pad,
  .mobile-home {
    padding: 16px 12px;
  }

  .restaurant-grid, .stats-grid, .location-list, .zomato-grid {
    grid-template-columns: 1fr;
  }

  .category-circles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .category-circles img {
    width: 70px;
    height: 70px;
  }

  .offer-banner {
    display: block;
    padding: 22px;
  }

  .offer-banner strong {
    width: 86px;
    height: 86px;
    margin-top: 16px;
    font-size: 1rem;
  }

  .product-strip {
    grid-auto-columns: minmax(210px, 78vw);
  }

  .mobile-location-card {
    align-items: flex-start;
  }

  .management-card {
    align-items: stretch;
  }

  .admin-section-bar,
  .order-date-filter,
  .admin-search-form,
  .manager-request-form {
    display: grid;
    grid-template-columns: 1fr;
  }

  .menu-import-uploader,
  .menu-import-row,
  .bulk-product-review-row {
    grid-template-columns: 1fr;
  }

  .menu-import-description,
  .bulk-product-review-row .menu-import-description,
  .menu-import-uploader textarea,
  .menu-import-uploader .menu-import-actions {
    grid-column: auto;
  }

  .menu-import-enable {
    display: flex;
    justify-content: space-between;
    min-height: auto;
  }

  .manager-request-submit {
    width: 100%;
  }

  .admin-pagination {
    justify-content: center;
  }

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

  .address-map-search {
    grid-template-columns: 1fr;
  }

  .address-map {
    height: 240px;
  }

  .address-map-meta {
    display: block;
  }

  .address-map-meta small {
    display: block;
    margin-top: 4px;
  }

  .management-card > img {
    flex-basis: 100%;
    width: 100%;
    height: 160px;
  }

  .restaurant-banner-card .restaurant-banner-preview {
    flex-basis: 100%;
    width: 100%;
    height: 180px;
  }

  .banner-upload-form {
    width: 100%;
  }

  .management-main {
    flex-basis: 100%;
  }

  .management-actions {
    flex-basis: 100%;
    min-width: 0;
  }

  .delivery-route-grid {
    grid-template-columns: 1fr;
  }

  .withdrawal-card .management-main,
  .withdrawal-card .management-main h2,
  .withdrawal-card .management-main p,
  .withdrawal-card .management-main small {
    max-width: none;
  }

  .withdrawal-claim-form {
    width: 100%;
  }

  .withdrawal-claim-row {
    grid-template-columns: 1fr;
  }

  .delivery-status-card {
    display: grid;
  }

  .delivery-status-card .btn {
    width: 100%;
  }

  .tracking-head,
  .tracking-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .tracking-head {
    display: grid;
    align-items: stretch;
  }

  .tracking-eta {
    width: 100%;
  }

  .tracking-page {
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 150px;
  }

  .tracking-shell {
    gap: 12px;
  }

  .tracking-map-card,
  .tracking-panel {
    width: 100%;
    max-width: 100%;
  }

  .tracking-legend {
    top: 8px;
    left: 8px;
    right: 8px;
    width: auto;
    gap: 6px;
    padding: 7px;
  }

  .tracking-legend span {
    font-size: .68rem;
  }

  .delivery-track-map {
    height: min(58vh, 430px);
    min-height: 320px;
    max-height: 430px;
  }
}

/* App-style shell refresh */
body {
  background: #f3f4f8;
}

.app-shell,
.app-shell.app-mobile-shell {
  display: block;
  max-width: 760px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(22, 24, 35, .04), 0 22px 70px rgba(22, 24, 35, .10);
}

.app-sidebar {
  display: none !important;
}

.app-main {
  min-height: 100vh;
  padding-bottom: 104px;
}

.app-topbar.app-home-header {
  position: sticky;
  top: 0;
  z-index: 70;
  display: block;
  padding: 18px 20px 16px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(245, 198, 94, .96) 0%, rgba(255, 241, 181, .96) 72%, rgba(255, 255, 255, .98) 100%),
    url('https://images.unsplash.com/photo-1514516870926-205989ec7a33?auto=format&fit=crop&w=1200&q=80') center/cover;
  backdrop-filter: blur(18px);
}

.app-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.app-location-menu {
  flex: 1;
  min-width: 0;
}

.top-location.app-location-summary {
  min-width: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-location-summary .location-pin {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  background: #20242d;
}

.app-location-summary .location-pin::after {
  left: 5px;
  top: 5px;
  width: 8px;
  height: 8px;
}

.app-location-summary strong {
  display: inline-flex;
  align-items: center;
  max-width: min(220px, 40vw);
  color: #20242d;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.1;
  text-transform: none;
}

.app-location-summary small {
  display: block;
  max-width: min(300px, 46vw);
  margin-top: 3px;
  overflow: hidden;
  color: #2b2f3a;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}

.location-chevron {
  width: 8px;
  height: 8px;
  margin: 10px 0 0 3px;
  border-right: 2px solid #20242d;
  border-bottom: 2px solid #20242d;
  transform: rotate(45deg);
}

.location-popover {
  top: calc(100% + 12px);
  width: min(390px, 92vw);
  border-radius: 8px;
  border-color: rgba(31, 41, 55, .08);
}

.app-action-pills {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
}

.gold-pill,
.round-action,
.profile-bubble {
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(31, 41, 55, .14);
}

.gold-pill {
  min-width: 70px;
  height: 40px;
  padding: 5px 11px;
  border: 1px solid rgba(145, 95, 15, .22);
  border-radius: 999px;
  color: #8a5a09;
  background: #fffdf2;
  line-height: 1;
}

.gold-pill strong,
.gold-pill span {
  display: block;
}

.gold-pill strong {
  font-size: .78rem;
  font-weight: 950;
  letter-spacing: .02em;
}

.gold-pill span {
  margin-top: 2px;
  font-size: .78rem;
  font-weight: 800;
}

.round-action,
.profile-bubble {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .86);
}

.profile-bubble {
  color: #2d6cdf;
  background: #dbe9ff;
  font-size: 1.1rem;
  font-weight: 950;
}

.action-icon {
  display: block;
  width: 21px;
  height: 21px;
  color: #4f5564;
}

.ticket-action span {
  position: relative;
  width: 19px;
  height: 24px;
  border: 2px solid #4f5564;
  border-radius: 5px;
  transform: rotate(-14deg);
}

.ticket-action span::before,
.ticket-action span::after {
  content: "";
  position: absolute;
  background: #4f5564;
}

.ticket-action span::before {
  width: 10px;
  height: 2px;
  margin: 7px 0 0 4px;
}

.ticket-action span::after {
  width: 8px;
  height: 2px;
  margin: 13px 0 0 5px;
}

.round-action b {
  position: absolute;
  right: -4px;
  top: -4px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--pj-red);
  font-size: .68rem;
  font-weight: 950;
}

.ai-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
}

.ai-search {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 46px;
  align-items: center;
  min-height: 58px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 244, .94);
  box-shadow: 0 12px 26px rgba(76, 55, 13, .10);
}

.ai-search-icon {
  position: relative;
  width: 21px;
  height: 21px;
  border: 4px solid #252936;
  border-radius: 50%;
}

.ai-search-icon::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: -6px;
  width: 10px;
  height: 4px;
  border-radius: 999px;
  background: #252936;
  transform: rotate(45deg);
}

.ai-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: #222734;
  background: transparent;
  font-size: 1rem;
  font-weight: 650;
}

.ai-search input::placeholder {
  color: #8b8b8b;
  opacity: 1;
}

.mic-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-left: 1px solid rgba(31, 41, 55, .13);
  border-radius: 0 999px 999px 0;
  background: transparent;
}

.mic-btn span {
  position: relative;
  width: 13px;
  height: 20px;
  border: 3px solid #252936;
  border-radius: 999px;
}

.mic-btn span::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 8px;
  width: 21px;
  height: 14px;
  border: 3px solid #252936;
  border-top: 0;
  border-radius: 0 0 14px 14px;
}

.mic-btn span::after {
  content: "";
  position: absolute;
  left: 3px;
  bottom: -11px;
  width: 3px;
  height: 9px;
  border-radius: 999px;
  background: #252936;
}

.mic-btn.listening {
  background: #fff0f1;
}

.app-veg-switch {
  align-self: center;
  width: 54px;
}

.app-veg-switch strong {
  color: #20242d;
  font-size: .62rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.app-veg-switch .veg-mode-track {
  width: 46px;
  height: 27px;
}

.app-veg-switch .veg-mode-knob {
  width: 19px;
  height: 19px;
}

.app-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 85;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  width: min(520px, calc(100vw - 32px));
  padding: 7px;
  border: 1px solid rgba(31, 41, 55, .08);
  border-radius: 999px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 18px 40px rgba(31, 41, 55, .18);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
}

.install-app-chip {
  position: fixed;
  left: 50%;
  bottom: 92px;
  z-index: 84;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pj-red), var(--pj-orange));
  box-shadow: 0 14px 30px rgba(226, 55, 68, .24);
  font-size: .88rem;
  font-weight: 950;
  transform: translateX(-50%);
}

.install-app-chip[hidden] {
  display: none !important;
}

.install-app-chip:active {
  transform: translateX(-50%) scale(.96);
}

.bottom-nav-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  min-width: 0;
  min-height: 56px;
  padding: 7px 6px;
  border-radius: 999px;
  color: #69707d;
  text-decoration: none;
  font-weight: 850;
  transform: translateZ(0);
  transition: color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.bottom-nav-item.active {
  color: var(--pj-red);
  background: #fff0f1;
  box-shadow: inset 0 0 0 1px rgba(226, 55, 68, .05);
  transform: translateY(-1px);
}

.bottom-nav-item small {
  display: block;
  max-width: 76px;
  overflow: hidden;
  font-size: .74rem;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-nav-item b {
  position: absolute;
  right: 10px;
  top: 4px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--pj-red);
  font-size: .62rem;
}

.bottom-icon {
  display: block;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  color: currentColor;
}

.icon-delivery::before {
  content: "";
  position: absolute;
  inset: 6px 2px 5px 4px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.icon-delivery::after {
  content: "";
  position: absolute;
  left: 3px;
  right: 3px;
  bottom: 1px;
  height: 5px;
  border-radius: 999px;
  background: radial-gradient(circle at 3px 2px, currentColor 0 2px, transparent 2px), radial-gradient(circle at calc(100% - 3px) 2px, currentColor 0 2px, transparent 2px);
}

.icon-cart::before,
.icon-history::before,
.icon-profile::before,
.icon-admin::before,
.icon-home::before {
  content: "";
  position: absolute;
  inset: 3px;
  border: 2px solid currentColor;
  border-radius: 6px;
}

.icon-cart::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 1px;
  height: 4px;
  background: radial-gradient(circle at left center, currentColor 0 2px, transparent 2px), radial-gradient(circle at right center, currentColor 0 2px, transparent 2px);
}

.icon-history::before {
  border-radius: 50%;
}

.icon-history::after {
  content: "";
  position: absolute;
  left: 10px;
  top: 6px;
  width: 7px;
  height: 8px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.icon-profile::before {
  inset: 4px 6px 2px;
  border-radius: 999px 999px 7px 7px;
}

.icon-profile::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 8px;
  height: 8px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-admin::before {
  border-radius: 3px;
}

.icon-home::before {
  inset: 8px 4px 3px;
}

.icon-home::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 3px;
  width: 13px;
  height: 13px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}

.mobile-home.app-home-page {
  max-width: none;
  padding: 0 20px 112px;
}

.gold-flash-banner {
  min-height: 320px;
  margin: 8px 0 24px;
  padding: 40px 46px 54px;
  border-radius: 24px;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(90deg, rgba(20, 12, 4, .92) 0%, rgba(53, 28, 8, .72) 43%, rgba(53, 28, 8, .12) 72%),
    var(--banner-image, url('https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1200&q=80')) center/cover;
  box-shadow: 0 18px 34px rgba(28, 18, 10, .16);
}

.gold-flash-banner .hero-banner-copy {
  max-width: 56%;
  margin: 0;
}

.hero-slide-list {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0;
  transform: none;
  transition: opacity .72s ease;
}

.gold-flash-banner .hero-slide {
  position: absolute;
  inset: 0;
  padding: 0;
  border-radius: 0;
  background-color: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero-slide.active {
  opacity: 1;
  transform: none;
}

.gold-flash-banner .gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 11px 24px;
  border-radius: 999px;
  color: #15120d;
  background: linear-gradient(180deg, #ffd756, #f4b72c);
  box-shadow: 0 10px 22px rgba(244, 183, 44, .25);
  font-size: .82rem;
  font-weight: 950;
  letter-spacing: .02em;
}

.gold-flash-banner h2 {
  max-width: 430px;
  margin: 24px 0 12px;
  color: #fff;
  font-size: clamp(2.3rem, 8vw, 4.8rem);
  line-height: .95;
  text-transform: uppercase;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .18);
}

.gold-flash-banner p {
  max-width: 420px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, .92);
  font-size: 1.05rem;
  font-weight: 700;
}

.gold-flash-banner a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  color: #15171e;
  background: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 950;
  box-shadow: 0 14px 26px rgba(0, 0, 0, .16);
}

.gold-crown {
  position: relative;
  width: 17px;
  height: 13px;
  border-bottom: 3px solid currentColor;
}

.gold-crown::before {
  content: "";
  position: absolute;
  inset: 1px 0 auto;
  height: 12px;
  background: currentColor;
  clip-path: polygon(0 35%, 22% 72%, 42% 20%, 58% 72%, 82% 35%, 100% 78%, 0 78%);
}

.hero-cta-arrow {
  width: 16px;
  height: 16px;
  border-top: 3px solid #ff5b31;
  border-right: 3px solid #ff5b31;
  transform: rotate(45deg);
}

.hero-side-arrow {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 2;
  width: 48px;
  height: 92px;
  border: 0;
  border-radius: 999px 0 0 999px;
  background: rgba(24, 23, 20, .42);
  transform: translateY(-50%);
}

.hero-side-arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 14px;
  width: 18px;
  height: 18px;
  border-top: 5px solid #fff;
  border-right: 5px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  display: flex;
  gap: 11px;
  transform: translateX(-50%);
}

.hero-dots button,
.hero-dots span {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .42);
}

.hero-dots button.active,
.hero-dots span.active {
  background: #fff;
}

.gold-flash-banner > strong {
  display: none;
}

.banner-settings-card .gold-flash-banner {
  min-height: 220px;
  margin: 14px 0 18px;
  border-radius: 18px;
}

.banner-settings-card .form-control-color {
  min-height: 46px;
  padding: 5px;
}

.category-circles.app-category-tabs {
  display: flex;
  grid-template-columns: none;
  gap: 12px;
  align-items: stretch;
  overflow-x: auto;
  margin: 0 -20px;
  padding: 10px 20px 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.category-circles.app-category-tabs.home-top-rail {
  position: relative;
  margin-top: 6px;
  padding-top: 14px;
}

.category-circles.app-category-tabs::-webkit-scrollbar,
.app-filter-chips::-webkit-scrollbar,
.app-product-strip::-webkit-scrollbar {
  display: none;
}

.app-category-tabs a {
  flex: 0 0 104px;
  min-width: 104px;
  padding: 0;
  scroll-snap-align: start;
}

.app-category-tabs .offer-tab {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: start;
  align-content: center;
  flex-basis: 190px;
  width: 190px;
  min-width: 190px;
  height: 118px;
  padding: 16px 18px;
  border: 0;
  border-radius: 22px;
  color: #fff;
  text-decoration: none;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, .28) 0 22px, transparent 24px),
    linear-gradient(135deg, #fb2944 0%, #ff7a13 100%);
  box-shadow: 0 16px 34px rgba(239, 68, 54, .22);
}

.app-category-tabs .offer-tab::before {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -34px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, .14);
}

.app-category-tabs .offer-tab::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 18px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .2);
  transform: rotate(-14deg);
}

.offer-tab strong,
.offer-tab b,
.offer-tab span {
  display: block;
}

.offer-tab strong {
  position: relative;
  z-index: 1;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .2);
  font-size: .68rem;
  letter-spacing: .04em;
}

.offer-tab b {
  position: relative;
  z-index: 1;
  margin: 7px 0 8px;
  font-size: 1.9rem;
  line-height: 1;
}

.offer-tab span {
  position: relative;
  z-index: 1;
  font-size: .8rem;
  font-weight: 900;
}

.service-promo-card {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  grid-template-rows: auto auto auto;
  column-gap: 10px;
  align-content: center;
  align-items: center;
  flex-basis: 158px;
  min-width: 158px;
  height: 118px;
  padding: 14px;
  border: 1px solid rgba(31, 41, 55, .07);
  border-radius: 22px;
  color: #151923;
  background: rgba(255, 255, 255, .88);
  text-align: left;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(31, 41, 55, .07);
  backdrop-filter: blur(10px);
}

.app-category-tabs .service-promo-card {
  flex: 0 0 158px;
  min-width: 158px;
}

.service-promo-card.fast {
  background: linear-gradient(145deg, #fff, #fff4cc);
}

.service-promo-card.offers {
  background: linear-gradient(145deg, #fff, #e9fce8);
}

.service-promo-card.free {
  background: linear-gradient(145deg, #fff, #e7f2ff);
}

.service-promo-card i {
  grid-row: 1 / span 3;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(31, 41, 55, .05), 0 10px 20px rgba(31, 41, 55, .08);
}

.service-promo-card i::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  margin: 9px;
  background: currentColor;
}

.service-promo-card.fast i {
  color: #dc8a16;
}

.service-promo-card.fast i::before {
  clip-path: polygon(35% 0, 76% 0, 55% 34%, 86% 34%, 28% 100%, 43% 54%, 12% 54%);
}

.service-promo-card.offers i {
  color: #4eb744;
}

.service-promo-card.offers i::before {
  border-radius: 50%;
}

.service-promo-card.free i {
  color: #386aa4;
}

.service-promo-card.free i::before {
  border-radius: 10px;
}

.service-promo-card strong,
.service-promo-card span,
.service-promo-card small {
  display: block;
  line-height: 1.1;
}

.service-promo-card strong,
.service-promo-card span {
  font-size: .9rem;
  font-weight: 950;
}

.service-promo-card small {
  max-width: 94px;
  margin-top: 6px;
  color: #5f6673;
  font-size: .62rem;
  font-weight: 900;
}

.app-category-tabs .category-tab {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  height: 118px;
  border: 1px solid rgba(31, 41, 55, .08);
  border-radius: 22px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(31, 41, 55, .06);
}

.app-category-tabs .category-tab.active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -1px;
  height: 5px;
  border-radius: 999px;
  background: #ef4c63;
}

.app-category-tabs img {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
  object-fit: cover;
}

.app-category-tabs .category-tab span {
  display: block;
  width: 100%;
  max-width: 96px;
  margin-top: 9px;
  overflow: hidden;
  color: #151923;
  font-size: .86rem;
  font-weight: 850;
  line-height: 1.12;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-category-tabs .category-tab.active span {
  color: #1f2430;
}

.app-filter-chips {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  margin: 18px -20px 24px;
  padding: 0 20px 6px;
}

.app-filter-chips a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
  min-height: 62px;
  padding: 0 24px;
  border: 1px solid rgba(31, 41, 55, .10);
  border-radius: 16px;
  color: #171b24;
  background: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(31, 41, 55, .08);
}

.chip-filter-icon {
  width: 18px;
  height: 14px;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.chip-filter-icon::before {
  content: "";
  display: block;
  width: 18px;
  margin-top: 4px;
  border-top: 2px solid currentColor;
}

.chip-bolt {
  width: 11px;
  height: 18px;
  background: #00a86b;
  clip-path: polygon(44% 0, 100% 0, 62% 44%, 100% 44%, 29% 100%, 46% 56%, 0 56%);
}

.chip-new-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #fff;
  background: #ff4858;
  font-size: .55rem;
  font-weight: 950;
}

.chip-star-icon {
  width: 24px;
  height: 24px;
  background: #ffc107;
  clip-path: polygon(50% 0, 62% 34%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 38% 34%);
}

.chip-leaf-icon {
  width: 25px;
  height: 25px;
  border-radius: 100% 0 100% 0;
  background: #48b83f;
  transform: rotate(-18deg);
}

.recommended-title h2,
.restaurant-title h2 {
  color: #6e7281;
  font-size: .92rem;
  font-weight: 850;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.app-product-strip {
  grid-auto-columns: minmax(560px, 680px);
  gap: 16px;
  margin: 0 -20px;
  padding: 0 20px 8px;
}

.product-card,
.zomato-card {
  border: 0;
  border-radius: 8px;
  box-shadow: none;
}

.product-card img {
  height: 134px;
  border-radius: 8px;
}

.product-card div {
  padding: 10px 0 2px;
}

.product-card small {
  color: #6f7684;
}

.product-card h3 {
  overflow: hidden;
  color: #20242d;
  font-size: 1.02rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card footer {
  justify-content: flex-start;
  gap: 12px;
}

.home-product-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 196px) minmax(0, 1fr) minmax(112px, 142px);
  gap: 16px;
  align-items: center;
  overflow: hidden;
  min-height: 206px;
  padding: 16px 18px;
  border: 1px solid rgba(239, 91, 45, .16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 26%, rgba(255, 112, 52, .10) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 82%, rgba(255, 112, 52, .13) 0 3px, transparent 4px),
    linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(255, 250, 244, .97)),
    #fff;
  box-shadow: 0 18px 42px rgba(65, 36, 20, .10);
}

.home-product-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  pointer-events: none;
  background: linear-gradient(96deg, rgba(255, 116, 44, .11), rgba(255, 241, 222, .58), rgba(255, 116, 44, .08));
  opacity: .78;
}

.home-product-card div,
.home-product-card footer {
  padding: 0;
}

.home-product-card .menu-image-wrap,
.home-product-card .menu-item-body,
.home-product-card .menu-item-actions {
  position: relative;
  z-index: 1;
}

.home-product-card .menu-image-wrap {
  width: 100%;
  aspect-ratio: 1.08 / 1;
}

.home-product-card .menu-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.home-product-card .menu-item-body small {
  overflow: hidden;
  color: #6f7684;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-card .menu-item-body h3 {
  overflow: visible;
  margin: 0;
  color: #33221a;
  font-size: clamp(1.24rem, 2vw, 1.72rem);
  font-weight: 950;
  line-height: 1.08;
  text-overflow: clip;
  white-space: normal;
}

.home-product-card .menu-item-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #767985;
  font-size: .98rem;
  line-height: 1.38;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-product-card .menu-item-actions {
  gap: 12px;
}

.home-product-card .menu-item-actions > strong {
  color: #f05a2a;
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.home-product-card .menu-item-actions .btn-pj {
  min-width: 110px;
  min-height: 48px;
  padding: 11px 17px;
  border-radius: 16px;
  text-decoration: none;
}

.app-restaurant-feed {
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: 20px 16px;
}

.zomato-image img {
  height: 148px;
  border-radius: 8px;
}

.zomato-image span {
  left: 8px;
  bottom: 8px;
  border-radius: 6px;
  background: rgba(32, 36, 45, .86);
}

.zomato-body {
  padding: 10px 0 0;
}

.zomato-body div {
  align-items: flex-start;
}

.zomato-body h3 {
  overflow: hidden;
  color: #20242d;
  font-size: 1.04rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zomato-body b {
  border-radius: 999px;
  font-size: .78rem;
}

.zomato-body p {
  min-height: 0;
  margin: 5px 0 8px;
  overflow: hidden;
  color: #667085;
  font-size: .82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zomato-body footer {
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
}

.zomato-body footer span {
  color: #6f7684;
  font-size: .82rem;
}

.profile-app-page {
  max-width: none;
  padding: 18px 20px 112px;
  background: #f3f4f9;
}

.profile-back {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #1f2430;
  background: #fff;
  box-shadow: 0 8px 22px rgba(31, 41, 55, .08);
}

.profile-back span {
  width: 15px;
  height: 15px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

.profile-hero-card,
.profile-mini-card,
.profile-update-row,
.profile-option-card {
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(31, 41, 55, .06);
}

.profile-hero-card {
  overflow: hidden;
}

.profile-person {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 28px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  color: #2d6cdf;
  background: #d8e5ff;
  font-size: 2.1rem;
  font-weight: 950;
}

.profile-person h1 {
  margin: 0 0 8px;
  color: #191d27;
  font-size: clamp(1.9rem, 6vw, 2.6rem);
  font-weight: 950;
}

.profile-person a {
  color: #303644;
  text-decoration: none;
  font-weight: 850;
}

.profile-gold-band {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 0 22px;
  color: #f4d9a0;
  background: #151519;
  text-decoration: none;
}

.gold-medal {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: radial-gradient(circle, #f6d37e 0 34%, #8a641f 36% 100%);
}

.profile-gold-band strong {
  flex: 1;
  font-size: 1.14rem;
  font-weight: 950;
}

.profile-gold-band i,
.profile-update-row i,
.profile-list-row i {
  width: 13px;
  height: 13px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}

.profile-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0 18px;
}

.profile-mini-card {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  min-height: 88px;
  padding: 16px;
  color: #222734;
  text-decoration: none;
}

.profile-mini-card span,
.profile-update-row span,
.profile-list-row > span:first-child {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f9;
  color: #7b8190;
}

.profile-icon {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.9), 0 8px 18px rgba(31, 41, 55, .08);
}

.profile-icon-svg {
  width: 20px;
  height: 20px;
}

.profile-icon-wallet {
  color: #0f9f62 !important;
  background: linear-gradient(145deg, #ecfdf3, #d9fbe8) !important;
}

.profile-icon-orders {
  color: #ef4c63 !important;
  background: linear-gradient(145deg, #fff0f3, #ffe3e9) !important;
}

.profile-icon-veg {
  color: #11a35d !important;
  background: linear-gradient(145deg, #f1fff7, #dcfce9) !important;
}

.profile-icon-address {
  color: #2d6cdf !important;
  background: linear-gradient(145deg, #eef5ff, #dae9ff) !important;
}

.profile-icon-logout {
  color: #d62f42 !important;
  background: linear-gradient(145deg, #fff0f1, #ffe2e5) !important;
}

.profile-mini-card strong {
  display: block;
  font-weight: 900;
}

.profile-mini-card em,
.profile-update-row em,
.profile-list-row em {
  color: #0f9f62;
  font-style: normal;
  font-weight: 900;
}

.profile-update-row {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  margin-bottom: 28px;
  padding: 18px;
  color: #222734;
  text-decoration: none;
}

button.profile-update-row {
  width: 100%;
  border: 0;
  text-align: left;
}

.install-profile-row {
  margin-top: -12px;
  color: #116b35;
}

.profile-update-row strong {
  font-size: 1.15rem;
  font-weight: 900;
}

.profile-update-row em {
  padding: 5px 12px;
  border-radius: 999px;
  color: #e85870;
  background: #fff1f4;
}

.install-profile-row em {
  color: #0f9f62;
  background: #ecfdf3;
}

.profile-option-card {
  position: relative;
  margin: 0 0 28px;
  overflow: hidden;
}

.profile-option-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 4px;
  height: 32px;
  border-radius: 999px;
  background: #ef4c63;
}

.profile-option-card h2 {
  margin: 0;
  padding: 28px 26px 18px;
  color: #222734;
  font-size: 1.45rem;
  font-weight: 950;
}

.profile-list-row {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto 14px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 76px;
  padding: 0 26px;
  border: 0;
  border-top: 1px solid #eceef4;
  color: #293040;
  background: #fff;
  text-align: left;
  text-decoration: none;
}

.profile-list-row strong {
  font-size: 1.08rem;
  font-weight: 850;
}

.profile-list-row em {
  color: #777e8e;
}

.profile-list-row.logout-row {
  color: #d62f42;
}

.profile-list-row.logout-row > span:first-child {
  color: #d62f42;
  background: #fff0f1;
}

.mini-toggle {
  justify-self: end;
  width: 56px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: #e5e8ef !important;
}

.mini-toggle::after {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(31, 41, 55, .18);
}

.profile-edit-grid {
  margin-top: 12px;
}

.profile-edit-grid .pj-card,
.profile-edit-grid .address-card {
  border: 0;
  border-radius: 8px;
}

.profile-bubble {
  overflow: hidden;
}

.profile-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.profile-app-page {
  background:
    radial-gradient(circle at 92% 6%, rgba(255, 122, 23, .12) 0 92px, transparent 96px),
    linear-gradient(180deg, #fff8ef 0, #f7f8fb 280px, #f5f6fa 100%);
}

.profile-back {
  color: #ef3b2d;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 28px rgba(239, 74, 37, .12);
}

.profile-hero-card,
.profile-mini-card,
.profile-option-card {
  border: 1px solid rgba(255, 122, 23, .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 122, 23, .12) 0 44px, transparent 46px),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 250, 247, .96));
  box-shadow: 0 20px 48px rgba(23, 25, 33, .08);
}

.profile-hero-card {
  position: relative;
  overflow: hidden;
}

.profile-person {
  position: relative;
  align-items: center;
  gap: 18px;
  padding: 22px;
}

.profile-person small {
  display: inline-flex;
  margin-bottom: 5px;
  color: #ef3b2d;
  font-size: .76rem;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-avatar-form {
  flex: 0 0 auto;
  margin: 0;
}

.profile-avatar {
  position: relative;
  overflow: hidden;
  width: 96px;
  height: 96px;
  cursor: pointer;
  border: 4px solid #fff;
  color: #fff;
  background: linear-gradient(135deg, #ff9b1b, #ff302f);
  box-shadow: 0 18px 38px rgba(239, 74, 37, .24);
}

.profile-avatar b {
  font-size: 2.2rem;
  line-height: 1;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.profile-avatar > span {
  position: absolute;
  right: 2px;
  bottom: 2px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9217, #ff2f2f);
  box-shadow: 0 8px 16px rgba(239, 74, 37, .22);
}

.profile-avatar > span::before {
  content: "";
  width: 15px;
  height: 15px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 4 7.2 6H4a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-3.2L15 4H9Zm3 5a4 4 0 1 1 0 8 4 4 0 0 1 0-8Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.profile-person h1 {
  font-size: clamp(1.55rem, 5.2vw, 2.25rem);
}

.profile-person a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #ef3b2d;
  background: #fff0ea;
  font-weight: 950;
}

.profile-gold-band {
  min-height: 76px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: linear-gradient(135deg, #161616, #2d1d10);
}

.profile-mini-card {
  min-height: 94px;
  border-radius: 22px;
}

.profile-mini-card span,
.profile-update-row span,
.profile-list-row > span:first-child {
  background: #fff4ef;
}

.profile-option-card {
  margin-bottom: 20px;
  overflow: hidden;
}

.profile-option-card::before {
  background: linear-gradient(180deg, #ff9217, #ff2f2f);
}

.profile-list-row {
  min-height: 72px;
  background: rgba(255, 255, 255, .72);
}

.profile-list-row:hover {
  background: #fff7f2;
}

.profile-edit-grid .pj-card,
.profile-edit-grid .address-card {
  border: 1px solid rgba(255, 122, 23, .16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 122, 23, .12) 0 42px, transparent 44px),
    #fff;
  box-shadow: 0 20px 48px rgba(23, 25, 33, .08);
}

.profile-edit-grid .form-control,
.profile-edit-grid .form-select {
  min-height: 48px;
  border: 1px solid rgba(239, 74, 37, .14);
  border-radius: 16px;
  font-weight: 800;
}

.profile-edit-grid textarea.form-control {
  min-height: 92px;
}

.profile-photo-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.profile-photo-field span {
  color: #6b7280;
  font-size: .78rem;
  font-weight: 900;
}

.profile-edit-card .profile-photo-field {
  display: none !important;
}

.profile-edit-card .btn-pj.mt-3 {
  margin-top: 0 !important;
}

.profile-edit-grid .address-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 14px;
}

.profile-edit-grid .address-card {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: flex-start;
  min-height: 152px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 23, .22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 18%, rgba(255, 122, 23, .12) 0 42px, transparent 44px),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 250, 247, .96));
  box-shadow: 0 18px 42px rgba(23, 25, 33, .08);
}

.profile-edit-grid .address-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 4px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff9217, #ff2f2f);
}

.address-card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #ef3b2d;
  background: #fff0ea;
  box-shadow: inset 0 0 0 1px rgba(239, 74, 37, .10);
}

.address-card-main {
  min-width: 0;
}

.address-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  margin-bottom: 5px;
}

.address-card-head strong {
  overflow: hidden;
  color: #20242d;
  font-size: 1.08rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.address-card-head em {
  flex: 0 0 auto;
  padding: 4px 9px;
  border-radius: 999px;
  color: #0f9f62;
  background: #e9fbf1;
  font-size: .72rem;
  font-style: normal;
  font-weight: 950;
}

.profile-edit-grid .address-card span:not(.address-card-icon) {
  color: #6b7280;
  font-weight: 850;
}

.profile-edit-grid .address-card p {
  margin: 6px 0;
  color: #20242d;
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.35;
}

.profile-edit-grid .address-card small {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ef3b2d;
  background: #fff0ea;
  font-weight: 900;
}

.profile-edit-grid .address-card small b {
  margin-right: 4px;
}

.profile-edit-grid .address-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.profile-edit-grid .address-actions .btn {
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 900;
}

.profile-edit-grid .address-actions .btn-outline-danger {
  border-color: rgba(239, 74, 37, .32);
  color: #ef3b2d;
  background: #fff;
}

.profile-edit-grid .address-actions .btn-outline-dark {
  border-color: rgba(24, 28, 35, .14);
  color: #20242d;
  background: rgba(255, 255, 255, .74);
}

@media (max-width: 520px) {
  .app-topbar.app-home-header {
    padding: 16px 14px 14px;
  }

  .app-action-pills {
    gap: 6px;
  }

  .gold-pill {
    min-width: 66px;
    height: 38px;
    padding: 5px 10px;
  }

  .round-action,
  .profile-bubble {
    width: 38px;
    height: 38px;
  }

  .ai-search-row {
    grid-template-columns: minmax(0, 1fr) 50px;
  }

  .ai-search {
    min-height: 54px;
    grid-template-columns: 28px minmax(0, 1fr) 42px;
  }

  .ai-search input {
    font-size: .9rem;
  }

  .app-bottom-nav {
    bottom: 12px;
    width: calc(100vw - 24px);
  }

  .bottom-nav-item {
    grid-template-columns: 1fr;
    gap: 2px;
    padding: 7px 6px;
  }

  .bottom-icon {
    margin: 0 auto;
  }

  .mobile-home.app-home-page,
  .profile-app-page {
    padding-left: 14px;
    padding-right: 14px;
  }

  .category-circles.app-category-tabs,
  .app-filter-chips,
  .app-product-strip {
    margin-left: -14px;
    margin-right: -14px;
  }

  .category-circles.app-category-tabs,
  .app-filter-chips,
  .app-product-strip {
    padding-left: 14px;
    padding-right: 14px;
  }

  .app-restaurant-feed {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .zomato-image img {
    height: 124px;
  }

  .profile-person {
    gap: 14px;
    padding: 18px;
  }

  .profile-avatar {
    width: 78px;
    height: 78px;
    font-size: 1.7rem;
  }

  .profile-avatar b {
    font-size: 1.8rem;
  }

  .profile-avatar > span {
    width: 26px;
    height: 26px;
    border-width: 2px;
  }

  .profile-avatar > span::before {
    width: 13px;
    height: 13px;
  }

  .profile-person h1 {
    font-size: 1.45rem;
  }

  .profile-person a {
    min-height: 30px;
    padding: 6px 12px;
    font-size: .82rem;
  }

  .profile-quick-grid {
    gap: 12px;
  }

  .profile-mini-card {
    grid-template-columns: 34px minmax(0, 1fr);
    min-height: 78px;
    padding: 12px;
  }

  .profile-list-row {
    grid-template-columns: 34px minmax(0, 1fr) auto 12px;
    padding: 0 18px;
  }

  .profile-edit-grid .address-list {
    grid-template-columns: 1fr;
  }

  .profile-edit-grid .address-card {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
    padding: 14px;
    border-radius: 20px;
  }

  .address-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .profile-edit-grid .address-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: stretch;
  }

  .profile-edit-grid .address-actions .btn,
  .profile-edit-grid .address-actions form {
    flex: 1;
  }

  .profile-edit-grid .address-actions .btn {
    width: 100%;
    text-align: center;
  }

  .tracking-page {
    padding: 12px 12px 156px;
  }

  .tracking-head {
    padding: 14px;
    gap: 12px;
  }

  .tracking-head h1 {
    font-size: 1.75rem;
    line-height: 1.05;
  }

  .tracking-head small {
    display: block;
    line-height: 1.35;
  }

  .tracking-eta {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 6px 10px;
    padding: 10px 12px;
    text-align: left;
  }

  .tracking-eta strong {
    font-size: 1.25rem;
    text-align: right;
  }

  .tracking-eta span {
    grid-column: 1 / -1;
    margin-top: 2px;
    white-space: normal;
  }

  .delivery-track-map {
    height: min(46vh, 360px);
    min-height: 270px;
    max-height: 360px;
    border-radius: 8px;
  }

  .tracking-panel {
    gap: 10px;
    padding: 10px;
  }

  .tracking-panel > div {
    padding: 10px;
  }

  .tracking-panel p,
  .tracking-panel span {
    font-size: .88rem;
    line-height: 1.35;
  }

  .map-fallback {
    padding: 18px 12px;
  }

  .map-fallback-route {
    width: 94%;
  }

  .fallback-marker {
    width: 42px;
    height: 42px;
    border-width: 3px;
  }

  .fallback-marker.rider {
    width: 54px;
    height: 54px;
  }

  .fallback-marker svg {
    width: 24px;
    height: 24px;
  }

  .fallback-marker.rider svg {
    width: 32px;
    height: 32px;
  }

  .map-fallback-copy {
    max-width: calc(100% - 22px);
    padding: 12px;
  }
}

@keyframes pjHeaderDrop {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pjSoftRise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pjNavDock {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(.96);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

@keyframes pjHeroShine {
  from {
    transform: translateX(-120%) skewX(-16deg);
  }
  to {
    transform: translateX(150%) skewX(-16deg);
  }
}

.app-topbar.app-home-header {
  animation: pjHeaderDrop .42s cubic-bezier(.2, .8, .2, 1) both;
}

.ai-search,
.gold-flash-banner,
.app-category-tabs a,
.app-filter-chips a,
.product-card,
.zomato-card,
.profile-hero-card,
.profile-mini-card,
.profile-update-row,
.profile-option-card {
  animation: pjSoftRise .52s cubic-bezier(.2, .8, .2, 1) both;
}

.app-category-tabs a:nth-child(2),
.app-filter-chips a:nth-child(2),
.product-card:nth-child(2),
.zomato-card:nth-child(2),
.profile-mini-card:nth-child(2) {
  animation-delay: .04s;
}

.app-category-tabs a:nth-child(3),
.app-filter-chips a:nth-child(3),
.product-card:nth-child(3),
.zomato-card:nth-child(3) {
  animation-delay: .08s;
}

.app-category-tabs a:nth-child(4),
.app-filter-chips a:nth-child(4),
.product-card:nth-child(4),
.zomato-card:nth-child(4) {
  animation-delay: .12s;
}

.app-bottom-nav {
  animation: pjNavDock .46s cubic-bezier(.2, .8, .2, 1) .12s both;
}

.app-bottom-nav {
  grid-template-columns: repeat(var(--bottom-count, 4), minmax(0, 1fr));
  gap: 4px;
  width: min(640px, calc(100vw - 24px));
  min-height: 72px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  box-shadow:
    0 18px 36px rgba(31, 41, 55, .13),
    0 6px 18px rgba(232, 54, 31, .06),
    inset 0 1px 0 rgba(255, 255, 255, .95);
  backdrop-filter: blur(18px);
}

.bottom-nav-item {
  min-height: 56px;
  padding: 6px 8px;
  border-radius: 34px;
  color: #626a78;
  background: transparent;
  font-size: .9rem;
}

.bottom-nav-item.active {
  color: #fff;
  background: linear-gradient(135deg, #ff2b4b, #ef334b);
  box-shadow:
    0 12px 24px rgba(239, 51, 75, .24),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  transform: translateY(0);
}

.bottom-nav-item.active::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -8px;
  width: 34px;
  height: 4px;
  border-radius: 999px;
  background: #ef334b;
  transform: translateX(-50%);
}

.bottom-icon {
  width: 24px;
  height: 24px;
  flex-basis: 24px;
}

.bottom-nav-item small {
  max-width: 76px;
  margin-top: 2px;
  font-size: .78rem;
  font-weight: 950;
}

.bottom-nav-item b {
  right: 18%;
  top: 4px;
  min-width: 20px;
  height: 20px;
  padding: 0 7px;
  border: 2px solid #fff;
  background: #ef334b;
  font-size: .66rem;
  box-shadow: 0 8px 16px rgba(239, 51, 75, .24);
}

.bottom-nav-item.bottom-center-menu {
  justify-self: center;
  width: 72px;
  min-width: 72px;
  height: 72px;
  min-height: 72px;
  margin-top: -28px;
  padding: 0;
  border: 7px solid rgba(255, 255, 255, .94);
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #ff8b24 0%, #ff3d4f 100%);
  box-shadow:
    0 14px 26px rgba(239, 51, 75, .24),
    0 0 0 9px rgba(239, 51, 75, .07);
}

.bottom-nav-item.bottom-center-menu::before {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 8px 22px rgba(31, 41, 55, .08);
}

.bottom-nav-item.bottom-center-menu .bottom-icon {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
}

.bottom-nav-item.bottom-center-menu .dine-spoon-path {
  stroke: #111827;
}

.bottom-nav-item.bottom-center-menu small {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.bottom-nav-item.bottom-center-menu:hover {
  color: #fff;
  background: linear-gradient(145deg, #ff8b24 0%, #ff3d4f 100%);
  transform: translateY(-2px);
}

#restaurants-near-you {
  scroll-margin-top: 150px;
}

.gold-flash-banner {
  position: relative;
  overflow: hidden;
}

.gold-flash-banner > * {
  position: relative;
  z-index: 1;
}

.gold-flash-banner::after {
  content: "";
  display: none;
}

.gold-flash-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(20, 12, 4, .92) 0%, rgba(53, 28, 8, .70) 43%, rgba(53, 28, 8, .12) 72%);
  pointer-events: none;
}

.gold-flash-banner .hero-slide-list {
  position: absolute;
  z-index: 0;
}

.gold-flash-banner .hero-banner-copy,
.gold-flash-banner .hero-side-arrow,
.gold-flash-banner .hero-dots {
  z-index: 2;
}

.round-action,
.profile-bubble,
.gold-pill,
.bottom-nav-item,
.app-filter-chips a,
.app-category-tabs a,
.product-card,
.zomato-card {
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}

.round-action:hover,
.profile-bubble:hover,
.gold-pill:hover,
.app-filter-chips a:hover,
.app-category-tabs a:hover,
.product-card:hover,
.zomato-card:hover {
  transform: translateY(-2px);
}

.app-category-tabs a:hover img {
  transform: translateY(-2px) scale(1.04);
}

.app-category-tabs img {
  transition: transform .18s ease;
}

.ai-search {
  transition: box-shadow .18s ease, transform .18s ease, background .18s ease;
}

.ai-search:focus-within {
  background: #fff;
  box-shadow: 0 14px 30px rgba(226, 55, 68, .16);
  transform: translateY(-1px);
}

.bottom-nav-item:hover {
  color: var(--pj-red);
  background: #fff6f7;
}

.bottom-nav-item:active,
.round-action:active,
.profile-bubble:active,
.gold-pill:active,
.app-filter-chips a:active {
  transform: scale(.96);
}

.mic-btn.listening span,
.app-veg-switch.is-on .veg-mode-track {
  animation: pjSoftRise .35s cubic-bezier(.2, .8, .2, 1) both;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}

.app-restaurant-feed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 16px;
}

.vertical-restaurant-card {
  display: grid;
  grid-template-columns: minmax(112px, 34%) minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  padding: 10px;
  border: 1px solid rgba(22, 24, 29, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 25, 33, .08);
}

.vertical-restaurant-card .zomato-image {
  width: 100%;
  height: 132px;
  border-radius: 14px;
  background: #f4f5f7;
}

.vertical-restaurant-card .zomato-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: fill;
  object-position: center;
  border-radius: 14px;
}

.vertical-restaurant-card .zomato-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}

.vertical-restaurant-card .zomato-body > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.vertical-restaurant-card .zomato-body h3 {
  white-space: normal;
}

.view-menu-cta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 10px;
  color: #ef3b2d;
  font-size: .86rem;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: max-content;
  color: #15803d;
  font-size: .78rem;
}

.rating-pill b {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: #fff;
  background: #188a42;
  font-size: .78rem;
  line-height: 1;
}

.rating-pill small {
  color: #7b8190;
  font-weight: 750;
}

.restaurant-back {
  position: relative;
  z-index: 9;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 16px 24px -8px;
  border-radius: 50%;
  color: #20242d;
  background: #fff;
  box-shadow: 0 12px 30px rgba(23, 25, 33, .14);
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
}

.restaurant-back:hover,
.restaurant-back:focus-visible {
  color: #20242d;
  transform: translateX(-2px);
  box-shadow: 0 16px 34px rgba(23, 25, 33, .18);
}

.restaurant-back:focus-visible {
  outline: 3px solid rgba(239, 59, 45, .22);
  outline-offset: 3px;
}

.restaurant-back span {
  width: 15px;
  height: 15px;
  margin-left: 4px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

.restaurant-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-top: 4px;
}

.restaurant-hero-meta .rating-pill {
  min-height: 38px;
  padding: 6px 10px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 10px 24px rgba(0, 0, 0, .16);
  backdrop-filter: blur(12px);
}

.restaurant-hero-meta .rating-pill b {
  min-height: 26px;
  padding: 0 9px;
  background: #16924a;
}

.restaurant-hero-meta .rating-pill small {
  color: rgba(255, 255, 255, .74);
  font-weight: 900;
}

.restaurant-hero-meta > span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, .22);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15), 0 10px 24px rgba(0, 0, 0, .16);
  backdrop-filter: blur(12px);
  font-weight: 950;
}

.restaurant-menu-page {
  padding-bottom: 350px;
}

.restaurant-menu-tools {
  position: sticky;
  top: 88px;
  z-index: 8;
  margin-bottom: 16px;
  padding: 8px 0;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(16px);
}

.restaurant-menu-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(28, 32, 39, .08);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(23, 25, 33, .08);
}

.restaurant-menu-search span {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 3px solid #222733;
  border-radius: 50%;
}

.restaurant-menu-search span::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -6px;
  width: 9px;
  height: 3px;
  border-radius: 999px;
  background: #222733;
  transform: rotate(45deg);
}

.restaurant-menu-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #222733;
  font-weight: 800;
}

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

.app-menu-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) minmax(126px, 154px);
  gap: 18px;
  align-items: center;
  overflow: hidden;
  min-height: 208px;
  padding: 18px 20px;
  border: 1px solid rgba(239, 91, 45, .16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 26%, rgba(255, 112, 52, .10) 0 2px, transparent 3px),
    radial-gradient(circle at 80% 82%, rgba(255, 112, 52, .13) 0 3px, transparent 4px),
    linear-gradient(180deg, rgba(255, 255, 255, .99), rgba(255, 250, 244, .97)),
    #fff;
  box-shadow: 0 18px 42px rgba(65, 36, 20, .10);
}

.app-menu-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42px;
  pointer-events: none;
  background: linear-gradient(96deg, rgba(255, 116, 44, .11), rgba(255, 241, 222, .58), rgba(255, 116, 44, .08));
  opacity: .78;
}

.menu-image-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1.08 / 1;
  overflow: hidden;
  border: 2px solid rgba(255, 117, 80, .34);
  border-radius: 22px;
  background: #fff8f4;
  box-shadow: 0 10px 24px rgba(77, 47, 26, .10);
}

.menu-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.menu-image-badge,
.menu-food-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #16813c;
  border: 1px solid rgba(22, 129, 60, .45);
  background: rgba(255, 255, 255, .94);
  font-weight: 950;
  line-height: 1;
}

.menu-image-badge::before,
.menu-food-badge::before {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .86);
}

.menu-image-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 10px 13px;
  border-radius: 14px;
  box-shadow: 0 10px 20px rgba(22, 129, 60, .18);
}

.menu-food-badge {
  width: fit-content;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .95rem;
}

.menu-image-badge.is-nonveg,
.menu-food-badge.is-nonveg {
  color: #dc2626;
  border-color: rgba(220, 38, 38, .45);
}

.menu-item-body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  min-width: 0;
}

.menu-item-body h2 {
  margin: 0;
  color: #33221a;
  font-size: clamp(1.28rem, 2.2vw, 1.9rem);
  font-weight: 950;
  line-height: 1.05;
}

.menu-item-body p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #767985;
  font-size: clamp(.98rem, 1.7vw, 1.12rem);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.menu-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 2px;
}

.menu-item-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  justify-items: center;
  align-content: center;
}

.menu-item-actions > strong {
  color: #f05a2a;
  font-size: clamp(1.18rem, 2.3vw, 1.5rem);
  font-weight: 950;
  white-space: nowrap;
}

.menu-item-actions .btn-pj {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 118px;
  min-height: 52px;
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 1.12rem;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(239, 59, 45, .24);
}

.menu-item-actions .btn-pj::before {
  content: "+";
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 900;
}

.restaurant-showcase-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 45%) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  overflow: hidden;
  min-height: 320px;
  padding: 18px;
  border: 1px solid rgba(239, 91, 45, .10);
  border-radius: 26px;
  color: #121826;
  background:
    radial-gradient(circle at 63% 18%, rgba(255, 119, 33, .06) 0 42px, transparent 44px),
    radial-gradient(circle at 88% 72%, rgba(255, 119, 33, .05) 0 54px, transparent 56px),
    linear-gradient(180deg, #fff, #fffdfb);
  box-shadow: 0 20px 54px rgba(24, 32, 48, .10);
}

.restaurant-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .74);
}

.restaurant-showcase-card .zomato-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 284px;
  overflow: visible;
  border-radius: 24px 42px 42px 24px;
  background: #ff7a17;
  clip-path: polygon(0 0, 96% 0, 88% 100%, 0 100%);
  box-shadow: none;
}

.restaurant-showcase-card .zomato-image img {
  position: absolute;
  inset: 0 auto 0 0;
  display: block;
  width: calc(100% - 10px);
  height: 100%;
  min-height: 284px;
  object-fit: fill;
  object-position: center;
  border-radius: 22px 36px 36px 22px;
  clip-path: polygon(0 0, 96% 0, 88% 100%, 0 100%);
  filter: none !important;
  opacity: 1 !important;
  box-shadow: none !important;
}

.restaurant-showcase-card .restaurant-status-badge {
  position: absolute;
  top: 14px !important;
  left: 14px !important;
  right: auto !important;
  bottom: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 18px;
  border-radius: 999px;
  color: #fff !important;
  background: rgba(9, 74, 31, .88) !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: 0;
}

.restaurant-showcase-card .restaurant-status-badge i {
  display: block;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #20e765 !important;
  box-shadow: none !important;
}

.restaurant-showcase-card .restaurant-time-badge {
  position: absolute;
  left: 14px !important;
  bottom: 14px !important;
  top: auto !important;
  right: auto !important;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 17px;
  color: #fff !important;
  background: linear-gradient(135deg, #f04724, #ff7a17) !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  text-shadow: none !important;
  font-style: normal;
  font-size: 1.05rem;
  font-weight: 950;
}

.restaurant-showcase-card .restaurant-time-badge::before {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 5px 0 0 -3px currentColor;
}

.restaurant-showcase-card .zomato-body {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: stretch;
  gap: 18px;
  width: 100%;
  min-width: 0;
  padding: 12px 14px 12px 0;
}

.restaurant-showcase-card .zomato-body > div.restaurant-rating-line {
  display: flex;
  justify-content: flex-end;
}

.restaurant-showcase-card .rating-pill {
  gap: 12px;
}

.restaurant-showcase-card .rating-pill b {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 18px;
  font-size: 1.12rem;
}

.restaurant-showcase-card .rating-pill small {
  color: #7b8190;
  font-size: 1rem;
}

.restaurant-showcase-card .zomato-body h3 {
  overflow: visible;
  margin: 0;
  color: #0f172a;
  font-size: clamp(1.85rem, 4.2vw, 2.75rem);
  font-weight: 950;
  line-height: 1.05;
  text-align: center;
  text-overflow: clip;
  white-space: normal;
}

.restaurant-showcase-card.has-short-name .zomato-body h3 {
  font-size: clamp(2.25rem, 6vw, 3.45rem);
  line-height: .96;
}

.restaurant-showcase-card.has-short-name .zomato-body {
  gap: 20px;
}

.restaurant-card-divider {
  position: relative;
  display: block;
  width: 120px;
  height: 22px;
  margin: -2px auto 0;
}

.restaurant-card-divider::before,
.restaurant-card-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 44px;
  height: 2px;
  border-radius: 999px;
  background: #ff7a17;
}

.restaurant-card-divider::before { left: 0; }
.restaurant-card-divider::after { right: 0; }

.restaurant-card-divider {
  color: #ff7a17;
}

.restaurant-card-divider::selection {
  background: transparent;
}

.restaurant-card-divider:empty {
  font-size: 0;
}

.restaurant-card-divider:empty::marker {
  content: "";
}

.restaurant-showcase-card .zomato-body footer {
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  padding: 8px 0 18px;
  border-bottom: 1px dashed rgba(255, 122, 23, .34);
}

.restaurant-showcase-card .zomato-body footer span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  color: #3e4453;
  font-size: 1.08rem;
  font-weight: 900;
  white-space: nowrap;
}

.restaurant-showcase-card .zomato-body footer span + span {
  border-left: 1px solid rgba(88, 96, 112, .26);
}

.restaurant-showcase-card .zomato-body footer span::before {
  color: #ff7a17;
  font-size: 1.15rem;
}

.restaurant-showcase-card .meta-distance::before { content: "●"; }
.restaurant-showcase-card .meta-time::before { content: "◷"; }
.restaurant-showcase-card .meta-fee::before { content: "◇"; }

.restaurant-showcase-card .view-menu-cta {
  display: flex !important;
  align-self: stretch !important;
  justify-self: stretch !important;
  justify-content: center;
  align-items: center;
  gap: 16px;
  width: 100% !important;
  min-width: 100%;
  max-width: none;
  box-sizing: border-box;
  min-height: 58px;
  margin-top: 0;
  padding: 12px 18px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #ff8a11, #ff2828);
  box-shadow: 0 16px 30px rgba(239, 59, 45, .25);
  font-size: 1.32rem;
  text-align: center;
}

.restaurant-showcase-card .view-menu-cta span {
  position: relative;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
}

.restaurant-showcase-card .view-menu-cta span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 3px solid #ff4b2b;
  border-right: 3px solid #ff4b2b;
  transform: rotate(45deg);
  margin-left: -3px;
}

.restaurant-showcase-card.is-closed {
  cursor: not-allowed;
  filter: none;
}

.restaurant-showcase-card.is-closed .restaurant-status-badge {
  background: rgba(185, 28, 28, .92);
  box-shadow: 0 14px 28px rgba(185, 28, 28, .22);
}

.restaurant-showcase-card.is-closed .restaurant-status-badge i {
  background: #fecaca;
}

.restaurant-showcase-card.is-closed .view-menu-cta {
  pointer-events: none;
  color: #fff;
  background: linear-gradient(135deg, #9ca3af, #6b7280);
  box-shadow: none;
}

.restaurant-showcase-card.is-closed .view-menu-cta span::before {
  border-color: #6b7280;
}

.restaurant-showcase-card .zomato-image {
  grid-column: 1;
  grid-row: 1 / 6;
}

.restaurant-showcase-card .zomato-image::before,
.restaurant-showcase-card .zomato-image::after {
  content: none !important;
  display: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.restaurant-showcase-card .zomato-body {
  display: contents;
}

.restaurant-showcase-card .restaurant-rating-line,
.restaurant-showcase-card .zomato-body h3,
.restaurant-showcase-card .restaurant-card-divider,
.restaurant-showcase-card .zomato-body footer,
.restaurant-showcase-card .view-menu-cta {
  grid-column: 2;
  position: relative;
  z-index: 1;
  width: 100% !important;
  box-sizing: border-box;
}

.qty-stepper {
  display: inline-grid;
  grid-template-columns: 38px 42px 38px;
  align-items: center;
  overflow: hidden;
  min-height: 46px;
  border: 1px solid rgba(239, 59, 45, .14);
  border-radius: 16px;
  background: rgba(255, 244, 240, .82);
  box-shadow: 0 10px 22px rgba(42, 24, 18, .06);
}

.qty-stepper button {
  width: 38px;
  height: 46px;
  border: 0;
  color: #ef3b2d;
  background: transparent;
  font-size: 1.45rem;
  font-weight: 900;
}

.qty-stepper strong {
  color: #20242d;
  font-size: 1.02rem;
  text-align: center;
}

.qty-stepper:not(.is-active) {
  opacity: .54;
}

.restaurant-mini-cart {
  position: fixed;
  left: max(14px, calc((100vw - 760px) / 2 + 22px));
  right: max(14px, calc((100vw - 760px) / 2 + 22px));
  bottom: 92px;
  z-index: 28;
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1.5px solid rgba(255, 122, 23, .42);
  border-radius: 24px;
  color: #20242d;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 122, 23, .10) 0 26px, transparent 28px),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 250, 247, .96));
  box-shadow: 0 26px 64px rgba(239, 59, 45, .16);
  backdrop-filter: blur(18px);
}

.restaurant-mini-cart[hidden] {
  display: none !important;
}

.restaurant-mini-cart::before {
  content: "";
  position: absolute;
  left: 54px;
  right: 54px;
  top: 72px;
  border-top: 1px dashed rgba(255, 122, 23, .24);
}

.mini-cart-top {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  gap: 12px;
  align-items: center;
}

.mini-cart-top > strong {
  overflow: hidden;
  color: #f04a25;
  font-size: .98rem;
  font-weight: 950;
  letter-spacing: .03em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.mini-cart-top > i,
.mini-cart-top > i::before,
.mini-cart-top > i::after {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(239, 74, 37, .38);
}

.mini-cart-top > i {
  position: relative;
}

.mini-cart-top > i::before,
.mini-cart-top > i::after {
  content: "";
  position: absolute;
  left: 0;
}

.mini-cart-top > i::before {
  top: -11px;
}

.mini-cart-top > i::after {
  top: 11px;
}

.mini-cart-store-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  color: #ff512f;
  background: linear-gradient(145deg, #fff4ef, #ffe8df);
}

.mini-cart-store-icon::before {
  content: "";
  width: 24px;
  height: 24px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 4h16l1.2 5.2A3.2 3.2 0 0 1 17 12a3.2 3.2 0 0 1-5 0 3.2 3.2 0 0 1-5 0 3.2 3.2 0 0 1-4.2-2.8L4 4Zm2 10h12v6h-2v-4H8v4H6v-6Zm5-1h2v7h-2v-7Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mini-cart-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(132px, .45fr);
  gap: 14px;
  align-items: center;
}

.mini-cart-selected > strong {
  display: block;
  color: #20242d;
  font-size: 1.22rem;
  font-weight: 950;
  letter-spacing: 0;
}

.mini-cart-selected > strong span {
  display: inline;
  margin-right: 6px;
  color: #ff4b21;
  font-size: 1.42rem;
}

.mini-cart-selected small {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #6b7280;
  font-size: .95rem;
  font-weight: 750;
}

.mini-cart-selected small span {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffc9b6;
}

.mini-cart-selected small span::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(-45deg);
}

.mini-cart-total {
  padding-left: 20px;
  border-left: 1px solid rgba(239, 74, 37, .18);
}

.mini-cart-total small {
  display: block;
  color: #777f8e;
  font-size: 1.05rem;
  font-weight: 850;
}

.mini-cart-total strong {
  display: block;
  margin-top: 6px;
  color: #f04a25;
  font-size: 1.38rem;
  font-weight: 950;
  line-height: 1;
}

.mini-cart-actions {
  display: grid;
  grid-template-columns: minmax(132px, .48fr) minmax(0, 1fr);
  gap: 14px;
}

.mini-cart-details,
.mini-cart-proceed {
  min-width: 0;
  text-decoration: none;
}

.mini-cart-details {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 18px;
  color: #20242d;
  background: linear-gradient(145deg, #fff4ef, #fff);
}

.mini-cart-details > span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, #ffad23, #ff3f2f);
}

.mini-cart-details > span::before {
  content: "";
  width: 24px;
  height: 24px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 8V7a5 5 0 0 1 10 0v1h3l-1 13H5L4 8h3Zm2 0h6V7a3 3 0 0 0-6 0v1Zm3 5v4h2v-4h-2Zm-4 0v4h2v-4H8Zm8 0v4h2v-4h-2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.mini-cart-details strong,
.mini-cart-details small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-cart-details strong {
  font-size: 1rem;
  font-weight: 950;
}

.mini-cart-details small {
  color: #6b7280;
  font-size: .88rem;
  font-weight: 750;
}

.mini-cart-details small::after {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-left: 8px;
  border-top: 2px solid #f04a25;
  border-right: 2px solid #f04a25;
  transform: rotate(45deg);
}

.mini-cart-proceed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px;
  gap: 12px;
  align-items: center;
  justify-items: center;
  min-height: 62px;
  padding: 10px 12px 10px 20px;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, #ff9217 0%, #ff2f2f 100%);
  box-shadow: 0 18px 34px rgba(239, 59, 45, .22);
}

.mini-cart-proceed b {
  font-size: 1.08rem;
  font-weight: 950;
}

.mini-cart-proceed > span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: #fff;
}

.mini-cart-proceed > span::before {
  content: "";
  width: 24px;
  height: 24px;
  background: #ff512f;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM3 3h2l2.2 10.2A3 3 0 0 0 10.1 15H17a3 3 0 0 0 2.8-2l1.6-5H7.1L6.7 6H3V3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (max-width: 575.98px) {
  .restaurant-menu-page {
    padding-bottom: 280px;
  }

  .restaurant-mini-cart {
    left: 12px;
    right: 12px;
    bottom: 88px;
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
  }

  .restaurant-mini-cart::before {
    left: 28px;
    right: 28px;
    top: 60px;
  }

  .mini-cart-top {
    grid-template-columns: 38px minmax(0, 1fr) 14px;
    gap: 9px;
  }

  .mini-cart-store-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .mini-cart-store-icon::before {
    width: 20px;
    height: 20px;
  }

  .mini-cart-top > strong {
    font-size: .82rem;
  }

  .mini-cart-main {
    grid-template-columns: minmax(0, 1fr) minmax(104px, .45fr);
    gap: 12px;
  }

  .mini-cart-selected > strong {
    font-size: 1rem;
  }

  .mini-cart-selected > strong span {
    font-size: 1.18rem;
  }

  .mini-cart-selected small {
    font-size: .8rem;
  }

  .mini-cart-total {
    padding-left: 12px;
  }

  .mini-cart-total small {
    font-size: .86rem;
  }

  .mini-cart-total strong {
    font-size: 1.2rem;
  }

  .mini-cart-actions {
    grid-template-columns: minmax(116px, .45fr) minmax(0, 1fr);
    gap: 10px;
  }

  .mini-cart-details {
    grid-template-columns: 38px minmax(0, 1fr);
    column-gap: 8px;
    padding: 8px;
    border-radius: 17px;
  }

  .mini-cart-details > span {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .mini-cart-details > span::before {
    width: 21px;
    height: 21px;
  }

  .mini-cart-details strong {
    font-size: .88rem;
  }

  .mini-cart-details small {
    font-size: .76rem;
  }

  .mini-cart-proceed {
    grid-template-columns: minmax(0, 1fr) 38px;
    min-height: 54px;
    padding: 8px 8px 8px 12px;
    border-radius: 17px;
  }

  .mini-cart-proceed b {
    font-size: .94rem;
  }

  .mini-cart-proceed > span {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .mini-cart-proceed > span::before {
    width: 21px;
    height: 21px;
  }
}

.cart-title {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 23, .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 122, 23, .16) 0 42px, transparent 44px),
    linear-gradient(135deg, #fff8f1 0%, #fff 48%, #fff1ea 100%);
  box-shadow: 0 18px 48px rgba(239, 74, 37, .11);
}

.cart-title::before {
  content: "";
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 18px;
  background:
    linear-gradient(135deg, #ff9b1b, #ff302f);
  box-shadow: 0 14px 30px rgba(239, 74, 37, .22);
}

.cart-title::after {
  content: "";
  position: absolute;
  left: 34px;
  top: 32px;
  width: 28px;
  height: 28px;
  background: #fff;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM3 3h2l2.2 10.2A3 3 0 0 0 10.1 15H17a3 3 0 0 0 2.8-2l1.6-5H7.1L6.7 6H3V3Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cart-title > div {
  min-width: 0;
  flex: 1;
}

.cart-title h1 {
  margin: 0;
  color: #20242d;
  font-weight: 950;
  letter-spacing: 0;
}

.cart-title p {
  margin: 3px 0 0;
  color: #777f8e;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-title .btn {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  border-color: rgba(239, 74, 37, .24);
  border-radius: 999px;
  color: #ef3b2d;
  font-weight: 900;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 28px rgba(239, 74, 37, .10);
}

.cart-item-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 23, .18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 96% 20%, rgba(255, 122, 23, .10) 0 34px, transparent 36px),
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(255, 250, 247, .96));
  box-shadow: 0 18px 42px rgba(23, 25, 33, .08);
}

.cart-item-card img {
  width: 112px;
  height: 104px;
  object-fit: fill;
  border: 1.5px solid rgba(255, 122, 23, .28);
  border-radius: 20px;
  background: #fff5ef;
}

.cart-item-main h2,
.cart-item-main h3 {
  margin: 4px 0 6px;
  color: #20242d;
  font-size: 1.08rem;
  font-weight: 950;
  line-height: 1.18;
}

.cart-item-main p {
  margin: 0 0 8px;
  color: #777f8e;
  font-size: .9rem;
  font-weight: 750;
  line-height: 1.35;
}

.cart-item-main > strong {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  color: #ef3b2d;
  font-size: 1.05rem;
  font-weight: 950;
  background: #fff0ea;
}

.cart-item-actions {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.cart-item-actions .qty-stepper {
  border-radius: 16px;
  background: #fff4ef;
  box-shadow: inset 0 0 0 1px rgba(239, 74, 37, .16);
}

.cart-item-actions .qty-stepper button {
  color: #ef3b2d;
  font-size: 1.2rem;
  font-weight: 950;
}

.cart-item-actions form:last-child .btn {
  border: 0;
  border-radius: 999px;
  color: #6b7280;
  font-weight: 900;
  background: #f5f6f8;
}

.checkout-summary-card {
  position: sticky;
  top: 98px;
  overflow: hidden;
  border: 1px solid rgba(255, 122, 23, .20);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 122, 23, .16) 0 44px, transparent 46px),
    linear-gradient(145deg, #fff, #fff8f4);
  box-shadow: 0 22px 52px rgba(23, 25, 33, .10);
}

.checkout-summary-card h2 {
  margin: 0 0 12px;
  color: #20242d;
  font-size: 1.35rem;
  font-weight: 950;
}

.checkout-summary-card .bill-row,
.checkout-summary-card .bill-total,
.bill-row,
.bill-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(24, 28, 35, .08);
}

.checkout-summary-card .bill-row span,
.checkout-summary-card .bill-total span {
  color: #777f8e;
  font-weight: 800;
}

.checkout-summary-card .bill-row strong {
  color: #20242d;
  font-weight: 950;
}

.bill-total {
  border-bottom: 0;
  color: #20242d;
  font-size: 1.12rem;
  font-weight: 950;
}

.checkout-summary-card > .bill-total {
  margin-top: 8px;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff1e8, #fff);
}

.checkout-summary-card > .bill-total strong {
  color: #ef3b2d;
  font-size: 1.36rem;
}

.checkout-selected-address {
  display: grid;
  gap: 5px;
  padding: 14px;
  color: #20242d;
  background: linear-gradient(135deg, #fff7f4, #fff);
  border: 1px solid rgba(232, 54, 31, .14);
  border-radius: 18px;
}

.checkout-selected-address small,
.checkout-selected-address em {
  color: #ef3d49;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-selected-address strong {
  font-size: 1rem;
  font-weight: 950;
}

.checkout-selected-address p {
  margin: 0;
  color: #626b78;
  line-height: 1.35;
}

.checkout-selected-address span {
  color: #20242d;
  font-weight: 800;
}

.wallet-use-box {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 14px;
  background: linear-gradient(135deg, #fff, #fff8f3);
  border: 1px solid rgba(232, 54, 31, .16);
  border-radius: 18px;
}

.wallet-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #20242d;
  font-weight: 950;
}

.wallet-check input {
  width: 20px;
  height: 20px;
  accent-color: #ef3b2d;
}

.wallet-use-box small {
  color: #6e717b;
  font-size: .76rem;
  font-weight: 750;
}

.wallet-apply-row,
.payable-row {
  padding: 6px 0 0;
}

.wallet-apply-row strong {
  color: #0f9f66;
}

.payable-row strong {
  color: #ef3b2d;
}

.checkout-summary-card.is-wallet-full [data-payment-method] {
  opacity: .55;
}

.checkout-address-missing {
  background: #fff8e8;
  border-color: rgba(255, 168, 32, .38);
}

.checkout-summary-card .form-control,
.checkout-summary-card .form-select {
  min-height: 48px;
  border: 1px solid rgba(239, 74, 37, .14);
  border-radius: 16px;
  color: #20242d;
  font-weight: 800;
  background-color: rgba(255, 255, 255, .86);
}

.checkout-summary-card .form-control:focus,
.checkout-summary-card .form-select:focus {
  border-color: rgba(239, 74, 37, .42);
  box-shadow: 0 0 0 .2rem rgba(239, 74, 37, .10);
}

.checkout-payment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}

.checkout-payment-option {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 10px;
  align-items: center;
  min-height: 76px;
  margin: 0;
  padding: 12px;
  cursor: pointer;
  border: 1px solid rgba(24, 28, 35, .10);
  border-radius: 18px;
  background: rgba(255, 255, 255, .84);
  box-shadow: 0 12px 26px rgba(23, 25, 33, .06);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}

.checkout-payment-option:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 74, 37, .26);
  box-shadow: 0 16px 30px rgba(239, 74, 37, .10);
}

.checkout-payment-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.checkout-payment-option span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.checkout-payment-option b {
  overflow: hidden;
  color: #20242d;
  font-size: .94rem;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-payment-option small {
  overflow: hidden;
  color: #777f8e;
  font-size: .72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-payment-option i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 2px solid rgba(24, 28, 35, .16);
  border-radius: 50%;
  background: #fff;
}

.checkout-payment-option i::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
}

.checkout-payment-option:has(input:checked) {
  border-color: rgba(239, 74, 37, .52);
  background: linear-gradient(135deg, #fff3ec, #fff);
  box-shadow: 0 16px 34px rgba(239, 74, 37, .14);
}

.checkout-payment-option:has(input:checked) b {
  color: #ef3b2d;
}

.checkout-payment-option:has(input:checked) i {
  border-color: #ef3b2d;
}

.checkout-payment-option:has(input:checked) i::before {
  background: linear-gradient(135deg, #ff9217, #ff2f2f);
}

.checkout-summary-card.is-wallet-full .checkout-payment-option {
  opacity: .58;
  cursor: not-allowed;
}

.checkout-summary-card .btn-pj {
  min-height: 56px;
  border-radius: 18px;
  font-size: 1.02rem;
  font-weight: 950;
  box-shadow: 0 16px 34px rgba(239, 59, 45, .22);
}

.order-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.order-detail-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 24px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #ef3b2d, #ff8a2a);
}

.order-detail-hero h1 {
  margin: 10px 0 4px;
  font-weight: 950;
}

.order-detail-hero > strong {
  font-size: 1.4rem;
}

.order-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.delivery-rating-card {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(239, 59, 45, .12);
  background:
    radial-gradient(circle at top right, rgba(255, 112, 24, .12), transparent 30%),
    #fff;
}

.delivery-rating-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.delivery-rating-head small {
  display: block;
  color: var(--pj-red);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.delivery-rating-head h2 {
  margin: 3px 0;
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 950;
}

.delivery-rating-head p {
  margin: 0;
  color: var(--pj-muted);
}

.delivery-rating-card form {
  display: grid;
  gap: 12px;
}

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

.food-rating-row {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(239, 59, 45, .10);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
}

.food-rating-row > div:first-child {
  display: grid;
  gap: 2px;
}

.food-rating-row > div:first-child strong {
  color: var(--pj-ink);
  font-weight: 950;
}

.food-rating-row > div:first-child small {
  color: var(--pj-muted);
  font-weight: 800;
}

.rating-choice {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.rating-choice label {
  position: relative;
  margin: 0;
  cursor: pointer;
}

.rating-choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.rating-choice span {
  display: grid;
  width: 44px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(239, 59, 45, .16);
  border-radius: 14px;
  color: var(--pj-muted);
  background: #fff7f3;
  font-weight: 950;
  transition: transform .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease;
}

.rating-choice input:checked + span {
  color: #fff;
  background: linear-gradient(135deg, var(--pj-red), var(--pj-orange));
  box-shadow: 0 12px 24px rgba(239, 59, 45, .22);
  transform: translateY(-1px);
}

.order-restaurant-line {
  display: flex;
  gap: 14px;
}

.order-restaurant-line img {
  width: 84px;
  height: 74px;
  object-fit: cover;
  border-radius: 14px;
}

.order-timeline {
  display: grid;
  gap: 8px;
  color: #596170;
  font-weight: 750;
}

.is-hidden-by-search {
  display: none !important;
}

.settings-check {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  min-height: 46px;
  margin: 0;
  font-weight: 850;
}

.profile-person a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #ef3b2d, #ff7b24);
  box-shadow: 0 10px 22px rgba(239, 59, 45, .22);
}

.profile-edit-grid > .col-lg-5 {
  display: none;
}

.profile-edit-grid:not(:target) {
  margin-top: 0;
}

.profile-edit-grid:not(:target) > .col-lg-7 {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

.profile-edit-grid:target {
  scroll-margin-top: 120px;
}

.profile-edit-grid:target > .col-lg-5 {
  display: block;
  animation: pjSoftRise .28s ease both;
}

.profile-edit-grid:target .pj-card:first-child {
  border: 1px solid rgba(239, 59, 45, .12);
  box-shadow: 0 18px 42px rgba(239, 59, 45, .12);
}

.profile-list-row:has(.star-list-icon),
.profile-list-row:has(.theme-list-icon),
.profile-list-row:has(.card-list-icon) {
  display: none !important;
}

@media (max-width: 640px) {
  .admin-panel-page {
    padding: 18px 14px 112px;
  }

  .admin-panel-page .panel-heading {
    align-items: flex-start;
    flex-direction: column;
    padding: 20px;
  }

  .admin-panel-page .panel-heading::after {
    right: -12px;
    bottom: -38px;
    width: 118px;
    height: 82px;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .admin-nav-card {
    min-height: 156px;
    padding: 20px;
  }

  .admin-nav-card span {
    grid-template-columns: 42px minmax(0, 1fr);
    font-size: .98rem;
  }

  .admin-nav-card .stat-icon {
    width: 42px;
    height: 42px;
  }

  .restaurant-back {
    width: 44px;
    height: 44px;
    margin: 12px 20px -6px;
  }

  .restaurant-hero {
    min-height: 330px;
    margin: 12px 0 20px;
    padding: 18px;
    border-radius: 18px;
  }

  .restaurant-hero > div {
    gap: 8px;
  }

  .restaurant-hero h1 {
    font-size: clamp(1.9rem, 10.4vw, 3rem);
    letter-spacing: .01em;
  }

  .restaurant-hero p {
    display: -webkit-box;
    overflow: hidden;
    font-size: .84rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .restaurant-hero-meta {
    gap: 7px;
  }

  .restaurant-hero-meta .rating-pill,
  .restaurant-hero-meta > span {
    min-height: 34px;
    font-size: .78rem;
  }

  .restaurant-hero-meta > span {
    padding: 0 10px;
  }

  .vertical-restaurant-card,
  .cart-item-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .app-menu-card {
    grid-template-columns: 96px minmax(0, 1fr) 78px;
    gap: 8px;
    align-items: center;
    min-height: 148px;
    padding: 10px;
    border-radius: 16px;
  }

  .vertical-restaurant-card .zomato-image {
    width: 96px;
    height: 94px;
    border-radius: 12px;
    background: #f4f5f7;
  }

  .vertical-restaurant-card .zomato-image img,
  .cart-item-card img {
    width: 96px;
    height: 94px;
    min-height: 0;
  }

  .menu-image-wrap {
    width: 96px;
    height: 94px;
    aspect-ratio: auto;
    border-radius: 14px;
  }

  .menu-item-image {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 11px;
  }

  .menu-image-badge {
    left: 6px;
    bottom: 6px;
    padding: 5px 7px;
    font-size: .68rem;
  }

  .menu-image-badge::before {
    width: 10px;
    height: 10px;
    box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .86);
  }

  .menu-food-badge {
    display: none;
  }

  .menu-item-body {
    gap: 5px;
  }

  .menu-item-body h2 {
    font-size: .98rem;
    line-height: 1.1;
  }

  .menu-item-body p {
    font-size: .8rem;
    line-height: 1.32;
    -webkit-line-clamp: 2;
  }

  .menu-item-meta {
    gap: 5px;
  }

  .menu-item-meta .rating-pill {
    gap: 4px;
  }

  .menu-item-meta .rating-pill b {
    min-height: 22px;
    padding: 0 7px;
    font-size: .72rem;
  }

  .menu-item-meta .rating-pill small {
    max-width: 78px;
    overflow: hidden;
    font-size: .67rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    justify-items: stretch;
  }

  .menu-item-actions {
    grid-column: auto;
    display: grid;
    align-items: center;
    justify-items: end;
    justify-content: end;
    gap: 7px;
  }

  .menu-item-actions > strong {
    font-size: .92rem;
  }

  .menu-item-actions .btn-pj {
    min-width: 72px;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 12px;
    font-size: .86rem;
    gap: 5px;
  }

  .menu-item-actions .btn-pj::before {
    font-size: 1.1rem;
  }

  .qty-stepper {
    grid-template-columns: 24px 28px 24px;
    min-height: 32px;
    border-radius: 11px;
  }

  .qty-stepper button {
    width: 24px;
    height: 32px;
    font-size: 1.05rem;
  }

  .qty-stepper strong {
    font-size: .82rem;
  }

  .restaurant-menu-tools {
    top: 78px;
  }

  .cart-title,
  .order-detail-hero {
    align-items: flex-start;
    flex-direction: column;
  }

  .cart-title {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    align-items: center;
    padding: 14px;
    border-radius: 22px;
  }

  .cart-title::before {
    width: 46px;
    height: 46px;
    border-radius: 15px;
  }

  .cart-title::after {
    left: 23px;
    top: 25px;
    width: 22px;
    height: 22px;
  }

  .cart-title h1 {
    font-size: 1.45rem;
  }

  .cart-title p {
    max-width: 100%;
    font-size: .86rem;
  }

  .cart-title .btn {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    padding: 10px 14px;
    text-align: center;
  }

  .cart-item-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 20px;
  }

  .cart-item-main h2,
  .cart-item-main h3 {
    font-size: .96rem;
  }

  .cart-item-main p {
    display: -webkit-box;
    overflow: hidden;
    font-size: .78rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .cart-item-main > strong {
    min-height: 30px;
    padding: 5px 10px;
    font-size: .92rem;
  }

  .cart-item-actions {
    gap: 10px;
  }

  .cart-item-actions form:last-child .btn {
    min-height: 32px;
    padding: 5px 12px;
  }

  .checkout-summary-card {
    position: relative;
    top: auto;
    border-radius: 22px;
  }

  .checkout-summary-card h2 {
    font-size: 1.22rem;
  }

  .checkout-summary-card > .bill-total strong {
    font-size: 1.18rem;
  }

  .checkout-payment-options {
    grid-template-columns: 1fr;
    gap: 8px;
    margin: 12px 0;
  }

  .checkout-payment-option {
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 16px;
  }

  .checkout-payment-option b {
    font-size: .9rem;
  }

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

  .customer-eta-popup {
    bottom: 92px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    border-radius: 22px;
  }

  .customer-eta-close {
    top: -8px;
    right: -4px;
  }

  .customer-eta-main strong {
    white-space: normal;
  }

  .customer-eta-side {
    grid-template-columns: 1fr auto;
    align-items: center;
    justify-items: start;
    padding-left: 58px;
  }

  .customer-eta-side small {
    grid-column: 1 / -1;
  }

  .delivery-delay-form {
    grid-template-columns: 1fr;
  }

  .delivery-rating-head {
    flex-direction: column;
  }

  .payment-chip {
    max-width: 100%;
    padding: 6px 9px;
  }

  .payment-chip small {
    white-space: normal;
    text-align: inherit;
  }

  .order-history-side {
    justify-items: start;
    text-align: left;
  }

  .cod-qr-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cod-qr-grid {
    grid-template-columns: 1fr;
  }

  .cod-qr-box img {
    width: min(100%, 260px);
  }
}

@media (max-width: 820px) {
  .app-product-strip {
    grid-auto-columns: minmax(520px, calc(100vw - 28px));
  }
}

@media (max-width: 640px) {
  .app-product-strip {
    grid-auto-columns: minmax(330px, calc(100vw - 28px));
  }

  .home-product-card {
    grid-template-columns: 96px minmax(0, 1fr) 76px;
    gap: 8px;
    min-height: 148px;
    padding: 10px;
    border-radius: 16px;
  }

  .home-product-card .menu-image-wrap {
    width: 96px;
    height: 94px;
    aspect-ratio: auto;
    border-radius: 14px;
  }

  .home-product-card .menu-item-image {
    border-radius: 11px;
  }

  .home-product-card .menu-image-badge {
    left: 6px;
    bottom: 6px;
    padding: 5px 7px;
    font-size: .68rem;
  }

  .home-product-card .menu-food-badge {
    display: none;
  }

  .home-product-card .menu-item-body {
    gap: 5px;
  }

  .home-product-card .menu-item-body small {
    font-size: .68rem;
  }

  .home-product-card .menu-item-body h3 {
    font-size: .96rem;
    line-height: 1.1;
  }

  .home-product-card .menu-item-body p {
    font-size: .78rem;
    line-height: 1.3;
  }

  .home-product-card .menu-item-body .rating-pill b {
    min-height: 22px;
    padding: 0 7px;
    font-size: .72rem;
  }

  .home-product-card .menu-item-body .rating-pill small {
    max-width: 58px;
    overflow: hidden;
    font-size: .66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .home-product-card .menu-item-actions {
    gap: 7px;
    justify-items: end;
  }

  .home-product-card .menu-item-actions > strong {
    font-size: .9rem;
  }

  .home-product-card .menu-item-actions .btn-pj {
    min-width: 70px;
    min-height: 36px;
    padding: 7px 10px;
    border-radius: 12px;
    font-size: .84rem;
    gap: 5px;
  }

  .home-product-card .menu-item-actions .btn-pj::before {
    font-size: 1.1rem;
  }

  .restaurant-showcase-card {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
    min-height: 0;
    padding: 11px;
    border-radius: 18px;
  }

  .restaurant-showcase-card .zomato-image {
    width: 132px;
    height: 184px;
    min-height: 184px;
    border-radius: 16px 28px 28px 16px;
    background: #ff7a17;
    clip-path: polygon(0 0, 96% 0, 88% 100%, 0 100%);
    box-shadow: none;
  }

  .restaurant-showcase-card .zomato-image img {
    width: calc(100% - 7px);
    height: 100%;
    min-height: 184px;
    object-fit: fill;
    border-radius: 15px 24px 24px 15px;
    clip-path: polygon(0 0, 96% 0, 88% 100%, 0 100%);
    filter: none !important;
    opacity: 1 !important;
    box-shadow: none !important;
  }

  .restaurant-showcase-card .restaurant-status-badge {
    top: 9px !important;
    left: 9px !important;
    bottom: auto !important;
    right: auto !important;
    gap: 6px;
    padding: 8px 10px;
    font-size: .72rem;
    background: rgba(9, 74, 31, .88) !important;
    box-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .restaurant-showcase-card .restaurant-status-badge i {
    width: 10px;
    height: 10px;
  }

  .restaurant-showcase-card .restaurant-time-badge {
    left: 9px !important;
    bottom: 9px !important;
    top: auto !important;
    right: auto !important;
    gap: 5px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: .74rem;
    box-shadow: none !important;
    opacity: 1 !important;
    filter: none !important;
  }

  .restaurant-showcase-card .restaurant-time-badge::before {
    width: 13px;
    height: 13px;
    border-width: 2px;
  }

  .restaurant-showcase-card .zomato-body {
    align-content: center;
    justify-items: stretch;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 2px 0;
    text-align: center;
  }

  .restaurant-showcase-card .zomato-body > div.restaurant-rating-line {
    justify-content: center;
    width: 100%;
  }

  .restaurant-showcase-card .rating-pill {
    gap: 5px;
  }

  .restaurant-showcase-card .rating-pill b {
    min-height: 24px;
    padding: 0 8px;
    border-radius: 10px;
    font-size: .68rem;
  }

  .restaurant-showcase-card .rating-pill small {
    max-width: 76px;
    overflow: hidden;
    font-size: .66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .restaurant-showcase-card .zomato-body h3 {
    width: 100%;
    font-size: 1rem;
    line-height: 1.08;
    text-align: center;
  }

  .restaurant-showcase-card.has-short-name .zomato-body h3 {
    font-size: 1.34rem;
    line-height: 1;
  }

  .restaurant-showcase-card.has-short-name .zomato-body {
    gap: 9px;
  }

  .restaurant-card-divider {
    width: 74px;
    height: 10px;
    margin: 0 auto;
  }

  .restaurant-card-divider::before,
  .restaurant-card-divider::after {
    width: 28px;
  }

  .restaurant-showcase-card .zomato-body footer {
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px 0;
    width: 100%;
    padding: 2px 0 7px;
  }

  .restaurant-showcase-card .zomato-body footer span {
    gap: 4px;
    padding: 0 6px;
    font-size: .66rem;
  }

  .restaurant-showcase-card .view-menu-cta {
    width: 100% !important;
    min-width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: .86rem;
  }

  .restaurant-showcase-card .view-menu-cta span {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 640px) {
  .gold-flash-banner {
    min-height: 245px;
    margin: 6px 0 18px;
    padding: 26px 22px 44px;
    border-radius: 20px;
    background:
      linear-gradient(90deg, rgba(20, 12, 4, .94) 0%, rgba(47, 24, 7, .72) 48%, rgba(47, 24, 7, .20) 78%),
      var(--banner-image, url('https://images.unsplash.com/photo-1513104890138-7c749659a591?auto=format&fit=crop&w=1200&q=80')) center/cover;
  }

  .gold-flash-banner .hero-banner-copy {
    max-width: 76%;
  }

  .gold-flash-banner .gold-badge {
    gap: 8px;
    padding: 8px 15px;
    font-size: .68rem;
  }

  .gold-flash-banner h2 {
    max-width: 270px;
    margin: 18px 0 9px;
    font-size: clamp(1.95rem, 10vw, 2.55rem);
  }

  .gold-flash-banner p {
    max-width: 230px;
    margin-bottom: 18px;
    font-size: .86rem;
  }

  .gold-flash-banner a {
    min-height: 44px;
    padding: 0 20px;
    font-size: .84rem;
  }

  .hero-side-arrow {
  right: 0;
    left: auto;
    width: 38px;
    height: 72px;
  }

  .hero-side-arrow::before {
    left: 13px;
    width: 14px;
    height: 14px;
    border-width: 4px;
  }

  .hero-dots {
    bottom: 14px;
    gap: 8px;
  }

  .hero-dots button,
  .hero-dots span {
    width: 8px;
    height: 8px;
  }

  .app-category-tabs .offer-tab {
    flex-basis: 176px;
    width: 176px;
    min-width: 176px;
    height: 112px;
    padding: 15px 16px;
  }

  .offer-tab b {
    font-size: 1.72rem;
  }

  .service-promo-card,
  .app-category-tabs .category-tab {
    height: 112px;
  }

  .app-category-tabs a {
    flex-basis: 96px;
    min-width: 96px;
  }

  .app-category-tabs .service-promo-card {
    flex-basis: 148px;
    min-width: 148px;
  }

  .app-category-tabs img {
    width: 54px;
    height: 54px;
  }

  .app-filter-chips a {
    min-height: 54px;
    padding: 0 18px;
    border-radius: 14px;
    font-size: .92rem;
  }
}

.gold-flash-banner .hero-side-arrow {
  position: absolute;
  top: 50%;
  right: 0;
  left: auto;
  transform: translateY(-50%);
}

.gold-flash-banner .hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
}

@media (max-width: 640px) {
  .gold-flash-banner .hero-side-arrow {
    right: 0;
    left: auto;
    width: 38px;
    height: 72px;
  }

  .gold-flash-banner .hero-dots {
    bottom: 14px;
  }
}

[hidden],
.is-hidden-by-veg,
[data-food-type][hidden],
[data-has-veg][hidden],
[data-food-type].is-hidden-by-veg,
[data-has-veg].is-hidden-by-veg {
  display: none !important;
}
