:root {
  --brand: #d71920;
  --brand-dark: #b31319;
  --brand-soft: #fff1f1;
  --whatsapp: #25d366;
  --whatsapp-dark: #128c4a;
  --track: #ffc107;
  --track-dark: #8a6100;
  --track-soft: #fff7d6;
  --gold: #ffd166;
  --gold-strong: #ffe066;
  --gold-soft: #fff0bd;
  --bg: #f7f7f8;
  --surface: #ffffff;
  --line: #e9e9ec;
  --ink: #222222;
  --muted: #6f6f75;
  --open: #198754;
  --shadow: 0 12px 32px rgba(24, 24, 27, 0.08);
  --shadow-soft: 0 8px 20px rgba(24, 24, 27, 0.05);
  --shadow-red: 0 18px 40px rgba(215, 25, 32, 0.14);
}

* {
  letter-spacing: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 190px;
}

body {
  background:
    radial-gradient(circle at 12% 2%, rgba(255, 34, 44, 0.34), transparent 28%),
    radial-gradient(circle at 86% 6%, rgba(255, 209, 102, 0.14), transparent 24%),
    radial-gradient(circle at 50% 18%, rgba(179, 19, 25, 0.34), transparent 35%),
    linear-gradient(rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.052) 1px, transparent 1px),
    linear-gradient(180deg, #18090a 0%, #3a1013 38%, #f7f7f8 38%, #ffffff 100%);
  background-size: auto, auto, auto, 26px 26px, 26px 26px, auto;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

.site-notice-overlay {
  align-items: center;
  background:
    radial-gradient(circle at 18% 14%, rgba(215, 25, 32, 0.32), transparent 28%),
    radial-gradient(circle at 78% 24%, rgba(255, 209, 102, 0.12), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    rgba(7, 6, 6, 0.96);
  background-size: auto, auto, 26px 26px, 26px 26px, auto;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 2000;
}

.site-notice-overlay.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.01);
  transition: opacity 220ms ease, transform 220ms ease;
}

.site-notice-card {
  animation: noticeEnter 420ms ease both;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 245, 224, 0.96)),
    #fff;
  border: 1px solid rgba(255, 209, 102, 0.42);
  border-radius: 28px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  color: var(--ink);
  max-width: 520px;
  overflow: hidden;
  padding: 30px;
  position: relative;
  text-align: center;
  width: min(100%, 520px);
}

.site-notice-card::before {
  background: linear-gradient(90deg, var(--brand), var(--gold), var(--brand));
  content: "";
  height: 5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.site-notice-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 20px;
  box-shadow: 0 16px 34px rgba(215, 25, 32, 0.22);
  color: #fff;
  display: inline-flex;
  font-size: 1.55rem;
  height: 58px;
  justify-content: center;
  margin-bottom: 16px;
  width: 58px;
}

.site-notice-card small {
  color: var(--track-dark);
  display: block;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-notice-card h2 {
  font-size: clamp(1.55rem, 6vw, 2.2rem);
  font-weight: 900;
  margin: 8px 0 10px;
}

.site-notice-card p {
  color: #3b3131;
  font-size: 1.02rem;
  line-height: 1.55;
  margin: 0 auto 22px;
  max-width: 420px;
}

.site-notice-button {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: 0;
  border-radius: 16px;
  box-shadow: 0 16px 30px rgba(215, 25, 32, 0.26);
  color: #fff;
  font-weight: 900;
  min-height: 50px;
  padding: 12px 26px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.site-notice-button:hover,
.site-notice-button:focus {
  box-shadow: 0 20px 38px rgba(215, 25, 32, 0.34);
  transform: translateY(-2px) scale(1.02);
}

a {
  color: var(--brand);
}

.btn-primary {
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  border-radius: 12px;
  font-weight: 700;
  min-height: 46px;
}

.app-navbar {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.navbar-toggler {
  border: 0;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: 0;
}

.navbar-toggler:focus-visible {
  box-shadow: 0 0 0 2px rgba(34, 34, 34, 0.18);
  outline: 0;
}

.navbar-toggler-icon {
  background-image: none;
  height: 2px;
  position: relative;
  width: 24px;
}

.navbar-toggler-icon,
.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  background: var(--ink);
  border-radius: 99px;
  display: block;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 24px;
}

.navbar-toggler-icon::before {
  top: -7px;
}

.navbar-toggler-icon::after {
  top: 7px;
}

.brand-lockup {
  align-items: center;
  color: var(--ink);
  display: inline-flex;
  gap: 10px;
  text-decoration: none;
}

.brand-lockup:hover {
  color: var(--ink);
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
  line-height: 1.1;
}

.brand-lockup strong {
  font-size: 1rem;
  font-weight: 800;
}

.brand-lockup small {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 500;
  margin-top: 3px;
}

.brand-mark {
  align-items: center;
  background: var(--brand);
  border-radius: 12px;
  color: #fff;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.brand-logo {
  background: #151313;
  box-shadow: 0 8px 18px rgba(24, 24, 27, 0.12);
  overflow: hidden;
}

.brand-logo img {
  display: block;
  height: 100%;
  object-fit: contain;
  padding: 3px;
  width: 100%;
}

.nav-link {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  position: relative;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand);
}

.nav-link.is-active {
  background: var(--brand-soft);
  border-color: rgba(215, 25, 32, 0.22);
  box-shadow: 0 10px 22px rgba(215, 25, 32, 0.12);
  color: var(--brand);
}

.nav-link.is-active::after {
  background: currentColor;
  border-radius: 999px;
  bottom: 3px;
  content: "";
  height: 2px;
  left: .9rem;
  position: absolute;
  right: .9rem;
}

.nav-login {
  border: 1px solid var(--brand);
  border-radius: 999px;
  margin-left: 1.25rem;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

.nav-cart-item {
  margin-right: .8rem;
}

.nav-cart-item .nav-link {
  border: 1px solid var(--brand);
  border-radius: 999px;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
}

@media (max-width: 991.98px) {
  .app-navbar .navbar-collapse .navbar-nav {
    align-items: flex-start;
    gap: 14px;
    margin-left: 0 !important;
    padding: 12px 0 16px;
  }

  .app-navbar .navbar-collapse .navbar-nav > .nav-item {
    align-self: flex-start;
    margin: 0;
  }

  .app-navbar .navbar-collapse .navbar-nav .nav-link {
    align-items: center;
    display: inline-flex;
    font-size: .9rem;
    margin: 0;
    min-height: 38px;
    padding: 6px 12px !important;
    width: auto;
  }

  .app-navbar .navbar-collapse .navbar-nav > .nav-item > form {
    margin: 0;
  }
}

.app-main {
  flex: 1 0 auto;
  max-width: 1120px;
  padding-bottom: 96px !important;
}

.order-hero {
  align-items: start;
  background:
    linear-gradient(135deg, rgba(255, 241, 241, 0.95), rgba(255, 255, 255, 0.96) 46%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
  margin-top: 8px;
  overflow: hidden;
  padding: 18px;
  position: relative;
  isolation: isolate;
}

.order-hero::after {
  background: radial-gradient(circle, rgba(215, 25, 32, 0.13), transparent 62%);
  content: "";
  height: 180px;
  position: absolute;
  right: -70px;
  top: -70px;
  width: 180px;
  z-index: -1;
}

.hero-copy h1 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.08;
  margin: 8px 0;
}

.hero-copy p {
  color: var(--muted);
  font-size: .98rem;
  font-weight: 800;
  margin: 0;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-action {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  display: inline-flex;
  font-size: .88rem;
  font-weight: 800;
  gap: 8px;
  min-height: 44px;
  padding: 10px 13px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.quick-action i {
  color: var(--brand);
}

.quick-action.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.quick-action-whatsapp {
  border-color: rgba(37, 211, 102, 0.82);
  border-width: 2px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.14);
  color: #0f5132;
}

.quick-action-whatsapp i {
  color: var(--whatsapp-dark);
}

.quick-action-whatsapp:hover,
.quick-action-whatsapp:focus {
  border-color: #25d366;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.22);
  color: #0f5132;
}

.quick-action-track {
  background: var(--track-soft);
  border-color: rgba(255, 193, 7, 0.5);
  color: #332500;
}

.quick-action-track i {
  color: var(--track-dark);
}

.quick-action-map {
  border-color: rgba(14, 165, 233, 0.82);
  border-width: 2px;
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.13);
  color: #075985;
}

.quick-action-map i {
  color: #0284c7;
}

.quick-action-map:hover,
.quick-action-map:focus {
  border-color: #38bdf8;
  box-shadow: 0 12px 28px rgba(14, 165, 233, 0.22);
  color: #075985;
}

.quick-action.primary i {
  color: #fff;
}

.quick-action:hover,
.quick-action:focus {
  border-color: #ffd0d2;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  transform: translateY(-2px) scale(1.015);
}

.quick-action.primary:hover,
.quick-action.primary:focus {
  background: var(--brand-dark);
  color: #fff;
}

.status-card {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 230, 0.82)),
    #fff;
  border: 1px solid rgba(215, 25, 32, 0.18);
  border-left: 5px solid var(--brand);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(24, 24, 27, 0.08);
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 780px;
  padding: 12px;
}

.status-card.is-open {
  border-color: rgba(25, 135, 84, 0.28);
  border-left-color: var(--open);
}

.status-card.is-closed {
  border-color: rgba(215, 25, 32, 0.3);
  border-left-color: var(--brand);
}

.status-main,
.status-chip {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.status-main {
  background: #fff;
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(24, 24, 27, 0.06);
  color: var(--ink);
  font-size: .9rem;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 11px;
}

.status-chip {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(24, 24, 27, 0.08);
  border-radius: 999px;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 800;
  min-height: 38px;
  padding: 8px 11px;
}

.status-chip i {
  color: var(--brand);
  font-size: .95rem;
}

.status-card.is-open .status-chip i {
  color: var(--open);
}

.status-dot {
  border-radius: 999px;
  display: inline-block;
  flex: 0 0 auto;
  height: 12px;
  width: 12px;
}

.status-dot.open {
  background: var(--open);
  box-shadow: 0 0 0 5px rgba(25, 135, 84, 0.14), 0 0 18px rgba(25, 135, 84, 0.32);
}

.status-dot.closed {
  background: var(--brand);
  box-shadow: 0 0 0 5px rgba(215, 25, 32, 0.14), 0 0 18px rgba(215, 25, 32, 0.32);
}

.service-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  justify-items: center;
  margin-bottom: 16px;
}

.service-actions a {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  display: flex;
  gap: 12px;
  min-height: 70px;
  padding: 13px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  width: min(100%, 360px);
}

.service-actions a:hover,
.service-actions a:focus {
  border-color: #ffd0d2;
  box-shadow: var(--shadow);
  transform: translateY(-3px) scale(1.015);
}

.service-actions i {
  align-items: center;
  background: var(--brand-soft);
  border-radius: 14px;
  color: var(--brand);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 1.15rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.service-map {
  border-color: rgba(25, 135, 84, 0.22) !important;
}

.service-map i {
  background: rgba(25, 135, 84, 0.11);
  color: #147146;
}

.service-actions span {
  display: grid;
  line-height: 1.2;
}

.service-actions strong {
  font-size: .92rem;
  font-weight: 800;
}

.service-actions small {
  color: var(--muted);
  font-size: .78rem;
  margin-top: 3px;
}

.category-shell {
  background: rgba(21, 19, 19, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.18);
  margin: 0 0 24px;
  overflow: hidden;
  padding: 6px;
  position: sticky;
  top: 68px;
  backdrop-filter: blur(16px);
  z-index: 10;
}

.category-shell::before,
.category-shell::after {
  content: "";
  height: 100%;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 22px;
  z-index: 2;
}

.category-shell::before {
  background: linear-gradient(90deg, rgba(21, 19, 19, 0.92), transparent);
  left: 0;
}

.category-shell::after {
  background: linear-gradient(270deg, rgba(21, 19, 19, 0.92), transparent);
  right: 0;
}

.category-strip {
  background: transparent;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0 auto;
  max-width: 760px;
  overflow-x: auto;
  padding: 4px 18px;
  position: relative;
  scrollbar-width: none;
  z-index: 1;
}

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

.category-pill {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .86rem;
  font-weight: 800;
  gap: 9px;
  min-height: 52px;
  padding: 8px 13px 8px 8px;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.category-pill::after {
  background: transparent;
  border-radius: 999px;
  bottom: 5px;
  content: "";
  height: 3px;
  left: 18px;
  position: absolute;
  right: 18px;
  transition: background 180ms ease, opacity 180ms ease;
}

.category-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  color: #ffd7d9;
  display: inline-flex;
  flex: 0 0 36px;
  height: 36px;
  justify-content: center;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: 36px;
}

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

.category-pill:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.12);
  color: #fff;
  transform: translateY(-3px) scale(1.025);
}

.category-pill:hover .category-icon {
  background: var(--brand);
  color: #fff;
  transform: rotate(-4deg) scale(1.05);
}

.category-pill.active,
.category-pill:focus {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: rgba(215, 25, 32, 0.7);
  box-shadow: 0 16px 32px rgba(215, 25, 32, 0.22);
  color: #fff;
}

.category-pill.active::after,
.category-pill:focus::after {
  background: rgba(255, 255, 255, 0.75);
}

.category-pill.active .category-icon,
.category-pill:focus .category-icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.menu-section {
  margin-bottom: 26px;
  scroll-margin-top: 190px;
}

.featured-menu-panel {
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 209, 102, 0.12), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(215, 25, 32, 0.22), transparent 28%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, #070303 0%, #150607 48%, #2b0b0e 100%);
  background-size: auto, auto, 22px 22px, 22px 22px, auto;
  border: 1px solid rgba(255, 209, 102, 0.18);
  border-radius: 26px;
  box-shadow: 0 28px 70px rgba(23, 8, 9, 0.24);
  overflow: hidden;
  padding: 22px 14px 16px;
  position: relative;
}

.featured-menu-panel::before {
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.5), transparent);
  content: "";
  height: 1px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 0;
}

.featured-menu-panel .section-heading h2 {
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
}

.featured-menu-panel .section-heading p {
  color: var(--gold-strong);
  font-weight: 800;
}

.section-heading {
  align-items: flex-end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.centered-heading {
  justify-content: center;
  text-align: center;
}

.centered-heading > div {
  max-width: 860px;
  width: 100%;
}

.section-heading h2 {
  font-size: 1.34rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.section-heading p {
  color: var(--muted);
  font-size: .92rem;
  margin: 0;
}

.daily-menu-lines {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin: 12px auto 0;
  max-width: 860px;
  text-align: left;
  width: 100%;
}

.featured-menu-panel .daily-menu-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.2);
  border-radius: 12px;
  color: #fff7dd;
  display: block;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
  padding: 8px 11px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.daily-menu-item dt {
  color: var(--gold-strong);
  display: block;
  font-weight: 900;
  margin-bottom: 2px;
}

.daily-menu-item dd {
  margin: 0;
}

.daily-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin: 0 auto 18px;
  max-width: 760px;
}

.daily-tags span {
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 209, 102, 0.38);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 11px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}

.product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 320px);
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 320px;
}

.product-card {
  align-items: stretch;
  background: var(--surface);
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: 18px;
  box-sizing: border-box;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  min-height: 268px;
  min-width: 0;
  overflow: hidden;
  padding: 14px;
  position: relative;
  text-align: center;
  transform-origin: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  will-change: transform;
}

.product-card:hover {
  animation: none;
  border-color: rgba(215, 25, 32, 0.42);
  box-shadow: 0 22px 46px rgba(215, 25, 32, 0.2);
  transform: translateY(-4px) !important;
  z-index: 3;
}

.product-card:focus-within {
  animation: none;
  border-color: rgba(215, 25, 32, 0.48);
  box-shadow: 0 22px 46px rgba(215, 25, 32, 0.18);
  transform: translateY(-3px) !important;
  z-index: 3;
}

.featured-menu-panel .product-card {
  border-color: rgba(255, 209, 102, 0.22);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.featured-menu-panel .product-card:hover {
  border-color: rgba(255, 209, 102, 0.62);
  box-shadow: 0 24px 52px rgba(215, 25, 32, 0.24), 0 0 0 1px rgba(255, 209, 102, 0.16);
}

.menu-extras-grid {
  display: grid;
  gap: 18px;
  margin: 22px auto 6px;
  max-width: 1280px;
}

.menu-extra-group {
  scroll-margin-top: 190px;
}

.menu-extra-group .section-heading {
  margin-bottom: 10px;
}

.menu-extra-group .section-heading h2 {
  color: #fff;
  font-size: 1.08rem;
}

.menu-extra-group .section-heading p {
  color: var(--gold-strong);
  font-size: .84rem;
  font-weight: 800;
}

.mini-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(0, 320px));
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 320px;
}

.mini-product-card {
  align-items: stretch;
  background: var(--surface);
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  min-height: 268px;
  padding: 14px;
  text-align: center;
  transform-origin: center;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  width: 100%;
}

.mini-product-card:hover {
  border-color: rgba(255, 209, 102, 0.62);
  box-shadow: 0 24px 52px rgba(215, 25, 32, 0.22), 0 0 0 1px rgba(255, 209, 102, 0.14);
  transform: translateY(-6px) scale(1.035);
}

.mini-product-icon {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.12), rgba(255, 209, 102, 0.28)),
    radial-gradient(circle at 35% 34%, #fff2d4 0 18%, transparent 19%),
    radial-gradient(circle at 62% 56%, #88bd78 0 17%, transparent 18%),
    radial-gradient(circle at 42% 68%, #b5483e 0 22%, transparent 23%),
    #fff8e8;
  border-radius: 14px;
  color: var(--brand);
  display: flex;
  font-size: 2rem;
  font-weight: 900;
  aspect-ratio: 16 / 10;
  min-height: 132px;
  justify-content: center;
  overflow: hidden;
  text-transform: uppercase;
  transition: transform 220ms ease;
  width: 100%;
}

.mini-product-card:hover .mini-product-icon {
  transform: none;
}

.image-disclaimer {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.2;
  margin: -6px 0 2px;
  opacity: .72;
  text-align: center;
}

.mini-product-card h3 {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.mini-product-card p {
  color: var(--muted);
  display: -webkit-box;
  font-size: .88rem;
  line-height: 1.35;
  margin: 0 0 8px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-product-card strong {
  color: var(--brand);
  display: block;
  font-size: 1.12rem;
  font-weight: 900;
}

.mini-product-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  min-width: 0;
  width: 100%;
}

.mini-product-card form {
  margin-top: 10px;
}

.mini-buy-button {
  min-width: 100%;
}

.product-photo {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.06), rgba(255, 193, 7, 0.12)),
    radial-gradient(circle at 35% 34%, #fff2d4 0 18%, transparent 19%),
    radial-gradient(circle at 62% 56%, #88bd78 0 17%, transparent 18%),
    radial-gradient(circle at 42% 68%, #b5483e 0 22%, transparent 23%),
    #f2f2f3;
  border-radius: 14px;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  aspect-ratio: 16 / 10;
  max-width: 100%;
  min-height: 132px;
  min-width: 0;
  overflow: hidden;
  transition: transform 220ms ease;
  width: 100%;
}

.product-card:hover .product-photo,
.product-card:focus-within .product-photo {
  transform: none;
}

.product-photo span {
  align-items: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--brand);
  display: inline-flex;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.product-photo img,
.mini-product-icon img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
  width: 100%;
}

.product-card:hover .product-photo img,
.product-card:focus-within .product-photo img,
.mini-product-card:hover .mini-product-icon img,
.mini-product-card:focus-within .mini-product-icon img {
  transform: scale(1.045);
}

.product-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 0;
  width: 100%;
}

.product-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px;
}

.product-content p {
  color: var(--muted);
  display: -webkit-box;
  font-size: .88rem;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-content .product-description {
  color: #5f5146;
  font-weight: 650;
}

.product-actions {
  align-items: center;
  display: grid;
  gap: 12px;
  justify-items: center;
  margin-top: 14px;
  width: 100%;
}

.price-block {
  justify-items: center;
  display: grid;
  line-height: 1.05;
}

.price-block small {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.featured-menu-panel .price-block small {
  color: #7c672f;
}

.product-actions strong,
.price-block strong {
  color: var(--brand);
  font-size: 1.12rem;
  font-weight: 800;
  white-space: nowrap;
}

.card-order-form {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(255, 244, 219, 0.92));
  border: 1px solid rgba(215, 25, 32, 0.1);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding: 10px;
  width: 100%;
}

.card-qty-label {
  color: var(--muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.card-order-row {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(100px, 112px) minmax(0, 1fr);
  width: 100%;
}

.card-order-row .btn-add {
  min-width: 0;
}

.form-label {
  color: var(--ink);
  font-weight: 700;
}

.btn-add {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border: 0;
  border-radius: 14px;
  color: #fff;
  display: inline-flex;
  font-size: .88rem;
  font-weight: 800;
  gap: 5px;
  justify-content: center;
  min-height: 42px;
  padding: 9px 12px;
  box-shadow: 0 10px 18px rgba(215, 25, 32, 0.18);
  transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
  min-width: 128px;
}

.product-card .btn-add {
  width: 100%;
}

.btn-add:hover,
.btn-add:focus {
  background: linear-gradient(135deg, var(--brand-dark), #8f1015);
  box-shadow: 0 14px 24px rgba(215, 25, 32, 0.26);
  transform: translateY(-2px) scale(1.02);
}

.btn-add.just-added {
  animation: addPulse 220ms ease;
}

.btn-add.is-added,
.btn-add.is-added:hover,
.btn-add.is-added:focus {
  background: linear-gradient(135deg, #17834a, #0f5f35);
  box-shadow: 0 12px 22px rgba(23, 131, 74, 0.24);
  color: #fff;
}

.btn-add-closed,
.btn-add-closed:hover,
.btn-add-closed:focus {
  background: linear-gradient(135deg, #6f6f75, #3d3d42);
  box-shadow: none;
  cursor: not-allowed;
  opacity: .82;
  transform: none;
}

.product-sheet .modal-content {
  border: 0;
  border-radius: 20px;
}

.product-sheet .modal-header,
.product-sheet .modal-footer {
  border: 0;
}

.product-sheet .modal-title {
  font-weight: 800;
}

.product-sheet .modal-header span {
  color: var(--brand);
  display: block;
  font-weight: 800;
  margin-top: 3px;
}

.qty-control {
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  overflow: hidden;
}

.qty-control button {
  background: #fff;
  border: 0;
  color: var(--brand);
  font-size: 1.5rem;
  font-weight: 800;
  min-height: 52px;
}

.qty-control input {
  background: transparent;
  border: 0;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
}

.qty-control input:focus {
  box-shadow: none;
}

.card-qty-control {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(215, 25, 32, 0.16);
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 209, 102, 0.18);
  grid-template-columns: 32px 1fr 32px;
  min-height: 42px;
}

.card-qty-control button {
  background: transparent;
  color: var(--brand);
  font-size: 1.05rem;
  min-height: 42px;
  padding: 0;
}

.card-qty-control input {
  color: var(--ink);
  font-size: .98rem;
  min-width: 0;
  padding: 0;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.12);
}

.floating-cart {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 16px;
  bottom: 16px;
  box-shadow: 0 16px 36px rgba(179, 19, 25, 0.28);
  color: #fff;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto auto;
  left: 12px;
  margin: 0 auto;
  max-width: 680px;
  min-height: 58px;
  padding: 12px 14px;
  position: fixed;
  right: 12px;
  text-decoration: none;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  z-index: 1040;
}

.floating-cart.is-empty {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.floating-cart.is-updated {
  box-shadow: 0 20px 46px rgba(179, 19, 25, 0.38);
  transform: translateY(-3px);
}

.floating-cart:hover {
  color: #fff;
}

.floating-cart span,
.floating-cart strong {
  font-weight: 800;
}

.floating-cart-action {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 8px 10px;
}

.cart-page {
  display: grid;
  gap: 18px;
}

.cart-hero {
  background:
    radial-gradient(circle at 92% 8%, rgba(255, 209, 102, 0.2), transparent 28%),
    linear-gradient(135deg, rgba(255, 241, 241, 0.95), rgba(255, 255, 255, 0.98));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
  overflow: hidden;
  padding: 18px;
  position: relative;
}

.cart-back-link,
.cart-secondary-button {
  align-items: center;
  color: var(--brand);
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  text-decoration: none;
}

.cart-back-link:hover,
.cart-secondary-button:hover {
  color: var(--brand-dark);
}

.cart-eyebrow,
.cart-summary-label {
  color: #80652a;
  display: block;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cart-hero h1 {
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.05;
  margin: 4px 0;
}

.cart-hero p,
.cart-summary p,
.cart-empty-state p {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}

.cart-layout {
  display: grid;
  gap: 16px;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(23, 8, 9, 0.08);
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr;
  padding: 14px;
}

.cart-item-quantity {
  align-items: center;
  background: #fff4db;
  border: 1px solid rgba(255, 209, 102, 0.56);
  border-radius: 14px;
  color: var(--brand);
  display: inline-flex;
  font-size: .95rem;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 52px;
}

.cart-item-main {
  min-width: 0;
}

.cart-item-main h2 {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 3px;
}

.cart-item-main p {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.cart-item-side {
  align-items: end;
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}

.cart-item-side strong {
  color: var(--brand);
  font-size: 1.12rem;
  font-weight: 900;
}

.cart-remove-button {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(215, 25, 32, 0.18);
  border-radius: 12px;
  color: var(--brand);
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  gap: 6px;
  min-height: 38px;
  padding: 7px 10px;
}

.cart-remove-button:hover,
.cart-remove-button:focus {
  background: #fff1f1;
  color: var(--brand-dark);
}

.cart-summary,
.cart-empty-state {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 244, 219, 0.94));
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  padding: 16px;
}

.cart-summary strong {
  color: var(--brand);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.cart-checkout-button {
  align-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.22);
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 50px;
  padding: 12px 16px;
  text-decoration: none;
}

.cart-checkout-button:hover,
.cart-checkout-button:focus {
  color: #fff;
  transform: translateY(-1px);
}

.cart-secondary-button {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 14px;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
}

.cart-add-more-button {
  border-color: rgba(128, 101, 42, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.66);
}

.cart-add-more-button:hover,
.cart-add-more-button:focus {
  border-color: rgba(215, 25, 32, 0.28);
}

.cart-empty-state {
  justify-items: center;
  margin: 0 auto;
  max-width: 520px;
  padding: 28px 18px;
  text-align: center;
}

.cart-empty-state > span {
  align-items: center;
  background: #fff4db;
  border-radius: 18px;
  color: var(--brand);
  display: inline-flex;
  font-size: 1.7rem;
  height: 64px;
  justify-content: center;
  width: 64px;
}

.cart-empty-state h2 {
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0;
}

.checkout-page {
  display: grid;
  gap: 18px;
}

.checkout-hero {
  background:
    radial-gradient(circle at 90% 8%, rgba(255, 209, 102, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 241, 241, 0.96), rgba(255, 255, 255, 0.98));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.checkout-hero h1 {
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.05;
  margin: 4px 0;
}

.checkout-hero p {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}

.checkout-hero .checkout-user-greeting {
  color: var(--brand-dark);
  font-weight: 900;
  margin-bottom: 4px;
}

.checkout-layout {
  display: grid;
  gap: 16px;
}

.checkout-form-panel,
.checkout-summary {
  background: var(--surface);
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 16px;
  padding: 16px;
}

.checkout-fieldset,
.checkout-saved-data {
  display: grid;
  gap: 12px;
}

.checkout-fields-grid {
  align-items: start;
  display: grid;
  gap: 12px;
}

.delivery-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.delivery-dashboard {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.delivery-dashboard .delivery-section {
  margin-bottom: 0 !important;
}

.delivery-tabs {
  display: flex;
  gap: 8px;
  margin: -2px -2px 2px;
  max-width: 100%;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.delivery-tabs a {
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(215, 25, 32, 0.14);
  border-bottom: 4px solid rgba(215, 25, 32, 0.12);
  border-radius: 14px 14px 8px 8px;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: .86rem;
  font-weight: 900;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  scroll-snap-align: start;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.delivery-tabs a strong {
  align-items: center;
  background: var(--brand-soft);
  border: 1px solid rgba(215, 25, 32, 0.18);
  border-radius: 999px;
  color: var(--brand);
  display: inline-flex;
  font-size: .78rem;
  justify-content: center;
  min-width: 28px;
  padding: 4px 8px;
}

.delivery-tabs a.is-active {
  background: #fff;
  border-color: rgba(215, 25, 32, 0.26);
  border-bottom-color: var(--brand);
  color: var(--brand-dark);
  transform: translateY(1px);
}

.delivery-tabs a.is-active strong {
  background: var(--brand);
  color: #fff;
}

.delivery-tab-panel {
  display: grid;
  gap: 14px;
}

.delivery-page-heading {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 209, 102, 0.18);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(24, 24, 27, 0.12);
  padding: 14px;
}

.delivery-page-heading h1 {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.26);
}

.delivery-page-heading p {
  color: #fff7d6;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.24);
}

.delivery-section h2 {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-left: 5px solid var(--brand);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  display: flex;
  font-size: 1rem;
  font-weight: 900;
  gap: 8px;
  line-height: 1.2;
  margin-bottom: 12px;
  padding: 12px 14px;
}

.delivery-section h2::before {
  background: var(--brand);
  border-radius: 999px;
  content: "";
  display: inline-block;
  flex: 0 0 auto;
  height: 10px;
  width: 10px;
}

.delivery-card {
  border: 1px solid rgba(215, 25, 32, 0.14);
  align-content: start;
  min-width: 0;
  overflow: hidden;
  width: 100%;
}

.delivery-card > .d-flex {
  flex-wrap: wrap;
}

.delivery-card p,
.delivery-card strong,
.delivery-card small {
  overflow-wrap: anywhere;
}

.delivery-card .btn {
  min-height: 46px;
}

.delivery-card .app-action {
  min-height: 46px;
}

.delivery-card-info {
  background: #fffafa;
  border: 1px solid rgba(215, 25, 32, 0.08);
  border-radius: 12px;
  padding: 10px;
  min-width: 0;
}

.delivery-card-info p,
.delivery-note {
  font-size: .9rem;
  line-height: 1.35;
}

.delivery-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-width: 0;
}

.delivery-card-meta .status-badge {
  max-width: 100%;
  white-space: normal;
}

.delivery-note {
  background: #fff7e4;
  border: 1px solid rgba(255, 193, 7, 0.26);
  border-radius: 12px;
  padding: 10px;
}

.delivery-history-filters {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-bottom: 14px;
  min-width: 0;
}

.delivery-history-filters label {
  display: grid;
  gap: 5px;
}

.delivery-history-filters label[hidden] {
  display: none;
}

.delivery-history-filters span {
  color: #5c4a4a;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.delivery-history-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 14px;
}

.delivery-history-summary div {
  background: #fff;
  border: 1px solid rgba(215, 25, 32, 0.1);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  min-height: 82px;
  min-width: 0;
  padding: 12px;
}

.delivery-history-summary span {
  color: #3d3333;
  display: block;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.delivery-history-summary strong {
  color: var(--brand-dark);
  display: block;
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1;
  margin-top: 8px;
}

.delivery-history-summary small {
  color: var(--muted);
  display: block;
  font-size: .76rem;
  font-weight: 800;
  margin-top: 6px;
}

.checkout-form-panel label {
  align-content: start;
  color: var(--ink);
  display: grid;
  font-size: .88rem;
  font-weight: 800;
  gap: 6px;
}

.checkout-form-panel .form-control,
.checkout-form-panel .form-select {
  background-color: #ffffff;
  border: 2px solid rgba(34, 34, 34, 0.18);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 6px 14px rgba(24, 24, 27, 0.05);
  color: var(--ink);
  font-weight: 700;
  min-height: 46px;
}

.checkout-form-panel .form-control::placeholder {
  color: #8d7777;
}

.checkout-form-panel .form-control:focus,
.checkout-form-panel .form-select:focus {
  background-color: #ffffff;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.12), 0 8px 18px rgba(24, 24, 27, 0.08);
}

.checkout-receipt-fieldset {
  background: linear-gradient(180deg, #fffdf8, #fff7e8);
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: 18px;
  padding: 14px;
}

.checkout-receipt-fieldset label {
  font-size: .98rem;
}

.checkout-payment-fieldset {
  background:
    radial-gradient(circle at 94% 0%, rgba(255, 209, 102, 0.22), transparent 34%),
    linear-gradient(180deg, #fff9ec, #fff2dc);
  border: 2px solid rgba(215, 25, 32, 0.2);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(138, 70, 0, 0.08);
  padding: 14px;
}

.checkout-payment-fieldset.is-missing {
  border-color: rgba(215, 25, 32, 0.56);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.08), 0 16px 34px rgba(215, 25, 32, 0.13);
}

.checkout-required-hint {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(215, 25, 32, 0.24);
  border-radius: 12px;
  color: var(--brand-dark);
  display: flex;
  font-size: .82rem;
  font-weight: 900;
  gap: 8px;
  line-height: 1.25;
  padding: 9px 10px;
}

.checkout-required-hint[hidden] {
  display: none;
}

.checkout-required-hint i {
  color: var(--brand);
  font-size: 1rem;
}

.checkout-type-select .form-select,
.checkout-payment-select .form-select {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.checkout-type-toggle,
.checkout-payment-options {
  background: #fff;
  border: 1px solid rgba(215, 25, 32, 0.14);
  border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr;
  padding: 6px;
}

.checkout-type-option,
.checkout-payment-option {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 12px;
  color: #4e3c3c;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.checkout-type-option:not(.is-active) {
  border-color: var(--brand);
}

.checkout-type-option i,
.checkout-payment-option i {
  color: var(--brand);
  font-size: 1.08rem;
}

.checkout-type-option.is-active,
.checkout-payment-option.is-active {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: var(--brand-dark);
  box-shadow: 0 10px 22px rgba(215, 25, 32, 0.18);
  color: #fff;
}

.checkout-type-option.is-active i,
.checkout-payment-option.is-active i {
  color: #fff;
}

.checkout-payment-option:hover,
.checkout-payment-option:focus {
  border-color: rgba(215, 25, 32, 0.28);
}

.checkout-type-option:not(.is-active):hover,
.checkout-type-option:not(.is-active):focus {
  border-color: var(--brand-dark);
}

.checkout-payment-options {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(215, 25, 32, 0.24);
  grid-template-columns: 1fr;
}

.checkout-payment-option {
  background: #fff;
  border-color: rgba(215, 25, 32, 0.18);
  box-shadow: 0 8px 18px rgba(24, 24, 27, 0.05);
}

.checkout-delivery-warning {
  align-items: flex-start;
  background: #fff8e8;
  border: 1px solid rgba(255, 193, 7, 0.42);
  border-radius: 14px;
  color: #5f4611;
  display: flex;
  font-size: .86rem;
  font-weight: 800;
  gap: 10px;
  line-height: 1.35;
  padding: 11px 12px;
}

.checkout-delivery-warning[hidden] {
  display: none;
}

.checkout-delivery-warning i {
  color: var(--track-dark);
  font-size: 1rem;
  margin-top: 1px;
}

.checkout-receipt-fieldset .form-select {
  background-color: var(--brand);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  border-color: var(--brand-dark);
  box-shadow: 0 14px 26px rgba(215, 25, 32, 0.18);
  color: #fff;
  cursor: pointer;
  min-height: 54px;
}

.checkout-receipt-fieldset .form-select:focus {
  background-color: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 0 0 4px rgba(215, 25, 32, 0.18), 0 14px 26px rgba(215, 25, 32, 0.2);
  color: #fff;
}

.checkout-receipt-fieldset .form-select option {
  background: #fff;
  color: var(--ink);
}

.checkout-field-hint {
  color: #6a4a12;
  font-size: .8rem;
  font-weight: 800;
  line-height: 1.35;
}

.checkout-form-panel textarea.form-control {
  min-height: 92px;
}

.cep-autofill-status {
  color: var(--muted);
  font-size: .76rem;
  font-weight: 700;
  min-height: 18px;
}

.cep-autofill-status[data-state="success"] {
  color: #2f7d32;
}

.cep-autofill-status[data-state="error"] {
  color: var(--brand);
}

.checkout-form-panel .errorlist {
  color: var(--brand);
  font-size: .78rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.checkout-saved-data {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 244, 219, 0.94));
  border: 1px solid rgba(255, 209, 102, 0.5);
  border-radius: 18px;
  padding: 14px;
}

.checkout-saved-data h2 {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
  margin: 4px 0 2px;
}

.checkout-saved-data p {
  color: var(--muted);
  font-weight: 800;
  margin: 0;
}

.checkout-address-card {
  align-items: start;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(215, 25, 32, 0.1);
  border-radius: 16px;
  color: var(--ink);
  display: grid;
  gap: 10px;
  grid-template-columns: auto 1fr;
  padding: 12px;
}

.checkout-address-card i {
  color: var(--brand);
  font-size: 1.2rem;
}

.checkout-address-card span {
  display: grid;
  font-weight: 800;
  gap: 2px;
}

.checkout-address-card small {
  color: var(--muted);
  font-weight: 700;
}

.checkout-address-card a {
  color: var(--brand-dark);
  font-size: .86rem;
  font-weight: 900;
  margin-top: 3px;
  text-decoration: none;
}

.checkout-address-card a:hover,
.checkout-address-card a:focus {
  color: var(--brand);
  text-decoration: underline;
}

.checkout-submit-button {
  border: 0;
  width: 100%;
}

.checkout-summary {
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.98), rgba(255, 244, 219, 0.94));
}

.checkout-summary-items,
.checkout-summary-totals {
  display: grid;
  gap: 10px;
}

.checkout-summary-items div,
.checkout-summary-totals div {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.checkout-summary-items span,
.checkout-summary-totals span {
  color: var(--ink);
  font-weight: 800;
}

.checkout-summary-items strong,
.checkout-summary-totals strong {
  color: var(--brand);
  font-weight: 900;
  white-space: nowrap;
}

.checkout-summary-totals {
  border-top: 1px solid rgba(215, 25, 32, 0.12);
  padding-top: 12px;
}

.checkout-summary-totals .checkout-summary-total {
  border-top: 1px dashed rgba(215, 25, 32, 0.22);
  margin-top: 2px;
  padding-top: 10px;
}

.checkout-summary-total span,
.checkout-summary-total strong {
  font-size: 1.02rem;
}

.checkout-signup-modal .modal-content {
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 209, 102, 0.28), transparent 34%),
    linear-gradient(135deg, #fffaf0, #fff);
  border: 1px solid rgba(215, 25, 32, 0.12);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(23, 8, 9, 0.24);
  overflow: hidden;
}

.checkout-signup-modal .modal-body {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 26px 20px 20px;
  text-align: center;
}

.checkout-signup-modal h2 {
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.05;
  margin: 0;
}

.checkout-signup-modal p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
}

.checkout-modal-icon {
  align-items: center;
  background: #fff4db;
  border: 1px solid rgba(255, 209, 102, 0.52);
  border-radius: 20px;
  color: var(--brand);
  display: inline-flex;
  font-size: 1.8rem;
  height: 68px;
  justify-content: center;
  width: 68px;
}

.checkout-modal-actions {
  display: grid;
  gap: 10px;
  margin-top: 4px;
  width: 100%;
}

.checkout-modal-actions .cart-checkout-button,
.checkout-modal-actions .cart-secondary-button {
  width: 100%;
}

.checkout-modal-actions .cart-checkout-button {
  border: 0;
}

.checkout-skip-signup-button {
  border-color: rgba(128, 101, 42, 0.3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

.checkout-skip-signup-button:hover,
.checkout-skip-signup-button:focus {
  border-color: rgba(215, 25, 32, 0.28);
}

.empty-category,
.unavailable-card {
  background:
    linear-gradient(135deg, rgba(255, 241, 241, 0.56), rgba(255, 255, 255, 0.92)),
    var(--surface);
  border: 1px dashed var(--line);
  border-radius: 16px;
  color: var(--muted);
  padding: 18px;
  text-align: center;
}

.unavailable-card {
  align-items: center;
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
}

.unavailable-card i {
  color: var(--brand);
  font-size: 2rem;
}

.menu-card,
.summary-panel,
.form-panel,
.auth-box,
.success-box,
.checkout-total {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}

.metric {
  background:
    linear-gradient(180deg, rgba(255, 209, 102, 0.16), rgba(255, 255, 255, 0) 48%),
    #fff;
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-top: 4px solid var(--gold);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(24, 24, 27, 0.08);
  min-height: 112px;
  padding: 1rem;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.metric::before {
  border-radius: 999px;
  content: "";
  display: block;
  height: 7px;
  margin-bottom: 12px;
  width: 42px;
}

.metric:hover {
  border-color: rgba(215, 25, 32, 0.28);
  box-shadow: 0 18px 36px rgba(24, 24, 27, 0.12);
  transform: translateY(-2px);
}

.price {
  color: var(--brand);
  font-size: 1.35rem;
}

.metric span {
  color: #3d3333;
  display: block;
  font-size: .98rem;
  font-weight: 900;
  line-height: 1.18;
  min-height: 38px;
  text-transform: uppercase;
}

.metric strong {
  color: var(--brand-dark);
  display: block;
  font-size: 2.35rem;
  font-weight: 900;
  line-height: 1;
  margin-top: 10px;
}

.metric strong small {
  font-size: .48em;
  font-weight: 900;
  line-height: 1;
  vertical-align: baseline;
}

.client-summary-metrics > [class*="col"] {
  display: flex;
}

.client-summary-metrics .metric {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
}

.client-summary-metrics .metric strong {
  font-size: clamp(1.55rem, 6vw, 2.35rem);
}

.client-summary-metrics .metric strong small {
  font-size: .38em;
}

.manager-metrics > [class*="col"] {
  display: flex;
}

.manager-metrics .metric {
  border-color: rgba(215, 25, 32, 0.28);
  border-width: 2px;
  border-top-width: 5px;
  min-height: 132px;
  width: 100%;
}

.manager-metrics .metric strong small {
  font-size: .34em;
}

.manager-charts-panel {
  display: grid;
  gap: 18px;
}

.manager-charts-header {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
}

.manager-chart-filters {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.manager-chart-filters label {
  display: grid;
  gap: 5px;
  min-width: 150px;
}

.manager-chart-filters label[hidden] {
  display: none;
}

.manager-chart-filters span {
  color: #5c4a4a;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.period-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.period-summary div {
  background: #fffafa;
  border: 2px solid rgba(215, 25, 32, 0.18);
  border-radius: 14px;
  min-height: 88px;
  padding: 12px;
}

.period-summary span,
.chart-card h3 {
  color: #3d3333;
  display: block;
  font-size: .78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.period-summary strong {
  color: var(--brand-dark);
  display: block;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.05;
  margin-top: 8px;
}

.period-summary strong small {
  display: inline;
  font-size: .38em;
  font-weight: 900;
  line-height: 1;
  margin-top: 0;
  vertical-align: baseline;
}

.chart-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.chart-card {
  background: #fff;
  border: 1px solid rgba(215, 25, 32, 0.1);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 12px;
  min-height: 340px;
  padding: 14px;
}

.chart-card h3 {
  margin: 0;
}

.chart-card-header {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.chart-card-actions {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.chart-table-link {
  align-items: center;
  background: #fff8f8;
  border: 1px solid rgba(215, 25, 32, 0.14);
  border-radius: 10px;
  color: var(--brand);
  display: inline-flex;
  font-size: 1rem;
  height: 34px;
  justify-content: center;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
  width: 34px;
}

.chart-table-link:hover,
.chart-table-link:focus {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.chart-frame {
  min-height: 270px;
  position: relative;
}

.chart-frame canvas {
  max-height: 310px;
}

.client-chart-frame {
  min-height: 340px;
}

.chart-note {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.35;
}

.manager-report-filters {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

.manager-report-filters label {
  display: grid;
  gap: 5px;
}

.manager-report-filters label[hidden] {
  display: none;
}

.manager-report-filters span {
  color: #5c4a4a;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.manager-report-submit {
  justify-self: stretch;
  min-width: 96px;
  padding-left: 14px;
  padding-right: 14px;
  width: 100%;
}

.report-summary-metrics > [class*="col"] {
  display: flex;
}

.report-summary-metrics .metric {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: flex-start;
  min-height: 120px;
  min-width: 0;
  width: 100%;
}

.report-summary-metrics .metric::before {
  margin-bottom: 0;
}

.report-summary-metrics .metric span {
  display: block;
  font-size: .88rem;
  line-height: 1.2;
  min-height: 34px;
}

.report-summary-metrics .metric strong {
  display: block;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  margin-top: auto;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: left;
}

.report-summary-metrics .metric strong small {
  font-size: .36em;
}

.report-page-count {
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

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

.report-pagination-current {
  align-items: center;
  background: var(--brand);
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 900;
  justify-content: center;
  min-height: 34px;
  min-width: 38px;
  padding: 7px 10px;
}

.app-action.is-disabled {
  background: #f7f2f2;
  border-color: rgba(24, 24, 27, 0.08);
  box-shadow: none;
  color: var(--muted);
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.client-order-days {
  display: grid;
  gap: 7px;
  min-width: 260px;
}

.client-order-days details {
  background: #fffafa;
  border: 1px solid rgba(215, 25, 32, 0.1);
  border-radius: 10px;
  padding: 8px 10px;
}

.client-order-days summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.client-order-days summary span {
  color: #3d3333;
  font-weight: 900;
}

.client-order-days summary small {
  color: var(--muted);
  font-weight: 800;
}

.client-order-list {
  display: grid;
  gap: 5px;
  padding-top: 8px;
}

.client-order-list a {
  color: var(--brand-dark);
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
}

.client-order-list a:hover {
  color: var(--brand);
}

.metric-new {
  border-color: rgba(215, 25, 32, 0.28);
  border-top-color: var(--brand);
}

.metric-new::before {
  background: var(--brand);
}

.metric-new strong {
  color: var(--brand);
}

.metric-prep {
  border-color: rgba(138, 97, 0, 0.28);
  border-top-color: var(--track);
}

.metric-prep::before {
  background: var(--track);
}

.metric-prep strong {
  color: var(--track-dark);
}

.metric-ready {
  border-color: rgba(25, 135, 84, 0.24);
  border-top-color: var(--open);
}

.metric-ready::before {
  background: var(--open);
}

.metric-ready strong {
  color: var(--open);
}

.metric-delivery {
  border-color: rgba(13, 110, 253, 0.22);
  border-top-color: #0d6efd;
}

.metric-delivery::before {
  background: #0d6efd;
}

.metric-delivery strong {
  color: #0b5ed7;
}

.delivery-flow-card {
  display: grid;
  gap: 0;
}

.delivery-flow-arrow {
  height: 34px;
  margin: -2px auto;
  position: relative;
  width: 30px;
}

.delivery-flow-arrow::before {
  background: linear-gradient(180deg, rgba(13, 110, 253, 0.3), rgba(14, 165, 233, 0.8));
  border-radius: 999px;
  bottom: 7px;
  content: "";
  left: 50%;
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  width: 3px;
}

.delivery-flow-arrow::after {
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #0ea5e9;
  bottom: 0;
  content: "";
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
}

.metric-route {
  border-color: rgba(14, 165, 233, 0.28);
  border-top-color: #0ea5e9;
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.12);
}

.metric-route::before {
  background: #0ea5e9;
}

.metric-route strong {
  color: #0284c7;
}

.metric-pickup {
  border-color: rgba(111, 66, 193, 0.24);
  border-top-color: #6f42c1;
}

.metric-pickup::before {
  background: #6f42c1;
}

.metric-pickup strong {
  color: #5a32a3;
}

.attendant-status-cards .metric[data-status-card="retirada"],
.attendant-status-cards .metric[data-status-card="finalizados"] {
  padding-bottom: 1.5rem;
}

.metric-finished {
  border-color: rgba(32, 201, 151, 0.26);
  border-top-color: #20c997;
}

.metric-finished::before {
  background: #20c997;
}

.metric-finished strong {
  color: #087f5b;
}

.metric-revenue {
  border-color: rgba(25, 135, 84, 0.24);
  border-top-color: var(--open);
}

.metric-revenue::before {
  background: var(--open);
}

.metric-revenue strong {
  color: var(--open);
}

.metric-average {
  border-color: rgba(255, 193, 7, 0.42);
  border-top-color: var(--track);
}

.metric-average::before {
  background: var(--track);
}

.metric-average strong {
  color: var(--track-dark);
}

.metric-paid {
  border-color: rgba(32, 201, 151, 0.3);
  border-top-color: #20c997;
}

.metric-paid::before {
  background: #20c997;
}

.metric-paid strong {
  color: #087f5b;
}

.metric-pending {
  border-color: rgba(215, 25, 32, 0.28);
  border-top-color: var(--brand);
}

.metric-pending::before {
  background: var(--brand);
}

.metric-pending strong {
  color: var(--brand);
}

.metric-client {
  border-color: rgba(13, 202, 240, 0.3);
  border-top-color: #0dcaf0;
}

.metric-client::before {
  background: #0dcaf0;
}

.metric-client strong {
  color: #087990;
}

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

.page-heading h1 {
  color: var(--gold-strong);
  font-size: 1.55rem;
  font-weight: 900;
  margin: 0 0 4px;
}

.page-heading p {
  color: var(--gold-strong);
  font-weight: 800;
  margin: 0;
}

.action-bar,
.client-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-action,
.client-nav a,
.modern-filter .btn {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: 14px;
  color: var(--brand);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.app-action:hover,
.app-action:focus,
.client-nav a:hover,
.client-nav a:focus,
.modern-filter .btn:hover,
.modern-filter .btn:focus {
  background: var(--brand-soft);
  border-color: rgba(215, 25, 32, 0.34);
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.12);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.client-nav a.is-active {
  background: var(--brand);
  border-color: var(--brand-dark);
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.18);
  color: #fff;
}

.app-action.primary,
.modern-filter .btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  border-color: transparent;
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.18);
  color: #fff;
}

.app-action.primary:hover,
.app-action.primary:focus,
.modern-filter .btn:hover,
.modern-filter .btn:focus {
  background: linear-gradient(135deg, var(--brand-dark), #8f1015);
  color: #fff;
}

.app-action.compact {
  border-radius: 10px;
  font-size: .78rem;
  min-height: 34px;
  padding: 7px 10px;
  white-space: nowrap;
}

.table-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.table-actions form {
  margin: 0;
}

.order-monitor {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.1), rgba(255, 209, 102, 0.18)),
    #fff;
  border: 1px solid rgba(215, 25, 32, 0.18);
  border-left: 5px solid var(--brand);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 14px 16px;
}

.order-monitor strong,
.order-monitor span {
  display: block;
}

.order-monitor strong {
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 900;
}

.order-monitor span {
  color: #4b3a14;
  font-size: .92rem;
  font-weight: 750;
}

.modern-filter {
  margin-bottom: 16px;
}

.modern-filter label {
  color: var(--ink);
  font-size: .82rem;
  font-weight: 900;
}

.modern-table {
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}

.modern-table thead th {
  background: #fff7e4;
  border-bottom: 1px solid rgba(215, 25, 32, 0.14);
  color: #6f4f12;
  font-size: .76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.modern-table tbody td {
  border-color: rgba(215, 25, 32, 0.08);
  color: var(--ink);
  font-weight: 650;
  vertical-align: middle;
}

.modern-table tbody tr:hover td {
  background: #fffafa;
}

.modern-table a {
  color: var(--brand);
  font-weight: 900;
  text-decoration: none;
}

.modern-table small {
  color: var(--muted);
  font-weight: 700;
}

.client-orders-table-wrap {
  border-radius: 14px;
}

.client-orders-table-wrap .client-order-row td {
  background: #fffdf7;
  border-bottom-color: rgba(215, 25, 32, 0.12);
  border-top: 1px solid rgba(215, 25, 32, 0.08);
}

.client-orders-table-wrap .client-order-row td:first-child {
  border-left: 3px solid var(--brand);
}

.client-order-number span {
  background: #fff0ed;
  border: 1px solid rgba(215, 25, 32, 0.2);
  border-radius: 10px;
  color: var(--brand-dark);
  display: inline-block;
  font-size: .9rem;
  font-weight: 950;
  letter-spacing: .02em;
  padding: 7px 9px;
  white-space: nowrap;
}

.client-orders-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  margin-top: 16px;
}

.client-orders-page-count,
.client-orders-page-current {
  color: var(--muted);
  font-size: .86rem;
  font-weight: 800;
}

.client-orders-page-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.client-orders-page-actions .app-action {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.status-badge {
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: 999px;
  color: var(--brand);
  display: inline-flex;
  font-size: .76rem;
  font-weight: 900;
  line-height: 1;
  padding: 7px 10px;
  text-transform: uppercase;
}

.status-badge.is-soft {
  background: #fff7e4;
  color: #6f4f12;
}

.status-badge.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.status-badge.is-delivery {
  background: #e8f1ff;
  border-color: rgba(13, 110, 253, 0.26);
  color: #0b5ed7;
}

.status-badge.is-complete {
  background: #e8f6ee;
  border-color: rgba(25, 135, 84, 0.26);
  color: #146c43;
}

.status-badge.is-pickup {
  background: #f1eaff;
  border-color: rgba(111, 66, 193, 0.28);
  color: #5a32a3;
}

.report-chart-wrap {
  min-height: 280px;
  position: relative;
}

.report-chart-wrap canvas {
  max-height: 340px;
}

.auth-box {
  max-width: 420px;
}

.login-shell {
  align-items: stretch;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin: 10px auto 24px;
  max-width: 980px;
}

.login-brand-panel,
.auth-box {
  position: relative;
}

.login-brand-panel {
  align-items: center;
  background:
    radial-gradient(circle at 22% 8%, rgba(255, 209, 102, 0.22), transparent 26%),
    radial-gradient(circle at 80% 18%, rgba(215, 25, 32, 0.42), transparent 30%),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(135deg, #150708 0%, #2a0b0e 44%, #4b1116 100%);
  background-size: auto, auto, 24px 24px, 24px 24px, auto;
  border: 1px solid rgba(255, 209, 102, 0.18);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(23, 8, 9, 0.22);
  color: #fff;
  display: grid;
  gap: 18px;
  justify-items: center;
  min-height: 260px;
  overflow: hidden;
  padding: 30px 22px;
  text-align: center;
}

.login-brand-panel::after {
  background: linear-gradient(90deg, transparent, rgba(255, 209, 102, 0.46), transparent);
  content: "";
  height: 1px;
  left: 28px;
  position: absolute;
  right: 28px;
  top: 0;
}

.login-logo {
  align-items: center;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  display: inline-flex;
  height: clamp(104px, 10vw, 132px);
  justify-content: center;
  justify-self: center;
  overflow: hidden;
  padding: 10px;
  width: clamp(104px, 10vw, 132px);
}

.login-logo img {
  display: block;
  height: 88%;
  object-fit: contain;
  object-position: center;
  width: 100%;
}

.login-kicker {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.login-brand-panel h1 {
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 10px;
}

.login-brand-panel p:last-child {
  color: var(--gold-soft);
  margin: 0 auto;
  max-width: 420px;
}

.signup-brand-panel {
  align-content: start;
  justify-items: center;
  text-align: center;
}

.signup-brand-panel .login-logo {
  height: 132px;
  width: 132px;
}

.auth-box {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  max-width: none;
}

.auth-heading {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.auth-heading > span {
  align-items: center;
  background: var(--brand-soft);
  border-radius: 16px;
  color: var(--brand);
  display: inline-flex;
  flex: 0 0 48px;
  font-size: 1.25rem;
  height: 48px;
  justify-content: center;
  width: 48px;
}

.auth-heading h2 {
  font-size: 1.35rem;
  font-weight: 900;
  margin: 0 0 2px;
}

.auth-heading p {
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
}

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

.modern-field label {
  color: var(--ink);
  display: block;
  font-size: .88rem;
  font-weight: 800;
  margin-bottom: 7px;
}

.input-shell {
  align-items: center;
  background: #fff;
  border: 1px solid rgba(215, 25, 32, 0.14);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(24, 24, 27, 0.05);
  display: grid;
  grid-template-columns: 44px 1fr;
  min-height: 54px;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.input-shell:focus-within {
  border-color: rgba(215, 25, 32, 0.46);
  box-shadow: 0 16px 34px rgba(215, 25, 32, 0.13);
  transform: translateY(-1px);
}

.input-shell i {
  color: var(--brand);
  font-size: 1.1rem;
  justify-self: center;
}

.input-shell input {
  background: transparent;
  border: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  height: 54px;
  min-width: 0;
  outline: 0;
  padding: 0 14px 0 0;
  width: 100%;
}

.input-shell input:focus {
  box-shadow: none;
}

.password-shell {
  grid-template-columns: 44px 1fr 44px;
}

.password-shell input {
  padding-right: 6px;
}

.password-toggle {
  align-items: center;
  align-self: stretch;
  background: transparent;
  border: 0;
  color: var(--muted);
  display: inline-flex;
  font-size: 1.12rem;
  justify-content: center;
  min-height: 54px;
  padding: 0;
  transition: color 160ms ease, background 160ms ease;
}

.password-toggle:hover,
.password-toggle:focus {
  background: var(--brand-soft);
  color: var(--brand);
  outline: 0;
}

.password-guidance {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.password-strength-meter {
  background: #f1e8e8;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.password-strength-meter span {
  background: #dc3545;
  border-radius: inherit;
  display: block;
  height: 100%;
  transition: background 180ms ease, width 180ms ease;
  width: 0;
}

.password-guidance[data-strength="invalid"] .password-strength-meter span {
  background: #dc3545;
  width: 33%;
}

.password-guidance[data-strength="weak"] .password-strength-meter span {
  background: #ffc107;
  width: 66%;
}

.password-guidance[data-strength="ok"] .password-strength-meter span {
  background: #198754;
  width: 100%;
}

.password-strength-label,
.password-tips {
  color: var(--muted);
  display: block;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.35;
}

.password-guidance[data-strength="invalid"] .password-strength-label {
  color: #b02a37;
}

.password-guidance[data-strength="weak"] .password-strength-label {
  color: #8a6100;
}

.password-guidance[data-strength="ok"] .password-strength-label {
  color: #146c43;
}

.field-error {
  color: var(--brand);
  display: block;
  font-weight: 700;
  margin-top: 6px;
}

.login-submit {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  justify-content: center;
  margin-top: 4px;
}

.login-secondary-actions {
  background: #fff7f2;
  border: 1px solid rgba(215, 25, 32, 0.16);
  border-radius: 18px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  margin-top: 18px;
  padding: 12px;
}

.login-action-card {
  align-items: center;
  background: #fff;
  border: 2px solid rgba(215, 25, 32, 0.24);
  border-radius: 16px;
  color: var(--ink);
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 10px 12px;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.login-action-card i {
  color: var(--brand);
  font-size: 1rem;
}

.login-action-card:hover,
.login-action-card:focus {
  border-color: rgba(215, 25, 32, 0.56);
  box-shadow: 0 14px 28px rgba(215, 25, 32, 0.12);
  color: var(--brand-dark);
  transform: translateY(-2px);
}

.login-action-card.is-disabled {
  color: var(--muted);
  cursor: not-allowed;
  opacity: .68;
}

.signup-shell {
  max-width: 1180px;
}

.signup-box {
  width: 100%;
}

.signup-form {
  gap: 18px;
}

.signup-section {
  display: grid;
  gap: 12px;
}

.signup-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}

.site-footer {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 209, 102, 0.16), transparent 26%),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #170809 0%, #2d0d10 54%, #4b1217 100%);
  background-size: auto, 24px 24px, 24px 24px, auto;
  border-top: 1px solid rgba(255, 209, 102, 0.18);
  color: rgba(255, 255, 255, 0.72);
  flex-shrink: 0;
  margin-top: 30px;
  padding: 20px 0;
}

.footer-brand-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.footer-brand {
  align-items: center;
  color: #fff;
  display: inline-flex;
  gap: 12px;
  text-decoration: none;
}

.footer-brand:hover {
  color: #fff;
}

.footer-brand-mark,
.footer-card-icon,
.footer-social a {
  align-items: center;
  display: inline-flex;
  justify-content: center;
}

.footer-brand-mark {
  background: linear-gradient(135deg, var(--brand), var(--gold));
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(215, 25, 32, 0.28);
  color: #fff;
  font-size: 1.15rem;
  height: 46px;
  width: 46px;
}

.footer-brand strong {
  display: block;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.1;
}

.footer-brand small {
  color: var(--gold-soft);
  display: block;
  font-size: .82rem;
  font-weight: 700;
  margin-top: 3px;
}

.footer-social {
  display: inline-flex;
  gap: 8px;
}

.footer-social a {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  font-size: .98rem;
  height: 38px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
  width: 38px;
}

.footer-social a:hover,
.footer-social a:focus {
  background: rgba(255, 209, 102, 0.18);
  border-color: rgba(255, 209, 102, 0.45);
  color: #fff;
  transform: translateY(-2px);
}

.footer-grid {
  display: grid;
  gap: 12px;
}

.footer-card {
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 18px;
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr;
  min-height: 86px;
  padding: 12px;
}

.footer-card-icon {
  background: rgba(255, 209, 102, 0.16);
  border: 1px solid rgba(255, 209, 102, 0.22);
  border-radius: 14px;
  color: var(--gold);
  font-size: 1rem;
  height: 38px;
  width: 38px;
}

.footer-card h2 {
  color: #fff;
  font-size: .86rem;
  font-weight: 900;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.footer-card p {
  font-size: .84rem;
  line-height: 1.35;
  margin: 0;
}

.footer-card a {
  color: var(--gold-soft);
  display: inline-block;
  font-size: .86rem;
  font-weight: 800;
  margin-top: 6px;
  text-decoration: none;
}

.footer-card a:hover {
  color: #fff;
}

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
}

.footer-bottom span {
  font-size: .82rem;
  font-weight: 700;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
  color: #fff;
  text-decoration: underline;
}

@keyframes addPulse {
  0% { transform: scale(1); }
  50% { transform: scale(0.96); }
  100% { transform: scale(1); }
}

@keyframes noticeEnter {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .order-hero,
  .service-actions a,
  .category-pill,
  .daily-tags span {
    animation: riseIn 420ms ease both;
  }

  .product-card {
    animation: cardFade 420ms ease both;
  }
}

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

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

@media (max-width: 575.98px) {
  .client-orders-table-wrap {
    overflow: visible;
  }

  .client-orders-table-wrap .modern-table,
  .client-orders-table-wrap .modern-table tbody,
  .client-orders-table-wrap .modern-table tr,
  .client-orders-table-wrap .modern-table td {
    display: block;
    width: 100%;
  }

  .client-orders-table-wrap .modern-table {
    border-collapse: separate;
    border-spacing: 0;
  }

  .client-orders-table-wrap .modern-table thead {
    display: none;
  }

  .client-orders-table-wrap .modern-table tbody {
    display: grid;
    gap: 10px;
  }

  .client-orders-table-wrap .modern-table tbody tr {
    background: #fff;
    border: 1px solid rgba(215, 25, 32, 0.12);
    border-radius: 14px;
    box-shadow: 0 10px 20px rgba(24, 24, 27, 0.06);
    overflow: hidden;
  }

  .client-orders-table-wrap .modern-table tbody tr.client-order-row {
    border: 1px solid rgba(215, 25, 32, 0.22);
    border-left: 4px solid var(--brand);
    box-shadow: 0 12px 24px rgba(215, 25, 32, 0.1);
  }

  .client-orders-table-wrap .modern-table tbody tr:hover td {
    background: transparent;
  }

  .client-orders-table-wrap .modern-table tbody td {
    align-items: center;
    border-bottom: 1px solid rgba(215, 25, 32, 0.08);
    display: flex;
    gap: 10px;
    justify-content: space-between;
    min-height: 42px;
    padding: 9px 11px;
    text-align: right;
  }

  .client-orders-table-wrap .client-order-row td,
  .client-orders-table-wrap .client-order-row td:first-child {
    background: transparent;
    border-left: 0;
  }

  .client-orders-table-wrap .client-order-row td:first-child {
    align-items: center;
    background: #fff8f4;
  }

  .client-orders-table-wrap .modern-table tbody td:last-child {
    border-bottom: 0;
  }

  .client-orders-table-wrap .modern-table tbody td::before {
    color: #6f4f12;
    content: attr(data-label);
    flex: 0 0 86px;
    font-size: .7rem;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
  }

  .client-orders-table-wrap .status-badge {
    justify-content: center;
    max-width: 175px;
    text-align: center;
    white-space: normal;
  }

  .client-orders-table-wrap .client-orders-empty td {
    display: block;
    text-align: center;
  }

  .client-orders-table-wrap .client-orders-empty td::before {
    display: none;
  }

  .client-orders-pagination {
    align-items: stretch;
    flex-direction: column;
  }

  .client-orders-page-actions {
    justify-content: space-between;
    width: 100%;
  }

  .delivery-dashboard {
    gap: 12px;
  }

  .delivery-page-heading {
    border-radius: 14px;
    padding: 12px;
  }

  .delivery-page-heading h1 {
    font-size: 1.35rem;
  }

  .delivery-page-heading p {
    font-size: .9rem;
    line-height: 1.35;
  }

  .delivery-tabs {
    flex-direction: column;
    gap: 7px;
    margin-left: -12px;
    margin-right: -12px;
    overflow-x: visible;
    padding-left: 12px;
    padding-right: 12px;
    scroll-snap-type: none;
  }

  .delivery-tabs a {
    border-radius: 12px;
    flex: 1 1 auto;
    font-size: .76rem;
    justify-content: space-between;
    min-height: 44px;
    padding: 9px 10px;
    width: 100%;
  }

  .delivery-tabs a strong {
    font-size: .72rem;
    min-width: 24px;
    padding: 3px 7px;
  }

  .delivery-section h2 {
    border-radius: 12px;
    font-size: .92rem;
    margin-bottom: 10px;
    padding: 10px 12px;
  }

  .delivery-card-grid {
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
  }

  .delivery-card {
    border-radius: 14px;
    padding: 12px;
  }

  .delivery-card .status-badge {
    font-size: .68rem;
    line-height: 1.1;
    padding: 6px 8px;
  }

  .delivery-card-info,
  .delivery-note {
    border-radius: 10px;
    padding: 9px;
  }

  .delivery-card .app-action {
    font-size: .86rem;
    min-height: 48px;
    width: 100%;
  }

  .delivery-history-filters {
    gap: 9px;
    padding: 12px;
  }

  .delivery-history-filters .app-action {
    min-height: 46px;
    width: 100%;
  }

  .delivery-history-summary {
    grid-template-columns: minmax(0, 1fr);
  }

  .delivery-history-summary div {
    min-height: 74px;
    padding: 10px;
  }

  .delivery-history-summary strong {
    font-size: 1.28rem;
  }

  .modal-dialog {
    margin: 10px;
  }

  .modal-footer {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .modal-footer .app-action {
    width: 100%;
  }

  .footer-brand-row,
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .footer-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .nav-cart-item,
  .nav-login {
    margin-left: 0;
    margin-right: 0;
  }

  .navbar-nav {
    gap: 8px;
    padding-top: 12px;
  }

  html {
    scroll-padding-top: 230px;
  }

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

  .hero-actions .primary {
    grid-column: 1 / -1;
  }

  .quick-action {
    justify-content: center;
  }

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

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

  .login-shell {
    margin-top: 0;
  }

  .login-brand-panel {
    border-radius: 22px;
    min-height: auto;
    padding: 24px 18px;
  }

  .login-logo {
    height: 96px;
    width: 96px;
  }

  .login-brand-panel h1 {
    font-size: 1.52rem;
  }

  .auth-heading {
    align-items: flex-start;
  }

  .featured-menu-panel {
    border-radius: 22px;
    margin-left: -2px;
    margin-right: -2px;
    padding: 20px 12px 14px;
  }

  .category-shell {
    border-radius: 20px;
    overflow: visible;
    padding: 8px;
  }

  .menu-section {
    scroll-margin-top: 230px;
  }

  .category-shell::before,
  .category-shell::after {
    display: none;
  }

  .category-strip {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    overflow-x: visible;
    padding: 0;
  }

  .category-pill {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    max-width: none;
    min-height: 58px;
    padding: 8px 10px;
  }

  .category-icon {
    flex-basis: 34px;
    height: 34px;
    width: 34px;
  }

  .modal.product-sheet .modal-dialog {
    align-items: end;
    display: flex;
    margin: 0;
    min-height: 100%;
  }

  .modal.product-sheet .modal-content {
    border-radius: 22px 22px 0 0;
  }
}

@media (max-width: 390px) {
  html {
    scroll-padding-top: 240px;
  }

  .checkout-payment-option {
    justify-content: flex-start;
    text-align: left;
  }

  .menu-section {
    scroll-margin-top: 240px;
  }

  .product-photo {
    min-height: 118px;
  }

  .product-content h3 {
    font-size: .98rem;
  }

  .product-content p {
    font-size: .82rem;
  }

  .product-actions {
    margin-top: 9px;
  }

  .btn-add {
    font-size: .82rem;
    min-height: 40px;
    padding: 8px 10px;
  }

  .price-block strong {
    font-size: 1.02rem;
  }

  .category-label {
    font-size: .8rem;
  }
}

@media (max-width: 350px) {
  html {
    scroll-padding-top: 255px;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-lockup {
    gap: 8px;
    max-width: 245px;
  }

  .brand-mark {
    border-radius: 10px;
    height: 34px;
    width: 34px;
  }

  .brand-lockup strong {
    font-size: .88rem;
  }

  .brand-lockup small {
    font-size: .68rem;
  }

  .order-hero {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 16px 12px;
    text-align: center;
  }

  .hero-copy {
    min-width: 0;
    width: 100%;
  }

  .status-card {
    justify-content: center;
  }

  .hero-copy h1 {
    font-size: 1rem;
    white-space: nowrap;
  }

  .hero-copy p {
    font-size: .88rem;
  }

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

  .category-shell {
    margin-left: 0;
    margin-right: 0;
    top: 60px;
  }

  .featured-menu-panel {
    border-radius: 20px;
    margin-left: 0;
    margin-right: 0;
    padding: 18px 10px 12px;
  }

  .menu-section {
    scroll-margin-top: 255px;
  }

  .category-strip {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    padding: 0;
  }

  .category-pill {
    flex: 1 1 calc(50% - 8px);
    gap: 7px;
    justify-content: center;
    font-size: .82rem;
    min-height: 54px;
    padding: 8px;
  }

  .category-icon {
    border-radius: 12px;
    flex-basis: 32px;
    height: 32px;
    width: 32px;
  }

  .category-label {
    font-size: .78rem;
  }

  .section-heading {
    text-align: center;
  }

  .section-heading,
  .section-heading > div {
    display: block;
    width: 100%;
  }

  .section-heading h2 {
    font-size: 1.14rem;
  }

  .section-heading p {
    font-size: .86rem;
  }

  .daily-tags {
    justify-content: center;
  }

  .daily-tags span {
    font-size: .78rem;
    padding: 6px 9px;
  }

  .product-grid {
    justify-items: center;
  }

  .product-card {
    grid-template-columns: 1fr;
    max-width: 310px;
    min-height: auto;
    padding: 12px;
    text-align: center;
    width: 100%;
  }

  .product-photo {
    aspect-ratio: 16 / 9;
    min-height: 118px;
    width: 100%;
  }

  .product-content {
    align-items: center;
    padding: 0;
  }

  .product-content p {
    -webkit-line-clamp: 3;
  }

  .product-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .btn-add {
    width: 100%;
  }

  .empty-category,
  .unavailable-card {
    text-align: center;
  }

  .floating-cart {
    grid-template-columns: 1fr;
    justify-items: center;
    left: 10px;
    min-height: 64px;
    padding: 10px 12px;
    right: 10px;
    text-align: center;
  }

  .floating-cart-action {
    display: none;
  }

  .footer-grid {
    text-align: center;
  }
}

@media (min-width: 768px) {
  .app-main {
    padding-bottom: 24px !important;
  }

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

  .order-hero {
    padding: 24px;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .category-shell {
    margin-left: 0;
    margin-right: 0;
    top: 74px;
  }

  .product-grid,
  .mini-card-grid {
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 320px));
    max-width: 660px;
  }

  .daily-menu-lines {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .product-photo {
    aspect-ratio: 16 / 10;
  }

  .card-order-form {
    border-radius: 14px;
    gap: 7px;
    padding: 8px;
  }

  .card-qty-label {
    font-size: .62rem;
  }

  .card-order-row {
    gap: 8px;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .card-qty-control {
    border-radius: 12px;
    grid-template-columns: 24px 1fr 24px;
    min-height: 40px;
  }

  .card-qty-control button {
    font-size: .9rem;
    min-height: 40px;
  }

  .card-qty-control input {
    font-size: .88rem;
  }

  .card-order-row .btn-add {
    font-size: .8rem;
    min-height: 40px;
    min-width: 0;
    padding-left: 7px;
    padding-right: 7px;
    width: 100%;
  }

  .floating-cart {
    bottom: 22px;
  }

  .cart-hero {
    align-items: end;
    grid-template-columns: auto 1fr;
    padding: 22px;
  }

  .checkout-hero {
    padding: 22px;
  }

  .cart-back-link {
    grid-column: 1 / -1;
  }

  .cart-item-card {
    grid-template-columns: auto 1fr auto;
    padding: 16px;
  }

  .cart-item-side {
    align-items: end;
    grid-column: auto;
  }

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

  .period-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .manager-report-filters {
    align-items: end;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .manager-report-search {
    grid-column: span 3;
  }

  .manager-report-submit {
    grid-column: span 1;
  }

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

  .login-shell {
    align-items: stretch;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    margin-top: 28px;
  }

  .login-brand-panel {
    justify-items: start;
    min-height: 520px;
    padding: 42px;
    text-align: left;
  }

  .login-brand-panel p:last-child {
    margin-left: 0;
  }

  .signup-brand-panel {
    align-content: start;
    justify-items: center;
    text-align: center;
  }

  .signup-brand-panel p:last-child {
    margin-left: auto;
  }

  .auth-box {
    align-self: center;
    padding: 28px;
  }

  .signup-shell {
    grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  }

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

  .signup-field-wide {
    grid-column: span 2;
  }
}

@media (min-width: 992px) {
  .delivery-tabs {
    overflow-x: visible;
  }

  .delivery-tabs a {
    justify-content: center;
    min-width: 0;
  }

  .product-grid,
  .mini-card-grid {
    gap: 22px;
    grid-template-columns: repeat(3, minmax(0, 310px));
    max-width: 974px;
  }

  .cart-page {
    gap: 22px;
  }

  .cart-layout {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 340px;
  }

  .cart-summary {
    position: sticky;
    top: 104px;
  }

  .checkout-layout {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) 350px;
  }

  .checkout-summary {
    position: sticky;
    top: 104px;
  }

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

  .checkout-type-toggle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-payment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .chart-card-wide {
    grid-column: span 2;
  }
}

@media (min-width: 1200px) {
  .delivery-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid,
  .mini-card-grid {
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
    justify-content: center;
    max-width: 1352px;
  }

  .product-card,
  .mini-product-card {
    border-radius: 20px;
    min-height: 304px;
    padding: 18px;
  }

  .product-photo,
  .mini-product-icon {
    border-radius: 16px;
    min-height: 154px;
  }

  .period-summary {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .delivery-history-filters {
    grid-template-columns: 180px 160px 160px minmax(180px, 1fr) 190px auto;
  }

  .manager-report-filters {
    grid-template-columns: 150px 150px 150px 150px minmax(340px, 1fr) 104px;
  }

  .manager-report-search,
  .manager-report-submit {
    grid-column: auto;
  }

  .delivery-history-summary {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .product-content h3,
  .mini-product-card h3 {
    font-size: 1.12rem;
  }

  .product-content p,
  .mini-product-card p {
    font-size: .9rem;
  }

  .product-actions {
    gap: 14px;
    margin-top: 16px;
  }

  .card-order-form {
    border-radius: 18px;
    gap: 8px;
    margin-top: 14px;
    padding: 9px;
  }

  .card-order-row {
    gap: 9px;
    grid-template-columns: 86px minmax(0, 1fr);
  }

  .card-qty-control {
    grid-template-columns: 25px 1fr 25px;
    min-height: 40px;
  }

  .card-qty-control button {
    font-size: .9rem;
    min-height: 40px;
  }

  .card-qty-control input {
    font-size: .88rem;
  }

  .btn-add {
    font-size: .8rem;
    min-height: 40px;
    padding-left: 7px;
    padding-right: 7px;
  }

  .card-order-row .btn-add {
    width: 100%;
  }
}

@media (min-width: 1440px) {
  .product-grid,
  .mini-card-grid {
    max-width: 1480px;
  }
}
