/* Окно «Купить в рассрочку» (tavridamoto.ru, 12.11.2026). Все классы с префиксом tvcr-, стили сайта не задевает. */
.tvcr{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:16px;background:rgba(17,20,24,.62);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);opacity:0;transition:opacity .3s;font-family:Commissioner,Arial,sans-serif;color:#21272e}
.tvcr[hidden]{display:none}
.tvcr.is-open{opacity:1}
.tvcr *{box-sizing:border-box}
.tvcr__box{position:relative;width:min(460px,100%);max-height:calc(100vh - 32px);overflow:auto;background:#fff;padding:40px 36px 34px;border-top:4px solid #d80c24;transform:translateY(20px) scale(.98);transition:transform .4s cubic-bezier(.2,.8,.2,1);box-shadow:0 40px 80px -30px rgba(0,0,0,.5)}
.tvcr.is-open .tvcr__box{transform:none}
.tvcr__x{position:absolute;right:12px;top:12px;width:40px;height:40px;border:0;background:#f2f3f4;cursor:pointer;transition:transform .3s,background-color .2s;padding:0}
.tvcr__x::before,.tvcr__x::after{content:"";position:absolute;left:12px;right:12px;top:19px;height:2px;background:#21272e;transform:rotate(45deg)}
.tvcr__x::after{transform:rotate(-45deg)}
.tvcr__x:hover{transform:rotate(90deg);background:#e6e7e9}
.tvcr__kicker{margin:0 0 8px;font-size:13px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:#d80c24}
.tvcr__title{margin:0;font-size:28px;line-height:1.15;font-weight:700;color:#21272e}
.tvcr__sub{margin:10px 0 20px;font-size:15px;line-height:1.45;color:#5b636c}
.tvcr__item{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin:0 0 20px;padding:12px 14px;background:#f5f5f6;border-left:3px solid #d80c24;font-size:15px;line-height:1.35}
.tvcr__item b{font-weight:600}
.tvcr__item span{white-space:nowrap;color:#5b636c}
.tvcr__item[hidden]{display:none}
.tvcr__form{display:grid;gap:14px;margin:0}
.tvcr__inp{display:grid;gap:6px;font-size:13px;color:#5b636c}
.tvcr__inp input{width:100%;height:50px;padding:0 14px;border:1px solid #d5d8dc;border-radius:0;background:#fff;font:inherit;font-size:16px;color:#21272e;outline:none;transition:border-color .2s,box-shadow .2s}
.tvcr__inp input:focus{border-color:#21272e;box-shadow:0 0 0 3px rgba(33,39,46,.08)}
.tvcr__inp input.is-bad{border-color:#d80c24}
.tvcr__hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}
.tvcr__agree{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.4;color:#5b636c;cursor:pointer}
.tvcr__agree input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:#d80c24}
.tvcr__agree.is-bad{color:#d80c24}
.tvcr__err{margin:0;font-size:14px;line-height:1.4;color:#d80c24}
.tvcr__err a{color:inherit;font-weight:600;white-space:nowrap}
.tvcr__err[hidden]{display:none}
.tvcr__btn{height:54px;margin-top:4px;border:0;border-radius:0;background:#d80c24;color:#fff;font:inherit;font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;cursor:pointer;transition:background-color .2s}
.tvcr__btn:hover{background:#b80a1f}
.tvcr__form.is-busy .tvcr__btn{opacity:.6;pointer-events:none}
.tvcr__line{height:50px;padding:0 28px;border:1px solid #21272e;background:#fff;color:#21272e;font:inherit;font-size:14px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;cursor:pointer}
.tvcr__line:hover{background:#21272e;color:#fff}
.tvcr__ok{text-align:center}
.tvcr__ok[hidden],.tvcr__view[hidden]{display:none}
.tvcr__ok .tvcr__sub{margin-bottom:24px}
.tvcr__mark{display:block;width:64px;height:64px;margin:4px auto 18px}
.tvcr__mark circle{fill:none;stroke:#d80c24;stroke-width:2.5;stroke-dasharray:151;stroke-dashoffset:151;animation:tvcr-draw .6s .1s forwards}
.tvcr__mark path{fill:none;stroke:#d80c24;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:tvcr-draw .4s .6s forwards}
@keyframes tvcr-draw{to{stroke-dashoffset:0}}
html.tvcr-lock,html.tvcr-lock body{overflow:hidden}
@media (max-width:480px){.tvcr__box{padding:34px 20px 24px}.tvcr__title{font-size:24px}}
@media (prefers-reduced-motion:reduce){.tvcr,.tvcr__box{transition:none}.tvcr__mark circle,.tvcr__mark path{animation:none;stroke-dashoffset:0}}
