/* Cookie-баннер и чекбоксы согласия на обработку персональных данных */

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    background: #373737;
    color: #ffffff;
    font-family: Roboto, Arial, sans-serif;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.cookie-consent__text {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-consent__text a {
    color: #ffffff;
    text-decoration: underline;
}

.cookie-consent__text a:hover {
    color: #d90a41;
}

.cookie-consent__btn {
    flex: 0 0 auto;
    min-width: 150px;
    height: 42px;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    background-image: linear-gradient(to right, #a4022d 0%, #d90a41 50%, #a4022d 100%);
    color: #ffffff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s ease-in-out;
}

.cookie-consent__btn:hover,
.cookie-consent__btn:focus {
    color: #ffffff;
    opacity: .88;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    color: #373737;
    font-family: Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    cursor: pointer;
}

.consent-check input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
}

.consent-check a {
    color: #d90a41;
    text-decoration: underline;
}

.pushthebutton a {
    color: #d90a41;
    text-decoration: underline;
}

/* Подпись согласия во всплывающем окне «Заказать звонок» */
#myModal .modal-consent-group {
    margin-top: 4px;
    margin-bottom: 14px;
}

#myModal .modal-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0;
    color: #ffffff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    text-align: left;
    text-shadow: 0 0 9px #000000;
    cursor: pointer;
}

#myModal .modal-consent input[type="checkbox"] {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin-top: 1px;
    opacity: 1;
}

#myModal .modal-consent a {
    color: #ffffff;
    text-decoration: underline;
}

#myModal .modal-consent a:hover {
    color: #d90a41;
}

@media (max-width: 767px) {
    .cookie-consent__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .cookie-consent__btn {
        width: 100%;
    }
}
