/* ==========================================================================
   АНКОМ — price page
   ========================================================================== */

.price-tabs { padding-top: 32px; }
.price-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.price-tab {
  padding: 10px 18px;
  background: none;
  border: 1px solid var(--line-3);
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--text-3);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.price-tab:hover { border-color: var(--accent); color: var(--text); }
.price-tab[aria-selected='true'] {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
}

.price-panel { padding-top: 40px; padding-bottom: 20px; }
.price-panel__head,
.price-table,
.price-note { max-width: 880px; } /* name and value stay within one glance */
.price-panel__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.price-panel__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-3xl);
  color: var(--text-hi);
}

.price-table { border: 1px solid var(--line-2); list-style: none; }
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.price-row:last-child { border-bottom: 0; }
.price-row__name { font-size: var(--fs-md); color: var(--text-2); }
/* the price is what people came for: display face, bright, tabular figures so the column lines up */
.price-row__value {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-md);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--text-hi);
}
.price-row__value--free { color: var(--accent); }
/* to the service page of the category: what exactly is repaired, models, FAQ */
.price-panel__more {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-md);
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}
.price-panel__more svg { flex-shrink: 0; translate: 0 calc(7px - 0.36em); translate: 0 calc(7px - 0.5cap); } /* arrow centred on the capitals */
.price-panel__more:hover { color: var(--hot); }

.price-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  padding: 18px 22px;
  border: 1px solid rgba(217, 212, 200, 0.3);
  background: rgba(217, 212, 200, 0.06);
}
.price-note__label {
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  color: var(--accent);
}
.price-note__text { max-width: 36em; font-size: var(--fs-sm); line-height: 1.55; color: var(--muted); }

.price-cta { margin-top: 60px; }

@media (max-width: 767.98px) {
  .price-tab { flex-shrink: 0; }
  .price-row { flex-wrap: wrap; align-items: baseline; gap: 4px 16px; padding: 14px 16px; }
  .price-cta { margin-top: 44px; }
}
