/* MYDEBCARD — компактные спокойные CTA, 2026-08-17 */

/* Кнопки «Получить» в карточках займов. */
body .loan-card__foot {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 12px;
}

body .loan-card__btn,
body .ccard__btn {
  width: auto !important;
  min-width: 116px;
  height: 34px !important;
  min-height: 34px;
  align-self: center;
  padding: 0 16px !important;
  border: 1px solid #d7e2f5 !important;
  border-radius: 9px !important;
  background: #eef3fb !important;
  color: #315783 !important;
  box-shadow: none !important;
  font-size: 12.5px !important;
  line-height: 32px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  text-align: center;
  opacity: 1 !important;
  transform: none !important;
}

body .loan-card__btn:hover,
body .loan-card__btn:focus,
body .ccard__btn:hover,
body .ccard__btn:focus {
  border-color: #b9cbea !important;
  background: #e1eaf7 !important;
  color: #173f70 !important;
  box-shadow: 0 5px 14px rgba(49,87,131,.10) !important;
  transform: translateY(-1px) !important;
}

body .loan-card__btn:active,
body .ccard__btn:active {
  background: #d8e3f2 !important;
  transform: translateY(0) !important;
}

/* Ссылка «Все предложения» на главной. */
body .loans__more,
body .ccards__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #e1e8f2;
  border-radius: 8px;
  background: #f8fafc;
  color: #4b6480;
  font-size: 12px;
  font-weight: 650;
  line-height: 1;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

body .loans__more:hover,
body .ccards__more:hover {
  border-color: #cfdbea;
  background: #eef3f8;
  color: #244d78;
}

/* Кнопка «Показать все» в правой колонке страниц офферов. */
body .offer_cat_right .button_seo,
body .right_offer .button_seo {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 112px;
  height: 34px !important;
  margin: 12px auto 0 !important;
  padding: 0 14px !important;
  border: 1px solid #d7e2f0 !important;
  border-radius: 9px !important;
  background: #edf3f8 !important;
  color: #3a5875 !important;
  box-shadow: none !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
}

body .offer_cat_right .button_seo:hover,
body .right_offer .button_seo:hover {
  border-color: #becfe1 !important;
  background: #dfe9f3 !important;
  color: #173f67 !important;
  box-shadow: 0 5px 14px rgba(35,63,96,.10) !important;
}

@media (max-width: 560px) {
  body .loan-card__btn,
  body .ccard__btn {
    min-width: 108px;
    height: 33px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }
}

/* Кнопки «Оформить» в каталогах и полной карточке оффера. */
body .short_of_bnt a,
body .mob_short_of_bnt a,
body .offer_full_link a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 112px;
  height: 35px !important;
  min-height: 35px;
  padding: 0 16px !important;
  border: 1px solid #d3dfef !important;
  border-radius: 9px !important;
  background: #eaf1f9 !important;
  color: #2f557f !important;
  box-shadow: none !important;
  font-size: 12.5px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  text-align: center !important;
  opacity: 1 !important;
  transform: none !important;
}

body .short_of_bnt a:hover,
body .short_of_bnt a:focus,
body .mob_short_of_bnt a:hover,
body .mob_short_of_bnt a:focus,
body .offer_full_link a:hover,
body .offer_full_link a:focus {
  border-color: #afc4dd !important;
  background: #dce8f5 !important;
  color: #173f6b !important;
  box-shadow: 0 5px 14px rgba(47,85,127,.11) !important;
  transform: translateY(-1px) !important;
}

body .short_of_bnt,
body .mob_short_of_bnt {
  text-align: center;
}

body .offer_full_link {
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px;
  padding: 15px 20px !important;
}

body .offer_full_link a {
  min-width: 168px;
  height: 37px !important;
  background: #e5edf7 !important;
}

@media (max-width: 700px) {
  body .mob_short_of_bnt a {
    min-width: 128px;
    height: 34px !important;
    padding: 0 14px !important;
    font-size: 12px !important;
  }

  body .offer_full_link {
    justify-content: center !important;
  }
}

/* Единая сиреневая подсветка всех ключевых значений в карточках офферов. */
body .short_of_loan .of-name {
  border: 1px solid #ece7f7 !important;
  background: #f7f5fc !important;
}

body .short_of_loan .of-name .of-select,
body .short_of_loan .of-name:first-child .of-select {
  color: #6b55b5 !important;
  font-weight: 750 !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.75);
}

body .short_of_loan .of-name .of-select:empty,
body .short_of_loan .of-name .of-select:empty::after {
  color: #9aa4b2 !important;
  font-weight: 500 !important;
}

body .short_offers:hover .short_of_loan .of-name {
  border-color: #dfd7f2 !important;
  background: #f3f0fb !important;
}

/* Подписи под сиреневыми значениями — немного контрастнее. */
body .short_of_loan .of-name > div:last-child {
  color: #7f899b !important;
  font-weight: 550 !important;
}

/* Исправление: подпись — текстовый узел .of-name, значение — .of-select. */
body .short_of_loan .of-name {
  color: #7f899b !important;
  font-weight: 550 !important;
}

body .short_of_loan .of-name .of-select,
body .short_of_loan .of-name:first-child .of-select,
body .short_of_loan .of-name > .of-select:last-child {
  color: #6b55b5 !important;
  font-weight: 750 !important;
}
