/* ═══════════════════════════════════════════════════
   SHARED COMPONENTS
   Badges, cards, buttons, inputs, etc.
   ═══════════════════════════════════════════════════ */

/* ── Screen Titles (Playfair Display) ── */
.screen-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

/* ── Empty State ── */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 48px 32px;
}
.empty-state__icon {
  width: 72px;
  height: 72px;
  background: var(--primary-surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.empty-state__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}
.empty-state__subtitle {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 240px;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.3px;
  line-height: 1.4;
}
.badge--top { background: var(--grad-premium); color: #fff; }
.badge--verified { background: var(--verified-color, #1d9bf0); color: #fff; }
.badge--deal { background: var(--saffron-400, #f59e0b); color: var(--ink-800, #1f1a17); font-size: 10px; font-weight: 700; padding: 2px 7px; letter-spacing: 0.04em; }

.dot-badge {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dot-badge--top { background: var(--plum-600, #6d2db0); }
.dot-badge--verified { background: var(--verified-color, #1d9bf0); }

/* ── Star Rating ── */
.star-row {
  font-size: 12px;
  color: var(--saffron-400, #f59e0b);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-variant-numeric: tabular-nums;
}

/* ── Pay At Salon ── */
.pay-at-salon {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--success);
  font-weight: 500;
}

/* ── Back Button ── */
.back-btn {
  width: 36px;
  height: 36px;
  background: var(--surface-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.12s var(--ease-smooth), opacity 0.12s;
  line-height: 1;
}
.btn:active {
  transform: scale(0.96);
  opacity: 0.9;
}

.btn--primary {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  color: #fff;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  box-shadow: var(--shadow-rose);
  transition: transform 0.12s var(--ease-spring), box-shadow 0.12s var(--ease-out);
}
.btn--primary:active {
  transform: scale(0.97);
  box-shadow: none;
}

.btn--secondary {
  width: 100%;
  padding: 16px;
  background: var(--plum-50);
  color: var(--plum-600);
  border: 1.5px solid var(--plum-200);
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: transform 0.12s var(--ease-spring), background 0.12s;
}
.btn--secondary:hover { background: #f3e9fb; }
.btn--secondary:active { transform: scale(0.97); }
.btn--secondary svg { stroke: var(--plum-600); }
.btn--primary-sm {
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow-rose);
}
.btn--outline {
  width: 100%;
  padding: 14px;
  background: var(--surface-2);
  color: var(--primary);
  border: 1.5px solid var(--primary);
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}
.btn--danger {
  width: 100%;
  padding: 14px;
  background: var(--error-surface);
  color: var(--error);
  border: 1px solid var(--error-border);
  border-radius: 12px;
  font-weight: 600;
  font-size: 14px;
}
.btn--ghost {
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
}
.btn--disabled {
  background: var(--border);
  color: var(--text-3);
  cursor: default;
}

/* ── Inputs ── */
.input {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-surface);
}
.input::placeholder { color: var(--text-3); }

.input-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

/* ── Cards ── */
.card {
  background: var(--surface);
  border: none;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.card--premium {
  box-shadow: var(--shadow-gold);
}
.card__body { padding: 12px; }
