/* ============================================================
   OpenBooth — Theme "graphite" (premium dark)
   Off-black zinc, Outfit sans, one muted-emerald accent, soft deep
   shadows (no neon/glow). All selectors scoped to [data-theme="graphite"].
   ============================================================ */

[data-theme="graphite"] .home-shop-name,
[data-theme="graphite"] .title,
[data-theme="graphite"] .section-title,
[data-theme="graphite"] .open-stall-btn {
  font-family: var(--font-display);
}
[data-theme="graphite"] .home-shop-name {
  font-weight: 600;
  font-size: 25px;
  letter-spacing: -0.01em;
}
[data-theme="graphite"] .stat-value,
[data-theme="graphite"] .item-price,
[data-theme="graphite"] .sale-bar-total,
[data-theme="graphite"] .summary-row.total,
[data-theme="graphite"] .receipt-total {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
[data-theme="graphite"] .section-title {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

[data-theme="graphite"] .nav-card,
[data-theme="graphite"] .item-card,
[data-theme="graphite"] .tab,
[data-theme="graphite"] .btn,
[data-theme="graphite"] .open-stall-btn {
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease,
    background 0.18s ease, border-color 0.18s ease;
}

/* ---- dark cards, subtle top sheen, soft deep shadow ---- */
[data-theme="graphite"] .nav-card,
[data-theme="graphite"] .stat,
[data-theme="graphite"] .item-card {
  background-color: var(--surface);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 40%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
[data-theme="graphite"] .nav-card {
  padding: 22px 12px;
}
[data-theme="graphite"] .nav-card:active,
[data-theme="graphite"] .item-card:active {
  transform: translateY(-1px) scale(0.99);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-float);
}
[data-theme="graphite"] .item-card.has-qty {
  background-image: none;
  background-color: var(--accent-light);
  border-color: var(--accent);
}

/* ---- icons: emerald glyph in a subtle recessed well ---- */
[data-theme="graphite"] .nav-card .nav-emoji.nav-ico {
  color: var(--accent);
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--surface-2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), inset 0 0 0 1px var(--border);
}
[data-theme="graphite"] .nav-card .nav-emoji.nav-ico .ob-ico {
  width: 24px;
  height: 24px;
}
[data-theme="graphite"] .nav-card .nav-name {
  font-weight: 500;
}

/* ---- hero / primary: emerald, dark ink label, tactile ---- */
[data-theme="graphite"] .open-stall-btn,
[data-theme="graphite"] .btn-primary,
[data-theme="graphite"] .sale-bar-cta {
  background: var(--accent);
  color: var(--on-accent);
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  font-weight: 600;
  letter-spacing: 0.01em;
}
[data-theme="graphite"] .open-stall-btn:active,
[data-theme="graphite"] .btn-primary:active,
[data-theme="graphite"] .sale-bar-cta:active {
  transform: translateY(1px);
  background: var(--accent-dark);
}
[data-theme="graphite"] .btn-secondary {
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
}

/* ---- tabs ---- */
[data-theme="graphite"] .tab {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
[data-theme="graphite"] .tab.active {
  background: var(--accent);
  color: var(--on-accent);
  border-color: var(--accent);
}

/* ---- sale bar / sheet / inputs ---- */
[data-theme="graphite"] .sale-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
[data-theme="graphite"] .sheet {
  background: var(--surface);
}
[data-theme="graphite"] input,
[data-theme="graphite"] select,
[data-theme="graphite"] textarea,
[data-theme="graphite"] .search-box input {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
}
[data-theme="graphite"] input:focus,
[data-theme="graphite"] textarea:focus {
  border-color: var(--accent);
  outline: none;
}
