@layer packages {
/* калькулятор кредита */
.credit_section { padding: 50px 0; scroll-margin-top: 80px; }
.stock_full_section.credit_section { padding: 0; }
.credit_calc { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 30px; padding: 30px; border-radius: 10px; background: #F5F5F5; }
.credit_calc .hidden { display: none; }
.credit_calc_fields { display: flex; flex-direction: column; gap: 22px; }
.credit_price { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 18px; }
.credit_price b { font-size: 24px; white-space: nowrap; }
.credit_field, .credit_range { display: flex; flex-direction: column; gap: 8px; margin: 0; font-weight: 400; }
.credit_field > span, .credit_range > span { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; color: #626262; }
.credit_range > span b { color: #222; font-size: 16px; white-space: nowrap; }
.credit_field > span b { color: #222; white-space: nowrap; }
.credit_field select, .credit_field input { width: 100%; height: 48px; box-sizing: border-box; padding: 0 12px; border: 1px solid #E1E1E1; border-radius: 8px; background: #fff; font: inherit; color: #222; }
.credit_range input { width: 100%; margin: 0; accent-color: var(--color-main); cursor: pointer; }
.credit_calc_result { display: flex; flex-direction: column; gap: 16px; padding: 24px; border-radius: 10px; background: #fff; }
.credit_payment span { display: block; font-size: 14px; color: #626262; }
.credit_payment b { font-size: 32px; line-height: 1.2; white-space: nowrap; }
.credit_summary { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.credit_summary li { display: flex; justify-content: space-between; gap: 10px; }
.credit_summary span { color: #626262; }
.credit_calc_result .btn { width: 100%; }
.credit_note, .credit_text { font-size: 12px; line-height: 1.4; color: #8a8a8a; white-space: pre-line; }
.credit_note:empty { display: none; }
@media (max-width: 991px) {
	.credit_calc { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
	.credit_section { padding: 35px 0; }
}
@media (max-width: 576px) {
	.credit_calc { padding: 15px; margin: 0 -15px; border-radius: 0; }
	.credit_calc_result { padding: 18px; }
	.credit_payment b { font-size: 28px; }
}
}
