/* Вкладка «Тест швидкості» на сторінці провайдера (views/provaider.ejs,
   isSpeedtest): результат, тарифи під ним і заклик перевірити адресу.
   Сітка карток та сама, що в блоці популярних тарифів, самі картки
   стилізовані в main.css (.card-tariff). Сторінка провайдера не під .hi,
   тому кольори тут числами, а не токенами. */

.isp-st {
  margin: 0 0 30px;
  padding: 22px 24px 24px;
  border: 1px solid #e3e9ea;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(46, 67, 72, .08);
}

.isp-st__title {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
  color: #2e4348;
  text-transform: none;
}

.isp-st__nums {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 36px;
  margin: 0 0 12px;
}

.isp-st__num {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.isp-st__label {
  font-size: 13px;
  color: #5d7076;
  margin-bottom: 2px;
}

.isp-st__num b {
  font-size: 34px;
  font-weight: 700;
  color: #2e4348;
}

.isp-st__num--dl b { color: #e14f13; }

.isp-st__unit {
  font-size: 13px;
  color: #84969b;
}

.isp-st__avg {
  margin: 0 0 6px;
  font-size: 14px;
  color: #5d7076;
}

/* ---------- тарифи під результатом ---------- */

.isp-st .st-offers { margin-top: 22px; }

.isp-st .st-offers h3 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 700;
  color: #2e4348;
  text-transform: none;
}

.isp-st .st-offers .hi-note {
  margin: 0 0 10px;
  max-width: 760px;
  font-size: 14px;
  color: #5d7076;
}

.isp-st .st-offers__cards {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8px;
}

.isp-st .st-offers__cards .card-item {
  flex: 0 0 33.33%;
  max-width: 33.33%;
  padding: 8px;
  display: flex;
}

.isp-st .st-offers__cards .card-tariff {
  width: 100%;
  border-radius: 12px;
}

/* ---------- заклик ---------- */

.isp-st__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  flex-wrap: wrap;
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff4ee;
}

.isp-st__cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 560px;
}

.isp-st__cta-text b {
  font-size: 17px;
  color: #2e4348;
}

.isp-st__cta-text span {
  font-size: 14px;
  color: #5d7076;
}

/* Поле адреси в заклику: як на головній, з підказкою міст поверх сторінки */
.isp-st__search {
  flex: 1 1 100%;
  max-width: 640px;
}

.isp-st__row {
  display: flex;
  gap: 10px;
}

.isp-st__field {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.isp-st__field .twitter-typeahead { width: 100%; }

.isp-st__search .check-street__input {
  width: 100%;
  height: 54px;
  font-size: 17px;
  padding: 0 52px 0 18px;
  border: 2px solid #cfd9db;
  border-radius: 10px;
  box-shadow: none;
  background: #fff;
  color: #2e4348;
}

.isp-st__search .check-street__input:focus {
  border-color: #ff6423;
  box-shadow: 0 0 0 3px rgba(255, 100, 35, .18);
  outline: none;
}

.isp-st__search .btn-gps { right: 14px; z-index: 10; }

.isp-st__search .tt-menu { z-index: 1050; }

.isp-st__btn {
  flex: 0 0 auto;
  height: 54px;
  margin: 0;
  padding: 0 22px;
  border-radius: 10px;
  white-space: nowrap;
}

.isp-st__more {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 10px 4px 0;
  font-size: 14px;
}

.isp-st__more a {
  color: #5d7076;
  text-decoration: underline;
  text-decoration-color: #cfd9db;
  text-underline-offset: 3px;
}

.isp-st__more a:hover { color: #e14f13; }

@media (max-width: 992px) {
  .isp-st .st-offers__cards .card-item { flex: 0 0 50%; max-width: 50%; }
}

@media (max-width: 600px) {
  .isp-st { padding: 18px 16px 20px; }
  .isp-st__num b { font-size: 28px; }
  .isp-st .st-offers__cards .card-item { flex: 0 0 100%; max-width: 100%; }
  .isp-st__row { flex-direction: column; }
  .isp-st__btn { width: 100%; }
}
