/* ===== Попап расчёта стоимости ===== */
.quote {
    border: none;
    padding: 0;
    max-width: 560px;
    width: calc(100% - 32px);
    border-radius: 16px;
    background: white;
    color: var(--primary-text-1000);
}

.quote::backdrop {
    background: rgba(0, 0, 0, 0.6);
}

html:has(.quote[open]) {
    overflow: hidden;
}

.quote__box {
    position: relative;
    padding: 32px;
}

.quote__close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    cursor: pointer;
    color: var(--primary-text-900);
    transition: color var(--primary-transition-config);
}

.quote__close:hover {
    color: var(--primary-color-900);
}

.quote__close .icon {
    width: 22px;
    height: 22px;
    fill: none;
}

.quote__title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-right: 32px;
}

.quote__list {
    display: flex;
    flex-flow: column;
    row-gap: 8px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 135%;
    color: var(--primary-text-900);
}

.quote__list b {
    color: var(--primary-text-1000);
    font-weight: bold;
}

.quote__price {
    font-size: 18px;
    margin-bottom: 16px;
}

.quote__price b {
    color: var(--primary-color-900);
    font-weight: bold;
}

.quote__note {
    font-size: 13px;
    line-height: 135%;
    color: #999;
}

/* подсветка невалидных полей калькулятора */
.home-page-calculator__form .form-label.is-invalid input,
.home-page-calculator__form .custom-select.is-invalid .custom-select__trigger {
    border-color: #e23b3b;
}

.home-page-calculator__form fieldset.is-invalid {
    outline: 1px solid #e23b3b;
    outline-offset: 6px;
    border-radius: 8px;
}

/* сообщение об успешной отправке заявки (расчёт убран) */
.home-page-calculator__status[hidden] {
    display: none;
}

.home-page-calculator__status {
    margin: 0;
    color: var(--primary-color-900);
    font-weight: bold;
    font-size: 14px;
    line-height: 135%;
}

/* ссылка «Политика конфиденциальности» в согласии */
.home-page-calculator__form__submit a {
    color: #F89A32;
}
