.school-teachers__descr-popup{
    display: none;
}

/* Подтверждение смены email/телефона в профиле */
#profile .profile-code-wrap[hidden]{
    display: none;
}
#profile .profile-code-wrap .profile-code-hint{
    margin: 0 0 8px;
    font-size: 13px;
    color: #6f6f6f;
}
#profile .profile-code-wrap .input-line-wrap{
    max-width: 280px;
}
#profile .profile-code-wrap .btn-resend-code{
    margin-top: 8px;
    padding: 0;
    background: none;
    border: none;
    font-size: 13px;
    color: #7c9a3b;
    text-decoration: underline;
    cursor: pointer;
}

/* Десктоп: .profile-form — flex-строка, выносим блок кода на отдельную строку под полем */
@media (min-width: 1400px){
    #profile .profile-list-info .profile-form{
        flex-wrap: wrap;
    }
    #profile .profile-list-info .profile-form .profile-code-wrap{
        flex: 0 0 100%;
        order: 1;
    }
    #profile .profile-list-info .profile-form .form-btn-submit,
    #profile .profile-list-info .profile-form .form-btn-cancel{
        order: 2;
    }
}

/* Профиль на мобильных: пофилдовое редактирование как на десктопе */
@media (max-width: 1399px){
    #profile .profile-list-info{
        display: block;
    }
    #profile .mobile-list-wrap-input{
        display: none;
    }
    #profile .top-name-tab-mobile .btn-save{
        display: none;
    }
    #profile .profile-list-info .top-block{
        width: 100%;
    }
    #profile .profile-list-info .profile-form{
        flex-direction: column;
    }
    #profile .profile-list-info .profile-form .input-form-wrap,
    #profile .profile-list-info .profile-form .form-btn-submit{
        width: 100%;
    }
    #profile .password-form .form-btn-submit,
    #profile .password-form .form-btn-cancel{
        display: block;
        width: 100%;
    }
}

@media (width >= 768px) and (width <= 1399px){
    footer .bottom-footer .footer-social-menu .footer-social-menu-item{
        align-items:flex-start
    }
    footer .bottom-footer .footer-social-menu{
        width:95%
    }
    footer .bottom-footer .col-4{
        flex-direction:column;
        margin-left:auto;
        width:179px
    }
}

.pagination{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    padding: 20px 0;
    gap: 20px;
}
.pagination .pagination__title{
    font-size: 16px;
}
.pagination .pagination__list{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
}
.pagination .pagination__list li a{
    color: #2F2F2F;
}
.pagination .pagination__list li span{
    color: #96a15a;
}
.pagination .pagination__list .pagination__item.disabled{
    color: #b9b8b8;
}
.filter-top-catalog-page ul a.disabled{
    background: #F2F2F2;
    border-color: #E0E0E0;
    color: #b9b8b8;
    cursor: default;
    pointer-events: none;
}
.pagination .pagination__list .pagination__item.active{
    color: #96a15a;
}
.js-order-consent-label{
    margin-bottom: 20px;
}

.btn-calendar-wrap{
    position: relative;
}
.btn-calendar-wrap > .required{
    position: absolute;
    top: -8px;
    right: -8px;
    color: #f85c50;
    line-height: 1;
}


/* Автодополнение города СДЭК при оформлении заказа */
.city-suggest{
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 240px;
    overflow-y: auto;
    margin: 0;
    padding: 4px 0;
    list-style: none;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}
.city-suggest.show{
    display: block;
}
.city-suggest__item{
    padding: 10px 16px;
    font-size: 14px;
    line-height: 120%;
    color: #333;
    cursor: pointer;
}
.city-suggest__item:hover{
    background: #f5f5f5;
}

/* Оформление заказа (mobile): поля получателя показываются сразу, без отдельной вкладки */
@media (max-width: 767px){
    .order-layout--checkout .checkout-section--recipient .form-recipient{
        opacity: 1;
        position: static;
        transform: none;
        width: auto;
        height: auto;
        overflow: visible;
    }
    .order-layout--checkout .checkout-section--recipient .form-recipient .inner{
        display: block;
        background: transparent;
        height: auto;
        margin-top: 12px;
        padding: 0;
    }
    .order-layout--checkout .checkout-section--recipient .form-recipient .btn-box{
        display: none;
    }
    .order-layout--checkout .checkout-section--recipient .checkout-section_top-name{
        padding-right: 0;
    }
    .order-layout--checkout .checkout-section--recipient .checkout-section_top-name:after{
        display: none;
    }
    .order-layout--checkout .checkout-section--recipient .checkout-section_name-xs{
        display: none;
    }
}