.mg-buy-click-button {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    border: 1px solid transparent;
    background: none;
    border-radius: 5px;
    padding: 1rem 2rem;
    font-size: 1.6rem;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    height: 5rem;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
    background: #F1F1F5;
    color: var(--main-text-color);
    width: 100%;
    -ms-flex-pack: center;
    justify-content: center;
    text-transform: none;
    text-shadow: none;
    box-shadow: none;
}
.wrapper-modal-mg-buy-click {
    border-radius: 10px;
    padding: 3rem !important;
}

.yandex-share__popup-title {
    display: block;
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 500;
    margin: 0 0 2rem;
}

.header-modal-mg-buy-click {
    padding: 0;
    border-bottom: 1px solid var(--secondary-border-color);
    margin-bottom: 2rem;
}
.wrapper-modal-mg-buy-click .header-modal-mg-buy-click h2 {
    display: block;
    font-size: 2rem;
    line-height: 1.25;
    font-weight: 500;
    padding: 0 0 2rem;
}
.titles-modal-mg-buy-click {
    padding: 0;
    font-size: 2.5rem;
    margin: 0 0 2rem;
}
.wrapper-modal-mg-buy-click h2.variant,
.titles-modal-mg-buy-click .title {
    font-size: 2.5rem;
    font-weight: 400;
}

.content-modal-mg-buy-click {
    padding: 0;
    margin-bottom: 1rem;
}
.mg-product-img {
    box-shadow: none;
}

.modal-mg-order-list li {
    margin-bottom: 1rem;
}

.modal-mg-order-list li > span {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.modal-mg-order-list .phone {
    height: auto;
}
.modal-mg-order-list li textarea:focus,
.modal-mg-order-list li input[type="text"]:focus {
    box-shadow: none;
    outline: 2px solid var(--accent-color);
}
.modal-mg-order-list li textarea,
.modal-mg-order-list li input[type="text"] {
    background-color: #F7F8FB;
    border: none;
    border-radius: 5px;
    padding: 1rem 1.5rem;
}

.wrapper-modal-mg-buy-click .agreement__label {
    font-size: 1.2rem;
}

.buyClick_agreement button {
    color: var(--link-color);
    border-bottom: 1px dashed #E3EEFF;
    text-decoration: none;
    transition: all 0.25s ease;
}

.buyClick_agreement button:hover {
    opacity: 0.8;
}
.mg-action-buttons {
    padding: 1rem 0 0 0;
}
.mg-send-order-click-button {
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    border: 1px solid transparent;
    line-height: 1.2;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    height: 5rem;
    padding: 0.5rem 1.5rem;
    height: 4rem;
    font-size: 1.4rem;
    border-radius: 4px;
    background: var(--accent-color);
    color: var(--secondary-text-color);
    transition: opacity .25s ease;
    font-family: inherit;
}

.mg-send-order-click-button:hover {
    opacity: 0.8;
    background: var(--accent-color);
    color: var(--secondary-text-color);
}

.mg-price-buy-click .nowrap span {
    font-size: 1.4rem;
}

.wrapper-modal-mg-buy-click .loading-send-order {
    font-size: 1.4rem;
    padding: 2rem;
    margin: 1.5rem;
}

.wrapper-mg-buy-click {
    width: auto;
    max-width: none;
    padding: 0;
    flex: 0 0 auto;
}
