/* nsk /test/ (14.11.2026): кнопки «Таврида Ноль» под ценой + калькулятор кредита (сетка ставок как на tavrida-finance.ru). */
:root { --tz-green: #1fd65f; --tz-green-text: #04220f; --tz-ink: #141414; }

/* Логотип «ТАВРИДА 0» (как у программы «Таврида Ноль» на tavrida-finance.ru) */
.tl { display: inline-flex; align-items: center; gap: 8px; font-family: 'Exo 2', sans-serif; line-height: .9; white-space: nowrap; }
.tl__brand { font-weight: 900; font-size: 22px; letter-spacing: -.01em; color: var(--tl-fg, #fff); transform: skewX(-12deg); text-transform: uppercase; }
.tl__zero { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; font-size: 22px; font-weight: 900; color: var(--tz-green-text); background: var(--tz-green); border-radius: .22em; transform: skewX(-12deg); box-shadow: 0 0 0 2px #fff, 0 0 18px rgba(31, 214, 95, .7); }
.ast { font-size: .55em; color: #9a9a9a; font-weight: 400; vertical-align: super; line-height: 0; margin-left: 1px; }

/* ---------- Кнопки под ценой (ПК) ---------- */
.test-credit .product { height: auto; padding-bottom: 40px; }
.test-credit .product__info { height: auto; }
.zcta { display: flex; gap: 16px; align-self: flex-end; margin: 18px -3px 6px 0; }
.zcta__zero { display: flex; align-items: center; gap: 18px; height: 72px; padding: 0 28px 0 22px; border-radius: 89px; background: var(--tz-ink); color: #fff; text-align: left; transition: background-color .2s, box-shadow .2s; }
.zcta__zero:hover { background: #000; box-shadow: 0 0 0 3px rgba(31, 214, 95, .35); }
.zcta__txt { display: flex; flex-direction: column; gap: 3px; }
.zcta__txt b { font-size: 18px; line-height: 22px; font-weight: 700; }
.zcta__txt small { font-size: 14px; line-height: 17px; color: rgba(255, 255, 255, .72); }
.zcta__txt small em { font-style: normal; white-space: nowrap; color: var(--tz-green); font-weight: 700; }
.zcta__calc { height: 72px; padding: 0 30px; border-radius: 89px; border: 2px solid var(--red); color: var(--red); font-size: 18px; font-weight: 700; transition: background-color .2s, color .2s; }
.zcta__calc:hover { background: var(--red); color: #fff; }
.zcta-m-sec { display: none; }

/* ---------- Калькулятор ---------- */
.tcalc { padding: 72px 0 80px; background: #f6f6f6; }
.tcalc__head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 36px; }
.tcalc__title { font-size: 48px; line-height: 58px; font-weight: 700; color: var(--text); }
.tcalc__title span { color: var(--red); }
.tcalc__sub { margin-top: 10px; font-size: 20px; line-height: 26px; color: var(--muted); }
.tcalc__grid { display: grid; grid-template-columns: 1fr 520px; gap: 24px; }
.tcalc__form { display: flex; flex-direction: column; gap: 28px; padding: 40px; border-radius: 24px; background: #fff; }
.tcalc__lbl { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 16px; line-height: 20px; color: var(--muted); }
.tcalc__lbl b { color: var(--text); font-size: 20px; font-weight: 700; }
.tcalc__lock { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
.tcalc__lock svg { width: 14px; height: 14px; }
.tcalc__seg { display: grid; gap: 8px; }
.tcalc__seg--4 { grid-template-columns: repeat(4, 1fr); }
.tcalc__seg--6 { grid-template-columns: repeat(6, 1fr); }
.tcalc__seg--3 { grid-template-columns: repeat(3, 1fr); }
.tcalc__opt { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px; padding: 8px 6px; border-radius: 14px; border: 1.5px solid #e2e2e2; background: #fff; color: var(--text); font-size: 18px; line-height: 22px; font-weight: 700; transition: border-color .15s, background-color .15s, color .15s; }
.tcalc__opt small { font-size: 13px; line-height: 16px; font-weight: 400; color: var(--muted); }
.tcalc__opt:hover { border-color: var(--red); }
.tcalc__opt.on { border-color: var(--red); background: var(--red); color: #fff; }
.tcalc__opt.on small, .tcalc__opt.on .ast { color: rgba(255, 255, 255, .8); }
.tcalc__opt--zero:not(.on) small { color: #12a347; font-weight: 700; }
.tcalc__price { display: flex; align-items: baseline; gap: 8px; height: 60px; padding: 0 20px; border-radius: 14px; background: #f3f3f3; font-size: 28px; font-weight: 700; color: var(--text); line-height: 60px; }
.tcalc__price input { width: 100%; border: 0; background: none; font: inherit; color: inherit; outline: none; }
.tcalc__price input:not([readonly]) { color: var(--red); }

.tcalc__res { position: relative; display: flex; flex-direction: column; padding: 36px 40px 32px; border-radius: 24px; background: var(--tz-ink); color: #fff; overflow: hidden; }
.tcalc__img { height: 200px; margin: 0 0 22px; display: flex; justify-content: center; border-radius: 16px; background: #fff; overflow: hidden; }
.tcalc__img img { height: 100%; width: auto; object-fit: contain; }
.tcalc__nums { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.tcalc__k { font-size: 15px; line-height: 18px; color: rgba(255, 255, 255, .6); margin-bottom: 6px; }
.tcalc__pay { font-family: 'Exo 2', sans-serif; font-size: 48px; line-height: 52px; font-weight: 800; white-space: nowrap; }
.tcalc__pay em, .tcalc__rate em { font-style: normal; font-size: .6em; margin-left: 4px; }
.tcalc__r { text-align: right; }
.tcalc__rate { font-family: 'Exo 2', sans-serif; font-size: 36px; line-height: 52px; font-weight: 800; }
.tcalc__zero { display: inline-block; margin-top: 4px; padding: 3px 10px; border-radius: 20px; background: var(--tz-green); color: var(--tz-green-text); font-size: 13px; font-weight: 700; }
.tcalc__zero[hidden] { display: none; }
.tcalc__meta { margin: 18px 0 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; line-height: 20px; color: rgba(255, 255, 255, .7); }
.tcalc__btn { height: 64px; width: 100%; font-size: 18px; }
.tcalc__note { margin-top: 12px; font-size: 13px; line-height: 17px; color: rgba(255, 255, 255, .5); }
.tcalc__promo { margin-top: 28px; font-size: 13px; line-height: 18px; color: #8a8a8a; }

/* Окно заявки «Купить в кредит» */
.lead-modal__credit { margin: -4px 0 14px; padding: 10px 14px; border-radius: 12px; background: rgba(31, 214, 95, .12); border: 1px solid rgba(31, 214, 95, .45); font-size: 15px; line-height: 20px; color: #fff; font-weight: 600; }
.lead-modal__credit:empty { display: none; }

/* ---------- Телефон (холст 402 px, как остальной лендинг) ---------- */
@media (max-width: 1023px) {
    .test-credit .product { height: 847.1px; padding-bottom: 0; }
    .zcta { display: none; }
    .zcta-m-sec { display: block; }
    .zcta-m { padding: 18px 17.6px 26px; background: #fff; }
    .zcta-m .zcta__zero { width: 100%; height: 66px; gap: 14px; padding: 0 16px; }
    .zcta-m .tl__brand, .zcta-m .tl__zero { font-size: 17px; }
    .zcta-m .zcta__txt b { font-size: 15px; line-height: 18px; }
    .zcta-m .zcta__txt small { font-size: 12.5px; line-height: 15px; }
    .zcta-m .zcta__calc { width: 100%; height: 52px; margin-top: 10px; font-size: 16px; }

    .tcalc { padding: 34px 0 36px; }
    .tcalc .wrap { padding: 0 14px; box-sizing: border-box; }
    .tcalc__head { display: block; margin-bottom: 18px; }
    .tcalc__title { font-size: 30px; line-height: 36px; }
    .tcalc__sub { font-size: 15px; line-height: 20px; }
    .tcalc__grid { grid-template-columns: 1fr; gap: 12px; }
    .tcalc__form { gap: 20px; padding: 20px 16px; border-radius: 18px; }
    .tcalc__seg--4 { grid-template-columns: repeat(2, 1fr); }
    .tcalc__seg--6 { grid-template-columns: repeat(3, 1fr); }
    .tcalc__opt { min-height: 50px; font-size: 16px; }
    .tcalc__lbl { font-size: 14px; }
    .tcalc__lbl b { font-size: 17px; }
    .tcalc__price { height: 52px; line-height: 52px; font-size: 22px; }
    .tcalc__res { padding: 22px 18px 20px; border-radius: 18px; }
    .tcalc__img { height: 140px; }
    .tcalc__pay { font-size: 36px; line-height: 40px; }
    .tcalc__rate { font-size: 28px; line-height: 40px; }
    .tcalc__btn { height: 54px; font-size: 16px; }
    .tcalc__promo { margin-top: 16px; font-size: 11.5px; line-height: 15px; }
}
