:root {
  --cream: #fbf6eb;
  --cream-dark: #f3e8d2;
  --honey: #d4a017;
  --honey-deep: #b8860b;
  --gold: #e8c547;
  --brown: #5c4033;
  --brown-deep: #2c1810;
  --espresso: #3e2723;
  --muted: #7a6154;
  --card: #fffdf8;
  --line: rgba(92, 64, 51, 0.14);
  --danger: #a33b2b;
  --success: #2f6f4e;
  --shadow: 0 12px 40px rgba(44, 24, 16, 0.1);
  --radius: 18px;
  --font: "Source Sans 3", "Cairo", sans-serif;
  --serif: "Playfair Display", "Cairo", serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body.theme-cafe {
  min-height: 100vh;
  font-family: var(--font);
  color: var(--brown-deep);
  background:
    radial-gradient(circle at top left, rgba(232, 197, 71, 0.28), transparent 32%),
    radial-gradient(circle at bottom right, rgba(212, 160, 23, 0.18), transparent 28%),
    var(--cream);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--serif);
  margin: 0 0 0.4rem;
  font-weight: 700;
}

p {
  margin: 0 0 0.75rem;
  line-height: 1.55;
}

.muted {
  color: var(--muted);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  padding-top: calc(0.7rem + env(safe-area-inset-top));
  background: rgba(251, 246, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar-brand {
  flex: 1 1 auto;
  min-width: 0;
  max-width: min(52%, 16rem);
}

.topbar-brand,
.admin-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  min-width: 0;
}

.topbar-name {
  font-family: var(--serif);
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-logo {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  flex-shrink: 0;
}

.topbar-mark,
.welcome-emblem {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, var(--gold), var(--honey-deep));
  color: #fff8e8;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex: 0 0 auto;
  min-width: 0;
}

.topbar .lang-toggle-btn {
  padding: 0.35rem 0.55rem;
  font-size: 0.78rem;
}

.cart-link {
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.9rem;
}

.lang-toggle {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.lang-toggle-btn {
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--brown-deep);
  white-space: nowrap;
}

.lang-toggle-btn.is-active {
  background: var(--brown-deep);
  color: #fff8e8;
}

.lang-toggle-lg .lang-toggle-btn {
  padding: 0.55rem 1.15rem;
  font-size: 1rem;
}

.login-lang,
.welcome-lang {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.cart-link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  background: var(--brown-deep);
  color: #fff8e8;
  border-color: transparent;
}

.cart-count {
  min-width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: var(--honey);
  color: var(--brown-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.page,
.welcome {
  width: min(1100px, calc(100% - 1.25rem));
  margin: 0 auto;
  padding: 1rem 0 7rem;
}

.page-narrow {
  width: min(720px, calc(100% - 1.25rem));
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.page-head h1 {
  font-size: clamp(1.35rem, 5vw, 1.85rem);
  word-break: break-word;
}

.welcome {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 1rem 0.75rem;
  width: min(1100px, 100%);
}

.welcome-card h1 {
  font-size: clamp(1.35rem, 6vw, 1.9rem);
  line-height: 1.25;
  word-break: break-word;
}

.welcome-card,
.success-card,
.empty-card {
  width: min(460px, 100%);
  max-width: 460px;
  margin-inline: auto;
  padding: 1.35rem 1.1rem 1.5rem;
  text-align: center;
}

body.page-login {
  min-height: 100vh;
}

.login-wrap {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 1.5rem;
  display: grid;
  place-items: center;
}

.welcome-card,
.login-card,
.empty-card,
.success-card,
.form-card,
.order-card,
.qr-card,
.wifi-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
}

.login-card {
  width: min(420px, calc(100% - 0.5rem));
  max-width: 420px;
  margin-inline: auto;
  padding: 1.85rem 1.75rem 1.9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  box-sizing: border-box;
}

.login-card .eyebrow,
.login-card h1 {
  margin: 0;
}

.login-card .flash {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.login-card label {
  width: 100%;
  flex: none;
  gap: 0.45rem;
}

.login-card input {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 0.95rem;
  line-height: 1.25;
  box-sizing: border-box;
}

.password-field {
  position: relative;
  width: 100%;
}

.password-field input {
  width: 100%;
  padding-inline-end: 2.9rem;
}

.password-toggle {
  position: absolute;
  inset-inline-end: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.3rem;
  height: 2.3rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--brown-deep);
  outline: none;
}

.password-toggle .icon-eye-off {
  display: none;
}

.password-field.is-visible .icon-eye {
  display: none;
}

.password-field.is-visible .icon-eye-off {
  display: block;
}

.login-card .btn-xl {
  margin-top: 0.25rem;
  min-height: 3.15rem;
  padding: 0 1.25rem;
  line-height: 1;
}

.welcome-logo {
  width: 108px;
  height: 108px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--gold);
}

.welcome-emblem {
  width: 84px;
  height: 84px;
  margin: 0 auto 1rem;
  font-size: 1.8rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--honey-deep);
  font-weight: 700;
}

.welcome-tagline,
.lead {
  color: var(--brown);
  font-size: 1.05rem;
}

.zone-badge,
.wifi-card,
.order-number {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--cream-dark);
}

.wifi-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0;
  width: 100%;
}

.wifi-list .wifi-card {
  margin: 0;
  text-align: start;
}

.wifi-card .wifi-value {
  display: block;
  margin-bottom: 0.45rem;
  font-family: ui-monospace, Consolas, monospace;
  letter-spacing: 0.02em;
  word-break: break-word;
}

.wifi-card .wifi-value:last-child {
  margin-bottom: 0;
}

.form-section-title {
  margin: 0.5rem 0 0.25rem;
  font-size: 1.05rem;
}

.zone-badge span,
.wifi-card span,
.order-number span {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.zone-badge strong,
.wifi-card strong,
.order-number strong {
  font-size: 1.25rem;
}

.btn,
button.btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 0.75rem 1.35rem;
  box-sizing: border-box;
  font-family: inherit;
  font-size: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
  width: auto;
  max-width: 100%;
  min-height: 2.6rem;
  background: var(--cream-dark);
  color: var(--brown-deep);
}

.btn-primary {
  background: linear-gradient(180deg, var(--gold), var(--honey));
  color: var(--brown-deep);
  box-shadow: 0 8px 18px rgba(184, 134, 11, 0.28);
}

.btn-xl {
  width: 100%;
  min-height: 3.15rem;
  padding: 0 1.2rem;
  font-size: 1.05rem;
  line-height: 1;
}

.btn-sm {
  padding: 0.4rem 0.8rem;
  font-size: 0.88rem;
}

.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
}

.btn-danger,
.btn-text.danger {
  background: #f8e8e4;
  color: var(--danger);
}

.btn-text {
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.text-link {
  color: var(--honey-deep);
  font-weight: 700;
  text-decoration: none;
}

.cat-scroll,
.chip-row,
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  align-items: center;
}

.toolbar .btn,
.toolbar button.btn {
  width: auto;
  flex: 0 0 auto;
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  justify-content: center;
  text-align: center;
}

.cat-scroll {
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.cat-scroll::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.orders-toolbar {
  margin-bottom: 1.1rem;
}

.orders-toolbar .chip-row {
  width: 100%;
  gap: 0.45rem;
  align-items: center;
}

.chip,
.pill,
.pill-btn,
.status-pill,
.chip-btn {
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 999px;
  min-height: 2.35rem;
  padding: 0 0.95rem;
  background: #fff;
  color: var(--brown-deep);
  text-decoration: none;
  white-space: nowrap;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.chip-btn {
  appearance: none;
  margin: 0;
}

.chip.is-active,
.pill-btn.is-on {
  background: var(--brown-deep);
  color: #fff8e8;
  border-color: transparent;
}

.chip-sep {
  width: 1px;
  height: 1.35rem;
  background: var(--line);
  margin-inline: 0.15rem;
  flex-shrink: 0;
}

.menu-section {
  margin: 1.4rem 0 1.8rem;
}

.product-grid,
.orders-grid,
.qr-grid,
.form-grid {
  display: grid;
  gap: 1rem;
}

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

.product-card,
.order-card,
.qr-card {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(44, 24, 16, 0.06);
}

.order-card {
  padding: 1rem 1.05rem 1.05rem;
  display: flex;
  flex-direction: column;
}

.product-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: stretch;
  min-height: 96px;
}

.product-media {
  width: 96px;
  min-height: 96px;
  height: 100%;
  background: linear-gradient(160deg, #f6e7c1, #efe0b8);
}

.product-media img,
.product-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-placeholder {
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  line-height: 1;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
  padding: 0.75rem 0.85rem;
}

.product-body,
.qr-card,
.order-card {
  padding: 0.95rem 1rem 1.05rem;
}

.product-body {
  padding: 0.75rem 0.85rem;
}

.product-body h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.25;
}

.product-body p,
.order-card li small {
  color: var(--muted);
  font-size: 0.92rem;
}

.product-body p {
  margin: 0;
  flex: 1 1 auto;
}

.product-foot,
.checkout-total,
.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.product-foot {
  margin-top: auto;
  padding-top: 0.45rem;
  flex-wrap: nowrap;
}

.product-foot strong {
  font-size: 0.98rem;
  white-space: nowrap;
}

.product-foot form {
  margin: 0;
  flex-shrink: 0;
}

.product-foot .btn {
  min-width: 4.25rem;
  min-height: 2.15rem;
  padding: 0.4rem 0.9rem;
  justify-content: center;
}

.cart-dock {
  position: fixed;
  left: 50%;
  bottom: calc(0.85rem + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  width: min(1100px, calc(100% - 1.25rem));
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--brown-deep);
  color: #fff8e8;
  text-decoration: none;
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cart-dock.is-empty,
.cart-dock[hidden] {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(12px);
}

.page-menu {
  padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

body.page-menu .topbar {
  padding-inline: clamp(0.85rem, 2.2vw, 2rem);
}

.cart-dock span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Menu + side cart shell — full viewport, fluid gutters */
.menu-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem clamp(0.85rem, 2.2vw, 2rem) 2rem;
  box-sizing: border-box;
}

.menu-shell > .menu-main.page,
.menu-body > .menu-main.page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 5.5rem;
}

.menu-body {
  width: 100%;
}

.menu-cart-side {
  display: none;
}

@media (min-width: 960px) {
  .menu-shell {
    padding-bottom: 2rem;
  }

  .menu-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(300px, 26vw, 380px);
    gap: clamp(1rem, 2vw, 1.75rem);
    align-items: start;
  }

  .menu-body > .menu-main.page {
    padding: 0 0 2rem;
  }

  .menu-cart-side {
    display: block;
    position: sticky;
    top: 3.7rem;
    align-self: start;
    min-width: 0;
    width: 100%;
    margin-top: 0;
    padding-top: 0;
    max-height: calc(100dvh - 4.4rem);
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .menu-cart-side::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .cart-panel-side {
    min-height: 12rem;
  }

  .page-menu .cart-dock {
    display: none !important;
  }

  .page-menu {
    padding-bottom: 0;
  }

}

.page-cart-main {
  width: min(720px, calc(100% - 1.25rem));
  padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
}

.page-cart-main .cart-panel-page {
  box-shadow: none;
  border: 0;
  background: transparent;
}

.page-cart-main .cart-panel-head {
  padding-inline: 0;
}

.page-cart-main .checkout {
  padding-inline: 0;
}

@media (max-width: 959px) {
  .page-cart .cart-notes-block {
    margin-top: 1rem;
    padding: 1rem;
  }

  .page-cart .cart-notes-block .order-note-field textarea {
    min-height: 7.5rem;
  }

  .page-cart .note-field {
    flex: 1 1 100%;
  }

  .page-cart .checkout-footer {
    position: sticky;
    bottom: calc(0.35rem + env(safe-area-inset-bottom));
    z-index: 12;
    margin-top: 1.15rem;
    padding: 0.85rem 0.95rem;
    border-radius: 16px;
    background: rgba(255, 253, 248, 0.96);
    border: 1px solid var(--line);
    box-shadow: 0 10px 28px rgba(44, 24, 16, 0.12);
    backdrop-filter: blur(8px);
  }

  .page-cart .checkout-total {
    margin: 0;
  }

  .page-cart-main {
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }
}

.cart-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.cart-panel-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1.1rem 0.35rem;
  min-width: 0;
}

.cart-panel-head h2 {
  margin: 0;
  font-size: 1.35rem;
}

.cart-panel-count {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.cart-panel .checkout {
  margin-top: 0;
  padding: 0.65rem 1.1rem 1.15rem;
  max-width: 100%;
  box-sizing: border-box;
}

.cart-panel-empty,
.cart-panel .empty-card.cart-panel-empty {
  width: auto;
  max-width: none;
  margin: 0.75rem 1rem 1.2rem;
  padding: 1.15rem 0.9rem;
  text-align: center;
  box-sizing: border-box;
  background: var(--cream-dark);
  border: 1px dashed rgba(92, 64, 51, 0.18);
  border-radius: 14px;
  box-shadow: none;
}

.cart-panel-empty p {
  margin: 0;
}

.cart-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.cart-row-top h3 {
  margin: 0;
  font-size: 1.02rem;
  font-family: var(--serif);
}

.cart-notes-block {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
  padding: 0.95rem 1rem;
  background: var(--cream-dark);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.cart-notes-block .order-note-field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.note-field input {
  background: #fff;
}

.checkout-footer {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

.checkout-hint {
  margin: 0;
  font-size: 0.88rem;
}

.cart-list {
  display: grid;
  gap: 0.9rem;
}

.cart-row {
  flex-wrap: wrap;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cart-panel .cart-row {
  background: #fff;
}

.cart-row h2 {
  font-size: 1.05rem;
}

.cart-edit,
.order-actions,
.form-actions,
.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.cart-edit {
  width: 100%;
}

.cart-edit label:not(.opt-chip),
.checkout label:not(.opt-chip),
.form-card label {
  display: grid;
  gap: 0.3rem;
  font-size: 0.9rem;
  text-align: start;
  flex: 1;
}

.qty-field {
  flex: 0 0 auto;
  max-width: 6.5rem;
}

.form-card label.check,
label.check {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  width: fit-content;
  max-width: 100%;
  margin: 0.35rem 0 0.85rem;
  padding: 0.7rem 0.95rem;
  background: var(--cream-dark);
  border: 1px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
}

.form-card label.check input[type="checkbox"],
label.check input[type="checkbox"] {
  width: 1.2rem;
  height: 1.2rem;
  min-height: 0;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--honey-deep);
  cursor: pointer;
}

.form-card label.check span,
label.check span {
  margin: 0;
  line-height: 1.2;
}

.form-row-options {
  display: flex;
  align-items: center;
  margin: 0.15rem 0 0.35rem;
}

.form-row-options .check {
  margin: 0;
}

/* Align Active checkbox with neighbouring input fields in form-grid */
.form-grid > .form-row-options {
  align-self: end;
  margin: 0;
  min-height: 2.85rem;
}

.form-grid > .form-row-options .check,
.form-card .form-grid > .form-row-options .check {
  margin: 0;
  min-height: 2.85rem;
  padding: 0 0.95rem;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
}

.category-field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.category-field-head .field-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.category-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 3.15rem;
  gap: 0.65rem;
  align-items: stretch;
}

.cat-picker {
  position: relative;
  min-width: 0;
  width: 100%;
}

.cat-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cat-picker-toggle {
  width: 100%;
  min-height: 3.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--brown-deep);
  font: inherit;
  font-size: 0.95rem;
  text-align: start;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(44, 24, 16, 0.04);
}

.cat-picker-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cat-picker-caret {
  width: 0.55rem;
  height: 0.55rem;
  flex-shrink: 0;
  border-inline-end: 2px solid var(--brown);
  border-bottom: 2px solid var(--brown);
  transform: rotate(45deg);
  margin-top: -0.2rem;
}

.cat-picker.is-open .cat-picker-caret {
  transform: rotate(-135deg);
  margin-top: 0.2rem;
}

.cat-picker-menu {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 0.35rem);
  z-index: 30;
  max-height: min(16rem, 50vh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cat-picker-option {
  display: grid;
  gap: 0.1rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  cursor: pointer;
  min-width: 0;
}

.cat-picker-option:hover,
.cat-picker-option:focus,
.cat-picker-option.is-selected {
  background: var(--cream-dark);
  outline: none;
}

.cat-opt-main,
.cat-opt-sub {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cat-opt-main {
  font-weight: 700;
  font-size: 0.95rem;
}

.cat-opt-sub {
  color: var(--muted);
  font-size: 0.8rem;
}

.cat-picker-option.is-placeholder .cat-opt-main,
.cat-picker-option.is-placeholder {
  color: var(--muted);
  font-weight: 600;
}

.btn-add-cat {
  width: 3.15rem;
  min-width: 3.15rem;
  min-height: 3.15rem;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  font-size: 1.65rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  color: #2c1810;
  background: linear-gradient(160deg, #f0d060 0%, #d4a017 55%, #b8860b 100%);
  box-shadow:
    0 4px 0 #8a6508,
    0 10px 20px rgba(184, 134, 11, 0.35);
  flex-shrink: 0;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn-add-cat:hover,
.btn-add-cat:focus-visible {
  filter: brightness(1.06);
  transform: translateY(-1px);
  outline: none;
}

.btn-add-cat:active {
  transform: translateY(2px);
  box-shadow:
    0 1px 0 #8a6508,
    0 4px 10px rgba(184, 134, 11, 0.28);
}

.category-field.is-adding .btn-add-cat {
  color: #fff8e8;
  background: linear-gradient(160deg, #5c4033, #2c1810);
  box-shadow:
    0 4px 0 #1a0e0a,
    0 10px 18px rgba(44, 24, 16, 0.28);
}

.category-field.is-adding .btn-add-cat::after {
  content: none;
}

@media (max-width: 419px) {
  .category-field-row {
    grid-template-columns: minmax(0, 1fr) 2.9rem;
    gap: 0.5rem;
  }

  .btn-add-cat {
    width: 2.9rem;
    min-width: 2.9rem;
    min-height: 2.9rem;
    font-size: 1.45rem;
  }

  .cat-picker-toggle {
    min-height: 2.9rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
  }
}

.quick-category-panel {
  margin-top: 0.35rem;
  padding: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.quick-category-title {
  margin: 0 0 0.75rem;
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
}

.quick-category-panel .form-actions {
  margin-top: 0.35rem;
}

.quick-category-panel .flash {
  width: 100%;
  margin: 0.65rem 0 0;
}

.login-card label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.95rem;
  text-align: start;
  width: 100%;
}

.grow {
  flex: 2;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: inherit;
  max-width: 100%;
}

.qty-input {
  width: 5rem;
}

.checkout,
.form-card {
  margin-top: 1rem;
  padding: 1.35rem 1.25rem 1.5rem;
  box-sizing: border-box;
}

.form-card .form-actions {
  margin-top: 1.35rem;
  padding-top: 0.25rem;
  gap: 0.65rem;
}

.form-card .form-actions .btn,
.form-card .form-actions .btn-ghost {
  min-height: 2.85rem;
  padding: 0 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-card input[type="file"] {
  width: 100%;
  min-height: 3.1rem;
  padding: 0.75rem 0.85rem;
  border: 1px dashed rgba(92, 64, 51, 0.28);
  border-radius: 14px;
  background: var(--cream);
  color: var(--brown-deep);
  font-size: 0.92rem;
  cursor: pointer;
  box-sizing: border-box;
}

.form-card input[type="file"]::file-selector-button {
  margin-inline-end: 0.85rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--honey));
  color: var(--brown-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-card input[type="file"]::-webkit-file-upload-button {
  margin-inline-end: 0.85rem;
  padding: 0.45rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), var(--honey));
  color: var(--brown-deep);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.form-card .preview {
  margin-top: 0.75rem;
}

@media (max-width: 719px) {
  .form-card {
    padding: 1.2rem 1rem 1.4rem;
  }

  .form-card .form-actions {
    margin-top: 1.5rem;
  }

  .form-card .form-actions .btn,
  .form-card .form-actions .btn-ghost {
    flex: 1 1 calc(50% - 0.4rem);
    min-height: 3rem;
  }
}

.checkout-total {
  margin: 0.8rem 0;
  font-size: 1.15rem;
}

.success-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 0.8rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f3eb;
  color: var(--success);
  font-size: 1.6rem;
}

.flash {
  width: min(1100px, calc(100% - 1.5rem));
  margin: 0.8rem auto;
  padding: 0.75rem 1rem;
  border-radius: 12px;
}

.flash-success {
  background: #e7f3eb;
  color: var(--success);
}

.flash-error {
  background: #f8e8e4;
  color: var(--danger);
}

.toast-flash {
  position: fixed;
  left: 50%;
  bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  width: auto;
  max-width: min(90vw, 320px);
  margin: 0;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 10px 28px rgba(40, 24, 12, 0.18);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast-flash.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.product-foot .btn.is-added {
  filter: brightness(1.08);
}

.admin-body {
  background: #f6efe2;
}

.admin-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
}

.admin-backdrop {
  display: none;
}

.admin-sidebar {
  background: var(--espresso);
  color: #f8efdc;
  padding: 1.1rem 1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.admin-sidebar::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.admin-sidebar-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
  position: relative;
}

.admin-brand {
  color: inherit;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.admin-brand img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(248, 239, 220, 0.35);
  flex-shrink: 0;
  display: block;
  margin-inline: auto;
}

.admin-brand strong {
  font-family: var(--serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  word-break: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
  text-align: center;
}

.admin-brand span {
  opacity: 0.75;
  font-size: 0.85rem;
  text-align: center;
}

.admin-user {
  opacity: 0.75;
  font-size: 0.85rem;
}

.admin-close-btn,
.admin-menu-btn {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 0.35rem;
}

.admin-close-btn {
  display: none;
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  font-size: 1.25rem;
  line-height: 1;
  color: #f8efdc;
  z-index: 1;
}

.admin-menu-btn {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.admin-menu-btn span {
  display: block;
  width: 1.15rem;
  height: 2px;
  border-radius: 2px;
  background: var(--brown-deep);
}

.admin-nav {
  display: grid;
  gap: 0.35rem;
}

.admin-nav-link {
  color: inherit;
  text-decoration: none;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  min-height: 2.6rem;
  display: flex;
  align-items: center;
}

.admin-nav-link.is-active,
.admin-nav-link:hover {
  background: rgba(232, 197, 71, 0.18);
}

.admin-sidebar-foot {
  margin-top: auto;
  display: grid;
  gap: 0.55rem;
}

.admin-sidebar-foot > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 2.4rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--brown-deep);
  background: linear-gradient(180deg, var(--gold), var(--honey));
  border: 0;
}

.admin-sidebar-foot > a:hover,
.admin-sidebar-foot > a:focus-visible {
  filter: brightness(1.05);
  outline: none;
}

.admin-sidebar-foot .lang-toggle {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
  width: fit-content;
}

.admin-sidebar-foot .lang-toggle-btn {
  color: #f8efdc;
}

.admin-sidebar-foot .lang-toggle-btn.is-active {
  background: rgba(232, 197, 71, 0.28);
  color: #fff8e8;
}

.admin-main {
  min-width: 0;
}

.admin-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0.85rem 0;
  padding-top: calc(0.85rem + env(safe-area-inset-top));
}

.admin-top h1 {
  font-size: clamp(1.2rem, 4.5vw, 1.7rem);
  margin: 0;
  min-width: 0;
  word-break: break-word;
}

.admin-main > .flash {
  width: auto;
  margin: 0.75rem 0.85rem 0;
}

.admin-content {
  padding: 0.75rem 1.35rem 2.25rem;
  padding-bottom: calc(2.25rem + env(safe-area-inset-bottom));
  box-sizing: border-box;
}

.admin-content .flash {
  width: 100%;
  margin: 0.75rem 0;
}

.qr-actions,
.page-qrcodes .toolbar.print-hide {
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  padding-inline: 0.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.qr-actions .btn,
.page-qrcodes .toolbar .btn {
  margin: 0;
  width: auto;
  flex: 0 0 auto;
  padding: 0.75rem 1.6rem;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.table th,
.table td {
  padding: 0.7rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: start;
  vertical-align: middle;
}

.thumb,
.preview {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--cream-dark);
}

.preview {
  width: 96px;
  height: 96px;
}

.thumb-empty {
  display: grid;
  place-items: center;
}

.nowrap {
  white-space: nowrap;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.table-actions .inline {
  display: inline-flex;
  margin: 0;
}

.table-actions .btn,
.table-actions .btn-sm {
  min-width: 6.5rem;
  min-height: 2.35rem;
  padding: 0 0.9rem;
  justify-content: center;
  box-sizing: border-box;
}

/* Admin products page */
.admin-page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0 0 1.15rem;
}

.admin-page-head h1 {
  margin: 0;
  font-size: clamp(1.3rem, 2.4vw, 1.65rem);
  letter-spacing: -0.02em;
}

.admin-page-head .muted {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
}

.admin-empty {
  margin: 0;
  max-width: none;
  width: 100%;
}

.admin-products {
  display: grid;
  gap: 1rem;
}

.admin-product-panel {
  background: #fffdf8;
  border: 1px solid rgba(92, 64, 51, 0.1);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(44, 24, 16, 0.04);
}

.admin-product-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: linear-gradient(180deg, rgba(251, 246, 235, 0.95), rgba(247, 238, 220, 0.55));
  border-bottom: 1px solid rgba(92, 64, 51, 0.08);
}

.admin-product-panel-head h2 {
  margin: 0;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.admin-product-count {
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(44, 24, 16, 0.08);
  color: var(--brown-deep);
  font-size: 0.75rem;
  font-weight: 700;
}

.admin-product-list {
  display: grid;
}

.admin-product-row {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  grid-template-areas:
    "thumb info price"
    "thumb status status"
    "ops ops ops";
  gap: 0.55rem 0.75rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid rgba(92, 64, 51, 0.07);
  background: #fff;
}

.admin-product-row:first-child {
  border-top: 0;
}

.admin-product-row.is-off {
  background: #faf7f1;
}

.admin-product-row.is-off .admin-product-info h3,
.admin-product-row.is-off .admin-product-price {
  opacity: 0.7;
}

.admin-product-thumb {
  grid-area: thumb;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(160deg, #f4e6c4, #e8d5a4);
  flex-shrink: 0;
}

.admin-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.admin-product-thumb-empty {
  display: block;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 50% 42%, rgba(92, 64, 51, 0.18) 0 28%, transparent 30%),
    linear-gradient(160deg, #f4e6c4, #e8d5a4);
}

.admin-product-info {
  grid-area: info;
  min-width: 0;
}

.admin-product-info h3 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-product-info p {
  margin: 0.15rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.admin-product-price {
  grid-area: price;
  justify-self: end;
  font-size: 0.95rem;
  white-space: nowrap;
}

.admin-product-status {
  grid-area: status;
  margin: 0;
  justify-self: end;
}

.status-chip {
  appearance: none;
  border: 0;
  border-radius: 999px;
  min-height: 1.7rem;
  padding: 0 0.7rem;
  background: rgba(92, 64, 51, 0.1);
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.status-chip.is-on {
  background: rgba(47, 111, 78, 0.14);
  color: #2f6f4e;
}

.admin-product-ops {
  grid-area: ops;
  display: flex;
  gap: 0.4rem;
}

.admin-product-ops form {
  margin: 0;
}

.admin-product-ops .btn {
  min-height: 2rem;
  min-width: 0;
  padding: 0 0.85rem;
  font-size: 0.82rem;
}

@media (min-width: 820px) {
  .admin-product-row {
    grid-template-columns: 56px minmax(0, 1.4fr) 110px 100px auto;
    grid-template-areas: "thumb info price status ops";
    gap: 0.85rem;
    padding: 0.7rem 1rem;
  }

  .admin-product-status {
    justify-self: center;
  }

  .admin-product-ops {
    justify-content: flex-end;
  }
}

.i18n-hint {
  margin: 0.35rem 0 0.9rem;
  font-size: 0.9rem;
}

[data-i18n-pair].is-translating {
  opacity: 0.65;
  background: #fff8e8;
}

.order-card header {
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
}

.order-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-card li {
  padding: 0.25rem 0;
}

.order-card.status-pending {
  border-color: rgba(212, 160, 23, 0.55);
  box-shadow: 0 12px 28px rgba(44, 24, 16, 0.06), inset 3px 0 0 #d4a017;
}

.order-card.status-preparing {
  border-color: rgba(201, 132, 42, 0.55);
  box-shadow: 0 12px 28px rgba(44, 24, 16, 0.06), inset 3px 0 0 #c9842a;
}

.order-card.status-ready {
  border-color: rgba(63, 143, 93, 0.5);
  box-shadow: 0 12px 28px rgba(44, 24, 16, 0.06), inset 3px 0 0 #3f8f5d;
}

.order-card.status-done,
.order-card.status-cancelled {
  opacity: 0.92;
}

.order-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(92, 64, 51, 0.1);
}

.order-card-id {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.order-card-id strong {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.order-card-id time {
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.order-card-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.order-card .zone-pill,
.order-card .status-pill {
  min-height: 1.7rem;
  padding: 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 253, 248, 0.95);
  border-color: rgba(92, 64, 51, 0.12);
}

.order-card .status-pill {
  background: rgba(212, 160, 23, 0.14);
  border-color: transparent;
  color: var(--brown-deep);
}

.order-card.status-preparing .status-pill {
  background: rgba(201, 132, 42, 0.16);
}

.order-card.status-ready .status-pill {
  background: rgba(63, 143, 93, 0.16);
  color: #245c3a;
}

.order-card.status-cancelled .status-pill {
  background: rgba(163, 59, 43, 0.12);
  color: var(--danger);
}

.order-items {
  display: grid;
  gap: 0.45rem;
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
}

.order-items li {
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  background: rgba(251, 246, 235, 0.7);
  border: 1px solid rgba(92, 64, 51, 0.06);
}

.order-item-main {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.order-item-name {
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

.order-item-main .price {
  flex: 0 0 auto;
  font-size: 0.9rem;
  white-space: nowrap;
}

.order-card-foot {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(92, 64, 51, 0.1);
}

.order-card-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
}

.order-card-total > span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.order-card-total .price {
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.order-footer-actions {
  display: grid;
  gap: 0.5rem;
}

.order-secondary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.order-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.4rem;
  width: 100%;
}

.order-actions .btn {
  width: 100%;
  min-height: 2.35rem;
  justify-content: center;
}

.order-actions .btn-danger {
  grid-column: 1 / -1;
}

#orders-board.has-new-order {
  animation: orderPulse 0.9s ease 2;
}

@keyframes orderPulse {
  0%, 100% { outline: 0 solid transparent; }
  50% { outline: 3px solid rgba(196, 92, 38, 0.55); outline-offset: 4px; }
}

#sound-toggle.needs-unlock {
  animation: soundHint 1.1s ease infinite;
  border-color: #c45c26;
}

@keyframes soundHint {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.8rem;
  word-break: break-all;
}

.qr-card img {
  width: min(260px, 100%);
  margin: 0.8rem auto;
  background: #fff;
  padding: 0.6rem;
  border-radius: 12px;
}

.empty {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted);
}

.login-wrap {
  padding: 1rem;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}

.form-card,
.checkout {
  max-width: 100%;
  box-sizing: border-box;
}

.cat-scroll {
  margin-inline: 0;
  padding-inline: 0;
  padding-bottom: 0.15rem;
  gap: 0.45rem;
}

.cat-scroll .chip {
  flex: 0 0 auto;
  min-height: 2.35rem;
  padding: 0 0.95rem;
}

/* ---------- Mobile first refinements ---------- */
@media (max-width: 719px) {
  .page,
  .welcome {
    width: min(1100px, calc(100% - 1rem));
    padding-top: 0.85rem;
  }

  .menu-shell {
    width: 100%;
    max-width: none;
    padding-top: 0.85rem;
    padding-inline: 0.75rem;
  }

  .menu-shell > .menu-main.page {
    padding-top: 0;
  }

  .topbar {
    padding: 0.55rem 0.7rem;
    padding-top: calc(0.55rem + env(safe-area-inset-top));
    gap: 0.5rem;
  }

  .topbar-brand {
    max-width: 36%;
    gap: 0.4rem;
  }

  .topbar-mark {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .topbar-logo {
    width: 32px;
    height: 32px;
  }

  .topbar-name {
    max-width: 100%;
    font-size: 0.78rem;
  }

  .topbar-actions {
    gap: 0.35rem;
  }

  .topbar .lang-toggle-btn {
    padding: 0.32rem 0.42rem;
    font-size: 0.7rem;
  }

  .cart-label {
    display: none;
  }

  .cart-link {
    min-width: 2.4rem;
    min-height: 2.4rem;
    padding: 0.3rem 0.5rem;
    justify-content: center;
  }

  .lang-toggle-lg .lang-toggle-btn {
    padding: 0.45rem 0.75rem;
    font-size: 0.9rem;
  }

  .menu-section {
    margin: 1.1rem 0 1.35rem;
  }

  .menu-section h2 {
    margin: 0 0 0.7rem;
    font-size: 1.15rem;
  }

  .product-grid {
    gap: 0.7rem;
  }

  .product-card {
    grid-template-columns: 84px minmax(0, 1fr);
    min-height: 84px;
  }

  .product-media {
    width: 84px;
    min-height: 84px;
  }

  .product-placeholder {
    font-size: 1.4rem;
  }

  .product-body {
    padding: 0.65rem 0.7rem 0.7rem;
    gap: 0.22rem;
  }

  .product-body h3 {
    font-size: 0.95rem;
    line-height: 1.25;
  }

  .product-body p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .product-foot {
    gap: 0.5rem;
    padding-top: 0.4rem;
    flex-wrap: nowrap;
  }

  .product-foot strong {
    font-size: 0.9rem;
  }

  .product-foot .btn {
    min-width: 3.75rem;
    min-height: 2.05rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
  }

  .cart-row {
    padding: 0.85rem;
  }

  .cart-edit label:not(.opt-chip) {
    flex: 1 1 100%;
  }

  .qty-input {
    width: 100%;
    max-width: 7rem;
  }

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

  .order-actions .btn {
    flex: none;
    min-height: 2.4rem;
  }

  .toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .toolbar .btn,
  .toolbar button.btn {
    width: auto;
    align-self: flex-start;
  }

  .orders-toolbar .chip-row,
  .chip-row {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.15rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .orders-toolbar .chip-row::-webkit-scrollbar,
  .chip-row::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .chip,
  .chip-btn {
    flex: 0 0 auto;
    min-height: 2.45rem;
    padding: 0 0.9rem;
  }

  .chip-sep {
    height: 1.2rem;
  }

  .admin-menu-btn {
    display: inline-flex;
  }

  .admin-close-btn {
    display: inline-grid;
    place-items: center;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-backdrop {
    position: fixed;
    inset: 0;
    z-index: 40;
    border: 0;
    padding: 0;
    margin: 0;
    background: rgba(44, 24, 16, 0.45);
  }

  body.admin-nav-open .admin-backdrop {
    display: block;
  }

  .admin-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    z-index: 50;
    width: min(18rem, 86vw);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 0.22s ease;
    box-shadow: var(--shadow);
    padding-top: calc(1rem + env(safe-area-inset-top));
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .admin-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  [dir="rtl"] .admin-sidebar {
    transform: translateX(105%);
  }

  body.admin-nav-open .admin-sidebar {
    transform: translateX(0);
  }

  body.admin-nav-open {
    overflow: hidden;
  }

  .table-actions .btn,
  .table-actions .btn-sm {
    min-width: 5.5rem;
  }

  .form-actions .btn,
  .form-actions .btn-ghost {
    flex: 1 1 auto;
    min-height: 2.6rem;
  }

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

@media (min-width: 720px) {
  .product-card {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .product-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .product-body {
    padding: 0.95rem 1rem 1.05rem;
    flex: 1;
  }

  .product-grid,
  .orders-grid,
  .qr-grid,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .admin-shell {
    grid-template-columns: 270px 1fr;
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  .admin-body {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    align-self: start;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .admin-sidebar::-webkit-scrollbar {
    width: 0;
    height: 0;
    display: none;
  }

  .admin-main {
    min-width: 0;
    min-height: 0;
    height: 100vh;
    height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .admin-content {
    padding: 1rem 1.75rem 2.5rem;
  }

  .admin-top {
    padding-inline: 1.75rem;
  }

  .admin-main > .flash {
    margin-inline: 1.75rem;
  }

  .admin-menu-btn,
  .admin-close-btn,
  .admin-backdrop {
    display: none !important;
  }

  .topbar-brand {
    max-width: none;
  }

  .topbar .lang-toggle-btn {
    padding: 0.4rem 0.85rem;
    font-size: 0.9rem;
  }

  .cart-label {
    display: inline;
  }
}

@media (min-width: 1024px) {
  .product-grid,
  .orders-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.order-card li {
  padding: 0;
  display: block;
}

.order-card li .price,
.price {
  font-style: normal;
  font-weight: 700;
  color: var(--brown-deep);
  font-variant-numeric: tabular-nums;
}

.order-card .item-note,
.order-card .order-note {
  display: block;
  width: 100%;
  margin: 0.35rem 0 0;
  padding: 0.4rem 0.55rem;
  background: rgba(196, 92, 38, 0.08);
  border-radius: 8px;
  color: var(--brown-deep);
  font-size: 0.82rem;
  line-height: 1.35;
}

.order-card > .order-note {
  margin: 0 0 0.55rem;
}

.order-footer-actions {
  display: grid;
  gap: 0.5rem;
  align-items: stretch;
  justify-content: stretch;
}

.btn-whatsapp {
  background: #25d366 !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: none !important;
}

.whatsapp-test-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0.35rem 0 0.85rem;
}

.order-edit-form .cart-list {
  margin-bottom: 1rem;
}

.order-edit-form .order-note-field {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0 1rem;
}

.wa-fab {
  position: fixed;
  z-index: 45;
  right: 1rem;
  left: auto;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 0;
  line-height: 0;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.38);
}

.wa-fab span {
  display: none !important;
}

.wa-fab-icon {
  width: 1.7rem;
  height: 1.7rem;
  flex: 0 0 auto;
}

.page-cart .wa-fab,
.page-success .wa-fab,
.page-menu .wa-fab {
  bottom: calc(5.4rem + env(safe-area-inset-bottom));
}

@media (min-width: 960px) {
  .page-menu .wa-fab {
    bottom: calc(1.25rem + env(safe-area-inset-bottom));
  }
}

.status-tracker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin: 1.1rem 0 0.85rem;
  width: 100%;
}

.status-tracker .step {
  text-align: center;
  opacity: 0.45;
}

.status-tracker .step-dot {
  display: block;
  width: 0.7rem;
  height: 0.7rem;
  margin: 0 auto 0.35rem;
  border-radius: 50%;
  background: var(--line);
}

.status-tracker .step-label {
  font-size: 0.72rem;
  line-height: 1.2;
  display: block;
}

.status-tracker .step.is-done,
.status-tracker .step.is-current {
  opacity: 1;
}

.status-tracker .step.is-done .step-dot,
.status-tracker .step.is-current .step-dot {
  background: var(--honey-deep);
}

.status-tracker .step.is-current .step-dot {
  box-shadow: 0 0 0 4px rgba(184, 134, 11, 0.25);
}

.track-items {
  list-style: none;
  margin: 0.85rem 0;
  padding: 0;
  text-align: start;
  width: 100%;
}

.track-items li {
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line);
}

.track-items small {
  display: block;
  color: var(--muted);
  margin-top: 0.2rem;
}

.track-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1rem;
}

.opt-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  width: 100%;
  margin-top: 0.35rem;
}

.opt-chip {
  display: inline-flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 0.8rem;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.opt-chip input {
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--honey-deep);
}

/* ---------- Menu polish (desktop + mobile) ---------- */
.page-menu .menu-head {
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.page-menu .menu-head-text h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3.5vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.page-menu .menu-zone {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  margin: 0;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.14);
  color: var(--brown);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.page-menu .menu-cats-wrap {
  position: sticky;
  top: 3.55rem;
  z-index: 12;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 1.2rem;
  padding: 0.45rem;
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(92, 64, 51, 0.1);
  box-shadow: 0 10px 28px rgba(44, 24, 16, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.page-menu .menu-cats-wrap::before,
.page-menu .menu-cats-wrap::after {
  content: "";
  position: absolute;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 2rem;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.page-menu .menu-cats-wrap::before {
  inset-inline-start: 2.4rem;
  background: linear-gradient(to right, rgba(255, 253, 248, 0.98), transparent);
}

.page-menu .menu-cats-wrap::after {
  inset-inline-end: 2.4rem;
  background: linear-gradient(to left, rgba(255, 253, 248, 0.98), transparent);
}

.page-menu .menu-cats-wrap.has-left::before,
.page-menu .menu-cats-wrap.has-right::after {
  opacity: 1;
}

.page-menu .menu-cats {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.15rem 0.2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: transparent;
  border: 0;
  backdrop-filter: none;
}

.page-menu .menu-cats::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.page-menu .menu-cats-nav {
  appearance: none;
  z-index: 3;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(92, 64, 51, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--brown-deep);
  box-shadow: 0 4px 12px rgba(44, 24, 16, 0.08);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.15s ease, transform 0.15s ease, opacity 0.15s ease;
}

.page-menu .menu-cats-nav:hover {
  background: var(--cream-dark);
  transform: scale(1.04);
}

.page-menu .menu-cats-nav:active {
  transform: scale(0.96);
}

.page-menu .menu-cats-nav.is-prev::before,
.page-menu .menu-cats-nav.is-next::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-inline-start: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-inline-start: 0.12rem;
}

.page-menu .menu-cats-nav.is-next::before {
  transform: rotate(225deg);
  margin-inline-start: 0;
  margin-inline-end: 0.12rem;
}

html[dir="rtl"] .page-menu .menu-cats-nav.is-prev::before {
  transform: rotate(225deg);
  margin-inline-start: 0;
  margin-inline-end: 0.12rem;
}

html[dir="rtl"] .page-menu .menu-cats-nav.is-next::before {
  transform: rotate(45deg);
  margin-inline-start: 0.12rem;
  margin-inline-end: 0;
}

.page-menu .menu-cats .chip {
  min-height: 2.15rem;
  padding: 0 1rem;
  border-color: transparent;
  background: transparent;
  color: var(--brown);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.15s ease;
}

.page-menu .menu-cats .chip:hover {
  background: rgba(212, 160, 23, 0.12);
  border-color: transparent;
  color: var(--brown-deep);
  transform: none;
}

.page-menu .menu-cats .chip.is-active {
  background: linear-gradient(135deg, #2c1810 0%, #4a2f22 100%);
  color: #fff8e8;
  border-color: transparent;
  box-shadow: 0 8px 18px rgba(44, 24, 16, 0.18);
}

.page-menu .menu-section {
  margin: 0 0 1.65rem;
}

.page-menu .menu-section h2 {
  margin: 0 0 0.85rem;
  padding-bottom: 0.45rem;
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  letter-spacing: -0.01em;
  border-bottom: 1px solid rgba(92, 64, 51, 0.1);
  position: relative;
}

.page-menu .menu-section h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -1px;
  width: 2.4rem;
  height: 2px;
  background: var(--honey);
  border-radius: 2px;
}

.page-menu .product-grid {
  gap: 0.85rem;
}

.page-menu .product-card {
  border: 1px solid rgba(92, 64, 51, 0.1);
  border-radius: 20px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 10px 28px rgba(44, 24, 16, 0.05);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.page-menu .product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 160, 23, 0.35);
  box-shadow: 0 16px 34px rgba(44, 24, 16, 0.09);
}

.page-menu .product-media {
  background:
    radial-gradient(circle at 30% 25%, rgba(232, 197, 71, 0.35), transparent 55%),
    linear-gradient(160deg, #f7ebcf, #ead7a8);
}

.page-menu .product-placeholder {
  position: relative;
}

.page-menu .product-placeholder::before {
  content: "";
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50% 50% 45% 45%;
  background: rgba(92, 64, 51, 0.18);
  box-shadow: inset 0 -6px 0 rgba(92, 64, 51, 0.08);
}

.page-menu .product-body h3 {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}

.page-menu .product-body p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.4;
}

.page-menu .product-foot {
  padding-top: 0.55rem;
  border-top: 1px solid rgba(92, 64, 51, 0.08);
  margin-top: 0.55rem;
}

.page-menu .product-foot .price {
  color: var(--brown-deep);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.page-menu .btn-add {
  min-width: 4.5rem;
  min-height: 2.2rem;
  border: 0;
  border-radius: 999px;
  background: var(--brown-deep);
  color: #fff8e8;
  font-weight: 700;
  box-shadow: 0 8px 16px rgba(44, 24, 16, 0.14);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.page-menu .btn-add:hover {
  background: #3a2218;
  transform: translateY(-1px);
}

.page-menu .btn-add:active,
.page-menu .btn-add.is-added {
  transform: translateY(1px) scale(0.98);
  background: var(--honey-deep);
  color: #fff;
}

.page-menu .cart-dock {
  border-radius: 18px;
  padding: 0.95rem 1.15rem;
  background: linear-gradient(135deg, #2c1810 0%, #4a2f22 100%);
  box-shadow: 0 16px 36px rgba(44, 24, 16, 0.28);
}

.page-menu .menu-cart-side .cart-panel-side {
  border-radius: 22px;
  border-color: rgba(92, 64, 51, 0.1);
  box-shadow: 0 18px 40px rgba(44, 24, 16, 0.08);
  background: rgba(255, 253, 248, 0.97);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 719px) {
  .page-menu .menu-cats-wrap {
    top: 3.2rem;
    margin-inline: 0;
    padding: 0.35rem;
    border-radius: 16px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .page-menu .menu-cats-wrap .menu-zone {
    font-size: 0.72rem;
    padding: 0.24rem 0.55rem;
  }

  .page-menu .menu-cats-wrap::before {
    inset-inline-start: 0.35rem;
  }

  .page-menu .menu-cats-wrap::after {
    inset-inline-end: 0.35rem;
  }

  .page-menu .menu-cats-nav {
    display: none;
  }

  .page-menu .product-card {
    border-radius: 16px;
    grid-template-columns: 88px minmax(0, 1fr);
    min-height: 88px;
  }

  .page-menu .product-media {
    width: 88px;
    min-height: 88px;
  }

  .page-menu .product-body {
    padding: 0.7rem 0.75rem 0.75rem;
  }

  .page-menu .product-body h3 {
    font-size: 0.95rem;
  }

  .page-menu .product-body p {
    font-size: 0.76rem;
    -webkit-line-clamp: 2;
  }

  .page-menu .btn-add {
    min-width: 3.9rem;
    min-height: 2.05rem;
    font-size: 0.84rem;
  }

  .page-menu .product-card:hover {
    transform: none;
  }
}

@media (min-width: 720px) and (max-width: 959px) {
  .page-menu .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

@media (min-width: 960px) {
  .page-menu .menu-cats-wrap {
    top: 3.7rem;
  }

  .page-menu .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 0.9rem;
  }

  .page-menu .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
  }

  .page-menu .product-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    height: auto;
  }

  .page-menu .product-body {
    padding: 0.85rem 0.9rem 0.95rem;
    flex: 1;
  }

  .page-menu .product-body h3 {
    font-size: 0.98rem;
  }

  .page-menu .product-body p {
    -webkit-line-clamp: 2;
    font-size: 0.8rem;
  }
}

@media (min-width: 1200px) {
  .page-menu .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1600px) {
  .page-menu .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  }
}

@media print {
  .admin-sidebar,
  .admin-top,
  .admin-menu-btn,
  .admin-backdrop,
  .toolbar,
  .print-hide,
  .qr-actions,
  .flash,
  .lead,
  .muted,
  .wa-fab {
    display: none !important;
  }

  .admin-shell,
  .admin-content {
    display: block;
    padding: 0;
    background: #fff;
  }

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

  .qr-card {
    box-shadow: none;
  }
}
