/* ============================================================
   СЕЗОННАЯ СМЕНА ШИН — локальные стили
   Подключается ТОЛЬКО на /uslugi/sezonnaya-smena-shin/
   ============================================================ */

/* ===== Вкладки сезонов ===== */
.season-tabs {
  display: flex;
  gap: 8px;
  margin: 18px 0 22px;
  padding: 4px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: fit-content;
  max-width: 100%;
}
.season-tab {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: transparent;
  border: 0;
  border-radius: calc(var(--radius) - 4px);
  color: var(--muted);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}
.season-tab:hover { color: var(--text); }
.season-tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--accent), #ff8a33);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,0,.35);
}
.season-tab__icon { font-size: 16px; }

@media (max-width: 480px) {
  .season-tabs { width: 100%; }
  .season-tab { padding: 11px 12px; font-size: 13px; }
  .season-tab__icon { display: none; }
}

/* ===== Плашки «Выезд» ===== */
.season-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
@media (max-width: 700px) {
  .season-info { grid-template-columns: 1fr; }
}
.season-info__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.season-info__item span {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .02em;
}
.season-info__item strong {
  font-size: 16px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: -.01em;
}

/* ===== Заголовки внутри блока цен ===== */
.season-h3 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 24px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  color: var(--text);
}
.season-h3:first-of-type { margin-top: 8px; }

/* ===== Прокрутка таблицы на мобилке ===== */
.price-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  margin-bottom: 6px;
}
.price-scroll::-webkit-scrollbar { height: 8px; }
.price-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
.price-scroll::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ===== Таблица цен ===== */
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  min-width: 720px;
}
.price-table thead th {
  position: sticky;
  top: 0;
  background: var(--card-2);
  color: var(--text);
  font-weight: 700;
  font-size: 12px;
  text-align: center;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.price-table thead th:first-child {
  text-align: left;
  position: sticky;
  left: 0;
  z-index: 2;
  background: var(--card-2);
  padding-left: 14px;
}
.price-table tbody td {
  padding: 10px 8px;
  text-align: center;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.price-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--text);
  position: sticky;
  left: 0;
  background: var(--card);
  z-index: 1;
  padding-left: 14px;
  min-width: 160px;
}
.price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:hover td {
  background: rgba(255,107,0,.06);
}
.price-table tbody tr:hover td:first-child {
  background: rgba(255,107,0,.12);
  color: var(--accent);
}
.price-table__single {
  text-align: center !important;
  font-weight: 700;
  color: var(--accent) !important;
}

/* Узкая таблица для доп. услуг */
.price-table--narrow {
  min-width: 0;
}
.price-table--narrow tbody td {
  text-align: left;
  padding: 11px 14px;
}
.price-table--narrow tbody td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.price-table--narrow tbody td:first-child {
  position: static;
  background: transparent;
  min-width: 0;
}

/* ===== Надбавки ===== */
.price-bonus {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 520px;
}
.price-bonus li {
  padding: 10px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 14px;
  color: var(--muted);
}
.price-bonus strong { color: var(--accent); font-weight: 800; }

/* ===== USP-карточки ===== */
.usp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 560px)  { .usp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .usp-grid { grid-template-columns: repeat(3, 1fr); } }

.usp-card {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.usp-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,107,0,.4);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.usp-icon {
  font-size: 28px;
  margin-bottom: 10px;
  line-height: 1;
}
.usp-card h3 {
  font-size: 16px;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.usp-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ===== Шаги ===== */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  counter-reset: step;
}
@media (min-width: 560px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }

.step {
  padding: 20px 18px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}
.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #ff8a33);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(255,107,0,.35);
}
.step h3 {
  font-size: 15px;
  margin-bottom: 6px;
  letter-spacing: -.01em;
}
.step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
}
.step a { color: var(--accent); text-decoration: none; }
.step a:hover { text-decoration: underline; }

/* ===== Перелинковка ===== */
.links-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 560px) { .links-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .links-grid { grid-template-columns: repeat(3, 1fr); } }

.links-grid__item {
  display: block;
  padding: 14px 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s ease, border-color .15s ease, color .15s ease, padding-left .15s ease;
}
.links-grid__item:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
  padding-left: 24px;
}
.links-grid__item::after {
  content: " →";
  opacity: 0;
  transition: opacity .15s ease;
}
.links-grid__item:hover::after { opacity: 1; }