/* Footer Styles - Переопределение стилей для футера */

/* CSS переменные для футера и блока обратной связи */
:root {
    --footer-text-color: #000000;
    --footer-accent-color: #F5F1E6;
    --footer-accent-color-rgb: 245, 241, 230;
    --footer-accent-color-border: rgba(245, 241, 230, 0.3);
}

/* Фон футера */
.footer-outer-box {
    background-color: var(--footer-accent-color) !important;
}

footer {
    background: var(--footer-accent-color) !important;
    color: var(--footer-text-color) !important;
}

/* Заголовки в футере */
.footer__title {
    color: var(--footer-text-color) !important;
}

.footer__title span {
    color: var(--footer-text-color) !important;
}

/* Контент футера */
.footer__content {
    color: var(--footer-text-color) !important;
}

/* Контакты */
.footer__contact_item .email,
.footer__contact_item .open_hours,
.footer__contact_item .phone {
    color: var(--footer-text-color) !important;
}

.footer__contact_item .email span,
.footer__contact_item .open_hours span,
.footer__contact_item .phone span {
    color: var(--footer-text-color) !important;
}

.footer__contact_item .open_hours,
.footer__contact_item .open_hours p,
.footer__contact_item .open_hours span {
    color: var(--footer-text-color) !important;
}

.footer__contact_item .callback {
    border-color: var(--footer-accent-color) !important;
    color: var(--footer-text-color) !important;
}

/* Ссылки меню */
.footer__menu_link {
    color: var(--footer-text-color) !important;
}

.menu_group--footer .menu_group__link {
    color: var(--footer-text-color) !important;
}

.menu_group--footer .menu_group__link span {
    color: var(--footer-text-color) !important;
}

/* Ссылка "Показать все" */
.footer__view_all {
    color: var(--footer-text-color) !important;
    border-color: var(--footer-accent-color) !important;
}

.footer__view_all:hover,
.footer__view_all:focus {
    color: var(--footer-text-color) !important;
}

/* Копирайт - оставляем черный фон, но меняем цвет текста */
.footer__copyright {
    background: #000 !important;
    color: #fff !important;
    border-top: 1px solid rgba(0, 0, 0, 0.2) !important;
}

.footer__copyright span {
    color: #fff !important;
}

.footer__copyright a {
    color: #fff !important;
}

/* Социальные ссылки в футере */
.footer__social .social__link {
    color: var(--footer-text-color) !important;
}

/* SVG иконки в контактах */
.footer__contact_item .email svg,
.footer__contact_item .open_hours svg,
.footer__contact_item .phone svg {
    fill: var(--footer-text-color) !important;
    stroke: var(--footer-text-color) !important;
}

/* Все ссылки в футере по умолчанию */
footer a {
    color: var(--footer-text-color) !important;
}

/* Исключение для копирайта */
.footer__copyright a {
    color: #fff !important;
}

