/* ═══════════════════════════════════════════════════
   SALON CARDS, EVIDENCE, PILLS AND SECTION HEADERS
   ═══════════════════════════════════════════════════ */

/* ── Salon Result Card ── */
.salon-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.18s var(--ease-out), box-shadow 0.18s var(--ease-out);
}
.salon-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.salon-card:active {
  transform: scale(0.98);
  box-shadow: var(--shadow-xs);
}
.salon-card--premium {
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(145deg, var(--plum-400), var(--plum-700)) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-rose);
}
.salon-card--premium .salon-card__hero {
  height: 160px;
}
.salon-card--growth {
  background: linear-gradient(var(--surface), var(--surface)) padding-box,
              linear-gradient(145deg, var(--rose-300), var(--verified-color, #1d9bf0)) border-box;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-sm);
}
.salon-card__hero {
  height: 140px;
  background: linear-gradient(135deg, var(--rose-50), var(--rose-100));
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.salon-card--premium .salon-card__hero {
  background: var(--grad-rose);
}
.salon-card--growth .salon-card__hero {
  background: linear-gradient(160deg, var(--rose-100) 0%, var(--plum-100) 100%);
}
.salon-card__hero-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.25;
}
.salon-card--premium .salon-card__hero-icon,
.salon-card--growth .salon-card__hero-icon {
  opacity: 0.15;
  filter: invert(1);
}
.salon-card__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  gap: 4px;
}
.salon-card__deal {
  position: absolute;
  bottom: 8px;
  right: 8px;
}
.salon-card__fav {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.salon-card__body { padding: 12px; }
.salon-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 5px;
  letter-spacing: -0.2px;
}
.salon-card--premium .salon-card__name {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--primary-dark);
}
.salon-card__meta {
  font-size: 11px;
  color: var(--text-3);
  margin-top: 4px;
}
.salon-card__services {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
/* Price line: what the searched basket costs here, best route included. */
.salon-card__price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 9px;
  flex-wrap: wrap;
}
.salon-card__price-note {
  font-size: 11px;
  color: var(--text-3);
}

/* Bundle callout: a package that covers the basket for less. */
.salon-card__bundle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  padding: 9px 10px;
  border: 1px solid var(--success-border);
  border-radius: 10px;
  background: var(--success-surface);
  cursor: pointer;
  transition: background 0.15s var(--ease-out);
}
.salon-card__bundle:hover,
.salon-card__bundle:focus-visible { background: rgba(16, 185, 129, 0.16); }
.salon-card__bundle:focus-visible { outline: 2px solid var(--success-500); outline-offset: 1px; }
.salon-card__bundle-icon {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}
.salon-card__bundle-copy { flex: 1; min-width: 0; }
.salon-card__bundle-title {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.salon-card__bundle-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--success-600);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.salon-card__bundle-tag {
  flex: 0 0 auto;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--success-600);
  background: var(--surface);
  border: 1px solid var(--success-border);
  padding: 1px 6px;
  border-radius: 999px;
  line-height: 1.5;
}
.salon-card__bundle-sub {
  margin-top: 2px;
  font-size: 11px;
  color: var(--text-3);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.salon-card__bundle-save {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 8px;
  background: var(--success-500);
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
/* ── Evidence card (search results) ──
   The result card has to answer "is this good for my service?" without a
   salon-page detour. The image gives up height for the review and service
   evidence; the quote rail is native scroll-snap with no autoplay. */
.salon-card--evidence .salon-card__hero { height: 104px; }
.salon-card--evidence.salon-card--premium .salon-card__hero { height: 120px; }
.salon-card--evidence .salon-card__body { padding-top: 10px; }

.salon-card__reviews { margin-top: 8px; }
.salon-card__review-head {
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 16px;
  flex-wrap: wrap;
}
.salon-card__proof {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--plum-700);
  background: var(--plum-50);
  border: 1px solid var(--plum-100);
  border-radius: 999px;
  padding: 1px 6px;
  line-height: 1.5;
}
.salon-card__proof--popular {
  color: var(--primary-dark);
  background: var(--primary-surface);
  border-color: var(--rose-100);
}
.salon-card__positive {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--success-600);
  background: var(--success-surface);
  border: 1px solid var(--success-border);
  border-radius: 999px;
  padding: 1px 6px;
  line-height: 1.5;
  white-space: nowrap;
}
.salon-card__review-all {
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 2px 0;
  font: inherit;
  font-size: 10px;
  color: var(--text-3);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.salon-card__quote-track {
  display: flex;
  margin-top: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.salon-card__quote-track::-webkit-scrollbar { display: none; }
.salon-card__quote-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  min-height: 34px;
  padding-right: 8px;
}
.salon-card__quote-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.35;
  color: var(--text-2);
}
.salon-card__quote-meta {
  margin-top: 2px;
  font-size: 9.5px;
  color: var(--text-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.salon-card__quote-dots {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}
.salon-card__quote-dot {
  width: 4px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
}
.salon-card__quote-dot.is-on { background: var(--primary); }
.salon-card__quote-fallback {
  min-height: 28px;
  padding-top: 4px;
  font-size: 11px;
  color: var(--text-3);
}

.salon-card__service-list { margin-top: 2px; }
.salon-card__service {
  display: block;
  width: 100%;
  border: 0;
  border-top: 1px solid var(--border-subtle);
  background: transparent;
  padding: 8px 0 7px;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
.salon-card__service:first-child { border-top: 0; }
.salon-card__service--compact { padding: 6px 0 5px; }
.salon-card__service-top {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.salon-card__service-label {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.1px;
}
.salon-card__service-rating {
  flex: 0 0 auto;
  font-size: 9.5px;
  font-weight: 600;
  color: var(--text-3);
  white-space: nowrap;
}
.salon-card__service-price {
  flex: 0 0 auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-900);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.salon-card__service-was {
  flex: 0 0 auto;
  font-size: 9.5px;
  color: var(--text-3);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}
.salon-card__service-blurb {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  margin-top: 1px;
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--text-3);
}
.salon-card__service-more {
  border: 0;
  border-top: 1px solid var(--border-subtle);
  background: transparent;
  width: 100%;
  padding: 6px 0 2px;
  text-align: left;
  font: inherit;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}
.salon-card__basket-total {
  margin-top: 5px;
  font-size: 10.5px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.salon-card__footer {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 7px;
  font-size: 9.5px;
  color: var(--text-3);
}

/* Service sheet used when a service has no rich detail page yet. */
.card-service-sheet { padding: 2px 20px 6px; }
.card-service-sheet__eyebrow {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
}
.card-service-sheet__title {
  margin-top: 5px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  letter-spacing: -0.3px;
}
.card-service-sheet__meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.card-service-sheet__desc {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}
.card-service-sheet__includes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 12px;
}
.card-service-sheet__cta { width: 100%; margin-top: 18px; }

.service-tag {
  max-width: 100%;
  font-size: 10px;
  color: var(--text-2);
  background: var(--surface-2);
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-tag__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.service-tag--matched {
  background: var(--primary-surface);
  border: 1px solid var(--primary-border);
}
/* A preview service carrying an app price: the app price leads, the list price
   is struck through beside it. Neutral chip, so it never reads as selected. */
.service-tag__price {
  flex: 0 0 auto;
  font-weight: 500;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.service-tag__was {
  flex: 0 0 auto;
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
  text-decoration: line-through;
}
.service-tag--more {
  color: var(--primary);
  background: transparent;
  padding: 3px 4px;
}

/* ── Pills ── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  background: var(--surface);
  border-radius: var(--r-pill);
  font-size: 12px;
  color: var(--text-2);
  border: 1.5px solid var(--border);
  font-weight: 400;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-body);
  transition: all 0.15s var(--ease-smooth);
}
.pill--active {
  background: var(--primary-surface);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 600;
}
.pill--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  font-weight: 600;
}

/* ── Tabs ── */
.tab-bar {
  display: flex;
  border-bottom: 1px solid var(--border);
  padding: 0 20px;
  margin-bottom: 12px;
  overflow-x: auto;
}
.tab-bar::-webkit-scrollbar { display: none; }
.tab-bar { scrollbar-width: none; }
.tab {
  padding: 14px 0;
  margin-right: 24px;
  font-size: 15px;
  color: var(--text-3);
  border-bottom: 2.5px solid transparent;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font-body);
  letter-spacing: -0.01em;
  transition: color 0.15s;
}
.tab:hover { color: var(--text-2); }
.tab--active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  font-weight: 700;
}
.tab--active:hover { color: var(--primary); }

/* ── Section Headers ── */
.section-header {
  padding: 0 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: -0.2px;
}
.section-header__see-all {
  font-size: 12px;
  color: var(--primary);
  font-weight: 500;
  cursor: pointer;
}
.section-header__icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
