:root {
  color-scheme: dark;
  --bg: #070708;
  --surface: #111214;
  --surface-strong: #17181b;
  --surface-muted: #202126;
  --ink: #f7f4ef;
  --muted: #c9c2b8;
  --quiet: #938b80;
  --line: #2b2c31;
  --line-strong: #414247;
  --teal: #3fb7a9;
  --teal-dark: #8ddbd3;
  --red: #ff3b2f;
  --gold: #b88932;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-width: 320px;
  background: linear-gradient(180deg, #070708 0%, #101012 56%, #080809 100%);
  color: var(--ink);
  font-family: Geist, "Geist Fallback", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
.icon-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
}

button:hover,
.icon-link:hover {
  border-color: var(--red);
  color: var(--red);
}

.app-shell {
  width: min(100%, 1680px);
  margin: 0 auto;
  padding: 24px;
}

.staff-shell {
  width: min(100%, 720px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 24px;
}

.view-panel[hidden] {
  display: none !important;
}

.topbar,
.panel-head,
.qr-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar {
  padding-bottom: 20px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  font-size: 22px;
  line-height: 1.12;
  letter-spacing: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.top-actions {
  display: flex;
  gap: 10px;
}

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

.staff-dashboard-card {
  min-height: 106px;
  display: grid;
  align-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.94);
  padding: 16px;
  box-shadow: var(--shadow);
}

.staff-dashboard-card span {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.staff-dashboard-card strong {
  color: var(--text);
  font-size: 22px;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.staff-dashboard-wide {
  grid-column: span 3;
}

.staff-permission-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.staff-permission-list li {
  border: 1px solid rgba(240, 192, 106, 0.5);
  border-radius: 999px;
  background: rgba(240, 192, 106, 0.1);
  color: #f0c06a;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 850;
}

.staff-dashboard-actions > div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.staff-dashboard-actions a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--red, #e23127);
  color: #fff;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.staff-dashboard-actions a + a {
  background: #171717;
}

.cashier-admin-console {
  min-height: 900px;
  margin: -10px -18px -30px;
}

.cashier-admin-console iframe {
  width: 100%;
  min-height: 1260px;
  display: block;
  border: 0;
  background: #f1eee8;
}

.top-actions .icon-link,
.qr-head .icon-link {
  padding: 0 14px;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.main-nav button {
  min-height: 38px;
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
}

.main-nav button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #080808;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.metrics article {
  min-height: 94px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  background: var(--surface);
}

.metrics span {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.metrics strong {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.operations-console {
  display: grid;
  gap: 16px;
}

.operations-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.94);
  padding: 18px;
  box-shadow: var(--shadow);
}

.operations-actions {
  display: grid;
  grid-template-columns: minmax(150px, 190px) minmax(130px, 160px) auto auto;
  gap: 10px;
  align-items: end;
}

.operations-actions button {
  min-height: 42px;
  border-color: rgba(240, 192, 106, 0.52);
  background: rgba(240, 192, 106, 0.12);
  color: #f0c06a;
}

.operations-actions button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #080808;
}

.operations-state {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.operations-chip {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.operations-chip.is-good {
  border-color: rgba(63, 183, 169, 0.5);
  background: rgba(63, 183, 169, 0.1);
  color: #8ddbd3;
}

.operations-chip.is-warn {
  border-color: rgba(240, 192, 106, 0.5);
  background: rgba(240, 192, 106, 0.1);
  color: #f0c06a;
}

.operations-kpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.operations-kpis article {
  min-height: 112px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  background: var(--surface);
  padding: 18px;
}

.operations-kpis span,
.operations-kpis small,
.operations-infra-main span {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.operations-kpis strong {
  overflow-wrap: anywhere;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1;
}

.operations-kpis small {
  color: var(--muted);
}

.operations-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.operations-tabs button {
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 0 16px;
}

.operations-tabs button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #050505;
}

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

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

.operations-panel {
  min-height: 270px;
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.92);
  padding: 18px;
  box-shadow: var(--shadow);
}

.operations-panel header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.operations-wide {
  grid-column: 1 / -1;
}

.operations-bars,
.operations-timeline,
.operations-combo-chart,
.operations-stack,
.operations-list,
.operations-insights,
.operations-infrastructure,
.operations-line-chart {
  display: grid;
  gap: 9px;
}

.operations-bar-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 120px;
  gap: 10px;
  align-items: center;
}

.operations-bar-row small {
  grid-column: 2 / -1;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 850;
}

.operations-timeline-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 116px 170px;
  gap: 10px;
  align-items: center;
}

.operations-bar-row span,
.operations-timeline-row span,
.operations-timeline-row small,
.operations-list-row span,
.operations-list-row small,
.operations-mix-row span {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 850;
}

.operations-bar-row strong {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.operations-timeline-row strong {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.operations-bar-track {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(240, 192, 106, 0.34);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.operations-bar-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #f0c06a;
}

.operations-chart-legend,
.operations-line-legend,
.operations-selected-products {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.operations-chart-legend span,
.operations-line-legend span,
.operations-selected-products span,
.operations-selected-products button {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
}

.operations-selected-products button {
  cursor: pointer;
}

.operations-chart-legend i,
.operations-line-legend i {
  width: 10px;
  height: 10px;
  display: inline-block;
  border-radius: 999px;
}

.operations-chart-legend .is-revenue,
.operations-combo-bars .is-revenue {
  background: #f0c06a;
}

.operations-chart-legend .is-secondary,
.operations-combo-bars .is-secondary {
  background: #3fb7a9;
}

.operations-combo-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) 126px 58px;
  gap: 10px;
  align-items: center;
}

.operations-combo-row span,
.operations-combo-row small {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 850;
}

.operations-combo-row strong {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.operations-combo-bars {
  display: grid;
  gap: 5px;
}

.operations-combo-bars i {
  display: block;
  height: 8px;
  border-radius: 999px;
}

.operations-compare-controls {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto auto;
  gap: 8px;
  align-items: end;
  min-width: min(100%, 520px);
}

.operations-compare-controls button,
.operations-compare-controls select {
  min-height: 38px;
}

.operations-line-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
  padding: 10px;
}

.operations-line-wrap svg {
  min-width: 620px;
  width: 100%;
  height: auto;
}

.operations-line-wrap line {
  stroke: rgba(255, 255, 255, 0.18);
  stroke-width: 1;
}

.operations-line-wrap text {
  fill: var(--quiet);
  font-size: 11px;
  font-weight: 800;
}

.line-series path {
  fill: none;
  stroke: var(--series-color);
  stroke-width: 3;
}

.line-series circle {
  fill: var(--series-color);
}

.operations-mix-row,
.operations-list-row,
.operations-insight {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 12px;
}

.operations-mix-row,
.operations-list-row {
  grid-template-columns: minmax(46px, auto) minmax(0, 1fr) auto;
  align-items: center;
}

.operations-mix-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.operations-mix-row strong,
.operations-list-row strong {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 14px;
}

.operations-mix-row b,
.operations-list-row b {
  color: #f0c06a;
  font-size: 13px;
  text-align: right;
}

.operations-insight {
  border-left: 3px solid var(--line-strong);
}

.operations-insight.is-good {
  border-left-color: var(--teal);
}

.operations-insight.is-warn {
  border-left-color: var(--gold);
}

.operations-insight.is-bad {
  border-left-color: var(--red);
}

.operations-insight strong {
  color: var(--ink);
  font-size: 14px;
}

.operations-insight p,
.operations-infrastructure p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.operations-infra-main {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.operations-infra-main article {
  display: grid;
  gap: 8px;
  background: var(--surface);
  padding: 12px;
}

.operations-infra-main strong {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 16px;
}

.operations-table-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.operations-table-chips span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 850;
}

.reports-console {
  display: grid;
  gap: 16px;
}

.reports-hero {
  align-items: center;
}

.reports-hero > div > p:last-child,
.reports-helper {
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.reports-export-button {
  min-height: 42px;
  flex: 0 0 auto;
  border-color: var(--red);
  background: var(--red);
  color: #080808;
  white-space: nowrap;
}

.reports-controls {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr);
  gap: 12px;
  align-items: start;
}

.reports-filter-details {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
}

.reports-filter-details > summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 14px;
  cursor: pointer;
  list-style: none;
}

.reports-filter-details > summary::-webkit-details-marker {
  display: none;
}

.reports-filter-details > summary::after {
  content: "+";
  flex: 0 0 auto;
  color: #f0c06a;
  font-size: 20px;
  line-height: 1;
}

.reports-filter-details[open] > summary::after {
  content: "−";
}

.reports-filter-details > summary span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.reports-filter-details > summary small {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reports-filter-form {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(120px, 1fr)) auto;
  gap: 9px;
  align-items: end;
  padding: 0 14px 14px;
}

.reports-filter-form label {
  display: grid;
  gap: 6px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.reports-filter-form input,
.reports-filter-form select,
.reports-filter-form button {
  min-height: 42px;
}

.reports-filter-form button {
  border-color: rgba(240, 192, 106, 0.52);
  background: rgba(240, 192, 106, 0.12);
  color: #f0c06a;
  white-space: nowrap;
}

.reports-quick-ranges {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.reports-quick-ranges button {
  min-height: 36px;
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 12px;
}

.reports-quick-ranges button.is-active {
  border-color: #f0c06a;
  background: rgba(240, 192, 106, 0.1);
  color: #f0c06a;
}

.reports-section-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.reports-section-tabs button {
  min-height: 42px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
}

.reports-section-tabs button.is-active {
  border-color: rgba(240, 192, 106, 0.5);
  background: rgba(240, 192, 106, 0.12);
  color: #f0c06a;
}

.reports-tab-panel {
  min-width: 0;
  display: grid;
  gap: 14px;
}

.reports-tab-panel[hidden] {
  display: none;
}

.reports-comparison-context {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(240, 192, 106, 0.22);
  border-radius: 10px;
  background: rgba(240, 192, 106, 0.05);
  padding: 10px 13px;
}

.reports-comparison-context:empty {
  display: none;
}

.reports-comparison-context div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.reports-comparison-context span,
.reports-comparison-context small {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reports-comparison-context strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reports-comparison-context small {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 5px 8px;
}

.reports-comparison-context small.is-ready {
  background: rgba(63, 183, 169, 0.1);
  color: #8ddbd3;
}

.reports-comparison-context small.is-empty {
  background: rgba(255, 255, 255, 0.05);
}

.reports-kpi-change {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 7px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.reports-kpi-change.is-up {
  background: rgba(63, 183, 169, 0.12);
  color: #8ddbd3;
}

.reports-kpi-change.is-down {
  background: rgba(225, 83, 94, 0.12);
  color: #ff9ba3;
}

.reports-kpi-change.is-flat,
.reports-kpi-change.is-empty {
  background: rgba(255, 255, 255, 0.05);
  color: var(--quiet);
}

.reports-insights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.reports-insights article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  padding: 13px;
}

.reports-insights span,
.reports-insights strong,
.reports-insights p {
  display: block;
}

.reports-insights span {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.reports-insights strong {
  margin-top: 7px;
  overflow: hidden;
  color: var(--ink);
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reports-insights p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.reports-methodology {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.reports-methodology > summary {
  padding: 13px 15px;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.reports-methodology .reports-definitions {
  padding: 0 15px 15px;
}

.reports-table-panel {
  min-height: 0;
}

.reports-count {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--quiet);
  padding: 0 10px;
  font-size: 11px;
  font-weight: 900;
}

.reports-table-wrap {
  width: 100%;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.34);
  -webkit-overflow-scrolling: touch;
}

.reports-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  font-size: 12px;
}

.reports-table th,
.reports-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}

.reports-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #17181a;
  color: var(--quiet);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reports-table tbody tr:last-child td {
  border-bottom: 0;
}

.reports-table tbody tr:hover td {
  background: rgba(240, 192, 106, 0.035);
}

.reports-table td {
  color: var(--muted);
}

.reports-table td strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
}

.reports-table td small {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  font-size: 10px;
}

.reports-coverage,
.reports-margin-tag {
  display: inline-flex;
  min-height: 27px;
  align-items: center;
  border: 1px solid rgba(240, 192, 106, 0.36);
  border-radius: 999px;
  color: #f0c06a;
  padding: 0 8px;
  font-size: 10px;
  font-weight: 900;
}

.reports-margin-tag.is-actual {
  border-color: rgba(63, 183, 169, 0.45);
  background: rgba(63, 183, 169, 0.08);
  color: #8ddbd3;
}

.reports-margin-tag.is-estimated {
  border-color: rgba(240, 192, 106, 0.45);
  background: rgba(240, 192, 106, 0.08);
  color: #f0c06a;
}

.reports-cohort-matrix {
  min-width: 760px;
}

.reports-cohort-cell {
  min-width: 88px;
  background: rgba(63, 183, 169, var(--cohort-alpha));
  text-align: center !important;
}

.reports-cohort-cell strong,
.reports-cohort-cell small {
  color: #f5ffff !important;
}

.reports-cohort-matrix .is-empty {
  color: var(--quiet);
  text-align: center;
}

.reports-definitions {
  display: grid;
  gap: 12px;
}

.reports-warning {
  border: 1px solid rgba(240, 192, 106, 0.4);
  border-radius: 8px;
  background: rgba(240, 192, 106, 0.08);
  color: #f0c06a;
  padding: 12px;
  font-size: 13px;
}

.reports-definition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 9px;
}

.reports-definition-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 12px;
}

.reports-definition-grid strong {
  color: var(--ink);
  font-size: 13px;
}

.reports-definition-grid p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.promotion-metrics,
.integration-metrics,
.email-status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.promotion-metrics article,
.integration-metrics article,
.email-status-grid article {
  min-height: 86px;
  display: grid;
  align-content: space-between;
  background: var(--surface);
  padding: 16px;
}

.promotion-metrics span,
.integration-metrics span,
.email-status-grid span,
.promotion-chip span {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.promotion-metrics strong,
.integration-metrics strong,
.email-status-grid strong {
  overflow-wrap: anywhere;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1;
}

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

.integration-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.integration-tabs button {
  min-height: 38px;
  padding: 0 14px;
  background: transparent;
  color: var(--muted);
}

.integration-tabs button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #080808;
}

.promotion-workspace,
.integration-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.promotion-panel,
.integration-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.92);
  box-shadow: var(--shadow);
}

.promotion-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.promotion-empty,
.integration-empty,
.promotion-card {
  background: var(--surface);
  padding: 15px 18px;
}

.promotion-empty,
.integration-empty {
  color: var(--muted);
  font-weight: 750;
}

.promotion-card {
  display: grid;
  gap: 11px;
}

.promotion-card-head,
.promotion-card-meta,
.promotion-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.promotion-card-head strong {
  min-width: 0;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promotion-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.promotion-card-meta,
.promotion-card-footer {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 850;
}

.promotion-chip {
  flex: 0 0 auto;
  border: 1px solid rgba(184, 137, 50, 0.34);
  border-radius: 999px;
  background: rgba(184, 137, 50, 0.12);
  color: #f0c06a;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.promotion-chip.is-active {
  border-color: rgba(90, 222, 156, 0.42);
  background: rgba(90, 222, 156, 0.1);
  color: #6ee6ad;
}

.promotion-chip.is-draft {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
}

.promotion-control-stack {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
}

.promotion-form,
.ai-integration-form,
.ai-prompt-guide,
.ai-model-lab-panel,
.ai-activity-panel,
.ai-improvement-panel,
.toteat-readiness-panel,
.email-integration-panel {
  display: grid;
  gap: 13px;
  padding: 16px;
}

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

.email-status-grid strong {
  font-size: clamp(18px, 2.4vw, 26px);
}

.integration-detail {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.integration-checklist {
  display: grid;
  gap: 8px;
}

.integration-check {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 10px;
}

.integration-check span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 8px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 950;
  text-align: center;
  text-transform: uppercase;
}

.integration-check strong {
  color: var(--ink);
  font-size: 13px;
}

.integration-check.is-ready span {
  border-color: rgba(63, 183, 169, 0.5);
  background: rgba(63, 183, 169, 0.1);
  color: #8ddbd3;
}

.integration-check.is-pending span {
  border-color: rgba(240, 192, 106, 0.5);
  background: rgba(240, 192, 106, 0.1);
  color: #f0c06a;
}

.promotion-form button[type="submit"],
.ai-integration-form button[type="submit"],
.ai-model-lab-form button[type="submit"] {
  border-color: var(--red);
  background: var(--red);
  color: #070708;
}

.ai-prompt-guide ul {
  margin: 0;
  padding-left: 18px;
  color: var(--quiet);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.ai-model-lab-form {
  display: grid;
  gap: 12px;
}

.ai-lab-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: stretch;
}

.ai-lab-actions button[type="button"] {
  min-width: 112px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.ai-model-lab-panel {
  margin-top: 18px;
}

.ai-model-lab-output {
  display: grid;
  gap: 10px;
}

.ai-model-lab-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-model-lab-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
}

.ai-lab-thread {
  display: grid;
  gap: 9px;
}

.ai-lab-message {
  max-width: min(100%, 680px);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.ai-lab-message.is-user {
  justify-self: end;
  border-color: rgba(255, 57, 50, 0.46);
  background: rgba(255, 57, 50, 0.13);
}

.ai-lab-message p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.42;
}

.ai-activity-panel {
  margin-top: 18px;
}

.ai-improvement-panel {
  margin-top: 18px;
}

.ai-activity-panel > header,
.ai-activity-card header,
.ai-improvement-panel > header,
.ai-improvement-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ai-activity-panel > header span,
.ai-activity-card span,
.ai-activity-card time,
.ai-activity-card small,
.ai-improvement-panel > header span,
.ai-improvement-card span,
.ai-improvement-card time,
.ai-improvement-card small {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 850;
}

.ai-activity-list,
.ai-improvement-list {
  display: grid;
  gap: 10px;
}

.ai-quality-dashboard {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ai-quality-card,
.ai-quality-breakdown {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.ai-quality-card {
  display: grid;
  gap: 5px;
}

.ai-quality-card span,
.ai-quality-card small,
.ai-quality-breakdown span {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.ai-quality-card strong {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 950;
  line-height: 1.05;
}

.ai-quality-card.is-alert {
  border-color: rgba(255, 57, 50, 0.35);
  background: rgba(255, 57, 50, 0.07);
}

.ai-quality-breakdown {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-quality-breakdown span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 6px 9px;
  border: 1px solid rgba(184, 137, 50, 0.26);
  border-radius: 999px;
  background: rgba(184, 137, 50, 0.09);
  color: #f0c06a;
}

.ai-quality-breakdown b {
  color: var(--text);
}

.ai-activity-card,
.ai-improvement-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
}

.ai-activity-card p,
.ai-improvement-copy p {
  margin: 0;
  color: var(--text);
  font-weight: 850;
  line-height: 1.42;
}

.ai-activity-card strong,
.ai-activity-card span,
.ai-activity-card small,
.ai-improvement-card strong,
.ai-improvement-card span,
.ai-improvement-card small,
.ai-improvement-card textarea {
  overflow-wrap: anywhere;
}

.ai-improvement-card {
  gap: 10px;
}

.ai-improvement-copy {
  display: grid;
  gap: 7px;
}

.ai-improvement-copy b {
  display: block;
  margin-bottom: 3px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.ai-improvement-card textarea {
  min-height: 74px;
}

.ai-improvement-card button[data-ai-save-correction] {
  border-color: var(--red);
  background: var(--red);
  color: #070708;
}

.ai-feedback-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.ai-feedback-controls button {
  min-height: 34px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--quiet);
  font-size: 11px;
  font-weight: 950;
  line-height: 1.12;
}

.ai-feedback-controls button.is-active[data-tone="good"] {
  border-color: rgba(90, 222, 156, 0.48);
  background: rgba(90, 222, 156, 0.12);
  color: #87f0bd;
}

.ai-feedback-controls button.is-active[data-tone="warn"] {
  border-color: rgba(240, 192, 106, 0.48);
  background: rgba(240, 192, 106, 0.12);
  color: #f0c06a;
}

.ai-feedback-controls button.is-active[data-tone="bad"] {
  border-color: rgba(255, 57, 50, 0.48);
  background: rgba(255, 57, 50, 0.12);
  color: #ff7d75;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

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

.workspace {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr) 390px;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.filters,
.catalog-panel,
.detail-panel {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.92);
  box-shadow: var(--shadow);
}

.filters {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 0 12px;
}

textarea {
  padding: 11px 12px;
  line-height: 1.4;
}

input::placeholder,
textarea::placeholder {
  color: #716a62;
}

.catalog-panel {
  min-height: 720px;
  overflow: hidden;
}

.panel-head {
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.panel-head button {
  padding: 0 14px;
}

.catalog-list {
  max-height: calc(100vh - 250px);
  overflow: auto;
}

.row {
  width: 100%;
  display: grid;
  grid-template-columns: 108px minmax(180px, 1fr) 128px 88px 82px;
  gap: 10px;
  align-items: center;
  justify-content: stretch;
  padding: 13px 18px;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.row:hover,
.row.is-active {
  background: rgba(255, 59, 47, 0.12);
}

.row-code,
.row-category,
.row-image {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
}

.row-name {
  min-width: 0;
}

.row-name strong,
.row-name span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-name strong {
  font-size: 15px;
}

.row-name span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.row-price {
  justify-self: end;
  font-weight: 950;
}

.detail-panel {
  position: sticky;
  top: 18px;
  overflow: hidden;
}

.detail-section {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.detail-section:last-child {
  border-bottom: 0;
}

.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.price-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.price-line span {
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
}

.price-line small {
  color: var(--muted);
  text-align: right;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tags span {
  border-radius: 999px;
  background: rgba(184, 137, 50, 0.16);
  color: #f0c06a;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 800;
}

.image-slot {
  min-height: 136px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: var(--surface-muted);
  color: var(--teal-dark);
  font-weight: 900;
}

summary {
  cursor: pointer;
  color: var(--teal-dark);
  font-weight: 900;
}

details p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.qr-section img {
  width: 168px;
  height: 168px;
  justify-self: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px;
}

code,
pre {
  max-width: 100%;
  min-width: 0;
  overflow: auto;
  border-radius: 8px;
  background: #070708;
  color: #f7f3ea;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

code {
  display: block;
  padding: 10px;
  white-space: nowrap;
}

.qr-lab {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.qr-lab button {
  padding: 0 14px;
}

pre {
  min-height: 120px;
  margin: 0;
  padding: 12px;
  white-space: pre-wrap;
}

.auth-screen {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(400px, 0.62fr);
  overflow: hidden;
  background: #000;
}

.auth-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.48) 44%, rgba(0, 0, 0, 0.94) 100%),
    linear-gradient(#000, #000) center / cover;
  opacity: 0.92;
}

.auth-brand,
.auth-card {
  position: relative;
  z-index: 1;
}

.auth-brand {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  align-content: stretch;
  gap: clamp(28px, 5vh, 54px);
  padding: clamp(34px, 5vw, 64px);
}

.brand-lockup {
  align-self: start;
  display: grid;
  gap: 10px;
}

.brand-kicker {
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.brand-logo {
  width: clamp(210px, 18vw, 300px);
  height: auto;
}

.auth-angel {
  width: min(49vw, 640px);
  max-height: min(62vh, 640px);
  align-self: end;
  justify-self: start;
  margin-left: clamp(8px, 2vw, 34px);
  object-fit: contain;
  object-position: left bottom;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.58));
}

.auth-card {
  align-self: center;
  width: min(100% - 32px, 500px);
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.78);
  padding: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(14px);
}

.menu-access-intro {
  display: grid;
  gap: 10px;
}

.menu-access-intro .eyebrow {
  color: #f15a62;
}

.menu-access-intro h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.menu-access-intro > p:not(.eyebrow, .form-status) {
  max-width: 38ch;
  margin: 0;
  color: #bdbdbd;
  font-size: 14px;
  line-height: 1.45;
}

.menu-access-button {
  width: 100%;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 7px;
  border-color: rgba(255, 71, 81, 0.72);
  border-radius: 14px;
  background: linear-gradient(135deg, #f21420 0%, #b50009 100%);
  color: #fff;
  padding: 12px 17px 12px 19px;
  box-shadow: 0 17px 42px rgba(229, 9, 20, 0.3);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.menu-access-button:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 22px 52px rgba(229, 9, 20, 0.4);
}

.menu-access-button:active {
  transform: scale(0.985);
}

.menu-access-button:disabled {
  cursor: wait;
  filter: saturate(0.45);
  opacity: 0.72;
}

.menu-access-button > span:first-child {
  display: grid;
  gap: 3px;
}

.menu-access-button small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.menu-access-button strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.menu-access-button > span:last-child {
  font-size: 30px;
  font-weight: 300;
}

.menu-access-status {
  min-height: 0;
  margin: 0;
}

.auth-account-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 12px;
  color: #8c8c8c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-account-divider::before,
.auth-account-divider::after {
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.12);
  content: "";
}

.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 1px solid #2a1110;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.88);
  padding: 6px;
}

.menu-session-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(240, 192, 106, 0.24);
  border-radius: 10px;
  background: rgba(240, 192, 106, 0.07);
  padding: 12px 14px;
}

.menu-session-summary[hidden] {
  display: none;
}

.menu-session-summary div {
  min-width: 0;
}

.menu-session-summary small,
.menu-session-summary strong {
  display: block;
}

.menu-session-summary small {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.menu-session-summary strong {
  margin-top: 3px;
  color: var(--text);
  overflow-wrap: anywhere;
}

.menu-session-summary button {
  min-height: 36px;
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--muted);
  padding: 0 12px;
  font-size: 11px;
}

.auth-tabs button {
  border-color: transparent;
  background: transparent;
  color: var(--muted);
}

.auth-tabs button.is-active {
  background: var(--red);
  color: #070708;
}

.auth-form {
  display: grid;
  gap: 15px;
  margin-top: 18px;
}

#auth-screen[data-mode="forgot"] .menu-access-intro,
#auth-screen[data-mode="forgot"] .auth-account-divider,
#auth-screen[data-mode="forgot"] .auth-tabs {
  display: none;
}

.auth-form button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.auth-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.auth-form button[type="submit"] {
  min-height: 46px;
  border-color: var(--red);
  background: var(--red);
  color: #070708;
}

.birthdate-field {
  min-width: 0;
  border: 0;
  padding: 0;
}

.birthdate-field legend {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.birthdate-field > div {
  display: grid;
  grid-template-columns: 0.7fr 0.7fr 1fr;
  gap: 8px;
}

.birthdate-field input {
  text-align: center;
}

.text-action {
  min-height: auto;
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--red);
  padding: 0;
}

.text-action:hover {
  color: #ff9a62;
}

.guest-mode-link {
  min-height: auto;
  justify-self: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 12px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.guest-mode-link:hover {
  color: var(--text);
}

.guest-mode-panel {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  padding: 12px;
}

.guest-mode-panel button {
  min-height: 42px;
  border-color: rgba(141, 219, 211, 0.42);
  background: rgba(141, 219, 211, 0.08);
  color: #8ddbd3;
}

.reset-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.72)),
    linear-gradient(#000, #000) center / cover;
}

.reset-card {
  width: min(100%, 460px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.82);
  padding: 22px;
  box-shadow: var(--shadow);
}

.reset-card h1 {
  margin-bottom: 10px;
}

.client-shell {
  width: min(100%, 920px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 14px 14px 96px;
}

.club-menu-header {
  position: sticky;
  top: 0;
  z-index: 15;
  display: grid;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(7, 7, 8, 0.92);
  padding: 10px 0;
  backdrop-filter: blur(16px);
}

.club-header-top {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.club-brand-row {
  min-width: 0;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 9px;
}

.club-menu-logo {
  width: clamp(118px, 28vw, 168px);
  height: auto;
}

.club-menu-angel {
  width: clamp(44px, 10vw, 64px);
  height: clamp(44px, 10vw, 64px);
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.48));
}

.club-member-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.club-member-copy span {
  color: var(--red);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.club-member-copy strong {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.club-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr;
  align-items: center;
  gap: 8px;
}

.club-quick-actions button,
.club-logout-button,
.top-actions button {
  padding: 0 12px;
}

.account-button,
.cart-button,
.ai-order-button,
.invite-friend-button {
  position: relative;
  min-width: 0;
  gap: 7px;
}

.account-button svg,
.cart-button svg,
.ai-order-button svg,
.invite-friend-button svg {
  width: 21px;
  height: 21px;
}

.account-label,
.cart-label,
.ai-order-button strong,
.invite-friend-button span {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.waiter-desk-button {
  border-color: rgba(141, 219, 211, 0.34);
  background: rgba(141, 219, 211, 0.08);
}

.waiter-ai-button {
  border-color: rgba(240, 192, 106, 0.58);
  background: rgba(240, 192, 106, 0.12);
  color: #f0c06a;
}

.account-alert-count,
.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--red);
  color: #070708;
  font-size: 11px;
  font-weight: 950;
}

.menu-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  margin: 12px 0;
}

.menu-tab-tile {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.92);
}

.menu-tab-tile button,
.menu-tab-tile span {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0 10px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.menu-tab-tile.is-active {
  border-color: var(--red);
}

.menu-tab-tile.is-active button {
  background: var(--red);
  color: #070708;
}

.menu-tab-tile.is-promo {
  border-color: rgba(184, 137, 50, 0.62);
}

.menu-tab-tile.is-promo button {
  color: #f0c06a;
}

.menu-tab-tile.is-promo.is-active button {
  background: #f0c06a;
  color: #070708;
}

.menu-action-strip {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 8px 0 12px;
}

.menu-action-strip h1 {
  color: var(--red);
  font-size: clamp(28px, 8vw, 48px);
  line-height: 0.96;
}

.download-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  color: var(--ink);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

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

.client-category {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.92);
  box-shadow: var(--shadow);
}

.client-category h3 {
  margin: 0;
  padding: 12px 14px;
  background: rgba(17, 18, 20, 0.96);
  color: var(--ink);
  font-size: 17px;
}

.client-product-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  gap: 12px;
  align-items: center;
  justify-content: stretch;
  border-top: 1px solid var(--line);
  padding: 0 10px 0 0;
}

.client-product {
  width: 100%;
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  justify-content: stretch;
  padding: 12px 4px 12px 14px;
  border-top: 0;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.client-product:hover {
  background: rgba(255, 59, 47, 0.1);
}

.client-product-add {
  width: 44px;
  min-width: 44px;
  min-height: 44px;
  border-color: rgba(255, 59, 47, 0.58);
  background: rgba(255, 59, 47, 0.14);
  color: var(--red);
  padding: 0;
  font-size: 24px;
  line-height: 1;
}

.client-product-add.is-added {
  border-color: rgba(90, 222, 156, 0.62);
  background: rgba(90, 222, 156, 0.16);
  color: #6ee6ad;
  font-size: 12px;
}

.client-product strong,
.client-product span {
  overflow-wrap: anywhere;
}

.client-product strong {
  display: block;
  font-size: 15px;
  line-height: 1.15;
}

.client-product small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
}

.client-product span {
  font-weight: 950;
  white-space: nowrap;
}

.promo-board {
  display: grid;
  gap: 12px;
}

.promo-board article {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(184, 137, 50, 0.42);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.92);
  padding: 16px;
}

.promo-board button {
  border-color: #f0c06a;
  background: #f0c06a;
  color: #070708;
}

.sheet-backdrop,
.cart-drawer,
.account-drawer,
.ai-drawer {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  align-items: end;
  background: rgba(0, 0, 0, 0.58);
  padding: 12px;
}

.product-sheet,
.cart-panel,
.account-panel,
.ai-panel {
  width: min(100%, 560px);
  max-height: min(88vh, 760px);
  justify-self: center;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 8, 9, 0.98);
  box-shadow: 0 -22px 80px rgba(0, 0, 0, 0.58);
  padding: 18px;
}

.sheet-close,
.cart-head button,
.account-head button,
.ai-head button {
  min-width: 38px;
  min-height: 38px;
  float: right;
  padding: 0;
}

.product-sheet h2 {
  padding-right: 46px;
  font-size: 27px;
}

.sheet-price {
  display: block;
  margin-top: 14px;
  font-size: 28px;
  line-height: 1;
}

.quantity-row {
  display: grid;
  grid-template-columns: 48px 72px 48px;
  gap: 8px;
  align-items: center;
  margin: 16px 0;
}

.quantity-row span {
  display: grid;
  min-height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  font-weight: 950;
}

.sheet-actions,
.cart-actions,
.account-actions {
  display: grid;
  gap: 8px;
}

.sheet-actions button:first-child,
.cart-actions button:first-child,
.account-actions button:first-child {
  border-color: var(--red);
  background: var(--red);
  color: #070708;
}

.cart-actions button:disabled,
.account-actions button:disabled {
  cursor: not-allowed;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--quiet);
  opacity: 0.66;
}

.cart-head,
.account-head,
.ai-head,
.cart-total,
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-head,
.account-head,
.ai-head {
  align-items: start;
  margin-bottom: 14px;
}

.ai-panel {
  display: grid;
  gap: 12px;
}

.ai-messages {
  min-height: 180px;
  max-height: 42vh;
  align-content: start;
  display: grid;
  gap: 8px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.78);
  padding: 10px;
}

.ai-message {
  max-width: min(100%, 520px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 10px 11px;
  overflow-wrap: anywhere;
}

.ai-message p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.ai-message.is-assistant {
  justify-self: start;
  background: var(--surface);
}

.ai-message.is-user {
  justify-self: end;
  border-color: rgba(255, 59, 47, 0.42);
  background: rgba(255, 59, 47, 0.12);
}

.ai-message.is-user p {
  color: var(--ink);
}

.ai-form {
  display: grid;
  gap: 10px;
}

.ai-chat-form {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.ai-recommendations,
.ai-result-list {
  display: grid;
  gap: 8px;
}

.ai-result-copy {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.ai-result-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px;
}

.ai-result-card span,
.ai-result-card small {
  display: block;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 850;
}

.ai-result-card strong {
  display: block;
  margin: 3px 0;
  font-size: 15px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.ai-result-card small {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.35;
}

.ai-result-action {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.ai-result-action b {
  white-space: nowrap;
}

.ai-result-action button {
  min-height: 44px;
  border-color: var(--red);
  background: var(--red);
  color: #070708;
  padding: 0 12px;
  font-size: 12px;
}

.cart-items {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.cart-items > .muted {
  background: var(--surface);
  padding: 14px;
}

.cart-item {
  align-items: center;
  background: var(--surface);
  padding: 12px;
}

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

.cart-item small {
  margin-top: 3px;
  color: var(--quiet);
  font-size: 12px;
}

.cart-item > div:last-child {
  display: grid;
  justify-items: end;
  gap: 6px;
  font-weight: 900;
}

.cart-item button {
  min-height: auto;
  border: 0;
  background: transparent;
  color: var(--red);
  padding: 0;
  font-size: 12px;
}

.cart-total {
  align-items: center;
  margin: 14px 0;
  color: var(--muted);
  font-weight: 900;
}

.cart-total strong {
  color: var(--ink);
  font-size: 24px;
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.account-summary article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 10px;
}

.account-summary article:nth-child(1) {
  border-color: rgba(255, 59, 47, 0.58);
  background: rgba(255, 59, 47, 0.14);
}

.account-summary article:nth-child(2) {
  border-color: rgba(240, 192, 106, 0.52);
  background: rgba(240, 192, 106, 0.12);
}

.account-summary span {
  display: block;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.account-summary strong {
  display: block;
  margin-top: 7px;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.05;
}

.account-tabs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin: 0 -2px 12px;
  padding: 0 2px 3px;
  scrollbar-width: none;
}

.account-tabs::-webkit-scrollbar {
  display: none;
}

.account-tabs button {
  flex: 0 0 auto;
  min-height: 34px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
  padding: 0 11px;
  font-size: 12px;
}

.account-tabs button.is-active {
  border-color: var(--red);
  background: var(--red);
  color: #070708;
}

.account-list {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
}

.account-empty,
.account-entry,
.account-log-entry,
.account-current-cart {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 12px;
}

.account-empty {
  color: var(--muted);
  font-weight: 750;
}

.account-entry {
  display: grid;
  gap: 9px;
}

.account-entry-head,
.account-entry-meta,
.account-entry-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-entry-head strong {
  min-width: 0;
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-entry p,
.account-current-cart p,
.account-log-entry p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.account-entry-meta {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.account-entry-actions {
  justify-content: flex-end;
}

.account-entry-actions button {
  min-height: 30px;
  border-color: rgba(255, 59, 47, 0.58);
  background: rgba(255, 59, 47, 0.1);
  color: var(--red);
  padding: 0 10px;
  font-size: 11px;
}

.status-pill {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.status-pill.is-pending {
  border-color: rgba(240, 192, 106, 0.45);
  background: rgba(240, 192, 106, 0.11);
  color: #f0c06a;
}

.status-pill.is-active,
.status-pill.is-local {
  border-color: rgba(90, 222, 156, 0.42);
  background: rgba(90, 222, 156, 0.1);
  color: #6ee6ad;
}

.status-pill.is-paid {
  border-color: rgba(90, 222, 156, 0.42);
  background: rgba(90, 222, 156, 0.1);
  color: #6ee6ad;
}

.status-pill.is-cancelled,
.status-pill.is-archived,
.status-pill.is-blocked,
.status-pill.is-expired,
.status-pill.is-revoked {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: var(--quiet);
}

.account-current-cart {
  display: grid;
  gap: 7px;
  margin-bottom: 2px;
}

.account-current-cart:first-child {
  border-color: rgba(255, 59, 47, 0.42);
  background: rgba(255, 59, 47, 0.08);
}

.account-current-cart strong {
  font-size: 17px;
}

.current-order-list {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.current-order-list div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  background: rgba(8, 8, 9, 0.62);
  padding: 9px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.current-order-list span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.current-order-list strong {
  flex: 0 0 auto;
  font-size: 12px;
}

.account-log-entry {
  display: grid;
  gap: 5px;
}

.account-log-entry strong {
  font-size: 13px;
}

.account-log-entry time {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 850;
}

.register-hero {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 7, 8, 0.98) 0%, rgba(17, 18, 20, 0.94) 58%, rgba(58, 23, 21, 0.9) 100%);
  padding: 28px;
  box-shadow: var(--shadow);
}

.register-title {
  position: relative;
  z-index: 1;
}

.register-title h2 {
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.92;
}

.register-hero img {
  width: min(34vw, 300px);
  min-width: 180px;
  height: auto;
  align-self: end;
  object-fit: contain;
}

.registration-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  margin-top: 18px;
  align-items: start;
}

.registration-form,
.registration-ledger,
.qr-console {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.92);
  box-shadow: var(--shadow);
}

.registration-form {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.consent-row {
  display: grid;
  gap: 10px;
}

.check-row {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-strong);
  padding: 10px 12px;
  color: var(--muted);
  text-transform: none;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--red);
}

.registration-form button[type="submit"] {
  min-height: 46px;
  border-color: var(--red);
  background: var(--red);
  color: #080808;
}

.registration-form button[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-status.is-error {
  color: #ff9a62;
}

.form-status.is-success {
  color: #7fd59c;
}

.form-status a {
  color: inherit;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.registration-ledger {
  display: grid;
  gap: 1px;
  overflow: hidden;
  background: var(--line);
}

.registration-ledger article {
  min-height: 96px;
  display: grid;
  align-content: space-between;
  padding: 16px;
  background: var(--surface);
}

.registration-ledger span {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.registration-ledger strong {
  overflow-wrap: anywhere;
  font-size: 22px;
  line-height: 1.05;
}

.admin-users-panel {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 18, 20, 0.92);
  padding: 18px;
  box-shadow: var(--shadow);
}

.admin-users-head,
.user-card-main,
.user-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.users-search-form {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto;
  gap: 12px;
  align-items: end;
}

.users-search-form button,
.admin-users-head button {
  min-height: 44px;
  border-color: rgba(240, 192, 106, 0.52);
  background: rgba(240, 192, 106, 0.12);
  color: #f0c06a;
}

.users-result-count {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.users-list {
  display: grid;
  gap: 10px;
}

.users-table-wrap {
  overflow-x: auto;
}

.admin-data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.admin-data-table th,
.admin-data-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: top;
}

.admin-data-table th {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-data-table td {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.admin-data-table td strong,
.admin-data-table td span {
  display: block;
  overflow-wrap: anywhere;
}

.admin-data-table td strong {
  color: var(--text);
  font-size: 13px;
}

.admin-data-table td button {
  min-height: 32px;
  margin: 2px;
  padding: 0 10px;
  font-size: 11px;
}

.admin-data-table .table-actions {
  min-width: 220px;
}

.staff-role-control {
  display: grid;
  min-width: 190px;
  gap: 6px;
}

.staff-role-control select {
  min-height: 38px;
  border: 1px solid rgba(240, 192, 106, 0.38);
  border-radius: 7px;
  background: #151719;
  color: var(--text);
  padding: 0 34px 0 10px;
  font: inherit;
}

.staff-role-control small {
  color: var(--quiet);
  font-size: 10px;
  line-height: 1.35;
}

.admin-data-table .staff-role-control button {
  margin: 0;
  justify-self: start;
  border-color: rgba(240, 192, 106, 0.42);
  color: #f0c06a;
}

.guest-session-table {
  min-width: 980px;
}

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

.staff-form,
.qr-build-form {
  display: grid;
  gap: 12px;
}

.staff-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 14px;
}

.staff-form button[type="submit"] {
  min-height: 44px;
  border-color: var(--red);
  background: var(--red);
  color: #080808;
}

.staff-form .form-status {
  grid-column: 1 / -1;
}

.qr-build-form {
  grid-column: 1 / -1;
  grid-template-columns: 170px 170px minmax(200px, 1fr) 140px auto;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 14px;
}

.promotion-qr-code {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
  color: var(--quiet);
  font-size: 11px;
}

.promotion-qr-link {
  width: fit-content;
  margin-top: 8px;
}

.user-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 14px;
}

.user-card-main strong,
.user-card-main span,
.user-card-grid span {
  overflow-wrap: anywhere;
}

.user-card-main strong {
  display: block;
  font-size: 16px;
}

.user-card-main > div > span {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.user-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.user-card-grid span {
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  padding: 9px;
  font-size: 12px;
  font-weight: 750;
}

.user-card-actions {
  justify-content: flex-end;
}

.user-card-actions button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.user-card-actions button:first-child {
  border-color: rgba(141, 219, 211, 0.34);
  background: rgba(141, 219, 211, 0.08);
  color: #8ddbd3;
}

.user-card-actions button:last-child {
  border-color: rgba(255, 59, 47, 0.46);
  background: rgba(255, 59, 47, 0.08);
  color: var(--red);
}

.qr-console {
  overflow: hidden;
}

.qr-console-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  padding: 18px;
}

.qr-engine-metric {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.025);
  padding: 12px 14px;
}

.qr-engine-metric span {
  color: var(--quiet);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.qr-engine-metric strong {
  color: var(--text);
  font-size: 24px;
}

.qr-console-grid pre {
  grid-column: 1 / -1;
}

.qr-console-grid .users-table-wrap,
.qr-console-grid .form-status {
  grid-column: 1 / -1;
}

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

  .auth-brand {
    min-height: 44vh;
    gap: 24px;
    padding: 34px;
  }

  .auth-card {
    margin-bottom: 34px;
  }

  .workspace {
    grid-template-columns: 220px minmax(0, 1fr);
  }

  .detail-panel {
    position: static;
    grid-column: 1 / -1;
  }

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

  .client-menu-layout {
    grid-template-columns: 1fr;
  }

  .reports-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .reports-controls {
    grid-template-columns: 1fr;
  }

  .reports-filter-form {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .menu-summary {
    position: static;
  }
}

@media (max-width: 780px) {
  .app-shell,
  .staff-shell {
    padding: 14px;
  }

  .auth-screen {
    min-height: 100svh;
    display: grid;
    align-content: start;
    overflow-y: auto;
    padding: 24px 20px 34px;
  }

  .auth-bg {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.24) 28%, rgba(0, 0, 0, 0.62) 100%),
      radial-gradient(circle at 52% 32%, rgba(255, 59, 47, 0.18), transparent 34%),
      linear-gradient(#000, #000) center top / cover;
    opacity: 1;
  }

  .auth-brand {
    position: relative;
    z-index: 2;
    width: min(100%, 560px);
    min-height: 190px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    margin: 0 auto;
    padding: 10px 2px 0;
    pointer-events: none;
  }

  .brand-lockup {
    position: relative;
    z-index: 2;
    align-self: start;
    gap: 9px;
    padding-top: 4px;
  }

  .brand-kicker {
    font-size: 11px;
  }

  .brand-logo {
    width: clamp(190px, 52vw, 246px);
  }

  .auth-angel {
    position: static;
    z-index: 2;
    width: clamp(84px, 25vw, 108px);
    height: auto;
    max-height: none;
    justify-self: end;
    margin-top: 34px;
    opacity: 1;
    object-position: center;
    transform: translateX(-8px);
    filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.66));
  }

  .auth-card {
    position: relative;
    z-index: 2;
    justify-self: center;
    width: min(100%, 560px);
    max-width: none;
    margin: -4px auto 0;
    border-color: rgba(255, 255, 255, 0.2);
    background:
      radial-gradient(circle at 72% 0%, rgba(255, 59, 47, 0.14), transparent 38%),
      linear-gradient(180deg, rgba(8, 8, 9, 0.48) 0%, rgba(8, 8, 9, 0.66) 100%);
    padding: 18px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(9px) saturate(1.1);
  }

  .menu-access-intro {
    gap: 11px;
  }

  .menu-access-intro h2 {
    max-width: 10ch;
    font-size: clamp(34px, 10.5vw, 48px);
  }

  .menu-access-intro > p:not(.eyebrow, .form-status) {
    font-size: 15px;
  }

  .menu-access-button {
    min-height: 76px;
    border-radius: 16px;
  }

  .menu-access-button strong {
    font-size: 19px;
  }

  .auth-tabs {
    gap: 6px;
    border-color: rgba(255, 59, 47, 0.22);
    background: rgba(0, 0, 0, 0.38);
    padding: 6px;
  }

  .auth-tabs button {
    min-height: 48px;
    font-size: 15px;
  }

  .auth-form {
    gap: 14px;
    margin-top: 22px;
  }

  .auth-form button[type="submit"] {
    min-height: 50px;
  }

  .client-shell {
    padding: 0 14px 88px;
  }

  .club-menu-header {
    margin: 0 -14px;
    gap: 8px;
    padding: 8px 14px 10px;
  }

  .club-header-top {
    gap: 9px;
  }

  .club-brand-row {
    flex: 1 1 auto;
    grid-template-columns: auto auto minmax(52px, 1fr);
    gap: 6px;
  }

  .club-menu-logo {
    width: clamp(112px, 34vw, 136px);
  }

  .club-menu-angel {
    width: 38px;
    height: 38px;
  }

  .club-member-copy span {
    font-size: 9px;
  }

  .club-member-copy strong {
    font-size: 12px;
  }

  .club-logout-button {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 12px;
    font-size: 12px;
  }

  .club-quick-actions {
    grid-template-columns: 1fr 1.35fr 1fr;
    gap: 7px;
  }

  .club-quick-actions button {
    min-height: 48px;
    flex-direction: column;
    gap: 5px;
    padding: 6px 5px;
    font-size: 11px;
  }

  .account-button,
  .cart-button {
    width: auto;
    min-width: 0;
  }

  .account-button svg,
  .cart-button svg,
  .invite-friend-button svg,
  .ai-order-button svg {
    width: 18px;
    height: 18px;
  }

  .account-label,
  .cart-label,
  .ai-order-button strong,
  .invite-friend-button span {
    width: 100%;
    font-size: 10px;
  }

  .birthdate-field > div {
    gap: 7px;
  }

  .topbar,
  .panel-head,
  .staff-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .staff-topbar .top-actions {
    width: 100%;
  }

  .staff-topbar .top-actions button {
    flex: 1;
  }

  .staff-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .staff-dashboard-wide {
    grid-column: auto;
  }

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

  .main-nav button {
    padding: 0 8px;
    font-size: 13px;
  }

  .operations-hero {
    align-items: stretch;
    flex-direction: column;
  }

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

  .reports-filter-form {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .reports-filter-form button {
    width: 100%;
  }

  .reports-section-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .reports-section-tabs button {
    min-width: 112px;
    flex: 1 0 auto;
    scroll-snap-align: start;
  }

  .reports-table-panel {
    padding: 14px;
  }

  .reports-table {
    font-size: 11px;
  }

  .reports-table th,
  .reports-table td {
    padding: 10px;
  }

  .operations-tabs {
    margin: 0 -2px;
    padding-bottom: 8px;
  }

  .operations-tabs button {
    min-height: 40px;
    padding: 0 13px;
  }

  .operations-panel header {
    display: grid;
  }

  .operations-compare-controls {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .operations-kpis,
  .operations-grid,
  .operations-infra-main {
    grid-template-columns: 1fr;
  }

  .operations-wide {
    grid-column: auto;
  }

  .operations-bar-row {
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .operations-combo-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .operations-timeline-row {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .operations-bar-row strong {
    grid-column: 2;
    text-align: left;
  }

  .operations-timeline-row strong,
  .operations-timeline-row small,
  .operations-bar-row small,
  .operations-combo-row strong,
  .operations-combo-row small {
    grid-column: 2;
    text-align: left;
  }

  .operations-list-row {
    grid-template-columns: minmax(40px, auto) minmax(0, 1fr);
  }

  .operations-list-row b {
    grid-column: 2;
    text-align: left;
  }

  .menu-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    overflow: visible;
    margin: 10px 0 8px;
    padding: 0;
  }

  .menu-tab-tile {
    min-width: 0;
  }

  .menu-tab-tile button {
    min-height: 42px;
    font-size: 12px;
  }

  .menu-action-strip {
    align-items: center;
    margin: 6px 0 12px;
  }

  .menu-action-strip h1 {
    font-size: 25px;
    line-height: 1;
  }

  .download-link {
    min-height: 34px;
    padding: 0 10px;
    font-size: 12px;
  }

  .client-category h3 {
    padding: 10px 12px;
    font-size: 16px;
  }

  .client-product-row {
    grid-template-columns: minmax(0, 1fr) 46px;
    gap: 8px;
    padding-right: 8px;
  }

  .client-product {
    min-height: 64px;
    padding: 11px 2px 11px 12px;
  }

  .client-product-add {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .product-sheet,
  .cart-panel,
  .account-panel,
  .ai-panel {
    max-height: 92svh;
    padding: 16px;
  }

  .ai-messages {
    min-height: 188px;
    max-height: 42svh;
  }

  .ai-recommendations {
    max-height: 28svh;
    overflow-y: auto;
  }

  .ai-chat-form,
  .ai-result-card {
    grid-template-columns: 1fr;
  }

  .ai-chat-form button,
  .ai-result-action {
    width: 100%;
    justify-items: stretch;
  }

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

  .account-summary article {
    padding: 9px 8px;
  }

  .account-summary strong {
    font-size: 15px;
  }

  .users-search-form,
  .user-card-grid {
    grid-template-columns: 1fr;
  }

  .admin-users-head,
  .user-card-main,
  .user-card-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics,
  .workspace {
    grid-template-columns: 1fr;
  }

  .promotion-metrics,
  .integration-metrics,
  .email-status-grid,
  .guest-ledger {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promotion-workspace,
  .integration-workspace {
    grid-template-columns: 1fr;
  }

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

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

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

  .promotion-control-stack {
    position: static;
  }

  .promotion-card-head,
  .promotion-card-meta,
  .promotion-card-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .promotion-card-head strong {
    white-space: normal;
  }

  .filters {
    position: static;
  }

  .catalog-list {
    max-height: none;
  }

  .row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }

  .row-code,
  .row-category,
  .row-image {
    display: none;
  }

  .register-hero {
    min-height: 180px;
    padding: 20px;
  }

  .register-hero img {
    width: 150px;
    min-width: 130px;
    margin-right: -24px;
  }

  .form-row,
  .qr-console-grid,
  .qr-build-form,
  .staff-form {
    grid-template-columns: 1fr;
  }
}

/* Clear, global feedback for client ordering */

.order-confirmation {
  position: fixed;
  right: clamp(18px, 4vw, 54px);
  bottom: 24px;
  z-index: 95;
  width: min(470px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 34px;
  gap: 11px;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(24, 25, 27, 0.98), rgba(8, 8, 9, 0.99)),
    #090909;
  color: #fff;
  padding: 13px 13px 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.66), 0 0 0 1px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.98);
  transition: opacity 190ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
}

body .client-shell > .order-confirmation {
  position: fixed;
  z-index: 95;
}

.order-confirmation[hidden] {
  display: none;
}

.order-confirmation.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.order-confirmation-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #138250;
  color: #fff;
  font-size: 21px;
  font-weight: 950;
  box-shadow: 0 10px 26px rgba(19, 130, 80, 0.3);
}

.order-confirmation-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.order-confirmation-copy strong,
.order-confirmation-copy span,
.order-confirmation-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-confirmation-copy strong {
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.order-confirmation-copy span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 720;
}

.order-confirmation-copy small {
  color: #aeb0b4;
  font-size: 10px;
  font-weight: 650;
}

.order-confirmation-review {
  min-height: 38px;
  border: 0;
  border-radius: 10px;
  background: #e50914;
  color: #fff;
  padding: 0 13px;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.order-confirmation-close {
  width: 32px;
  min-width: 32px;
  min-height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.76);
  padding: 0;
  font-size: 20px;
  line-height: 1;
}

.order-confirmation-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #168452, #6ee6ad);
  transform-origin: left center;
}

.order-confirmation.is-visible .order-confirmation-progress {
  animation: order-confirmation-progress 5.2s linear both;
}

.account-button.has-cart-update {
  border-color: rgba(110, 230, 173, 0.74) !important;
  background: rgba(22, 132, 82, 0.24) !important;
  color: #8cf1c0 !important;
  animation: account-cart-pulse 650ms cubic-bezier(0.22, 1, 0.36, 1) 2;
}

.account-button.has-cart-update .account-alert-count {
  background: #168452;
  color: #fff;
}

.menu-hero-actions button.is-added,
.product-sheet .sheet-actions button.is-added {
  border-color: #168452;
  background: #168452;
  color: #fff;
}

.menu-hero-actions button.is-added em,
.product-sheet .sheet-actions button.is-added em {
  font-style: normal;
}

@keyframes order-confirmation-progress {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}

@keyframes account-cart-pulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.055); }
}

@media (max-width: 680px) {
  .order-confirmation {
    right: 12px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    left: 12px;
    width: auto;
    grid-template-columns: 42px minmax(0, 1fr) 34px;
    gap: 9px 10px;
    border-radius: 17px;
    padding: 12px 12px 15px;
  }

  .order-confirmation-icon {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .order-confirmation-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .order-confirmation-review {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    min-height: 34px;
    padding-inline: 12px;
  }

  .order-confirmation-close {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .order-confirmation-copy strong {
    font-size: 13px;
  }

  .order-confirmation-copy span {
    font-size: 11px;
  }

  .order-confirmation-copy small {
    font-size: 9px;
  }
}

/* Carta 2026: alternancia Highlights/Lista, búsqueda flotante y encuadres dobles */

.client-shell .list-mode-button .view-mode-icon-highlight {
  display: none;
}

.client-shell .list-mode-button.is-active {
  border-color: rgba(232, 189, 120, 0.86);
  background: linear-gradient(135deg, rgba(232, 189, 120, 0.3), rgba(141, 89, 28, 0.24));
  color: #f7d69e;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 164, 0.12);
}

.client-shell .list-mode-button.is-active .view-mode-icon-list {
  display: none;
}

.client-shell .list-mode-button.is-active .view-mode-icon-highlight {
  display: block;
}

.menu-heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.menu-search-trigger {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #efefef;
  padding: 0;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

.menu-search-trigger:hover,
.menu-search-trigger:focus-visible,
.menu-search-trigger.has-query {
  border-color: rgba(232, 189, 120, 0.62);
  background: rgba(232, 189, 120, 0.12);
  color: #f3ca88;
  transform: translateY(-1px);
}

.menu-search-trigger svg {
  width: 19px;
  height: 19px;
}

.menu-discovery-tools {
  margin-top: 12px;
}

.menu-category-index {
  margin-top: 0;
}

body.menu-search-open {
  overflow: hidden;
}

.menu-search-popover {
  position: fixed;
  z-index: 1005;
  inset: 0;
  display: grid;
  place-items: start center;
  padding: max(96px, 12svh) 18px 24px;
}

.menu-search-popover[hidden] {
  display: none;
}

.menu-search-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.72);
  padding: 0;
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

.menu-search-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(164, 95, 31, 0.18), transparent 42%),
    #101010;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.72);
  padding: 20px;
}

.menu-search-dialog > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}

.menu-search-dialog h2,
.menu-search-dialog p {
  margin: 0;
}

.menu-search-dialog h2 {
  margin-top: 3px;
  font-size: clamp(22px, 4vw, 30px);
}

.menu-search-close {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.055);
  color: #ddd;
  padding: 0;
  font-size: 22px;
}

.menu-search-dialog .menu-search {
  width: 100%;
  min-height: 50px;
  border-color: rgba(232, 189, 120, 0.32);
  background: rgba(255, 255, 255, 0.075);
}

.menu-search-dialog .menu-search input {
  font-size: 15px;
}

.menu-search-result {
  min-height: 18px;
  margin: 11px 3px 0;
  color: #8d8d8d;
  font-size: 12px;
}

.catalog-image-layout-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
  border-radius: 15px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.045);
}

.catalog-image-layout-switch button {
  min-height: 48px;
  display: grid;
  place-items: center;
  gap: 2px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: rgba(255, 255, 255, 0.58);
  padding: 7px 10px;
}

.catalog-image-layout-switch button strong {
  color: inherit;
  font-size: 0.8rem;
}

.catalog-image-layout-switch button span {
  font-size: 0.65rem;
}

.catalog-image-layout-switch button.is-active {
  border-color: rgba(232, 189, 120, 0.44);
  background: rgba(232, 189, 120, 0.12);
  color: #f2cc8d;
}

.catalog-image-stage {
  transition: aspect-ratio 180ms ease;
}

.catalog-image-stage[data-image-layout-preview="list"] {
  aspect-ratio: 5 / 4;
}

.catalog-image-layout-label {
  position: absolute;
  z-index: 3;
  top: 12px;
  left: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.7);
  color: #f4d39c;
  padding: 6px 9px;
  font-size: 0.67rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.catalog-image-format-previews {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.catalog-image-format-previews figure {
  min-width: 0;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  padding: 8px;
}

.catalog-image-format-previews img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.catalog-highlight-preview {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 9px;
  background: #050505;
}

.catalog-list-preview {
  height: 78px;
  display: grid;
  grid-template-columns: 55% 45%;
  overflow: hidden;
  border-radius: 9px;
  background: #111;
}

.catalog-list-preview > span {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 8px;
}

.catalog-list-preview strong,
.catalog-list-preview small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-list-preview strong {
  color: #fff;
  font-size: 0.61rem;
}

.catalog-list-preview small {
  color: #8f8f8f;
  font-size: 0.52rem;
}

.catalog-list-preview b {
  color: #e8bd78;
  font-size: 0.66rem;
}

.catalog-image-format-previews figcaption {
  display: grid;
  gap: 1px;
  padding: 7px 2px 1px;
}

.catalog-image-format-previews figcaption strong {
  color: #eee;
  font-size: 0.7rem;
}

.catalog-image-format-previews figcaption span {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.61rem;
}

.smart-media-studio.is-modal .catalog-image-layout-switch {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0;
}

.smart-media-studio.is-modal .catalog-image-stage {
  grid-column: 1;
  grid-row: 3 / span 4;
}

.smart-media-studio.is-modal .catalog-image-format-previews {
  grid-column: 1;
  grid-row: 7;
}

@media (prefers-reduced-motion: reduce) {
  .order-confirmation,
  .account-button.has-cart-update {
    animation: none;
    transition-duration: 1ms;
  }

  .order-confirmation.is-visible .order-confirmation-progress {
    animation: none;
  }
}

@media (max-width: 520px) {
  .reports-filter-form {
    grid-template-columns: 1fr;
  }

  .reports-insights {
    grid-template-columns: 1fr;
  }

  .reports-comparison-context {
    align-items: flex-start;
    flex-direction: column;
  }

  .reports-comparison-context strong {
    white-space: normal;
  }

  .reports-filter-details > summary small {
    max-width: 52%;
  }

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

  .client-product span {
    justify-self: start;
  }
}

/* Cinematic menu experience */

.client-shell {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  overflow-x: clip;
  overflow-y: visible;
  background:
    radial-gradient(circle at 86% 8%, rgba(229, 9, 20, 0.09), transparent 26rem),
    #050505;
  padding: 0 0 112px;
}

.client-shell::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 6px),
    radial-gradient(circle at 12% 42%, rgba(255, 255, 255, 0.025), transparent 25rem);
  opacity: 0.55;
  content: "";
}

.client-shell > * {
  position: relative;
  z-index: 1;
}

.client-shell > .sheet-backdrop,
.client-shell > .cart-drawer,
.client-shell > .account-drawer,
.client-shell > .ai-drawer {
  position: fixed;
  z-index: 80;
}

.client-shell .club-menu-header {
  position: sticky;
  top: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  margin: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.98), rgba(5, 5, 5, 0.82));
  padding: 13px 4vw;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(20px) saturate(1.15);
}

.client-shell .club-header-top {
  flex: 1 1 auto;
  min-width: 0;
}

.client-shell .club-brand-row {
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 10px;
}

.client-shell .club-menu-logo {
  width: clamp(132px, 13vw, 188px);
}

.client-shell .club-menu-angel {
  width: 44px;
  height: 44px;
}

.client-shell .club-member-copy span {
  color: #e50914;
  letter-spacing: 0.12em;
}

.client-shell .club-quick-actions {
  flex: 0 0 auto;
  display: flex;
  gap: 8px;
}

.client-shell .club-quick-actions button,
.client-shell .club-logout-button {
  min-height: 38px;
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8f8f8;
  padding: 0 14px;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.client-shell .club-quick-actions button:hover,
.client-shell .club-logout-button:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-1px);
}

.client-shell .waiter-ai-button {
  border-color: rgba(229, 9, 20, 0.5);
  background: #e50914;
}

.client-shell .menu-tabs {
  width: auto;
  display: flex;
  gap: clamp(18px, 2.4vw, 36px);
  overflow-x: auto;
  margin: 0;
  padding: 12px 4vw 8px;
  scrollbar-width: none;
}

.client-shell .menu-tabs::-webkit-scrollbar,
.client-product-rail::-webkit-scrollbar {
  display: none;
}

.client-shell .menu-tab-tile {
  flex: 0 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.client-shell .menu-tab-tile button {
  position: relative;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: #8f8f8f;
  padding: 0;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.01em;
  transition: color 180ms ease;
}

.client-shell .menu-tab-tile button .menu-tab-label-full,
.client-shell .menu-tab-tile button .menu-tab-label-short {
  width: auto;
  min-height: 0;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  font: inherit;
}

.menu-tab-label-short {
  display: none;
}

.client-shell .menu-tab-tile button::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: #e50914;
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: opacity 180ms ease, transform 180ms ease;
}

.client-shell .menu-tab-tile.is-active,
.client-shell .menu-tab-tile.is-promo {
  border: 0;
}

.client-shell .menu-tab-tile.is-active button,
.client-shell .menu-tab-tile.is-promo.is-active button {
  background: transparent;
  color: #fff;
}

.client-shell .menu-tab-tile.is-active button::after {
  opacity: 1;
  transform: scaleX(1);
}

.client-shell .menu-tab-tile.is-promo button {
  color: #d8b26e;
}

.client-shell .menu-action-strip {
  align-items: end;
  margin: 18px 4vw 16px;
}

.client-shell .menu-action-strip .eyebrow {
  margin-bottom: 7px;
  color: #929292;
  letter-spacing: 0.16em;
}

.client-shell .menu-action-strip h1 {
  color: #f5f5f5;
  font-size: clamp(27px, 3.2vw, 48px);
  font-weight: 820;
  letter-spacing: -0.04em;
}

.client-shell .download-link {
  min-height: 36px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #d7d7d7;
  padding: 0 16px;
  font-size: 12px;
  transition: background 180ms ease, color 180ms ease;
}

.client-shell .download-link:hover {
  background: #fff;
  color: #080808;
}

.menu-star-showcase {
  --star-progress: 0.12;
  position: relative;
  min-width: 0;
  overflow: hidden;
  margin: 0 4vw;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: clamp(18px, 2vw, 28px);
  background:
    radial-gradient(circle at 20% 0%, rgba(229, 9, 20, 0.16), transparent 32%),
    linear-gradient(145deg, #171717 0%, #0a0a0a 58%, #060606 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-star-showcase.is-loaded {
  opacity: 1;
  transform: translateY(0);
}

.menu-star-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 3vw, 42px) clamp(20px, 3vw, 42px) 18px;
}

.menu-star-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #d7d7d7;
  font-size: 11px;
  font-weight: 880;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.carloto-mark {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 5px;
  background: #e50914;
  color: #fff;
  font-size: 15px;
  font-weight: 950;
}

.menu-star-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4.1vw, 56px);
  font-weight: 920;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.menu-star-heading > div > p:last-child {
  margin-top: 10px;
  color: #888;
  font-size: 13px;
  line-height: 1.4;
}

.reference-pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.58);
  color: rgba(255, 255, 255, 0.7);
  padding: 5px 8px;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.menu-star-controls {
  display: flex;
  align-items: center;
  gap: 7px;
}

.menu-star-controls button {
  width: 38px;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #dadada;
  padding: 0;
  font-size: 24px;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
}

.menu-star-controls button:hover {
  border-color: #fff;
  background: #fff;
  color: #090909;
  transform: scale(1.06);
}

#menu-star-playback {
  font-size: 12px;
}

#menu-star-playback .menu-star-play,
#menu-star-playback.is-paused .menu-star-pause {
  display: none;
}

#menu-star-playback.is-paused .menu-star-play {
  display: inline;
}

.menu-star-rail {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: clamp(390px, 38vw, 520px);
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-auto-columns: clamp(285px, 29vw, 430px);
  gap: clamp(9px, 1vw, 14px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 clamp(20px, 3vw, 42px) 20px;
  scroll-padding-inline: clamp(20px, 3vw, 42px);
  scroll-snap-type: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.menu-star-rail::-webkit-scrollbar {
  display: none;
}

.menu-star-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  background: #151515;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.36);
  transform: translateZ(0);
  transition: border-color 220ms ease, box-shadow 260ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-star-card:hover,
.menu-star-card:focus-within {
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 23px 48px rgba(0, 0, 0, 0.56);
  transform: translateY(-3px) scale(1.012);
}

.menu-star-card-open {
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.menu-star-card-open:hover {
  background: transparent;
  color: #fff;
}

.menu-star-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.14) brightness(0.76);
  transform: scale(1.015) translateZ(0);
  transition: filter 340ms ease, transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  -webkit-user-drag: none;
}

.menu-star-card:hover img,
.menu-star-card:focus-within img {
  filter: saturate(1.02) contrast(1.1) brightness(0.9);
  transform: scale(1.07) translateZ(0);
}

.menu-star-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.04) 30%, rgba(0, 0, 0, 0.85) 100%),
    radial-gradient(circle at 90% 0%, rgba(229, 9, 20, 0.14), transparent 40%);
  pointer-events: none;
}

.menu-star-rank {
  position: absolute;
  top: 11px;
  left: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-shadow: 0 2px 12px #000;
}

.menu-star-card .reference-pill {
  position: absolute;
  top: 10px;
  left: 44px;
  z-index: 2;
  padding: 4px 7px;
  font-size: 7px;
}

.menu-star-copy {
  position: absolute;
  right: 48px;
  bottom: 13px;
  left: 13px;
  z-index: 2;
  display: grid;
  gap: 3px;
  pointer-events: none;
}

.menu-star-copy small {
  color: #ff3a44;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.menu-star-copy strong {
  overflow: hidden;
  color: #fff;
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 880;
  letter-spacing: -0.025em;
  line-height: 1.05;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.menu-star-copy b {
  color: #e4e4e4;
  font-size: 11px;
}

.menu-star-add {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.7);
  color: #fff;
  padding: 0;
  font-size: 18px;
  backdrop-filter: blur(12px);
  transition: border-color 170ms ease, background 170ms ease, transform 170ms ease;
}

.menu-star-add:hover {
  border-color: #e50914;
  background: #e50914;
  color: #fff;
  transform: scale(1.08);
}

.menu-star-add.is-added {
  border-color: #168452;
  background: #168452;
  color: #fff;
  font-size: 14px;
}

.menu-star-add em {
  display: none;
}

.menu-star-progress {
  width: calc(100% - clamp(40px, 6vw, 84px));
  height: 3px;
  overflow: hidden;
  margin: 0 clamp(20px, 3vw, 42px) clamp(22px, 3vw, 38px);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.1);
}

.menu-star-progress span {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, #e50914, #ff4a53);
  transform: scaleX(var(--star-progress));
  transform-origin: left center;
  transition: transform 100ms linear;
}

.menu-hero {
  position: relative;
  min-height: clamp(470px, 61vw, 700px);
  overflow: hidden;
  isolation: isolate;
  margin: 0 4vw;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: clamp(20px, 2.4vw, 30px);
  background: #080808;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.52);
  touch-action: pan-y pinch-zoom;
}

.menu-hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.36;
  filter: saturate(1.02) contrast(1.08) brightness(0.9);
  transform: scale(1.075);
  transition: opacity 320ms ease, transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
  pointer-events: none;
  -webkit-user-drag: none;
}

.menu-hero.is-loaded .menu-hero-image {
  opacity: 1;
  transform: scale(1.025);
}

.menu-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.8) 38%, rgba(0, 0, 0, 0.2) 72%, rgba(0, 0, 0, 0.48) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.92) 0%, transparent 48%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.menu-hero-content {
  width: min(590px, 54%);
  min-height: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(48px, 6vw, 82px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-hero.is-loaded .menu-hero-content {
  opacity: 1;
  transform: translateY(0);
}

.menu-hero.is-loaded[data-slide-type="welcome"] .menu-hero-image {
  animation: menu-welcome-drift 7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes menu-welcome-drift {
  from {
    transform: scale(1.09) translate3d(1.5%, 0, 0);
  }

  to {
    transform: scale(1.025) translate3d(0, 0, 0);
  }
}

.menu-hero-badges {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 26px;
}

.menu-hero-label {
  color: #f3f3f3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-hero-category {
  margin-bottom: 10px;
  color: #ff2935;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.menu-hero-content h2 {
  max-width: 12ch;
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 930;
  letter-spacing: -0.065em;
  line-height: 0.91;
  text-wrap: balance;
}

.menu-hero-description {
  max-width: 48ch;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 580;
  line-height: 1.46;
}

.menu-hero-price {
  margin-top: 17px;
  color: #fff;
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: -0.025em;
}

.menu-hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 31px;
}

.menu-hero-actions button {
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 0 23px;
  font-size: 14px;
  font-weight: 850;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.menu-hero-actions button:hover {
  transform: translateY(-2px);
}

.menu-hero-actions .hero-primary {
  background: #fff;
  color: #090909;
}

.menu-hero-actions .hero-primary:hover {
  background: #e50914;
  color: #fff;
}

.menu-hero-actions .hero-secondary {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(55, 55, 55, 0.82);
  color: #fff;
  backdrop-filter: blur(13px);
}

.menu-hero-actions .hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(84, 84, 84, 0.9);
}

.menu-hero-carousel-controls {
  position: absolute;
  top: clamp(18px, 2.4vw, 30px);
  right: clamp(18px, 2.4vw, 30px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(7, 7, 7, 0.64);
  padding: 4px;
  color: #fff;
  backdrop-filter: blur(16px);
}

.menu-hero-carousel-controls button {
  width: 35px;
  min-width: 35px;
  min-height: 35px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  padding: 0;
  font-size: 22px;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease;
}

.menu-hero-carousel-controls button:hover {
  background: #fff;
  color: #090909;
}

#menu-hero-playback {
  font-size: 11px;
}

#menu-hero-playback .menu-hero-play,
#menu-hero-playback.is-paused .menu-hero-pause {
  display: none;
}

#menu-hero-playback.is-paused .menu-hero-play {
  display: inline;
}

#menu-hero-count {
  min-width: 38px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: center;
}

.menu-hero-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.menu-hero-progress span {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(90deg, #e50914, #ff3d47);
  transform: scaleX(0);
  transform-origin: left center;
}

.menu-hero.is-cycling .menu-hero-progress span {
  animation: menu-hero-cycle 7s linear both;
}

@keyframes menu-hero-cycle {
  to {
    transform: scaleX(1);
  }
}

.menu-discovery-tools {
  margin: 38px 4vw 4px;
  scroll-margin-top: 20px;
}

.menu-discovery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #f2f2f2;
}

.menu-discovery-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-discovery-heading > div > div {
  display: grid;
  gap: 2px;
}

.menu-discovery-heading strong {
  font-size: clamp(18px, 1.7vw, 25px);
}

.menu-discovery-heading small {
  color: #777;
  font-size: 12px;
}

.menu-search {
  width: min(300px, 34vw);
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0 12px;
  transition: border-color 180ms ease, background 180ms ease;
}

.menu-search:focus-within {
  border-color: rgba(229, 9, 20, 0.72);
  background: rgba(255, 255, 255, 0.085);
}

.menu-search svg {
  width: 17px;
  flex: 0 0 17px;
  color: #8b8b8b;
}

.menu-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  font: inherit;
  font-size: 13px;
}

.menu-search input::placeholder {
  color: #767676;
}

.menu-search button {
  width: 25px;
  min-width: 25px;
  min-height: 25px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #bbb;
  padding: 0;
  font-size: 17px;
}

.menu-category-index {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  margin-top: 13px;
  padding: 1px 1px 3px;
  scrollbar-width: none;
}

.menu-category-index::-webkit-scrollbar {
  display: none;
}

.menu-category-index button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  background: #111;
  color: #c7c7c7;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 760;
}

.menu-category-index button:hover {
  border-color: rgba(229, 9, 20, 0.7);
  color: #fff;
}

.menu-category-index small {
  color: #6d6d6d;
  font-size: 9px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e50914;
  box-shadow: 0 0 0 5px rgba(229, 9, 20, 0.13);
}

.client-shell .client-product-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(30px, 4vw, 58px);
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding-top: 22px;
}

.client-shell .client-category {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 480ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.client-shell .client-product-list.is-revealed .client-category {
  opacity: 1;
  transform: translateY(0);
}

.client-shell .client-product-list.is-revealed .client-category:nth-child(2) {
  transition-delay: 70ms;
}

.client-shell .client-product-list.is-revealed .client-category:nth-child(3) {
  transition-delay: 140ms;
}

.client-category-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 0 4vw 13px;
}

.client-category-head > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.client-shell .client-category h3 {
  margin: 0;
  background: transparent;
  color: #e8e8e8;
  padding: 0;
  font-size: clamp(18px, 1.7vw, 26px);
  font-weight: 780;
  letter-spacing: -0.025em;
}

.client-category-head span {
  color: #686868;
  font-size: 11px;
  font-weight: 700;
}

.rail-controls {
  display: flex;
  gap: 6px;
}

.rail-controls button {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #bfbfbf;
  padding: 0 0 2px;
  font-size: 25px;
  font-weight: 400;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.rail-controls button:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: #fff;
  color: #080808;
  transform: scale(1.06);
}

.client-product-rail {
  width: 100%;
  min-width: 0;
  max-width: 100vw;
  display: grid;
  grid-auto-columns: clamp(265px, 24vw, 370px);
  grid-auto-flow: column;
  gap: clamp(10px, 1vw, 16px);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 5px 4vw 24px;
  scroll-padding-left: 4vw;
  scroll-snap-type: none;
  overscroll-behavior-inline: contain;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  user-select: none;
  -webkit-user-select: none;
}

.client-product-rail.is-dragging,
.promo-card-rail.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.client-product-rail img,
.promo-card-rail img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.mobile-rail-progress {
  display: none;
}

.client-product-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 12px;
  background: #121212;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  scroll-snap-align: none;
  transform-origin: center;
  transition: border-color 220ms ease, box-shadow 220ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.client-product-card:hover,
.client-product-card:focus-within {
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.58);
  transform: translateY(-5px) scale(1.015);
}

.client-shell .client-product {
  width: 100%;
  min-height: 0;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}

.client-shell .client-product:hover {
  background: transparent;
  color: #fff;
}

.client-product-media {
  position: relative;
  aspect-ratio: 16 / 9.5;
  display: block;
  overflow: hidden;
  background: #1b1b1b;
}

.client-product-media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.03) 48%, rgba(0, 0, 0, 0.54) 100%),
    radial-gradient(circle at 72% 20%, rgba(155, 19, 31, 0.1), transparent 45%);
  content: "";
  pointer-events: none;
}

.client-product-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.84) contrast(1.16) brightness(0.78);
  transition: filter 300ms ease, transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
}

.client-product-card:hover .client-product-media img,
.client-product-card:focus-within .client-product-media img {
  filter: saturate(0.97) contrast(1.13) brightness(0.9);
  transform: scale(1.075);
}

.client-product-media .reference-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
}

.card-gradient {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent);
}

.client-product-copy {
  min-height: 118px;
  display: block;
  padding: 17px 58px 17px 16px;
}

.client-product-title {
  display: grid;
  gap: 5px;
}

.client-shell .client-product-title strong {
  display: block;
  color: #f7f7f7;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  text-wrap: balance;
}

.client-shell .client-product-title b {
  color: #ddd;
  font-size: 13px;
  font-weight: 800;
}

.client-shell .client-product small {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 9px;
  color: #8f8f8f;
  font-size: 11.5px;
  font-weight: 520;
  line-height: 1.4;
  text-transform: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.client-shell .client-product-add {
  position: absolute;
  right: 14px;
  bottom: 17px;
  width: 36px;
  min-width: 36px;
  min-height: 36px;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: #fff;
  color: #090909;
  padding: 0;
  font-size: 19px;
  transition: background 170ms ease, color 170ms ease, transform 170ms ease;
}

.client-shell .client-product-add em {
  display: none;
  font-size: 11px;
  font-style: normal;
}

.client-shell .client-product-add:hover {
  border-color: #e50914;
  background: #e50914;
  color: #fff;
  transform: scale(1.08);
}

.client-shell .client-product-add.is-added {
  border-color: #168452;
  background: #168452;
  color: #fff;
  font-size: 15px;
}

.client-shell .promo-board {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 4px 4vw 0;
}

.client-shell .promo-board .promo-feature {
  position: relative;
  min-height: 430px;
  align-content: end;
  overflow: hidden;
  isolation: isolate;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background-position: center;
  background-size: cover;
  padding: clamp(22px, 3vw, 42px);
}

.client-shell .promo-board .promo-feature::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.96) 6%, rgba(0, 0, 0, 0.2) 100%);
  content: "";
}

.promo-night {
  background-image: url("/assets/img/menu/no-photo.svg");
}

.promo-friends {
  background-image: url("/assets/img/menu/no-photo.svg");
}

.client-shell .promo-board h2 {
  max-width: 14ch;
  font-size: clamp(27px, 3vw, 42px);
}

.client-shell .promo-board .muted {
  max-width: 46ch;
}

.client-shell .promo-board button {
  width: max-content;
  min-height: 44px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #080808;
  padding: 0 18px;
}

.sheet-backdrop {
  place-items: center;
  background: rgba(0, 0, 0, 0.78);
  padding: 22px;
  backdrop-filter: blur(14px);
}

.product-sheet {
  position: relative;
  width: min(100%, 980px);
  max-height: min(90svh, 720px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  justify-self: center;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 21px;
  background: #111;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.72);
  padding: 0;
  opacity: 0;
  transform: scale(0.96) translateY(16px);
  transition: opacity 230ms ease, transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sheet-backdrop.is-visible .product-sheet {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.product-sheet .sheet-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  float: none;
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 25px;
  font-weight: 400;
  backdrop-filter: blur(10px);
}

.sheet-media {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #171717;
}

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

.sheet-media .reference-pill {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
}

.sheet-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 68%, rgba(17, 17, 17, 0.4));
  pointer-events: none;
}

.sheet-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: 52px 40px 38px;
}

.product-sheet .sheet-content h2 {
  padding-right: 24px;
  font-size: clamp(32px, 3.4vw, 49px);
  font-weight: 880;
  letter-spacing: -0.05em;
  line-height: 0.96;
  text-wrap: balance;
}

.product-sheet .sheet-content .muted {
  margin-top: 16px;
  color: #a7a7a7;
  font-size: 14px;
  line-height: 1.55;
}

.product-sheet .sheet-price {
  margin-top: 18px;
  font-size: 23px;
}

.product-sheet .quantity-row {
  grid-template-columns: 42px 58px 42px;
  margin: 20px 0 16px;
}

.product-sheet .quantity-row button,
.product-sheet .quantity-row span {
  min-height: 40px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: #1c1c1c;
}

.product-sheet .sheet-actions {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.product-sheet .sheet-actions button {
  min-height: 46px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 7px;
  background: #222;
  padding: 8px 12px;
  font-size: 12px;
}

.product-sheet .sheet-actions button:first-child {
  border-color: #e50914;
  background: #e50914;
  color: #fff;
}

.product-sheet .sheet-actions button:disabled {
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.12);
  background: #222;
  color: #aaa;
}

@media (max-width: 900px) {
  .client-shell .club-menu-header {
    flex-wrap: wrap;
    padding: 10px 4vw;
  }

  .client-shell .club-header-top {
    flex-basis: 100%;
  }

  .client-shell .club-quick-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 0.88fr 1.24fr 0.88fr;
  }

  .menu-star-rail {
    height: 390px;
    grid-auto-columns: min(44vw, 360px);
  }

  .product-sheet {
    grid-template-columns: minmax(0, 0.9fr) minmax(330px, 1.1fr);
  }
}

@media (max-width: 680px) {
  .client-shell {
    padding-bottom: calc(118px + env(safe-area-inset-bottom));
  }

  .client-shell::before {
    position: absolute;
    opacity: 0.34;
  }

  .client-shell .club-menu-header {
    min-height: calc(62px + env(safe-area-inset-top));
    flex-wrap: nowrap;
    gap: 7px;
    padding: calc(8px + env(safe-area-inset-top)) 14px 8px;
    background: rgba(5, 5, 5, 0.96);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.32);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .client-shell .club-header-top {
    flex-basis: auto;
  }

  .client-shell .club-menu-angel {
    display: none;
  }

  .client-shell .club-brand-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .client-shell .club-member-copy span {
    display: none;
  }

  .client-shell .club-menu-logo {
    width: 132px;
  }

  .client-shell .club-logout-button {
    min-height: 34px;
    padding: 0 12px;
    font-size: 11px;
  }

  .client-shell .club-quick-actions {
    position: fixed;
    right: 12px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    z-index: 60;
    width: auto;
    display: grid;
    grid-template-columns: 0.86fr 1.28fr 0.86fr;
    gap: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    background: rgba(16, 16, 17, 0.88);
    padding: 7px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, 0.64);
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
  }

  .client-shell .club-quick-actions button {
    min-height: 54px;
    flex-direction: column;
    gap: 3px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    padding: 5px;
    font-size: 10px;
  }

  .client-shell .club-quick-actions button:active {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0.96);
  }

  .client-shell .club-quick-actions .waiter-ai-button {
    min-height: 60px;
    background: linear-gradient(135deg, #f21420, #b50009);
    box-shadow:
      0 10px 30px rgba(229, 9, 20, 0.42),
      inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  }

  .client-shell .waiter-ai-button svg {
    width: 22px;
    height: 22px;
  }

  .client-shell .waiter-ai-button .ai-button-copy strong {
    font-size: 13px;
  }

  .client-shell .waiter-ai-button .ai-button-copy small {
    font-size: 10px;
  }

  .client-shell .menu-tabs {
    position: relative;
    top: auto;
    z-index: 2;
    width: auto;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    overflow: visible;
    margin: 6px 14px 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background:
      radial-gradient(circle at 82% 0%, rgba(229, 9, 20, 0.11), transparent 55%),
      rgba(13, 13, 14, 0.92);
    padding: 5px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .client-shell .menu-tab-tile {
    min-width: 0;
    scroll-snap-align: none;
  }

  .client-shell .menu-tab-tile.is-promo {
    grid-column: auto;
  }

  .client-shell .menu-tab-tile button {
    width: 100%;
    min-height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.05);
    padding: 0 3px;
    font-size: clamp(9px, 2.85vw, 11px);
    font-weight: 800;
  }

  .client-shell .menu-tab-label-full {
    display: none;
  }

  .client-shell .menu-tab-label-short {
    display: inline;
  }

  .client-shell .menu-tab-tile button::after {
    display: none;
  }

  .client-shell .menu-tab-tile.is-active button {
    border-color: rgba(255, 54, 64, 0.78);
    background: linear-gradient(135deg, #f21420, #b50009);
    color: #fff;
    box-shadow: 0 9px 24px rgba(229, 9, 20, 0.25);
  }

  .client-shell .menu-tab-tile.is-promo button {
    border-color: rgba(216, 178, 110, 0.26);
    background: rgba(216, 178, 110, 0.07);
    color: #e7c68b;
  }

  .client-shell .menu-tab-tile.is-promo.is-active button {
    border-color: #d8b26e;
    background: linear-gradient(135deg, #d8b26e, #9f6f20);
    color: #090909;
  }

  .client-shell .menu-action-strip {
    margin: 18px 14px 12px;
  }

  .client-shell .menu-action-strip h1 {
    font-size: clamp(26px, 8vw, 34px);
  }

  .client-shell .download-link {
    min-height: 33px;
    padding: 0 11px;
    font-size: 10px;
  }

  .menu-star-showcase {
    margin: 0 14px;
    border-radius: 20px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.52);
  }

  .menu-star-heading {
    align-items: start;
    padding: 21px 16px 14px;
  }

  .menu-star-heading h2 {
    font-size: clamp(28px, 9vw, 38px);
  }

  .menu-star-heading > div > p:last-child {
    max-width: 29ch;
    margin-top: 7px;
    font-size: 11px;
  }

  .menu-star-kicker {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .menu-star-controls {
    padding-top: 4px;
  }

  #menu-star-prev,
  #menu-star-next {
    display: none;
  }

  .menu-star-rail {
    height: 340px;
    grid-auto-columns: min(76vw, 310px);
    gap: 9px;
    padding: 0 16px 13px;
    scroll-padding-inline: 16px;
  }

  .menu-star-card {
    border-radius: 13px;
  }

  .menu-star-card:hover,
  .menu-star-card:focus-within {
    z-index: auto;
    transform: translateZ(0);
  }

  .menu-star-card:hover img,
  .menu-star-card:focus-within img {
    filter: saturate(0.94) contrast(1.1) brightness(0.82);
    transform: scale(1.02) translateZ(0);
  }

  .menu-star-copy {
    right: 44px;
    bottom: 10px;
    left: 11px;
  }

  .menu-star-copy strong {
    font-size: 15px;
  }

  .menu-star-add {
    right: 9px;
    bottom: 9px;
    width: 32px;
    min-width: 32px;
    min-height: 32px;
  }

  .menu-star-progress {
    width: calc(100% - 32px);
    margin: 0 16px 20px;
  }

  .menu-discovery-tools {
    margin: 28px 14px 2px;
    scroll-margin-top: 14px;
  }

  .menu-discovery-heading {
    display: grid;
    gap: 12px;
  }

  .menu-discovery-heading small {
    font-size: 10px;
  }

  .menu-search {
    width: 100%;
    min-height: 43px;
  }

  .menu-category-index {
    margin-top: 9px;
  }

  .rail-controls {
    display: none;
  }

  .client-category-head > div:first-child {
    display: grid;
    gap: 3px;
  }

  .client-category-head {
    margin: 0 14px 11px;
  }

  .client-shell .client-category {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    content-visibility: auto;
    contain-intrinsic-size: auto 390px;
    transform: translateY(14px);
  }

  .client-product-rail {
    width: 100%;
    min-width: 0;
    max-width: 100vw;
    grid-auto-columns: min(82vw, 350px);
    gap: 12px;
    margin: 0;
    padding: 5px 14px 14px;
    scroll-padding-inline: 14px;
    scroll-snap-type: none;
  }

  .client-product-card {
    border-radius: 16px;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .client-product-card::after {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
    background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.08) 48%, transparent 62%);
    content: "";
    opacity: 0;
    pointer-events: none;
    transform: translateX(-80%);
  }

  .client-product-card.is-touching::after {
    opacity: 1;
    transform: translateX(80%);
    transition: transform 700ms ease, opacity 180ms ease;
  }

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

  .client-product-media img {
    transform: translateZ(0);
    backface-visibility: hidden;
  }

  .client-product-card:active {
    border-color: rgba(255, 255, 255, 0.24);
    transform: scale(0.985) translateZ(0);
  }

  .client-product-copy {
    min-height: 118px;
    padding: 17px 60px 17px 16px;
  }

  .client-shell .client-product-title strong {
    font-size: 17px;
  }

  .client-shell .client-product-title b {
    color: #fff;
    font-size: 14px;
  }

  .mobile-rail-progress {
    width: 54px;
    height: 3px;
    display: block;
    overflow: hidden;
    margin: 2px 14px 0;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.11);
  }

  .mobile-rail-progress span {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #e50914, #ff4a53);
    transform: scaleX(var(--rail-progress, 0.14));
    transform-origin: left center;
    transition: transform 90ms linear;
  }

  .client-shell .promo-board {
    grid-template-columns: 1fr;
  }

  .client-shell .promo-board .promo-feature {
    min-height: 390px;
  }

  .sheet-backdrop {
    align-items: end;
    padding: 0;
  }

  .product-sheet {
    width: 100%;
    max-height: 94svh;
    display: block;
    overflow-y: auto;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 20px 20px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .sheet-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .sheet-media-gradient {
    background: linear-gradient(0deg, #111 0%, transparent 35%);
  }

  .sheet-content {
    overflow: visible;
    margin-top: -14px;
    padding: 0 20px 28px;
  }

  .product-sheet .sheet-content h2 {
    font-size: 35px;
  }

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

@media (max-width: 900px) {
  .menu-hero {
    min-height: 580px;
  }

  .menu-hero-content {
    width: min(640px, 78%);
  }
}

@media (max-width: 680px) {
  .menu-hero {
    min-height: clamp(540px, 72svh, 650px);
    margin: 0 14px;
    border-radius: 20px;
  }

  .menu-hero-image {
    filter: saturate(1.08) contrast(1.05) brightness(0.92);
  }

  .menu-hero-shade {
    background:
      linear-gradient(0deg, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.82) 42%, rgba(0, 0, 0, 0.12) 76%, rgba(0, 0, 0, 0.36) 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 76%);
  }

  .menu-hero-content {
    width: 100%;
    justify-content: flex-end;
    padding: 96px 24px 42px;
  }

  .menu-hero-badges {
    gap: 7px;
    margin-bottom: 18px;
  }

  .menu-hero-label {
    font-size: 10px;
  }

  .menu-hero-category {
    margin-bottom: 8px;
    font-size: 11px;
  }

  .menu-hero-content h2 {
    max-width: 10.5ch;
    font-size: clamp(43px, 13.5vw, 63px);
  }

  .menu-hero[data-slide-type="welcome"] .menu-hero-content h2,
  .menu-hero[data-slide-type="promotions"] .menu-hero-content h2 {
    max-width: 12ch;
    font-size: clamp(38px, 11.2vw, 54px);
    line-height: 0.94;
  }

  .menu-hero-description {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 17px;
    font-size: 14px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .menu-hero-price {
    margin-top: 13px;
    font-size: 24px;
  }

  .menu-hero-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 22px;
  }

  .menu-hero-actions button {
    min-height: 50px;
    padding: 0 12px;
    font-size: 12px;
    line-height: 1.12;
  }

  .menu-hero-carousel-controls {
    top: 14px;
    right: 14px;
  }

  .menu-hero-carousel-controls button {
    width: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 20px;
  }

  #menu-hero-playback {
    font-size: 10px;
  }

  #menu-hero-count {
    min-width: 34px;
    font-size: 9px;
  }
}

@media (max-width: 680px) and (hover: none) {
  .client-product-card:hover,
  .client-product-card:focus-within {
    z-index: auto;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    transform: translateZ(0);
  }

  .client-product-card:hover .client-product-media img,
  .client-product-card:focus-within .client-product-media img {
    filter: saturate(0.96) contrast(1.04);
    transform: translateZ(0);
  }

  .client-product-card:active {
    transform: scale(0.985) translateZ(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-hero,
  .menu-hero-image,
  .menu-hero-content,
  .menu-hero-progress span,
  .menu-star-showcase,
  .menu-star-card,
  .menu-star-card img,
  .menu-star-progress span,
  .client-shell .client-category,
  .client-product-card,
  .client-product-media img,
  .product-sheet {
    transition-duration: 1ms;
  }
}

/* Compact admin header and direct catalog editing */

#admin-app .admin-topbar {
  min-height: 72px;
  margin-bottom: 14px;
  padding: 8px 0;
}

#admin-app .admin-brand-mark {
  width: 39px;
  height: 39px;
  flex-basis: 39px;
  border-radius: 11px;
  font-size: 21px;
}

#admin-app .admin-brand-lockup {
  gap: 10px;
}

#admin-app .admin-brand-lockup h1 {
  font-size: 20px;
}

#admin-app .admin-brand-lockup > div > span {
  margin-top: 2px;
  font-size: 10px;
}

#admin-app .admin-logout-button {
  min-height: 38px;
}

#admin-app .admin-layout {
  gap: 18px;
}

#admin-app .admin-content {
  gap: 11px;
}

#admin-app .admin-page-context {
  min-height: 58px;
  padding: 1px 3px 11px;
}

#admin-app .admin-page-context h2 {
  font-size: clamp(24px, 1.9vw, 30px);
}

#admin-app .admin-page-context > div:first-child > p:last-child {
  margin-top: 4px;
  line-height: 1.35;
}

#view-catalog {
  display: grid;
  gap: 11px;
}

#view-catalog > .metrics article {
  min-height: 68px;
  padding: 12px 15px;
}

#view-catalog > .metrics span {
  font-size: 10px;
}

#view-catalog > .metrics strong {
  font-size: clamp(21px, 2.1vw, 29px);
}

#view-catalog .catalog-workspace {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 14px;
  margin-top: 0;
}

#view-catalog .catalog-toolbar {
  position: static;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(230px, 1.65fr) repeat(4, minmax(125px, 1fr)) auto;
  align-items: end;
  gap: 9px;
  padding: 11px 12px;
  border-radius: 10px;
}

#view-catalog .catalog-toolbar label {
  gap: 5px;
  font-size: 10px;
}

#view-catalog .catalog-toolbar input,
#view-catalog .catalog-toolbar select,
#view-catalog .catalog-toolbar button {
  min-height: 37px;
}

#view-catalog .catalog-toolbar button {
  min-width: 78px;
  padding: 0 12px;
}

#view-catalog .catalog-panel {
  min-height: 640px;
}

#view-catalog .catalog-panel > .panel-head {
  min-height: 65px;
  padding: 12px 15px;
}

#view-catalog .catalog-list {
  max-height: calc(100svh - 252px);
}

.catalog-list-more,
.catalog-list-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.catalog-list-more button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 14px;
}

.catalog-list-empty {
  justify-content: center;
  text-align: center;
}

#view-catalog .detail-panel {
  top: 12px;
}

#view-catalog .row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

#view-catalog .row:hover,
#view-catalog .row.is-active {
  background: rgba(255, 59, 47, 0.1);
}

#view-catalog .row.is-active {
  box-shadow: inset 3px 0 0 var(--red);
}

#view-catalog .row-select {
  min-width: 0;
  display: grid;
  grid-template-columns: 96px minmax(170px, 1fr) 120px 84px 80px;
  gap: 10px;
  align-items: center;
  justify-content: stretch;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  padding: 12px 10px 12px 16px;
  text-align: left;
}

#view-catalog .row-select:hover {
  background: transparent;
}

#view-catalog .row-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px 8px 3px;
}

#view-catalog .row-actions button {
  width: 34px;
  height: 34px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  padding: 0;
}

#view-catalog .row-actions button:hover {
  border-color: rgba(255, 59, 47, 0.48);
  background: rgba(255, 59, 47, 0.13);
  color: #fff;
}

#view-catalog .row-actions svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.studio-head-actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.studio-modal-close {
  width: 36px;
  height: 36px;
  min-height: 36px;
  display: none;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.catalog-modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.76);
  padding: 0;
  backdrop-filter: blur(8px);
}

.catalog-modal-backdrop[hidden] {
  display: none;
}

body.catalog-modal-open {
  overflow: hidden;
}

#catalog-product-form.is-modal,
.smart-media-studio.is-modal {
  position: fixed;
  z-index: 1001;
  top: 50%;
  left: 50%;
  width: min(calc(100vw - 32px), 800px);
  max-height: min(90svh, 900px);
  overflow-y: auto;
  margin: 0;
  transform: translate(-50%, -50%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 38px 120px rgba(0, 0, 0, 0.72);
  overscroll-behavior: contain;
}

#catalog-product-form.is-modal .studio-modal-close,
.smart-media-studio.is-modal .studio-modal-close {
  display: grid;
}

.smart-media-studio.is-modal {
  width: min(calc(100vw - 32px), 980px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  align-items: start;
  gap: 14px 18px;
}

.smart-media-studio.is-modal > .studio-head {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.smart-media-studio.is-modal .catalog-image-stage {
  grid-column: 1;
  grid-row: 2 / span 5;
  align-self: start;
  width: 100%;
  min-width: 0;
  min-height: 0;
}

.smart-media-studio.is-modal .catalog-image-dropzone,
.smart-media-studio.is-modal .catalog-image-controls,
.smart-media-studio.is-modal > .form-status,
.smart-media-studio.is-modal > details {
  grid-column: 2;
  min-width: 0;
  margin-top: 0;
}

.catalog-image-stage.has-drag,
.smart-media-studio.has-selected-image .catalog-image-stage {
  cursor: grab;
  touch-action: none;
}

.smart-media-studio.has-selected-image .catalog-image-stage.is-dragging {
  cursor: grabbing;
}

.catalog-image-stage img {
  transition: transform 140ms ease;
  will-change: transform;
}

.catalog-image-stage.is-dragging img {
  transition: none;
}

.catalog-image-drag-hint {
  position: absolute;
  z-index: 3;
  right: 13px;
  bottom: 12px;
  display: none;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: rgba(255, 255, 255, 0.82);
  padding: 0 10px;
  font-size: 10px;
  font-weight: 800;
  pointer-events: none;
}

.smart-media-studio.has-selected-image .catalog-image-drag-hint {
  display: inline-flex;
}

@media (max-width: 1320px) {
  #view-catalog .catalog-workspace {
    grid-template-columns: minmax(0, 1fr) 350px;
  }

  #view-catalog .catalog-toolbar {
    grid-template-columns: minmax(220px, 1.5fr) repeat(4, minmax(112px, 1fr)) auto;
  }

  #view-catalog .row-select {
    grid-template-columns: 86px minmax(155px, 1fr) 105px 78px 74px;
  }
}

@media (max-width: 1080px) {
  #view-catalog .catalog-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  #view-catalog .catalog-toolbar {
    grid-template-columns: minmax(220px, 2fr) repeat(2, minmax(135px, 1fr));
  }

  #view-catalog .catalog-toolbar button {
    width: 100%;
  }

  #view-catalog .detail-panel {
    position: static;
  }

  #view-catalog .row-select {
    grid-template-columns: 92px minmax(180px, 1fr) 118px 82px 78px;
  }
}

@media (max-width: 780px) {
  #admin-app .admin-topbar {
    min-height: 64px;
    margin-bottom: 9px;
    padding: 6px 0;
  }

  #admin-app .admin-brand-lockup .eyebrow {
    display: none;
  }

  #admin-app .admin-brand-lockup h1 {
    font-size: 17px;
  }

  #admin-app .admin-page-context {
    padding-bottom: 9px;
  }

  #admin-app .admin-page-context > div:first-child > p:last-child {
    font-size: 11px;
  }

  #view-catalog > .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #view-catalog .catalog-toolbar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #view-catalog .catalog-toolbar label:first-child {
    grid-column: 1 / -1;
  }

  #view-catalog .catalog-panel > .panel-head {
    align-items: center;
    flex-direction: row;
  }

  #view-catalog .row-select {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
    padding: 11px 7px 11px 13px;
  }

  #view-catalog .row-code,
  #view-catalog .row-category,
  #view-catalog .row-image {
    display: none;
  }

  #view-catalog .row-price {
    grid-column: 2;
    grid-row: 1;
  }

  #view-catalog .row-name {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  #view-catalog .row-actions {
    align-items: center;
    padding-right: 8px;
  }

  #catalog-product-form.is-modal,
  .smart-media-studio.is-modal {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 94svh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 22px 22px 0 0;
    padding: 17px;
    transform: none;
  }

  .smart-media-studio.is-modal {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .smart-media-studio.is-modal > .studio-head,
  .smart-media-studio.is-modal .catalog-image-stage,
  .smart-media-studio.is-modal .catalog-image-dropzone,
  .smart-media-studio.is-modal .catalog-image-controls,
  .smart-media-studio.is-modal > .form-status,
  .smart-media-studio.is-modal > details {
    grid-column: 1;
    grid-row: auto;
  }

  .smart-media-studio.is-modal .catalog-image-stage {
    min-height: 0;
  }
}

/* Admin information architecture */

#admin-app.app-shell {
  width: min(100%, 1840px);
  padding: 0 24px 32px;
}

#admin-app .admin-topbar {
  min-height: 92px;
  margin-bottom: 22px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-transform: none;
}

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

.admin-brand-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  font-size: 25px;
  font-weight: 950;
  box-shadow: 0 12px 28px rgba(255, 59, 47, 0.22);
}

.admin-brand-lockup > div {
  min-width: 0;
}

.admin-brand-lockup .eyebrow {
  margin-bottom: 2px;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.admin-brand-lockup h1 {
  font-size: 23px;
  line-height: 1.05;
}

.admin-brand-lockup > div > span {
  display: block;
  margin-top: 4px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 700;
}

#admin-app .admin-logout-button {
  min-height: 42px;
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
  color: var(--muted);
  padding: 0 15px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 258px minmax(0, 1fr);
  align-items: start;
  gap: 24px;
}

#admin-app .main-nav {
  position: sticky;
  top: 18px;
  max-height: calc(100svh - 36px);
  display: grid;
  align-content: start;
  gap: 16px;
  overflow-y: auto;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255, 59, 47, 0.055), transparent 34%),
    rgba(15, 16, 18, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
  scrollbar-width: thin;
}

.admin-nav-intro {
  padding: 4px 7px 2px;
}

.admin-nav-intro > span,
.admin-nav-group > p {
  color: #f0c06a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-nav-intro p {
  margin-top: 5px;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.45;
}

.admin-nav-group {
  display: grid;
  gap: 4px;
}

.admin-nav-group > p {
  margin: 0 7px 4px;
  color: var(--quiet);
}

#admin-app .main-nav button {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: var(--muted);
  padding: 7px 9px;
  text-align: left;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
}

#admin-app .main-nav button:hover {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  transform: translateX(2px);
}

#admin-app .main-nav button.is-active {
  border-color: rgba(255, 59, 47, 0.34);
  background: linear-gradient(90deg, rgba(255, 59, 47, 0.2), rgba(255, 59, 47, 0.055));
  color: #fff;
  box-shadow: inset 3px 0 0 var(--red);
}

.admin-nav-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--quiet);
  font-size: 15px;
  font-weight: 900;
}

.main-nav button.is-active .admin-nav-icon {
  border-color: rgba(255, 59, 47, 0.42);
  background: var(--red);
  color: #fff;
}

.admin-nav-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.admin-nav-copy strong {
  overflow: hidden;
  color: inherit;
  font-size: 13px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-nav-copy small {
  overflow: hidden;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-content {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.admin-page-context {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 3px 3px 17px;
  border-bottom: 1px solid var(--line);
}

.admin-page-context h2 {
  font-size: clamp(25px, 2.2vw, 34px);
}

.admin-page-context > div:first-child > p:last-child {
  max-width: 660px;
  margin-top: 7px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

.admin-context-path {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  padding: 8px 12px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 800;
}

.admin-context-path b {
  color: rgba(255, 255, 255, 0.28);
}

.admin-context-path strong {
  color: var(--muted);
}

.qr-result-card {
  grid-column: 1 / -1;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.2fr) auto;
  align-items: center;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.024);
  padding: 16px;
}

.qr-result-card[hidden] {
  display: none;
}

.qr-result-card.is-success {
  border-color: rgba(103, 218, 155, 0.28);
  background: rgba(103, 218, 155, 0.055);
}

.qr-result-card.is-error {
  border-color: rgba(255, 59, 47, 0.34);
  background: rgba(255, 59, 47, 0.06);
}

.qr-result-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.qr-result-copy > span,
.qr-result-details span {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.qr-result-copy > strong {
  color: var(--text);
  font-size: 17px;
}

.qr-result-copy p {
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.45;
}

.qr-result-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.qr-result-details > div {
  min-width: 0;
  display: grid;
  gap: 3px;
  border-left: 1px solid var(--line);
  padding-left: 11px;
}

.qr-result-details strong {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#admin-app .staff-panel {
  gap: 18px;
  margin-top: 0;
  padding: 20px;
  border-radius: 14px;
}

#admin-app .staff-panel > .admin-users-head {
  padding-bottom: 17px;
  border-bottom: 1px solid var(--line);
}

#admin-app .staff-panel > .admin-users-head > div > p:last-child {
  margin-top: 7px;
  color: var(--quiet);
  font-size: 12px;
  line-height: 1.45;
}

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

.staff-directory,
.staff-create-panel {
  min-width: 0;
  display: grid;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.018);
  padding: 17px;
}

.staff-section-heading {
  min-height: 43px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.staff-section-heading span,
.staff-create-panel > div > span {
  color: #f0c06a;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.staff-section-heading h3,
.staff-create-panel h3 {
  margin: 3px 0 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.15;
}

.staff-create-panel {
  position: sticky;
  top: 18px;
  background:
    linear-gradient(155deg, rgba(240, 192, 106, 0.055), transparent 42%),
    rgba(255, 255, 255, 0.018);
}

.staff-create-panel > div > p {
  margin-top: 8px;
  color: var(--quiet);
  font-size: 11px;
  line-height: 1.5;
}

#admin-app .staff-form {
  grid-template-columns: minmax(0, 1fr);
  border: 0;
  background: transparent;
  padding: 0;
}

#admin-app .staff-form button[type="submit"] {
  color: #fff;
}

#admin-app .staff-search-form {
  grid-template-columns: minmax(220px, 1fr) 145px auto;
}

#admin-app .staff-directory .admin-data-table {
  min-width: 900px;
}

#admin-app .staff-directory .table-actions {
  min-width: 305px;
}

@media (max-width: 1260px) {
  .staff-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .staff-create-panel {
    position: static;
  }
}

@media (max-width: 1080px) {
  .admin-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #admin-app .main-nav {
    position: static;
    max-height: none;
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 13px;
    padding: 9px;
    scroll-snap-type: x proximity;
  }

  .admin-nav-intro,
  .admin-nav-group > p {
    display: none;
  }

  .admin-nav-group {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
  }

  #admin-app .main-nav button {
    width: auto;
    min-width: 175px;
    flex: 0 0 175px;
    scroll-snap-align: start;
  }

  #admin-app .main-nav button:hover {
    transform: none;
  }

  .qr-result-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  #admin-app.app-shell {
    padding: 0 14px 26px;
  }

  #admin-app .admin-topbar {
    min-height: 77px;
    align-items: center;
    flex-direction: row;
    margin-bottom: 14px;
    padding: 10px 0;
  }

  .admin-brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
    font-size: 22px;
  }

  .admin-brand-lockup h1 {
    font-size: 19px;
  }

  .admin-brand-lockup > div > span {
    display: none;
  }

  #admin-app .admin-logout-button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 11px;
  }

  .admin-layout {
    gap: 15px;
  }

  #admin-app .main-nav {
    display: flex;
    grid-template-columns: none;
    margin: 0 -14px;
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    padding: 8px 14px;
    scroll-padding-inline: 14px;
  }

  #admin-app .main-nav button {
    min-width: 158px;
    min-height: 52px;
    flex-basis: 158px;
  }

  .admin-nav-copy strong {
    font-size: 12px;
  }

  .admin-page-context {
    min-height: 0;
    padding: 1px 1px 13px;
  }

  .admin-page-context h2 {
    font-size: 25px;
  }

  .admin-context-path {
    display: none;
  }

  #admin-app .staff-panel {
    padding: 14px;
  }

  #admin-app .staff-panel > .admin-users-head {
    align-items: flex-start;
    flex-direction: column;
  }

  #admin-app .staff-panel > .admin-users-head button {
    width: 100%;
  }

  .staff-directory,
  .staff-create-panel {
    padding: 14px;
  }

  #admin-app .staff-search-form {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Admin Carta Studio ------------------------------------------------------ */

.catalog-studio-panel {
  display: grid;
  align-content: start;
  gap: 18px;
  min-width: 0;
}

.catalog-product-form,
.smart-media-studio {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(183, 35, 45, 0.12), transparent 38%),
    rgba(12, 12, 13, 0.94);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28);
  padding: 22px;
}

.studio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.studio-head h2,
.studio-head p {
  margin: 0;
}

.studio-state {
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.studio-state.is-dirty {
  border-color: rgba(238, 179, 71, 0.45);
  color: #ffd990;
  background: rgba(238, 179, 71, 0.1);
}

.studio-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.studio-form-grid label,
.catalog-image-controls label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 700;
}

.studio-form-grid input,
.studio-form-grid textarea,
.studio-form-grid select,
.catalog-image-controls input,
#cost-center-search {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  padding: 11px 12px;
  font: inherit;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.studio-form-grid textarea {
  resize: vertical;
  min-height: 92px;
}

.studio-form-grid input:focus,
.studio-form-grid textarea:focus,
.studio-form-grid select:focus,
.catalog-image-controls input:focus,
#cost-center-search:focus {
  border-color: rgba(218, 55, 68, 0.78);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(183, 35, 45, 0.13);
}

.studio-form-grid input[readonly] {
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
}

.studio-form-grid small {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
  line-height: 1.35;
}

.studio-field-wide {
  grid-column: 1 / -1;
}

.margin-live-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 14px;
  margin-top: 16px;
  border-radius: 15px;
  padding: 15px 16px;
  background: linear-gradient(135deg, rgba(35, 120, 83, 0.17), rgba(255, 255, 255, 0.035));
  border: 1px solid rgba(94, 206, 144, 0.17);
}

.margin-live-card span,
.margin-live-card small {
  color: rgba(255, 255, 255, 0.55);
}

.margin-live-card strong {
  color: #8ee0b3;
}

.margin-live-card small {
  grid-column: 1 / -1;
}

.studio-primary-action {
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #b51f2c, #e24854);
  box-shadow: 0 12px 28px rgba(181, 31, 44, 0.25);
  font-weight: 800;
  cursor: pointer;
}

.studio-primary-action:disabled {
  opacity: 0.55;
  cursor: progress;
}

.catalog-image-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 17px;
  background: #080808;
}

.catalog-image-stage img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.catalog-image-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(0, 0, 0, 0.38));
}

.catalog-image-guide {
  position: absolute;
  z-index: 1;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 11px;
  pointer-events: none;
}

.catalog-image-guide::before,
.catalog-image-guide::after {
  content: "";
  position: absolute;
  background: rgba(255, 255, 255, 0.17);
}

.catalog-image-guide::before {
  width: 1px;
  inset-block: 0;
  left: 50%;
}

.catalog-image-guide::after {
  height: 1px;
  inset-inline: 0;
  top: 50%;
}

.catalog-image-dropzone {
  display: grid;
  place-items: center;
  gap: 5px;
  margin-top: 13px;
  padding: 19px;
  border: 1px dashed rgba(255, 255, 255, 0.23);
  border-radius: 15px;
  color: rgba(255, 255, 255, 0.67);
  text-align: center;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.catalog-image-dropzone:hover,
.catalog-image-dropzone.is-dragging {
  border-color: rgba(226, 72, 84, 0.72);
  background: rgba(181, 31, 44, 0.1);
  transform: translateY(-1px);
}

.catalog-image-dropzone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.catalog-image-dropzone strong {
  color: #fff;
  font-size: 0.9rem;
}

.catalog-image-dropzone span {
  font-size: 0.76rem;
}

.catalog-image-controls {
  display: grid;
  gap: 12px;
  margin-top: 15px;
}

.catalog-image-controls[hidden] {
  display: none;
}

.catalog-image-controls input[type="range"] {
  accent-color: #d8313f;
  padding: 0;
  border: 0;
  background: transparent;
}

.catalog-image-analysis {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.catalog-image-analysis strong,
.catalog-image-analysis span {
  border-radius: 999px;
  padding: 6px 9px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
}

.catalog-image-analysis strong {
  background: rgba(68, 168, 113, 0.13);
  color: #93dfb6;
}

/* Admin cost center ------------------------------------------------------- */

.cost-center {
  padding-bottom: 60px;
}

.cost-center-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.cost-center-grid .operations-wide {
  grid-column: 1 / -1;
}

.cost-center-products {
  max-height: 620px;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
}

.cost-center-table-head,
.cost-center-products > button {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) repeat(3, minmax(90px, 0.7fr));
  align-items: center;
  gap: 12px;
}

.cost-center-table-head {
  position: sticky;
  z-index: 2;
  top: 0;
  padding: 10px 13px;
  color: rgba(255, 255, 255, 0.42);
  background: #121214;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cost-center-products > button {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 13px;
  color: rgba(255, 255, 255, 0.74);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.cost-center-products > button:hover {
  background: rgba(255, 255, 255, 0.04);
}

.cost-center-products > button > span:first-child {
  display: grid;
  gap: 3px;
}

.cost-center-products strong {
  color: #fff;
}

.cost-center-products small {
  color: rgba(255, 255, 255, 0.42);
}

.cost-margin {
  justify-self: start;
  border-radius: 999px;
  padding: 5px 8px;
  font-weight: 800;
}

.cost-margin.is-high {
  color: #8ce0b2;
  background: rgba(50, 164, 103, 0.12);
}

.cost-margin.is-mid {
  color: #f0ce7a;
  background: rgba(203, 154, 45, 0.12);
}

.cost-margin.is-low {
  color: #ff9ba3;
  background: rgba(196, 47, 60, 0.14);
}

.operations-kpis article small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.7rem;
}

@media (max-width: 980px) {
  .studio-form-grid,
  .cost-center-grid {
    grid-template-columns: 1fr;
  }

  .cost-center-grid .operations-wide {
    grid-column: auto;
  }

  .studio-field-wide {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .catalog-product-form,
  .smart-media-studio {
    padding: 17px;
    border-radius: 18px;
  }

  .studio-head {
    gap: 10px;
  }

  .cost-center-table-head {
    display: none;
  }

  .cost-center-products > button {
    grid-template-columns: 1fr auto;
    gap: 7px 12px;
  }

  .cost-center-products > button > span:first-child {
    grid-column: 1 / -1;
  }
}

/* Premium promotions and AI concierge */

.client-shell .client-product-title strong {
  font-size: 17.5px;
}

.client-shell .client-product small {
  color: #aaa;
  font-size: 13.5px;
  line-height: 1.5;
}

.client-shell .waiter-ai-button {
  position: relative;
  isolation: isolate;
  overflow: visible;
  box-shadow: 0 0 0 rgba(229, 9, 20, 0);
  animation: ai-button-glow 2.4s ease-in-out infinite;
}

.client-shell .waiter-ai-button::after {
  position: absolute;
  inset: -5px;
  z-index: -1;
  border: 1px solid rgba(255, 58, 68, 0.62);
  border-radius: inherit;
  content: "";
  opacity: 0;
  pointer-events: none;
  animation: ai-button-ring 2.4s ease-out infinite;
}

.client-shell .waiter-ai-button.is-active {
  animation: none;
}

.client-shell .waiter-ai-button.is-active::after {
  animation: none;
  opacity: 0;
}

.ai-button-copy {
  display: grid;
  gap: 1px;
  text-align: left;
}

.client-shell .ai-button-copy strong {
  width: auto;
  font-size: 12px;
  line-height: 1;
}

.ai-button-copy small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.02em;
}

.client-shell > .ai-drawer {
  place-items: center;
  background:
    radial-gradient(circle at 70% 15%, rgba(229, 9, 20, 0.18), transparent 28rem),
    rgba(0, 0, 0, 0.82);
  padding: 24px;
  backdrop-filter: blur(16px) saturate(1.16);
  -webkit-backdrop-filter: blur(16px) saturate(1.16);
}

.client-shell .ai-panel {
  width: min(100%, 880px);
  max-height: min(92svh, 860px);
  display: grid;
  gap: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  background:
    radial-gradient(circle at 80% 0%, rgba(229, 9, 20, 0.14), transparent 24rem),
    linear-gradient(160deg, #171718 0%, #0b0b0c 48%, #080808 100%);
  box-shadow: 0 42px 140px rgba(0, 0, 0, 0.82);
  padding: 0;
}

.client-shell .ai-head {
  position: sticky;
  top: 0;
  z-index: 4;
  align-items: center;
  margin: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(12, 12, 13, 0.9);
  padding: 21px 24px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.ai-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
}

.ai-avatar {
  position: relative;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  background: linear-gradient(145deg, #ff2530, #9d0008);
  color: #fff;
  font-size: 25px;
  font-weight: 950;
  box-shadow: 0 12px 30px rgba(229, 9, 20, 0.32);
}

.ai-identity .eyebrow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 3px;
  color: #c7c7c7;
  font-size: 10px;
}

.ai-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #46d989;
  box-shadow: 0 0 0 4px rgba(70, 217, 137, 0.12);
}

.client-shell .ai-identity h2 {
  margin: 0;
  color: #fff;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.ai-identity p:last-child {
  margin-top: 3px;
  color: #8f8f8f;
  font-size: 12px;
}

.client-shell .ai-head > button {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  float: none;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font-size: 25px;
}

.client-shell .ai-messages {
  min-height: 250px;
  max-height: 42svh;
  gap: 14px;
  overflow-y: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 26px 28px 18px;
  scroll-behavior: smooth;
}

.client-shell .ai-message {
  position: relative;
  max-width: min(84%, 620px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px 20px 20px 7px;
  padding: 15px 17px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}

.client-shell .ai-message p {
  color: #e7e7e7;
  font-size: 17px;
  font-weight: 540;
  line-height: 1.55;
}

.client-shell .ai-message.is-assistant {
  background: linear-gradient(145deg, rgba(38, 38, 40, 0.96), rgba(25, 25, 27, 0.96));
}

.client-shell .ai-message.is-user {
  border-color: rgba(255, 62, 72, 0.34);
  border-radius: 20px 20px 7px 20px;
  background: linear-gradient(145deg, #e50914, #aa0008);
  box-shadow: 0 12px 34px rgba(229, 9, 20, 0.2);
}

.client-shell .ai-message.is-user p {
  color: #fff;
}

.client-shell .ai-form {
  gap: 10px;
  margin: 0 24px 18px;
}

.client-shell .ai-form label {
  color: #cacaca;
  font-size: 14px;
}

.client-shell .ai-form input {
  min-height: 58px;
  border-color: rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  color: #fff;
  padding: 0 17px;
  font-size: 16px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.client-shell .ai-form input::placeholder {
  color: #7c7c7f;
}

.client-shell .ai-form > button,
.client-shell .ai-chat-form > button {
  min-height: 54px;
  border: 0;
  border-radius: 15px;
  background: linear-gradient(135deg, #f41824, #bd0009);
  color: #fff;
  padding: 0 22px;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(229, 9, 20, 0.22);
}

.client-shell .ai-chat-form {
  position: sticky;
  bottom: 0;
  z-index: 3;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  margin: 4px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(10, 10, 11, 0.94);
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.client-shell .ai-chat-form label {
  margin: 0;
}

.client-shell .ai-chat-form input {
  min-height: 54px;
}

.ai-quick-prompts {
  display: grid;
  gap: 9px;
  margin: 0 24px 15px;
}

.ai-quick-prompts > span {
  color: #777;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-quick-prompts > div {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.ai-quick-prompts button {
  min-height: 38px;
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #ddd;
  padding: 0 14px;
  font-size: 12px;
}

.client-shell .ai-recommendations {
  display: block;
  margin: 0 24px 18px;
}

.client-shell .ai-result-list {
  display: grid;
  gap: 10px;
}

.client-shell .ai-result-card {
  grid-template-columns: 126px minmax(0, 1fr) auto;
  gap: 15px;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  padding: 0 14px 0 0;
}

.ai-result-media {
  height: 100%;
  min-height: 126px;
  overflow: hidden;
  background: #1c1c1d;
}

.ai-result-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.client-shell .ai-result-body span {
  color: #e50914;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.client-shell .ai-result-body strong {
  margin: 5px 0;
  color: #fff;
  font-size: 17px;
}

.client-shell .ai-result-body small {
  color: #aaa;
  font-size: 12px;
  line-height: 1.45;
}

.client-shell .ai-result-action b {
  color: #fff;
  font-size: 14px;
}

.client-shell .ai-result-action button {
  min-height: 39px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #080808;
  padding: 0 13px;
}

.client-shell .ai-panel > .form-status {
  margin: 0 24px 14px;
  font-size: 12px;
}

.promo-experience {
  display: grid;
  gap: 42px;
  padding: 4px 4vw 0;
}

.promo-billboard {
  position: relative;
  min-height: clamp(500px, 58vw, 680px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  background: #111;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.54);
}

.promo-billboard > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 67% center;
  filter: saturate(0.88) contrast(1.08);
  transform: scale(1.03);
  transition: transform 8s ease;
}

.promo-billboard:hover > img {
  transform: scale(1.08);
}

.promo-billboard-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.96) 0%, rgba(3, 3, 3, 0.76) 34%, rgba(3, 3, 3, 0.12) 72%),
    linear-gradient(0deg, rgba(3, 3, 3, 0.78), transparent 55%);
}

.promo-billboard-copy {
  width: min(620px, 58%);
  padding: clamp(34px, 5vw, 72px);
}

.promo-rank {
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  background: #e50914;
  color: #fff;
  padding: 6px 8px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.09em;
}

.promo-billboard-copy .eyebrow {
  margin: 18px 0 7px;
  color: #d4d4d4;
}

.promo-billboard-copy h2 {
  max-width: 10ch;
  color: #fff;
  font-size: clamp(43px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.promo-billboard-copy > p:last-of-type {
  max-width: 50ch;
  margin-top: 20px;
  color: #d1d1d1;
  font-size: 16px;
  line-height: 1.55;
}

.promo-billboard-copy > div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 25px;
}

.promo-billboard-copy button,
.promo-membership button,
.promo-popover-card div > button {
  min-height: 48px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: #080808;
  padding: 0 20px;
  font-size: 13px;
}

.promo-billboard-copy > div span {
  color: #8c8c8c;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: -27px;
}

.promo-row-heading .eyebrow {
  color: #e50914;
}

.promo-row-heading h3,
.promo-membership h3 {
  margin-top: 5px;
  color: #fff;
  font-size: clamp(23px, 2.6vw, 38px);
  letter-spacing: -0.04em;
}

.promo-row-heading > span {
  color: #777;
  font-size: 12px;
}

.promo-card-rail {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  display: grid;
  grid-auto-columns: minmax(285px, 1fr);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 5px 2px 22px;
  scroll-snap-type: none;
  overscroll-behavior-inline: contain;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y pinch-zoom;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  user-select: none;
  -webkit-user-select: none;
}

.promo-card {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 19px;
  background: #151515;
  scroll-snap-align: start;
  transition: border-color 200ms ease, transform 240ms ease, box-shadow 240ms ease;
}

.promo-card:hover {
  border-color: rgba(255, 255, 255, 0.23);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.52);
  transform: translateY(-5px);
}

.promo-card > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06);
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-card:hover > img {
  transform: scale(1.06);
}

.promo-card-gradient {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(0deg, rgba(3, 3, 3, 0.98) 4%, rgba(3, 3, 3, 0.52) 52%, rgba(3, 3, 3, 0.05) 100%);
}

.promo-card-copy {
  width: 100%;
  padding: 24px 22px;
}

.promo-card-copy > span {
  color: #ff525b;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.promo-card-copy h4 {
  margin-top: 6px;
  color: #fff;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.promo-card-copy p {
  margin-top: 10px;
  color: #c1c1c1;
  font-size: 13px;
  line-height: 1.45;
}

.promo-card-copy strong {
  display: block;
  margin-top: 13px;
  color: #fff;
  font-size: 14px;
}

.promo-card-copy button {
  width: 100%;
  min-height: 43px;
  margin-top: 16px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(10px);
}

.brand-promotions {
  display: grid;
  gap: 14px;
}

.brand-promotions .promo-row-heading {
  margin-bottom: 0;
}

.brand-banner-rail {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-auto-columns: min(720px, 68vw);
  grid-auto-flow: column;
  gap: 14px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y pinch-zoom;
  scrollbar-width: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-overflow-scrolling: touch;
}

.brand-banner-rail::-webkit-scrollbar {
  display: none;
}

.brand-promo-banner {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 21px;
  background: #101010;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
}

.brand-promo-banner > img {
  position: absolute;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.08);
  transition: transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-promo-banner:hover > img {
  transform: scale(1.055);
}

.brand-promo-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(3, 3, 3, 0.96), rgba(3, 3, 3, 0.64) 48%, rgba(3, 3, 3, 0.12)),
    linear-gradient(0deg, rgba(3, 3, 3, 0.7), transparent 66%);
}

.brand-promo-banner.is-green {
  border-color: rgba(56, 161, 106, 0.32);
}

.brand-promo-banner.is-gold {
  border-color: rgba(220, 175, 82, 0.34);
}

.brand-promo-banner.is-rose {
  border-color: rgba(255, 160, 173, 0.3);
}

.brand-promo-copy {
  width: min(470px, 70%);
  padding: 34px;
}

.brand-wordmark {
  display: inline-block;
  color: #fff;
  font-family: "Times New Roman", Georgia, serif;
  font-size: clamp(25px, 3vw, 39px);
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1;
}

.brand-promo-banner.is-green .brand-wordmark {
  color: #9de6ba;
  font-family: Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.brand-promo-banner.is-gold .brand-wordmark {
  color: #e5c276;
}

.brand-promo-copy > p {
  margin-top: 18px;
  color: #efefef;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-promo-copy h4 {
  max-width: 13ch;
  margin-top: 5px;
  color: #fff;
  font-size: clamp(29px, 4vw, 45px);
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.brand-promo-copy small {
  max-width: 42ch;
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.brand-promo-copy em {
  display: inline-block;
  margin-top: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.6);
  padding: 5px 8px;
  font-size: 8px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-reference-note {
  color: #656565;
  font-size: 10px;
  line-height: 1.4;
}

.gift-card-studio {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.86fr);
  gap: clamp(30px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 25px;
  background:
    radial-gradient(circle at 88% 10%, rgba(229, 9, 20, 0.19), transparent 23rem),
    linear-gradient(135deg, #151515, #090909);
  padding: clamp(30px, 5vw, 68px);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.gift-card-builder .eyebrow {
  color: #ff3943;
}

.gift-card-builder h3 {
  max-width: 14ch;
  margin-top: 7px;
  color: #fff;
  font-size: clamp(35px, 4.6vw, 62px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.gift-card-intro {
  max-width: 55ch;
  margin-top: 18px;
  color: #a9a9a9;
  font-size: 14px;
  line-height: 1.55;
}

.gift-amount-field {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.gift-amount-field > span,
.gift-amount-field label > span {
  display: block;
  margin-bottom: 8px;
  color: #777;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gift-amount-presets {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

.gift-amount-presets button {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.055);
  color: #bdbdbd;
  padding: 0 7px;
  font-size: 11px;
  font-weight: 800;
}

.gift-amount-presets button.is-active {
  border-color: #e50914;
  background: #e50914;
  color: #fff;
  box-shadow: 0 9px 24px rgba(229, 9, 20, 0.24);
}

.gift-custom-amount {
  min-height: 58px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.26);
  padding: 0 16px;
}

.gift-custom-amount:focus-within {
  border-color: rgba(229, 9, 20, 0.8);
}

.gift-custom-amount b {
  color: #777;
  font-size: 22px;
}

.gift-custom-amount input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.gift-custom-amount small {
  color: #777;
  font-size: 10px;
  font-weight: 800;
}

.gift-card-calculation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 14px;
}

.gift-card-calculation > div {
  display: grid;
  gap: 5px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
  padding: 13px;
}

.gift-card-calculation span {
  color: #777;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
}

.gift-card-calculation strong {
  color: #fff;
  font-size: 17px;
}

.gift-card-calculation > div:last-child strong {
  color: #ff4e57;
}

.gift-card-purchase {
  width: 100%;
  min-height: 52px;
  margin-top: 13px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #090909;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 900;
}

.gift-card-purchase:disabled {
  background: #292929;
  color: #737373;
}

.gift-card-legal {
  margin-top: 10px;
  color: #5f5f5f;
  font-size: 9px;
  line-height: 1.45;
}

.gift-card-preview-column {
  display: grid;
  align-content: center;
  gap: 14px;
}

.gift-card-preview {
  position: relative;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 40%),
    radial-gradient(circle at 84% 18%, rgba(255, 56, 67, 0.75), transparent 34%),
    linear-gradient(145deg, #340106, #0a0a0a 64%);
  padding: 26px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.48);
}

.gift-card-glow {
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.28);
  filter: blur(14px);
}

.gift-card-preview header,
.gift-card-preview footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gift-card-preview header > span:last-child {
  color: rgba(255, 255, 255, 0.7);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.gift-card-preview > div:not(.gift-card-glow) {
  position: relative;
  z-index: 1;
}

.gift-card-preview > div p {
  color: rgba(255, 255, 255, 0.65);
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
}

.gift-card-preview > div strong {
  display: block;
  margin-top: 5px;
  color: #fff;
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: -0.055em;
}

.gift-card-preview > div small,
.gift-card-preview footer {
  color: rgba(255, 255, 255, 0.55);
  font-size: 9px;
}

.gift-card-preview footer span:first-child {
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.gift-cashback-seal {
  position: absolute;
  top: 76px;
  right: 22px;
  z-index: 2;
  width: 76px;
  height: 76px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.86);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(8deg);
}

.gift-cashback-seal b {
  display: block;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.gift-card-empty,
.gift-card-result {
  min-height: 116px;
  border: 1px dashed rgba(255, 255, 255, 0.13);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
  padding: 18px;
}

.gift-card-empty span {
  color: #d1d1d1;
  font-size: 12px;
  font-weight: 800;
}

.gift-card-empty p {
  margin-top: 5px;
  color: #696969;
  font-size: 10px;
  line-height: 1.4;
}

.gift-card-result {
  border-style: solid;
  border-color: rgba(229, 9, 20, 0.36);
  background: rgba(229, 9, 20, 0.07);
}

.gift-card-result header,
.gift-card-result footer,
.gift-card-result > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.gift-card-result header span,
.gift-card-result header small {
  color: #999;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gift-card-result > div {
  margin-top: 13px;
}

.gift-card-result > div p {
  display: none;
}

.gift-card-result > div strong {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 15px;
  letter-spacing: 0.05em;
}

.gift-card-result > div button {
  min-height: 32px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #090909;
  padding: 0 10px;
  font-size: 9px;
  font-weight: 800;
}

.gift-card-result footer {
  margin-top: 13px;
  color: #858585;
  font-size: 9px;
}

.gift-card-result footer b {
  color: #ff656d;
}

.promo-membership {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 88% 10%, rgba(229, 9, 20, 0.2), transparent 20rem),
    #111;
  padding: clamp(26px, 4vw, 52px);
}

.promo-membership .carloto-mark,
.promo-membership .eyebrow {
  display: inline-flex;
  vertical-align: middle;
}

.promo-membership .eyebrow {
  margin-left: 7px;
  color: #aaa;
}

.promo-membership p:last-child {
  max-width: 58ch;
  margin-top: 9px;
  color: #969696;
  line-height: 1.5;
}

.promo-popover {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.82);
  padding: 22px;
  opacity: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: opacity 220ms ease;
}

.promo-popover.is-visible {
  opacity: 1;
}

.promo-popover-card {
  position: relative;
  width: min(100%, 850px);
  min-height: 540px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 25px;
  background: #111;
  box-shadow: 0 42px 140px rgba(0, 0, 0, 0.86);
  transform: translateY(18px) scale(0.97);
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-popover.is-visible .promo-popover-card {
  transform: translateY(0) scale(1);
}

.promo-popover-card > img {
  width: 100%;
  height: 100%;
  min-height: 540px;
  object-fit: cover;
}

.promo-popover-card > button {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.66);
  color: #fff;
  padding: 0;
  font-size: 24px;
}

.promo-popover-card > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 46px 40px;
}

.promo-popover-card .eyebrow {
  margin: 18px 0 7px;
  color: #aaa;
}

.promo-popover-card h2 {
  color: #fff;
  font-size: clamp(38px, 5vw, 60px);
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.promo-popover-card p:last-of-type {
  margin-top: 17px;
  color: #aaa;
  font-size: 14px;
  line-height: 1.55;
}

.promo-popover-card div > button {
  margin-top: 24px;
}

@keyframes ai-button-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(229, 9, 20, 0), 0 9px 24px rgba(229, 9, 20, 0.22); }
  50% { box-shadow: 0 0 0 6px rgba(229, 9, 20, 0.13), 0 12px 30px rgba(229, 9, 20, 0.38); }
}

@keyframes ai-button-ring {
  0% { opacity: 0; transform: scale(0.96); }
  24% { opacity: 0.7; }
  74%, 100% { opacity: 0; transform: scale(1.12); }
}

@media (max-width: 680px) {
  .client-shell .client-product-title strong {
    font-size: 18px;
  }

  .client-shell .client-product small {
    font-size: 14px;
    -webkit-line-clamp: 3;
  }

  .client-shell .club-quick-actions .waiter-ai-button {
    overflow: visible;
  }

  .client-shell .ai-button-copy {
    justify-items: center;
    text-align: center;
  }

  .client-shell .ai-button-copy strong {
    font-size: 11px;
  }

  .client-shell .ai-button-copy small {
    display: block;
    font-size: 8px;
  }

  .client-shell > .ai-drawer {
    align-items: end;
    padding: 0;
  }

  .client-shell .ai-panel {
    width: 100%;
    max-height: 95svh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 24px 24px 0 0;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .client-shell .ai-head {
    padding: 16px 16px 14px;
  }

  .ai-avatar {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 15px;
    font-size: 22px;
  }

  .client-shell .ai-identity h2 {
    font-size: 22px;
  }

  .ai-identity p:last-child {
    max-width: 24ch;
    font-size: 11px;
    line-height: 1.3;
  }

  .client-shell .ai-messages {
    min-height: 230px;
    max-height: 39svh;
    gap: 12px;
    padding: 21px 16px 14px;
  }

  .client-shell .ai-message {
    max-width: 90%;
    padding: 14px 15px;
  }

  .client-shell .ai-message p {
    font-size: 17px;
    line-height: 1.52;
  }

  .client-shell .ai-form {
    margin-right: 16px;
    margin-left: 16px;
  }

  .client-shell .ai-form input {
    min-height: 58px;
    font-size: 17px;
  }

  .client-shell .ai-chat-form {
    grid-template-columns: minmax(0, 1fr) auto;
    margin: 4px 0 0;
    padding-right: 12px;
    padding-left: 12px;
  }

  .client-shell .ai-chat-form > button {
    width: auto;
    min-width: 82px;
    min-height: 54px;
  }

  .ai-quick-prompts {
    margin-right: 16px;
    margin-left: 16px;
  }

  .ai-quick-prompts button {
    min-height: 42px;
    font-size: 13px;
  }

  .client-shell .ai-recommendations {
    max-height: none;
    overflow: visible;
    margin-right: 16px;
    margin-left: 16px;
  }

  .client-shell .ai-result-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    padding: 0 12px 0 0;
  }

  .ai-result-media {
    min-height: 120px;
  }

  .client-shell .ai-result-action {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: stretch;
    margin: -2px 0 12px 12px;
  }

  .client-shell .ai-result-action button {
    width: auto;
  }

  .client-shell .ai-panel > .form-status {
    margin-right: 16px;
    margin-left: 16px;
  }

  .promo-experience {
    gap: 34px;
    padding: 3px 14px 0;
  }

  .promo-billboard {
    min-height: min(680px, 76svh);
    border-radius: 20px;
  }

  .promo-billboard > img {
    object-position: 67% center;
  }

  .promo-billboard-shade {
    background:
      linear-gradient(0deg, rgba(3, 3, 3, 0.98) 0%, rgba(3, 3, 3, 0.66) 48%, rgba(3, 3, 3, 0.08) 100%),
      linear-gradient(90deg, rgba(3, 3, 3, 0.3), transparent);
  }

  .promo-billboard-copy {
    width: 100%;
    padding: 30px 22px 32px;
  }

  .promo-billboard-copy h2 {
    max-width: 11ch;
    font-size: clamp(45px, 13vw, 62px);
  }

  .promo-billboard-copy > p:last-of-type {
    font-size: 15px;
  }

  .promo-billboard-copy > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-row-heading {
    display: block;
    margin-bottom: -20px;
  }

  .promo-row-heading > span {
    display: none;
  }

  .promo-card-rail {
    width: calc(100vw - 14px);
    grid-auto-columns: min(82vw, 350px);
    gap: 12px;
    margin-right: -14px;
    scroll-padding-inline: 0 14px;
    scroll-snap-type: none;
  }

  .promo-card {
    min-height: 440px;
    scroll-snap-stop: normal;
  }

  .promo-card-copy p {
    font-size: 14px;
  }

  .brand-promotions {
    gap: 11px;
  }

  .brand-banner-rail {
    width: calc(100vw - 14px);
    grid-auto-columns: min(88vw, 390px);
    gap: 12px;
    margin-right: -14px;
    padding-bottom: 4px;
    scroll-padding-inline: 0 14px;
  }

  .brand-promo-banner {
    min-height: 350px;
    border-radius: 19px;
  }

  .brand-promo-shade {
    background:
      linear-gradient(0deg, rgba(3, 3, 3, 0.97), rgba(3, 3, 3, 0.54) 60%, rgba(3, 3, 3, 0.12)),
      linear-gradient(90deg, rgba(3, 3, 3, 0.38), transparent);
  }

  .brand-promo-copy {
    width: 100%;
    padding: 25px 21px;
  }

  .brand-wordmark {
    font-size: 27px;
  }

  .brand-promo-copy h4 {
    max-width: 14ch;
    font-size: 34px;
  }

  .brand-reference-note {
    max-width: 38ch;
  }

  .gift-card-studio {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    border-radius: 21px;
    padding: 29px 20px 22px;
  }

  .gift-card-builder h3 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .gift-card-intro {
    font-size: 14px;
  }

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

  .gift-amount-presets button {
    min-height: 44px;
    font-size: 12px;
  }

  .gift-custom-amount {
    min-height: 60px;
  }

  .gift-card-preview {
    min-height: 260px;
    border-radius: 19px;
    padding: 22px;
  }

  .gift-card-preview > div strong {
    font-size: 43px;
  }

  .gift-cashback-seal {
    top: 68px;
    right: 17px;
    width: 70px;
    height: 70px;
  }

  .gift-card-result > div {
    align-items: stretch;
    flex-direction: column;
  }

  .gift-card-result > div button {
    width: 100%;
    min-height: 38px;
  }

  .gift-card-result footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .promo-membership {
    align-items: stretch;
    flex-direction: column;
    padding: 28px 22px;
  }

  .promo-membership button {
    width: 100%;
  }

  .promo-popover {
    align-items: end;
    padding: 12px 8px calc(92px + env(safe-area-inset-bottom));
  }

  .promo-popover-card {
    width: 100%;
    max-height: calc(100svh - 112px - env(safe-area-inset-bottom));
    display: block;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 24px;
  }

  .promo-popover-card > img {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .promo-popover-card > div {
    padding: 28px 22px calc(30px + env(safe-area-inset-bottom));
  }

  .promo-popover-card h2 {
    font-size: 44px;
  }

  .promo-popover-card p:last-of-type {
    font-size: 15px;
  }

  .promo-popover-card div > button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .client-shell .waiter-ai-button,
  .client-shell .waiter-ai-button::after {
    animation: none;
  }

  .promo-billboard > img,
  .promo-card > img,
  .promo-popover,
  .promo-popover-card {
    transition-duration: 1ms;
  }
}

/* Final compact admin overrides */

#admin-app .admin-role-control {
  display: grid;
  min-width: 170px;
  gap: 6px;
}

#admin-app .admin-role-control select,
#admin-app .admin-role-control button {
  width: 100%;
  min-height: 34px;
}

#admin-app .admin-role-control button {
  padding: 7px 10px;
}

#admin-app .admin-topbar {
  min-height: 72px;
  margin-bottom: 14px;
  padding: 8px 0;
}

#admin-app .admin-brand-mark {
  width: 39px;
  height: 39px;
  flex-basis: 39px;
  border-radius: 11px;
  font-size: 21px;
}

#admin-app .admin-brand-lockup {
  gap: 10px;
}

#admin-app .admin-brand-lockup h1 {
  font-size: 20px;
}

#admin-app .admin-brand-lockup > div > span {
  margin-top: 2px;
  font-size: 10px;
}

#admin-app .admin-logout-button {
  min-height: 38px;
}

#admin-app .admin-layout {
  gap: 18px;
}

#admin-app .admin-content {
  gap: 11px;
}

#admin-app .admin-page-context {
  min-height: 58px;
  padding: 1px 3px 11px;
}

#admin-app .admin-page-context h2 {
  font-size: clamp(24px, 1.9vw, 30px);
}

#admin-app .admin-page-context > div:first-child > p:last-child {
  margin-top: 4px;
  line-height: 1.35;
}

@media (max-width: 780px) {
  #admin-app .admin-topbar {
    min-height: 64px;
    margin-bottom: 9px;
    padding: 6px 0;
  }

  #admin-app .admin-brand-lockup .eyebrow {
    display: none;
  }

  #admin-app .admin-brand-lockup h1 {
    font-size: 17px;
  }

  #admin-app .admin-page-context {
    padding-bottom: 9px;
  }

  #admin-app .admin-page-context > div:first-child > p:last-child {
    font-size: 11px;
  }
}

/* Client menu: equal quick actions and Gourmedia-inspired list mode */

.client-shell .club-quick-actions {
  width: min(420px, 46vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.client-shell .club-quick-actions > button {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  justify-content: center;
}

.client-shell .account-button,
.client-shell .waiter-ai-button,
.client-shell .list-mode-button {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #f8f8f8;
  box-shadow: none;
  animation: none;
}

.client-shell .waiter-ai-button::after {
  display: none;
}

.client-shell .list-mode-button.is-active {
  border-color: rgba(229, 9, 20, 0.8);
  background: rgba(229, 9, 20, 0.2);
  color: #fff;
}

.client-shell .list-mode-button svg {
  width: 21px;
  height: 21px;
}

.client-shell .list-mode-button span {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.client-shell.is-list-mode .menu-hero {
  display: none;
}

.client-shell.is-list-mode.is-promotion-mode .client-product-list {
  width: 100%;
  max-width: 100%;
  gap: clamp(30px, 4vw, 58px);
  margin-inline: 0;
  padding: 22px 0 0;
}

.client-shell.is-list-mode .client-product-list {
  width: min(100%, 980px);
  gap: 36px;
  margin-inline: auto;
  padding: 18px 24px 40px;
}

.client-shell.is-list-mode .client-category-head {
  align-items: center;
  margin: 0 0 12px;
}

.client-shell.is-list-mode .client-category h3 {
  color: #f2d09a;
  font-size: clamp(23px, 2.4vw, 34px);
  font-weight: 650;
}

.client-shell.is-list-mode .rail-controls,
.client-shell.is-list-mode .mobile-rail-progress {
  display: none;
}

.client-shell.is-list-mode .client-product-rail {
  width: 100%;
  max-width: none;
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: auto;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
  user-select: auto;
  -webkit-user-select: auto;
}

.client-shell.is-list-mode .client-product-card {
  min-height: 190px;
  border-color: rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: #111;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.34);
}

.client-shell.is-list-mode .client-product-card:hover,
.client-shell.is-list-mode .client-product-card:focus-within {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.client-shell.is-list-mode .client-product {
  min-height: 190px;
  display: grid;
  grid-template-columns: minmax(0, 56%) minmax(180px, 44%);
}

.client-shell.is-list-mode .client-product-media {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.client-shell.is-list-mode .client-product-copy {
  min-height: 190px;
  display: grid;
  grid-column: 1;
  grid-row: 1;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 22px 24px;
}

.client-shell.is-list-mode .client-product-title {
  display: contents;
}

.client-shell.is-list-mode .client-product-title strong {
  grid-row: 1;
  display: -webkit-box;
  overflow: hidden;
  color: #fff;
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.05;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.client-shell.is-list-mode .client-product small {
  grid-row: 2;
  display: -webkit-box;
  align-self: start;
  overflow: hidden;
  margin-top: 12px;
  color: #d0d0d0;
  font-size: clamp(13px, 1.4vw, 17px);
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.client-shell.is-list-mode .client-product-title b {
  grid-row: 3;
  align-self: end;
  color: #e8bd78;
  font-size: clamp(19px, 2vw, 26px);
  font-weight: 650;
}

.client-shell.is-list-mode .client-product-add {
  right: 14px;
  bottom: 14px;
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(6, 6, 6, 0.72);
  color: #fff;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

@media (max-width: 900px) {
  .client-shell .club-quick-actions {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .client-shell .club-quick-actions {
    right: 12px;
    left: 12px;
    width: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-shell .club-quick-actions > button,
  .client-shell .club-quick-actions .waiter-ai-button {
    min-height: 58px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    box-shadow: none;
  }

  .client-shell .club-quick-actions .list-mode-button.is-active {
    background: rgba(229, 9, 20, 0.2);
    box-shadow: inset 0 0 0 1px rgba(229, 9, 20, 0.55);
  }

  .client-shell .club-quick-actions .account-label,
  .client-shell .club-quick-actions .ai-button-copy strong,
  .client-shell .club-quick-actions .list-mode-button span {
    font-size: 10.5px;
  }

  .client-shell.is-list-mode .menu-action-strip {
    padding-bottom: 4px;
  }

  .client-shell.is-list-mode .menu-action-strip .download-link {
    display: none;
  }

  .client-shell.is-list-mode .menu-discovery-tools {
    margin-top: 12px;
  }

  .client-shell.is-list-mode .client-product-list {
    width: 100%;
    gap: 28px;
    padding: 14px 14px 32px;
  }

  .client-shell.is-list-mode.is-promotion-mode .client-product-list {
    padding: 22px 0 32px;
  }

  .client-shell.is-list-mode .client-category {
    max-width: 100%;
    content-visibility: visible;
    contain-intrinsic-size: none;
  }

  .client-shell.is-list-mode .client-category-head {
    margin-inline: 2px;
  }

  .client-shell.is-list-mode .client-category h3 {
    font-size: 25px;
  }

  .client-shell.is-list-mode .client-category-head span {
    font-size: 10px;
  }

  .client-shell.is-list-mode .client-product-rail {
    max-width: 100%;
    gap: 13px;
  }

  .client-shell.is-list-mode .client-product-card,
  .client-shell.is-list-mode .client-product {
    min-height: 168px;
  }

  .client-shell.is-list-mode .client-product {
    grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  }

  .client-shell.is-list-mode .client-product-copy {
    min-height: 168px;
    padding: 16px 13px 15px 15px;
  }

  .client-shell.is-list-mode .client-product-title strong {
    font-size: clamp(15px, 4.5vw, 19px);
  }

  .client-shell.is-list-mode .client-product small {
    margin-top: 8px;
    font-size: clamp(11px, 3.45vw, 14px);
    line-height: 1.25;
    -webkit-line-clamp: 3;
  }

  .client-shell.is-list-mode .client-product-title b {
    font-size: clamp(17px, 4.8vw, 21px);
  }

  .client-shell.is-list-mode .client-product-add {
    right: 10px;
    bottom: 10px;
    width: 38px;
    min-width: 38px;
    min-height: 38px;
  }
}

/* Final mobile menu tuning — kept last so legacy responsive rules cannot override it. */

.client-shell .list-mode-button.is-active {
  border-color: rgba(232, 189, 120, 0.86);
  background: linear-gradient(135deg, rgba(232, 189, 120, 0.3), rgba(141, 89, 28, 0.24));
  color: #f7d69e;
  box-shadow: inset 0 0 0 1px rgba(255, 220, 164, 0.12);
}

.menu-discovery-tools {
  margin-top: 12px;
}

.menu-category-index {
  margin-top: 0;
}

.smart-media-studio.is-modal .catalog-image-layout-switch {
  grid-column: 1;
  grid-row: 2;
  margin-bottom: 0;
}

.smart-media-studio.is-modal .catalog-image-stage {
  grid-column: 1;
  grid-row: 3 / span 4;
}

.smart-media-studio.is-modal .catalog-image-format-previews {
  grid-column: 1;
  grid-row: 7;
}

@media (max-width: 680px) {
  .menu-action-strip {
    align-items: flex-end;
  }

  .menu-heading-actions .download-link {
    display: none;
  }

  .menu-search-trigger {
    width: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .menu-discovery-tools,
  .client-shell.is-list-mode .menu-discovery-tools {
    margin: 8px 12px 0;
  }

  .menu-category-index {
    gap: 6px;
    padding-bottom: 2px;
  }

  .menu-category-index button {
    min-height: 30px;
    padding-inline: 10px;
    font-size: 10px;
  }

  .menu-search-popover {
    place-items: end center;
    padding: 12px;
  }

  .menu-search-dialog {
    width: 100%;
    border-radius: 22px;
    padding: 18px;
  }

  .client-shell .club-quick-actions .list-mode-button.is-active {
    background: linear-gradient(135deg, rgba(232, 189, 120, 0.3), rgba(141, 89, 28, 0.24));
    color: #f7d69e;
    box-shadow: inset 0 0 0 1px rgba(232, 189, 120, 0.54);
  }

  .client-shell.is-list-mode .menu-action-strip {
    padding-bottom: 0;
  }

  .client-shell.is-list-mode .client-product-list {
    gap: 20px;
    padding: 7px 12px 26px;
  }

  .client-shell.is-list-mode .client-category-head {
    margin: 0 1px 8px;
  }

  .client-shell.is-list-mode .client-category h3 {
    font-size: 20px;
  }

  .client-shell.is-list-mode .client-product-rail {
    gap: 9px;
  }

  .client-shell.is-list-mode .client-product-card,
  .client-shell.is-list-mode .client-product,
  .client-shell.is-list-mode .client-product-copy {
    min-height: 118px;
  }

  .client-shell.is-list-mode .client-product {
    grid-template-columns: minmax(0, 55%) minmax(0, 45%);
  }

  .client-shell.is-list-mode .client-product-copy {
    padding: 11px 9px 10px 12px;
  }

  .client-shell.is-list-mode .client-product-title strong {
    font-size: clamp(13px, 3.7vw, 15px);
    line-height: 1.03;
  }

  .client-shell.is-list-mode .client-product small {
    margin-top: 5px;
    font-size: clamp(9.5px, 2.8vw, 11px);
    line-height: 1.18;
    -webkit-line-clamp: 2;
  }

  .client-shell.is-list-mode .client-product-title b {
    font-size: clamp(15px, 4.1vw, 17px);
  }

  .client-shell.is-list-mode .client-product-add {
    right: 8px;
    bottom: 8px;
    width: 32px;
    min-width: 32px;
    min-height: 32px;
    font-size: 17px;
  }

  .catalog-image-format-previews {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .client-shell.is-list-mode .client-category {
    scroll-margin-top: 72px;
  }

  .client-shell.is-list-mode .client-product-rail {
    gap: 8px;
  }

  .client-shell.is-list-mode .client-product-card,
  .client-shell.is-list-mode .client-product,
  .client-shell.is-list-mode .client-product-copy {
    min-height: 112px;
  }
}

/* Role application switcher: one session, clear exits and explicit app boundaries. */

.club-header-session-actions,
.top-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.client-shell .client-role-back,
.role-app-link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.client-shell .client-role-back {
  border-color: rgba(232, 189, 120, 0.45);
  background: rgba(232, 189, 120, 0.12);
  color: #f7d69e;
}

.top-actions .role-app-link {
  border-radius: 8px;
}

.client-shell .client-role-back:hover,
.role-app-link:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.16);
}

@media (max-width: 780px) {
  .topbar .top-actions,
  .staff-topbar .top-actions {
    width: 100%;
    justify-content: stretch;
  }

  .topbar .top-actions > *,
  .staff-topbar .top-actions > * {
    flex: 1 1 132px;
  }

  .club-header-session-actions {
    flex: 0 1 auto;
    flex-wrap: nowrap;
  }

  .client-shell .client-role-back {
    max-width: 134px;
    padding-inline: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 440px) {
  .client-shell .club-header-top {
    align-items: flex-start;
  }

  .club-header-session-actions {
    display: grid;
    gap: 5px;
  }

  .client-shell .client-role-back,
  .client-shell .club-logout-button {
    min-height: 34px;
    font-size: 10px;
  }
}

.production-console { display: grid; gap: 18px; }
.production-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(135deg, #171717, #29201b);
  color: #fff;
  padding: 26px;
}
.production-hero h2 { margin: 5px 0 8px; font-size: clamp(25px, 3vw, 38px); }
.production-hero p:last-child { max-width: 700px; margin: 0; color: #bdb7af; }
.production-hero-actions { display: flex; gap: 9px; }
.production-hero-actions a,
.production-hero-actions button {
  min-height: 42px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: rgba(255,255,255,.08);
  color: #fff; padding: 0 14px; text-decoration: none; font-size: 12px; font-weight: 850;
}
.production-kpis { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.production-kpis article { border: 1px solid var(--line); border-radius: 15px; background: #18191b; padding: 16px; }
.production-kpis span { display: block; color: var(--muted); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.production-kpis strong { display: block; margin-top: 6px; font-size: 18px; }
.production-layout { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(310px,.75fr); gap: 16px; align-items: start; }
.production-panel { border: 1px solid var(--line); border-radius: 18px; background: #18191b; padding: 18px; }
.production-panel > header { margin-bottom: 14px; }
.production-panel header span { color: var(--red); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.production-panel header h3 { margin: 3px 0 0; }
.production-stations { display: grid; gap: 12px; }
.production-station { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 15px; background: #121315; padding: 16px; }
.production-station-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.production-station-head span { color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.production-station-head h3 { margin: 2px 0 0; }
.production-station-head button { border: 1px solid var(--line); border-radius: 8px; background: #222326; color: #fff; padding: 8px 10px; font-size: 10px; font-weight: 850; }
.production-form, .production-station { color: var(--ink); }
.production-form { display: grid; gap: 12px; }
.production-form label, .production-station label { display: grid; gap: 6px; color: var(--muted); font-size: 10px; font-weight: 850; }
.production-form input, .production-form select, .production-station input, .production-station select {
  width: 100%; min-height: 43px; border: 1px solid var(--line); border-radius: 9px; background: #111214; color: var(--ink); padding: 0 11px;
}
.production-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 10px; }
.production-check { display: flex !important; grid-template-columns: none; align-items: center; gap: 8px !important; }
.production-check input { width: 18px !important; min-height: 18px !important; }
.production-form > button, .production-save { min-height: 44px; border: 0; border-radius: 9px; background: var(--red); color: #fff; font-weight: 900; }
.production-devices { display: grid; gap: 8px; margin-top: 18px; }
.production-device { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; border-top: 1px solid var(--line); padding-top: 10px; }
.production-device > div { display: grid; }
.production-device span, .production-device small { color: var(--muted); font-size: 10px; }
.production-device i { grid-column: 2; grid-row: 1; align-self: start; border-radius: 999px; background: #e3f4ec; color: #147653; padding: 5px 7px; font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.production-device i.is-disabled { background: #eee; color: #777; }
@media (max-width: 980px) {
  .production-layout { grid-template-columns: 1fr; }
  .production-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .production-hero { align-items: stretch; flex-direction: column; }
  .production-hero-actions > * { flex: 1; }
}

.audit-console { display: grid; gap: 18px; color: var(--ink); }
.audit-hero {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  border: 1px solid var(--line); border-radius: 22px;
  background: linear-gradient(135deg, #171717, #251b18); color: #fff; padding: 26px;
}
.audit-hero h2 { margin: 5px 0 8px; font-size: clamp(25px, 3vw, 38px); }
.audit-hero p:last-child { max-width: 720px; margin: 0; color: #bdb7af; }
.audit-hero-actions { display: flex; gap: 9px; }
.audit-hero-actions button,
.audit-filters > button,
.audit-load-more {
  min-height: 42px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px;
  background: #26272a; color: #fff; padding: 0 14px; font-size: 11px; font-weight: 900;
}
.audit-hero-actions button:first-child { background: transparent; }
.audit-filters {
  display: grid; grid-template-columns: repeat(5, minmax(115px, .7fr)) minmax(220px, 1.4fr) auto;
  gap: 10px; align-items: end; border: 1px solid var(--line); border-radius: 16px;
  background: #18191b; padding: 14px;
}
.audit-filters label { display: grid; gap: 6px; color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.audit-filters input,
.audit-filters select {
  width: 100%; min-height: 42px; border: 1px solid var(--line); border-radius: 9px;
  background: #111214; color: var(--ink); padding: 0 10px; font: inherit; font-size: 11px;
}
.audit-filters > button { border-color: #8d1f1a; background: var(--red); }
.audit-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.audit-kpis article { border: 1px solid var(--line); border-radius: 15px; background: #18191b; padding: 16px; }
.audit-kpis span { display: block; color: var(--muted); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.audit-kpis strong { display: block; margin-top: 6px; font-size: 21px; }
.audit-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .8fr); gap: 16px; align-items: start; }
.audit-panel { min-width: 0; border: 1px solid var(--line); border-radius: 18px; background: #18191b; padding: 18px; }
.audit-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.audit-panel header span { color: var(--red); font-size: 9px; font-weight: 900; text-transform: uppercase; }
.audit-panel header h3 { margin: 3px 0 0; }
.audit-panel header small { color: #5bba94; font-size: 9px; font-weight: 850; }
.audit-panel header small.is-pending { color: #d6a45b; }
.audit-events { display: grid; gap: 7px; }
.audit-event {
  width: 100%; display: grid; grid-template-columns: 8px minmax(0,1fr) auto auto;
  align-items: center; gap: 10px; border: 1px solid transparent; border-radius: 11px;
  background: #111214; color: var(--ink); padding: 11px; text-align: left;
}
.audit-event:hover, .audit-event.is-selected { border-color: #73413a; background: #201716; }
.audit-event-marker { width: 7px; height: 7px; border-radius: 50%; background: #53b58d; box-shadow: 0 0 0 4px rgba(83,181,141,.08); }
.audit-event-marker.is-failed, .audit-event-marker.is-denied { background: #ef5b52; box-shadow: 0 0 0 4px rgba(239,91,82,.08); }
.audit-event-marker.is-cancelled { background: #d6a45b; box-shadow: 0 0 0 4px rgba(214,164,91,.08); }
.audit-event-copy { min-width: 0; display: grid; gap: 2px; }
.audit-event-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.audit-event-copy span, .audit-event time { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 9px; }
.audit-event em { border-radius: 999px; background: #242529; color: var(--muted); padding: 4px 7px; font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.audit-load-more { width: 100%; margin-top: 10px; }
.audit-event-detail { display: grid; gap: 14px; }
.audit-event-detail > p { color: var(--muted); }
.audit-event-detail dl { display: grid; gap: 0; margin: 0; }
.audit-event-detail dl div { display: grid; grid-template-columns: minmax(90px,.65fr) minmax(0,1fr); gap: 10px; border-bottom: 1px solid var(--line); padding: 9px 0; }
.audit-event-detail dt { color: var(--muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.audit-event-detail dd { min-width: 0; margin: 0; overflow-wrap: anywhere; font-size: 10px; }
.audit-detail-amount { margin: 0; color: #e2bc76 !important; font-size: 22px; font-weight: 900; }
.audit-event-detail details { border: 1px solid var(--line); border-radius: 9px; padding: 10px; }
.audit-event-detail summary { cursor: pointer; font-size: 10px; font-weight: 850; }
.audit-event-detail pre { max-height: 240px; overflow: auto; margin: 10px 0 0; color: #c6c6c8; font-size: 9px; white-space: pre-wrap; }
.audit-shifts { overflow-x: auto; }
.audit-shift-table { min-width: 820px; display: grid; }
.audit-shift-row { display: grid; grid-template-columns: 1.1fr 1.25fr repeat(5, minmax(80px,.8fr)); align-items: center; gap: 12px; border-top: 1px solid var(--line); padding: 11px 4px; font-size: 10px; }
.audit-shift-row.is-head { border: 0; color: var(--muted); font-size: 8px; font-weight: 900; text-transform: uppercase; }
.audit-shift-row span { min-width: 0; }
.audit-shift-row strong, .audit-shift-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audit-shift-row small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.audit-shift-row .is-difference { color: #ef755f; font-weight: 900; }
.audit-shift-status { display: inline-flex; border-radius: 999px; background: #26372f; color: #63c59e; padding: 5px 7px; font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.audit-shift-status.is-closed { background: #292a2d; color: #aaa; }
@media (max-width: 1180px) {
  .audit-filters { grid-template-columns: repeat(3, minmax(120px, 1fr)); }
  .audit-filters > button { grid-column: auto; }
}
@media (max-width: 900px) {
  .audit-layout { grid-template-columns: 1fr; }
  .audit-kpis { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .audit-hero { align-items: stretch; flex-direction: column; }
  .audit-hero-actions > * { flex: 1; }
  .audit-filters { grid-template-columns: 1fr 1fr; }
  .audit-search, .audit-filters > button { grid-column: 1 / -1; }
  .audit-event { grid-template-columns: 8px minmax(0,1fr) auto; }
  .audit-event time { grid-column: 2; }
  .audit-event em { grid-column: 3; grid-row: 1 / span 2; }
}

/* Inventario: dominio aislado con libro mayor y fichas técnicas. */
.inventory-console { display: grid; gap: 22px; }
.inventory-toolbar { display: flex; align-items: end; gap: 10px; }
.inventory-toolbar label {
  display: grid; gap: 6px; color: var(--muted); font-size: .78rem;
  font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.inventory-toolbar select, .inventory-toolbar button, .inventory-form input,
.inventory-form select, .inventory-form textarea, .inventory-form button, #inventory-search,
.inventory-component-row input, .inventory-component-row select, .inventory-component-row button {
  min-height: 44px; border: 1px solid rgba(255,255,255,.13); border-radius: 12px;
  background: rgba(255,255,255,.055); color: var(--ink); font: inherit;
}
.inventory-toolbar select, .inventory-form input, .inventory-form select, .inventory-form textarea,
#inventory-search, .inventory-component-row input, .inventory-component-row select { padding: 0 13px; }
.inventory-form textarea { min-height: 86px; padding-top: 11px; resize: vertical; }
.inventory-toolbar button, .inventory-form button, .inventory-component-row button {
  padding: 0 16px; font-weight: 850; cursor: pointer;
}
.inventory-form > button {
  border-color: rgba(211,51,40,.65);
  background: linear-gradient(135deg, rgba(177,28,23,.92), rgba(99,20,16,.96));
}
.inventory-tabs { margin: 0; }
.inventory-tab-panel { min-width: 0; }
.inventory-layout {
  display: grid; grid-template-columns: minmax(0,1.75fr) minmax(280px,.72fr);
  gap: 18px; align-items: start;
}
.inventory-form-panel { position: sticky; top: 18px; }
.inventory-form-stack { display: grid; gap: 18px; }
.inventory-form { display: grid; gap: 13px; }
.inventory-form label {
  display: grid; gap: 7px; color: var(--muted); font-size: .82rem; font-weight: 760;
}
.inventory-form small { color: var(--muted); line-height: 1.55; }
.inventory-table {
  display: grid; gap: 1px; overflow: hidden; border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px; background: rgba(255,255,255,.08);
}
.inventory-table-head, .inventory-table > article {
  display: grid; grid-template-columns: minmax(230px,1.5fr) repeat(3,minmax(118px,.7fr));
  gap: 14px; align-items: center; padding: 14px 16px;
}
.inventory-table-head {
  background: rgba(255,255,255,.075); color: var(--muted); font-size: .7rem;
  font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
}
.inventory-table > article { background: rgba(8,8,9,.94); }
.inventory-table > article.is-low-stock { box-shadow: inset 3px 0 0 #d7a33f; }
.inventory-table article > span { display: grid; gap: 4px; min-width: 0; }
.inventory-table strong, .inventory-table small { overflow: hidden; text-overflow: ellipsis; }
.inventory-table small { color: var(--muted); font-size: .73rem; }
.inventory-alert { color: #e5b85c !important; font-weight: 850; }
.inventory-movement-row .is-inbound strong { color: #76d89c; }
.inventory-movement-row .is-outbound strong { color: #ef8d83; }
.inventory-movement-row button {
  justify-self: start; padding: 5px 9px; border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px; background: rgba(255,255,255,.06); color: var(--ink);
  font-size: .7rem; font-weight: 800; cursor: pointer;
}
.inventory-component-heading {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.inventory-component-heading button { min-height: 34px; padding: 0 11px; }
.inventory-components { display: grid; gap: 8px; }
.inventory-component-row {
  display: grid; grid-template-columns: minmax(120px,1fr) 88px 74px 38px; gap: 7px;
}
.inventory-component-row button { min-height: 44px; padding: 0; }
.inventory-recipe-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.inventory-recipe-list > article {
  padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  background: rgba(255,255,255,.035);
}
.inventory-recipe-list header, .inventory-recipe-list header > div { display: flex; gap: 7px; }
.inventory-recipe-list header { align-items: start; justify-content: space-between; }
.inventory-recipe-list header > div { flex-direction: column; }
.inventory-recipe-list header small, .inventory-recipe-list p, .inventory-recipe-list li { color: var(--muted); }
.inventory-recipe-list ul {
  display: grid; gap: 7px; margin: 13px 0 0; padding: 0; list-style: none;
}
.inventory-recipe-list li {
  display: flex; justify-content: space-between; gap: 12px; font-size: .78rem;
}
.inventory-recipe-list li strong { color: var(--ink); white-space: nowrap; }
#inventory-status[data-tone="warning"] { color: #e5b85c; }
.inventory-document-list { display: grid; gap: 13px; }
.inventory-document {
  overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  background: rgba(7,7,8,.84);
}
.inventory-document > header, .inventory-document-actions {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 15px 16px;
}
.inventory-document > header > div { display: grid; gap: 4px; min-width: 0; }
.inventory-document > header small, .inventory-document-actions, .inventory-order-lines small,
.inventory-count-row small, .inventory-receipt-row small { color: var(--muted); font-size: .72rem; }
.inventory-status-chip {
  flex: 0 0 auto; border-radius: 999px; padding: 6px 9px; background: rgba(255,255,255,.08);
  color: var(--muted); font-size: .67rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase;
}
.inventory-status-chip.is-approved, .inventory-status-chip.is-received {
  background: rgba(69,181,120,.14); color: #73d69f;
}
.inventory-status-chip.is-posted, .inventory-status-chip.is-settled {
  color: #8df0bc;
  border-color: rgba(87, 211, 146, .4);
  background: rgba(38, 134, 83, .18);
}
.inventory-status-chip.is-open, .inventory-status-chip.is-partially_settled {
  color: #f1ca78;
  border-color: rgba(214, 164, 68, .4);
  background: rgba(135, 88, 20, .18);
}
.inventory-status-chip.is-submitted, .inventory-status-chip.is-partially_received {
  background: rgba(229,184,92,.13); color: #e5b85c;
}
.inventory-status-chip.is-in_transit, .inventory-status-chip.is-attention,
.inventory-status-chip.is-received_with_difference {
  background: rgba(229,184,92,.13); color: #e5b85c;
}
.inventory-status-chip.is-balanced {
  background: rgba(69,181,120,.14); color: #73d69f;
}
.inventory-document-summary {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1px;
  border-top: 1px solid rgba(255,255,255,.08); border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.08);
}
.inventory-document-summary > span {
  display: grid; gap: 4px; padding: 12px 16px; background: rgba(16,16,18,.98);
}
.inventory-document-summary small { color: var(--muted); font-size: .68rem; text-transform: uppercase; }
.inventory-count-lines, .inventory-order-lines { display: grid; padding: 5px 16px; }
.inventory-count-row {
  display: grid; grid-template-columns: minmax(210px,1fr) minmax(130px,.55fr) auto;
  gap: 10px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.07); padding: 10px 0;
}
.inventory-count-row:last-child, .inventory-order-lines > div:last-child { border-bottom: 0; }
.inventory-count-row > span { display: grid; gap: 4px; }
.inventory-count-row input, .inventory-count-row button, .inventory-receipt-box input,
.inventory-receipt-box button {
  min-height: 40px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px;
  background: rgba(255,255,255,.055); color: var(--ink); padding: 0 11px; font: inherit;
}
.inventory-count-row button, .inventory-receipt-box button {
  font-size: .75rem; font-weight: 850; cursor: pointer;
}
.inventory-document-actions { font-size: .73rem; }
.inventory-document-actions button {
  min-height: 38px; border: 1px solid rgba(211,51,40,.55); border-radius: 10px;
  background: rgba(177,28,23,.26); color: var(--ink); padding: 0 12px; font-weight: 850; cursor: pointer;
}
.inventory-supplier-strip {
  display: flex; justify-content: space-between; gap: 16px; border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px; background: rgba(255,255,255,.035); padding: 13px 15px;
}
.inventory-supplier-strip span { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.inventory-order-lines > div {
  display: grid; grid-template-columns: minmax(180px,1fr) minmax(180px,.75fr);
  gap: 14px; border-bottom: 1px solid rgba(255,255,255,.07); padding: 10px 0;
}
.inventory-order-lines span { display: grid; gap: 4px; }
.inventory-receipt-box {
  display: grid; gap: 9px; margin: 10px 16px 14px; border: 1px solid rgba(229,184,92,.2);
  border-radius: 13px; background: rgba(229,184,92,.045); padding: 13px;
}
.inventory-receipt-box label { display: grid; gap: 5px; color: var(--muted); font-size: .73rem; }
.inventory-receipt-row {
  display: grid; grid-template-columns: minmax(160px,1fr) 120px 130px; gap: 8px; align-items: center;
}
.inventory-receipt-row span { display: grid; gap: 3px; }
.inventory-receipt-box > button {
  justify-self: end; border-color: rgba(211,51,40,.55); background: rgba(177,28,23,.28);
}
.inventory-line-unit {
  display: grid; min-height: 44px; place-items: center; color: var(--muted);
  font-size: .7rem; text-align: center;
}
.inventory-balanced-note {
  margin: 0; padding: 14px 0; color: #73d69f; font-size: .78rem;
}
@media (max-width: 1050px) {
  .inventory-layout { grid-template-columns: 1fr; }
  .inventory-form-panel { position: static; }
}
@media (max-width: 720px) {
  .inventory-toolbar { width: 100%; align-items: stretch; flex-direction: column; }
  .inventory-table { overflow-x: auto; }
  .inventory-table-head, .inventory-table > article { min-width: 670px; }
  .inventory-recipe-list { grid-template-columns: 1fr; }
  .inventory-component-row { grid-template-columns: 1fr 1fr 1fr 38px; }
  .inventory-count-row { grid-template-columns: minmax(190px,1fr) minmax(120px,.65fr) auto; }
  .inventory-receipt-row { grid-template-columns: 1fr 110px 120px; }
}
@media (max-width: 560px) {
  .inventory-document-summary { grid-template-columns: 1fr; }
  .inventory-count-row, .inventory-order-lines > div, .inventory-receipt-row { grid-template-columns: 1fr; }
  .inventory-count-row button, .inventory-receipt-box > button { width: 100%; }
  .inventory-document > header, .inventory-document-actions, .inventory-supplier-strip {
    align-items: stretch; flex-direction: column;
  }
}

/* Carta móvil: pulido visual y táctil sin alterar la composición de escritorio. */
@media (max-width: 680px) {
  body.menu-sheet-open {
    overflow: hidden;
  }

  .client-shell .club-menu-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  }

  .client-shell .menu-tabs {
    gap: 3px;
    border-color: rgba(255, 255, 255, 0.075);
    background:
      radial-gradient(circle at 12% -30%, rgba(232, 189, 120, 0.09), transparent 52%),
      rgba(15, 14, 14, 0.94);
    padding: 4px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  }

  .client-shell .menu-tab-tile button {
    min-height: 44px;
    border-color: transparent;
    background: transparent;
    color: #9b9997;
    transition: color 160ms ease, background 160ms ease, transform 140ms ease;
  }

  .client-shell .menu-tab-tile button:active {
    transform: scale(0.96);
  }

  .client-shell .menu-tab-tile.is-promo:not(.is-active) button {
    border-color: transparent;
    background: transparent;
    color: #d9b676;
  }

  .client-shell:not(.is-list-mode) .menu-hero {
    min-height: clamp(500px, 62svh, 560px);
    contain: paint;
    border-radius: 19px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  }

  .client-shell:not(.is-list-mode) .menu-hero-image {
    filter: saturate(1.08) contrast(1.04) brightness(0.96);
    will-change: auto;
  }

  .client-shell:not(.is-list-mode) .menu-hero-content {
    padding: 82px 22px 30px;
  }

  .client-shell:not(.is-list-mode) .menu-hero-badges {
    margin-bottom: 14px;
  }

  .client-shell:not(.is-list-mode) .menu-hero-content h2 {
    max-width: 11ch;
    font-size: clamp(38px, 11.6vw, 53px);
    line-height: 0.93;
  }

  .client-shell:not(.is-list-mode) .menu-hero[data-slide-type="welcome"] .menu-hero-content h2,
  .client-shell:not(.is-list-mode) .menu-hero[data-slide-type="promotions"] .menu-hero-content h2 {
    max-width: 13ch;
    font-size: clamp(35px, 10.2vw, 48px);
    line-height: 0.95;
  }

  .client-shell:not(.is-list-mode) .menu-hero-description {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13.5px;
  }

  .client-shell:not(.is-list-mode) .menu-hero-actions {
    margin-top: 18px;
  }

  .client-shell:not(.is-list-mode) .menu-hero-actions button {
    min-height: 48px;
    border-radius: 11px;
  }

  .menu-category-index {
    gap: 7px;
    scroll-padding-inline: 10px;
    overscroll-behavior-inline: contain;
  }

  .menu-category-index button {
    min-height: 40px;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.045);
    padding-inline: 12px;
    color: #b9b6b2;
    font-size: 10.5px;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
  }

  .menu-category-index button.is-active,
  .menu-category-index button[aria-current="location"] {
    border-color: rgba(232, 189, 120, 0.58);
    background: rgba(232, 189, 120, 0.13);
    color: #f4d49d;
  }

  .menu-category-index button.is-active small {
    color: #d8b26e;
  }

  .client-shell .client-category,
  .client-shell.is-list-mode .client-category {
    scroll-margin-top: 82px;
  }

  .client-shell.is-list-mode .client-category {
    content-visibility: auto;
    contain-intrinsic-size: auto 1320px;
  }

  .client-shell:not(.is-list-mode) .client-product-rail {
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
  }

  .client-shell:not(.is-list-mode) .client-product-card {
    border-color: rgba(255, 255, 255, 0.1);
    scroll-snap-align: start;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
  }

  .client-shell:not(.is-list-mode) .client-product-media img {
    filter: saturate(0.96) contrast(1.08) brightness(0.86);
  }

  .client-shell:not(.is-list-mode) .client-product-add {
    right: 12px;
    bottom: 14px;
    width: 44px;
    min-width: 44px;
    min-height: 44px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.3);
  }

  .client-shell.is-list-mode .client-product-add {
    right: 7px;
    bottom: 7px;
    width: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .client-shell .club-quick-actions {
    background: rgba(15, 15, 16, 0.94);
    backdrop-filter: blur(12px) saturate(1.18);
    -webkit-backdrop-filter: blur(12px) saturate(1.18);
  }

  .client-category-head span,
  .menu-category-index small {
    color: #92908d;
  }

  .menu-search input::placeholder {
    color: #92908d;
  }

  .menu-search-trigger,
  .menu-search-close {
    width: 44px;
    min-width: 44px;
    min-height: 44px;
  }

  .menu-search button#menu-search-clear {
    width: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .menu-hero-carousel-controls button {
    width: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .menu-search-popover {
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
  }

  .menu-search-popover.is-visible {
    opacity: 1;
    pointer-events: auto;
  }

  .menu-search-backdrop {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }

  .menu-search-dialog {
    transform: translateY(14px) scale(0.985);
    transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .menu-search-popover.is-visible .menu-search-dialog {
    transform: translateY(0) scale(1);
  }

  .client-shell > .sheet-backdrop {
    opacity: 0;
    pointer-events: none;
    transition: opacity 190ms ease;
  }

  .client-shell > .sheet-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (max-width: 680px) and (prefers-reduced-motion: reduce) {
  .client-shell:not(.is-list-mode) .client-product-rail {
    scroll-behavior: auto;
  }

  .menu-search-popover,
  .menu-search-dialog,
  .client-shell > .sheet-backdrop {
    transition: none;
  }

  .menu-hero.is-loaded[data-slide-type="welcome"] .menu-hero-image,
  .menu-hero.is-cycling .menu-hero-progress span,
  .client-product-card.is-touching::after {
    animation: none;
    transition: none;
  }
}

.carta-campaign-popup { width:min(90vw,480px);max-height:90vh;overflow:auto;border:1px solid #51433b;border-radius:18px;padding:0;background:#171513;color:#fff;box-shadow:0 20px 80px #0008; }
.carta-campaign-popup::backdrop { background:#000a; }
.carta-campaign-popup>img { width:100%;height:210px;object-fit:cover; }
.carta-campaign-popup>div { padding:25px; }
.carta-campaign-popup h2 { font-size:28px; }
.carta-popup-close { position:absolute;right:12px;top:12px;width:42px;height:42px;border-radius:50%;border:1px solid #fff5;background:#181818;color:white;font-size:25px;cursor:pointer; }

/* Acceso discreto a la administración desde la carta independiente. */
.carta-admin-entry, .carta-public-footer a { color: inherit; font-size: 12px; opacity: .65; }
.carta-admin-entry { display: block; margin-top: 24px; text-align: center; }
.carta-public-footer { padding: 24px; text-align: center; }

/* Last confirmed catalog stays visible during transient network failures. */
.catalog-sync-notice { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:10px 0; padding:12px 16px; border:1px solid #ac874a; border-radius:12px; background:#211b12; color:#edcf97; font-size:13px; }
.catalog-sync-notice[hidden] { display:none; }
.catalog-sync-notice button { flex-shrink:0; border:1px solid currentColor; border-radius:8px; background:transparent; color:inherit; padding:8px 10px; cursor:pointer; }

/* A menu without real photographs reads as a compact text menu. */
.client-shell.is-text-menu .client-product-rail { gap: 0; }
.client-shell.is-text-menu .client-product-card { border: 0; border-bottom: 1px solid #ffffff20; border-radius: 0; background: transparent; box-shadow: none; }
.client-shell .client-product-card.is-without-photo,
.client-shell .client-product-card.is-without-photo .client-product,
.client-shell .client-product-card.is-without-photo .client-product-copy { min-width: 0; min-height: 0; height: auto; max-height: none; }
.client-shell .client-product-card.is-without-photo .client-product { display: block; width: 100%; max-width: 100%; white-space: normal; }
.client-shell .client-product-card.is-without-photo .client-product-copy { display: block; width: 100%; box-sizing: border-box; padding: 16px 12px; }
.client-shell .client-product-card.is-without-photo .client-product-title { display: flex; width: 100%; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 18px; }
.client-shell .client-product-card.is-without-photo .client-product-title strong { display: block; flex: 1; min-width: 0; overflow: visible; white-space: normal; overflow-wrap: anywhere; -webkit-line-clamp: unset; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.25; text-transform: none; }
.client-shell .client-product-card.is-without-photo .client-product-title b { flex-shrink: 0; align-self: flex-start; text-align: right; margin: 0; font-size: clamp(16px, 1.8vw, 20px); line-height: 1.25; white-space: nowrap; }
.client-shell .client-product-card.is-without-photo small { display: block; width: 100%; min-width: 0; height: auto; max-height: none; overflow: visible; white-space: normal; overflow-wrap: anywhere; text-overflow: clip; margin-top: 7px; font-size: 13px; line-height: 1.45; -webkit-line-clamp: unset; }
.client-shell .client-product-card.is-without-photo small:empty { display: none; }
.sheet-backdrop.is-without-photo .product-media-stack,
.sheet-backdrop.is-without-photo .sheet-media { display: none; }
.sheet-backdrop.is-without-photo .product-sheet { width: min(680px, 100%); min-height: 0; grid-template-columns: minmax(0, 1fr); }
.sheet-backdrop.is-without-photo .sheet-content { margin: 0; padding: 42px 28px 32px; }
.sheet-backdrop.is-without-photo .sheet-content h2 { font-size: clamp(25px, 4vw, 36px); line-height: 1.1; }
.client-shell .ai-result-card.is-without-photo { grid-template-columns: minmax(0, 1fr) auto; padding: 16px; }
.client-shell .promo-card.is-without-photo { min-height: 0; align-items: flex-start; }
@media (max-width: 680px) {
  .client-shell.is-text-menu .client-product-list { padding-inline: 16px; }
  .client-shell .client-product-card.is-without-photo .client-product-copy { padding: 15px 0; }
  .sheet-backdrop.is-without-photo .product-sheet { width: 100%; }
  .sheet-backdrop.is-without-photo .sheet-content { padding: 40px 22px 28px; }
}

/* Published text menus and mixed-photo categories share a readable vertical layout. */
.client-shell.is-list-mode:not(.is-promotion-mode) .menu-action-strip,
.client-shell.is-list-mode:not(.is-promotion-mode) .menu-discovery-tools,
.client-shell.is-list-mode:not(.is-promotion-mode) .menu-tabs,
.client-shell.is-list-mode:not(.is-promotion-mode) .client-product-list {
  width: min(1040px, calc(100% - 64px));
  margin-inline: auto;
  padding-inline: 0;
}
.client-shell.is-list-mode:not(.is-promotion-mode) .menu-action-strip { margin-top: 30px; margin-bottom: 18px; }
.client-shell.is-list-mode:not(.is-promotion-mode) .menu-action-strip h1 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -.035em; }
.client-shell.is-list-mode:not(.is-promotion-mode) .client-product-list { padding-top: 26px; padding-bottom: 32px; gap: 42px; }
.client-shell .menu-search-trigger { display: flex; align-items: center; justify-content: center; width: auto; min-height: 44px; padding-inline: 12px; gap: 8px; border-radius: 12px; }
.client-shell .menu-search-trigger::after { content: "Buscar"; font-size: 13px; font-weight: 550; }
.client-shell .club-quick-actions { display: flex; width: auto; }
.client-shell .club-quick-actions > button { width: auto; }
.client-shell .menu-category-index button { min-height: 42px; font-size: 12px; }
.client-shell .client-category.is-row-category {
  width: min(1040px, calc(100% - 64px));
  margin-inline: auto;
  content-visibility: visible;
  contain-intrinsic-size: none;
  opacity: 1;
  transform: none;
  transition: none;
}
.client-shell.is-list-mode .client-category.is-row-category { width: 100%; }
.client-shell .client-category.is-row-category .client-category-head {
  margin: 0;
  padding: 0 0 13px;
  border-bottom: 1px solid #c9b79745;
}
.client-shell .client-category.is-row-category .client-category-head > div { flex-wrap: wrap; gap: 6px 14px; }
.client-shell .client-category.is-row-category .client-category-head h3 {
  color: #e7d9c1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.5vw, 31px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.02em;
}
.client-shell .client-category.is-row-category .client-category-head span { color: #aaa49b; font-size: 12px; }
.client-shell .client-category.is-row-category .client-product-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-flow: row;
  grid-auto-columns: auto;
  gap: 0;
  width: 100%;
  max-width: 100%;
  padding: 0;
  overflow: visible;
  scroll-snap-type: none;
  user-select: text;
}
.client-shell .client-category.is-row-category .client-product-card {
  min-width: 0;
  min-height: 0;
  height: auto;
  border: 0;
  border-bottom: 1px solid #ffffff16;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: none;
}
.client-shell .client-category.is-row-category .client-product {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 0;
  height: auto;
  padding: 20px 0;
  overflow: visible;
}
.client-shell .client-category.is-row-category .client-product-card.is-without-photo .client-product { display: block; }
.client-shell .client-category.is-row-category .client-product-media {
  grid-column: 1;
  grid-row: 1;
  width: 92px;
  height: 92px;
  min-height: 0;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
}
.client-shell .client-category.is-row-category .client-product-media::after,
.client-shell .client-category.is-row-category .card-gradient { display: none; }
.client-shell .client-category.is-row-category .client-product-media img { width: 100%; height: 100%; filter: none; transform: none; }
.client-shell .client-category.is-row-category .client-product-copy {
  display: block;
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  min-height: 0;
  height: auto;
  max-height: none;
  width: 100%;
  padding: 0;
  overflow: visible;
}
.client-shell .client-category.is-row-category .client-product-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; width: 100%; min-width: 0; }
.client-shell .client-category.is-row-category .client-product-title strong {
  display: block;
  flex: 1;
  min-width: 0;
  max-height: none;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-line-clamp: unset;
  color: #f3eee5;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -.015em;
  text-transform: none;
}
.client-shell .client-category.is-row-category .client-product-title b {
  flex: 0 0 auto;
  align-self: baseline;
  margin: 0;
  color: #e7d9c1;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.client-shell .client-category.is-row-category .client-product-copy small {
  display: block;
  width: 100%;
  max-width: 68ch;
  min-height: 0;
  height: auto;
  max-height: none;
  margin-top: 6px;
  overflow: visible;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-line-clamp: unset;
  color: #b7b0a6;
  font-size: 14px;
  line-height: 1.6;
}
.client-shell .client-category.is-row-category .client-product-copy small:empty { display: none; }
.client-shell .client-category.is-row-category .client-product:focus-visible { outline: 2px solid #d9bd83; outline-offset: 4px; border-radius: 4px; }
.client-shell .client-category:not(.is-row-category) .client-product-copy { padding: 18px; }
.client-shell .client-category:not(.is-row-category) .client-product-title strong { font-size: 18px; line-height: 1.35; }
.client-shell .client-category:not(.is-row-category) .client-product-title b { font-size: 17px; font-variant-numeric: tabular-nums; }
.client-shell .client-category:not(.is-row-category) .client-product-copy small { font-size: 14px; line-height: 1.5; }
.client-shell.is-searching-menu .menu-hero { display: none; }
.client-shell .menu-hero.is-single-slide .menu-hero-carousel-controls,
.client-shell .menu-hero.is-single-slide .menu-hero-progress,
.client-shell .menu-hero-description:empty { display: none; }
.client-shell .menu-result-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.client-shell .menu-result-summary p { margin: 0; color: #c9c2b7; font-size: 14px; line-height: 1.5; }
.client-shell .menu-result-summary button { flex-shrink: 0; min-height: 44px; border: 1px solid #ffffff30; border-radius: 9px; padding: 9px 12px; background: transparent; color: #e7d9c1; font-size: 13px; cursor: pointer; }
.client-shell:not(.is-list-mode) .menu-result-summary,
.client-shell:not(.is-list-mode) .menu-no-results { width: min(1040px, calc(100% - 64px)); margin-inline: auto; }
.client-shell .menu-no-results { padding: 28px 0 48px; }
.client-shell .menu-no-results h2 { margin: 0 0 10px; font-size: 23px; line-height: 1.3; }
.client-shell .menu-no-results p { margin: 0; color: #b7b0a6; line-height: 1.5; }
.sheet-backdrop.is-without-photo #sheet-product-description:empty { display: none; }
@media (min-width: 900px) {
  .client-shell .client-category.is-row-category.is-text-category .client-product-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
}
@media (max-width: 680px) {
  .client-shell.is-list-mode:not(.is-promotion-mode) .menu-action-strip,
  .client-shell.is-list-mode:not(.is-promotion-mode) .menu-discovery-tools,
  .client-shell.is-list-mode:not(.is-promotion-mode) .menu-tabs,
  .client-shell.is-list-mode:not(.is-promotion-mode) .client-product-list,
  .client-shell .client-category.is-row-category,
  .client-shell:not(.is-list-mode) .menu-result-summary,
  .client-shell:not(.is-list-mode) .menu-no-results { width: calc(100% - 36px); }
  .client-shell.is-list-mode .client-category.is-row-category { width: 100%; }
  .client-shell.is-list-mode:not(.is-promotion-mode) .menu-action-strip { margin-top: 23px; margin-bottom: 16px; }
  .client-shell.is-list-mode:not(.is-promotion-mode) .client-product-list { gap: 32px; padding-top: 24px; }
  .client-shell .client-category.is-row-category .client-product { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; padding-block: 17px; }
  .client-shell .client-category.is-row-category .client-product-media { width: 76px; height: 76px; }
  .client-shell .client-category.is-row-category .client-product-title { gap: 12px; }
  .client-shell .client-category.is-row-category .client-product-title strong,
  .client-shell .client-category.is-row-category .client-product-title b { font-size: 16px; }
  .client-shell .client-category.is-row-category .client-product-copy small { font-size: 13px; line-height: 1.55; }
  .client-shell .menu-result-summary { align-items: flex-start; }
  .client-shell .menu-result-summary button { max-width: 105px; }
  .client-shell:not(.is-list-mode) .menu-hero { min-height: 340px; }
  .client-shell:not(.is-list-mode) .menu-hero-content h2 { font-size: clamp(30px, 7.6vw, 38px); }
  .client-shell:not(.is-list-mode) .menu-hero-description { font-size: 14px; line-height: 1.5; }
  .client-shell .club-quick-actions { display: flex; left: auto; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: calc(100% - 28px); gap: 4px; padding: 4px; border-radius: 16px; }
  .client-shell .club-quick-actions button { display: flex; flex-direction: row; align-items: center; gap: 7px; min-height: 46px; height: auto; padding: 10px 13px; border-radius: 11px; }
  .client-shell .club-quick-actions .ai-order-button { min-height: 46px; background: #742722; box-shadow: none; }
  .client-shell .club-quick-actions button svg { width: 19px; height: 19px; }
}
