:root {
  --theme: #e21c4b;
  --brand: #e21c4b;
  --brand-dark: #c41840;
  --brand-soft: #fde8ee;
  --brand-border: #f5b3c3;
  --accent: #7aa611;
  --accent-dark: #62850e;
  --accent-soft: #f3f8e6;
  --accent-border: #c5db7a;
  --ink: #171717;
  --ink-body: #3f3f46;
  --ink-muted: #71717a;
}

body {
  -webkit-tap-highlight-color: transparent;
}

/* ─── Login Page ─── */
.login-page {
  background: linear-gradient(145deg, #0c0a09 0%, #1c1917 40%, #292524 100%);
}
.login-page-center {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-page-messages {
  width: 100%;
  margin-top: 16px;
}
.login-page-messages > div {
  margin-bottom: 0 !important;
}

.login-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.login-orb-1 {
  width: 420px; height: 420px;
  background: rgba(226, 28, 75, 0.18);
  top: -120px; right: -100px;
}
.login-orb-2 {
  width: 320px; height: 320px;
  background: rgba(168, 85, 247, 0.12);
  bottom: -80px; left: -60px;
}
.login-orb-3 {
  width: 200px; height: 200px;
  background: rgba(244, 114, 182, 0.1);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.login-logo {
  width: 80px; height: 80px;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(226, 28, 75, 0.25);
}
.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.login-input-wrap {
  position: relative;
}
.login-input-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: #78716c;
  pointer-events: none;
  display: block;
}
.login-input {
  width: 100%;
  padding: 13px 44px 13px 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.login-input::placeholder { color: rgba(255, 255, 255, 0.45); }
.login-input:focus {
  border-color: rgba(226, 28, 75, 0.8);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(226, 28, 75, 0.25);
}

.login-btn {
  background: linear-gradient(135deg, #e21c4b 0%, #c41840 100%);
  box-shadow: 0 4px 24px rgba(226, 28, 75, 0.4);
}
.login-btn:hover {
  box-shadow: 0 6px 32px rgba(226, 28, 75, 0.55);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeUp 0.5s ease-out forwards; }

/* ─── Unified auth page ─── */
.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 16px;
  background: #f5f5f4;
  padding: 6px;
  border-radius: 16px;
}
.auth-tab {
  text-align: center;
  padding: 12px 10px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #78716c;
  transition: background 0.15s, color 0.15s;
}
.auth-tab--active {
  background: white;
  color: #c41840;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.auth-panel {
  background: white;
  border-radius: 20px;
  border: 1px solid #f0eeeb;
  padding: 20px;
}
.manager-auth-card .form-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid #e7e5e4;
  font-size: 15px;
  outline: none;
}
.manager-auth-card .form-input:focus {
  border-color: #e21c4b;
  box-shadow: 0 0 0 3px rgba(226, 28, 75, 0.15);
}
.auth-inline-error {
  font-size: 13px;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 12px;
  padding: 10px 14px;
}
.auth-messages { width: 100%; }
.auth-message {
  font-size: 13px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 12px;
}
.auth-message--success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.auth-message--error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.auth-message--info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.otp-mock-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fde8ee;
  border: 1px solid #f094a8;
  text-align: right;
}
.otp-mock-notice__icon { color: #e21c4b; display: inline-flex; line-height: 1; }
.otp-mock-notice__title {
  font-size: 12px;
  font-weight: 700;
  color: #c41840;
  margin: 0 0 4px;
}
.otp-mock-notice__code {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #e21c4b;
  margin: 0;
}
.otp-mock-notice__hint {
  font-size: 11px;
  color: #9f1239;
  margin: 6px 0 0;
}

/* ─── Menu Page ─── */
.menu-page {
  background: #ffffff;
  padding-bottom: 120px;
  min-height: 100vh;
}

/* Header / Cover */
.venue-header {
  position: relative;
  height: 200px;
}
.venue-cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.venue-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}
.venue-cover-fallback {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--theme) 0%, #292524 50%, #1c1917 100%);
}
.venue-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.05) 0%,
    rgba(0,0,0,0.45) 100%
  );
}

.venue-topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  z-index: 10;
}
.venue-table-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 10px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  color: white;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.venue-table-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: tablePulse 2s infinite;
}
@keyframes tablePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.venue-type-chip {
  padding: 6px 14px;
  background: var(--theme);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 100px;
  box-shadow: 0 4px 16px var(--theme-glow);
}

/* Profile card */
.venue-profile-wrap {
  padding: 0 16px;
  margin-top: -48px;
  position: relative;
  z-index: 20;
  overflow: visible;
}
.venue-profile-card {
  position: relative;
  background: white;
  border-radius: 24px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.8);
  overflow: visible;
  padding-top: 48px;
}
.venue-logo-wrap {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  justify-content: center;
}
.venue-logo {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  display: block;
  flex-shrink: 0;
}
.venue-logo-fallback {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: white;
  border-radius: 22px;
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, var(--theme), color-mix(in srgb, var(--theme) 70%, #000));
  flex-shrink: 0;
}

.venue-profile-body {
  padding: 4px 20px 20px;
  text-align: center;
}
.venue-name {
  font-size: 22px;
  font-weight: 800;
  color: #1c1917;
  line-height: 1.3;
}
.venue-tagline {
  font-size: 13px;
  color: #78716c;
  margin-top: 4px;
  line-height: 1.6;
}
.venue-fav-form {
  margin-top: 14px;
}
.venue-fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 16px;
  border: 1.5px solid #f094a8;
  background: linear-gradient(135deg, #fde8ee 0%, #ffffff 100%);
  color: #e21c4b;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.venue-fav-btn.is-on {
  background: #e21c4b;
  border-color: #e21c4b;
  color: #fff;
}
.venue-fav-icon {
  display: inline-flex;
}
.venue-fav-btn.is-on .app-icon {
  fill: currentColor;
}

.venue-info-chips {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
  text-align: right;
}
.venue-chip {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 14px;
  background: #fafaf9;
  border-radius: 14px;
  border: 1px solid #f0eeeb;
  font-size: 12px;
  color: #57534e;
  line-height: 1.5;
}
.venue-chip-link {
  text-decoration: none;
  color: var(--theme);
  font-weight: 600;
  transition: background 0.15s;
}
.venue-chip-link:active { background: var(--theme-light); }
.venue-chip-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--theme);
}

.venue-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.venue-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #57534e;
  background: #f5f5f4;
  border: 1px solid #e7e5e4;
  text-decoration: none;
  transition: all 0.15s;
}
.venue-social-btn:active {
  background: var(--theme-light);
  color: var(--theme);
  border-color: color-mix(in srgb, var(--theme) 30%, transparent);
}

/* Page tabs */
.venue-tabs-wrap {
  background: rgba(245, 243, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7e5e4;
  padding: 10px 16px;
  margin-top: 16px;
}
.venue-tabs {
  display: flex;
  gap: 6px;
  background: #ebe8e4;
  border-radius: 16px;
  padding: 4px;
}
.venue-tab {
  flex: 1;
  padding: 10px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: #78716c;
  text-align: center;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.venue-tab .app-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
.venue-tab.active {
  background: white;
  color: #1c1917;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.venue-panel { display: none; padding-bottom: 20px; }
.venue-panel.active { display: block; }

/* About panel */
.venue-about-card {
  margin: 16px;
  background: white;
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border: 1px solid #f0eeeb;
}
.venue-about-title {
  font-size: 17px;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 12px;
}
.venue-about-text {
  font-size: 14px;
  color: #57534e;
  line-height: 1.9;
}
.venue-about-details {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #f0eeeb;
}
.venue-detail-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.venue-detail-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--theme-light);
  border-radius: 12px;
  flex-shrink: 0;
  color: var(--theme, #c41840);
}
.venue-detail-icon .app-icon {
  width: 20px;
  height: 20px;
}
.venue-detail-label {
  font-size: 11px;
  font-weight: 600;
  color: #a8a29e;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
.venue-detail-value {
  font-size: 14px;
  color: #1c1917;
  line-height: 1.6;
}
.venue-detail-link {
  color: var(--theme);
  font-weight: 600;
  text-decoration: none;
}

/* Gallery panel */
.venue-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px;
}
.venue-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #f0eeeb;
}
.venue-gallery-item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
.venue-gallery-caption {
  font-size: 11px;
  color: #78716c;
  padding: 8px 10px;
  line-height: 1.4;
}

/* Categories */
.menu-categories {
  padding: 12px 0 4px;
}
.menu-categories-inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 0 16px;
  scrollbar-width: none;
}
.menu-categories-inner::-webkit-scrollbar { display: none; }

.menu-cat-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: white;
  color: #78716c;
  border: 1.5px solid #e7e5e4;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.menu-cat-pill.active {
  background: var(--theme);
  color: white;
  border-color: var(--theme);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--theme) 35%, transparent);
}
.menu-cat-icon {
  display: inline-flex;
  align-items: center;
  color: inherit;
}
.menu-cat-icon .app-icon {
  width: 16px;
  height: 16px;
}

/* Sections */
.menu-main { padding: 8px 16px 0; }
.menu-section { margin-bottom: 28px; }

.menu-section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.menu-section-icon {
  display: inline-flex;
  align-items: center;
  color: var(--theme, #c41840);
}
.menu-section-icon .app-icon {
  width: 22px;
  height: 22px;
}
.menu-section-title {
  font-size: 18px;
  font-weight: 800;
  color: #1c1917;
}
.menu-section-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to left, transparent, #d6d3d1);
}
.menu-empty-owner {
  margin: 20px 16px 8px;
  padding: 28px 20px;
  text-align: center;
  background: #fff;
  border: 1.5px dashed #e7e5e4;
  border-radius: 20px;
}
.menu-empty-owner-icon {
  display: inline-flex;
  color: #e21c4b;
  margin-bottom: 10px;
}
.menu-empty-owner-title {
  font-size: 16px;
  font-weight: 800;
  color: #171717;
  margin: 0;
}
.menu-empty-owner-desc {
  font-size: 13px;
  color: #71717a;
  margin: 8px 0 0;
  line-height: 1.7;
}

/* Item cards */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 400px) {
  .menu-grid { gap: 14px; }
}

.menu-item-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #f5f5f4;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.menu-item-card:active {
  transform: scale(0.97);
}

.menu-item-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.menu-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-item-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  background: linear-gradient(135deg, var(--theme-light), var(--theme-mid));
}

.menu-item-price-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 4px 10px;
  border-radius: 100px;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.menu-item-body { padding: 12px; }
.menu-item-name {
  font-size: 13px;
  font-weight: 700;
  color: #1c1917;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.menu-item-desc {
  font-size: 11px;
  color: #a8a29e;
  margin-top: 3px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.menu-item-actions { margin-top: 10px; }

.menu-add-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--theme);
  background: var(--theme-light);
  border: 1.5px solid color-mix(in srgb, var(--theme) 25%, transparent);
  transition: background 0.15s;
}
.menu-add-btn:active { background: var(--theme-mid); }

.menu-qty-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--theme-light);
  border-radius: 12px;
  padding: 4px;
  border: 1.5px solid color-mix(in srgb, var(--theme) 25%, transparent);
}
.menu-qty-btn {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: white;
  font-size: 18px;
  font-weight: 700;
  color: #57534e;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.menu-qty-btn-plus {
  background: var(--theme);
  color: white;
}
.menu-qty-value {
  font-size: 15px;
  font-weight: 800;
  color: #1c1917;
  min-width: 24px;
  text-align: center;
}

.menu-empty {
  text-align: center;
  padding: 80px 20px;
}
.menu-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 20px;
  background: var(--theme-light, #fde8ee);
  color: var(--theme, #c41840);
  border: 1px solid color-mix(in srgb, var(--theme, #e21c4b) 25%, transparent);
}
.menu-empty-icon .app-icon {
  width: 40px;
  height: 40px;
}

/* Cart — بالاتر از منوی پایین موبایل */
.menu-cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 109;
  padding: 12px 0 8px;
  background: linear-gradient(to top, #ffffff 60%, transparent);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.menu-cart-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 20px;
  background: var(--theme);
  color: white;
  box-shadow: 0 8px 32px color-mix(in srgb, var(--theme) 45%, transparent);
  transition: transform 0.15s;
}
.menu-cart-btn:active { transform: scale(0.98); }
.menu-cart-count {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800;
}

.menu-overlay {
  position: fixed; inset: 0; z-index: 160;
  background: rgba(0,0,0,0.45);
  transition: opacity 0.3s;
}
.menu-sheet {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 161;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}
.menu-sheet-inner {
  background: white;
  border-radius: 28px 28px 0 0;
  max-width: 512px;
  margin: 0 auto;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.15);
}
.menu-sheet-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.menu-sheet-handle {
  width: 40px; height: 4px;
  background: #d6d3d1;
  border-radius: 2px;
  margin: 12px auto 0;
}
.menu-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f5f5f4;
}
.menu-sheet-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: #f5f5f4;
  color: #78716c;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.menu-sheet-items {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.menu-sheet-footer {
  padding: 16px 20px 28px;
  border-top: 1px solid #f5f5f4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.menu-note-input {
  width: 100%;
  border-radius: 14px;
  border: 1.5px solid #e7e5e4;
  padding: 12px 16px;
  font-size: 13px;
  outline: none;
  resize: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.menu-note-input:focus { border-color: var(--theme); }

.order-delivery-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.order-delivery-option {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 8px;
  border: 2px solid #e7e5e4;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.order-delivery-option:has(input:checked) {
  border-color: var(--theme, #e21c4b);
  background: var(--theme-light, #fde8ee);
}
.order-delivery-option span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.order-delivery-option input {
  display: none;
}

.menu-submit-btn {
  width: 100%;
  padding: 16px;
  border-radius: 18px;
  background: var(--theme);
  color: white;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 4px 20px color-mix(in srgb, var(--theme) 40%, transparent);
  transition: transform 0.15s, opacity 0.15s;
}
.menu-submit-btn:active { transform: scale(0.98); }
.menu-submit-btn:disabled { opacity: 0.6; }

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: #fafaf9;
  border-radius: 14px;
  border: 1px solid #f5f5f4;
}
.cart-row-name { font-size: 13px; font-weight: 600; color: #1c1917; }
.cart-row-price { font-size: 11px; color: #a8a29e; margin-top: 2px; }
.cart-row-qty {
  display: flex; align-items: center; gap: 8px; flex-shrink: 0;
}
.cart-row-btn {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid #e7e5e4;
  font-weight: 700;
  font-size: 16px;
  color: #57534e;
  display: flex; align-items: center; justify-content: center;
}

/* Success modal */
.menu-success-modal {
  position: fixed; inset: 0; z-index: 170;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,0.5);
  transition: opacity 0.3s;
}
.menu-success-card {
  background: white;
  border-radius: 28px;
  padding: 36px 28px;
  max-width: 340px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0,0,0,0.2);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}
.menu-success-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  font-size: 32px;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}

/* ─── Shared ─── */
.glass {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-light {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.gradient-text {
  background: linear-gradient(135deg, #ec4a6e, #f472b6, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.form-input {
  width: 100%;
  border-radius: 0.75rem;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  padding: 0.625rem 1rem;
  color: #1e293b;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: block;
  min-height: 42px;
}
.form-input:focus {
  border-color: #e21c4b;
  box-shadow: 0 0 0 3px rgba(226, 28, 75, 0.15);
}

.form-checkbox {
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 0.25rem;
  border: 1px solid #cbd5e1;
  accent-color: #e21c4b;
}

.status-pending { background: #fde8ee; color: #e21c4b; border-color: #f5b3c3; }
.status-preparing { background: #f3f8e6; color: #62850e; border-color: #c5db7a; }
.status-ready { background: #f3f8e6; color: #7aa611; border-color: #c5db7a; }
.status-delivered { background: #f1f5f9; color: #475569; border-color: #e2e8f0; }
.status-cancelled { background: #fee2e2; color: #b91c1c; border-color: #fecaca; }

.order-delivery-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid transparent;
  white-space: nowrap;
}
.order-delivery-badge--dine_in {
  background: #fde8ee;
  color: #c41840;
  border-color: #f094a8;
}
.order-delivery-badge--delivery {
  background: #f3f8e6;
  color: #4d6a0b;
  border-color: #c5db7a;
}
.order-payment-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.order-payment-badge--paid {
  background: #f3f8e6;
  color: #4d6a0b;
}
.order-payment-badge--pending {
  background: #fde8ee;
  color: #c41840;
}
.order-payment-badge--failed {
  background: #fee2e2;
  color: #b91c1c;
}
.order-payment-badge--muted {
  background: #f1f5f9;
  color: #475569;
}
.order-delivery-detail {
  background: #f3f8e6;
  border: 1px solid #c5db7a;
  border-radius: 14px;
  padding: 12px 14px;
}
.order-delivery-detail--dine_in {
  background: #fde8ee;
  border-color: #f094a8;
}
.order-delivery-detail-title {
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.order-delivery-detail-text {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}

.translate-y-full { transform: translateY(100%); }
.hidden { display: none !important; }

/* ─── Customer Account ─── */
.customer-auth-card {
  background: white;
  border-radius: 24px;
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid #f0eeeb;
}
.customer-auth-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fde8ee, #fad4de);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #c41840;
  border: 1px solid #f5b3c3;
}
.customer-auth-icon .app-icon {
  width: 32px;
  height: 32px;
}
.auth-tab-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.auth-tab-label .app-icon {
  width: 16px;
  height: 16px;
}
.customer-auth-btn {
  width: 100%;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e21c4b, #c41840);
  color: white;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 4px 20px rgba(226,28,75,0.35);
  transition: transform 0.15s;
}
.customer-auth-btn:active { transform: scale(0.98); }

.captcha-image-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 84px;
  padding: 8px 10px;
  border-radius: 0.75rem;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
}
.captcha-image {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 72px;
  display: block;
  object-fit: contain;
  object-position: center;
}
.captcha-refresh {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #57534e;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}
.captcha-refresh:hover {
  background: #fde8ee;
  border-color: #e21c4b;
  color: #c41840;
}
.captcha-input-wrap {
  margin-top: 8px;
}

.customer-order-card {
  background: white;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid #f0eeeb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.15s, transform 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
a.customer-order-card:active { transform: scale(0.99); }

.customer-orders-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.customer-welcome-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff 0%, #fde8ee 100%);
  border: 1.5px solid #f5b3c3;
  box-shadow: 0 8px 24px rgba(226, 28, 75, 0.1);
}
.customer-welcome-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.customer-welcome-avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #e21c4b, #c41840);
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(226, 28, 75, 0.28);
}
.customer-welcome-name {
  font-size: 18px;
  font-weight: 800;
  color: #1c1917;
  margin: 0;
  line-height: 1.35;
}
.customer-welcome-phone {
  font-size: 13px;
  color: #78716c;
  margin: 4px 0 0;
  font-weight: 600;
}
.customer-quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 16px;
}
.customer-quick-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 8px;
  border-radius: 14px;
  background: #fff;
  border: 1.5px solid #eceae7;
  text-decoration: none;
  color: #44403c;
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.customer-quick-action:hover {
  border-color: #f5b3c3;
  box-shadow: 0 4px 12px rgba(226, 28, 75, 0.1);
}
.customer-quick-action--highlight {
  background: #fde8ee;
  border-color: #f094a8;
}
.customer-quick-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c41840;
}
.customer-quick-action-icon .app-icon {
  width: 22px;
  height: 22px;
}
.customer-quick-action-text {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}
.customer-quick-action-badge {
  position: absolute;
  top: 6px;
  left: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 100px;
  background: #c41840;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.customer-orders-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 2px;
}
.customer-orders-title {
  font-size: 16px;
  font-weight: 800;
  color: #1c1917;
  margin: 0;
}
.customer-orders-count {
  font-size: 12px;
  font-weight: 700;
  color: #a8a29e;
  padding: 6px 10px;
  border-radius: 100px;
  background: #f5f5f4;
}
.customer-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.customer-order-card--enhanced {
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  border: 1.5px solid #eceae7;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
}
.customer-order-card-accent {
  width: 4px;
  flex-shrink: 0;
  background: #e7e5e4;
}
.customer-order-card-accent.status-pending { background: #e21c4b; }
.customer-order-card-accent.status-preparing { background: #3b82f6; }
.customer-order-card-accent.status-ready { background: #10b981; }
.customer-order-card-accent.status-delivered { background: #78716c; }
.customer-order-card-accent.status-cancelled { background: #ef4444; }
.customer-order-card-inner {
  flex: 1;
  min-width: 0;
  padding: 14px 14px 14px 12px;
}
.customer-order-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.customer-order-venue {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}
.customer-order-venue-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fde8ee, #fad4de);
  border: 1px solid #f5b3c3;
  color: #b0163c;
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.customer-order-venue-name {
  font-size: 14px;
  font-weight: 800;
  color: #1c1917;
  line-height: 1.35;
}
.customer-order-meta {
  font-size: 11px;
  color: #a8a29e;
  margin-top: 3px;
  line-height: 1.45;
  font-weight: 600;
}
.customer-order-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f5f5f4;
}
.customer-order-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}
.customer-order-item-pill {
  font-size: 10px;
  font-weight: 600;
  color: #57534e;
  background: #fafaf9;
  border: 1px solid #eceae7;
  padding: 4px 8px;
  border-radius: 100px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.customer-order-item-more {
  font-size: 10px;
  font-weight: 700;
  color: #c41840;
  padding: 4px 8px;
}
.customer-order-price {
  text-align: left;
  flex-shrink: 0;
}
.customer-order-price-old {
  font-size: 10px;
  color: #a8a29e;
  text-decoration: line-through;
}
.customer-order-price-discount {
  font-size: 10px;
  color: #059669;
  font-weight: 700;
}
.customer-order-price-total {
  font-size: 15px;
  font-weight: 800;
  color: #c41840;
  margin-top: 2px;
}
.customer-order-price-total small {
  font-size: 10px;
  font-weight: 700;
  color: #78716c;
}
.customer-orders-empty {
  margin: 0;
}
.customer-orders-cta {
  display: inline-flex;
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, #e21c4b, #c41840);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(226, 28, 75, 0.28);
}

.customer-status-badge {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid;
  white-space: nowrap;
}

.customer-timeline {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 8px;
}
.customer-timeline-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.customer-timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: #e7e5e4;
  z-index: 0;
}
.customer-timeline-step.done:not(:last-child)::after,
.customer-timeline-step.active:not(:last-child)::after {
  background: #7aa611;
}
.customer-timeline-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #e7e5e4;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #e7e5e4;
  position: relative;
  z-index: 1;
}
.customer-timeline-step.done .customer-timeline-dot {
  background: #7aa611;
  box-shadow: 0 0 0 2px #7aa611;
}
.customer-timeline-step.active .customer-timeline-dot {
  background: #e21c4b;
  box-shadow: 0 0 0 2px #e21c4b, 0 0 12px rgba(226,28,75,0.5);
  animation: tablePulse 2s infinite;
}
.customer-timeline-label {
  font-size: 9px;
  color: #a8a29e;
  text-align: center;
  line-height: 1.3;
  font-weight: 600;
}
.customer-timeline-step.done .customer-timeline-label {
  color: #7aa611;
}
.customer-timeline-step.active .customer-timeline-label {
  color: #e21c4b;
}

/* Order detail */
.order-detail-back {
  display: inline-block;
  font-size: 13px;
  color: #78716c;
  margin-bottom: 16px;
  text-decoration: none;
  font-weight: 600;
}
.order-detail-back:hover { color: #e21c4b; }

.order-detail-hero {
  background: white;
  border-radius: 24px;
  padding: 18px;
  border: 1px solid #f0eeeb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  margin-bottom: 16px;
  overflow: hidden;
  position: relative;
}
.order-detail-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: var(--venue-theme, #e21c4b);
}
.order-detail-hero-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.order-detail-venue-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--venue-theme, #e21c4b);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.order-detail-venue-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-detail-hero-text { flex: 1; min-width: 0; }
.order-detail-venue-name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
}
.order-detail-meta {
  font-size: 12px;
  color: #78716c;
  margin-top: 4px;
}
.order-detail-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}
.order-detail-timeline { margin-top: 18px; }
.order-detail-cancelled {
  margin-top: 14px;
  padding: 12px 14px;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
}

.order-detail-card {
  background: white;
  border-radius: 24px;
  padding: 18px;
  border: 1px solid #f0eeeb;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
.order-detail-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.order-detail-card-head h2 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
}
.order-detail-item-count {
  font-size: 11px;
  font-weight: 700;
  color: #a8a29e;
  background: #f5f5f4;
  padding: 4px 10px;
  border-radius: 100px;
}

.order-detail-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-detail-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fafaf9;
  border: 1px solid #f0eeeb;
  border-radius: 18px;
}
.order-detail-item-thumb {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: white;
  border: 1px solid #e7e5e4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-detail-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-detail-item-fallback {
  font-size: 28px;
  line-height: 1;
}
.order-detail-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.order-detail-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
.order-detail-item-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0;
}
.order-detail-item-subtotal {
  font-size: 14px;
  font-weight: 800;
  color: #e21c4b;
  white-space: nowrap;
}
.order-detail-item-subtotal small {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.8;
}
.order-detail-item-desc {
  font-size: 11px;
  color: #a8a29e;
  line-height: 1.45;
  margin: 0;
}
.order-detail-item-meta {
  font-size: 11px;
  color: #78716c;
  font-weight: 600;
}
.order-detail-item-qty {
  display: inline-block;
  background: white;
  border: 1px solid #e7e5e4;
  border-radius: 100px;
  padding: 2px 10px;
}

.order-detail-note,
.order-detail-delivery {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 13px;
  line-height: 1.5;
}
.order-detail-note {
  background: #f5f5f4;
  color: #57534e;
}
.order-detail-note-icon { flex-shrink: 0; }
.order-detail-note p { margin: 0; }
.order-detail-delivery {
  background: #fde8ee;
  border: 1px solid #f5b3c3;
  color: #8f1230;
}
.order-detail-delivery-icon { flex-shrink: 0; font-size: 18px; }
.order-detail-delivery-title {
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 2px;
  opacity: 0.85;
}
.order-detail-delivery p { margin: 0; }

.order-detail-summary {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed #e7e5e4;
}
.order-detail-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #57534e;
  margin-bottom: 8px;
}
.order-detail-summary-row--total {
  font-size: 16px;
  font-weight: 800;
  color: #1c1917;
  margin-top: 10px;
  margin-bottom: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0eeeb;
}
.order-detail-summary-row--total span:last-child {
  color: #c41840;
}
.order-detail-summary-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #a8a29e;
  font-weight: 600;
}
.order-detail-ref {
  margin-top: 8px;
  font-size: 11px;
  color: #78716c;
  background: #f5f5f4;
  border-radius: 10px;
  padding: 6px 10px;
  text-align: center;
}

.order-pricing-box {
  background: #fafaf9;
  border: 1px solid #f0eeeb;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 12px;
}
.order-pricing-box--discounted {
  background: linear-gradient(135deg, #fde8ee, #fafaf9);
  border-color: #f5b3c3;
}
.order-pricing-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #57534e;
  padding: 4px 0;
}
.order-pricing-row--discount {
  color: #7aa611;
  font-weight: 600;
}
.order-pricing-row--total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px dashed #e7e5e4;
  font-size: 16px;
  font-weight: 800;
  color: #1c1917;
}
.order-pricing-row--total span:last-child {
  color: #e21c4b;
}
.order-pricing-code {
  display: inline-block;
  margin-right: 4px;
  padding: 1px 6px;
  background: #ecfdf5;
  border-radius: 6px;
  font-size: 10px;
}
.order-pricing-note {
  font-size: 11px;
  color: #78716c;
  margin: 4px 0 0;
}

.order-promo-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 100px;
  background: #fde8ee;
  border: 1px solid #f5b3c3;
  color: #b0163c;
}
.order-promo-hint {
  line-height: 1.5;
}
.order-promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: right;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #f5b3c3;
  background: #fde8ee;
  transition: border-color 0.15s, background 0.15s;
}
.order-promo-card--active {
  border-color: #c41840;
  background: #fad4de;
  box-shadow: 0 0 0 2px rgba(196, 24, 64, 0.15);
}
.order-promo-card-code {
  font-size: 13px;
  font-weight: 800;
  color: #b0163c;
  font-family: ui-monospace, monospace;
  direction: ltr;
}
.order-promo-card-label {
  font-size: 11px;
  font-weight: 600;
  color: #8f1230;
}
.order-cart-pricing {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 12px;
}
.order-cart-pricing-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #57534e;
  padding: 2px 0;
}
.order-cart-pricing-row--discount { color: #059669; font-weight: 600; }
.order-cart-pricing-row--total {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px dashed #bbf7d0;
  font-weight: 800;
  color: #1c1917;
}
.order-cart-pricing-row--total span:last-child { color: #c41840; }

.venue-account-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  color: white;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.venue-account-chip-login {
  background: var(--theme);
  border-color: transparent;
  box-shadow: 0 4px 16px var(--theme-glow);
}
.venue-type-label {
  font-size: 12px;
  color: #a8a29e;
  margin-top: 2px;
  margin-bottom: 2px;
}

/* ─── Dashboard Overview ─── */
.dash-stat-card {
  background: white;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.dash-stat-value {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}
.dash-stat-label {
  font-size: 11px;
  color: #94a3b8;
  margin-top: 4px;
  font-weight: 500;
}

.dash-order-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.dash-order-filter {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #f1f5f9;
  color: #475569;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.dash-order-filter:hover {
  background: #fde8ee;
  color: #c41840;
}
.dash-order-filter.is-on {
  background: #e21c4b;
  color: #fff;
}
.dash-order-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dash-order-card {
  background: #fff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  padding: 16px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dash-order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.dash-order-idblock {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.dash-order-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: #e21c4b;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.dash-order-avatar--delivery {
  background: #7aa611;
}
.dash-order-avatar-kicker {
  font-size: 9px;
  opacity: 0.8;
  font-weight: 700;
}
.dash-order-avatar-num {
  font-size: 18px;
  font-weight: 800;
}
.dash-order-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}
.dash-order-status {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid transparent;
}
.dash-order-sub {
  margin: 4px 0 0;
  font-size: 12px;
  color: #94a3b8;
}
.dash-order-total {
  text-align: left;
  flex-shrink: 0;
  color: #e21c4b;
}
.dash-order-total strong {
  font-size: 18px;
  font-weight: 800;
}
.dash-order-total span {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}
.dash-order-old {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  text-decoration: line-through;
}
.dash-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.dash-order-items {
  margin: 0;
  padding: 10px 12px;
  list-style: none;
  background: #f8fafc;
  border-radius: 14px;
}
.dash-order-items li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #334155;
  padding: 6px 0;
}
.dash-order-items li + li {
  border-top: 1px dashed #e2e8f0;
}
.dash-order-qty {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}
.dash-order-item-price {
  font-weight: 700;
  color: #475569;
  font-variant-numeric: tabular-nums;
}
.dash-order-note,
.dash-order-address,
.dash-order-ref {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.6;
  background: #f8fafc;
  color: #475569;
}
.dash-order-note { color: #64748b; }
.dash-order-address {
  background: #f3f8e6;
  color: #4d6a0b;
}
.dash-order-card .order-pricing-box {
  margin: 0;
  padding: 12px 14px;
  border-radius: 14px;
}
.dash-order-discount {
  border: 1px solid #fad4de;
  background: #fde8ee;
  border-radius: 14px;
  padding: 0;
}
.dash-order-discount summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  color: #c41840;
}
.dash-order-discount summary::-webkit-details-marker { display: none; }
.dash-order-discount-body {
  padding: 0 12px 12px;
}
.dash-order-discount-clear {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 8px;
}
.dash-order-discount-clear button {
  border: 1px solid #fecaca;
  background: #fff;
  color: #b91c1c;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.dash-order-discount-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dash-order-discount-form input[name="note"] {
  grid-column: 1 / -1;
}
.dash-order-discount-form button {
  grid-column: 1 / -1;
  background: #e21c4b;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}
.dash-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}
.dash-order-btn {
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
}
.dash-order-btn--primary {
  background: #e21c4b;
  color: #fff;
}
.dash-order-btn--accent {
  background: #7aa611;
  color: #fff;
}
.dash-order-btn--ghost {
  background: #fff;
  color: #64748b;
  border-color: #e2e8f0;
}
.dash-order-btn--ghost:hover {
  background: #fef2f2;
  color: #b91c1c;
  border-color: #fecaca;
}
@media (max-width: 640px) {
  .dash-order-head {
    flex-direction: column;
  }
  .dash-order-total {
    text-align: right;
    padding-right: 60px;
  }
  .dash-order-discount-form {
    grid-template-columns: 1fr;
  }
  .dash-order-actions {
    flex-direction: column;
  }
  .dash-order-btn {
    width: 100%;
  }
}

.dash-quick-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: white;
  border-radius: 18px;
  padding: 16px 18px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  transition: box-shadow 0.15s, border-color 0.15s, transform 0.15s;
  text-decoration: none;
}
.dash-quick-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  border-color: #f5b3c3;
  transform: translateY(-1px);
}
.dash-quick-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.dash-quick-badge {
  position: absolute;
  top: -6px;
  left: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 100px;
  background: #ef4444;
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

.dash-panel {
  background: white;
  border-radius: 18px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  overflow: hidden;
}
html {
  background: #ffffff;
}
.site-body {
  background: #ffffff;
  color: #171717;
  -webkit-tap-highlight-color: transparent;
  padding-top: 61px;
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

/* App icons — Lucide-style SVG system */
.app-icon {
  display: block;
  flex-shrink: 0;
  stroke: currentColor;
}
.app-icon--sm { width: 16px; height: 16px; }
.app-icon--md { width: 20px; height: 20px; }
.app-icon--lg { width: 24px; height: 24px; }
.app-icon--brand { color: #e21c4b; }
.app-icon--muted { color: #a8a29e; }
.app-icon--white { color: #fff; }
.app-icon-inline {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  gap: 6px;
}
.app-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.icon-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.icon-chip .app-icon {
  color: #c41840;
}
.site-body .venue-tabs-wrap.sticky {
  top: 61px !important;
  z-index: 90;
}
.site-landing { background: #ffffff; color: #1c1917; }

/* Site header */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 1.0);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e7e5e4;
}
.site-header-inner {
  max-width: 512px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 10px 16px;
  gap: 12px;
}
.site-menu-btn {
  width: 40px; height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
  background: white;
  border: 1px solid #e7e5e4;
  flex-shrink: 0;
}
.site-menu-btn span {
  display: block;
  width: 18px; height: 2px;
  background: #44403c;
  border-radius: 1px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #1c1917;
  font-weight: 800;
  min-width: 0;
  flex: 1;
}
.site-logo-icon {
  height: 40px;
  width: auto;
  max-width: min(220px, 58vw);
  border-radius: 0;
  object-fit: contain;
  object-position: right center;
  display: block;
  flex-shrink: 1;
  background: transparent;
}
.site-logo-text {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #1c1917;
}
.site-header-action {
  font-size: 13px;
  font-weight: 600;
  color: #e21c4b;
  text-decoration: none;
  padding: 8px 12px;
  background: #fde8ee;
  border-radius: 100px;
}
.site-header-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 42%;
  padding: 8px 10px;
  background: #fde8ee;
  border: 1px solid #f5b3c3;
  border-radius: 100px;
  color: #b0163c;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
}
.site-header-location-icon {
  display: inline-flex;
  align-items: center;
  color: #c41840;
  flex-shrink: 0;
}
.site-header-location-icon .app-icon {
  width: 16px;
  height: 16px;
}
.site-header-location-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: white;
  border: 1px solid #e7e5e4;
  text-decoration: none;
  flex-shrink: 0;
}
.site-header-cart-icon {
  display: inline-flex;
  align-items: center;
  color: #44403c;
  line-height: 1;
}
.site-header-cart-icon .app-icon {
  width: 20px;
  height: 20px;
}
.site-header-cart-badge {
  position: absolute;
  top: -4px;
  left: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 100px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.site-tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: flex;
  align-items: stretch;
  max-width: 512px;
  margin: 0 auto;
  padding: 6px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid #e7e5e4;
  box-shadow: 0 -8px 24px rgba(28, 25, 23, 0.06);
}
.site-tabbar-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: #78716c;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  border-radius: 12px;
}
.site-tabbar-item.is-active {
  color: #e21c4b;
}
.site-tabbar-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
}
.site-tabbar-icon .app-icon {
  width: 22px;
  height: 22px;
}
.site-tabbar-label {
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.site-tabbar-badge {
  position: absolute;
  top: -5px;
  left: -8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 100px;
  background: #ef4444;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.site-catsheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: rgba(28, 25, 23, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.site-catsheet-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.site-catsheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 150;
  max-width: 512px;
  margin: 0 auto;
  max-height: min(70vh, 480px);
  padding: 10px 16px calc(88px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.14);
  transform: translateY(110%);
  transition: transform 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: auto;
}
.site-catsheet.open {
  transform: translateY(0);
}
.site-catsheet-handle {
  width: 40px;
  height: 4px;
  margin: 4px auto 14px;
  border-radius: 100px;
  background: #e7e5e4;
}
.site-catsheet-title {
  font-size: 16px;
  font-weight: 800;
  color: #1c1917;
  margin: 0 4px 12px;
}
.site-catsheet-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.site-catsheet-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 12px;
  border-radius: 14px;
  background: #fafaf9;
  border: 1px solid #f0eeeb;
  text-decoration: none;
  color: #1c1917;
}
.site-catsheet-link-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f3f8e6;
  color: #7aa611;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.site-catsheet-link-text {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}
.site-catsheet-link-arrow {
  color: #a8a29e;
  display: inline-flex;
}
.site-catsheet-empty {
  text-align: center;
  color: #a8a29e;
  font-size: 13px;
  padding: 20px 8px;
}

/* Location picker */
.loc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.loc-grid--enhanced {
  gap: 12px;
}
.loc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 18px 12px;
  background: white;
  border: 1px solid #f0eeeb;
  border-radius: 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
  color: inherit;
  position: relative;
}
.loc-card--enhanced {
  align-items: stretch;
  text-align: right;
  padding: 16px 14px 14px;
  border-radius: 18px;
  border: 1.5px solid #eceae7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  min-height: 118px;
}
.loc-card--enhanced:hover {
  border-color: #f094a8;
  box-shadow: 0 8px 24px rgba(226, 28, 75, 0.12);
}
.loc-card:active,
.loc-card--enhanced:active {
  transform: scale(0.985);
}
.loc-card-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fde8ee, #fad4de);
  border: 1px solid #f5b3c3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c41840;
  margin-bottom: 12px;
}
.loc-card-icon-wrap .app-icon {
  width: 20px;
  height: 20px;
}
.loc-card--city .loc-card-icon-wrap {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #bfdbfe;
  color: #2563eb;
}
.loc-card-name {
  font-size: 15px;
  font-weight: 800;
  color: #1c1917;
  line-height: 1.35;
}
.loc-card-meta {
  font-size: 12px;
  color: #78716c;
  margin-top: 6px;
  font-weight: 600;
}
.loc-card-meta--muted {
  color: #a8a29e;
}
.loc-card-arrow {
  position: absolute;
  left: 14px;
  bottom: 14px;
  color: #f094a8;
  display: inline-flex;
}
.loc-card-arrow .app-icon {
  width: 14px;
  height: 14px;
}
.loc-page-hero {
  margin: 0 16px 20px;
  padding: 22px 20px;
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fde8ee 100%);
  border: 1.5px solid #f5b3c3;
  box-shadow: 0 8px 28px rgba(226, 28, 75, 0.1);
  text-align: center;
}
.loc-page-hero--city {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border-color: #bfdbfe;
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.08);
}
.loc-page-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #78716c;
  margin-bottom: 14px;
  text-decoration: none;
}
.loc-page-back:hover { color: #c41840; }
.loc-page-hero-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 18px;
  background: #fff;
  border: 1.5px solid #f5b3c3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c41840;
  box-shadow: 0 4px 14px rgba(226, 28, 75, 0.12);
}
.loc-page-hero-icon .app-icon {
  width: 28px;
  height: 28px;
}
.loc-page-hero--city .loc-page-hero-icon {
  border-color: #bfdbfe;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.1);
}
.loc-page-title {
  font-size: 24px;
  font-weight: 800;
  color: #1c1917;
  line-height: 1.35;
}
.loc-page-desc {
  font-size: 14px;
  color: #78716c;
  margin-top: 8px;
  line-height: 1.7;
}
.loc-page-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 10px 16px;
  border-radius: 100px;
  background: #fff;
  border: 1.5px solid #e7e5e4;
  font-size: 13px;
  font-weight: 700;
  color: #57534e;
  text-decoration: none;
}
.loc-page-content {
  padding: 0 16px 32px;
}
.loc-page-count {
  font-size: 12px;
  font-weight: 700;
  color: #a8a29e;
  margin: 0 4px 12px;
}
.loc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 14px;
  border: 1.5px solid #e7e5e4;
  border-radius: 16px;
  background: #fff;
}
.loc-search-icon {
  color: #a8a29e;
  display: inline-flex;
}
.loc-search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14px;
  font-weight: 600;
  color: #171717;
}
.loc-search-input::placeholder {
  color: #a8a29e;
  font-weight: 500;
}
.loc-empty {
  grid-column: 1 / -1;
}
.site-location-page {
  background: #ffffff;
}
.site-main--location {
  padding-bottom: 8px;
}
.loc-load-more {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 16px;
  border: 1.5px solid #e7e5e4;
  background: white;
  color: #44403c;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.loc-load-more:hover:not(:disabled) {
  border-color: #f094a8;
  color: #c41840;
}
.loc-load-more:disabled {
  opacity: 0.6;
  cursor: wait;
}

/* Drawer */
.site-drawer-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(28, 25, 23, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.site-drawer-overlay.open { opacity: 1; pointer-events: auto; }

.site-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(320px, 88vw);
  z-index: 201;
  background: linear-gradient(180deg, #ffffff 0%, #fafaf9 100%);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.14);
  border-left: 1px solid #f0eeeb;
}
.site-drawer.open { transform: translateX(0); }

.site-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid #f0eeeb;
  background: rgba(255, 255, 255, 0.9);
}
.site-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.site-drawer-brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(226, 28, 75, 0.18);
}
.site-drawer-brand-text {
  font-size: 14px;
  font-weight: 800;
  color: #1c1917;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1.5px solid #e7e5e4;
  background: #fff;
  color: #78716c;
  font-size: 16px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.site-drawer-close:hover {
  background: #fde8ee;
  border-color: #f5b3c3;
  color: #c41840;
}
.site-drawer-body {
  padding: 14px 14px 24px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.site-drawer-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-drawer-group-title {
  margin: 0;
  padding: 0 6px 2px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: #a8a29e;
}
.site-drawer-link {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid #eceae7;
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
  font-size: 14px;
  font-weight: 700;
  color: #44403c;
  text-decoration: none;
  text-align: right;
  transition: background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.12s;
}
.site-drawer-link:hover {
  border-color: #f5b3c3;
  background: #fffaf5;
  color: #b0163c;
  box-shadow: 0 4px 14px rgba(226, 28, 75, 0.1);
}
.site-drawer-link:active {
  transform: scale(0.985);
}
.site-drawer-link-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #f5f5f4;
  border: 1px solid #eceae7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #c41840;
}
.site-drawer-link-icon .app-icon {
  width: 18px;
  height: 18px;
}
.site-drawer-link-text {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
}
.site-drawer-link-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 100px;
  background: #c41840;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.site-drawer-link--location {
  background: #fde8ee;
  border-color: #f094a8;
}
.site-drawer-link--location .site-drawer-link-icon {
  background: #fad4de;
  border-color: #f094a8;
}
.site-drawer-link--location-active {
  background: linear-gradient(135deg, #fde8ee, #fad4de);
  border-color: #f094a8;
  color: #8f1230;
}
.site-drawer-link--location-active .site-drawer-link-icon {
  background: #fff;
  border-color: #f094a8;
}
.site-drawer-link--muted {
  background: #fafaf9;
  border-color: #e7e5e4;
  color: #57534e;
}
.site-drawer-link--muted .site-drawer-link-icon {
  background: #f5f5f4;
}
.site-drawer-link--category .site-drawer-link-icon {
  background: #f3f8e6;
  border-color: #c5db7a;
}
.site-drawer-link--premium {
  background: linear-gradient(135deg, #fde8ee 0%, #ffffff 100%);
  border-color: #f094a8;
}
.site-drawer-link--premium .site-drawer-link-icon {
  background: linear-gradient(135deg, #fad4de, #f5b3c3);
  border-color: #f094a8;
}
.site-drawer-link--accent {
  background: linear-gradient(135deg, #fde8ee, #ffffff);
  border-color: #f094a8;
  color: #b0163c;
}
.site-drawer-link--accent .site-drawer-link-icon {
  background: #fad4de;
  border-color: #f094a8;
}
.site-drawer-link--cart {
  border-color: #f5b3c3;
  background: #fffaf5;
}
.site-drawer-link--admin {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: #334155;
}
.site-drawer-link--admin .site-drawer-link-icon {
  background: #e2e8f0;
  border-color: #cbd5e1;
}
.site-drawer-link--danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.site-drawer-link--danger .site-drawer-link-icon {
  background: #fee2e2;
  border-color: #fecaca;
}
.site-drawer-link--danger:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #991b1b;
}
.site-drawer-divider {
  border: none;
  border-top: 1px solid #f0eeeb;
  margin: 4px 0;
}

/* Landing */
.site-main { max-width: 512px; margin: 0 auto; }
.site-main--landing {
  padding-top: 0;
  padding-bottom: 28px;
}
.site-hero {
  padding: 0 20px 32px;
  text-align: center;
}
.site-hero--enhanced {
  position: relative;
  padding: 16px 16px 32px;
  text-align: center;
  overflow: hidden;
}
.site-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.site-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0.55;
}
.site-hero-orb--1 {
  width: 180px;
  height: 180px;
  background: #e21c4b;
  top: -40px;
  right: -30px;
}
.site-hero-orb--2 {
  width: 140px;
  height: 140px;
  background: #7aa611;
  bottom: 10px;
  left: -20px;
}
.site-hero-inner {
  position: relative;
  z-index: 1;
  padding: 36px 18px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(8px);
}
.site-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #f3f8e6;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: #62850e;
  border: 1px solid #c5db7a;
  margin-bottom: 16px;
}
.site-hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7aa611;
  animation: tablePulse 2s infinite;
}
.site-hero-title {
  font-size: 26px;
  font-weight: 800;
  line-height: 1.45;
  color: #171717;
}
.site-hero-location-name {
  display: block;
  margin-top: 4px;
  color: #7aa611;
}
.site-hero-desc {
  font-size: 14px;
  color: #3f3f46;
  margin-top: 12px;
  line-height: 1.7;
}
.site-hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.site-hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid #c5db7a;
  background: #f3f8e6;
  color: #62850e;
}
.site-hero-chip--ghost {
  background: #fff;
  border-color: #e7e5e4;
  color: #57534e;
}
.site-hero-location-clear {
  display: inline-block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: #c41840;
  text-decoration: none;
}

.site-section {
  padding: 8px 0 24px;
}
.site-section--card {
  margin: 0 16px 16px;
  padding: 16px 0 12px;
  background: #fff;
  border-radius: 22px;
  border: 1.5px solid #f0eeeb;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}
.site-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 12px;
  gap: 12px;
}
.site-section-header--center {
  flex-direction: column;
  text-align: center;
  padding-bottom: 16px;
}
.site-section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.site-section-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f3f8e6, #e8f0d1);
  border: 1px solid #c5db7a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.site-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #171717;
  line-height: 1.3;
}
.site-section-subtitle {
  font-size: 12px;
  color: #a8a29e;
  margin-top: 2px;
  font-weight: 600;
}
.site-section-subtitle--center {
  margin-top: 6px;
}
.site-section-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #c41840;
  background: #fde8ee;
  border: 1px solid #f5b3c3;
  text-decoration: none;
  flex-shrink: 0;
}

.site-venue-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px 8px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.site-venue-scroll::-webkit-scrollbar { display: none; }

.site-venue-card {
  flex: 0 0 160px;
  scroll-snap-align: start;
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #f0eeeb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.site-venue-card--enhanced {
  flex: 0 0 168px;
  border: 1.5px solid #eceae7;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.site-venue-card--enhanced:hover {
  box-shadow: 0 8px 22px rgba(226, 28, 75, 0.12);
}
.site-venue-card:active { transform: scale(0.97); }
.site-venue-card-grid { flex: unset; width: 100%; }

.site-venue-card-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f4;
  position: relative;
}
.site-venue-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.site-venue-card-tag {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #f0eeeb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.site-venue-card-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.site-venue-card-body { padding: 10px 12px 12px; }
.site-venue-card-name {
  font-size: 13px;
  font-weight: 700;
  color: #1c1917;
  line-height: 1.3;
}
.site-venue-card-meta { font-size: 11px; color: #a8a29e; margin-top: 2px; }
.site-venue-card-desc { font-size: 10px; color: #a8a29e; margin-top: 4px; line-height: 1.4; }

.site-empty-msg {
  text-align: center;
  color: #a8a29e;
  font-size: 14px;
  padding: 24px 16px;
}
.site-empty-state {
  text-align: center;
  padding: 32px 20px;
  margin: 0 16px;
  background: #fff;
  border-radius: 20px;
  border: 1.5px dashed #e7e5e4;
}
.site-empty-state--inline {
  margin: 0 16px 8px;
  padding: 24px 16px;
}
.site-empty-state-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #fde8ee;
  border: 1px solid #f5b3c3;
  color: #c41840;
}
.site-empty-state-icon .app-icon {
  width: 28px;
  height: 28px;
}
.site-empty-state-title {
  font-size: 15px;
  font-weight: 800;
  color: #44403c;
  margin: 0;
}
.site-empty-state-desc {
  font-size: 13px;
  color: #a8a29e;
  margin: 8px 0 0;
  line-height: 1.6;
}
.site-empty-state p {
  margin: 0;
  font-size: 14px;
  color: #78716c;
}

.site-features { padding: 8px 16px 32px; }
.site-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.site-feature-card {
  background: white;
  border-radius: 16px;
  padding: 14px 10px;
  text-align: center;
  border: 1px solid #f0eeeb;
}
.site-feature-card--enhanced {
  padding: 16px 10px;
  border-radius: 18px;
  border: 1.5px solid #eceae7;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.site-feature-card-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f3f8e6;
  border: 1px solid #c5db7a;
  color: #7aa611;
}
.site-feature-card-icon .app-icon {
  width: 20px;
  height: 20px;
}
.site-feature-card--enhanced h3 {
  font-size: 12px;
  font-weight: 800;
  color: #1c1917;
  margin: 10px 0 0;
}
.site-feature-card--enhanced p {
  font-size: 10px;
  color: #78716c;
  margin: 6px 0 0;
  line-height: 1.55;
}

.site-footer {
  text-align: center;
  padding: 32px 24px 16px;
  font-size: 12px;
  color: #a8a29e;
  border-top: 1px solid #e7e5e4;
}

/* Landing — subscription CTA */
.site-subscribe-cta {
  margin: 0 16px 28px;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #1c1917 0%, #292524 50%, #44403c 100%);
  box-shadow: 0 12px 40px rgba(226, 28, 75, 0.18), 0 8px 24px rgba(122, 166, 17, 0.14);
}
.site-subscribe-cta-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(122, 166, 17, 0.4);
  filter: blur(60px);
  top: -60px;
  left: -40px;
  pointer-events: none;
}
.site-subscribe-cta-content {
  position: relative;
  z-index: 1;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.site-subscribe-cta-icon {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}
.site-subscribe-cta-title {
  font-size: 18px;
  font-weight: 800;
  color: white;
  line-height: 1.4;
}
.site-subscribe-cta-desc {
  font-size: 13px;
  color: #d6d3d1;
  line-height: 1.7;
  margin-top: 4px;
}
.site-subscribe-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  background: linear-gradient(135deg, #e21c4b, #c41840);
  color: white;
  font-weight: 700;
  font-size: 14px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(226, 28, 75, 0.45);
  transition: transform 0.15s, box-shadow 0.15s;
}
.site-subscribe-cta-btn:active {
  transform: scale(0.98);
}
.site-subscribe-cta-arrow {
  font-size: 16px;
  opacity: 0.9;
}

/* Subscription page */
.site-subscription-page .site-main {
  max-width: 560px;
}
.sub-hero {
  padding: 16px 20px 28px;
  text-align: center;
}
.sub-back {
  display: inline-block;
  font-size: 13px;
  color: #78716c;
  margin-bottom: 16px;
}
.sub-hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: #fde8ee;
  color: #c41840;
  border: 1px solid #f5b3c3;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 14px;
}
.sub-hero-title {
  font-size: 26px;
  font-weight: 800;
  color: #1c1917;
  line-height: 1.4;
}
.sub-hero-desc {
  font-size: 14px;
  color: #78716c;
  margin-top: 10px;
  line-height: 1.7;
}
.sub-plans {
  padding: 0 16px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.sub-plan-card {
  position: relative;
  background: white;
  border: 1.5px solid #f0eeeb;
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.sub-plan-card--featured {
  border-color: #f094a8;
  box-shadow: 0 8px 32px rgba(226, 28, 75, 0.15);
}
.sub-plan-ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #e21c4b, #c41840);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
}
.sub-plan-name {
  font-size: 20px;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 12px;
}
.sub-plan-card--featured .sub-plan-name {
  margin-top: 8px;
}
.sub-plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.sub-plan-amount {
  font-size: 32px;
  font-weight: 800;
  color: #c41840;
  letter-spacing: -0.02em;
}
.sub-plan-currency {
  font-size: 14px;
  font-weight: 600;
  color: #78716c;
}
.sub-plan-period {
  font-size: 13px;
  color: #a8a29e;
  margin-bottom: 12px;
}
.sub-plan-desc {
  font-size: 13px;
  color: #57534e;
  line-height: 1.6;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f5f5f4;
}
.sub-plan-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #44403c;
  line-height: 1.5;
}
.sub-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #059669;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sub-plan-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 16px;
  font-weight: 700;
  font-size: 15px;
  background: #f5f5f4;
  color: #1c1917;
  transition: background 0.15s;
}
.sub-plan-card--featured .sub-plan-btn {
  background: linear-gradient(135deg, #e21c4b, #c41840);
  color: white;
  box-shadow: 0 4px 16px rgba(226, 28, 75, 0.35);
}
.sub-benefits {
  padding: 8px 16px 28px;
}
.sub-section-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 16px;
  text-align: center;
  color: #1c1917;
}
.sub-benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sub-benefit-card {
  background: white;
  border: 1px solid #f0eeeb;
  border-radius: 16px;
  padding: 14px 12px;
  text-align: center;
}
.sub-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 8px;
  border-radius: 14px;
  background: #fde8ee;
  border: 1px solid #f5b3c3;
  color: #c41840;
}
.sub-benefit-icon .app-icon {
  width: 24px;
  height: 24px;
}
.sub-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  flex-shrink: 0;
}
.sub-check .app-icon {
  width: 14px;
  height: 14px;
}
.sub-benefit-card h3 {
  font-size: 13px;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 4px;
}
.sub-benefit-card p {
  font-size: 11px;
  color: #78716c;
  line-height: 1.5;
}
.sub-cta {
  padding: 0 16px 32px;
}
.sub-cta-inner {
  background: linear-gradient(145deg, #fde8ee, #fad4de);
  border: 1px solid #f5b3c3;
  border-radius: 24px;
  padding: 28px 20px;
  text-align: center;
}
.sub-cta-inner h2 {
  font-size: 20px;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 8px;
}
.sub-cta-inner p {
  font-size: 13px;
  color: #78716c;
  line-height: 1.6;
  margin-bottom: 20px;
}
.sub-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sub-cta-btn {
  display: block;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}
.sub-cta-btn--primary {
  background: linear-gradient(135deg, #e21c4b, #c41840);
  color: white;
  box-shadow: 0 4px 16px rgba(226, 28, 75, 0.3);
}
.sub-cta-btn--ghost {
  background: white;
  color: #57534e;
  border: 1px solid #e7e5e4;
}

.place-qr-banner {
  padding: 12px 16px;
  background: var(--theme-light);
  border: 1.5px dashed color-mix(in srgb, var(--theme) 40%, transparent);
  border-radius: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--theme);
  text-align: center;
  justify-content: center;
}
.place-qr-banner .app-icon {
  color: var(--theme, #c41840);
}

.dash-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #f8fafc;
  background: #fafafa;
}

.dashboard-logout-form { display: inline-flex; }
.dashboard-logout-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #94a3b8;
  padding: 8px 12px;
  border-radius: 12px;
  transition: color 0.15s, background 0.15s;
}
.dashboard-logout-btn:hover {
  color: #ef4444;
  background: #fef2f2;
}
.dashboard-logout-form--sidebar .dashboard-logout-btn {
  width: 100%;
  justify-content: flex-start;
  color: #94a3b8;
  padding: 10px 16px;
}
.dashboard-logout-form--sidebar .dashboard-logout-btn:hover {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
}
.dashboard-logout-form--header .dashboard-logout-btn {
  flex-shrink: 0;
  padding: 6px 10px;
  font-size: 12px;
  border: 1px solid #fecaca;
  color: #dc2626;
  background: #fff5f5;
}
.dashboard-logout-form--header .dashboard-logout-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
}
.dashboard-logout-form--home .dashboard-logout-btn {
  padding: 10px 20px;
  border: 1px solid #e2e8f0;
  color: #64748b;
  background: white;
}
.dashboard-logout-form--home .dashboard-logout-btn:hover {
  border-color: #fecaca;
  color: #dc2626;
  background: #fff5f5;
}

.dashboard-panel-toolbar {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 16px;
  position: sticky;
  top: 0;
  z-index: 30;
}
.dashboard-panel-toolbar--home {
  max-width: none;
}
.dashboard-manager-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 80rem;
  margin: 0 auto;
}
.dashboard-manager-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.dashboard-manager-avatar {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #1e293b;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.dashboard-manager-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.dashboard-manager-label {
  font-size: 11px;
  color: #94a3b8;
}
.dashboard-manager-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dashboard-logout-form--panel .dashboard-logout-btn {
  padding: 8px 14px;
  border: 1px solid #fecaca;
  color: #dc2626;
  background: #fff5f5;
  border-radius: 12px;
  font-size: 13px;
}
.dashboard-logout-form--panel .dashboard-logout-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
}

/* Dashboard drawer navigation */
.dash-menu-btn {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 12px;
  background: white;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
  cursor: pointer;
}
.dash-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #334155;
  border-radius: 1px;
}
.dashboard-manager-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}
.dashboard-venue-title {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.dashboard-venue-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dashboard-venue-name {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.dash-drawer-open {
  overflow: hidden;
}

.dash-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.dash-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.dash-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(300px, 88vw);
  z-index: 301;
  background: #0f172a;
  color: white;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.25);
}
.dash-drawer.open {
  transform: translateX(0);
}
.dash-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.dash-drawer-venue {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.dash-drawer-venue-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.dash-drawer-venue-name {
  font-size: 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-drawer-venue-label {
  font-size: 11px;
  color: #94a3b8;
}
.dash-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  margin: 0;
  line-height: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.dash-drawer-close .app-icon {
  display: block;
  width: 18px;
  height: 18px;
}
.dash-drawer-body {
  padding: 12px;
  overflow-y: auto;
  flex: 1;
}
.dash-drawer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 10px 4px;
}
.dash-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.dash-nav-link:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}
.dash-nav-link--active {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}
.dash-nav-link--sm {
  font-size: 13px;
  padding: 10px 14px;
}
.dash-nav-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: inherit;
}
.dash-nav-icon .app-icon {
  width: 18px;
  height: 18px;
}
.bank-info-row {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 12px;
  padding: 10px 12px;
}
.bank-info-row dt {
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.bank-info-row dd {
  font-weight: 600;
  color: #1e293b;
  word-break: break-all;
}

/* Dashboard — customers page */
.dash-customers-page {
  padding-bottom: 24px;
}
.dash-customers-hero {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 24px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}
.dash-customers-hero-glow {
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: var(--venue-color, #e21c4b);
  opacity: 0.12;
  filter: blur(40px);
  pointer-events: none;
}
.dash-customers-hero-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.dash-customers-hero-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--venue-color, #e21c4b);
  margin-bottom: 6px;
}
.dash-customers-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: white;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e21c4b;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  flex-shrink: 0;
}
.dash-customers-stat {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dash-customers-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.dash-customers-panel-header {
  padding: 18px 20px;
}
.dash-customers-count-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 100px;
  background: #f1f5f9;
  color: #475569;
}
.dash-customers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
}
@media (min-width: 640px) {
  .dash-customers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.dash-customer-card {
  background: #fafbfc;
  border: 1px solid #e8edf2;
  border-radius: 18px;
  padding: 16px;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}
.dash-customer-card:hover {
  background: #fff;
  border-color: #cbd5e1;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.dash-customer-card-top {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}
.dash-customer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.dash-customer-name {
  font-size: 15px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.dash-customer-phone {
  display: block;
  font-size: 13px;
  color: #64748b;
  margin-top: 2px;
  text-decoration: none;
  direction: ltr;
  text-align: right;
}
.dash-customer-phone:hover {
  color: #e21c4b;
}
.dash-customer-tag {
  margin-right: auto;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  flex-shrink: 0;
}
.dash-customer-tag--recent {
  background: #dcfce7;
  color: #15803d;
}
.dash-customer-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}
.dash-customer-metric {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  padding: 10px 12px;
}
.dash-customer-metric--highlight {
  border-color: #f5b3c3;
  background: linear-gradient(135deg, #fde8ee, #fff);
}
.dash-customer-metric-icon {
  font-size: 18px;
  line-height: 1;
}
.dash-customer-metric-value {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}
.dash-customer-metric--highlight .dash-customer-metric-value {
  color: #c41840;
}
.dash-customer-metric-label {
  display: block;
  font-size: 10px;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 2px;
}
.dash-customer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}
.dash-customer-footer-label {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 600;
}
.dash-customer-footer-date {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}
.dash-customers-empty {
  text-align: center;
  padding: 48px 24px;
  background: white;
  border-radius: 22px;
  border: 1px dashed #cbd5e1;
}
.dash-customers-empty-icon {
  display: flex;
  justify-content: center;
  color: #e21c4b;
  margin-bottom: 16px;
  opacity: 0.85;
}
.dash-empty-icon {
  display: flex;
  justify-content: center;
  color: #e21c4b;
  margin-bottom: 12px;
}
.dash-menu-cat-icon {
  display: inline-flex;
  color: #e21c4b;
}
.dash-icon-picker {
  max-height: 380px;
  overflow-y: auto;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 12px 12px;
  background: #f8fafc;
}
.dash-icon-picker-group {
  font-size: 11px;
  font-weight: 800;
  color: #64748b;
  margin: 12px 0 8px;
}
.dash-icon-picker-group:first-child {
  margin-top: 2px;
}
.dash-icon-picker-group.is-empty,
.dash-icon-picker-grid.is-empty {
  display: none;
}
.dash-icon-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 6px;
}
.dash-icon-picker-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px 6px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  text-align: center;
  min-height: 72px;
}
.dash-icon-picker-item.is-hidden {
  display: none;
}
.dash-icon-picker-item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.dash-icon-picker-item:hover {
  border-color: #f094a8;
}
.dash-icon-picker-item:has(input:checked) {
  border-color: #e21c4b;
  background: #fde8ee;
  box-shadow: 0 0 0 3px rgba(226, 28, 75, 0.12);
}
.dash-icon-picker-face {
  color: #e21c4b;
  display: flex;
}
.dash-icon-picker-name {
  font-size: 10px;
  line-height: 1.35;
  color: #475569;
  font-weight: 600;
}
.dash-icon-picker-item:has(input:checked) .dash-icon-picker-name {
  color: #c41840;
}
.support-msg-author {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.dashboard-logout-icon {
  display: inline-flex;
}
.dash-customers-empty-guest {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 16px;
  border-radius: 12px;
  background: #fde8ee;
  border: 1px solid #f094a8;
  color: #c41840;
  font-size: 13px;
  font-weight: 600;
}

.dash-drawer-logout {
  padding: 8px 4px 16px;
}
.dashboard-logout-form--drawer {
  display: block;
  width: 100%;
}
.dashboard-logout-form--drawer .dashboard-logout-btn {
  width: 100%;
  justify-content: center;
  padding: 13px 16px;
  border-radius: 14px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  font-size: 14px;
}
.dashboard-logout-form--drawer .dashboard-logout-btn:hover {
  background: rgba(239, 68, 68, 0.22);
  color: #fecaca;
}

@media (min-width: 1024px) {
  .dash-body:not(.dash-body--no-venue) .dash-menu-btn {
    display: none;
  }
}
.dash-body--no-venue .dash-menu-btn {
  display: flex;
}

.site-drawer-logout-form { display: block; }
.site-drawer-logout-form button.site-drawer-link {
  border: 1.5px solid #fecaca;
  background: #fef2f2;
  font-family: inherit;
  cursor: pointer;
}
.customer-logout-form--inline .customer-logout-btn {
  border: none;
  background: transparent;
  color: #ef4444;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  padding: 4px 8px;
}
.customer-logout-form--inline .customer-logout-btn:hover {
  color: #dc2626;
}

/* Leaflet map — venue location */
.venue-map-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0eeeb;
}
.venue-map-title {
  font-size: 14px;
  font-weight: 700;
  color: #1c1917;
  margin-bottom: 10px;
}
.venue-map {
  width: 100%;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e7e5e4;
  background: #f5f5f4;
  position: relative;
  z-index: 0;
}
.venue-map.leaflet-container,
.venue-map .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  font-family: inherit;
}
.venue-map-picker {
  height: 280px;
  min-height: 280px;
}
.venue-map-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  background: #c41840;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.15s;
}
.venue-map-nav-btn:hover {
  opacity: 0.92;
  color: #fff;
}
.venue-map-nav-btn--solo {
  margin-top: 0;
}
.place-about-section {
  margin: 24px 0 8px;
  padding: 20px;
  background: white;
  border-radius: 20px;
  border: 1px solid #f0eeeb;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.place-about-title {
  font-size: 17px;
  font-weight: 800;
  color: #1c1917;
  margin-bottom: 12px;
}
.place-about-text {
  font-size: 14px;
  color: #57534e;
  line-height: 1.9;
  margin-bottom: 16px;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d6d3d1; border-radius: 3px; }

/* ── Support tickets (dashboard) ── */
.dash-nav-badge {
  margin-right: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e21c4b;
  color: white;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.support-filter-pill {
  display: inline-flex;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #e2e8f0;
  background: white;
  color: #64748b;
  transition: all 0.15s;
}
.support-filter-pill:hover {
  border-color: #cbd5e1;
  color: #334155;
}
.support-filter-pill--active {
  background: #0f172a;
  border-color: #0f172a;
  color: white;
}
.support-ticket-row--unread {
  background: #fde8ee;
  border-right: 3px solid #e21c4b;
}
.support-badge {
  display: inline-flex;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.support-badge--new { background: #fad4de; color: #b0163c; }
.support-badge--open { background: #dcfce7; color: #15803d; }
.support-badge--closed { background: #f1f5f9; color: #64748b; }
.support-badge--high { background: #fee2e2; color: #b91c1c; }
.support-badge--low { background: #f1f5f9; color: #64748b; }
.support-badge--cat { background: #ede9fe; color: #6d28d9; }
.support-thread {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}
.support-msg {
  display: flex;
}
.support-msg--manager {
  justify-content: flex-start;
}
.support-msg--staff {
  justify-content: flex-end;
}
.support-msg-bubble {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.support-msg--manager .support-msg-bubble {
  background: white;
  border: 1px solid #e2e8f0;
  border-bottom-right-radius: 4px;
}
.support-msg--staff .support-msg-bubble {
  background: #0f172a;
  color: white;
  border-bottom-left-radius: 4px;
}
.support-msg-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 11px;
  opacity: 0.85;
}
.support-msg--staff .support-msg-meta {
  color: #cbd5e1;
}
.support-msg-body {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.support-msg--staff .support-msg-body {
  color: #f8fafc;
}

/* ── Jalali date picker (reservation form) ── */
.jalali-date-display {
  cursor: pointer;
  background: #fff;
}

.jalali-datepicker {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 50;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  padding: 12px;
}

.jalali-datepicker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.jalali-datepicker__title {
  font-size: 14px;
  font-weight: 800;
  color: #292524;
}

.jalali-datepicker__nav {
  width: 32px;
  height: 32px;
  border: 1px solid #e7e5e4;
  border-radius: 10px;
  background: #fafaf9;
  color: #57534e;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.jalali-datepicker__nav:hover {
  border-color: var(--theme, #e21c4b);
  color: var(--theme, #e21c4b);
}

.jalali-datepicker__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 6px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: #a8a29e;
}

.jalali-datepicker__days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.jalali-datepicker__day {
  height: 34px;
  border: none;
  border-radius: 10px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #44403c;
  cursor: pointer;
}

.jalali-datepicker__day:hover:not(.is-disabled):not(.is-selected) {
  background: color-mix(in srgb, var(--theme, #e21c4b) 12%, white);
  color: var(--theme, #e21c4b);
}

.jalali-datepicker__day.is-selected {
  background: var(--theme, #e21c4b);
  color: #fff;
}

.jalali-datepicker__day.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.jalali-datepicker__day--empty {
  pointer-events: none;
}

#reservation-time option {
  font-family: 'Vazirmatn', sans-serif;
}

/* Static pages: about, contact, FAQ */
.site-static-page .site-main {
  max-width: 560px;
}
.static-section {
  padding: 0 16px 24px;
}
.static-section-title {
  font-size: 17px;
  font-weight: 800;
  color: #1c1917;
  margin: 0 0 14px;
  text-align: center;
}
.static-card {
  background: white;
  border: 1.5px solid #f0eeeb;
  border-radius: 20px;
  padding: 20px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}
.static-card--muted {
  background: #fafaf9;
  border-color: #e7e5e4;
}
.static-card-title {
  font-size: 16px;
  font-weight: 800;
  color: #1c1917;
  margin: 0 0 10px;
}
.static-lead {
  font-size: 15px;
  line-height: 1.8;
  color: #44403c;
  margin: 0 0 14px;
}
.static-text {
  font-size: 14px;
  line-height: 1.75;
  color: #57534e;
  margin: 0;
}
.static-inline-link {
  color: #c41840;
  font-weight: 600;
}
.static-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.static-grid-card {
  background: white;
  border: 1.5px solid #f0eeeb;
  border-radius: 16px;
  padding: 16px;
}
.static-grid-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: #fde8ee;
  border: 1px solid #f5b3c3;
  color: #c41840;
}
.static-grid-icon .app-icon {
  width: 22px;
  height: 22px;
}
.static-grid-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: #1c1917;
  margin: 0 0 6px;
}
.static-grid-card p {
  font-size: 13px;
  color: #78716c;
  line-height: 1.65;
  margin: 0;
}
.static-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.static-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, #e21c4b, #c41840);
  color: white;
  text-decoration: none;
}
.static-link-btn--ghost {
  background: white;
  color: #c41840;
  border: 1.5px solid #f5b3c3;
}
.static-alert {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.6;
}
.static-alert--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}
.static-alert--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  margin-bottom: 14px;
}
.static-alert-icon {
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.static-alert strong {
  display: block;
  margin-bottom: 4px;
}
.static-alert p {
  margin: 0;
  font-size: 13px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #44403c;
  margin-bottom: 6px;
}
.contact-form-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-form-hint {
  font-size: 12px;
  color: #a8a29e;
  margin: -6px 0 0;
}
.contact-form-error {
  font-size: 12px;
  color: #dc2626;
  margin: 4px 0 0;
}
.contact-form-submit {
  width: 100%;
  padding: 12px 20px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #e21c4b, #c41840);
  color: white;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 4px;
}
.contact-form-submit:active {
  opacity: 0.92;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: white;
  border: 1.5px solid #f0eeeb;
  border-radius: 16px;
  overflow: hidden;
}
.faq-question {
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #1c1917;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq-question::-webkit-details-marker {
  display: none;
}
.faq-question::after {
  content: '+';
  font-size: 18px;
  font-weight: 400;
  color: #c41840;
  flex-shrink: 0;
}
.faq-item[open] .faq-question::after {
  content: '−';
}
.faq-answer {
  padding: 0 18px 16px;
  border-top: 1px solid #f5f5f4;
}
.faq-answer p {
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.75;
  color: #57534e;
}
.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  margin-top: 10px;
}
.site-footer-links a {
  font-size: 12px;
  color: #a8a29e;
  text-decoration: none;
}
.site-footer-links a:hover {
  color: #c41840;
}

.cats-hero {
  padding: 20px 20px 8px;
  text-align: center;
}
.cats-hero-title {
  font-size: 24px;
  font-weight: 800;
  color: #171717;
  margin: 0;
}
.cats-hero-desc {
  font-size: 13px;
  color: #71717a;
  margin-top: 8px;
}
.cats-grid-wrap {
  padding: 12px 16px 24px;
}
.cats-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cats-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 14px;
  background: linear-gradient(135deg, #fde8ee 0%, #ffffff 100%);
  border: 1.5px solid #f094a8;
  border-radius: 18px;
  text-decoration: none;
  color: #171717;
  box-shadow: 0 2px 10px rgba(226, 28, 75, 0.06);
}
.cats-card:nth-child(even) {
  background: linear-gradient(135deg, #f3f8e6 0%, #ffffff 100%);
  border-color: #c5db7a;
  box-shadow: 0 2px 10px rgba(122, 166, 17, 0.08);
}
.cats-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #fff;
  color: #e21c4b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #f5b3c3;
}
.cats-card:nth-child(even) .cats-card-icon {
  color: #7aa611;
  border-color: #c5db7a;
}
.cats-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cats-card-name {
  font-size: 16px;
  font-weight: 800;
}
.cats-card-count {
  font-size: 12px;
  font-weight: 600;
  color: #71717a;
}
.cats-card-arrow {
  color: #a8a29e;
  display: inline-flex;
}

.fav-hero {
  padding: 20px 20px 8px;
  text-align: center;
}
.fav-hero-icon {
  display: inline-flex;
  color: #e21c4b;
  margin-bottom: 8px;
}
.fav-hero-icon .app-icon {
  fill: currentColor;
}
.fav-hero-title {
  font-size: 24px;
  font-weight: 800;
  color: #171717;
  margin: 0;
}
.fav-hero-desc {
  font-size: 13px;
  color: #71717a;
  margin-top: 8px;
}
.fav-messages {
  padding: 0 16px 8px;
}
.fav-flash {
  margin: 0 0 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #f3f8e6;
  color: #3f6212;
  font-size: 13px;
  font-weight: 600;
}
.fav-flash--error {
  background: #fde8ee;
  color: #9f1239;
}
.fav-section {
  padding: 8px 16px 20px;
}
.fav-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.fav-section-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: #fde8ee;
  color: #e21c4b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.fav-section:nth-child(even) .fav-section-icon {
  background: #f3f8e6;
  color: #7aa611;
}
.fav-section-title {
  font-size: 16px;
  font-weight: 800;
  color: #171717;
  margin: 0;
}
.fav-section-count {
  font-size: 12px;
  font-weight: 600;
  color: #71717a;
  margin: 2px 0 0;
}
.fav-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.fav-card {
  position: relative;
  background: #fff;
  border: 1.5px solid #f0eeeb;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(28, 25, 23, 0.04);
}
.fav-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.fav-card-img {
  aspect-ratio: 4 / 3;
  background: #fde8ee;
  overflow: hidden;
}
.fav-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fav-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #e21c4b;
  background: linear-gradient(135deg, #fde8ee, #f3f8e6);
}
.fav-card-body {
  padding: 10px 12px 12px;
}
.fav-card-name {
  font-size: 13px;
  font-weight: 800;
  margin: 0;
}
.fav-card-meta {
  font-size: 11px;
  color: #78716c;
  margin: 4px 0 0;
}
.fav-card-remove {
  position: absolute;
  top: 8px;
  left: 8px;
}
.fav-card-remove button {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #57534e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(28, 25, 23, 0.12);
}
.fav-empty {
  margin: 12px 16px 24px;
  padding: 36px 20px;
  text-align: center;
  background: #fff;
  border: 1.5px dashed #f094a8;
  border-radius: 22px;
}
.fav-empty-icon {
  display: inline-flex;
  color: #e21c4b;
  margin-bottom: 10px;
}
.fav-empty-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0;
}
.fav-empty-desc {
  font-size: 13px;
  color: #71717a;
  margin: 8px 0 18px;
  line-height: 1.7;
}
.fav-empty-btn {
  display: inline-flex;
  padding: 10px 18px;
  border-radius: 14px;
  background: #e21c4b;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

/* Sales panel */
.sales-topbar {
  background: #fff;
  border-bottom: 1px solid #f0eeeb;
  position: sticky;
  top: 0;
  z-index: 20;
}
.sales-topbar-inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sales-topbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #57534e;
  background: #f5f5f4;
}
.sales-topbar-btn--primary {
  background: #e21c4b;
  color: #fff;
}
.sales-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 14px;
  background: #e21c4b;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.sales-card {
  background: #fff;
  border: 1px solid #f0eeeb;
  border-radius: 20px;
  padding: 20px;
}
.sales-lead-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid #f0eeeb;
  border-radius: 18px;
  padding: 16px;
}
.sales-lead-card--paid {
  border-color: #c5db7a;
  background: #f7fbe9;
}
.sales-status {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: #f5f5f4;
  color: #57534e;
}
.sales-status--paid { background: #ecfdf5; color: #047857; }
.sales-status--activated { background: #f3f8e6; color: #4d6a0b; }
.sales-status--awaiting_code { background: #fde8ee; color: #c41840; }
.sales-status--pending_activation,
.sales-status--assigned { background: #fff7ed; color: #c2410c; }
.sales-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.sales-steps span {
  font-size: 12px;
  font-weight: 700;
  color: #a8a29e;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f5f5f4;
}
.sales-steps span.is-active {
  background: #fde8ee;
  color: #c41840;
}
.sales-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.sales-cat-card,
.sales-tier-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: right;
  background: #fff;
  border: 1.5px solid #f0eeeb;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #1c1917;
}
.sales-cat-card { justify-content: flex-start; }
.sales-cat-icon {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fde8ee;
  color: #e21c4b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sales-cat-card.is-selected,
.sales-tier-card.is-selected {
  border-color: #e21c4b;
  background: #fde8ee;
  box-shadow: 0 0 0 1px #e21c4b;
}

