/* Moldabela — правки после запуска (06.12.2026). Подключается после md-design.css */
/* пагинация: ровные квадратные кнопки на всех экранах */
html body .ty-pagination{display:flex!important;align-items:center;justify-content:center;flex-wrap:nowrap;gap:6px;margin:14px 0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
html body .ty-pagination__items{display:flex!important;gap:6px;margin:0!important;padding:0!important;border:0!important;float:none!important}
html body .ty-pagination .ty-pagination__item, html body .ty-pagination .ty-pagination__selected, html body .ty-pagination .ty-pagination__btn{box-sizing:border-box!important;width:40px!important;min-width:40px!important;height:40px!important;padding:0!important;margin:0!important;float:none!important;display:inline-flex!important;align-items:center;justify-content:center;font-size:15px!important;font-weight:600;line-height:1!important;border:1px solid #e3e6ee!important;border-radius:12px!important;background:#fff!important;color:#0b1a3c!important;text-decoration:none!important;box-shadow:none!important;overflow:hidden;white-space:nowrap}
html body .ty-pagination .ty-pagination__btn{font-size:0!important}
html body .ty-pagination .ty-pagination__btn .ty-pagination__text{display:none!important}
html body .ty-pagination .ty-pagination__btn .ty-pagination__text-arrow{font-size:16px!important;margin:0!important;color:#0b1a3c}
html body .ty-pagination .ty-pagination__selected{background:#0b1a3c!important;color:#fff!important;border-color:#0b1a3c!important}
html body .ty-pagination .ty-pagination__item:hover{border-color:#c9a24c!important}
html body .ty-pagination .ty-pagination__item, html body .ty-pagination .ty-pagination__selected, html body .ty-pagination .ty-pagination__btn{justify-content:center!important;align-items:center!important;text-align:center!important}
html body .ty-pagination{justify-content:center!important}

/* кабинет на телефоне */
@media (max-width:900px){
html body .md-acc{grid-template-columns:minmax(0,1fr)!important;width:100%;max-width:100%}
html body .md-acc>*{min-width:0!important;max-width:100%}
html body .md-acc__nav{max-width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:none}
html body .md-acc__nav::-webkit-scrollbar{display:none}
html.md-account .md-acc__main .ty-mainbox-container{padding:20px 14px!important}
html.md-account .md-acc__main h1.ty-mainbox-title{font-size:26px!important;word-break:break-word}
html.md-account .md-acc__main input[type=text],html.md-account .md-acc__main input[type=email],html.md-account .md-acc__main input[type=password],html.md-account .md-acc__main input[type=tel],html.md-account .md-acc__main select,html.md-account .md-acc__main textarea{width:100%!important;max-width:100%!important;box-sizing:border-box!important;font-size:16px!important}
html.md-account .md-acc__main .ty-control-group,html.md-account .md-acc__main form{max-width:100%}
html.md-account .md-acc__main .ty-btn{max-width:100%;white-space:normal}
}

/* одинаковый размер текста на телефонах (отключаем автоувеличение Chrome/Safari) */
html{-webkit-text-size-adjust:100%!important;-moz-text-size-adjust:100%!important;text-size-adjust:100%!important}
html body .ty-pages-contacts__contact-phone{font-size:22px!important;line-height:1.3!important;margin:0 0 4px!important;max-height:none!important}
