/* Стили для юридических документов, согласия в формах и cookie-баннера */

/* --- ссылки на документы в подвале --- */
.foot__legal {
    margin-top: 10px;
    font-size: 12px;
    line-height: 1.7;
    color: #8a8a8a;
}
.foot__legal a {
    color: #8a8a8a;
    text-decoration: underline;
}
.foot__legal a:hover {
    color: #2e7d32;
}

/* --- чекбокс согласия в модальной форме «Заказать звонок» --- */
.callback-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 6px;
    text-align: left;
    font-size: 12px;
    line-height: 1.45;
}
.callback-consent input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 3px 0 0;
    width: 14px;
    height: 14px;
    cursor: pointer;
}
.callback-consent label {
    font-weight: normal;
    cursor: pointer;
    color: #555;
}
.callback-consent a {
    color: #0095da;
    text-decoration: underline;
}
.callback-consent label.error {
    color: #c00;
    font-size: 11px;
    display: block;
    margin-top: 4px;
}

/* --- cookie-баннер (по образцу gazontrad.ru) --- */
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 14px 22px;
    background: #f3ffe7;
    color: #797979;
    font-size: 13px;
    line-height: 1.45;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.12);
}
.cookie-banner[hidden] {
    display: none;
}
.cookie-banner__text {
    max-width: 980px;
}
.cookie-banner__text a {
    color: #006400;
    text-decoration: underline;
}
.cookie-banner__text a:hover {
    color: #004d00;
}
.cookie-banner__btn {
    flex: 0 0 auto;
    border: 0;
    border-radius: 3px;
    padding: 9px 24px;
    background: #cfcfcf;
    color: #006400;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.05em;
    cursor: pointer;
}
.cookie-banner__btn:hover {
    background: #c0c0c0;
}
@media (max-width: 640px) {
    .cookie-banner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 10px 14px;
    }
    .cookie-banner__btn {
        width: 100%;
    }
}
