:root {
  color-scheme: light;
  --brand-yellow: #ffd400;
  --brand-yellow-soft: #fff3a6;
  --brand-black: #111315;
  --brand-charcoal: #1a222a;
  --brand-slate: #26313b;
  --canvas: #fff9ee;
  --surface: #ffffff;
  --surface-subtle: #f4f1e9;
  --text: #17191c;
  --text-muted: #5e636b;
  --line: #d9dadd;
  --line-strong: #a8acb2;
  --success: #176b43;
  --success-soft: #e2f5ea;
  --warning: #8a3e00;
  --warning-soft: #fff0df;
  --danger: #b42318;
  --danger-soft: #ffebe9;
  --info: #174ea6;
  --info-soft: #e9f1ff;
  --focus: #0b57d0;
  --shadow-sm: 0 1px 2px rgba(17, 19, 21, 0.08), 0 6px 18px rgba(17, 19, 21, 0.06);
  --shadow-md: 0 18px 50px rgba(17, 19, 21, 0.14);
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --page-width: 1180px;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-display: "Arial Black", "Segoe UI Black", "Apple SD Gothic Neo", "Malgun Gothic", var(--font-body);
}

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4.5rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 1.1rem;
  letter-spacing: -0.018em;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-black);
  color: #fff;
  font-weight: 800;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

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

.eyebrow {
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

.tabular {
  font-variant-numeric: tabular-nums;
}

.site-header,
.ops-header,
.admin-header {
  position: sticky;
  z-index: 40;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px max(20px, calc((100vw - var(--page-width)) / 2));
  border-bottom: 1px solid rgba(17, 19, 21, 0.1);
  background: rgba(255, 249, 238, 0.96);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-block;
  flex: 0 0 auto;
  width: clamp(152px, 19vw, 224px);
  text-decoration: none;
}

.brand-logo {
  width: 100%;
  height: clamp(42px, 5vw, 58px);
  object-fit: contain;
  object-position: left center;
}

.header-account-link {
  min-height: 40px;
  padding: 8px 14px;
}

.header-account-link[aria-current="page"] {
  border-color: var(--brand-black);
  background: var(--brand-black);
  color: var(--brand-yellow);
}

.mobile-store-status {
  display: none;
}

.brand-large {
  width: min(100%, 420px);
}

.brand-large .brand-logo {
  height: auto;
  max-height: 150px;
}

.header-actions,
.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.store-chip,
.connection-pill,
.status-pill,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.2;
}

.connection-pill::before,
.store-chip::before {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line-strong);
  content: "";
}

.connection-pill[data-state="online"]::before,
.store-chip[data-state="open"]::before {
  background: var(--success);
}

.connection-pill[data-state="offline"]::before,
.store-chip[data-state="closed"]::before {
  background: var(--danger);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:not(:disabled):active {
  transform: translateY(1px) scale(0.99);
}

.button-primary,
.button-yellow {
  border-color: var(--brand-black);
  background: var(--brand-yellow);
  color: var(--brand-black);
  box-shadow: 3px 3px 0 var(--brand-black);
}

.button-primary:not(:disabled):hover,
.button-yellow:not(:disabled):hover {
  background: #ffe23e;
  box-shadow: 5px 5px 0 var(--brand-black);
  transform: translate(-1px, -1px);
}

.button-dark {
  background: var(--brand-black);
  color: #fff;
}

.button-outline {
  border-color: var(--brand-black);
  background: transparent;
  color: var(--brand-black);
}

.button-quiet {
  border-color: var(--line);
  background: var(--surface);
}

.button-danger {
  border-color: var(--danger);
  background: var(--danger-soft);
  color: var(--danger);
}

.button-large {
  min-height: 52px;
  padding-inline: 24px;
  font-size: 1.05rem;
}

.button-block {
  width: 100%;
}

.icon-button {
  width: 44px;
  min-width: 44px;
  padding: 0;
  border-radius: 50%;
}

.demo-banner {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 34px;
  padding: 6px 20px;
  background: var(--brand-yellow);
  color: var(--brand-black);
  font-size: 0.82rem;
  text-align: center;
}

.demo-banner strong,
.signage-demo-strip strong {
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--brand-black);
  color: var(--brand-yellow);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.demo-banner-dark {
  background: #342f10;
  color: #fff8ca;
}

.app-main {
  width: min(100%, var(--page-width));
  min-height: calc(100vh - 170px);
  margin-inline: auto;
  padding: 32px 20px 116px;
}

.loading-panel,
.signage-loading {
  display: grid;
  min-height: 45vh;
  place-content: center;
  justify-items: center;
  color: var(--text-muted);
  text-align: center;
}

.spinner {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border: 4px solid var(--line);
  border-top-color: var(--brand-black);
  border-radius: 50%;
  animation: spin 750ms linear infinite;
}

.spinner-light {
  border-color: rgba(255, 255, 255, 0.22);
  border-top-color: var(--brand-yellow);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.bottom-nav {
  position: fixed;
  z-index: 50;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 12px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  max-width: 680px;
  min-height: 68px;
  margin-inline: auto;
  padding: 6px;
  border: 1px solid rgba(17, 19, 21, 0.15);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.bottom-nav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 54px;
  padding: 6px;
  border-radius: 18px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-align: center;
  text-decoration: none;
}

.bottom-nav-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-nav-count {
  position: absolute;
  top: 5px;
  right: max(8px, 16%);
  display: grid;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  place-items: center;
  border: 2px solid var(--surface);
  border-radius: 999px;
  background: var(--brand-black);
  color: #fff;
  font-size: 0.68rem;
  line-height: 1;
}

.bottom-nav a[aria-current="page"] {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.toast-region {
  position: fixed;
  z-index: 100;
  right: 16px;
  bottom: 100px;
  display: grid;
  gap: 8px;
  width: min(380px, calc(100vw - 32px));
}

.toast {
  padding: 14px 16px;
  border-left: 5px solid var(--info);
  border-radius: var(--radius-sm);
  background: var(--brand-black);
  color: #fff;
  box-shadow: var(--shadow-md);
  font-weight: 700;
}

.toast[data-tone="error"] { border-left-color: #ff6b62; }
.toast[data-tone="success"] { border-left-color: #52d991; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: clamp(28px, 5vw, 64px);
  overflow: hidden;
  min-height: 540px;
  padding: clamp(28px, 6vw, 72px);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 212, 0, 0.22), transparent 27%),
    linear-gradient(145deg, #0b0d0f 0%, #1d252d 58%, #111315 100%);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.hero::after {
  position: absolute;
  right: -160px;
  bottom: -230px;
  width: 560px;
  height: 560px;
  border: 62px solid rgba(255, 212, 0, 0.92);
  border-radius: 50%;
  content: "";
}

.hero-copy,
.hero-visual,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-copy {
  align-self: center;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: #fff;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 28px;
  color: #e8ebee;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  color: #dfe4e8;
  font-size: 0.84rem;
  font-weight: 760;
  list-style: none;
}

.hero-proof-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-proof-list li::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-yellow);
  content: "";
}

.hero-visual {
  display: grid;
  min-height: 390px;
  align-items: end;
  justify-items: center;
}

.hero-burst {
  position: absolute;
  top: 6%;
  left: 50%;
  width: min(92%, 380px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--brand-yellow);
  box-shadow: 0 0 0 18px rgba(255, 212, 0, 0.1);
  transform: translateX(-50%);
}

.hero-character {
  position: absolute;
  z-index: 1;
  top: 2%;
  left: 50%;
  width: min(118%, 480px);
  height: auto;
  filter: drop-shadow(0 24px 22px rgba(0, 0, 0, 0.3));
  transform: translateX(-50%) rotate(-2deg);
}

.hero-panel {
  z-index: 3;
  width: min(100%, 390px);
  align-self: end;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 22px;
  background: rgba(17, 19, 21, 0.9);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.hero-panel h2 {
  margin: 8px 0 6px;
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.hero-panel p {
  margin-bottom: 6px;
}

.hero-panel p:last-child,
.hero-address {
  margin-bottom: 0;
}

.hero-status-line {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  font-size: 0.86rem;
}

.hero-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(82, 217, 145, 0.15);
}

.hero-panel[data-state="closed"] .hero-status-dot {
  background: #ff6b62;
  box-shadow: 0 0 0 4px rgba(255, 107, 98, 0.15);
}

.hero-panel[data-state="unknown"] .hero-status-dot {
  background: #ffbd59;
  box-shadow: 0 0 0 4px rgba(255, 189, 89, 0.18);
}

.hero-operation-copy {
  color: #f2f4f6;
}

.hero-address {
  color: #bac2c9;
  font-size: 0.86rem;
}

.hero .eyebrow,
.surface-kds .eyebrow,
.surface-signage .eyebrow {
  color: var(--brand-yellow);
}

.hero .button-outline {
  border-color: rgba(255, 255, 255, 0.82);
  color: #fff;
}

.hero .button-outline:hover {
  border-color: var(--brand-yellow);
  background: rgba(255, 212, 0, 0.12);
}

.hero + .operation-notice {
  margin-top: 20px;
}

.section-block {
  margin-top: 48px;
}

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

.section-heading h2,
.section-heading p,
.page-heading h1,
.page-heading p {
  margin-bottom: 0;
}

.page-heading h1 {
  font-size: clamp(2rem, 6vw, 4rem);
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(17, 19, 21, 0.12);
}

.product-card-media {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 65% 35%, rgba(255, 212, 0, 0.3), transparent 30%),
    linear-gradient(145deg, #212b35, #0c0f12);
  color: var(--brand-yellow);
  font-family: var(--font-display);
  font-size: 3rem;
}

.product-card-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.product-card-media img.product-promo-image,
.product-detail-media img.product-promo-image {
  padding: 0;
  object-fit: cover;
}

.product-card-media img.product-character,
.product-detail-media img.product-character {
  padding: clamp(14px, 3vw, 32px);
  object-fit: contain;
}

.product-card-media .status-pill {
  position: absolute;
  top: 12px;
  left: 12px;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.product-card-body h3 {
  margin-bottom: 6px;
  font-size: 1.16rem;
}

.product-description {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  color: var(--text-muted);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta,
.price-row,
.line-summary,
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.price {
  font-size: 1.08rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.sample-label {
  color: var(--warning);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.data-table .price + .sample-label {
  display: block;
  margin-top: 4px;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
}

.card-actions .button {
  flex: 1;
}

.badge[data-tone="success"],
.status-pill[data-tone="success"] {
  border-color: #87c5a3;
  background: var(--success-soft);
  color: var(--success);
}

.badge[data-tone="danger"],
.status-pill[data-tone="danger"] {
  border-color: #e5a49f;
  background: var(--danger-soft);
  color: var(--danger);
}

.badge[data-tone="warning"],
.status-pill[data-tone="warning"] {
  border-color: #e0b488;
  background: var(--warning-soft);
  color: var(--warning);
}

.badge[data-tone="info"],
.status-pill[data-tone="info"] {
  border-color: #a8c3ee;
  background: var(--info-soft);
  color: var(--info);
}

.allergen-list,
.chip-row,
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.allergen-list {
  margin-top: 12px;
}

.allergen-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--warning-soft);
  color: var(--warning);
  font-size: 0.75rem;
  font-weight: 800;
}

.filter-button,
.chip-button {
  min-height: 44px;
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  font-weight: 800;
}

.filter-button[aria-pressed="true"],
.chip-button[aria-pressed="true"] {
  border-color: var(--brand-black);
  background: var(--brand-yellow);
  box-shadow: 2px 2px 0 var(--brand-black);
}

.empty-state,
.error-state,
.notice-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
}

.empty-state h2,
.error-state h2,
.notice-card h2 {
  margin-bottom: 10px;
}

.error-state {
  border-color: #e5a49f;
  background: var(--danger-soft);
}

.notice-card[data-tone="warning"] {
  border-color: #e0b488;
  background: var(--warning-soft);
}

.notice-card[data-tone="info"] {
  border-color: #a8c3ee;
  background: var(--info-soft);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
}

.product-detail-media {
  display: grid;
  min-height: 430px;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 212, 0, 0.35), transparent 28%),
    linear-gradient(145deg, #27343e, #0d1114);
  color: var(--brand-yellow);
  font-family: var(--font-display);
  font-size: 5rem;
}

.product-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.product-detail-copy {
  padding-block: 12px;
}

.product-detail-copy h1 {
  margin-bottom: 12px;
}

.detail-price {
  margin-block: 22px;
  font-size: 1.7rem;
  font-weight: 900;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-bottom: 18px;
  font-weight: 850;
}

.builder-layout,
.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.stepper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 6px;
  margin: 0 0 24px;
  padding: 6px;
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
  list-style: none;
}

.stepper li {
  min-width: 0;
  padding: 9px 8px;
  border-radius: 12px;
  color: var(--text-muted);
  font-size: 0.77rem;
  font-weight: 800;
  text-align: center;
}

.stepper li[aria-current="step"] {
  background: var(--brand-black);
  color: #fff;
}

.stepper li[data-complete="true"]::before {
  margin-right: 4px;
  color: var(--success);
  content: "✓";
}

.builder-panel,
.summary-card,
.cart-card,
.form-card,
.status-card,
.admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.builder-panel,
.cart-card,
.form-card,
.status-card {
  padding: clamp(20px, 4vw, 32px);
}

.summary-card {
  position: sticky;
  top: 124px;
  padding: 22px;
}

.summary-card h2 {
  font-size: 1.25rem;
}

.creator-panel {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.creator-panel h3,
.creator-panel p {
  margin-bottom: 0;
}

.creator-claim-notice {
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.creator-claim-notice[data-state="available"] {
  border-color: #83b99c;
  background: var(--success-soft);
}

.creator-claim-notice[data-state="existing"] {
  border-color: #e0b488;
  background: var(--warning-soft);
}

.creator-claim-notice p {
  margin-top: 4px;
}

.creator-consent {
  padding: 12px 0;
  font-weight: 800;
}

.creator-consent span,
.creator-consent small {
  display: block;
}

.creator-consent small {
  margin-top: 3px;
  color: var(--text-muted);
  font-weight: 500;
}

.creator-fields input:disabled {
  background: #e8e8e8;
  color: #64686d;
}

.selection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.selection-card {
  position: relative;
  display: flex;
  min-height: 104px;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: left;
}

.selection-card:hover {
  border-color: var(--line-strong);
}

.selection-card[aria-pressed="true"] {
  border-color: var(--brand-black);
  background: var(--brand-yellow-soft);
  box-shadow: 3px 3px 0 var(--brand-black);
}

.selection-check {
  display: grid;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  font-weight: 900;
}

.selection-card[aria-pressed="true"] .selection-check {
  border-color: var(--brand-black);
  background: var(--brand-black);
  color: var(--brand-yellow);
}

.selection-copy {
  flex: 1;
}

.selection-copy strong,
.selection-copy small {
  display: block;
}

.selection-copy small {
  margin-top: 4px;
  color: var(--text-muted);
}

.builder-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 28px;
}

.capacity-block {
  margin-block: 20px;
}

.capacity-track {
  overflow: hidden;
  height: 12px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--surface-subtle);
}

.capacity-progress {
  display: block;
  width: 100%;
  height: 12px;
  margin-top: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--surface-subtle);
  accent-color: var(--success);
}

.capacity-progress::-webkit-progress-bar {
  border-radius: 999px;
  background: var(--surface-subtle);
}

.capacity-progress::-webkit-progress-value {
  border-radius: 999px;
  background: var(--success);
}

.capacity-progress::-moz-progress-bar {
  border-radius: 999px;
  background: var(--success);
}

.capacity-progress[data-over="true"] {
  accent-color: var(--danger);
}

.capacity-fill {
  width: var(--capacity, 0%);
  height: 100%;
  border-radius: inherit;
  background: var(--success);
  transition: width 220ms ease;
}

.capacity-fill[data-over="true"] {
  background: var(--danger);
}

.summary-list,
.order-lines,
.timeline,
.task-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.summary-list li,
.order-line {
  padding-block: 11px;
  border-bottom: 1px solid var(--line);
}

.summary-list li:last-child,
.order-line:last-child {
  border-bottom: 0;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line:first-child {
  padding-top: 0;
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line h3 {
  margin-bottom: 5px;
}

.cart-line-options {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.creator-line-note {
  margin: 0 0 10px;
  padding-left: 10px;
  border-left: 3px solid var(--brand-yellow);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 750;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
}

.quantity-control button {
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--surface);
  font-size: 1.25rem;
  font-weight: 900;
}

.quantity-control output {
  min-width: 34px;
  text-align: center;
  font-weight: 900;
}

.total-stack {
  display: grid;
  gap: 10px;
  margin-block: 20px;
}

.total-row.total-final {
  padding-top: 14px;
  border-top: 2px solid var(--brand-black);
  font-size: 1.2rem;
  font-weight: 900;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  font-weight: 800;
}

.field input,
.field select,
.search-field input {
  width: 100%;
  min-height: 48px;
  padding: 10px 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"] {
  border: 2px solid var(--danger);
}

.field-help,
.field-error {
  color: var(--text-muted);
  font-size: 0.83rem;
}

.field-error {
  color: var(--danger);
  font-weight: 750;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checkbox-row input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--brand-black);
}

.checkbox-row[data-invalid="true"] {
  padding: 12px;
  border: 2px solid var(--danger);
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
}

.mock-terminal {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 20px;
  border: 2px dashed var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--surface-subtle);
}

.mock-terminal strong {
  color: var(--warning);
}

.order-hero {
  display: grid;
  justify-items: center;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--brand-black);
  color: #fff;
  text-align: center;
}

.order-number {
  margin-block: 8px 14px;
  color: var(--brand-yellow);
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 12vw, 6rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  min-height: 78px;
}

.timeline-item::before {
  position: absolute;
  top: 28px;
  bottom: -6px;
  left: 15px;
  width: 3px;
  background: var(--line);
  content: "";
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-dot {
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 3px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  font-weight: 900;
}

.timeline-item[data-state="done"] .timeline-dot {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}

.timeline-item[data-state="current"] .timeline-dot {
  border-color: var(--brand-black);
  background: var(--brand-yellow);
  color: var(--brand-black);
  box-shadow: 0 0 0 5px var(--brand-yellow-soft);
}

.timeline-copy h3 {
  margin: 2px 0 4px;
}

.timeline-copy p {
  color: var(--text-muted);
}

.session-dialog {
  max-width: 560px;
  padding: 30px;
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.session-dialog::backdrop {
  background: rgba(17, 19, 21, 0.72);
}

.session-dialog h2 {
  font-size: 2rem;
}

.noscript {
  margin: 20px;
  padding: 20px;
  border: 2px solid var(--danger);
  background: var(--danger-soft);
}

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

.more-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.more-card h2 {
  margin-bottom: 10px;
  font-size: 1.45rem;
}

.more-card address {
  margin-bottom: 12px;
  font-style: normal;
  font-weight: 850;
}

.ranking-card {
  grid-column: 1 / -1;
}

.creator-ranking-list,
.how-to-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.creator-ranking-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.ranking-position,
.how-to-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-yellow);
  color: var(--brand-black);
  font-weight: 950;
}

.ranking-copy,
.ranking-copy small {
  display: block;
}

.ranking-copy small,
.ranking-orders {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.ranking-orders {
  font-weight: 800;
  text-align: right;
}

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

.how-to-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
}

.how-to-list p {
  margin: 3px 0 0;
  color: var(--text-muted);
}

.faq-list {
  display: grid;
  gap: 8px;
  margin-top: 16px;
}

.faq-list details {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 850;
}

.faq-list p {
  margin: 10px 0 0;
}

.notice-inline,
.compact-state {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
}

.compact-state p:last-child {
  margin-bottom: 0;
}

/* Kiosk */
.surface-kiosk {
  background: #f7f3e8;
  font-size: 18px;
}

.surface-kiosk .site-header {
  min-height: 86px;
}

.surface-kiosk .button,
.surface-kiosk .filter-button,
.surface-kiosk .chip-button {
  min-height: 56px;
  padding-inline: 22px;
}

.surface-kiosk .icon-button,
.surface-kiosk .quantity-control button {
  width: 56px;
  min-width: 56px;
  height: 56px;
}

.kiosk-main {
  width: min(100%, 1480px);
  min-height: calc(100vh - 122px);
  padding-bottom: 48px;
}

.kiosk-welcome {
  display: grid;
  min-height: calc(100vh - 220px);
  place-content: center;
  justify-items: center;
  padding: 40px;
  text-align: center;
}

.kiosk-welcome h1 {
  max-width: 900px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7rem);
}

.kiosk-welcome p {
  max-width: 680px;
  font-size: 1.25rem;
}

.kiosk-start-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 18px;
  width: min(100%, 720px);
  margin-top: 30px;
}

.kiosk-start-actions .button {
  min-height: 92px;
  border-radius: var(--radius-md);
  font-size: 1.25rem;
}

.kiosk-cart-bar {
  position: sticky;
  z-index: 20;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 16px 20px;
  border: 2px solid var(--brand-black);
  border-radius: var(--radius-md);
  background: var(--brand-yellow);
  box-shadow: 6px 6px 0 var(--brand-black);
}

/* KDS */
.surface-kds {
  color-scheme: dark;
  background: #0c0f12;
  color: #f7f8f9;
  font-size: 18px;
}

.ops-header {
  position: static;
  min-height: 92px;
  border-bottom-color: #343d46;
  background: var(--brand-charcoal);
  color: #fff;
}

.brand-ops {
  width: clamp(145px, 15vw, 210px);
}

.brand-ops .brand-logo {
  height: 62px;
}

.ops-header h1 {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
}

.surface-kds .connection-pill {
  border-color: #596573;
  background: #202831;
  color: #fff;
}

.ops-main {
  min-height: calc(100vh - 126px);
  padding: 18px;
}

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

.surface-kds .filter-button {
  min-height: 48px;
  border-color: #596573;
  background: #1b2229;
  color: #fff;
}

.surface-kds .filter-button[aria-pressed="true"] {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--brand-black);
  box-shadow: none;
}

.sync-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.surface-kds .sync-copy {
  color: #aeb7c0;
}

.kds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
  align-items: start;
}

.kds-ticket {
  overflow: hidden;
  border: 2px solid #3c4752;
  border-radius: 14px;
  background: #171d23;
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.3);
}

.kds-ticket[data-tone="late"] {
  border-color: #ffb46a;
}

.kds-ticket[data-tone="attention"] {
  border-color: #ff7c72;
}

.ticket-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 15px;
  border-bottom: 1px solid #3c4752;
  background: #202831;
}

.ticket-number {
  margin: 0;
  color: var(--brand-yellow);
  font-size: 1.55rem;
  font-weight: 950;
}

.ticket-time {
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.ticket-meta {
  margin: 4px 0 0;
  color: #b9c2ca;
  font-size: 0.78rem;
}

.ticket-alert {
  display: flex;
  gap: 8px;
  padding: 10px 15px;
  background: #422413;
  color: #ffd6ad;
  font-size: 0.84rem;
  font-weight: 900;
}

.ticket-body {
  padding: 15px;
}

.ticket-item {
  padding-block: 10px;
  border-bottom: 1px solid #343d46;
}

.ticket-item:last-child {
  border-bottom: 0;
}

.ticket-item-name {
  margin-bottom: 5px;
  font-size: 1.02rem;
  font-weight: 900;
}

.ticket-options {
  margin: 0;
  color: #c8cfd5;
  font-size: 0.84rem;
}

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

.task-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 9px;
  background: #222b34;
}

.task-row[data-state="done"] {
  background: #153a2a;
  color: #b9f2d2;
}

.task-row .button {
  min-height: 42px;
  padding: 7px 12px;
  font-size: 0.78rem;
}

.ticket-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 15px 15px;
}

.ticket-actions .button {
  min-height: 50px;
  border-radius: 10px;
}

.surface-kds .empty-state,
.surface-kds .error-state {
  grid-column: 1 / -1;
  border-color: #3c4752;
  background: #171d23;
  color: #fff;
}

.toast-region-dark {
  bottom: 20px;
}

/* Admin */
.surface-admin {
  background: #f3f4f5;
}

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

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 20px;
  background: var(--brand-black);
  color: #fff;
}

.brand-sidebar {
  width: 100%;
  padding: 7px;
  border-radius: 12px;
  background: #fff;
}

.brand-sidebar .brand-logo {
  height: 60px;
  object-position: center;
}

.admin-store,
.admin-role {
  color: #bdc4ca;
}

.admin-store {
  margin: 22px 8px 12px;
  font-weight: 850;
}

.admin-nav {
  display: grid;
  gap: 6px;
}

.admin-nav a,
.admin-nav span {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  color: #dce1e5;
  font-weight: 750;
  text-decoration: none;
}

.admin-nav a[aria-current="page"] {
  background: var(--brand-yellow);
  color: var(--brand-black);
}

.admin-nav span[aria-disabled="true"] {
  color: #7d8790;
}

.admin-role {
  position: absolute;
  right: 24px;
  bottom: 20px;
  left: 24px;
  font-size: 0.78rem;
}

.admin-brand-note {
  margin: 20px 8px;
  color: #9da7af;
  font-size: 0.72rem;
  line-height: 1.35;
}

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

.admin-header {
  position: static;
  padding: 24px 30px;
  background: var(--surface);
}

.admin-header h1 {
  margin-bottom: 5px;
  font-family: var(--font-body);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.admin-header p:last-child {
  margin-bottom: 0;
  color: var(--text-muted);
}

.admin-main {
  width: min(100%, 1320px);
  margin-inline: auto;
  padding: 28px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.metric-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.metric-card strong {
  display: block;
  margin-top: 6px;
  font-size: 2rem;
  font-variant-numeric: tabular-nums;
}

.admin-card {
  overflow: hidden;
}

.admin-card-heading {
  align-items: center;
  margin: 0;
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.admin-card-heading h2 {
  font-size: 1.45rem;
}

.search-field {
  width: min(320px, 100%);
}

.admin-card > .sync-copy {
  padding: 12px 24px;
  border-bottom: 1px solid var(--line);
}

.table-scroll {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table th {
  background: #f7f8f9;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.data-table tbody tr:hover {
  background: #fffdf7;
}

.table-product-name {
  display: block;
  font-weight: 850;
}

.table-product-sku {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.availability-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.availability-actions .button {
  min-height: 38px;
  padding: 7px 11px;
  font-size: 0.75rem;
}

/* Signage */
.surface-signage {
  color-scheme: dark;
  overflow: hidden;
  background: #080a0c;
  color: #fff;
}

.signage-controls {
  position: fixed;
  z-index: 50;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(10, 13, 16, 0.88);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.brand-logo-signage {
  flex: 0 0 auto;
  width: 122px;
  height: 42px;
  object-position: left center;
}

.signage-control-group {
  display: flex;
  flex: 1;
  gap: 5px;
  align-items: center;
  overflow-x: auto;
}

.recipe-wall-control-host {
  min-width: max-content;
}

.recipe-wall-controls {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: 8px;
  padding-left: 10px;
  border-left: 1px solid #596573;
  white-space: nowrap;
}

.wall-control-badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--brand-black);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.wall-control-field {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.wall-control-field select {
  min-height: 36px;
  padding: 5px 28px 5px 8px;
  border: 1px solid #7b8793;
  border-radius: 8px;
  background: #1d252d;
  color: #fff;
}

.signage-controls .button,
.signage-controls .filter-button {
  min-height: 42px;
  border-color: #596573;
  background: #1d252d;
  color: #fff;
}

.signage-controls .filter-button[aria-pressed="true"] {
  border-color: var(--brand-yellow);
  background: var(--brand-yellow);
  color: var(--brand-black);
  box-shadow: none;
}

.surface-signage .connection-pill {
  border-color: #596573;
  background: #1d252d;
  color: #fff;
}

.signage-stage {
  min-height: 100vh;
  padding: 92px 5vw 66px;
  background:
    radial-gradient(circle at 80% 25%, rgba(255, 212, 0, 0.18), transparent 28%),
    linear-gradient(135deg, #10161b, #050607);
}

.signage-stage[data-wall-theme="sky"] {
  background:
    radial-gradient(circle at 16% 20%, rgba(92, 204, 255, 0.34), transparent 30%),
    radial-gradient(circle at 82% 78%, rgba(255, 212, 0, 0.22), transparent 26%),
    linear-gradient(145deg, #164267, #071724 72%);
}

.signage-stage[data-wall-theme="ocean"] {
  background:
    radial-gradient(circle at 78% 18%, rgba(45, 215, 210, 0.24), transparent 30%),
    linear-gradient(145deg, #07374a, #04141e 70%);
}

.signage-stage[data-wall-theme="nature"] {
  background:
    radial-gradient(circle at 18% 24%, rgba(165, 215, 86, 0.22), transparent 28%),
    radial-gradient(circle at 84% 80%, rgba(255, 212, 0, 0.18), transparent 26%),
    linear-gradient(145deg, #244a36, #091c16 72%);
}

.signage-demo-strip {
  position: fixed;
  z-index: 40;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  padding: 7px 20px;
  background: var(--brand-yellow);
  color: var(--brand-black);
  font-size: clamp(0.74rem, 1.4vw, 1rem);
  font-weight: 750;
}

.signage-demo-strip #signage-sync {
  margin-left: auto;
  font-size: 0.76em;
}

.signage-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 2vh;
}

.signage-heading h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 5.6vw, 6rem);
}

.signage-heading p {
  margin: 0;
  color: #c7cfd5;
  font-size: clamp(1rem, 2vw, 1.8rem);
}

.signage-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 30px);
}

.signage-menu-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 120px;
  padding: clamp(18px, 2.2vw, 32px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: clamp(14px, 2vw, 26px);
  background: rgba(255, 255, 255, 0.08);
}

.signage-menu-card h2 {
  margin-bottom: 6px;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 3rem);
}

.signage-menu-card p {
  margin: 0;
  color: #bcc5cc;
  font-size: clamp(0.85rem, 1.5vw, 1.25rem);
}

.signage-price {
  color: var(--brand-yellow);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 4rem);
  font-variant-numeric: tabular-nums;
}

.surface-signage .sample-label {
  color: rgba(255, 255, 255, 0.78);
}

.pickup-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3vw;
}

.pickup-column {
  min-height: 65vh;
  padding: 2vw;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 2vw;
  background: rgba(255, 255, 255, 0.07);
}

.pickup-column[data-ready="true"] {
  border-color: var(--brand-yellow);
  background: rgba(255, 212, 0, 0.1);
}

.pickup-column h2 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 4.5rem);
}

.pickup-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4vw;
}

.pickup-number {
  display: grid;
  min-width: 2.4em;
  min-height: 1.5em;
  place-items: center;
  padding: 0.14em 0.28em;
  border-radius: 0.24em;
  background: #fff;
  color: var(--brand-black);
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 9rem);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.pickup-column[data-ready="true"] .pickup-number {
  background: var(--brand-yellow);
}

.promo-scene,
.safe-scene {
  display: grid;
  min-height: calc(100vh - 180px);
  place-content: center;
  justify-items: center;
  text-align: center;
}

.promo-scene h1,
.safe-scene h1 {
  max-width: 1200px;
  color: #fff;
  font-size: clamp(3rem, 9vw, 10rem);
}

.promo-scene p,
.safe-scene p {
  max-width: 900px;
  color: #d3d9de;
  font-size: clamp(1.2rem, 3vw, 2.4rem);
}

.promo-mark {
  width: clamp(120px, 16vw, 260px);
  height: clamp(88px, 12vw, 190px);
  margin-bottom: 3vh;
  object-fit: contain;
  filter: drop-shadow(10px 12px 0 rgba(255, 212, 0, 0.92));
}

.recipe-wall-heading {
  margin-bottom: clamp(10px, 1.5vh, 20px);
}

.recipe-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 360px));
  gap: clamp(10px, 1.2vw, 20px);
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recipe-wall-item {
  min-width: 0;
  animation: recipe-wall-float 6s ease-in-out infinite;
}

.recipe-wall-item:nth-child(2n) { animation-delay: -1.5s; }
.recipe-wall-item:nth-child(3n) { animation-delay: -3s; }
.recipe-wall-item:nth-child(5n) { animation-delay: -4.5s; }

.recipe-wall-card {
  position: relative;
  display: grid;
  min-height: clamp(165px, 20vh, 230px);
  align-content: center;
  justify-items: center;
  overflow: hidden;
  padding: clamp(16px, 2vw, 26px);
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: clamp(18px, 2vw, 28px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-black);
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.recipe-wall-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--brand-black);
  color: var(--brand-yellow);
  font-weight: 950;
}

.recipe-wall-cup {
  width: 62px;
  height: 48px;
  margin-bottom: 8px;
  object-fit: contain;
}

.recipe-wall-card h2 {
  max-width: 100%;
  margin-bottom: 6px;
  overflow: hidden;
  color: var(--brand-black);
  font-size: clamp(1.2rem, 2.2vw, 2.2rem);
  overflow-wrap: anywhere;
}

.recipe-wall-card p {
  margin: 0;
  color: #3f464d;
}

.recipe-wall-creator {
  font-weight: 850;
}

.recipe-wall-orders {
  margin-top: 5px !important;
  font-size: 0.84em;
}

.recipe-wall-empty {
  display: grid;
  min-height: calc(100vh - 250px);
  place-content: center;
  justify-items: center;
  text-align: center;
}

.recipe-wall-empty h2 {
  color: #fff;
  font-size: clamp(2.2rem, 6vw, 6rem);
}

.recipe-wall-empty p {
  max-width: 760px;
  color: #dce4e9;
  font-size: clamp(1rem, 2vw, 1.6rem);
}

@keyframes recipe-wall-float {
  0%, 100% { transform: translateY(0) rotate(-0.25deg); }
  50% { transform: translateY(-8px) rotate(0.25deg); }
}

/* Offline */
.surface-offline {
  display: grid;
  min-height: 100vh;
  padding: 24px;
  place-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 212, 0, 0.25), transparent 28%),
    var(--brand-black);
}

.offline-card {
  width: min(100%, 650px);
  padding: clamp(28px, 7vw, 62px);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  box-shadow: var(--shadow-md);
}

.offline-card .brand {
  margin-bottom: 32px;
}

.offline-character {
  width: min(52%, 260px);
  margin: -22px auto 18px;
}

/* Member account and Creator community */
.member-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.member-heading-character {
  width: clamp(112px, 18vw, 220px);
  max-height: 150px;
  object-fit: contain;
}

.auth-card,
.member-card,
.community-card,
.recipe-detail-card,
.discussion-card,
.account-actions,
.report-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.auth-card {
  width: min(100%, 560px);
  margin-inline: auto;
  padding: clamp(22px, 5vw, 42px);
}

.auth-card-wide {
  width: min(100%, 780px);
}

.member-form,
.danger-form,
.comment-form,
.review-form,
.report-form {
  display: grid;
  gap: 15px;
}

.member-switch {
  margin: 0;
  text-align: center;
}

.member-switch a,
.auth-prompt a {
  font-weight: 850;
  text-decoration-thickness: 2px;
}

.google-auth-panel {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.google-auth-panel h3,
.google-auth-panel p {
  margin-bottom: 0;
}

.auth-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 750;
  text-align: center;
}

.auth-divider::before,
.auth-divider::after {
  height: 1px;
  background: var(--line);
  content: "";
}

.google-auth-body {
  display: grid;
  justify-items: center;
  gap: 12px;
  min-width: 0;
}

.google-auth-body .loading-panel {
  min-height: 90px;
  padding: 14px;
}

.google-button-host {
  width: min(100%, 400px);
  min-height: 44px;
  overflow: hidden;
}

.google-auth-help,
.google-policy-version,
.google-consent-help,
.google-policy-links {
  max-width: 520px;
  text-align: center;
}

.google-policy-links a {
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.google-policy-version {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.auth-methods-card {
  align-content: start;
}

.auth-method-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
}

.auth-method-row p {
  margin: 3px 0 0;
}

.auth-method-google + .google-auth-panel {
  margin-top: 0;
  padding-top: 14px;
}

.badge-success,
.badge-warning {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 850;
}

.badge-success {
  background: var(--success-soft);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.disconnect-google-form {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.google-step-up-form {
  display: grid;
  width: min(100%, 440px);
  gap: 12px;
}

.disconnect-google-form .field {
  max-width: 440px;
}

.form-alert,
.auth-prompt {
  padding: 12px 14px;
  border-left: 4px solid var(--danger);
  border-radius: 8px;
  background: var(--danger-soft);
}

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

.member-card,
.discussion-card,
.recipe-detail-card,
.account-actions {
  padding: clamp(18px, 3vw, 30px);
}

.operation-notice {
  display: grid;
  gap: 5px;
  margin-bottom: 20px;
  padding: 16px 18px;
  border: 1px solid #d79a23;
  border-left-width: 5px;
  border-radius: var(--radius-sm);
  background: #fff8df;
}

.operation-notice p {
  margin: 0;
}

.support-safety,
.support-ticket-card,
.support-detail {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.support-safety {
  margin-bottom: 20px;
  padding: 18px 20px;
  border-left: 5px solid var(--danger);
  background: var(--danger-soft);
}

.support-safety h2 {
  font-size: 1.15rem;
}

.support-safety p:last-child {
  margin-bottom: 0;
}

.support-toolbar,
.support-ticket-meta,
.support-message-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.support-toolbar {
  justify-content: space-between;
  margin-bottom: 18px;
}

.support-ticket-list,
.support-thread {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.support-ticket-card,
.support-detail,
.support-compose {
  padding: clamp(18px, 3vw, 30px);
}

.support-ticket-card h2 {
  margin: 12px 0 8px;
  font-size: 1.25rem;
}

.support-ticket-card h2 a {
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.support-ticket-card p,
.support-ticket-card time {
  margin: 5px 0 0;
}

.support-detail {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
}

.support-detail h1 {
  margin-bottom: 0;
}

.support-thread {
  padding-block: 8px;
}

.support-message {
  width: min(88%, 720px);
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
  background: var(--surface-subtle);
}

.support-message[data-sender="customer"] {
  justify-self: end;
  border-color: #d8b200;
  border-radius: 16px 16px 4px;
  background: #fff8cf;
}

.support-message-meta {
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.support-message p {
  margin: 8px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.support-reply-form {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.account-order-list,
.discussion-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.account-order-list li {
  display: grid;
  grid-template-columns: minmax(100px, 1fr) auto auto;
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-subtle);
}

.account-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.danger-zone {
  flex: 1 1 100%;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.danger-zone summary,
.report-panel summary {
  width: fit-content;
  color: var(--danger);
  font-weight: 850;
  cursor: pointer;
}

.danger-form,
.report-form {
  max-width: 620px;
  margin-top: 14px;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 18px;
  margin-top: 20px;
}

.community-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 24px;
}

.community-character {
  position: absolute;
  right: -14px;
  bottom: -12px;
  width: 128px;
  max-height: 108px;
  object-fit: contain;
  opacity: 0.14;
  pointer-events: none;
}

.community-card h2 a {
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}

.community-creator {
  font-weight: 850;
}

.community-stats,
.recipe-actions,
.discussion-actions,
.discussion-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.community-stats {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.recipe-detail-card {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.recipe-detail-character {
  position: absolute;
  right: clamp(10px, 4vw, 50px);
  top: 18px;
  width: clamp(100px, 17vw, 210px);
  max-height: 150px;
  object-fit: contain;
  opacity: 0.18;
  pointer-events: none;
}

.recipe-story,
.recipe-detail-card section,
.recipe-detail-card .recipe-actions,
.recipe-detail-card .auth-prompt {
  position: relative;
  max-width: 760px;
}

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

.component-list li {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-yellow-soft);
  font-weight: 750;
}

.discussion-list li {
  padding: 13px;
  border-radius: 10px;
  background: var(--surface-subtle);
}

.discussion-list p {
  margin: 8px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.discussion-meta {
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.83rem;
}

.report-panel {
  margin-top: 20px;
  padding: 18px;
}

.button-small {
  min-height: 34px;
  padding: 6px 9px;
  font-size: 0.78rem;
}

.staff-identity {
  color: inherit;
  font-size: 0.8rem;
  font-weight: 800;
}

.staff-auth-gate {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  padding: 22px;
  place-items: center;
  overflow-y: auto;
  background: rgba(10, 13, 16, 0.96);
}

.staff-login-card {
  display: grid;
  width: min(100%, 520px);
  gap: 16px;
  padding: clamp(24px, 5vw, 46px);
  border-radius: var(--radius-lg);
  background: var(--canvas);
  color: var(--text);
  box-shadow: var(--shadow-md);
}

.staff-login-logo {
  width: min(100%, 300px);
  max-height: 95px;
  object-fit: contain;
  object-position: left center;
}

.menu-product-picker {
  max-width: 640px;
  margin-bottom: 20px;
}

.menu-edit-form {
  display: grid;
  gap: 18px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.menu-data-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.offer-editor {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.offer-editor legend {
  padding-inline: 8px;
  font-weight: 900;
}

.offer-edit-row {
  display: grid;
  grid-template-columns: minmax(80px, 0.6fr) minmax(160px, 1fr) auto;
  align-items: end;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  background: var(--surface-subtle);
}

.verification-confirm {
  padding: 14px;
  border-left: 4px solid var(--warning);
  border-radius: 8px;
  background: var(--warning-soft);
}

.moderation-filters {
  margin-bottom: 16px;
}

.moderation-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.moderation-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
}

.moderation-card h3,
.moderation-card p {
  margin: 0;
  overflow-wrap: anywhere;
}

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

.legal-page {
  width: min(100%, 900px);
}

.legal-page p {
  max-width: 78ch;
}

/* Responsive */
@media (max-width: 920px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .product-detail,
  .builder-layout,
  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .account-grid,
  .discussion-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    min-height: 420px;
  }

  .summary-card {
    position: static;
  }

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

  .admin-sidebar {
    position: static;
    display: flex;
    height: auto;
    align-items: center;
    gap: 16px;
    overflow-x: auto;
    padding: 14px 18px;
  }

  .admin-store,
  .admin-role {
    display: none;
  }

  .admin-nav {
    display: flex;
    white-space: nowrap;
  }

}

@media (max-width: 920px) and (orientation: portrait) {
  .signage-menu-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-height: 800px) and (orientation: landscape) {
  .signage-stage {
    padding: 78px 3vw 52px;
  }

  .signage-heading {
    gap: 18px;
    margin-bottom: 10px;
  }

  .signage-heading h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
  }

  .signage-heading p {
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  }

  .signage-menu-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .signage-menu-card {
    min-height: 0;
    gap: 16px;
    padding: 14px 18px;
  }

  .signage-menu-card h2 {
    margin-bottom: 3px;
    font-size: clamp(1.15rem, 2.5vw, 1.8rem);
  }

  .signage-menu-card p {
    overflow: hidden;
    font-size: clamp(0.78rem, 1.2vw, 1rem);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .signage-price {
    font-size: clamp(1.45rem, 3vw, 2.5rem);
  }

  .recipe-wall-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(165px, 100%), 280px));
    gap: 8px;
  }

  .recipe-wall-card {
    min-height: 125px;
    padding: 10px 12px;
  }

  .recipe-wall-cup {
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
    border-width: 3px;
    font-size: 0.58rem;
  }

  .recipe-wall-card h2 {
    margin-bottom: 3px;
    font-size: clamp(1rem, 1.8vw, 1.45rem);
  }

  .recipe-wall-card p {
    overflow: hidden;
    font-size: clamp(0.7rem, 1vw, 0.88rem);
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .site-header,
  .ops-header,
  .admin-header {
    align-items: flex-start;
    padding: 12px 16px;
  }

  .site-header .store-chip {
    display: none;
  }

  .site-header .brand {
    width: clamp(118px, 38vw, 150px);
  }

  .site-header .header-actions {
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 6px;
  }

  .site-header .button {
    min-height: 42px;
    padding: 8px 11px;
    font-size: 0.82rem;
  }

  .mobile-store-status {
    display: flex;
    justify-content: center;
    padding: 7px 14px;
    border-bottom: 1px solid var(--line);
    background: #f8f3e8;
  }

  .app-main {
    padding: 24px 14px 112px;
  }

  .product-detail-media,
  .product-detail-media img {
    min-height: 0;
  }

  .hero {
    padding: 28px 22px;
    border-radius: 20px;
  }

  .hero::after {
    right: -240px;
    bottom: -300px;
  }

  .hero-visual {
    min-height: 330px;
  }

  .hero-character {
    width: min(112%, 410px);
  }

  .hero-panel {
    padding: 17px 18px;
  }

  .hero-proof-list {
    display: grid;
    gap: 8px;
  }

  .product-grid,
  .selection-grid,
  .form-grid,
  .metric-grid,
  .pickup-columns,
  .more-grid {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    grid-column: auto;
  }

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

  .ranking-orders {
    grid-column: 2;
    text-align: left;
  }

  .section-heading,
  .page-heading,
  .ops-toolbar,
  .admin-card-heading,
  .signage-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-card-media,
  .product-card-media img {
    min-height: 0;
  }

  .builder-panel,
  .cart-card,
  .form-card,
  .status-card {
    padding: 20px;
  }

  .stepper {
    display: flex;
    overflow-x: auto;
  }

  .stepper li {
    min-width: 112px;
  }

  .cart-line {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    right: 6px;
    bottom: max(6px, env(safe-area-inset-bottom));
    left: 6px;
  }

  .bottom-nav a {
    font-size: 0.75rem;
  }

  .kiosk-header .brand {
    font-size: 1rem;
  }

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

  .admin-header,
  .admin-main {
    padding: 18px;
  }

  .data-table th:nth-child(2),
  .data-table td:nth-child(2) {
    display: none;
  }

  .signage-controls {
    align-items: stretch;
    border-radius: 18px;
  }

  .signage-control-group {
    overflow-x: auto;
  }

  .signage-controls .header-actions .connection-pill {
    display: none;
  }

  .signage-stage {
    overflow-y: auto;
    padding-top: 110px;
  }

  .signage-demo-strip {
    justify-content: flex-start;
  }

  .signage-demo-strip #signage-sync {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .recipe-wall-item {
    animation: none !important;
    transform: none !important;
  }
}

@media (forced-colors: active) {
  .button-primary,
  .filter-button[aria-pressed="true"],
  .bottom-nav a[aria-current="page"] {
    border: 2px solid ButtonText;
  }

  .connection-pill::before,
  .store-chip::before {
    border: 1px solid currentColor;
  }
}

/* ---- Portion control, customer supplied toppings and My menus ---- */

.portion-panel {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: var(--surface-subtle);
  display: grid;
  gap: 0.6rem;
}

.portion-panel h3 { margin: 0; font-size: 1rem; }

.portion-row {
  display: grid;
  gap: 0.35rem;
}

.portion-name { font-weight: 600; }

.portion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portion-chip {
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: inherit;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.portion-chip[aria-pressed="true"] {
  border-color: var(--brand-black);
  background: var(--brand-yellow);
  color: var(--brand-black);
  font-weight: 700;
}

.byo-panel {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e0b488;
  background: var(--warning-soft);
  display: grid;
  gap: 0.6rem;
}

.byo-panel h3 { margin: 0; font-size: 1rem; }

.byo-warning {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.byo-form {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.byo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.byo-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  background: var(--surface);
}

.my-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.my-menu-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 0.65rem 0.75rem;
  border-radius: 0.6rem;
  background: var(--surface-subtle);
}

.my-menu-row p { margin: 0.25rem 0 0; font-size: 0.85rem; }

.my-menu-actions {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.wallet-summary { display: grid; gap: 0.35rem; }

.wallet-balance {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---- Store menu vs customer-created menu ---- */

.builder-entry {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0 0.5rem;
  padding: 0.9rem 1.1rem;
  border-radius: 0.9rem;
  border: 1px solid #dbc36f;
  background: linear-gradient(115deg, var(--brand-yellow-soft), #fffdf5);
  box-shadow: var(--shadow-sm);
}

.builder-entry-art {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.builder-entry-body h2 {
  margin: 0.15rem 0 0.25rem;
  font-size: 1.05rem;
}

.builder-entry-body p { margin: 0; font-size: 0.88rem; }

.filter-button-creator[aria-pressed="true"] {
  outline: 2px solid var(--brand-black);
}

.creator-menu-intro {
  margin-bottom: 0.75rem;
}

.creator-menu-intro p { margin: 0.15rem 0; }

.creator-menu-card .product-card-media { position: relative; }

.creator-rank-badge {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--accent, #ff8a3d);
  color: #17120d;
}

@media (max-width: 640px) {
  .builder-entry {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
