/* ─── CSS Variables ────────────────────────────────────────────────────────── */
:root {
  --accent: #e31e24;
  --accent-light: #f04349;
  --accent-dark: #c41920;
  --accent-deep: #9a1519;
  --red: var(--accent);
  --red-light: var(--accent-light);
  --red-dark: var(--accent-dark);
  --red-deep: var(--accent-deep);
  --red-glow: color-mix(in srgb, var(--accent) 15%, transparent);
  --border-red: color-mix(in srgb, var(--accent) 30%, transparent);
  --shadow-red: 0 4px 20px color-mix(in srgb, var(--accent) 25%, transparent);
  --accent-ring: color-mix(in srgb, var(--accent) 15%, transparent);
  --accent-soft: color-mix(in srgb, var(--accent) 12%, transparent);
  --accent-soft-2: color-mix(in srgb, var(--accent) 8%, transparent);
  --accent-soft-3: color-mix(in srgb, var(--accent) 6%, transparent);
  --glow-top: color-mix(in srgb, var(--accent) 38%, transparent);
  --glow-bottom-right: color-mix(in srgb, var(--accent-deep) 22%, transparent);
  --glow-bottom-left: color-mix(in srgb, var(--accent) 14%, transparent);
  --text-primary: #ffffff;
  --text-secondary: #aaaaaa;
  --text-muted: #555555;
  --white: var(--text-primary);
  --grey: var(--text-secondary);
  --grey-dark: var(--text-muted);
  --bg: #0a0a0a;
  --bg-2: #111111;
  --bg-card: #181818;
  --bg-card-2: #202020;
  --on-accent: #ffffff;
  --border: #2a2a2a;
  --success: #22c55e;
  --warning: #f59e0b;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  --gradient-mid: #1a0808;
  --gradient-dark: #140606;
  --bg-base: #080808;
  --bg-page: #050505;
  --bg-card-tint: #1a1010;
  --wheel-sector-dark: #1a1a1a;
  --wheel-sector-dark-light: #2e2e2e;
  --logo-shop-color: #ffffff;
  --bottom-nav-inner: 64px;
  --bottom-nav-safe: max(12px, env(safe-area-inset-bottom, 0px));
  --bottom-nav-offset: calc(var(--bottom-nav-inner) + var(--bottom-nav-safe));
  --chip-bg: var(--bg-card);
  --chip-color: var(--grey);
  --chip-border: var(--border);
  --chip-active-bg: var(--accent);
  --chip-active-color: #ffffff;
}

html[data-accent="scarlet"] {
  --accent: #e31e24;
  --accent-light: #f04349;
  --accent-dark: #c41920;
  --accent-deep: #9a1519;
}

html[data-accent="sapphire"] {
  --accent: #1d4ed8;
  --accent-light: #3b82f6;
  --accent-dark: #1e40af;
  --accent-deep: #172554;
}

html[data-accent="amethyst"] {
  --accent: #7c3aed;
  --accent-light: #8b5cf6;
  --accent-dark: #6d28d9;
  --accent-deep: #4c1d95;
}

html[data-accent="platinum"] {
  --accent: #64748b;
  --accent-light: #94a3b8;
  --accent-dark: #475569;
  --accent-deep: #334155;
}

body[data-appearance="light"] {
  --text-primary: #1a1a1a;
  --text-secondary: #5c6370;
  --text-muted: #8b939e;
  --white: var(--text-primary);
  --grey: var(--text-secondary);
  --grey-dark: var(--text-muted);
  --logo-shop-color: #1a1a1a;
  --bg: #faf6f6;
  --bg-2: #ffffff;
  --bg-card: #ffffff;
  --bg-card-2: #f8f2f2;
  --bg-base: #fff5f5;
  --bg-page: #fffafa;
  --bg-card-tint: #fff0f0;
  --border: #eadede;
  --gradient-mid: #fff0f0;
  --gradient-dark: #ffe8e8;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  --glow-top: color-mix(in srgb, var(--accent) 24%, transparent);
  --glow-bottom-left: color-mix(in srgb, var(--accent) 14%, transparent);
  --glow-bottom-right: color-mix(in srgb, var(--accent-deep) 16%, transparent);
  --chip-bg: #ffffff;
  --chip-color: #4b5563;
  --chip-border: #d8d0d0;
  --chip-active-bg: var(--accent);
  --chip-active-color: #ffffff;
}

body[data-appearance="light"] #shopView,
body[data-appearance="light"] #bonusView,
body[data-appearance="light"] #profileView {
  background: transparent;
}

body[data-appearance="light"] .bottom-nav {
  background: var(--bg-2);
  border-top-color: var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.06);
}

body[data-appearance="light"] .header {
  background: rgba(255, 250, 250, 0.92);
}

body[data-appearance="light"] .product-card {
  background: var(--bg-card);
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

body[data-appearance="light"] .catalog-search-input,
body[data-appearance="light"] #catalogEmpty,
body[data-appearance="light"] .bonus-screen .spin-cooldown,
body[data-appearance="light"] .bonus-last-win,
body[data-appearance="light"] .wheel-prizes-card,
body[data-appearance="light"] .profile-avatar-placeholder,
body[data-appearance="light"] .profile-balance-card,
body[data-appearance="light"] .profile-stat-card,
body[data-appearance="light"] .profile-menu-item,
body[data-appearance="light"] .profile-discount-card,
body[data-appearance="light"] .appearance-card,
body[data-appearance="light"] .accent-card,
body[data-appearance="light"] .btn-icon {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--text-primary);
}

body[data-appearance="light"] .catalog-search-input:focus {
  background: var(--bg-card);
}

body[data-appearance="light"] .profile-menu-item:active {
  background: var(--bg-card-2);
}

body[data-appearance="light"] .catalog-promo-sub {
  color: var(--text-secondary);
}

body[data-appearance="light"] .wheel-prize-bar-track {
  background: color-mix(in srgb, var(--text-primary) 8%, transparent);
}

body[data-appearance="light"] .price-current,
body[data-appearance="light"] .cart-item-price,
body[data-appearance="light"] .buy-order-summary strong,
body[data-appearance="light"] .buy-total-row.final span:last-child {
  color: var(--accent-dark);
}

body[data-appearance="light"] .price-old {
  text-decoration-color: var(--border);
}

body[data-appearance="light"] .product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body[data-appearance="light"] #shopView::before {
  background-image:
    radial-gradient(ellipse 130% 80% at 50% -5%, var(--glow-top) 0%, transparent 58%),
    radial-gradient(ellipse 90% 55% at 100% 85%, var(--glow-bottom-right) 0%, transparent 52%),
    radial-gradient(ellipse 70% 45% at 0% 55%, var(--glow-bottom-left) 0%, transparent 48%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 36px,
      color-mix(in srgb, var(--accent) 4%, transparent) 36px,
      color-mix(in srgb, var(--accent) 4%, transparent) 37px
    ),
    linear-gradient(168deg, var(--bg-page) 0%, var(--gradient-mid) 32%, var(--gradient-dark) 58%, var(--bg-base) 100%);
}

body[data-appearance="light"] #bonusView::before,
body[data-appearance="light"] #profileView::before {
  opacity: 0.35;
}

/* ─── Reset & Base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  min-height: 100%;
  background-color: var(--bg-base, #080808);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base, #080808);
  color: var(--white);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Фон витрины — отдельный слой, не перекрывается контентом и Telegram WebView */
/* ─── Main tab views & bottom nav ─────────────────────────────────────────── */
.main-tab-view {
  min-height: 100vh;
  padding-bottom: var(--bottom-nav-offset);
}

#shopView {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
  background: transparent;
}

.stub-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--bottom-nav-offset));
  padding: 24px 16px;
}

.stub-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  min-height: var(--bottom-nav-offset);
  padding-top: 10px;
  padding-bottom: var(--bottom-nav-safe);
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.45);
}

.bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  color: var(--grey);
  padding: 8px 4px 6px;
  min-height: var(--bottom-nav-inner);
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav-btn:active {
  opacity: 0.85;
}

.bottom-nav-btn.active {
  color: var(--accent);
}

.bottom-nav-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.bottom-nav-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

/* ─── Bonus tab / Wheel of Fortune ─────────────────────────────────────────── */
#bonusView {
  position: relative;
  isolation: isolate;
  background: var(--bg-page);
}

#bonusView::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, color-mix(in srgb, var(--accent) 20%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 100%, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.bonus-screen {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0 auto;
  padding: 24px 20px calc(var(--bottom-nav-offset) + 16px);
  text-align: center;
}

.bonus-header {
  margin-bottom: 20px;
}

.bonus-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.bonus-title-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.bonus-subtitle {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.45;
  max-width: 280px;
  margin: 0 auto;
}

.bonus-wheel-area {
  margin-bottom: 24px;
  padding-top: 8px;
}

.bonus-wheel-wrapper {
  width: 300px !important;
  height: 300px !important;
  margin: 0 auto;
}

#bonusView .wheel-pointer-wrap {
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  filter: drop-shadow(0 3px 8px color-mix(in srgb, var(--accent) 45%, transparent));
}

#bonusView .wheel-pointer-triangle {
  width: 0;
  height: 0;
  border-left: 11px solid transparent;
  border-right: 11px solid transparent;
  border-top: 18px solid var(--accent);
  animation: pointerBob 1.4s ease-in-out infinite;
}

#bonusView #wheelCanvas {
  border-radius: 50%;
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45);
  display: block;
}

#bonusView #wheelCanvas.spinning {
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.45),
    0 0 28px color-mix(in srgb, var(--accent) 35%, transparent);
}

#bonusView .wheel-win-glow {
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 20%, transparent) 0%, color-mix(in srgb, var(--accent) 8%, transparent) 50%, transparent 70%);
}

.bonus-actions {
  max-width: 300px;
  margin: 0 auto 20px;
  padding: 0 4px;
}

.bonus-screen .btn-spin {
  width: 100%;
  border-radius: 16px;
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 22px color-mix(in srgb, var(--accent) 40%, transparent);
}

.bonus-screen .btn-spin:not(:disabled):hover {
  box-shadow: 0 8px 26px color-mix(in srgb, var(--accent) 50%, transparent);
}

.bonus-screen .spin-cooldown {
  margin-top: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.bonus-win-popup {
  max-width: 300px;
  margin: 0 auto 16px;
  background: linear-gradient(145deg, #0d1a0d, #142814);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 16px;
  padding: 18px 16px;
  position: relative;
  overflow: hidden;
}

.bonus-last-win {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 300px;
  margin: 8px auto 0;
  padding: 18px 20px;
  text-align: left;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.bonus-last-win-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.bonus-last-win-label {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 5px;
  font-weight: 500;
}

.bonus-last-win-amount {
  font-size: 22px;
  font-weight: 800;
  color: #4ade80;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.wheel-prizes-card {
  max-width: 300px;
  margin: 20px auto 0;
  padding: 18px 18px 16px;
  text-align: left;
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-card-2) 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.wheel-prizes-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.wheel-prizes-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wheel-prize-row {
  display: grid;
  grid-template-columns: 62px 1fr 36px;
  align-items: center;
  gap: 10px;
}

.wheel-prize-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
}

.wheel-prize-bar-track {
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-primary) 8%, transparent);
  overflow: hidden;
}

.wheel-prize-bar-fill {
  height: 100%;
  min-width: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-dark) 0%, var(--accent) 50%, var(--accent-light) 100%);
  box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 35%, transparent);
}

.wheel-prize-pct {
  font-size: 12px;
  font-weight: 700;
  color: var(--grey);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.spin-cooldown-label {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 6px;
}

.spin-cooldown-timer {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.05em;
}

#bonusView .confetti-piece {
  position: fixed;
  z-index: 200;
  pointer-events: none;
  animation: confettiFall var(--dur, 1.5s) ease-in forwards;
}

/* ─── Profile tab ───────────────────────────────────────────────────────────── */
#profileView {
  position: relative;
  isolation: isolate;
  background: var(--bg-page);
}

#profileView::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, color-mix(in srgb, var(--accent) 14%, transparent) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-page) 100%);
}

.profile-page {
  padding: 24px 16px 16px;
  max-width: 480px;
  margin: 0 auto;
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4px 0 22px;
}

.profile-avatar-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 16px;
}

.profile-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 15%, transparent), 0 8px 24px rgba(0, 0, 0, 0.4);
}

.profile-avatar-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  font-size: 38px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.profile-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.profile-id {
  font-size: 13px;
  color: var(--grey);
  font-weight: 500;
}

.profile-balance-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  border-radius: 18px;
  padding: 20px 20px;
  margin-bottom: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.profile-balance-label {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 8px;
  font-weight: 500;
}

.profile-balance-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.profile-balance-unit {
  font-size: 16px;
  font-weight: 600;
  color: var(--grey);
  margin-left: 5px;
}

.profile-balance-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 40%, transparent);
}

.profile-balance-icon {
  font-size: 24px;
  line-height: 1;
}

.profile-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.profile-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 12px;
  text-align: center;
}

.profile-stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.profile-stat-label {
  font-size: 11px;
  color: var(--grey);
  font-weight: 500;
  line-height: 1.35;
}

.profile-discount-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-card);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.profile-discount-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.profile-discount-info {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.profile-discount-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 3px;
}

.profile-discount-note {
  font-size: 12px;
  color: var(--grey);
}

.profile-discount-amount {
  font-size: 18px;
  font-weight: 800;
  color: #4ade80;
  line-height: 1.2;
  flex-shrink: 0;
}

.profile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.profile-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-card);
  color: var(--white);
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.profile-menu-item:active {
  background: var(--bg-card-2);
  transform: scale(0.99);
}

.profile-menu-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}

.profile-menu-icon-wrap--orders,
.profile-menu-icon-wrap--referrals,
.profile-menu-icon-wrap--promo,
.profile-menu-icon-wrap--themes {
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
}

.profile-menu-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
}

.profile-menu-arrow {
  font-size: 16px;
  color: var(--grey-dark);
  line-height: 1;
  font-weight: 600;
}

/* ─── Order history (profile) ───────────────────────────────────────────────── */
.order-history-screen {
  padding: 16px 16px 8px;
  max-width: 480px;
  margin: 0 auto;
}

.order-history-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.order-history-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.order-history-loading {
  text-align: center;
  color: var(--grey);
  font-size: 14px;
  padding: 24px 0;
}

.my-orders-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.my-order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  border-left: 3px solid var(--border);
}

.my-order-card.status-new { border-left-color: var(--accent); }
.my-order-card.status-processing { border-left-color: var(--warning); }
.my-order-card.status-done { border-left-color: var(--success); }

.my-order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.my-order-date {
  font-size: 13px;
  color: var(--grey);
  font-weight: 500;
}

.my-order-status {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-light);
  background: var(--red-glow);
  border: 1px solid var(--border-red);
  border-radius: 20px;
  padding: 3px 10px;
  white-space: nowrap;
}

.my-order-card.status-done .my-order-status {
  color: var(--success);
  background: rgba(34, 197, 94, 0.12);
  border-color: rgba(34, 197, 94, 0.25);
}

.my-order-card.status-processing .my-order-status {
  color: var(--warning);
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.25);
}

.my-order-items {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.my-order-items li {
  font-size: 14px;
  color: var(--white);
  line-height: 1.4;
}

.my-order-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}

.my-order-discount {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}

.my-order-total {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-light);
  margin-left: auto;
}

/* ─── Profile sub-screens: referral & promo ─────────────────────────────────── */
.profile-sub-screen {
  padding: 16px 16px 8px;
  max-width: 480px;
  margin: 0 auto;
}

.referral-content,
.promo-content {
  padding-top: 8px;
}

.referral-desc {
  font-size: 14px;
  color: var(--grey);
  line-height: 1.5;
  margin-bottom: 16px;
}

.referral-desc strong {
  color: var(--accent-light);
}

.referral-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.referral-stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 6px;
}

.referral-stat-label {
  font-size: 13px;
  color: var(--grey);
}

.referral-link-box {
  margin-bottom: 14px;
}

.referral-link-label {
  display: block;
  font-size: 12px;
  color: var(--grey);
  margin-bottom: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.referral-link-input {
  font-size: 13px !important;
  color: var(--white) !important;
}

.referral-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.promo-result {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  line-height: 1.4;
}

.promo-result-success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.promo-result-error {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid var(--border-red);
  color: var(--accent-light);
}

.promo-pending-info {
  margin-top: 12px;
  font-size: 13px;
  color: var(--warning);
  line-height: 1.4;
}

.admin-promocodes-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-promo-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.admin-promo-code {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.admin-promo-meta {
  font-size: 12px;
  color: var(--grey);
}

#shopView::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg-base);
  background-image:
    radial-gradient(ellipse 130% 80% at 50% -5%, var(--glow-top) 0%, transparent 58%),
    radial-gradient(ellipse 90% 55% at 100% 85%, var(--glow-bottom-right) 0%, transparent 52%),
    radial-gradient(ellipse 70% 45% at 0% 55%, var(--glow-bottom-left) 0%, transparent 48%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 36px,
      rgba(255, 255, 255, 0.018) 36px,
      rgba(255, 255, 255, 0.018) 37px
    ),
    linear-gradient(168deg, var(--bg-page) 0%, var(--gradient-mid) 32%, var(--gradient-dark) 58%, var(--bg-base) 100%);
}

img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; outline: none; font-family: inherit; }
input, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }

.hidden { display: none !important; }

/* ─── Scrollbar ────────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--red-dark); border-radius: 2px; }

/* ─── Header ────────────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-logo {
  display: flex;
  align-items: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  display: block;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.logo-red {
  color: #e31e24;
}

.logo-shop {
  color: var(--logo-shop-color);
}

.logo-sub {
  display: block;
  font-size: 10px;
  color: var(--grey);
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-top: 2px;
}

.admin-badge {
  color: var(--accent);
  background: var(--red-glow);
  border: 1px solid var(--border-red);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ─── Buttons ────────────────────────────────────────────────────────────────── */
.btn-icon {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--white);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background 0.2s, border-color 0.2s;
}
.btn-icon:hover { background: var(--bg-card-2); border-color: var(--grey-dark); }

.cart-icon-svg {
  width: 20px;
  height: 20px;
  display: block;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.btn-primary:hover { background: var(--accent-light); box-shadow: var(--shadow-red); }
.btn-primary:active { transform: scale(0.97); }
.btn-primary:disabled { background: var(--grey-dark); cursor: not-allowed; transform: none; box-shadow: none; }

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}
.btn-outline:hover { background: var(--red-glow); }

.btn-full { width: 100%; }
.btn-text { background: none; color: var(--grey); font-size: 14px; padding: 8px; }
.btn-text:hover { color: var(--white); }

.btn-close {
  background: var(--bg-card-2);
  color: var(--grey);
  border: 1px solid var(--border);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.btn-close:hover { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }

/* ─── Cart Badge ─────────────────────────────────────────────────────────────── */
.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--bg);
  animation: badgePop 0.3s ease;
}

@keyframes badgePop {
  0% { transform: scale(0); }
  70% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

/* ─── Roulette Banner ────────────────────────────────────────────────────────── */
.roulette-banner {
  margin: 12px 16px;
  background: linear-gradient(135deg, #1a0505, #2d0a0a);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.roulette-banner:hover { border-color: var(--accent); transform: scale(1.01); }
.roulette-banner:active { transform: scale(0.99); }

.roulette-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
}
.roulette-icon { font-size: 28px; }
.roulette-banner-title { font-size: 15px; font-weight: 700; color: var(--accent-light); }
.roulette-banner-sub { font-size: 12px; color: var(--grey); margin-top: 2px; }
.arrow-right { font-size: 24px; color: var(--accent); }

/* ─── Discount Banner ────────────────────────────────────────────────────────── */
.discount-banner {
  margin: 0 16px 8px;
  background: linear-gradient(135deg, #0a1f0a, #0d280d);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--success);
  animation: slideDown 0.3s ease;
}
.btn-remove-discount {
  background: none;
  color: var(--grey-dark);
  font-size: 16px;
  padding: 0 4px;
}
.btn-remove-discount:hover { color: var(--white); }

/* ─── Catalog (redesign) ─────────────────────────────────────────────────────── */

.catalog-promo {
  position: relative;
  margin: 12px 16px 0;
  padding: 20px 18px 18px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg-card-tint) 0%, color-mix(in srgb, var(--accent) 14%, var(--bg-card)) 50%, var(--bg-card-tint) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 8px 32px color-mix(in srgb, var(--accent) 14%, transparent);
}

.catalog-promo.has-bg-image {
  border-color: rgba(255, 255, 255, 0.12);
}

.catalog-promo.promo-image-only {
  padding: 0;
  aspect-ratio: 16 / 7;
  min-height: 100px;
}

.catalog-promo-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.catalog-promo-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.58);
  pointer-events: none;
}

.catalog-promo-bg-overlay.promo-overlay-light {
  background: rgba(0, 0, 0, 0.22);
}

.catalog-promo.promo-image-only .catalog-promo-glow {
  display: none;
}

.catalog-promo.has-bg-image .catalog-promo-glow {
  opacity: 0.35;
}

.catalog-promo-glow {
  position: absolute;
  top: -40px;
  right: -30px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 35%, transparent) 0%, transparent 70%);
  pointer-events: none;
}

.catalog-promo-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.catalog-promo-fire {
  font-size: 11px;
  line-height: 1;
}

.catalog-promo-title {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.catalog-promo-sub {
  position: relative;
  z-index: 1;
  font-size: 13px;
  color: var(--grey);
  line-height: 1.45;
}

.catalog-promo-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border-radius: 11px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
  box-shadow: 0 4px 18px color-mix(in srgb, var(--accent) 40%, transparent);
}
.catalog-promo-btn:active { transform: scale(0.97); }
.catalog-promo-btn:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 22px color-mix(in srgb, var(--accent) 50%, transparent);
}

.catalog-section {
  padding: 22px 0 0;
}

.catalog-heading {
  padding: 0 16px 16px;
}

.catalog-heading-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.catalog-heading-count {
  font-size: 13px;
  color: var(--grey);
  margin-top: 5px;
}

.catalog-search-wrap {
  position: relative;
  margin: 0 16px 16px;
}

.catalog-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--grey);
  pointer-events: none;
}

.catalog-search-input {
  width: 100%;
  padding: 13px 14px 13px 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.catalog-search-input::placeholder { color: var(--grey-dark); }
.catalog-search-input:focus {
  border-color: color-mix(in srgb, var(--accent) 55%, transparent);
  background: var(--bg-card-2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 12%, transparent);
}

.catalog-chips {
  display: flex;
  gap: 8px;
  padding: 0 16px 18px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  mask-image: linear-gradient(to right, transparent, #000 12px, #000 calc(100% - 12px), transparent);
}
.catalog-chips::-webkit-scrollbar { display: none; }

.catalog-chip {
  flex-shrink: 0;
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--chip-border);
  background: var(--chip-bg);
  color: var(--chip-color);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s, box-shadow 0.2s;
  white-space: nowrap;
}
.catalog-chip:active { transform: scale(0.97); }
.catalog-chip.active {
  background: var(--chip-active-bg);
  border-color: var(--chip-active-bg);
  color: var(--chip-active-color);
  box-shadow: 0 4px 16px color-mix(in srgb, var(--accent) 35%, transparent);
}

.catalog-loading {
  text-align: center;
  padding: 48px 20px;
  color: var(--grey);
  grid-column: 1 / -1;
}
.catalog-loading-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}
.catalog-loading-hint {
  font-size: 0.8rem;
  margin-top: 6px;
  color: var(--grey-dark);
}

#catalogEmpty {
  margin: 8px 16px calc(var(--bottom-nav-offset) + 12px);
  padding: 32px 20px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
}

.admin-hint {
  font-size: 13px;
  color: var(--grey);
  margin: -4px 0 16px;
  line-height: 1.45;
}

.catalog-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 4px;
}
.catalog-header-main {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.catalog-header h2 {
  font-size: 18px;
  font-weight: 700;
}
.catalog-back-btn {
  flex-shrink: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.2s, border-color 0.2s;
}
.catalog-back-btn:active { transform: scale(0.97); }
.catalog-count {
  font-size: 13px;
  color: var(--grey);
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2px 8px;
}

.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 8px 16px calc(var(--bottom-nav-offset) + 12px);
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.category-card:active { transform: scale(0.98); }
.category-card:hover {
  border-color: var(--border-red);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 15%, transparent);
}
.category-card-photo-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-card-2);
  overflow: hidden;
}

.category-card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 40%, transparent);
}

.catalog-stock-status.available {
  color: var(--success);
  font-weight: 600;
}

.catalog-stock-status.unavailable {
  color: var(--grey);
}

.category-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.category-card-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--bg-card-2) 0%, var(--bg-card-tint) 100%);
  color: var(--grey-dark);
  font-size: 48px;
}
.category-card-body {
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.category-card-name {
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.3px;
  line-height: 1.2;
}
.category-card-meta {
  font-size: 12px;
  color: var(--grey);
  margin-top: 4px;
}
.category-card-arrow {
  font-size: 28px;
  color: var(--accent);
  font-weight: 300;
  line-height: 1;
  flex-shrink: 0;
}

.catalog-grid.flavors-list {
  grid-template-columns: 1fr;
  gap: 8px;
}
.flavor-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s;
}
.flavor-row.out-of-stock { opacity: 0.55; }
.flavor-row-info {
  flex: 1;
  min-width: 0;
}
.flavor-row-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
}
.flavor-row-prices {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.flavor-row .btn-buy {
  margin: 0;
  width: auto;
  min-width: 88px;
  padding: 8px 12px;
  font-size: 12px;
  flex-shrink: 0;
}

.category-card.out-of-stock {
  opacity: 0.85;
}

.flavor-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.flavor-pick-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  text-align: center;
  color: inherit;
  font: inherit;
}
.flavor-pick-card.out-of-stock {
  opacity: 0.55;
  cursor: default;
}
.flavor-pick-card.selected {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, var(--bg-card));
}
.flavor-pick-check {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
}
.flavor-pick-emoji { font-size: 28px; line-height: 1; }
.flavor-pick-name {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.flavor-pick-desc {
  font-size: 10px;
  color: var(--grey);
  line-height: 1.25;
}
.flavor-pick-stock {
  font-size: 10px;
  color: var(--grey);
}
.flavor-pick-stock.in-stock {
  color: var(--success);
  font-weight: 600;
}
.flavor-pick-stock.out-of-stock-label {
  color: var(--grey);
}

.modal-flavor .modal-body {
  max-height: 55vh;
  overflow-y: auto;
}

.modal-header.modal-header-with-back {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 8px;
}

.modal-header-text {
  min-width: 0;
}

.modal-header-text h2 {
  margin: 0;
  line-height: 1.25;
}

.modal-subtitle {
  font-size: 12px;
  color: var(--grey);
  margin-top: 4px;
  line-height: 1.35;
}

.modal-back-btn {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  margin-top: 2px;
}
.modal-back-btn:active { transform: scale(0.97); }

.model-pick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.model-pick-card {
  position: relative;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  text-align: left;
  color: inherit;
  font: inherit;
}
.model-pick-card:active { transform: scale(0.98); }
.model-pick-card.out-of-stock { opacity: 0.72; }

.model-pick-photo-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card-2);
}

.model-pick-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.model-pick-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 2;
  background: var(--accent);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.model-pick-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
}

.model-pick-meta {
  font-size: 11px;
  color: var(--grey);
}

.model-pick-stock {
  font-size: 10px;
  color: var(--grey);
}
.model-pick-stock.in-stock {
  color: var(--success);
  font-weight: 600;
}

.flavor-modal-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  border-top: 1px solid var(--border);
}

.btn-green {
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: transform 0.15s, opacity 0.2s;
}
.btn-green:hover { background: #16a34a; }
.btn-green:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-green:active:not(:disabled) { transform: scale(0.97); }

.address-input-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
.address-input-row .form-input {
  flex: 1;
  min-width: 0;
}

.btn-geo {
  flex-shrink: 0;
  width: 48px;
  min-width: 48px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px color-mix(in srgb, var(--accent) 45%, transparent);
  transition: transform 0.15s, opacity 0.2s;
}
.btn-geo:hover { filter: brightness(1.08); }
.btn-geo:disabled { opacity: 0.6; cursor: wait; }
.btn-geo:active:not(:disabled) { transform: scale(0.95); }

.cart-checkout-fields {
  margin: 12px 0 4px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.cart-checkout-fields .form-group {
  margin-bottom: 10px;
}
.cart-checkout-fields .form-group:last-child {
  margin-bottom: 0;
}

.admin-categories-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}
.admin-category-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}
.admin-category-photo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  cursor: pointer;
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-card);
}
.admin-category-name {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
}
.admin-category-count {
  font-size: 12px;
  color: var(--grey);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 0 16px calc(var(--bottom-nav-offset) + 12px);
}

/* ─── Product Card ───────────────────────────────────────────────────────────── */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:active { transform: scale(0.98); }
.product-card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, transparent);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4);
}
.product-card.out-of-stock { opacity: 0.72; }

.product-photo-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
}
.product-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.product-card:hover .product-photo { transform: scale(1.05); }

.product-badge {
  position: absolute;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 7px;
  letter-spacing: 0.02em;
  z-index: 2;
  line-height: 1.2;
}
.product-badge-discount {
  top: 8px;
  left: 8px;
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 45%, transparent);
}
.product-badge-model {
  top: auto;
  bottom: 8px;
  left: 8px;
  background: color-mix(in srgb, var(--bg-card) 88%, transparent);
  color: var(--white);
  border: 1px solid var(--border);
  backdrop-filter: blur(6px);
  text-transform: uppercase;
}
.product-badge-stock {
  top: 8px;
  right: 8px;
  background: #15803d;
  color: var(--white);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(21, 128, 61, 0.35);
}
.product-badge-stock.out {
  background: color-mix(in srgb, var(--grey-dark) 90%, transparent);
  color: var(--grey);
  box-shadow: none;
}
.model-catalog-card {
  cursor: pointer;
}
.model-catalog-card .product-info {
  cursor: pointer;
}
.btn-quick-buy {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 4;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--on-accent, #fff);
  cursor: pointer;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--accent) 45%, transparent);
  transition: transform 0.15s, background 0.2s;
}
.btn-quick-buy svg {
  width: 18px;
  height: 18px;
}
.btn-quick-buy:active {
  transform: scale(0.92);
}
.btn-quick-buy:hover {
  background: var(--accent-light);
}
.out-of-stock-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
}

.product-info {
  padding: 10px 10px 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.product-name {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.product-desc {
  font-size: 11px;
  color: var(--grey);
  flex: 1;
}
.product-price-footer {
  margin: 0 10px 8px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid var(--border);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 36px;
}
.btn-buy {
  margin: 0 10px 10px;
  background: var(--accent);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  padding: 11px;
  border-radius: 11px;
  width: calc(100% - 20px);
  transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 12px color-mix(in srgb, var(--accent) 30%, transparent);
}
.btn-buy:hover { background: var(--accent-light); }
.btn-buy:active { transform: scale(0.98); }
.btn-buy:disabled {
  background: var(--grey-dark);
  cursor: not-allowed;
  opacity: 0.7;
}
.buy-order-summary {
  background: var(--bg-card-2);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 1.5;
}
.buy-order-summary strong { color: var(--accent-light); }
.buy-order-summary .buy-summary-row { margin-top: 4px; color: var(--grey); font-size: 13px; }
.buy-order-summary .buy-summary-flavor { color: var(--white); font-weight: 600; font-size: 14px; }
.buy-order-summary .buy-summary-desc { font-size: 12px; color: var(--grey); margin-top: 2px; }

.buy-order-totals {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 14px;
}

.buy-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--grey);
  padding: 3px 0;
}

.buy-total-row.discount { color: var(--success); }
.buy-total-row.final {
  margin-top: 6px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
  font-size: 16px;
  font-weight: 800;
  color: var(--white);
}

.buy-total-row.final span:last-child { color: var(--accent-light); }

.balance-toggle-wrap {
  margin-bottom: 14px;
}

.balance-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease;
}

.balance-toggle:has(input:checked) {
  border-color: var(--border-red);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

.balance-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.balance-toggle-box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--grey-dark);
  border-radius: 6px;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.balance-toggle input:checked + .balance-toggle-box {
  border-color: var(--accent);
  background: var(--accent);
}

.balance-toggle input:checked + .balance-toggle-box::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.balance-toggle-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.summary-row.balance-row { color: var(--success); }
.product-card.in-cart {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 25%, transparent);
}
.price-old {
  font-size: 12px;
  font-weight: 500;
  color: var(--grey);
  text-decoration: line-through;
  text-decoration-color: var(--border);
}
.price-current {
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-light);
}

/* ─── Sticky Cart ────────────────────────────────────────────────────────────── */
.sticky-cart {
  position: fixed;
  bottom: calc(var(--bottom-nav-offset) + 10px);
  left: 16px;
  right: 16px;
  background: var(--accent);
  color: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  box-shadow: var(--shadow-red);
  z-index: 90;
  animation: slideUp 0.3s ease;
}
.sticky-cart:active { transform: scale(0.98); }

.sticky-cart-count {
  background: rgba(255,255,255,0.25);
  padding: 2px 8px;
  border-radius: 20px;
  font-size: 13px;
}

@keyframes slideUp {
  from { transform: translateY(80px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes slideDown {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ─── Modal ──────────────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(4px);
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.modal-sm { border-radius: var(--radius); max-height: 80vh; }

@keyframes modalSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-header {
  padding: 16px 16px 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.modal-header h2 {
  font-size: 17px;
  font-weight: 700;
}

.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

.modal-footer {
  padding: 12px 16px 20px;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--bg-card);
}

/* ─── Cart ───────────────────────────────────────────────────────────────────── */
.cart-items { display: flex; flex-direction: column; gap: 10px; }

.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px;
}
.cart-item-photo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-desc { font-size: 11px; color: var(--grey); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.cart-item-price { font-size: 13px; color: var(--accent-light); font-weight: 700; margin-top: 2px; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.qty-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--white);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: background 0.15s;
}
.qty-btn:hover { background: var(--accent); border-color: var(--accent); }
.qty-value { font-size: 15px; font-weight: 700; min-width: 20px; text-align: center; }

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--grey);
}
.total-row {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  padding-top: 8px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.discount-value { color: var(--success); font-weight: 600; }

/* wheel-wrapper & pointer overrides now in redesign section below */
.modal-roulette { max-height: 85vh; }
.roulette-body { text-align: center; }
.roulette-desc { font-size: 13px; color: var(--grey); margin-bottom: 16px; }

.roulette-legend {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.legend-item { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--grey); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

@keyframes popIn {
  from { transform: scale(0.5); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ─── Forms ──────────────────────────────────────────────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-input {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  width: 100%;
  transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--accent); }
.form-input::placeholder { color: var(--grey-dark); }
.form-textarea { resize: vertical; min-height: 100px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.file-upload-area {
  background: var(--bg-card-2);
  border: 2px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: border-color 0.2s;
  font-size: 13px;
  color: var(--grey);
}
.file-upload-area:hover { border-color: var(--accent); }
.file-preview-icon { font-size: 22px; }

.error-msg {
  font-size: 13px;
  color: var(--accent-light);
  padding: 8px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: var(--radius-sm);
  margin-top: 4px;
}

/* ─── Admin Panel ────────────────────────────────────────────────────────────── */
.admin-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 63px;
  z-index: 90;
}

.admin-nav-btn {
  background: none;
  color: var(--grey);
  font-size: 11px;
  font-weight: 600;
  padding: 10px 4px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  position: relative;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
.admin-nav-btn span:first-child { font-size: 18px; }
.admin-nav-btn:hover { color: var(--white); }
.admin-nav-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.nav-badge {
  position: absolute;
  top: 6px;
  right: 8px;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 8px;
}

.admin-tab { display: block; }
.admin-tab.hidden { display: none; }

.tab-content {
  padding: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.tab-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

.tab-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.section-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 16px;
}
.card h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 12px;
}

/* ─── Admin Products List ────────────────────────────────────────────────────── */
.admin-products-list { display: flex; flex-direction: column; gap: 10px; }

.admin-product-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.admin-product-item.unavailable { opacity: 0.6; }

.admin-product-photo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  cursor: pointer;
  border: 2px solid var(--border);
  transition: border-color 0.2s;
}
.admin-product-photo:hover { border-color: var(--accent); }

.admin-product-body { flex: 1; min-width: 0; }
.admin-product-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}
.admin-product-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.admin-product-price { font-size: 15px; font-weight: 700; color: var(--accent-light); }
.admin-product-sales { font-size: 11px; color: var(--grey); }
.status-pill {
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}
.status-pill.available { background: rgba(34,197,94,0.15); color: var(--success); }
.status-pill.unavailable { background: rgba(100,100,100,0.15); color: var(--grey-dark); }

.admin-product-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.btn-sm {
  font-size: 11px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  transition: all 0.15s;
}
.btn-sm-red { background: var(--red-glow); border: 1px solid var(--border-red); color: var(--accent-light); }
.btn-sm-red:hover { background: var(--accent); color: var(--on-accent); }
.btn-sm-grey { background: var(--bg-card-2); border: 1px solid var(--border); color: var(--grey); }
.btn-sm-grey:hover { background: var(--border); color: var(--white); }
.btn-sm-green { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--success); }
.btn-sm-green:hover { background: rgba(34,197,94,0.2); }

/* ─── Orders ─────────────────────────────────────────────────────────────────── */
.orders-filter {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--grey);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  transition: all 0.15s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent); }
.filter-btn.active { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }

.orders-list { display: flex; flex-direction: column; gap: 10px; }

.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  border-left: 3px solid var(--border);
}
.order-card.status-new { border-left-color: var(--accent); }
.order-card.status-processing { border-left-color: var(--warning); }
.order-card.status-done { border-left-color: var(--success); }

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}
.order-id { font-size: 13px; color: var(--grey); }
.order-date { font-size: 12px; color: var(--grey-dark); }

.order-customer {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}
.order-customer a { color: var(--accent-light); text-decoration: underline; cursor: pointer; }

.order-items { font-size: 12px; color: var(--grey); margin-bottom: 10px; line-height: 1.6; }
.order-contact {
  font-size: 12px;
  color: var(--white);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border: 1px solid var(--border-red);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 10px;
  line-height: 1.6;
}

.order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.order-total { font-size: 16px; font-weight: 800; color: var(--white); }
.order-discount { font-size: 11px; color: var(--success); }

.order-status-select {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
}

/* ─── Messages ───────────────────────────────────────────────────────────────── */
.messages-layout {
  display: grid;
  grid-template-columns: 200px 1fr;
  height: calc(100vh - 130px);
  overflow: hidden;
}

@media (max-width: 400px) {
  .messages-layout {
    grid-template-columns: 1fr;
  }
  .messages-sidebar.has-chat { display: none; }
  .chat-window.no-selection { display: none; }
}

.messages-sidebar {
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sidebar-header {
  padding: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.sidebar-header h4 { font-size: 14px; font-weight: 700; }

.users-list { flex: 1; overflow-y: auto; }

.user-list-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.user-list-item:hover { background: var(--bg-card-2); }
.user-list-item.active { background: color-mix(in srgb, var(--accent) 10%, transparent); border-left: 2px solid var(--accent); }
.user-list-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; }
.user-list-preview { font-size: 11px; color: var(--grey); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-list-time { font-size: 10px; color: var(--grey-dark); float: right; }

.chat-window {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chat-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--grey);
  gap: 8px;
}

.chat-content { display: flex; flex-direction: column; height: 100%; }

.chat-header {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.back-btn {
  background: none;
  color: var(--grey);
  font-size: 22px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-user-name { font-size: 14px; font-weight: 700; }
.chat-user-id { font-size: 11px; color: var(--grey); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message-bubble {
  max-width: 75%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
}
.message-bubble.from-user {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}
.message-bubble.from-admin {
  background: var(--accent);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}
.message-time {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  text-align: right;
}
.from-user .message-time { text-align: left; color: var(--grey-dark); }

.chat-input-row {
  padding: 10px 12px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.chat-input-row .form-input { flex: 1; }
.btn-send {
  padding: 11px 16px;
  flex-shrink: 0;
  font-size: 16px;
}

/* ─── Broadcast ──────────────────────────────────────────────────────────────── */
.broadcast-hint {
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 14px;
  padding: 10px;
  background: var(--bg-card-2);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--accent);
}

.broadcast-result {
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 12px;
}
.broadcast-result.success { background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.3); color: var(--success); }
.broadcast-result.error { background: color-mix(in srgb, var(--accent) 10%, transparent); border: 1px solid var(--border-red); color: var(--accent-light); }

/* ─── Stats ──────────────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
}
.stat-icon { font-size: 28px; margin-bottom: 8px; }
.stat-value { font-size: 24px; font-weight: 800; color: var(--accent-light); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 12px; color: var(--grey); }

.top-products-list { display: flex; flex-direction: column; gap: 8px; }
.top-product-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
}
.top-product-rank { color: var(--grey); font-weight: 700; min-width: 28px; }
.top-product-name { flex: 1; font-weight: 600; }
.top-product-sales { color: var(--accent-light); font-weight: 700; }

/* ─── Admin Header ────────────────────────────────────────────────────────────── */
.admin-header { border-bottom: 1px solid var(--border); }

/* ─── Toast ──────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  z-index: 999;
  white-space: nowrap;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease;
}
.toast.success { border-color: rgba(34,197,94,0.4); background: rgba(34,197,94,0.15); }
.toast.error { border-color: var(--border-red); background: color-mix(in srgb, var(--accent) 15%, transparent); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── Empty State ─────────────────────────────────────────────────────────────── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: var(--grey);
  gap: 8px;
  font-size: 14px;
}
.empty-icon { font-size: 40px; }

/* ─── Inline edit ────────────────────────────────────────────────────────────── */
.inline-edit-row {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-top: 6px;
}
.inline-edit-row .form-input {
  padding: 6px 10px;
  font-size: 13px;
  flex: 1;
}

/* ─── Scrollable tabs content ────────────────────────────────────────────────── */
#tab-products, #tab-orders, #tab-broadcast, #tab-stats {
  overflow-y: auto;
  max-height: calc(100vh - 130px);
}

/* ═══════════════════════════════════════════════════════════════
   ORDER SUCCESS POPUP
   ═══════════════════════════════════════════════════════════════ */

.modal-success {
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.success-body {
  text-align: center;
  padding: 36px 24px 28px;
}

.success-icon-wrap {
  position: relative;
  width: 90px;
  height: 90px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-checkmark {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: white;
  font-weight: 900;
  z-index: 2;
  position: relative;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.45), 0 0 0 0 rgba(34, 197, 94, 0.3);
  animation: successBounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), successGlow 2s ease-in-out 0.6s infinite alternate;
}

@keyframes successBounce {
  0% { transform: scale(0) rotate(-15deg); opacity: 0; }
  60% { transform: scale(1.15) rotate(5deg); }
  80% { transform: scale(0.95) rotate(-2deg); }
  100% { transform: scale(1) rotate(0deg); opacity: 1; }
}

@keyframes successGlow {
  from { box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3); }
  to   { box-shadow: 0 8px 40px rgba(34, 197, 94, 0.7); }
}

.success-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(34, 197, 94, 0.4);
  animation: ringExpand 1.2s ease-out forwards;
}
.success-ring-1 { width: 90px; height: 90px; animation-delay: 0.3s; opacity: 0; }
.success-ring-2 { width: 110px; height: 110px; animation-delay: 0.55s; opacity: 0; }

@keyframes ringExpand {
  0%  { transform: scale(0.5); opacity: 0.8; }
  100%{ transform: scale(1.3); opacity: 0; }
}

.success-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #ccc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeUp 0.4s ease 0.3s both;
}

.success-desc {
  font-size: 15px;
  color: var(--grey);
  line-height: 1.65;
  margin-bottom: 24px;
  animation: fadeUp 0.4s ease 0.45s both;
}
.success-desc strong { color: var(--white); }

.success-order-info {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--grey);
  margin-bottom: 20px;
  text-align: left;
  line-height: 1.7;
  animation: fadeUp 0.4s ease 0.55s both;
}
.success-order-info:empty { display: none; }

.success-bot-btn {
  font-size: 16px;
  padding: 14px;
  animation: fadeUp 0.4s ease 0.65s both;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 40%, transparent);
}
.success-bot-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 60%, transparent);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   ROULETTE REDESIGN
   ═══════════════════════════════════════════════════════════════ */

.wheel-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto 16px;
}

.wheel-pointer-wrap {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 0 8px var(--accent));
}

.wheel-pointer-arrow {
  font-size: 28px;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 0 12px var(--accent), 0 0 24px var(--accent);
  animation: pointerBob 1.2s ease-in-out infinite;
}

@keyframes pointerBob {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-4px); }
}

#wheelCanvas {
  border-radius: 50%;
  border: 3px solid color-mix(in srgb, var(--accent) 50%, transparent);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 20px color-mix(in srgb, var(--accent) 25%, transparent),
    0 0 40px color-mix(in srgb, var(--accent) 10%, transparent),
    inset 0 0 20px rgba(0,0,0,0.3);
  display: block;
  transition: box-shadow 0.3s;
}

#wheelCanvas.spinning {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 0 30px color-mix(in srgb, var(--accent) 50%, transparent),
    0 0 60px color-mix(in srgb, var(--accent) 20%, transparent);
}

.wheel-win-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, rgba(255,165,0,0.1) 50%, transparent 70%);
}
.wheel-win-glow.active {
  opacity: 1;
  animation: winPulse 0.6s ease-in-out 3;
}
@keyframes winPulse {
  0%, 100% { opacity: 0.2; transform: scale(0.95); }
  50%       { opacity: 1;   transform: scale(1.05); }
}

/* Win result box */
.spin-result {
  background: linear-gradient(135deg, #0d1f0d, #1a3320);
  border: 2px solid rgba(34, 197, 94, 0.5);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.spin-result::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(34,197,94,0.05) 100%);
}

.spin-result-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.spin-result-emoji {
  font-size: 44px;
  margin-bottom: 10px;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.spin-result-amount {
  font-size: 28px;
  font-weight: 900;
  color: #4ade80;
  letter-spacing: -0.5px;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s both;
}

.spin-result-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  animation: popIn 0.4s ease 0.25s both;
}

/* Sparkle particles */
.spin-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: sparkleFly var(--dur) ease-out forwards;
}
@keyframes sparkleFly {
  0%   { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; }
}

.btn-spin {
  font-size: 17px;
  font-weight: 800;
  padding: 15px;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  box-shadow: 0 4px 20px color-mix(in srgb, var(--accent) 40%, transparent);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-spin:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px color-mix(in srgb, var(--accent) 60%, transparent);
}
.btn-spin:active { transform: scale(0.97); }
.btn-spin:disabled { background: var(--grey-dark); box-shadow: none; transform: none; }

.spin-cooldown {
  font-size: 13px;
  color: var(--grey);
  text-align: center;
  margin-top: 10px;
  padding: 12px;
  background: var(--bg-card-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

/* ═══════════════════════════════════════════════════════════════
   IMAGE SKELETON LOADER
   ═══════════════════════════════════════════════════════════════ */

.img-skeleton {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--bg-card-2) 25%,
    #2a2a2a 50%,
    var(--bg-card-2) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.4s ease-in-out infinite;
  z-index: 1;
}

@keyframes skeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.product-photo-wrap {
  position: relative;
}

.product-photo {
  position: relative;
  z-index: 2;
}

/* ═══════════════════════════════════════════════════════════════
   CONFETTI
   ═══════════════════════════════════════════════════════════════ */

.confetti-piece {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
  top: -12px;
  animation: confettiFall linear forwards;
  will-change: transform;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 1;
  }
  80% { opacity: 1; }
  100% {
    transform: translateY(520px) translateX(var(--dx, 0px)) rotate(var(--spin, 360deg));
    opacity: 0;
  }
}

/* ═══════════════════════════════════════════════════════════════
   NEON WHEEL UPGRADES
   ═══════════════════════════════════════════════════════════════ */

/* Override the earlier .wheel-wrapper size — 300px already set */
.wheel-wrapper {
  width: 320px !important;
  height: 320px !important;
}

#wheelCanvas {
  border-radius: 50%;
  border: none !important;
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent),
    0 0 18px color-mix(in srgb, var(--accent) 35%, transparent),
    0 0 36px color-mix(in srgb, var(--accent) 15%, transparent) !important;
  display: block;
  transition: box-shadow 0.3s;
}

#wheelCanvas.spinning {
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--accent) 65%, transparent),
    0 0 28px color-mix(in srgb, var(--accent) 55%, transparent),
    0 0 50px color-mix(in srgb, var(--accent) 25%, transparent) !important;
}

.wheel-win-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 25%, transparent) 0%, color-mix(in srgb, var(--accent) 15%, transparent) 50%, transparent 70%);
}
.wheel-win-glow.active {
  animation: neonWinPulse 0.5s ease-in-out 4;
}
@keyframes neonWinPulse {
  0%, 100% { opacity: 0; transform: scale(0.9); }
  50%       { opacity: 1; transform: scale(1.1); }
}

/* Pointer neon red → orange glow */
.wheel-pointer-arrow {
  font-size: 30px;
  color: #ffffff;
  line-height: 1;
  text-shadow:
    0 0 8px  #ff4400,
    0 0 16px #ff8800,
    0 0 28px #ffcc00;
  animation: pointerBob 1s ease-in-out infinite;
}

/* ─── Age gate modal ────────────────────────────────────────────────────────── */
.age-gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
}

.age-gate-modal {
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-red);
  border-radius: var(--radius);
  box-shadow: var(--shadow-red);
  padding: 20px 18px 18px;
}

.age-gate-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  line-height: 1.35;
  margin-bottom: 8px;
}

.age-gate-subtitle {
  font-size: 13px;
  color: var(--grey);
  text-align: center;
  line-height: 1.45;
  margin-bottom: 16px;
}

.age-gate-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.age-gate-card {
  background: var(--bg-card-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.age-gate-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 4px;
}

.age-gate-card-text {
  font-size: 13px;
  color: var(--grey);
  line-height: 1.45;
}

.age-gate-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.age-gate-accept {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  padding: 4px 2px;
}

.age-gate-accept input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.age-gate-check {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid var(--grey-dark);
  border-radius: 6px;
  position: relative;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.age-gate-accept input:checked + .age-gate-check {
  border-color: var(--accent);
  background: var(--accent);
}

.age-gate-accept input:checked + .age-gate-check::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.age-gate-accept-text {
  font-size: 14px;
  color: var(--white);
}

/* ─── Theme picker ──────────────────────────────────────────────────────────── */
.themes-section {
  margin-bottom: 24px;
}

.themes-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.themes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.appearance-card,
.theme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  text-align: center;
}

.appearance-card:active,
.theme-card:active {
  opacity: 0.9;
}

.appearance-card.active,
.theme-card.active {
  border-color: var(--accent);
  background: var(--accent-soft-3);
  box-shadow: var(--shadow-red);
}

.appearance-preview {
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
}

.appearance-preview-dark {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.appearance-preview-light {
  background: linear-gradient(168deg, #fffafa 0%, #fff0f0 45%, #ffe8e8 100%);
  border: 1px solid #eadede;
}

.theme-card-name,
.appearance-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
}

.theme-card-desc,
.appearance-card-desc {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.35;
}

.theme-card-check,
.appearance-card-check {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-light);
  min-height: 16px;
}

.accents-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.accent-card {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  text-align: left;
}

.accent-card:active {
  opacity: 0.9;
}

.accent-card.active {
  border-color: var(--accent);
  background: var(--accent-soft-3);
  box-shadow: var(--shadow-red);
}

.accent-preview {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  flex-shrink: 0;
}

.accent-card-info {
  min-width: 0;
}

.accent-card-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.accent-card-desc {
  font-size: 11px;
  color: var(--grey);
  line-height: 1.35;
}

.accent-card-check {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-light);
  white-space: nowrap;
}

.theme-preview {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
