/* =========================================================
   ФУТЕР PROPERASPORT
========================================================= */

.ps-footer {
    --ps-footer-bg: #F7F9FA;
    --ps-footer-text: #063F63;
    --ps-footer-muted: #587181;
    --ps-footer-border: #DFE5E8;
    --ps-footer-accent: #8F2A91;

    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--ps-footer-bg);
    color: var(--ps-footer-text);
    font-family: var(--ps-font-body, 'Nunito', sans-serif);
}

.ps-footer,
.ps-footer *,
.ps-footer *::before,
.ps-footer *::after {
    box-sizing: border-box;
}

.ps-footer a {
    color: inherit;
    text-decoration: none;
}

.ps-footer p,
.ps-footer h2,
.ps-footer ul {
    margin: 0;
    padding: 0;
}

/* Основной контейнер */

.ps-footer__container {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================================
   ОСНОВНАЯ ЧАСТЬ И КОЛОНКИ
========================================================= */

.ps-footer__main {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr 0.85fr 1.15fr;
    gap: 48px;
    padding: 54px 0 44px;
}

.ps-footer__column {
    min-width: 0;
}

.ps-footer__title {
    margin: 0 0 20px !important;
    padding: 0 !important;
    color: var(--ps-footer-text) !important;
    font-family: var(--ps-font-body, 'Nunito', sans-serif) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

/* =========================================================
   ОПЛАТА И ДОСТАВКА
========================================================= */

.ps-footer__group + .ps-footer__group {
    margin-top: 32px;
}

.ps-footer__logos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ps-footer__logos--payments {
    gap: 10px;
}

.ps-footer__logo {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
}

.ps-footer__logo--payment {
    max-width: 58px;
    max-height: 32px;
}

.ps-footer__logo--delivery {
    max-width: 125px;
    max-height: 42px;
}

/* =========================================================
   СОЦИАЛЬНЫЕ СЕТИ
========================================================= */

.ps-footer__socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.ps-footer__social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #FFFFFF;
    border: 1px solid var(--ps-footer-border);
    color: var(--ps-footer-text);
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.ps-footer__social:hover {
    transform: translateY(-3px);
    background: #FFFFFF;
    border-color: var(--ps-footer-accent);
}

.ps-footer__social svg {
    display: block;
    width: 21px;
    height: 21px;
    overflow: visible;
}

.ps-footer__social--instagram svg {
    fill: none;
    stroke: #C13584;
    stroke-width: 2;
}

.ps-footer__social--youtube svg {
    fill: #E62117;
}

.ps-footer__social--youtube svg path {
    fill: #FFFFFF;
}

.ps-footer__social--facebook svg {
    fill: #1877F2;
}

/* =========================================================
   ССЫЛКИ
========================================================= */

.ps-footer__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    list-style: none;
}

.ps-footer__links li {
    display: block;
    margin: 0;
    padding: 0;
}

.ps-footer .ps-footer__links a {
    display: inline-block;
    color: var(--ps-footer-muted) !important;
    font-family: var(--ps-font-body, 'Nunito', sans-serif) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ps-footer .ps-footer__links a:hover {
    color: var(--ps-footer-accent) !important;
}

/* =========================================================
   КОНТАКТЫ
========================================================= */

.ps-footer__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.ps-footer .ps-footer__contact a {
    color: var(--ps-footer-muted) !important;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.ps-footer .ps-footer__contact a:hover {
    color: var(--ps-footer-accent) !important;
}

.ps-footer__hours {
    margin-top: 26px;
    color: var(--ps-footer-muted);
    font-size: 14px;
    line-height: 1.5;
}

.ps-footer__address {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 24px;
    color: var(--ps-footer-muted);
    font-size: 14px;
    font-style: normal;
    line-height: 1.5;
}

.ps-footer__address strong {
    margin-bottom: 5px;
    color: var(--ps-footer-text);
    font-weight: 800;
}

/* =========================================================
   НИЖНЯЯ ЧАСТЬ
========================================================= */

.ps-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 28px 0 24px;
    border-top: 1px solid var(--ps-footer-border);
}

.ps-footer__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ps-footer__brand img {
    display: block;
    width: auto;
    max-width: 100px;
    max-height: 75px;
    margin: 0;
    object-fit: contain;
}

.ps-footer__copyright {
    color: var(--ps-footer-muted);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
}

/* =========================================================
   ПЛАНШЕТ
========================================================= */

@media (max-width: 1000px) {

    .ps-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 36px;
    }

    .ps-footer__column--payments {
        grid-row: span 2;
    }
}

/* =========================================================
   МОБИЛЬНЫЕ УСТРОЙСТВА
========================================================= */

@media (max-width: 600px) {

    .ps-footer__container {
        width: calc(100% - 36px);
    }

    .ps-footer__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
        padding: 38px 0 32px;
    }

    .ps-footer__column--payments {
        grid-row: auto;
    }

    .ps-footer__title {
        margin-bottom: 16px !important;
        font-size: 15px !important;
    }

    .ps-footer__group + .ps-footer__group {
        margin-top: 26px;
    }

    .ps-footer__logos {
        gap: 12px;
    }

    .ps-footer__logo--payment {
        max-width: 58px;
        max-height: 30px;
    }

    .ps-footer__logo--delivery {
        max-width: 120px;
        max-height: 40px;
    }

    .ps-footer__links {
        gap: 10px;
    }

    .ps-footer__bottom {
        padding: 24px 0 22px;
    }
}

/* Учитываем настройку уменьшения анимации в системе */

@media (prefers-reduced-motion: reduce) {

    .ps-footer__social,
    .ps-footer__links a,
    .ps-footer__contact a {
        transition: none;
    }
}
